discourse-ember-source 3.5.1.2 → 3.5.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["license.js","loader.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/map/index.js","@ember/map/lib/ordered-set.js","@ember/map/lib/utils.js","@ember/map/with-default.js","@ember/object/computed.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/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","container.js","dag-map.js","ember-babel.js","ember-browser-environment.js","ember-console/index.js","ember-environment.js","ember-error-handling/index.js","ember-extension-support/index.js","ember-extension-support/lib/container_debug_adapter.js","ember-extension-support/lib/data_adapter.js","ember-glimmer.js","ember-meta/index.js","ember-meta/lib/meta.js","ember-metal.js","ember-owner/index.js","ember-routing/index.js","ember-routing/lib/ext/controller.js","ember-routing/lib/location/api.js","ember-routing/lib/location/auto_location.js","ember-routing/lib/location/hash_location.js","ember-routing/lib/location/history_location.js","ember-routing/lib/location/none_location.js","ember-routing/lib/location/util.js","ember-routing/lib/services/router.js","ember-routing/lib/services/routing.js","ember-routing/lib/system/cache.js","ember-routing/lib/system/controller_for.js","ember-routing/lib/system/dsl.js","ember-routing/lib/system/generate_controller.js","ember-routing/lib/system/query_params.js","ember-routing/lib/system/route.js","ember-routing/lib/system/router.js","ember-routing/lib/system/router_state.js","ember-routing/lib/system/transition.js","ember-routing/lib/utils.js","ember-runtime/index.js","ember-runtime/lib/compare.js","ember-runtime/lib/copy.js","ember-runtime/lib/ext/function.js","ember-runtime/lib/ext/rsvp.js","ember-runtime/lib/is-equal.js","ember-runtime/lib/mixins/-proxy.js","ember-runtime/lib/mixins/action_handler.js","ember-runtime/lib/mixins/array.js","ember-runtime/lib/mixins/comparable.js","ember-runtime/lib/mixins/container_proxy.js","ember-runtime/lib/mixins/copyable.js","ember-runtime/lib/mixins/enumerable.js","ember-runtime/lib/mixins/evented.js","ember-runtime/lib/mixins/mutable_enumerable.js","ember-runtime/lib/mixins/observable.js","ember-runtime/lib/mixins/promise_proxy.js","ember-runtime/lib/mixins/registry_proxy.js","ember-runtime/lib/mixins/target_action_support.js","ember-runtime/lib/system/array_proxy.js","ember-runtime/lib/system/core_object.js","ember-runtime/lib/system/namespace.js","ember-runtime/lib/system/object.js","ember-runtime/lib/system/object_proxy.js","ember-runtime/lib/type-of.js","ember-utils.js","ember-views/index.js","ember-views/lib/compat/attrs.js","ember-views/lib/compat/fallback-view-registry.js","ember-views/lib/component_lookup.js","ember-views/lib/mixins/action_support.js","ember-views/lib/mixins/child_views_support.js","ember-views/lib/mixins/class_names_support.js","ember-views/lib/mixins/text_support.js","ember-views/lib/mixins/view_state_support.js","ember-views/lib/mixins/view_support.js","ember-views/lib/system/action_manager.js","ember-views/lib/system/event_dispatcher.js","ember-views/lib/system/jquery.js","ember-views/lib/system/jquery_event_deprecation.js","ember-views/lib/system/lookup_partial.js","ember-views/lib/system/utils.js","ember-views/lib/utils/lookup-component.js","ember-views/lib/views/core_view.js","ember-views/lib/views/states.js","ember-views/lib/views/states/default.js","ember-views/lib/views/states/destroying.js","ember-views/lib/views/states/has_element.js","ember-views/lib/views/states/in_dom.js","ember-views/lib/views/states/pre_render.js","ember/index.js","ember/version.js","node-module.js","route-recognizer.js","router.js","rsvp.js","bootstrap"],"sourcesContent":["/*!\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.5.1\n */\n","/*globals process */\nvar enifed, requireModule, Ember;\n\n// Used in ember-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 = {};\n var seen = {};\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 !!registry[moduleName] || !!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/application/globals-resolver', ['exports', 'ember-babel', 'ember-utils', 'ember-metal', '@ember/debug', '@ember/string', 'ember-runtime', '@ember/application/lib/validate-type', 'ember-glimmer'], function (exports, _emberBabel, _emberUtils, _emberMetal, _debug, _string, _emberRuntime, _validateType, _emberGlimmer) {\n 'use strict';\n\n var DefaultResolver = function (_EmberObject) {\n (0, _emberBabel.inherits)(DefaultResolver, _EmberObject);\n\n function DefaultResolver() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _EmberObject.apply(this, arguments));\n }\n\n DefaultResolver.create = function (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 DefaultResolver.prototype.init = function () {\n this._parseNameCache = (0, _emberUtils.dictionary)(null);\n };\n\n DefaultResolver.prototype.normalize = function (fullName) {\n var _fullName$split = fullName.split(':'),\n type = _fullName$split[0],\n name = _fullName$split[1],\n result;\n\n false && !(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 result = name.replace(/(\\.|_|-)./g, function (m) {\n return m.charAt(1).toUpperCase();\n });\n\n\n return type + ':' + result;\n } else {\n return fullName;\n }\n };\n\n DefaultResolver.prototype.resolve = function (fullName) {\n var parsedName = this.parseName(fullName);\n var resolveMethodName = parsedName.resolveMethodName;\n var resolved = void 0;\n\n if (this[resolveMethodName]) {\n resolved = this[resolveMethodName](parsedName);\n }\n\n resolved = resolved || this.resolveOther(parsedName);\n\n if (resolved) {\n (0, _validateType.default)(resolved, parsedName);\n }\n\n return resolved;\n };\n\n DefaultResolver.prototype.parseName = function (fullName) {\n return this._parseNameCache[fullName] || (this._parseNameCache[fullName] = this._parseName(fullName));\n };\n\n DefaultResolver.prototype._parseName = function (fullName) {\n var _fullName$split2 = fullName.split(':'),\n type = _fullName$split2[0],\n fullNameWithoutType = _fullName$split2[1],\n parts,\n namespaceName;\n\n var name = fullNameWithoutType;\n var namespace = (0, _emberMetal.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 parts = name.split('/');\n\n name = parts[parts.length - 1];\n namespaceName = (0, _string.capitalize)(parts.slice(0, -1).join('.'));\n\n root = (0, _emberMetal.findNamespace)(namespaceName);\n\n false && !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 DefaultResolver.prototype.lookupDescription = function (fullName) {\n var parsedName = this.parseName(fullName);\n var description = void 0;\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 DefaultResolver.prototype.makeToString = function (factory) {\n return factory.toString();\n };\n\n DefaultResolver.prototype.useRouterNaming = function (parsedName) {\n if (parsedName.name === 'basic') {\n parsedName.name = '';\n } else {\n parsedName.name = parsedName.name.replace(/\\./g, '_');\n }\n };\n\n DefaultResolver.prototype.resolveTemplate = function (parsedName) {\n var templateName = parsedName.fullNameWithoutType.replace(/\\./g, '/');\n\n return (0, _emberGlimmer.getTemplate)(templateName) || (0, _emberGlimmer.getTemplate)((0, _string.decamelize)(templateName));\n };\n\n DefaultResolver.prototype.resolveView = function (parsedName) {\n this.useRouterNaming(parsedName);\n return this.resolveOther(parsedName);\n };\n\n DefaultResolver.prototype.resolveController = function (parsedName) {\n this.useRouterNaming(parsedName);\n return this.resolveOther(parsedName);\n };\n\n DefaultResolver.prototype.resolveRoute = function (parsedName) {\n this.useRouterNaming(parsedName);\n return this.resolveOther(parsedName);\n };\n\n DefaultResolver.prototype.resolveModel = function (parsedName) {\n var className = (0, _string.classify)(parsedName.name);\n var factory = (0, _emberMetal.get)(parsedName.root, className);\n\n return factory;\n };\n\n DefaultResolver.prototype.resolveHelper = function (parsedName) {\n return this.resolveOther(parsedName);\n };\n\n DefaultResolver.prototype.resolveOther = function (parsedName) {\n var className = (0, _string.classify)(parsedName.name) + (0, _string.classify)(parsedName.type);\n var factory = (0, _emberMetal.get)(parsedName.root, className);\n return factory;\n };\n\n DefaultResolver.prototype.resolveMain = function (parsedName) {\n var className = (0, _string.classify)(parsedName.type);\n return (0, _emberMetal.get)(parsedName.root, className);\n };\n\n DefaultResolver.prototype.knownForType = function (type) {\n var namespace = (0, _emberMetal.get)(this, 'namespace'),\n index,\n name,\n containerName;\n var suffix = (0, _string.classify)(type);\n var typeRegexp = new RegExp(suffix + '$');\n\n var known = (0, _emberUtils.dictionary)(null);\n var knownKeys = Object.keys(namespace);\n for (index = 0; index < knownKeys.length; index++) {\n name = knownKeys[index];\n\n\n if (typeRegexp.test(name)) {\n containerName = this.translateToContainerFullname(type, name);\n\n\n known[containerName] = true;\n }\n }\n\n return known;\n };\n\n DefaultResolver.prototype.translateToContainerFullname = function (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\n return type + ':' + dasherizedName;\n };\n\n return DefaultResolver;\n }(_emberRuntime.Object);\n\n exports.default = DefaultResolver;\n});","enifed('@ember/application/index', ['exports', 'ember-owner', '@ember/application/lib/lazy_load', '@ember/application/lib/application'], function (exports, _emberOwner, _lazy_load, _application) {\n 'use strict';\n\n Object.defineProperty(exports, 'getOwner', {\n enumerable: true,\n get: function () {\n return _emberOwner.getOwner;\n }\n });\n Object.defineProperty(exports, 'setOwner', {\n enumerable: true,\n get: function () {\n return _emberOwner.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-metal', 'ember-browser-environment', 'ember-views', '@ember/engine/instance', 'ember-glimmer'], function (exports, _polyfills, _emberMetal, _emberBrowserEnvironment, _emberViews, _instance, _emberGlimmer) {\n 'use strict';\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\n /**\n @module @ember/application\n */\n\n var ApplicationInstance = _instance.default.extend({\n /**\n The `Application` for which this is an instance.\n @property {Application} application\n @private\n */\n application: null,\n\n /**\n The DOM events for which the event dispatcher should listen.\n By default, the application's `Ember.EventDispatcher` listens\n for a set of standard DOM events, such as `mousedown` and\n `keyup`, and delegates them to your application's `Ember.View`\n instances.\n @private\n @property {Object} customEvents\n */\n customEvents: null,\n\n /**\n The root DOM element of the Application as an element or a\n [jQuery-compatible selector\n string](http://api.jquery.com/category/selectors/).\n @private\n @property {String|DOMElement} rootElement\n */\n rootElement: null,\n\n init: function () {\n this._super.apply(this, arguments);\n\n this.application._watchInstance(this);\n\n // Register this instance in the per-instance registry.\n //\n // Why do we need to register the instance in the first place?\n // Because we need a good way for the root route (a.k.a ApplicationRoute)\n // to notify us when it has created the root-most view. That view is then\n // appended to the rootElement, in the case of apps, to the fixture harness\n // in tests, or rendered to a string in the case of FastBoot.\n this.register('-application-instance:main', this, { instantiate: false });\n },\n _bootSync: function (options) {\n var router;\n\n if (this._booted) {\n return this;\n }\n\n options = new BootOptions(options);\n\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 router = (0, _emberMetal.get)(this, 'router');\n\n (0, _emberMetal.set)(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\n return this;\n },\n setupRegistry: function (options) {\n this.constructor.setupRegistry(this.__registry__, options);\n },\n\n router: (0, _emberMetal.computed)(function () {\n return this.lookup('router:main');\n }).readOnly(),\n\n didCreateRootView: function (view) {\n view.appendTo(this.rootElement);\n },\n startRouting: function () {\n var router = (0, _emberMetal.get)(this, 'router');\n router.startRouting();\n this._didSetupRouter = true;\n },\n setupRouter: function () {\n if (this._didSetupRouter) {\n return;\n }\n this._didSetupRouter = true;\n\n var router = (0, _emberMetal.get)(this, 'router');\n router.setupRouter();\n },\n handleURL: function (url) {\n var router = (0, _emberMetal.get)(this, 'router');\n\n this.setupRouter();\n return router.handleURL(url);\n },\n setupEventDispatcher: function () {\n var dispatcher = this.lookup('event_dispatcher:main');\n var applicationCustomEvents = (0, _emberMetal.get)(this.application, 'customEvents');\n var instanceCustomEvents = (0, _emberMetal.get)(this, 'customEvents');\n\n var customEvents = (0, _polyfills.assign)({}, applicationCustomEvents, instanceCustomEvents);\n dispatcher.setup(customEvents, this.rootElement);\n\n return dispatcher;\n },\n getURL: function () {\n return (0, _emberMetal.get)(this, 'router.url');\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 = (0, _emberMetal.get)(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, _emberGlimmer.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, _emberMetal.get)(router, 'location');\n\n // Keeps the location adapter's internal URL in-sync\n location.setURL(url);\n\n // getURL returns the set url with the rootURL stripped off\n return router.handleURL(location.getURL()).then(handleTransitionResolve, handleTransitionReject);\n },\n willDestroy: function () {\n this._super.apply(this, arguments);\n this.application._unwatchInstance(this);\n }\n });\n\n ApplicationInstance.reopenClass({\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 /**\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 = function () {\n function BootOptions() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n\n /**\n Provide a specific instance of jQuery. This is useful in conjunction with\n the `document` option, as it allows you to use a copy of `jQuery` that is\n appropriately bound to the foreign `document` (e.g. a jsdom).\n This is highly experimental and support very incomplete at the moment.\n @property jQuery\n @type Object\n @default auto-detected\n @private\n */\n this.jQuery = _emberViews.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 this.isInteractive = _emberBrowserEnvironment.hasDOM; // This default is overridable below\n\n /**\n @property _renderMode\n @type string\n @default false\n @private\n */\n this._renderMode = options._renderMode;\n\n /**\n Run in a full browser environment.\n When this flag is set to `true`, 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 if (options.isBrowser !== undefined) {\n this.isBrowser = !!options.isBrowser;\n } else {\n this.isBrowser = _emberBrowserEnvironment.hasDOM;\n }\n\n if (!this.isBrowser) {\n this.jQuery = null;\n this.isInteractive = false;\n this.location = 'none';\n }\n\n /**\n Disable rendering completely.\n When this flag is set to `true`, 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 if (options.shouldRender !== undefined) {\n this.shouldRender = !!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 /**\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 if (options.document) {\n this.document = options.document;\n } else {\n this.document = typeof document !== 'undefined' ? document : null;\n }\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 if (options.rootElement) {\n this.rootElement = options.rootElement;\n }\n\n // Set these options last to give the user a chance to override the\n // defaults from the \"combo\" options like `isBrowser` (although in\n // practice, the resulting combination is probably invalid)\n\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 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 = !!options.isInteractive;\n }\n }\n\n BootOptions.prototype.toEnvironment = function () {\n // Do we really want to assign all of this!?\n var env = (0, _polyfills.assign)({}, _emberBrowserEnvironment);\n // For compatibility with existing code\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 exports.default = ApplicationInstance;\n});","enifed('@ember/application/lib/application', ['exports', 'ember-babel', 'ember-utils', 'ember-environment', 'ember-browser-environment', '@ember/debug', '@ember/runloop', 'ember-metal', '@ember/application/lib/lazy_load', 'ember-runtime', 'ember-views', 'ember-routing', '@ember/application/instance', '@ember/engine', 'container', 'ember-glimmer'], function (exports, _emberBabel, _emberUtils, _emberEnvironment, _emberBrowserEnvironment, _debug, _runloop, _emberMetal, _lazy_load, _emberRuntime, _emberViews, _emberRouting, _instance, _engine, _container, _emberGlimmer) {\n 'use strict';\n\n var _templateObject = (0, _emberBabel.taggedTemplateLiteralLoose)(['-bucket-cache:main'], ['-bucket-cache:main']);\n\n var librariesRegistered = false;\n\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\n init: function () {\n // eslint-disable-line no-unused-vars\n this._super.apply(this, arguments);\n\n if (!this.$) {\n this.$ = _emberViews.jQuery;\n }\n\n registerLibraries();\n\n // Start off the number of deferrals at 1. This will be decremented by\n // the Application's own `boot` method.\n this._readinessDeferrals = 1;\n this._booted = false;\n this._applicationInstances = new Set();\n\n this.autoboot = this._globalsMode = !!this.autoboot;\n\n if (this._globalsMode) {\n this._prepareForGlobalsMode();\n }\n\n if (this.autoboot) {\n this.waitForDOMReady();\n }\n },\n buildInstance: function () {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n options.base = this;\n options.application = this;\n return _instance.default.create(options);\n },\n _watchInstance: function (instance) {\n this._applicationInstances.add(instance);\n },\n _unwatchInstance: function (instance) {\n return this._applicationInstances.delete(instance);\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 || _emberRouting.Router).extend();\n\n this._buildDeprecatedInstance();\n },\n _buildDeprecatedInstance: function () {\n // Build a default instance\n var instance = this.buildInstance();\n\n // Legacy support for App.__container__ and other global methods\n // on App that rely on a single, default instance.\n this.__deprecatedInstance__ = instance;\n this.__container__ = instance.__container__;\n },\n 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 domReady: function () {\n if (this.isDestroyed) {\n return;\n }\n\n this._bootSync();\n\n // Continues to `didBecomeReady`\n },\n deferReadiness: function () {\n false && !(this instanceof Application) && (0, _debug.assert)('You must call deferReadiness on an instance of Application', this instanceof Application);\n false && !(this._readinessDeferrals > 0) && (0, _debug.assert)('You cannot defer readiness since the `ready()` hook has already been called.', this._readinessDeferrals > 0);\n\n this._readinessDeferrals++;\n },\n advanceReadiness: function () {\n false && !(this instanceof Application) && (0, _debug.assert)('You must call advanceReadiness on an instance of Application', this instanceof Application);\n\n this._readinessDeferrals--;\n\n if (this._readinessDeferrals === 0) {\n (0, _runloop.once)(this, this.didBecomeReady);\n }\n },\n boot: function () {\n if (this._bootPromise) {\n return this._bootPromise;\n }\n\n try {\n this._bootSync();\n } catch (_) {\n // Ignore the error: in the asynchronous boot path, the error is already reflected\n // in the promise rejection\n }\n\n return this._bootPromise;\n },\n _bootSync: function () {\n if (this._booted) {\n return;\n }\n\n // Even though this returns synchronously, we still need to make sure the\n // boot promise exists for book-keeping purposes: if anything went wrong in\n // the boot process, we need to store the error as a rejection on the boot\n // promise so that a future caller of `boot()` can tell what failed.\n var defer = this._bootResolver = _emberRuntime.RSVP.defer();\n this._bootPromise = defer.promise;\n\n try {\n this.runInitializers();\n (0, _lazy_load.runLoadHooks)('application', this);\n this.advanceReadiness();\n // Continues to `didBecomeReady`\n } catch (error) {\n // For the asynchronous boot path\n defer.reject(error);\n\n // For the synchronous boot path\n throw error;\n }\n },\n reset: function () {\n false && !(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\n var instance = this.__deprecatedInstance__;\n\n this._readinessDeferrals = 1;\n this._bootPromise = null;\n this._bootResolver = null;\n this._booted = false;\n\n (0, _runloop.join)(this, function () {\n (0, _runloop.run)(instance, 'destroy');\n this._buildDeprecatedInstance();\n (0, _runloop.schedule)('actions', this, '_bootSync');\n });\n },\n didBecomeReady: function () {\n var instance;\n\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, _emberMetal.processAllNamespaces)();\n (0, _emberMetal.setNamespaceSearchDisabled)(true);\n }\n\n // See documentation on `_autoboot()` for details\n if (this.autoboot) {\n instance = void 0;\n\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();\n\n // TODO: App.ready() is not called when autoboot is disabled, is this correct?\n this.ready();\n\n instance.startRouting();\n }\n\n // For the asynchronous boot path\n this._bootResolver.resolve(this);\n\n // For the synchronous boot path\n this._booted = true;\n } catch (error) {\n // For the asynchronous boot path\n this._bootResolver.reject(error);\n\n // For the synchronous boot path\n throw error;\n }\n },\n ready: function () {\n return this;\n },\n willDestroy: function () {\n this._super.apply(this, arguments);\n (0, _emberMetal.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 this._applicationInstances.clear();\n }\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 buildRegistry: function () {\n // eslint-disable-line no-unused-vars\n var registry = this._super.apply(this, arguments);\n\n commonSetupRegistry(registry);\n\n (0, _emberGlimmer.setupApplicationRegistry)(registry);\n\n return registry;\n }\n });\n\n function commonSetupRegistry(registry) {\n registry.register('router:main', _emberRouting.Router.extend());\n registry.register('-view-registry:main', {\n create: function () {\n return (0, _emberUtils.dictionary)(null);\n }\n });\n\n registry.register('route:basic', _emberRouting.Route);\n registry.register('event_dispatcher:main', _emberViews.EventDispatcher);\n\n registry.injection('router:main', 'namespace', 'application:main');\n\n registry.register('location:auto', _emberRouting.AutoLocation);\n registry.register('location:hash', _emberRouting.HashLocation);\n registry.register('location:history', _emberRouting.HistoryLocation);\n registry.register('location:none', _emberRouting.NoneLocation);\n\n registry.register((0, _container.privatize)(_templateObject), {\n create: function () {\n return new _emberRouting.BucketCache();\n }\n });\n\n registry.register('service:router', _emberRouting.RouterService);\n registry.injection('service:router', '_router', 'router:main');\n }\n\n function registerLibraries() {\n if (!librariesRegistered) {\n librariesRegistered = true;\n\n if (_emberBrowserEnvironment.hasDOM && !_emberViews.jQueryDisabled) {\n _emberMetal.libraries.registerCoreLibrary('jQuery', (0, _emberViews.jQuery)().jquery);\n }\n }\n }\n\n exports.default = Application;\n});","enifed('@ember/application/lib/lazy_load', ['exports', 'ember-environment', 'ember-browser-environment'], function (exports, _emberEnvironment, _emberBrowserEnvironment) {\n 'use strict';\n\n exports._loaded = undefined;\n exports.onLoad =\n\n /**\n Detects when a specific package of Ember (e.g. 'Application')\n has fully loaded and is available for extension.\n \n The provided `callback` will be called with the `name` passed\n resolved from a string into the object:\n \n ``` javascript\n import { onLoad } from '@ember/application';\n \n onLoad('Ember.Application' function(hbars) {\n hbars.registerHelper(...);\n });\n ```\n \n @method onLoad\n @static\n @for @ember/application\n @param name {String} name of hook\n @param callback {Function} callback to be called\n @private\n */\n function (name, callback) {\n var object = loaded[name];\n\n loadHooks[name] = loadHooks[name] || [];\n loadHooks[name].push(callback);\n\n if (object) {\n callback(object);\n }\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 exports.runLoadHooks = function (name, object) {\n var event;\n\n loaded[name] = object;\n\n if (_emberBrowserEnvironment.window && typeof CustomEvent === 'function') {\n event = new CustomEvent(name, { detail: object, name: name });\n\n _emberBrowserEnvironment.window.dispatchEvent(event);\n }\n\n if (loadHooks[name]) {\n loadHooks[name].forEach(function (callback) {\n return callback(object);\n });\n }\n };\n\n /**\n @module @ember/application\n */\n\n /*globals CustomEvent */\n\n var loadHooks = _emberEnvironment.ENV.EMBER_LOAD_HOOKS || {};\n var loaded = {};\n exports._loaded = loaded;\n});","enifed('@ember/application/lib/validate-type', ['exports', '@ember/debug'], function (exports, _debug) {\n 'use strict';\n\n exports.default = function (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 false && !!!resolvedType[factoryFlag] && (0, _debug.assert)('Expected ' + parsedName.fullName + ' to resolve to an ' + expectedType + ' but ' + ('instead it was ' + resolvedType + '.'), !!resolvedType[factoryFlag]);\n };\n\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});","enifed('@ember/canary-features/index', ['exports', '@ember/polyfills', 'ember-environment'], function (exports, _polyfills, _emberEnvironment) {\n 'use strict';\n\n exports.EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION = exports.EMBER_TEMPLATE_BLOCK_LET_HELPER = exports.GLIMMER_CUSTOM_COMPONENT_MANAGER = exports.EMBER_METAL_TRACKED_PROPERTIES = exports.EMBER_MODULE_UNIFICATION = exports.EMBER_ENGINES_MOUNT_PARAMS = exports.EMBER_ROUTING_ROUTER_SERVICE = exports.EMBER_GLIMMER_NAMED_ARGUMENTS = exports.EMBER_IMPROVED_INSTRUMENTATION = exports.EMBER_LIBRARIES_ISREGISTERED = exports.FEATURES = exports.DEFAULT_FEATURES = undefined;\n exports.isEnabled =\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 @for Ember.FEATURES\n @since 1.1.0\n @public\n */\n function (feature) {\n var featureValue = FEATURES[feature];\n if (featureValue === true || featureValue === false) {\n return featureValue;\n } else if (_emberEnvironment.ENV.ENABLE_OPTIONAL_FEATURES) {\n return true;\n } else {\n return false;\n }\n };\n\n /**\n @module ember/canary-features\n @private\n */\n var DEFAULT_FEATURES = exports.DEFAULT_FEATURES = {\n EMBER_LIBRARIES_ISREGISTERED: false,\n EMBER_IMPROVED_INSTRUMENTATION: false,\n EMBER_GLIMMER_NAMED_ARGUMENTS: true,\n EMBER_ROUTING_ROUTER_SERVICE: true,\n EMBER_ENGINES_MOUNT_PARAMS: true,\n EMBER_MODULE_UNIFICATION: false,\n GLIMMER_CUSTOM_COMPONENT_MANAGER: true,\n EMBER_TEMPLATE_BLOCK_LET_HELPER: true,\n EMBER_METAL_TRACKED_PROPERTIES: false,\n EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION: true\n };\n /**\n The hash of enabled Canary features. Add to this, any canary features\n before creating your application.\n \n Alternatively (and recommended), you can also define `EmberENV.FEATURES`\n if you need to enable features flagged at runtime.\n \n @class FEATURES\n @namespace Ember\n @static\n @since 1.1.0\n @public\n */\n var FEATURES = exports.FEATURES = (0, _polyfills.assign)(DEFAULT_FEATURES, _emberEnvironment.ENV.FEATURES);\n function featureValue(value) {\n if (_emberEnvironment.ENV.ENABLE_OPTIONAL_FEATURES && value === null) {\n return true;\n }\n return value;\n }\n exports.EMBER_LIBRARIES_ISREGISTERED = featureValue(FEATURES.EMBER_LIBRARIES_ISREGISTERED);\n exports.EMBER_IMPROVED_INSTRUMENTATION = featureValue(FEATURES.EMBER_IMPROVED_INSTRUMENTATION);\n exports.EMBER_GLIMMER_NAMED_ARGUMENTS = featureValue(FEATURES.EMBER_GLIMMER_NAMED_ARGUMENTS);\n exports.EMBER_ROUTING_ROUTER_SERVICE = featureValue(FEATURES.EMBER_ROUTING_ROUTER_SERVICE);\n exports.EMBER_ENGINES_MOUNT_PARAMS = featureValue(FEATURES.EMBER_ENGINES_MOUNT_PARAMS);\n exports.EMBER_MODULE_UNIFICATION = featureValue(FEATURES.EMBER_MODULE_UNIFICATION);\n exports.EMBER_METAL_TRACKED_PROPERTIES = featureValue(FEATURES.EMBER_METAL_TRACKED_PROPERTIES);\n exports.GLIMMER_CUSTOM_COMPONENT_MANAGER = featureValue(FEATURES.GLIMMER_CUSTOM_COMPONENT_MANAGER);\n exports.EMBER_TEMPLATE_BLOCK_LET_HELPER = featureValue(FEATURES.EMBER_TEMPLATE_BLOCK_LET_HELPER);\n exports.EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION = featureValue(FEATURES.EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION);\n});","enifed('@ember/controller/index', ['exports', 'ember-runtime', '@ember/controller/lib/controller_mixin', 'ember-metal'], function (exports, _emberRuntime, _controller_mixin, _emberMetal) {\n 'use strict';\n\n exports.inject =\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 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\n reference 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\n to the property's name\n @return {Ember.InjectedProperty} injection descriptor instance\n @public\n */\n function (name, options) {\n return new _emberMetal.InjectedProperty('controller', name, options);\n };\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 = _emberRuntime.Object.extend(_controller_mixin.default);\n\n exports.default = Controller;\n});","enifed('@ember/controller/lib/controller_mixin', ['exports', 'ember-metal', 'ember-runtime'], function (exports, _emberMetal, _emberRuntime) {\n 'use strict';\n\n exports.default = _emberMetal.Mixin.create(_emberRuntime.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\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});","enifed('@ember/debug/index', ['exports', '@ember/debug/lib/warn', '@ember/debug/lib/deprecate', '@ember/debug/lib/testing', '@ember/error', 'ember-browser-environment'], function (exports, _warn2, _deprecate2, _testing) {\n 'use strict';\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 = exports.setTesting = exports.isTesting = exports.registerDeprecationHandler = exports.registerWarnHandler = undefined;\n Object.defineProperty(exports, 'registerWarnHandler', {\n enumerable: true,\n get: function () {\n return _warn2.registerHandler;\n }\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\n // These are the default production build versions:\n var noop = function () {};\n\n exports.assert = noop;\n exports.info = noop;\n exports.warn = noop;\n exports.debug = noop;\n exports.deprecate = noop;\n exports.debugSeal = noop;\n exports.debugFreeze = noop;\n exports.runInDebug = noop;\n exports.deprecateFunc = function () {\n return arguments[arguments.length - 1];\n };\n exports.setDebugFunction = noop;\n exports.getDebugFunction = noop;\n exports._warnIfUsingStrippedFeatureFlags = void 0;\n});","enifed('@ember/debug/lib/deprecate', ['exports', '@ember/deprecated-features', 'ember-environment', '@ember/debug/index', '@ember/debug/lib/handlers'], function (exports) {\n 'use strict';\n\n exports.missingOptionsUntilDeprecation = exports.missingOptionsIdDeprecation = exports.missingOptionsDeprecation = exports.registerHandler = undefined;\n\n /**\n @module @ember/debug\n @public\n */\n /**\n Allows for runtime registration of handler functions that override the default deprecation behavior.\n Deprecations are invoked by calls to [@ember/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\n exports.default = function () {};\n exports.registerHandler = function () {};\n exports.missingOptionsDeprecation = void 0;\n exports.missingOptionsIdDeprecation = void 0;\n exports.missingOptionsUntilDeprecation = void 0;\n});","enifed('@ember/debug/lib/handlers', ['exports'], function (exports) {\n 'use strict';\n\n exports.HANDLERS = {};\n\n exports.registerHandler = function () {};\n exports.invoke = function () {};\n});","enifed(\"@ember/debug/lib/testing\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.isTesting = isTesting;\n exports.setTesting = function (value) {\n testing = !!value;\n };\n var testing = false;\n function isTesting() {\n return testing;\n }\n});","enifed('@ember/debug/lib/warn', ['exports', 'ember-environment', '@ember/debug/index', '@ember/debug/lib/deprecate', '@ember/debug/lib/handlers'], function (exports) {\n 'use strict';\n\n exports.missingOptionsDeprecation = exports.missingOptionsIdDeprecation = exports.registerHandler = undefined;\n\n /**\n @module @ember/debug\n */\n exports.default = function () {};\n exports.registerHandler = function () {};\n exports.missingOptionsIdDeprecation = void 0;\n exports.missingOptionsDeprecation = void 0;\n});","enifed('@ember/deprecated-features/index', ['exports'], function (exports) {\n 'use strict';\n\n exports.SEND_ACTION = !!'3.4.0';\n exports.PROPERTY_BASED_DESCRIPTORS = !!'3.2.0';\n exports.EMBER_EXTEND_PROTOTYPES = !!'3.2.0-beta.5';\n exports.DEPRECATE_OPTIONS_MISSING = !!'2.1.0-beta.1';\n exports.DEPRECATE_ID_MISSING = !!'2.1.0-beta.1';\n exports.DEPRECATE_UNTIL_MISSING = !!'2.1.0-beta.1';\n exports.RUN_SYNC = !!'3.0.0-beta.4';\n exports.REGISTRY_RESOLVER_AS_FUNCTION = !!'2.3.0-beta.3';\n exports.LOGGER = !!'3.2.0-beta.1';\n exports.POSITIONAL_PARAM_CONFLICT = !!'3.1.0-beta.1';\n exports.DID_INIT_ATTRS = !!'2.6.0-beta.1';\n exports.PROPERTY_WILL_CHANGE = !!'3.1.0-beta.1';\n exports.PROPERTY_DID_CHANGE = !!'3.1.0-beta.1';\n exports.ROUTER_ROUTER = !!'3.2.0-beta.1';\n exports.ORPHAN_OUTLET_RENDER = !!'2.11.0-beta.1';\n exports.ARRAY_AT_EACH = !!'3.1.0-beta.1';\n exports.TARGET_OBJECT = !!'2.18.0-beta.1';\n exports.RENDER_HELPER = !!'2.11.0-beta.1';\n exports.BINDING_SUPPORT = !!'2.7.0-beta.1';\n exports.MAP = !!'3.3.0-beta.1';\n exports.ORDERED_SET = !!'3.3.0-beta.1';\n});","enifed('@ember/engine/index', ['exports', '@ember/engine/lib/engine-parent', 'ember-babel', 'ember-utils', '@ember/controller', 'ember-runtime', 'container', 'dag-map', '@ember/debug', 'ember-metal', '@ember/application/globals-resolver', '@ember/engine/instance', 'ember-routing', 'ember-extension-support', 'ember-views', 'ember-glimmer'], function (exports, _engineParent, _emberBabel, _emberUtils, _controller, _emberRuntime, _container, _dagMap, _debug, _emberMetal, _globalsResolver, _instance, _emberRouting, _emberExtensionSupport, _emberViews, _emberGlimmer) {\n 'use strict';\n\n exports.setEngineParent = exports.getEngineParent = undefined;\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\n var _templateObject = (0, _emberBabel.taggedTemplateLiteralLoose)(['-bucket-cache:main'], ['-bucket-cache:main']);\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 /**\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 var Engine = _emberRuntime.Namespace.extend(_emberRuntime.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 ensureInitializers: function () {\n if (!this._initializersRan) {\n this.runInitializers();\n this._initializersRan = true;\n }\n },\n buildInstance: function () {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n this.ensureInitializers();\n options.base = this;\n return _instance.default.create(options);\n },\n buildRegistry: function () {\n var registry = this.__registry__ = this.constructor.buildRegistry(this);\n\n return registry;\n },\n initializer: function (options) {\n this.constructor.initializer(options);\n },\n instanceInitializer: function (options) {\n this.constructor.instanceInitializer(options);\n },\n runInitializers: function () {\n var _this = this;\n\n this._runInitializer('initializers', function (name, initializer) {\n false && !!!initializer && (0, _debug.assert)('No application initializer named \\'' + name + '\\'', !!initializer);\n\n initializer.initialize(_this);\n });\n },\n runInstanceInitializers: function (instance) {\n this._runInitializer('instanceInitializers', function (name, initializer) {\n false && !!!initializer && (0, _debug.assert)('No instance initializer named \\'' + name + '\\'', !!initializer);\n\n initializer.initialize(instance);\n });\n },\n _runInitializer: function (bucketName, cb) {\n var initializersByName = (0, _emberMetal.get)(this.constructor, bucketName),\n i;\n var initializers = props(initializersByName);\n var graph = new _dagMap.default();\n var initializer = void 0;\n\n for (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\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 buildRegistry: function (namespace) {\n var registry = new _container.Registry({\n resolver: resolverFor(namespace)\n });\n\n registry.set = _emberMetal.set;\n\n registry.register('application:main', namespace, { instantiate: false });\n\n commonSetupRegistry(registry);\n (0, _emberGlimmer.setupEngineRegistry)(registry);\n\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 /**\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 function resolverFor(namespace) {\n var ResolverClass = (0, _emberMetal.get)(namespace, 'Resolver') || _globalsResolver.default;\n\n return ResolverClass.create({ namespace: namespace });\n }\n\n function buildInitializerMethod(bucketName, humanName) {\n return function (initializer) {\n var attrs;\n\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 attrs = {};\n\n attrs[bucketName] = Object.create(this[bucketName]);\n this.reopenClass(attrs);\n }\n\n false && !!this[bucketName][initializer.name] && (0, _debug.assert)('The ' + humanName + ' \\'' + initializer.name + '\\' has already been registered', !this[bucketName][initializer.name]);\n false && !(0, _emberUtils.canInvoke)(initializer, 'initialize') && (0, _debug.assert)('An ' + humanName + ' cannot be registered without an initialize function', (0, _emberUtils.canInvoke)(initializer, 'initialize'));\n false && !(initializer.name !== undefined) && (0, _debug.assert)('An ' + humanName + ' cannot be registered without a name property', initializer.name !== undefined);\n\n this[bucketName][initializer.name] = initializer;\n };\n }\n\n function commonSetupRegistry(registry) {\n registry.optionsForType('component', { singleton: false });\n registry.optionsForType('view', { singleton: false });\n\n registry.register('controller:basic', _controller.default, { instantiate: false });\n\n registry.injection('view', '_viewRegistry', '-view-registry:main');\n registry.injection('renderer', '_viewRegistry', '-view-registry:main');\n registry.injection('event_dispatcher:main', '_viewRegistry', '-view-registry:main');\n\n registry.injection('route', '_topLevelViewTemplate', 'template:-outlet');\n\n registry.injection('view:-outlet', 'namespace', 'application:main');\n\n registry.injection('controller', 'target', 'router:main');\n registry.injection('controller', 'namespace', 'application:main');\n\n registry.injection('router', '_bucketCache', (0, _container.privatize)(_templateObject));\n registry.injection('route', '_bucketCache', (0, _container.privatize)(_templateObject));\n\n registry.injection('route', '_router', 'router:main');\n\n // Register the routing service...\n registry.register('service:-routing', _emberRouting.RoutingService);\n // Then inject the app router into it\n registry.injection('service:-routing', 'router', 'router:main');\n\n // DEBUGGING\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');\n // Custom resolver authors may want to register their own ContainerDebugAdapter with this key\n\n registry.register('container-debug-adapter:main', _emberExtensionSupport.ContainerDebugAdapter);\n\n registry.register('component-lookup:main', _emberViews.ComponentLookup);\n }\n\n exports.default = Engine;\n});","enifed('@ember/engine/instance', ['exports', 'ember-babel', 'ember-utils', 'ember-runtime', '@ember/debug', '@ember/error', 'container', '@ember/engine/lib/engine-parent'], function (exports, _emberBabel, _emberUtils, _emberRuntime, _debug, _error, _container, _engineParent) {\n 'use strict';\n\n var _templateObject = (0, _emberBabel.taggedTemplateLiteralLoose)(['-bucket-cache:main'], ['-bucket-cache:main']),\n _templateObject2 = (0, _emberBabel.taggedTemplateLiteralLoose)(['template-compiler:main'], ['template-compiler:main']);\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\n var EngineInstance = _emberRuntime.Object.extend(_emberRuntime.RegistryProxyMixin, _emberRuntime.ContainerProxyMixin, {\n /**\n The base `Engine` for which this is an instance.\n @property {Engine} engine\n @private\n */\n base: null,\n\n init: function () {\n this._super.apply(this, arguments);\n\n (0, _emberUtils.guidFor)(this);\n\n var base = this.base;\n\n if (!base) {\n base = this.application;\n this.base = base;\n }\n\n // Create a per-instance registry that will use the application's registry\n // as a fallback for resolving registrations.\n var registry = this.__registry__ = new _container.Registry({\n fallback: base.__registry__\n });\n\n // Create a per-instance container from the instance's registry\n this.__container__ = registry.container({ owner: this });\n\n this._booted = false;\n },\n boot: function (options) {\n var _this = this;\n\n if (this._bootPromise) {\n return this._bootPromise;\n }\n\n this._bootPromise = new _emberRuntime.RSVP.Promise(function (resolve) {\n return resolve(_this._bootSync(options));\n });\n\n return this._bootPromise;\n },\n _bootSync: function (options) {\n if (this._booted) {\n return this;\n }\n\n false && !(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\n this.cloneParentDependencies();\n\n this.setupRegistry(options);\n\n this.base.runInstanceInitializers(this);\n\n this._booted = true;\n\n return this;\n },\n setupRegistry: function () {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.__container__.lookup('-environment:main');\n\n this.constructor.setupRegistry(this.__registry__, options);\n },\n unregister: function (fullName) {\n this.__container__.reset(fullName);\n this._super.apply(this, arguments);\n },\n buildChildEngineInstance: function (name) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\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\n (0, _engineParent.setEngineParent)(engineInstance, this);\n\n return engineInstance;\n },\n cloneParentDependencies: function () {\n var _this2 = this;\n\n var parent = (0, _engineParent.getEngineParent)(this);\n\n ['route:basic', 'service:-routing', 'service:-glimmer-environment'].forEach(function (key) {\n return _this2.register(key, parent.resolveRegistration(key));\n });\n\n var env = parent.lookup('-environment:main');\n this.register('-environment:main', env, { 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), { 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 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\n exports.default = EngineInstance;\n});","enifed('@ember/engine/lib/engine-parent', ['exports', 'ember-utils'], function (exports, _emberUtils) {\n 'use strict';\n\n exports.getEngineParent =\n\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 @module @ember/engine\n */\n function (engine) {\n return engine[ENGINE_PARENT];\n }\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 exports.setEngineParent = function (engine, parent) {\n engine[ENGINE_PARENT] = parent;\n };\n\n var ENGINE_PARENT = (0, _emberUtils.symbol)('ENGINE_PARENT');\n});","enifed(\"@ember/error/index\", [\"exports\", \"ember-babel\"], function (exports, _emberBabel) {\n \"use strict\";\n\n /**\n @module @ember/error\n */\n\n /**\n A subclass of the JavaScript Error object for use in Ember.\n \n @class EmberError\n @extends Error\n @constructor\n @public\n */\n\n var EmberError = function (_ExtendBuiltin) {\n (0, _emberBabel.inherits)(EmberError, _ExtendBuiltin);\n\n function EmberError(message) {\n\n var _this = (0, _emberBabel.possibleConstructorReturn)(this, _ExtendBuiltin.call(this)),\n _ret;\n\n if (!(_this instanceof EmberError)) {\n\n return _ret = new EmberError(message), (0, _emberBabel.possibleConstructorReturn)(_this, _ret);\n }\n var error = Error.call(_this, message);\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 return _this;\n }\n\n return EmberError;\n }(function (klass) {\n function ExtendableBuiltin() {\n klass.apply(this, arguments);\n }\n ExtendableBuiltin.prototype = Object.create(klass.prototype);\n ExtendableBuiltin.prototype.constructor = ExtendableBuiltin;\n return ExtendableBuiltin;\n }(Error));\n\n exports.default = EmberError;\n});","enifed('@ember/instrumentation/index', ['exports', 'ember-environment'], function (exports, _emberEnvironment) {\n 'use strict';\n\n exports.flaggedInstrument = exports.subscribers = undefined;\n exports.instrument = function (name, p1, p2, p3) {\n var payload = void 0;\n var callback = void 0;\n var binding = void 0;\n if (arguments.length <= 3 && typeof p1 === 'function') {\n payload = {};\n callback = p1;\n binding = p2;\n } else {\n payload = p1 || {};\n callback = p2;\n binding = p3;\n }\n if (subscribers.length === 0) {\n return callback.call(binding);\n }\n var finalizer = _instrumentStart(name, function () {\n return payload;\n });\n if (finalizer) {\n return withFinalizer(callback, finalizer, payload, binding);\n } else {\n return callback.call(binding);\n }\n };\n exports._instrumentStart = _instrumentStart;\n exports.subscribe =\n /**\n Subscribes to a particular event or instrumented block of code.\n \n @method subscribe\n @for @ember/instrumentation\n @static\n \n @param {String} [pattern] Namespaced event name.\n @param {Object} [object] Before and After hooks.\n \n @return {Subscriber}\n @private\n */\n function (pattern, object) {\n var paths = pattern.split('.'),\n i;\n var path = void 0;\n var regexes = [];\n for (i = 0; i < paths.length; i++) {\n path = paths[i];\n if (path === '*') {\n regexes.push('[^\\\\.]*');\n } else {\n regexes.push(path);\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 exports.unsubscribe = function (subscriber) {\n var index = 0,\n i;\n for (i = 0; i < subscribers.length; i++) {\n if (subscribers[i] === subscriber) {\n index = i;\n }\n }\n subscribers.splice(index, 1);\n cache = {};\n }\n /**\n Resets `Instrumentation` by flushing list of subscribers.\n \n @method reset\n @for @ember/instrumentation\n @static\n @private\n */\n ;\n exports.reset = function () {\n subscribers.length = 0;\n cache = {};\n };\n\n /**\n @module @ember/instrumentation\n @private\n */\n /**\n The purpose of the Ember Instrumentation module is\n to provide efficient, general-purpose instrumentation\n for Ember.\n \n Subscribe to a listener by using `subscribe`:\n \n ```javascript\n import { subscribe } from '@ember/instrumentation';\n \n subscribe(\"render\", {\n before(name, timestamp, payload) {\n \n },\n \n after(name, timestamp, payload) {\n \n }\n });\n ```\n \n If you return a value from the `before` callback, that same\n value will be passed as a fourth parameter to the `after`\n callback.\n \n Instrument a block of code by using `instrument`:\n \n ```javascript\n import { instrument } from '@ember/instrumentation';\n \n instrument(\"render.handlebars\", payload, function() {\n // rendering logic\n }, binding);\n ```\n \n Event names passed to `instrument` are namespaced\n by periods, from more general to more specific. Subscribers\n can listen for events by whatever level of granularity they\n are interested in.\n \n In the above example, the event is `render.handlebars`,\n and the subscriber listened for all events beginning with\n `render`. It would receive callbacks for events named\n `render`, `render.handlebars`, `render.container`, or\n even `render.handlebars.layout`.\n \n @class Instrumentation\n @static\n @private\n */\n /* eslint no-console:off */\n /* global console */\n var subscribers = exports.subscribers = [];\n var cache = {};\n function populateListeners(name) {\n var listeners = [],\n i;\n var subscriber = void 0;\n for (i = 0; i < subscribers.length; i++) {\n subscriber = subscribers[i];\n if (subscriber.regex.test(name)) {\n listeners.push(subscriber.object);\n }\n }\n cache[name] = listeners;\n return listeners;\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 // fn.bind will be available in all the browsers that support the advanced window.performance... ;-)\n return fn ? fn.bind(perf) : function () {\n return +new Date();\n };\n }();\n\n var flaggedInstrument = void 0;\n\n exports.flaggedInstrument = flaggedInstrument = function (_name, _payload, callback) {\n return callback();\n };\n\n exports.flaggedInstrument = flaggedInstrument;\n\n function withFinalizer(callback, finalizer, payload, binding) {\n var result = void 0;\n try {\n result = callback.call(binding);\n } catch (e) {\n payload.exception = e;\n result = payload;\n } finally {\n finalizer();\n }\n return result;\n }\n function NOOP() {}\n function _instrumentStart(name, _payload, _payloadParam) {\n if (subscribers.length === 0) {\n return NOOP;\n }\n var listeners = cache[name];\n if (!listeners) {\n listeners = populateListeners(name);\n }\n if (listeners.length === 0) {\n return NOOP;\n }\n var payload = _payload(_payloadParam);\n var STRUCTURED_PROFILE = _emberEnvironment.ENV.STRUCTURED_PROFILE;\n var timeName = void 0;\n if (STRUCTURED_PROFILE) {\n timeName = name + ': ' + payload.object;\n console.time(timeName);\n }\n var beforeValues = new Array(listeners.length);\n var i = void 0;\n var listener = void 0;\n var timestamp = time();\n for (i = 0; i < listeners.length; i++) {\n listener = listeners[i];\n beforeValues[i] = listener.before(name, timestamp, payload);\n }\n return function () {\n var i = void 0;\n var listener = void 0;\n var timestamp = time();\n for (i = 0; i < listeners.length; i++) {\n listener = listeners[i];\n if (typeof listener.after === 'function') {\n listener.after(name, timestamp, payload, beforeValues[i]);\n }\n }\n if (STRUCTURED_PROFILE) {\n console.timeEnd(timeName);\n }\n };\n }\n});","enifed('@ember/map/index', ['exports', '@ember/debug', 'ember-utils', '@ember/map/lib/ordered-set', '@ember/map/lib/utils', '@ember/deprecated-features'], function (exports, _debug, _emberUtils, _orderedSet, _utils, _deprecatedFeatures) {\n 'use strict';\n\n /**\n @module @ember/map\n @private\n */\n\n var Map = void 0;\n\n if (_deprecatedFeatures.MAP) {\n /*\n JavaScript (before ES6) does not have a Map implementation. Objects,\n which are often used as dictionaries, may only have Strings as keys.\n Because Ember has a way to get a unique identifier for every object\n via `guidFor`, we can implement a performant Map with arbitrary\n keys. Because it is commonly used in low-level bookkeeping, Map is\n implemented as a pure JavaScript object for performance.\n This implementation follows the current iteration of the ES6 proposal for\n maps (http://wiki.ecmascript.org/doku.php?id=harmony:simple_maps_and_sets),\n with one exception: as we do not have the luxury of in-VM iteration, we implement a\n forEach method for iteration.\n Map is mocked out to look like an Ember object, so you can do\n `EmberMap.create()` for symmetry with other Ember classes.\n */\n\n /**\n A Map stores values indexed by keys. Unlike JavaScript's\n default Objects, the keys of a Map can be any JavaScript\n object.\n Internally, a Map has two data structures:\n 1. `keys`: an OrderedSet of all of the existing keys\n 2. `values`: a JavaScript Object indexed by the `guidFor(key)`\n When a key/value pair is added for the first time, we\n add the key to the `keys` OrderedSet, and create or\n replace an entry in `values`. When an entry is deleted,\n we delete its entry in `keys` and `values`.\n @class Map\n @private\n @constructor\n @deprecated use native `Map` instead.\n */\n Map = function () {\n function Map() {\n false && !false && (0, _debug.deprecate)('Use of @ember/Map is deprecated. Please use native `Map` instead', false, {\n id: 'ember-map-deprecation',\n until: '3.5.0'\n });\n\n this._keys = new _orderedSet.default();\n this._values = Object.create(null);\n this.size = 0;\n }\n\n /**\n @method create\n @static\n @private\n */\n\n Map.create = function () {\n var Constructor = this;\n return new Constructor();\n };\n\n Map.prototype.get = function (key) {\n if (this.size === 0) {\n return;\n }\n\n var values = this._values;\n var guid = (0, _emberUtils.guidFor)(key);\n\n return values[guid];\n };\n\n Map.prototype.set = function (key, value) {\n var keys = this._keys;\n var values = this._values;\n var guid = (0, _emberUtils.guidFor)(key);\n\n // ensure we don't store -0\n var k = key === -0 ? 0 : key; // eslint-disable-line no-compare-neg-zero\n\n keys.add(k, guid);\n\n values[guid] = value;\n\n this.size = keys.size;\n\n return this;\n };\n\n Map.prototype.delete = function (key) {\n if (this.size === 0) {\n return false;\n }\n // don't use ES6 \"delete\" because it will be annoying\n // to use in browsers that are not ES6 friendly;\n var keys = this._keys;\n var values = this._values;\n var guid = (0, _emberUtils.guidFor)(key);\n\n if (keys.delete(key, guid)) {\n delete values[guid];\n this.size = keys.size;\n return true;\n } else {\n return false;\n }\n };\n\n Map.prototype.has = function (key) {\n return this._keys.has(key);\n };\n\n Map.prototype.forEach = function (callback /*, ...thisArg*/) {\n false && !(typeof callback === 'function') && (0, _debug.assert)(Object.prototype.toString.call(callback) + ' is not a function', typeof callback === 'function');\n\n if (this.size === 0) {\n return;\n }\n\n var map = this;\n var cb = void 0,\n thisArg = void 0;\n\n if (arguments.length === 2) {\n thisArg = arguments[1];\n cb = function (key) {\n return callback.call(thisArg, map.get(key), key, map);\n };\n } else {\n cb = function (key) {\n return callback(map.get(key), key, map);\n };\n }\n\n this._keys.forEach(cb);\n };\n\n Map.prototype.clear = function () {\n this._keys.clear();\n this._values = Object.create(null);\n this.size = 0;\n };\n\n Map.prototype.copy = function () {\n return (0, _utils.copyMap)(this, new Map());\n };\n\n return Map;\n }();\n }\n\n exports.default = Map;\n});","enifed('@ember/map/lib/ordered-set', ['exports', 'ember-babel', '@ember/debug', 'ember-utils', '@ember/map/lib/utils', '@ember/deprecated-features'], function (exports, _emberBabel, _debug, _emberUtils, _utils, _deprecatedFeatures) {\n 'use strict';\n\n exports.__OrderedSet__ = undefined;\n\n /**\n This class is used internally by Ember and Ember Data.\n Please do not use it at this time. We plan to clean it up\n and add many tests soon.\n \n @class OrderedSet\n @namespace Ember\n @constructor\n @private\n @deprecated\n */\n var __OrderedSet__ = void 0,\n OrderedSet = void 0;\n /**\n * This is exported so it can be used by the OrderedSet library.\n * This is private do not use it.\n @private\n */\n\n if (_deprecatedFeatures.ORDERED_SET) {\n exports.__OrderedSet__ = __OrderedSet__ = function () {\n function __OrderedSet__() {\n\n this.clear();\n }\n /**\n @method create\n @static\n @return {Ember.OrderedSet}\n @private\n */\n\n __OrderedSet__.create = function () {\n var Constructor = this;\n return new Constructor();\n };\n\n /**\n @method clear\n @private\n */\n\n __OrderedSet__.prototype.clear = function () {\n this.presenceSet = Object.create(null);\n this.list = [];\n this.size = 0;\n };\n\n /**\n @method add\n @param obj\n @param guid (optional, and for internal use)\n @return {Ember.OrderedSet}\n @private\n */\n\n __OrderedSet__.prototype.add = function (obj, _guid) {\n var guid = _guid || (0, _emberUtils.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 /**\n @since 1.8.0\n @method delete\n @param obj\n @param _guid (optional and for internal use only)\n @return {Boolean}\n @private\n */\n\n __OrderedSet__.prototype.delete = function (obj, _guid) {\n var guid = _guid || (0, _emberUtils.guidFor)(obj),\n index;\n var presenceSet = this.presenceSet;\n var list = this.list;\n\n if (presenceSet[guid] === true) {\n delete presenceSet[guid];\n index = list.indexOf(obj);\n\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 /**\n @method isEmpty\n @return {Boolean}\n @private\n */\n\n __OrderedSet__.prototype.isEmpty = function () {\n return this.size === 0;\n };\n\n /**\n @method has\n @param obj\n @return {Boolean}\n @private\n */\n\n __OrderedSet__.prototype.has = function (obj) {\n if (this.size === 0) {\n return false;\n }\n\n var guid = (0, _emberUtils.guidFor)(obj);\n var presenceSet = this.presenceSet;\n\n return presenceSet[guid] === true;\n };\n\n /**\n @method forEach\n @param {Function} fn\n @param self\n @private\n */\n\n __OrderedSet__.prototype.forEach = function (fn /*, ...thisArg*/) {\n false && !(typeof fn === 'function') && (0, _debug.assert)(Object.prototype.toString.call(fn) + ' is not a function', typeof fn === 'function');\n\n if (this.size === 0) {\n return;\n }\n\n var list = this.list,\n i,\n _i;\n\n if (arguments.length === 2) {\n for (i = 0; i < list.length; i++) {\n fn.call(arguments[1], list[i]);\n }\n } else {\n for (_i = 0; _i < list.length; _i++) {\n fn(list[_i]);\n }\n }\n };\n\n /**\n @method toArray\n @return {Array}\n @private\n */\n\n __OrderedSet__.prototype.toArray = function () {\n return this.list.slice();\n };\n\n /**\n @method copy\n @return {Ember.OrderedSet}\n @private\n */\n\n __OrderedSet__.prototype.copy = function () {\n var Constructor = this.constructor;\n var set = new Constructor();\n\n set.presenceSet = (0, _utils.copyNull)(this.presenceSet);\n set.list = this.toArray();\n set.size = this.size;\n\n return set;\n };\n\n return __OrderedSet__;\n }();\n\n OrderedSet = function (_OrderedSet__) {\n (0, _emberBabel.inherits)(OrderedSet, _OrderedSet__);\n\n function OrderedSet() {\n\n var _this = (0, _emberBabel.possibleConstructorReturn)(this, _OrderedSet__.call(this));\n\n false && !false && (0, _debug.deprecate)('Use of @ember/OrderedSet is deprecated. Please use native `Map` instead', false, {\n id: 'ember-map-deprecation',\n until: '3.5.0'\n });\n return _this;\n }\n\n return OrderedSet;\n }(__OrderedSet__);\n }\n\n exports.__OrderedSet__ = __OrderedSet__;\n exports.default = OrderedSet;\n});","enifed('@ember/map/lib/utils', ['exports', '@ember/deprecated-features'], function (exports, _deprecatedFeatures) {\n 'use strict';\n\n exports.copyNull = exports.copyMap = undefined;\n\n var copyNull = void 0,\n copyMap = void 0;\n\n if (_deprecatedFeatures.MAP || _deprecatedFeatures.ORDERED_SET) {\n exports.copyNull = copyNull = function (obj) {\n var output = Object.create(null);\n\n for (var prop in obj) {\n // hasOwnPropery is not needed because obj is Object.create(null);\n output[prop] = obj[prop];\n }\n\n return output;\n };\n\n exports.copyMap = copyMap = function (original, newObject) {\n var keys = original._keys.copy();\n var values = copyNull(original._values);\n\n newObject._keys = keys;\n newObject._values = values;\n newObject.size = original.size;\n\n return newObject;\n };\n }\n\n exports.copyMap = copyMap;\n exports.copyNull = copyNull;\n});","enifed('@ember/map/with-default', ['exports', 'ember-babel', '@ember/debug', '@ember/map/index', '@ember/map/lib/utils', '@ember/deprecated-features'], function (exports, _emberBabel, _debug, _index, _utils, _deprecatedFeatures) {\n 'use strict';\n\n var MapWithDefault = void 0;\n\n if (_deprecatedFeatures.MAP) {\n /**\n @class MapWithDefault\n @extends Map\n @private\n @constructor\n @param [options]\n @param {*} [options.defaultValue]\n */\n MapWithDefault = function (_Map) {\n (0, _emberBabel.inherits)(MapWithDefault, _Map);\n\n function MapWithDefault(options) {\n false && !false && (0, _debug.deprecate)('Use of @ember/MapWithDefault is deprecated. Please use native `Map` instead', false, {\n id: 'ember-map-deprecation',\n until: '3.5.0'\n });\n\n var _this = (0, _emberBabel.possibleConstructorReturn)(this, _Map.call(this));\n\n _this.defaultValue = options.defaultValue;\n return _this;\n }\n\n /**\n @method create\n @static\n @param [options]\n @param {*} [options.defaultValue]\n @return {MapWithDefault|Map} If options are passed, returns\n `MapWithDefault` otherwise returns `EmberMap`\n @private\n @deprecated use native `Map` instead\n */\n\n MapWithDefault.create = function (options) {\n if (options) {\n return new MapWithDefault(options);\n } else {\n return new _index.default();\n }\n };\n\n MapWithDefault.prototype.get = function (key) {\n var hasValue = this.has(key),\n defaultValue;\n\n if (hasValue) {\n return _Map.prototype.get.call(this, key);\n } else {\n defaultValue = this.defaultValue(key);\n\n this.set(key, defaultValue);\n return defaultValue;\n }\n };\n\n MapWithDefault.prototype.copy = function () {\n var Constructor = this.constructor;\n return (0, _utils.copyMap)(this, new Constructor({\n defaultValue: this.defaultValue\n }));\n };\n\n return MapWithDefault;\n }(_index.default);\n }\n\n exports.default = MapWithDefault;\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/lib/computed/computed_macros', ['exports', 'ember-metal', '@ember/debug'], function (exports, _emberMetal, _debug) {\n 'use strict';\n\n exports.or = exports.and = undefined;\n exports.empty =\n\n /**\n A computed property 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 { empty } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('isDone'); // false\n todoList.get('todos').clear();\n todoList.get('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\n the value of the dependent property is null, an empty string, empty array,\n or empty function and false if the underlying value is not empty.\n \n @public\n */\n function (dependentKey) {\n return (0, _emberMetal.computed)(dependentKey + '.length', function () {\n return (0, _emberMetal.isEmpty)((0, _emberMetal.get)(this, dependentKey));\n });\n }\n\n /**\n A computed property that returns true if the value of the dependent\n property is NOT null, an empty string, empty array, or empty function.\n \n Example\n \n ```javascript\n import { notEmpty } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n hasStuff: notEmpty('backpack')\n });\n \n let hamster = Hamster.create({ backpack: ['Food', 'Sleeping Bag', 'Tent'] });\n \n hamster.get('hasStuff'); // true\n hamster.get('backpack').clear(); // []\n hamster.get('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\n original value for property is not empty.\n @public\n */\n ;\n exports.notEmpty = function (dependentKey) {\n return (0, _emberMetal.computed)(dependentKey + '.length', function () {\n return !(0, _emberMetal.isEmpty)((0, _emberMetal.get)(this, dependentKey));\n });\n }\n\n /**\n A computed property that returns true if the value of the dependent\n property is null or undefined. This avoids errors from JSLint complaining\n about use of ==, which can be technically confusing.\n \n Example\n \n ```javascript\n import { none } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n isHungry: none('food')\n });\n \n let hamster = Hamster.create();\n \n hamster.get('isHungry'); // true\n hamster.set('food', 'Banana');\n hamster.get('isHungry'); // false\n hamster.set('food', null);\n hamster.get('isHungry'); // true\n ```\n \n @method none\n @static\n @for @ember/object/computed\n @param {String} dependentKey\n @return {ComputedProperty} computed property which\n returns true if original value for property is null or undefined.\n @public\n */\n ;\n exports.none = function (dependentKey) {\n return (0, _emberMetal.computed)(dependentKey, function () {\n return (0, _emberMetal.isNone)((0, _emberMetal.get)(this, dependentKey));\n });\n }\n\n /**\n A computed property that returns the inverse boolean value\n of the original value for the dependent property.\n \n Example\n \n ```javascript\n import { not } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let User = EmberObject.extend({\n isAnonymous: not('loggedIn')\n });\n \n let user = User.create({loggedIn: false});\n \n user.get('isAnonymous'); // true\n user.set('loggedIn', true);\n user.get('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\n inverse of the original value for property\n @public\n */\n ;\n exports.not = function (dependentKey) {\n return (0, _emberMetal.computed)(dependentKey, function () {\n return !(0, _emberMetal.get)(this, dependentKey);\n });\n }\n\n /**\n A computed property that converts the provided dependent property\n into a boolean value.\n \n ```javascript\n import { bool } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n hasBananas: bool('numBananas')\n });\n \n let hamster = Hamster.create();\n \n hamster.get('hasBananas'); // false\n hamster.set('numBananas', 0);\n hamster.get('hasBananas'); // false\n hamster.set('numBananas', 1);\n hamster.get('hasBananas'); // true\n hamster.set('numBananas', null);\n hamster.get('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\n to boolean the original value for property\n @public\n */\n ;\n exports.bool = function (dependentKey) {\n return (0, _emberMetal.computed)(dependentKey, function () {\n return !!(0, _emberMetal.get)(this, dependentKey);\n });\n }\n\n /**\n A computed property which matches the original value for the\n dependent property against a given RegExp, returning `true`\n if the value matches the RegExp and `false` if it does not.\n \n Example\n \n ```javascript\n import { match } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let User = EmberObject.extend({\n hasValidEmail: match('email', /^.+@.+\\..+$/)\n });\n \n let user = User.create({loggedIn: false});\n \n user.get('hasValidEmail'); // false\n user.set('email', '');\n user.get('hasValidEmail'); // false\n user.set('email', 'ember_hamster@example.com');\n user.get('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\n the original value for property against a given RegExp\n @public\n */\n ;\n exports.match = function (dependentKey, regexp) {\n return (0, _emberMetal.computed)(dependentKey, function () {\n var value = (0, _emberMetal.get)(this, dependentKey);\n return regexp.test(value);\n });\n }\n\n /**\n A computed property that returns true if the provided dependent property\n is equal to the given value.\n \n Example\n \n ```javascript\n import { equal } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n satisfied: equal('percentCarrotsEaten', 100)\n });\n \n let hamster = Hamster.create();\n \n hamster.get('satisfied'); // false\n hamster.set('percentCarrotsEaten', 100);\n hamster.get('satisfied'); // true\n hamster.set('percentCarrotsEaten', 50);\n hamster.get('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\n the original value for property is equal to the given value.\n @public\n */\n ;\n exports.equal = function (dependentKey, value) {\n return (0, _emberMetal.computed)(dependentKey, function () {\n return (0, _emberMetal.get)(this, dependentKey) === value;\n });\n }\n\n /**\n A computed property that returns true if the provided dependent property\n is greater than the provided value.\n \n Example\n \n ```javascript\n import { gt } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n hasTooManyBananas: gt('numBananas', 10)\n });\n \n let hamster = Hamster.create();\n \n hamster.get('hasTooManyBananas'); // false\n hamster.set('numBananas', 3);\n hamster.get('hasTooManyBananas'); // false\n hamster.set('numBananas', 11);\n hamster.get('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\n the original value for property is greater than given value.\n @public\n */\n ;\n exports.gt = function (dependentKey, value) {\n return (0, _emberMetal.computed)(dependentKey, function () {\n return (0, _emberMetal.get)(this, dependentKey) > value;\n });\n }\n\n /**\n A computed property that returns true if the provided dependent property\n is greater than or equal to the provided value.\n \n Example\n \n ```javascript\n import { gte } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n hasTooManyBananas: gte('numBananas', 10)\n });\n \n let hamster = Hamster.create();\n \n hamster.get('hasTooManyBananas'); // false\n hamster.set('numBananas', 3);\n hamster.get('hasTooManyBananas'); // false\n hamster.set('numBananas', 10);\n hamster.get('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\n the original value for property is greater or equal then given value.\n @public\n */\n ;\n exports.gte = function (dependentKey, value) {\n return (0, _emberMetal.computed)(dependentKey, function () {\n return (0, _emberMetal.get)(this, dependentKey) >= value;\n });\n }\n\n /**\n A computed property that returns true if the provided dependent property\n is less than the provided value.\n \n Example\n \n ```javascript\n import { lt } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n needsMoreBananas: lt('numBananas', 3)\n });\n \n let hamster = Hamster.create();\n \n hamster.get('needsMoreBananas'); // true\n hamster.set('numBananas', 3);\n hamster.get('needsMoreBananas'); // false\n hamster.set('numBananas', 2);\n hamster.get('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\n the original value for property is less then given value.\n @public\n */\n ;\n exports.lt = function (dependentKey, value) {\n return (0, _emberMetal.computed)(dependentKey, function () {\n return (0, _emberMetal.get)(this, dependentKey) < value;\n });\n }\n\n /**\n A computed property that returns true if the provided dependent property\n is less than or equal to the provided value.\n \n Example\n \n ```javascript\n import { lte } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n needsMoreBananas: lte('numBananas', 3)\n });\n \n let hamster = Hamster.create();\n \n hamster.get('needsMoreBananas'); // true\n hamster.set('numBananas', 5);\n hamster.get('needsMoreBananas'); // false\n hamster.set('numBananas', 3);\n hamster.get('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\n the original value for property is less or equal than given value.\n @public\n */\n ;\n exports.lte = function (dependentKey, value) {\n return (0, _emberMetal.computed)(dependentKey, function () {\n return (0, _emberMetal.get)(this, dependentKey) <= value;\n });\n }\n\n /**\n A computed property that performs a logical `and` on the\n original values for the provided dependent properties.\n \n You may pass in more than two properties and even use\n property brace expansion. The computed property will\n return the first falsy value or last truthy value\n just like JavaScript's `&&` operator.\n \n Example\n \n ```javascript\n import { and } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('readyForCamp'); // false\n tomster.set('hasTent', true);\n tomster.get('readyForCamp'); // false\n tomster.set('hasBackpack', true);\n tomster.get('readyForCamp'); // true\n tomster.set('hasBackpack', 'Yes');\n tomster.get('readyForCamp'); // 'Yes'\n tomster.set('hasWalkingStick', null);\n tomster.get('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\n a logical `and` on the values of all the original values for properties.\n @public\n */\n ;\n exports.oneWay =\n\n /**\n Creates a new property that is an alias for another property\n on an object. Calls to `get` or `set` this property behave as\n though they were called on the original property.\n \n ```javascript\n import { alias } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Person = EmberObject.extend({\n name: 'Alex Matchneer',\n nomen: alias('name')\n });\n \n let alex = Person.create();\n \n alex.get('nomen'); // 'Alex Matchneer'\n alex.get('name'); // 'Alex Matchneer'\n \n alex.set('nomen', '@machty');\n alex.get('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\n alias to the 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\n become the value set. This causes the downstream property to permanently\n diverge from the upstream property.\n \n Example\n \n ```javascript\n import { oneWay } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let User = EmberObject.extend({\n firstName: null,\n lastName: null,\n nickName: oneWay('firstName')\n });\n \n let teddy = User.create({\n firstName: 'Teddy',\n lastName: 'Zeenny'\n });\n \n teddy.get('nickName'); // 'Teddy'\n teddy.set('nickName', 'TeddyBear'); // 'TeddyBear'\n teddy.get('firstName'); // 'Teddy'\n ```\n \n @method oneWay\n @static\n @for @ember/object/computed\n @param {String} dependentKey\n @return {ComputedProperty} computed property which creates a\n one way computed property to the original value for property.\n @public\n */\n function (dependentKey) {\n return (0, _emberMetal.alias)(dependentKey).oneWay();\n }\n\n /**\n This is a more semantically meaningful alias of `computed.oneWay`,\n whose name is somewhat ambiguous as to which direction the data flows.\n \n @method reads\n @static\n @for @ember/object/computed\n @param {String} dependentKey\n @return {ComputedProperty} computed property which creates a\n one way computed 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 { readOnly } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let User = EmberObject.extend({\n firstName: null,\n lastName: null,\n nickName: readOnly('firstName')\n });\n \n let teddy = User.create({\n firstName: 'Teddy',\n lastName: 'Zeenny'\n });\n \n teddy.get('nickName'); // 'Teddy'\n teddy.set('nickName', 'TeddyBear'); // throws Exception\n // throw new EmberError('Cannot Set: nickName on: <User:ember27288>' );`\n teddy.get('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\n one way computed property to the original value for property.\n @since 1.5.0\n @public\n */\n ;\n exports.readOnly = function (dependentKey) {\n return (0, _emberMetal.alias)(dependentKey).readOnly();\n }\n\n /**\n Creates a new property that is an alias for another property\n on an object. Calls to `get` or `set` this property behave as\n though they were called on the original property, but also\n print a deprecation warning.\n \n ```javascript\n import { deprecatingAlias } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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 hamster.set('bananaCount', 5); // Prints a deprecation warning.\n hamster.get('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\n alias with a deprecation to the original value for property.\n @since 1.7.0\n @public\n */\n ;\n exports.deprecatingAlias = function (dependentKey, options) {\n return (0, _emberMetal.computed)(dependentKey, {\n get: function (key) {\n false && !false && (0, _debug.deprecate)('Usage of `' + key + '` is deprecated, use `' + dependentKey + '` instead.', false, options);\n\n return (0, _emberMetal.get)(this, dependentKey);\n },\n set: function (key, value) {\n false && !false && (0, _debug.deprecate)('Usage of `' + key + '` is deprecated, use `' + dependentKey + '` instead.', false, options);\n\n (0, _emberMetal.set)(this, dependentKey, value);\n return value;\n }\n });\n };\n\n /**\n @module @ember/object\n */\n\n function expandPropertiesToArray(predicateName, properties) {\n var expandedProperties = [],\n i,\n property;\n\n function extractProperty(entry) {\n expandedProperties.push(entry);\n }\n\n for (i = 0; i < properties.length; i++) {\n property = properties[i];\n\n false && !(property.indexOf(' ') < 0) && (0, _debug.assert)('Dependent keys passed to computed.' + predicateName + '() can\\'t have spaces.', property.indexOf(' ') < 0);\n\n (0, _emberMetal.expandProperties)(property, extractProperty);\n }\n\n return expandedProperties;\n }\n\n function generateComputedWithPredicate(name, predicate) {\n return function () {\n for (_len = arguments.length, properties = Array(_len), _key = 0; _key < _len; _key++) {\n properties[_key] = arguments[_key];\n }\n\n var dependentKeys = expandPropertiesToArray(name, properties),\n _len,\n properties,\n _key;\n\n var computedFunc = new _emberMetal.ComputedProperty(function () {\n var lastIdx = dependentKeys.length - 1,\n i,\n value;\n\n for (i = 0; i < lastIdx; i++) {\n value = (0, _emberMetal.get)(this, dependentKeys[i]);\n\n if (!predicate(value)) {\n return value;\n }\n }\n\n return (0, _emberMetal.get)(this, dependentKeys[lastIdx]);\n }, { dependentKeys: dependentKeys });\n\n return computedFunc;\n };\n }exports.and = generateComputedWithPredicate('and', function (value) {\n return value;\n });\n\n /**\n A computed property which performs a logical `or` on the\n original values for the provided dependent properties.\n \n You may pass in more than two properties and even use\n property brace expansion. The computed property will\n return the first truthy value or last falsy value just\n like JavaScript's `||` operator.\n \n Example\n \n ```javascript\n import { or } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('readyForRain'); // undefined\n tomster.set('hasUmbrella', true);\n tomster.get('readyForRain'); // true\n tomster.set('hasJacket', 'Yes');\n tomster.get('readyForRain'); // 'Yes'\n tomster.set('hasSunscreen', 'Check');\n tomster.get('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\n a logical `or` on the values of all the original values for properties.\n @public\n */\n\n exports.or = generateComputedWithPredicate('or', function (value) {\n return !value;\n });\n});","enifed('@ember/object/lib/computed/reduce_computed_macros', ['exports', '@ember/debug', 'ember-metal', 'ember-runtime'], function (exports, _debug, _emberMetal, _emberRuntime) {\n 'use strict';\n\n exports.union = undefined;\n exports.sum =\n\n /**\n A computed property that returns the sum of the values\n in the dependent array.\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 dependentKey's array\n @since 1.4.0\n @public\n */\n function (dependentKey) {\n return reduceMacro(dependentKey, function (sum, item) {\n return sum + item;\n }, 0, 'sum');\n }\n\n /**\n A computed property that calculates the maximum value in the\n dependent array. This will return `-Infinity` when the dependent\n array is empty.\n \n ```javascript\n import { mapBy, max } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('maxChildAge'); // -Infinity\n lordByron.get('children').pushObject({\n name: 'Augusta Ada Byron', age: 7\n });\n lordByron.get('maxChildAge'); // 7\n lordByron.get('children').pushObjects([{\n name: 'Allegra Byron',\n age: 5\n }, {\n name: 'Elizabeth Medora Leigh',\n age: 8\n }]);\n lordByron.get('maxChildAge'); // 8\n ```\n \n If the types of the arguments are not numbers,\n they will be converted to numbers and the type\n of the return value will always be `Number`.\n For example, the max of a list of Date objects will be\n 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 array\n @public\n */\n ;\n exports.max = function (dependentKey) {\n return reduceMacro(dependentKey, function (max, item) {\n return Math.max(max, item);\n }, -Infinity, 'max');\n }\n\n /**\n A computed property that calculates the minimum value in the\n dependent array. This will return `Infinity` when the dependent\n array is empty.\n \n ```javascript\n import { mapBy, min } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('minChildAge'); // Infinity\n lordByron.get('children').pushObject({\n name: 'Augusta Ada Byron', age: 7\n });\n lordByron.get('minChildAge'); // 7\n lordByron.get('children').pushObjects([{\n name: 'Allegra Byron',\n age: 5\n }, {\n name: 'Elizabeth Medora Leigh',\n age: 8\n }]);\n lordByron.get('minChildAge'); // 5\n ```\n \n If the types of the arguments are not numbers,\n they will be converted to numbers and the type\n of the return value will always be `Number`.\n For example, the min of a list of Date objects will be\n 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 exports.min = function (dependentKey) {\n return reduceMacro(dependentKey, function (min, item) {\n return Math.min(min, item);\n }, Infinity, 'min');\n }\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(item, index);\n ```\n \n Example\n \n ```javascript\n import { map } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('excitingChores'); // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n ```\n \n @method map\n @for @ember/object/computed\n @static\n @param {String} dependentKey\n @param {Function} callback\n @return {ComputedProperty} an array mapped via the callback\n @public\n */\n ;\n exports.map = map;\n exports.mapBy =\n\n /**\n Returns an array mapped to the specified key.\n \n ```javascript\n import { mapBy } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Person = EmberObject.extend({\n childAges: mapBy('children', 'age')\n });\n \n let lordByron = Person.create({ children: [] });\n \n lordByron.get('childAges'); // []\n lordByron.get('children').pushObject({ name: 'Augusta Ada Byron', age: 7 });\n lordByron.get('childAges'); // [7]\n lordByron.get('children').pushObjects([{\n name: 'Allegra Byron',\n age: 5\n }, {\n name: 'Elizabeth Medora Leigh',\n age: 8\n }]);\n lordByron.get('childAges'); // [7, 5, 8]\n ```\n \n @method mapBy\n @for @ember/object/computed\n @static\n @param {String} dependentKey\n @param {String} propertyKey\n @return {ComputedProperty} an array mapped to the specified key\n @public\n */\n function (dependentKey, propertyKey) {\n false && !(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 false && !!/[\\[\\]\\{\\}]/g.test(dependentKey) && (0, _debug.assert)('Dependent key passed to `computed.mapBy` shouldn\\'t contain brace expanding pattern.', !/[\\[\\]\\{\\}]/g.test(dependentKey));\n\n return map(dependentKey + '.@each.' + propertyKey, function (item) {\n return (0, _emberMetal.get)(item, propertyKey);\n });\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(item, index, array);\n ```\n \n ```javascript\n import { filter } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('remainingChores'); // [{name: 'write more unit tests', done: false}]\n ```\n \n You can also use `@each.property` in your dependent key, the callback will still use the underlying array:\n \n ```javascript\n import { A } from '@ember/array';\n import { filter } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n remainingChores: filter('chores.@each.done', function(chore, index, array) {\n return !chore.get('done');\n })\n });\n \n let hamster = Hamster.create({\n chores: A([\n EmberObject.create({ name: 'cook', done: true }),\n EmberObject.create({ name: 'clean', done: true }),\n EmberObject.create({ name: 'write more unit tests', done: false })\n ])\n });\n hamster.get('remainingChores'); // [{name: 'write more unit tests', done: false}]\n hamster.get('chores').objectAt(2).set('done', true);\n hamster.get('remainingChores'); // []\n ```\n \n \n @method filter\n @for @ember/object/computed\n @static\n @param {String} dependentKey\n @param {Function} callback\n @return {ComputedProperty} the filtered array\n @public\n */\n ;\n exports.filter = filter;\n exports.filterBy =\n\n /**\n Filters the array by the property and value\n \n ```javascript\n import { filterBy } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('remainingChores'); // [{ name: 'write more unit tests', done: false }]\n ```\n \n @method filterBy\n @for @ember/object/computed\n @static\n @param {String} dependentKey\n @param {String} propertyKey\n @param {*} value\n @return {ComputedProperty} the filtered array\n @public\n */\n function (dependentKey, propertyKey, value) {\n false && !!/[\\[\\]\\{\\}]/g.test(dependentKey) && (0, _debug.assert)('Dependent key passed to `computed.filterBy` shouldn\\'t contain brace expanding pattern.', !/[\\[\\]\\{\\}]/g.test(dependentKey));\n\n var callback = void 0;\n if (arguments.length === 2) {\n callback = function (item) {\n return (0, _emberMetal.get)(item, propertyKey);\n };\n } else {\n callback = function (item) {\n return (0, _emberMetal.get)(item, propertyKey) === value;\n };\n }\n\n return filter(dependentKey + '.@each.' + propertyKey, callback);\n }\n\n /**\n A computed property which returns a new array with all the unique\n elements from one or more dependent arrays.\n \n Example\n \n ```javascript\n import { uniq } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('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 exports.uniq = uniq;\n exports.uniqBy =\n\n /**\n A computed property which returns a new array with all the unique\n elements from an array, with uniqueness determined by specific key.\n \n Example\n \n ```javascript\n import { uniqBy } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n uniqueFruits: uniqBy('fruits', 'id')\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 hamster.get('uniqueFruits'); // [ { id: 1, 'banana' }, { id: 2, 'grape' }, { id: 3, 'peach' }]\n ```\n \n @method uniqBy\n @for @ember/object/computed\n @static\n @param {String} dependentKey\n @param {String} propertyKey\n @return {ComputedProperty} computes a new array with all the\n unique elements from the dependent array\n @public\n */\n function (dependentKey, propertyKey) {\n false && !!/[\\[\\]\\{\\}]/g.test(dependentKey) && (0, _debug.assert)('Dependent key passed to `computed.uniqBy` shouldn\\'t contain brace expanding pattern.', !/[\\[\\]\\{\\}]/g.test(dependentKey));\n\n var cp = new _emberMetal.ComputedProperty(function () {\n var list = (0, _emberMetal.get)(this, dependentKey);\n return (0, _emberRuntime.isArray)(list) ? (0, _emberRuntime.uniqBy)(list, propertyKey) : (0, _emberRuntime.A)();\n }, { dependentKeys: [dependentKey + '.[]'], readOnly: true });\n\n return cp;\n }\n\n /**\n A computed property which returns a new array with all the unique\n elements from one or more dependent arrays.\n \n Example\n \n ```javascript\n import { union } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('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\n unique elements from the dependent array\n @public\n */\n ;\n exports.intersect =\n\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 { intersect } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let obj = EmberObject.extend({\n friendsInCommon: intersect('adaFriends', 'charlesFriends')\n }).create({\n adaFriends: ['Charles Babbage', 'John Hobhouse', 'William King', 'Mary Somerville'],\n charlesFriends: ['William King', 'Mary Somerville', 'Ada Lovelace', 'George Peacock']\n });\n \n obj.get('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\n duplicated elements from the dependent arrays\n @public\n */\n function () {\n var _len2, args, _key2;\n\n for (_len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return multiArrayMacro(args, function (dependentKeys) {\n var _this2 = this;\n\n var arrays = dependentKeys.map(function (dependentKey) {\n var array = (0, _emberMetal.get)(_this2, dependentKey);\n return (0, _emberRuntime.isArray)(array) ? array : [];\n });\n\n var results = arrays.pop().filter(function (candidate) {\n var i, found, array, j;\n\n for (i = 0; i < arrays.length; i++) {\n found = false;\n array = arrays[i];\n\n for (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 }, 'intersect');\n\n return (0, _emberRuntime.A)(results);\n });\n }\n\n /**\n A computed property which returns a new array with all the\n properties from the first dependent array that are not in the second\n dependent array.\n \n Example\n \n ```javascript\n import { setDiff } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n likes: ['banana', 'grape', 'kale'],\n wants: setDiff('likes', 'fruits')\n });\n \n let hamster = Hamster.create({\n fruits: [\n 'grape',\n 'kale',\n ]\n });\n \n hamster.get('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\n items from the first dependent array that are not in the second\n dependent array\n @public\n */\n ;\n exports.setDiff = function (setAProperty, setBProperty) {\n false && !(arguments.length === 2) && (0, _debug.assert)('`computed.setDiff` requires exactly two dependent arrays.', arguments.length === 2);\n false && !(!/[\\[\\]\\{\\}]/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\n var cp = new _emberMetal.ComputedProperty(function () {\n var setA = this.get(setAProperty);\n var setB = this.get(setBProperty);\n\n if (!(0, _emberRuntime.isArray)(setA)) {\n return (0, _emberRuntime.A)();\n }\n if (!(0, _emberRuntime.isArray)(setB)) {\n return (0, _emberRuntime.A)(setA);\n }\n\n return setA.filter(function (x) {\n return setB.indexOf(x) === -1;\n });\n }, {\n dependentKeys: [setAProperty + '.[]', setBProperty + '.[]'],\n readOnly: true\n });\n\n return cp;\n }\n\n /**\n A computed property that returns the array of values\n for the provided dependent properties.\n \n Example\n \n ```javascript\n import { collect } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n clothes: collect('hat', 'shirt')\n });\n \n let hamster = Hamster.create();\n \n hamster.get('clothes'); // [null, null]\n hamster.set('hat', 'Camp Hat');\n hamster.set('shirt', 'Camp Shirt');\n hamster.get('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\n values of all passed in properties to an array.\n @public\n */\n ;\n exports.collect = function () {\n var _len3, dependentKeys, _key3;\n\n for (_len3 = arguments.length, dependentKeys = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n dependentKeys[_key3] = arguments[_key3];\n }\n\n return multiArrayMacro(dependentKeys, function () {\n var properties = (0, _emberMetal.getProperties)(this, dependentKeys);\n var res = (0, _emberRuntime.A)();\n for (var key in properties) {\n if (properties.hasOwnProperty(key)) {\n if (properties[key] === undefined) {\n res.push(null);\n } else {\n res.push(properties[key]);\n }\n }\n }\n return res;\n }, 'collect');\n }\n\n /**\n A computed property which returns a new array with all the\n properties from the first dependent array sorted based on a property\n or sort function.\n \n The callback method you provide should have the following signature:\n \n ```javascript\n function(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 come before\n `itemB`. It should return positive number (e.g. `1`) when `itemA` should come after\n `itemB`. If the `itemA` and `itemB` are equal this function should return `0`.\n \n Therefore, if this function is comparing some numeric values, simple `itemA - itemB` or\n `itemA.get( 'foo' ) - itemB.get( 'foo' )` can be used instead of series of `if`.\n \n Example\n \n ```javascript\n import { sort } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let ToDoList = EmberObject.extend({\n // using standard ascending sort\n todosSorting: Object.freeze(['name']),\n sortedTodos: sort('todos', 'todosSorting'),\n \n // using descending sort\n todosSortingDesc: Object.freeze(['name:desc']),\n sortedTodosDesc: sort('todos', 'todosSortingDesc'),\n \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({todos: [\n { name: 'Unit Test', priority: 2 },\n { name: 'Documentation', priority: 3 },\n { name: 'Release', priority: 1 }\n ]});\n \n todoList.get('sortedTodos'); // [{ name:'Documentation', priority:3 }, { name:'Release', priority:1 }, { name:'Unit Test', priority:2 }]\n todoList.get('sortedTodosDesc'); // [{ name:'Unit Test', priority:2 }, { name:'Release', priority:1 }, { name:'Documentation', priority:3 }]\n todoList.get('priorityTodos'); // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n ```\n \n @method sort\n @for @ember/object/computed\n @static\n @param {String} itemsKey\n @param {String or Function} sortDefinition a dependent key to an\n array of sort properties (add `:desc` to the arrays sort properties to sort descending) or a function to use when sorting\n @return {ComputedProperty} computes a new sorted array based\n on the sort property array or callback function\n @public\n */\n ;\n exports.sort = function (itemsKey, sortDefinition) {\n false && !(arguments.length === 2) && (0, _debug.assert)('`computed.sort` requires two arguments: an array key to sort and ' + 'either a sort properties key or sort function', arguments.length === 2);\n\n if (typeof sortDefinition === 'function') {\n return customSort(itemsKey, sortDefinition);\n } else {\n return propertySort(itemsKey, sortDefinition);\n }\n };\n\n function reduceMacro(dependentKey, callback, initialValue, name) {\n false && !!/[\\[\\]\\{\\}]/g.test(dependentKey) && (0, _debug.assert)('Dependent key passed to `computed.' + name + '` shouldn\\'t contain brace expanding pattern.', !/[\\[\\]\\{\\}]/g.test(dependentKey));\n\n var cp = new _emberMetal.ComputedProperty(function () {\n var arr = (0, _emberMetal.get)(this, dependentKey);\n if (arr === null || typeof arr !== 'object') {\n return initialValue;\n }\n return arr.reduce(callback, initialValue, this);\n }, { dependentKeys: [dependentKey + '.[]'], readOnly: true });\n\n return cp;\n } /**\n @module @ember/object\n */\n\n function arrayMacro(dependentKey, callback) {\n // This is a bit ugly\n var propertyName = void 0;\n if (/@each/.test(dependentKey)) {\n propertyName = dependentKey.replace(/\\.@each.*$/, '');\n } else {\n propertyName = dependentKey;\n dependentKey += '.[]';\n }\n\n var cp = new _emberMetal.ComputedProperty(function () {\n var value = (0, _emberMetal.get)(this, propertyName);\n if ((0, _emberRuntime.isArray)(value)) {\n return (0, _emberRuntime.A)(callback.call(this, value));\n } else {\n return (0, _emberRuntime.A)();\n }\n }, { readOnly: true });\n\n cp.property(dependentKey); // this forces to expand properties GH #15855\n\n return cp;\n }\n\n function multiArrayMacro(_dependentKeys, callback, name) {\n false && !_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 var cp = new _emberMetal.ComputedProperty(function () {\n return (0, _emberRuntime.A)(callback.call(this, _dependentKeys));\n }, { dependentKeys: dependentKeys, readOnly: true });\n\n return cp;\n }function map(dependentKey, callback) {\n return arrayMacro(dependentKey, function (value) {\n return value.map(callback, this);\n });\n }function filter(dependentKey, callback) {\n return arrayMacro(dependentKey, function (value) {\n return value.filter(callback, this);\n });\n }function uniq() {\n var _len, args, _key;\n\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return multiArrayMacro(args, function (dependentKeys) {\n var _this = this;\n\n var uniq = (0, _emberRuntime.A)();\n var seen = new Set();\n\n dependentKeys.forEach(function (dependentKey) {\n var value = (0, _emberMetal.get)(_this, dependentKey);\n if ((0, _emberRuntime.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\n return uniq;\n }, 'uniq');\n }exports.union = uniq;\n\n\n function customSort(itemsKey, comparator) {\n return arrayMacro(itemsKey, function (value) {\n var _this3 = this;\n\n return value.slice().sort(function (x, y) {\n return comparator.call(_this3, x, y);\n });\n });\n }\n\n // This one needs to dynamically set up and tear down observers on the itemsKey\n // depending on the sortProperties\n function propertySort(itemsKey, sortPropertiesKey) {\n var cp = new _emberMetal.ComputedProperty(function (key) {\n var _this4 = this,\n path;\n\n var sortProperties = (0, _emberMetal.get)(this, sortPropertiesKey);\n\n false && !((0, _emberRuntime.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, _emberRuntime.isArray)(sortProperties) && sortProperties.every(function (s) {\n return typeof s === 'string';\n }));\n\n // Add/remove property observers as required.\n var activeObserversMap = cp._activeObserverMap || (cp._activeObserverMap = new WeakMap());\n var activeObservers = activeObserversMap.get(this);\n\n if (activeObservers !== undefined) {\n activeObservers.forEach(function (args) {\n return _emberMetal.removeObserver.apply(undefined, args);\n });\n }\n\n function sortPropertyDidChange() {\n this.notifyPropertyChange(key);\n }\n\n var itemsKeyIsAtThis = itemsKey === '@this';\n var normalizedSortProperties = normalizeSortProperties(sortProperties);\n if (normalizedSortProperties.length === 0) {\n path = itemsKeyIsAtThis ? '[]' : itemsKey + '.[]';\n\n (0, _emberMetal.addObserver)(this, path, sortPropertyDidChange);\n activeObservers = [[this, path, sortPropertyDidChange]];\n } else {\n activeObservers = normalizedSortProperties.map(function (_ref) {\n var prop = _ref[0];\n\n var path = itemsKeyIsAtThis ? '@each.' + prop : itemsKey + '.@each.' + prop;\n (0, _emberMetal.addObserver)(_this4, path, sortPropertyDidChange);\n return [_this4, path, sortPropertyDidChange];\n });\n }\n\n activeObserversMap.set(this, activeObservers);\n\n var items = itemsKeyIsAtThis ? this : (0, _emberMetal.get)(this, itemsKey);\n if (!(0, _emberRuntime.isArray)(items)) {\n return (0, _emberRuntime.A)();\n }\n\n if (normalizedSortProperties.length === 0) {\n return (0, _emberRuntime.A)(items.slice());\n } else {\n return sortByNormalizedSortProperties(items, normalizedSortProperties);\n }\n }, { dependentKeys: [sortPropertiesKey + '.[]'], readOnly: true });\n\n cp._activeObserverMap = undefined;\n\n return cp;\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\n return [prop, direction];\n });\n }\n\n function sortByNormalizedSortProperties(items, normalizedSortProperties) {\n return (0, _emberRuntime.A)(items.slice().sort(function (itemA, itemB) {\n var i, _normalizedSortProper, prop, direction, result;\n\n for (i = 0; i < normalizedSortProperties.length; i++) {\n _normalizedSortProper = normalizedSortProperties[i], prop = _normalizedSortProper[0], direction = _normalizedSortProper[1];\n result = (0, _emberRuntime.compare)((0, _emberMetal.get)(itemA, prop), (0, _emberMetal.get)(itemB, prop));\n\n if (result !== 0) {\n return direction === 'desc' ? -1 * result : result;\n }\n }\n return 0;\n }));\n }\n});","enifed('@ember/polyfills/index', ['exports', '@ember/polyfills/lib/assign', '@ember/polyfills/lib/merge'], function (exports, _assign, _merge) {\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, 'merge', {\n enumerable: true,\n get: function () {\n return _merge.default;\n }\n });\n});","enifed(\"@ember/polyfills/lib/assign\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.assign = assign;\n /**\n @module @ember/polyfills\n */\n /**\n Copy properties from a source object to a target object.\n \n ```javascript\n import { assign } from '@ember/polyfills';\n \n var a = { first: 'Yehuda' };\n var b = { last: 'Katz' };\n var c = { company: 'Tilde Inc.' };\n assign(a, b, c); // a === { first: 'Yehuda', last: 'Katz', company: 'Tilde Inc.' }, b === { last: 'Katz' }, c === { 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 var i, arg, updates, _i, prop;\n\n for (i = 1; i < arguments.length; i++) {\n arg = arguments[i];\n\n if (!arg) {\n continue;\n }\n updates = Object.keys(arg);\n\n for (_i = 0; _i < updates.length; _i++) {\n prop = updates[_i];\n\n target[prop] = arg[prop];\n }\n }\n return target;\n }\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 var _assign = Object.assign;\n exports.default = _assign || assign;\n});","enifed('@ember/polyfills/lib/merge', ['exports'], function (exports) {\n 'use strict';\n\n exports.default =\n /**\n @module @ember/polyfills\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 @public\n */\n function (original, updates) {\n if (updates === null || typeof updates !== 'object') {\n return original;\n }\n var props = Object.keys(updates),\n i;\n var prop = void 0;\n for (i = 0; i < props.length; i++) {\n prop = props[i];\n original[prop] = updates[prop];\n }\n return original;\n };\n});","enifed('@ember/runloop/index', ['exports', '@ember/debug', 'ember-error-handling', 'ember-metal', 'backburner', '@ember/deprecated-features'], function (exports, _debug, _emberErrorHandling, _emberMetal, _backburner, _deprecatedFeatures) {\n 'use strict';\n\n exports.bind = exports._globalsRun = exports.backburner = exports.queues = exports._rsvpErrorQueue = undefined;\n exports.getCurrentRunLoop = getCurrentRunLoop;\n exports.run = run;\n exports.join = join;\n exports.begin =\n\n /**\n Begins a new RunLoop. Any deferred actions invoked after the begin will\n be buffered until you invoke a matching call to `end()`. This is\n a lower-level way to use a RunLoop instead of using `run()`.\n \n ```javascript\n import { begin, end } from '@ember/runloop';\n \n begin();\n // code to be executed within a RunLoop\n end();\n ```\n \n @method begin\n @static\n @for @ember/runloop\n @return {void}\n @public\n */\n function () {\n backburner.begin();\n }\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 exports.end = function () {\n backburner.end();\n }\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('actions', this, function() {\n // this will be executed in the 'actions' queue, after bindings have synced.\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 sync queue\n // scheduled on actions 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 exports.schedule = function (queue /*, target, method */) {\n false && !(queue !== 'sync') && (0, _debug.deprecate)('Scheduling into the \\'' + queue + '\\' run loop queue is deprecated.', queue !== 'sync', {\n id: 'ember-metal.run.sync',\n until: '3.5.0'\n });\n\n return backburner.schedule.apply(backburner, arguments);\n }\n\n // Used by global test teardown\n ;\n exports.hasScheduledTimers = function () {\n return backburner.hasTimers();\n }\n\n // Used by global test teardown\n ;\n exports.cancelTimers = function () {\n backburner.cancelTimers();\n }\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 exports.later = function () /*target, method*/{\n return backburner.later.apply(backburner, arguments);\n }\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 exports.once = function () {\n var _len3, args, _key3;\n\n for (_len3 = arguments.length, args = 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 /**\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 exports.scheduleOnce = function (queue /*, target, method*/) {\n false && !(queue !== 'sync') && (0, _debug.deprecate)('Scheduling into the \\'' + queue + '\\' run loop queue is deprecated.', queue !== 'sync', {\n id: 'ember-metal.run.sync',\n until: '3.5.0'\n });\n\n return backburner.scheduleOnce.apply(backburner, arguments);\n }\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 exports.next = function () {\n var _len4, args, _key4;\n\n for (_len4 = arguments.length, args = 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 /**\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 exports.cancel = function (timer) {\n return backburner.cancel(timer);\n }\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 exports.debounce = function () {\n return backburner.debounce.apply(backburner, arguments);\n }\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 exports.throttle = function () {\n return backburner.throttle.apply(backburner, arguments);\n };\n\n var currentRunLoop = null;\n function getCurrentRunLoop() {\n return currentRunLoop;\n }\n\n var _rsvpErrorQueue = exports._rsvpErrorQueue = ('' + Math.random() + Date.now()).replace('.', '');\n\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 var queues = exports.queues = ['actions',\n\n // used in router transitions to prevent unnecessary loading state entry\n // if all context promises resolve on the 'actions' queue first\n 'routerTransitions', 'render', 'afterRender', 'destroy',\n\n // used to re-throw unhandled RSVP rejection errors specifically in this\n // position to avoid breaking anything rendered in the other sections\n _rsvpErrorQueue];\n\n var backburnerOptions = {\n defaultQueue: 'actions',\n onBegin: function (current) {\n currentRunLoop = current;\n },\n onEnd: function (current, next) {\n currentRunLoop = next;\n },\n onErrorTarget: _emberErrorHandling.onErrorTarget,\n onErrorMethod: 'onerror'\n };\n\n if (_deprecatedFeatures.RUN_SYNC) {\n queues.unshift('sync');\n\n backburnerOptions.sync = {\n before: _emberMetal.beginPropertyChanges,\n after: _emberMetal.endPropertyChanges\n };\n }\n\n var backburner = exports.backburner = new _backburner.default(queues, backburnerOptions);\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 function run() {\n return backburner.run.apply(backburner, arguments);\n }\n\n // used for the Ember.run global only\n exports._globalsRun = run.bind(null);\n\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 function join() {\n return backburner.join.apply(backburner, arguments);\n }\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 exports.bind = function () {\n var _len, curried, _key;\n\n for (_len = arguments.length, curried = Array(_len), _key = 0; _key < _len; _key++) {\n curried[_key] = arguments[_key];\n }\n\n false && !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 type;\n\n if (length === 0) {\n return false;\n } else if (length === 1) {\n return typeof methodOrTarget === 'function';\n } else {\n type = typeof methodOrArg;\n\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(undefined, curried) && (0, _debug.assert)('could not find a suitable method to bind', function (methodOrTarget, methodOrArg) {\n var length = arguments.length,\n type;if (length === 0) {\n return false;\n } else if (length === 1) {\n return typeof methodOrTarget === 'function';\n } else {\n type = typeof methodOrArg;\n return type === 'function' || methodOrTarget !== null && type === 'string' && methodOrArg in methodOrTarget || typeof methodOrTarget === 'function';\n }\n }.apply(undefined, curried));\n\n return function () {\n var _len2, args, _key2;\n\n for (_len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return join.apply(undefined, curried.concat(args));\n };\n };\n});","enifed('@ember/service/index', ['exports', 'ember-runtime', 'ember-metal'], function (exports, _emberRuntime, _emberMetal) {\n 'use strict';\n\n exports.inject =\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\n are 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 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\n accessible 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 {Ember.InjectedProperty} injection descriptor instance\n @public\n */\n function (name, options) {\n return new _emberMetal.InjectedProperty('service', name, options);\n }\n\n /**\n @class Service\n @extends EmberObject\n @since 1.10.0\n @public\n */\n ;var Service = _emberRuntime.Object.extend();\n\n Service.reopenClass({\n isServiceFactory: true\n });\n\n exports.default = Service;\n});","enifed('@ember/string/index', ['exports', '@ember/string/lib/string_registry', 'ember-environment', 'ember-utils'], function (exports, _string_registry, _emberEnvironment, _emberUtils) {\n 'use strict';\n\n exports._setStrings = exports._getStrings = undefined;\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 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\n var STRING_DASHERIZE_REGEXP = /[ _]/g;\n var STRING_DASHERIZE_CACHE = new _emberUtils.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 _emberUtils.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 /*, separator, chr */) {\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 _emberUtils.Cache(1000, function (str) {\n var replace1 = function (_match, _separator, chr) {\n return chr ? '_' + chr.toUpperCase() : '';\n },\n i;\n var replace2 = function (_match, initialChar, _separator, chr) {\n return initialChar + (chr ? chr.toUpperCase() : '');\n };\n var parts = str.split('/');\n for (i = 0; i < parts.length; i++) {\n parts[i] = parts[i].replace(STRING_CLASSIFY_REGEXP_1, replace1).replace(STRING_CLASSIFY_REGEXP_2, replace2);\n }\n return parts.join('/').replace(STRING_CLASSIFY_REGEXP_3, function (match /*, separator, chr */) {\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 _emberUtils.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 _emberUtils.Cache(1000, function (str) {\n return str.replace(STRING_CAPITALIZE_REGEXP, function (match /*, separator, chr */) {\n return match.toUpperCase();\n });\n });\n var STRING_DECAMELIZE_REGEXP = /([a-z\\d])([A-Z])/g;\n var DECAMELIZE_CACHE = new _emberUtils.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 function _fmt(str, formats) {\n // first, replace any ORDERED replacements.\n var idx = 0; // the current index for non-numerical replacements\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 ? '' : '' + 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 function loc(str, formats) {\n if (!Array.isArray(formats) || arguments.length > 2) {\n formats = Array.prototype.slice.call(arguments, 1);\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 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 'innerHTML'.decamelize(); // 'inner_html'\n 'action_name'.decamelize(); // 'action_name'\n 'css-class-name'.decamelize(); // 'css-class-name'\n 'my favorite items'.decamelize(); // 'my favorite items'\n ```\n \n @method decamelize\n @param {String} str The string to decamelize.\n @return {String} the decamelized string.\n @public\n */\n function decamelize(str) {\n return DECAMELIZE_CACHE.get(str);\n }\n /**\n Replaces underscores, spaces, or camelCase with dashes.\n \n ```javascript\n 'innerHTML'.dasherize(); // 'inner-html'\n 'action_name'.dasherize(); // 'action-name'\n 'css-class-name'.dasherize(); // 'css-class-name'\n 'my favorite items'.dasherize(); // 'my-favorite-items'\n 'privateDocs/ownerInvoice'.dasherize(); // 'private-docs/owner-invoice'\n ```\n \n @method dasherize\n @param {String} str The string to dasherize.\n @return {String} the dasherized string.\n @public\n */\n function dasherize(str) {\n return STRING_DASHERIZE_CACHE.get(str);\n }\n /**\n Returns the lowerCamelCase form of a string.\n \n ```javascript\n 'innerHTML'.camelize(); // 'innerHTML'\n 'action_name'.camelize(); // 'actionName'\n 'css-class-name'.camelize(); // 'cssClassName'\n 'my favorite items'.camelize(); // 'myFavoriteItems'\n 'My Favorite Items'.camelize(); // 'myFavoriteItems'\n 'private-docs/owner-invoice'.camelize(); // '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 function camelize(str) {\n return CAMELIZE_CACHE.get(str);\n }\n /**\n Returns the UpperCamelCase form of a string.\n \n ```javascript\n 'innerHTML'.classify(); // 'InnerHTML'\n 'action_name'.classify(); // 'ActionName'\n 'css-class-name'.classify(); // 'CssClassName'\n 'my favorite items'.classify(); // 'MyFavoriteItems'\n 'private-docs/owner-invoice'.classify(); // 'PrivateDocs/OwnerInvoice'\n ```\n \n @method classify\n @param {String} str the string to classify\n @return {String} the classified string\n @public\n */\n function classify(str) {\n return CLASSIFY_CACHE.get(str);\n }\n /**\n More general than decamelize. Returns the lower\\_case\\_and\\_underscored\n form of a string.\n \n ```javascript\n 'innerHTML'.underscore(); // 'inner_html'\n 'action_name'.underscore(); // 'action_name'\n 'css-class-name'.underscore(); // 'css_class_name'\n 'my favorite items'.underscore(); // 'my_favorite_items'\n 'privateDocs/ownerInvoice'.underscore(); // 'private_docs/owner_invoice'\n ```\n \n @method underscore\n @param {String} str The string to underscore.\n @return {String} the underscored string.\n @public\n */\n function underscore(str) {\n return UNDERSCORE_CACHE.get(str);\n }\n /**\n Returns the Capitalized form of a string\n \n ```javascript\n 'innerHTML'.capitalize() // 'InnerHTML'\n 'action_name'.capitalize() // 'Action_name'\n 'css-class-name'.capitalize() // 'Css-class-name'\n 'my favorite items'.capitalize() // 'My favorite items'\n 'privateDocs/ownerInvoice'.capitalize(); // '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 function capitalize(str) {\n return CAPITALIZE_CACHE.get(str);\n }\n if (_emberEnvironment.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 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 var _len, args, _key;\n\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return loc(this, args);\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 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 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 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 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 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 = function (strings) {\n STRINGS = strings;\n };\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 getStrings() {\n return STRINGS;\n }\n function getString(name) {\n return STRINGS[name];\n }\n});","enifed('@glimmer/encoder', ['exports'], function (exports) {\n 'use strict';\n\n exports.InstructionEncoder = undefined;\n\n var InstructionEncoder = function () {\n function InstructionEncoder(buffer) {\n\n this.buffer = buffer;\n this.typePos = 0;\n this.size = 0;\n }\n\n InstructionEncoder.prototype.encode = function (type, machine) {\n var i, op;\n\n if (type > 255 /* TYPE_SIZE */) {\n throw new Error('Opcode type over 8-bits. Got ' + type + '.');\n }\n this.buffer.push(type | machine | arguments.length - 2 << 8 /* ARG_SHIFT */);\n this.typePos = this.buffer.length - 1;\n for (i = 2; i < arguments.length; i++) {\n op = arguments[i];\n\n if (typeof op === 'number' && op > 65535 /* MAX_SIZE */) {\n throw new Error('Operand over 16-bits. Got ' + op + '.');\n }\n this.buffer.push(op);\n }\n this.size = this.buffer.length;\n };\n\n InstructionEncoder.prototype.patch = function (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 InstructionEncoder.prototype.patchWith = function (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 = undefined;\n\n var Storage = function () {\n function Storage() {\n\n this.array = [];\n this.next = 0;\n }\n\n Storage.prototype.add = function (element) {\n var slot = this.next,\n array = this.array,\n prev;\n\n if (slot === array.length) {\n this.next++;\n } else {\n prev = array[slot];\n\n this.next = prev;\n }\n this.array[slot] = element;\n return slot;\n };\n\n Storage.prototype.deref = function (pointer) {\n return this.array[pointer];\n };\n\n Storage.prototype.drop = function (pointer) {\n this.array[pointer] = this.next;\n this.next = pointer;\n };\n\n return Storage;\n }();\n\n var Stack = function () {\n function Stack() {\n var vec = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n\n\n this.vec = vec;\n }\n\n Stack.prototype.clone = function () {\n return new Stack(this.vec.slice());\n };\n\n Stack.prototype.sliceFrom = function (start) {\n return new Stack(this.vec.slice(start));\n };\n\n Stack.prototype.slice = function (start, end) {\n return new Stack(this.vec.slice(start, end));\n };\n\n Stack.prototype.copy = function (from, to) {\n this.vec[to] = this.vec[from];\n };\n\n Stack.prototype.writeRaw = function (pos, value) {\n // TODO: Grow?\n this.vec[pos] = value;\n };\n\n Stack.prototype.writeSmi = function (pos, value) {\n this.vec[pos] = encodeSmi(value);\n };\n\n Stack.prototype.getRaw = function (pos) {\n return this.vec[pos];\n };\n\n Stack.prototype.getSmi = function (pos) {\n return decodeSmi(this.vec[pos]);\n };\n\n Stack.prototype.reset = function () {\n this.vec.length = 0;\n };\n\n Stack.prototype.len = function () {\n return this.vec.length;\n };\n\n return Stack;\n }();\n\n function decodeSmi(smi) {\n switch (smi & 7) {\n case 0 /* NUMBER */:\n return smi >> 3;\n case 4 /* NEGATIVE */:\n return -(smi >> 3);\n default:\n throw new Error('unreachable');\n }\n }\n function encodeSmi(primitive) {\n if (primitive < 0) {\n return Math.abs(primitive) << 3 | 4 /* NEGATIVE */;\n } else {\n return primitive << 3 | 0 /* NUMBER */;\n }\n }\n\n exports.Storage = Storage;\n exports.Stack = Stack;\n});","enifed('@glimmer/node', ['exports', 'ember-babel', '@glimmer/runtime'], function (exports, _emberBabel, _runtime) {\n 'use strict';\n\n exports.serializeBuilder = exports.NodeDOMTreeConstruction = undefined;\n\n var NodeDOMTreeConstruction = function (_DOMTreeConstruction) {\n (0, _emberBabel.inherits)(NodeDOMTreeConstruction, _DOMTreeConstruction);\n\n function NodeDOMTreeConstruction(doc) {\n return (0, _emberBabel.possibleConstructorReturn)(this, _DOMTreeConstruction.call(this, doc));\n }\n // override to prevent usage of `this.document` until after the constructor\n\n\n NodeDOMTreeConstruction.prototype.setupUselessElement = function () {};\n\n NodeDOMTreeConstruction.prototype.insertHTMLBefore = function (parent, reference, html) {\n var prev = reference ? reference.previousSibling : parent.lastChild;\n var raw = this.document.createRawHTMLSection(html);\n parent.insertBefore(raw, reference);\n var first = prev ? prev.nextSibling : parent.firstChild;\n var last = reference ? reference.previousSibling : parent.lastChild;\n return new _runtime.ConcreteBounds(parent, first, last);\n };\n\n NodeDOMTreeConstruction.prototype.createElement = function (tag) {\n return this.document.createElement(tag);\n };\n\n NodeDOMTreeConstruction.prototype.setAttribute = function (element, name, value) {\n element.setAttribute(name, value);\n };\n\n return NodeDOMTreeConstruction;\n }(_runtime.DOMTreeConstruction);\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 = function (_NewElementBuilder) {\n (0, _emberBabel.inherits)(SerializeBuilder, _NewElementBuilder);\n\n function SerializeBuilder() {\n\n var _this2 = (0, _emberBabel.possibleConstructorReturn)(this, _NewElementBuilder.apply(this, arguments));\n\n _this2.serializeBlockDepth = 0;\n return _this2;\n }\n\n SerializeBuilder.prototype.__openBlock = function () {\n var depth = this.serializeBlockDepth++;\n this.__appendComment('%+b:' + depth + '%');\n _NewElementBuilder.prototype.__openBlock.call(this);\n };\n\n SerializeBuilder.prototype.__closeBlock = function () {\n _NewElementBuilder.prototype.__closeBlock.call(this);\n this.__appendComment('%-b:' + --this.serializeBlockDepth + '%');\n };\n\n SerializeBuilder.prototype.__appendHTML = function (html) {\n // Do we need to run the html tokenizer here?\n var first = this.__appendComment('%glmr%'),\n openIndex,\n tr;\n if (this.element.tagName === 'TABLE') {\n openIndex = html.indexOf('<');\n\n if (openIndex > -1) {\n tr = html.slice(openIndex + 1, openIndex + 3);\n\n if (tr === 'tr') {\n html = '<tbody>' + html + '</tbody>';\n }\n }\n }\n if (html === '') {\n this.__appendComment('% %');\n } else {\n _NewElementBuilder.prototype.__appendHTML.call(this, html);\n }\n var last = this.__appendComment('%glmr%');\n return new _runtime.ConcreteBounds(this.element, first, last);\n };\n\n SerializeBuilder.prototype.__appendText = function (string) {\n var current = currentNode(this);\n if (string === '') {\n return this.__appendComment('% %');\n } else if (current && current.nodeType === 3) {\n this.__appendComment('%|%');\n }\n return _NewElementBuilder.prototype.__appendText.call(this, string);\n };\n\n SerializeBuilder.prototype.closeElement = function () {\n if (this.element['needsExtraClose'] === true) {\n this.element['needsExtraClose'] = false;\n _NewElementBuilder.prototype.closeElement.call(this);\n }\n _NewElementBuilder.prototype.closeElement.call(this);\n };\n\n SerializeBuilder.prototype.openElement = function (tag) {\n if (tag === 'tr') {\n if (this.element.tagName !== 'TBODY') {\n this.openElement('tbody');\n // This prevents the closeBlock comment from being re-parented\n // under the auto inserted tbody. Rehydration builder needs to\n // account for the insertion since it is injected here and not\n // really in the template.\n this.constructing['needsExtraClose'] = true;\n this.flushElement();\n }\n }\n return _NewElementBuilder.prototype.openElement.call(this, tag);\n };\n\n SerializeBuilder.prototype.pushRemoteElement = function (element, cursorId) {\n var nextSibling = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n var dom = this.dom;\n\n var script = dom.createElement('script');\n script.setAttribute('glmr', cursorId);\n dom.insertBefore(element, script, nextSibling);\n _NewElementBuilder.prototype.pushRemoteElement.call(this, element, cursorId, nextSibling);\n };\n\n return SerializeBuilder;\n }(_runtime.NewElementBuilder);\n\n exports.NodeDOMTreeConstruction = NodeDOMTreeConstruction;\n exports.serializeBuilder = function (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.PLACEHOLDER_HANDLE = exports.WrappedBuilder = exports.logOpcode = exports.debugSlice = exports.debug = exports.templateFactory = exports.PartialDefinition = exports.StdOpcodeBuilder = exports.OpcodeBuilder = exports.EagerOpcodeBuilder = exports.LazyOpcodeBuilder = exports.CompilableProgram = exports.CompilableBlock = exports.debugCompiler = exports.AbstractCompiler = exports.compile = exports.LazyCompiler = exports.Macros = exports.ATTRS_BLOCK = undefined;\n\n var Ops$1;\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[\"SetComponentAttrs\"] = 2] = \"SetComponentAttrs\";\n Ops$$1[Ops$$1[\"DidRenderLayout\"] = 3] = \"DidRenderLayout\";\n Ops$$1[Ops$$1[\"Debugger\"] = 4] = \"Debugger\";\n })(Ops$1 || (Ops$1 = {}));\n\n var Ops$2 = _wireFormat.Ops;\n var ATTRS_BLOCK = '&attrs';\n\n var Compilers = function () {\n function Compilers() {\n var offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n\n\n this.offset = offset;\n this.names = (0, _util.dict)();\n this.funcs = [];\n }\n\n Compilers.prototype.add = function (name, func) {\n this.funcs.push(func);\n this.names[name] = this.funcs.length - 1;\n };\n\n Compilers.prototype.compile = function (sexp, builder) {\n var name = sexp[this.offset];\n var index = this.names[name];\n var func = this.funcs[index];\n\n func(sexp, builder);\n };\n\n return Compilers;\n }();\n\n var _statementCompiler = void 0;\n function statementCompiler() {\n if (_statementCompiler) {\n return _statementCompiler;\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\n var handle = builder.compiler.resolveModifier(name, referrer);\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\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.TrustingAttr, function (sexp, builder) {\n dynamicAttr(sexp, true, builder);\n });\n STATEMENTS.add(Ops$2.OpenElement, function (sexp, builder) {\n builder.openPrimitiveElement(sexp[1]);\n });\n STATEMENTS.add(Ops$2.OpenSplattedElement, function (sexp, builder) {\n builder.setComponentAttrs(true);\n builder.putComponentOperations();\n builder.openPrimitiveElement(sexp[1]);\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 wrappedAttrs;\n\n var block = builder.template(template);\n var attrsBlock = null;\n if (attrs.length > 0) {\n wrappedAttrs = [[Ops$2.ClientSideStatement, Ops$1.SetComponentAttrs, true]].concat(attrs, [[Ops$2.ClientSideStatement, Ops$1.SetComponentAttrs, false]]);\n\n attrsBlock = builder.inlineBlock({ statements: wrappedAttrs, parameters: _util.EMPTY_ARRAY });\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 attrs,\n attrsBlock,\n child;\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 attrs = [[Ops$2.ClientSideStatement, Ops$1.SetComponentAttrs, true]].concat(_attrs, [[Ops$2.ClientSideStatement, Ops$1.SetComponentAttrs, false]]);\n attrsBlock = builder.inlineBlock({ statements: attrs, parameters: _util.EMPTY_ARRAY });\n 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\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\n builder.yield(to, params);\n });\n STATEMENTS.add(Ops$2.AttrSplat, function (sexp, builder) {\n var to = sexp[1];\n\n builder.yield(to, []);\n builder.setComponentAttrs(false);\n });\n STATEMENTS.add(Ops$2.Debugger, function (sexp, builder) {\n var evalInfo = sexp[1];\n\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\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\n var template = builder.template(_template);\n var inverse = builder.template(_inverse);\n\n builder.compileBlock(name, params, hash, template && template, inverse && inverse);\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.SetComponentAttrs, function (sexp, builder) {\n builder.setComponentAttrs(sexp[2]);\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 function dynamicAttr(sexp, trusting, builder) {\n var name = sexp[1],\n value = sexp[2],\n namespace = sexp[3];\n\n builder.expr(value);\n if (namespace) {\n builder.dynamicAttr(name, namespace, trusting);\n } else {\n builder.dynamicAttr(name, null, trusting);\n }\n }\n var _expressionCompiler = void 0;\n function expressionCompiler() {\n if (_expressionCompiler) {\n return _expressionCompiler;\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\n var name = sexp[1];\n var handle = compiler.resolveHelper(name, referrer);\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 i;\n for (i = 0; i < parts.length; i++) {\n builder.expr(parts[i]);\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 definition,\n restArgs;\n var name = sexp[1],\n params = sexp[2],\n hash = sexp[3];\n\n // TODO: triage this in the WF compiler\n if (name === 'component') {\n definition = params[0], restArgs = params.slice(1);\n\n\n builder.curryComponent(definition, restArgs, hash, true);\n return;\n }\n var handle = compiler.resolveHelper(name, referrer);\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 i;\n\n builder.getVariable(head);\n for (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 head,\n i;\n\n if (builder.containingLayout.asPartial) {\n head = path[0];\n\n path = path.slice(1);\n builder.resolveMaybeLocal(head);\n } else {\n builder.getVariable(0);\n }\n for (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 Blocks = function () {\n function Blocks() {\n\n this.names = (0, _util.dict)();\n this.funcs = [];\n }\n\n Blocks.prototype.add = function (name, func) {\n this.funcs.push(func);\n this.names[name] = this.funcs.length - 1;\n };\n\n Blocks.prototype.addMissing = function (func) {\n this.missing = func;\n };\n\n Blocks.prototype.compile = function (name, params, hash, template, inverse, builder) {\n var index = this.names[name],\n func,\n _func;\n if (index === undefined) {\n func = this.missing;\n func(name, params, hash, template, inverse, builder);\n } else {\n _func = this.funcs[index];\n\n _func(params, hash, template, inverse, builder);\n }\n };\n\n return Blocks;\n }();\n\n var Inlines = function () {\n function Inlines() {\n\n this.names = (0, _util.dict)();\n this.funcs = [];\n }\n\n Inlines.prototype.add = function (name, func) {\n this.funcs.push(func);\n this.names[name] = this.funcs.length - 1;\n };\n\n Inlines.prototype.addMissing = function (func) {\n this.missing = func;\n };\n\n Inlines.prototype.compile = function (sexp, builder) {\n var value = sexp[1],\n func,\n returned,\n _func2,\n _returned;\n // 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 if (!Array.isArray(value)) return ['expr', value];\n var name = void 0;\n var params = void 0;\n var hash = void 0;\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 var index = this.names[name];\n if (index === undefined && this.missing) {\n func = this.missing;\n returned = func(name, params, hash, builder);\n\n return returned === false ? ['expr', value] : returned;\n } else if (index !== undefined) {\n _func2 = this.funcs[index];\n _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\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 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 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 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 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 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 builder.replayableIf({\n args: function () {\n var keys = hash[0],\n values = hash[1],\n i,\n key;\n\n for (i = 0; i < keys.length; i++) {\n 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 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 var names, expressions;\n\n if (hash) {\n names = hash[0], expressions = hash[1];\n\n\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\n var tag = _params[0],\n returned;\n if (typeof tag === 'string') {\n returned = builder.staticComponentHelper(_params[0], hash, template);\n\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\n var tag = _params && _params[0],\n returned;\n if (typeof tag === 'string') {\n returned = builder.staticComponentHelper(tag, hash, null);\n\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 { blocks: blocks, inlines: inlines };\n }\n\n var PLACEHOLDER_HANDLE$1 = -1;\n\n var CompilableProgram = function () {\n function CompilableProgram(compiler, layout) {\n\n this.compiler = compiler;\n this.layout = layout;\n this.compiled = null;\n }\n\n CompilableProgram.prototype.compile = function () {\n if (this.compiled !== null) return this.compiled;\n this.compiled = PLACEHOLDER_HANDLE$1;\n var statements = this.layout.block.statements;\n\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 var CompilableBlock = function () {\n function CompilableBlock(compiler, parsed) {\n\n this.compiler = compiler;\n this.parsed = parsed;\n this.compiled = null;\n }\n\n CompilableBlock.prototype.compile = function () {\n if (this.compiled !== null) return this.compiled;\n // 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 this.compiled = PLACEHOLDER_HANDLE$1;\n var _parsed = this.parsed,\n statements = _parsed.block.statements,\n containingLayout = _parsed.containingLayout;\n\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 function compile(statements, builder) {\n var sCompiler = statementCompiler(),\n i;\n for (i = 0; i < statements.length; i++) {\n sCompiler.compile(statements[i], builder);\n }\n var handle = builder.commit();\n return handle;\n }\n\n function json() {}\n\n function decodePrimitive(primitive, constants) {\n // 111\n var value = primitive >> 3;\n switch (primitive & 7) {\n case 0 /* NUMBER */:\n return value;\n case 1 /* FLOAT */:\n return constants.getNumber(value);\n case 2 /* STRING */:\n return constants.getString(value);\n case 3 /* BOOLEAN_OR_VOID */:\n switch (value) {\n case 0:\n return false;\n case 1:\n return true;\n case 2:\n return null;\n case 3:\n return undefined;\n }\n case 4 /* NEGATIVE */:\n return constants.getNumber(value);\n default:\n throw (0, _util.unreachable)();\n }\n }\n\n var StdLib = function () {\n function StdLib(main, trustingGuardedAppend, cautiousGuardedAppend) {\n\n this.main = main;\n this.trustingGuardedAppend = trustingGuardedAppend;\n this.cautiousGuardedAppend = cautiousGuardedAppend;\n }\n\n StdLib.compile = function (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 (compiler, callback) {\n return StdOpcodeBuilder.build(compiler, callback);\n };\n\n StdLib.prototype.getAppend = function (trusting) {\n return trusting ? this.trustingGuardedAppend : this.cautiousGuardedAppend;\n };\n\n return StdLib;\n }();\n\n var AbstractCompiler = function () {\n function AbstractCompiler(macros, program, resolver) {\n\n this.macros = macros;\n this.program = program;\n this.resolver = resolver;\n this.initialize();\n }\n\n AbstractCompiler.prototype.initialize = function () {\n this.stdLib = StdLib.compile(this);\n };\n\n AbstractCompiler.prototype.compileInline = function (sexp, builder) {\n var inlines = this.macros.inlines;\n\n return inlines.compile(sexp, builder);\n };\n\n AbstractCompiler.prototype.compileBlock = function (name, params, hash, template, inverse, builder) {\n var blocks = this.macros.blocks;\n\n blocks.compile(name, params, hash, template, inverse, builder);\n };\n\n AbstractCompiler.prototype.add = function (statements, containingLayout) {\n return compile(statements, this.builderFor(containingLayout), this);\n };\n\n AbstractCompiler.prototype.commit = function (scopeSize, buffer) {\n var heap = this.program.heap,\n i,\n value;\n // TODO: change the whole malloc API and do something more efficient\n var handle = heap.malloc();\n for (i = 0; i < buffer.length; i++) {\n value = buffer[i];\n\n if (typeof value === 'function') {\n heap.pushPlaceholder(value);\n } else {\n heap.push(value);\n }\n }\n heap.finishMalloc(handle, scopeSize);\n return handle;\n };\n\n AbstractCompiler.prototype.resolveLayoutForTag = function (tag, referrer) {\n var resolver = this.resolver;\n\n var handle = resolver.lookupComponentDefinition(tag, referrer);\n if (handle === null) return { handle: null, capabilities: null, compilable: null };\n return this.resolveLayoutForHandle(handle);\n };\n\n AbstractCompiler.prototype.resolveLayoutForHandle = function (handle) {\n var resolver = this.resolver;\n\n var capabilities = resolver.getCapabilities(handle);\n var compilable = null;\n if (!capabilities.dynamicLayout) {\n compilable = resolver.getLayout(handle);\n }\n return {\n handle: handle,\n capabilities: capabilities,\n compilable: compilable\n };\n };\n\n AbstractCompiler.prototype.resolveModifier = function (name, referrer) {\n return this.resolver.lookupModifier(name, referrer);\n };\n\n AbstractCompiler.prototype.resolveHelper = function (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 var WrappedBuilder = function () {\n function WrappedBuilder(compiler, layout) {\n\n this.compiler = compiler;\n this.layout = layout;\n this.compiled = null;\n var block = layout.block;\n\n var symbols = block.symbols.slice();\n // ensure ATTRS_BLOCK is always included (only once) in the list of symbols\n var attrsBlockIndex = symbols.indexOf(ATTRS_BLOCK);\n if (attrsBlockIndex === -1) {\n this.attrsBlockNumber = symbols.push(ATTRS_BLOCK);\n } else {\n this.attrsBlockNumber = attrsBlockIndex + 1;\n }\n this.symbolTable = {\n hasEval: block.hasEval,\n symbols: symbols\n };\n }\n\n WrappedBuilder.prototype.compile = function () {\n if (this.compiled !== null) return this.compiled;\n //========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 var compiler = this.compiler,\n layout = this.layout;\n\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.setComponentAttrs(true);\n b.putComponentOperations();\n b.openDynamicElement();\n b.didCreateElement(_vm.Register.s0);\n b.yield(this.attrsBlockNumber, []);\n b.setComponentAttrs(false);\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 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 = function () {\n function ComponentBuilder(builder) {\n\n this.builder = builder;\n }\n\n ComponentBuilder.prototype.static = function (handle, args) {\n var params = args[0],\n hash = args[1],\n _default = args[2],\n inverse = args[3],\n _builder$compiler$res2,\n capabilities,\n compilable;\n var builder = this.builder;\n\n if (handle !== null) {\n _builder$compiler$res2 = builder.compiler.resolveLayoutForHandle(handle), capabilities = _builder$compiler$res2.capabilities, compilable = _builder$compiler$res2.compilable;\n\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 = function () {\n function Labels() {\n\n this.labels = (0, _util.dict)();\n this.targets = [];\n }\n\n Labels.prototype.label = function (name, index) {\n this.labels[name] = index;\n };\n\n Labels.prototype.target = function (at, _target) {\n this.targets.push({ at: at, target: _target });\n };\n\n Labels.prototype.patch = function (encoder) {\n var targets = this.targets,\n labels = this.labels,\n i,\n _targets$i,\n at,\n target,\n address;\n\n for (i = 0; i < targets.length; i++) {\n _targets$i = targets[i], at = _targets$i.at, target = _targets$i.target;\n address = labels[target] - at;\n\n encoder.patch(at, address);\n }\n };\n\n return Labels;\n }();\n\n var StdOpcodeBuilder = function () {\n function StdOpcodeBuilder(compiler) {\n var size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n\n\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 (compiler, callback) {\n var builder = new StdOpcodeBuilder(compiler);\n callback(builder);\n return builder.commit();\n };\n\n StdOpcodeBuilder.prototype.push = function (name) {\n switch (arguments.length) {\n case 1:\n return this.encoder.encode(name, 0);\n case 2:\n return this.encoder.encode(name, 0, arguments[1]);\n case 3:\n return this.encoder.encode(name, 0, arguments[1], arguments[2]);\n default:\n return this.encoder.encode(name, 0, arguments[1], arguments[2], arguments[3]);\n }\n };\n\n StdOpcodeBuilder.prototype.pushMachine = function (name) {\n switch (arguments.length) {\n case 1:\n return this.encoder.encode(name, 1024 /* MACHINE_MASK */);\n case 2:\n return this.encoder.encode(name, 1024 /* MACHINE_MASK */, arguments[1]);\n case 3:\n return this.encoder.encode(name, 1024 /* MACHINE_MASK */, arguments[1], arguments[2]);\n default:\n return this.encoder.encode(name, 1024 /* MACHINE_MASK */, arguments[1], arguments[2], arguments[3]);\n }\n };\n\n StdOpcodeBuilder.prototype.commit = function () {\n this.pushMachine(24 /* Return */);\n return this.compiler.commit(this.size, this.encoder.buffer);\n };\n\n StdOpcodeBuilder.prototype.reserve = function (name) {\n this.encoder.encode(name, 0, -1);\n };\n\n StdOpcodeBuilder.prototype.reserveWithOperand = function (name, operand) {\n this.encoder.encode(name, 0, -1, operand);\n };\n\n StdOpcodeBuilder.prototype.reserveMachine = function (name) {\n this.encoder.encode(name, 1024 /* MACHINE_MASK */, -1);\n };\n\n StdOpcodeBuilder.prototype.main = function () {\n this.push(68 /* Main */, _vm.Register.s0);\n this.invokePreparedComponent(false, false, true);\n };\n\n StdOpcodeBuilder.prototype.appendHTML = function () {\n this.push(28 /* AppendHTML */);\n };\n\n StdOpcodeBuilder.prototype.appendSafeHTML = function () {\n this.push(29 /* AppendSafeHTML */);\n };\n\n StdOpcodeBuilder.prototype.appendDocumentFragment = function () {\n this.push(30 /* AppendDocumentFragment */);\n };\n\n StdOpcodeBuilder.prototype.appendNode = function () {\n this.push(31 /* AppendNode */);\n };\n\n StdOpcodeBuilder.prototype.appendText = function () {\n this.push(32 /* AppendText */);\n };\n\n StdOpcodeBuilder.prototype.beginComponentTransaction = function () {\n this.push(91 /* BeginComponentTransaction */);\n };\n\n StdOpcodeBuilder.prototype.commitComponentTransaction = function () {\n this.push(92 /* CommitComponentTransaction */);\n };\n\n StdOpcodeBuilder.prototype.pushDynamicScope = function () {\n this.push(44 /* PushDynamicScope */);\n };\n\n StdOpcodeBuilder.prototype.popDynamicScope = function () {\n this.push(45 /* PopDynamicScope */);\n };\n\n StdOpcodeBuilder.prototype.pushRemoteElement = function () {\n this.push(41 /* PushRemoteElement */);\n };\n\n StdOpcodeBuilder.prototype.popRemoteElement = function () {\n this.push(42 /* PopRemoteElement */);\n };\n\n StdOpcodeBuilder.prototype.pushRootScope = function (symbols, bindCallerScope) {\n this.push(20 /* RootScope */, symbols, bindCallerScope ? 1 : 0);\n };\n\n StdOpcodeBuilder.prototype.pushVirtualRootScope = function (register) {\n this.push(21 /* VirtualRootScope */, register);\n };\n\n StdOpcodeBuilder.prototype.pushChildScope = function () {\n this.push(22 /* ChildScope */);\n };\n\n StdOpcodeBuilder.prototype.popScope = function () {\n this.push(23 /* PopScope */);\n };\n\n StdOpcodeBuilder.prototype.prepareArgs = function (state) {\n this.push(79 /* PrepareArgs */, state);\n };\n\n StdOpcodeBuilder.prototype.createComponent = function (state, hasDefault) {\n this.push(81 /* CreateComponent */, hasDefault | 0, state);\n };\n\n StdOpcodeBuilder.prototype.registerComponentDestructor = function (state) {\n this.push(82 /* RegisterComponentDestructor */, state);\n };\n\n StdOpcodeBuilder.prototype.putComponentOperations = function () {\n this.push(83 /* PutComponentOperations */);\n };\n\n StdOpcodeBuilder.prototype.getComponentSelf = function (state) {\n this.push(84 /* GetComponentSelf */, state);\n };\n\n StdOpcodeBuilder.prototype.getComponentTagName = function (state) {\n this.push(85 /* GetComponentTagName */, state);\n };\n\n StdOpcodeBuilder.prototype.getComponentLayout = function (state) {\n this.push(86 /* GetComponentLayout */, state);\n };\n\n StdOpcodeBuilder.prototype.setupForEval = function (state) {\n this.push(87 /* SetupForEval */, state);\n };\n\n StdOpcodeBuilder.prototype.invokeComponentLayout = function (state) {\n this.push(90 /* InvokeComponentLayout */, state);\n };\n\n StdOpcodeBuilder.prototype.didCreateElement = function (state) {\n this.push(93 /* DidCreateElement */, state);\n };\n\n StdOpcodeBuilder.prototype.didRenderLayout = function (state) {\n this.push(94 /* DidRenderLayout */, state);\n };\n\n StdOpcodeBuilder.prototype.pushFrame = function () {\n this.pushMachine(57 /* PushFrame */);\n };\n\n StdOpcodeBuilder.prototype.popFrame = function () {\n this.pushMachine(58 /* PopFrame */);\n };\n\n StdOpcodeBuilder.prototype.pushSmallFrame = function () {\n this.pushMachine(59 /* PushSmallFrame */);\n };\n\n StdOpcodeBuilder.prototype.popSmallFrame = function () {\n this.pushMachine(60 /* PopSmallFrame */);\n };\n\n StdOpcodeBuilder.prototype.invokeVirtual = function () {\n this.pushMachine(49 /* InvokeVirtual */);\n };\n\n StdOpcodeBuilder.prototype.invokeYield = function () {\n this.push(51 /* InvokeYield */);\n };\n\n StdOpcodeBuilder.prototype.toBoolean = function () {\n this.push(63 /* ToBoolean */);\n };\n\n StdOpcodeBuilder.prototype.invokePreparedComponent = function (hasBlock, bindableBlocks, bindableAtNames) {\n var populateLayout = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n this.beginComponentTransaction();\n this.pushDynamicScope();\n this.createComponent(_vm.Register.s0, hasBlock);\n // this has to run after createComponent to allow\n // for late-bound layouts, but a caller is free\n // to populate the layout earlier if it wants to\n // and do nothing here.\n if (populateLayout) 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 StdOpcodeBuilder.prototype.compileInline = function (sexp) {\n return this.compiler.compileInline(sexp, this);\n };\n\n StdOpcodeBuilder.prototype.compileBlock = function (name, params, hash, template, inverse) {\n this.compiler.compileBlock(name, params, hash, template, inverse, this);\n };\n\n StdOpcodeBuilder.prototype.label = function (name) {\n this.labels.label(name, this.nextPos);\n };\n\n StdOpcodeBuilder.prototype.startLabels = function () {\n this.labelsStack.push(new Labels());\n };\n\n StdOpcodeBuilder.prototype.stopLabels = function () {\n var label = this.labelsStack.pop();\n label.patch(this.encoder);\n };\n\n StdOpcodeBuilder.prototype.pushCurriedComponent = function () {\n this.push(74 /* PushCurriedComponent */);\n };\n\n StdOpcodeBuilder.prototype.pushDynamicComponentInstance = function () {\n this.push(73 /* PushDynamicComponentInstance */);\n };\n\n StdOpcodeBuilder.prototype.openDynamicElement = function () {\n this.push(34 /* OpenDynamicElement */);\n };\n\n StdOpcodeBuilder.prototype.flushElement = function () {\n this.push(38 /* FlushElement */);\n };\n\n StdOpcodeBuilder.prototype.closeElement = function () {\n this.push(39 /* CloseElement */);\n };\n\n StdOpcodeBuilder.prototype.putIterator = function () {\n this.push(66 /* PutIterator */);\n };\n\n StdOpcodeBuilder.prototype.enterList = function (start) {\n this.reserve(64 /* EnterList */);\n this.labels.target(this.pos, start);\n };\n\n StdOpcodeBuilder.prototype.exitList = function () {\n this.push(65 /* ExitList */);\n };\n\n StdOpcodeBuilder.prototype.iterate = function (breaks) {\n this.reserve(67 /* Iterate */);\n this.labels.target(this.pos, breaks);\n };\n\n StdOpcodeBuilder.prototype.setNamedVariables = function (state) {\n this.push(2 /* SetNamedVariables */, state);\n };\n\n StdOpcodeBuilder.prototype.setBlocks = function (state) {\n this.push(3 /* SetBlocks */, state);\n };\n\n StdOpcodeBuilder.prototype.setVariable = function (symbol) {\n this.push(4 /* SetVariable */, symbol);\n };\n\n StdOpcodeBuilder.prototype.setBlock = function (symbol) {\n this.push(5 /* SetBlock */, symbol);\n };\n\n StdOpcodeBuilder.prototype.getVariable = function (symbol) {\n this.push(6 /* GetVariable */, symbol);\n };\n\n StdOpcodeBuilder.prototype.getBlock = function (symbol) {\n this.push(8 /* GetBlock */, symbol);\n };\n\n StdOpcodeBuilder.prototype.hasBlock = function (symbol) {\n this.push(9 /* HasBlock */, symbol);\n };\n\n StdOpcodeBuilder.prototype.concat = function (size) {\n this.push(11 /* Concat */, size);\n };\n\n StdOpcodeBuilder.prototype.load = function (register) {\n this.push(18 /* Load */, register);\n };\n\n StdOpcodeBuilder.prototype.fetch = function (register) {\n this.push(19 /* Fetch */, register);\n };\n\n StdOpcodeBuilder.prototype.dup = function () {\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\n return this.push(16 /* Dup */, register, offset);\n };\n\n StdOpcodeBuilder.prototype.pop = function () {\n var count = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n\n return this.push(17 /* Pop */, count);\n };\n\n StdOpcodeBuilder.prototype.returnTo = function (label) {\n this.reserveMachine(25 /* ReturnTo */);\n this.labels.target(this.pos, label);\n };\n\n StdOpcodeBuilder.prototype.primitiveReference = function () {\n this.push(14 /* PrimitiveReference */);\n };\n\n StdOpcodeBuilder.prototype.reifyU32 = function () {\n this.push(15 /* ReifyU32 */);\n };\n\n StdOpcodeBuilder.prototype.enter = function (args) {\n this.push(61 /* Enter */, args);\n };\n\n StdOpcodeBuilder.prototype.exit = function () {\n this.push(62 /* Exit */);\n };\n\n StdOpcodeBuilder.prototype.return = function () {\n this.pushMachine(24 /* Return */);\n };\n\n StdOpcodeBuilder.prototype.jump = function (target) {\n this.reserveMachine(52 /* Jump */);\n this.labels.target(this.pos, target);\n };\n\n StdOpcodeBuilder.prototype.jumpIf = function (target) {\n this.reserve(53 /* JumpIf */);\n this.labels.target(this.pos, target);\n };\n\n StdOpcodeBuilder.prototype.jumpUnless = function (target) {\n this.reserve(54 /* JumpUnless */);\n this.labels.target(this.pos, target);\n };\n\n StdOpcodeBuilder.prototype.jumpEq = function (value, target) {\n this.reserveWithOperand(55 /* JumpEq */, value);\n this.labels.target(this.pos, target);\n };\n\n StdOpcodeBuilder.prototype.assertSame = function () {\n this.push(56 /* AssertSame */);\n };\n\n StdOpcodeBuilder.prototype.pushEmptyArgs = function () {\n this.push(77 /* PushEmptyArgs */);\n };\n\n StdOpcodeBuilder.prototype.switch = function (_opcode, callback) {\n var _this = this,\n i,\n clause;\n\n // Setup the switch DSL\n var clauses = [];\n var count = 0;\n function when(match, callback) {\n clauses.push({ match: match, callback: callback, label: 'CLAUSE' + count++ });\n }\n // Call the callback\n callback(when);\n // Emit the opcodes for the switch\n this.enter(2);\n this.assertSame();\n this.reifyU32();\n this.startLabels();\n // First, emit the jump opcodes. We don't need a jump for the last\n // opcode, since it bleeds directly into its clause.\n clauses.slice(0, -1).forEach(function (clause) {\n return _this.jumpEq(clause.match, clause.label);\n });\n // Enumerate the clauses in reverse order. Earlier matches will\n // require fewer checks.\n for (i = clauses.length - 1; i >= 0; i--) {\n clause = clauses[i];\n\n this.label(clause.label);\n this.pop(2);\n clause.callback();\n // The first match is special: it is placed directly before the END\n // label, so no additional jump is needed at the end of it.\n if (i !== 0) {\n this.jump('END');\n }\n }\n this.label('END');\n this.stopLabels();\n this.exit();\n };\n\n StdOpcodeBuilder.prototype.stdAppend = function (trusting) {\n var _this2 = this;\n\n this.switch(this.contentType(), function (when) {\n when(1 /* String */, function () {\n if (trusting) {\n _this2.assertSame();\n _this2.appendHTML();\n } else {\n _this2.appendText();\n }\n });\n when(0 /* Component */, function () {\n _this2.pushCurriedComponent();\n _this2.pushDynamicComponentInstance();\n _this2.invokeBareComponent();\n });\n when(3 /* SafeString */, function () {\n _this2.assertSame();\n _this2.appendSafeHTML();\n });\n when(4 /* Fragment */, function () {\n _this2.assertSame();\n _this2.appendDocumentFragment();\n });\n when(5 /* Node */, function () {\n _this2.assertSame();\n _this2.appendNode();\n });\n });\n };\n\n StdOpcodeBuilder.prototype.populateLayout = function (state) {\n this.push(89 /* PopulateLayout */, state);\n };\n\n StdOpcodeBuilder.prototype.invokeBareComponent = function () {\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 _this3.populateLayout(_vm.Register.s0);\n });\n this.load(_vm.Register.s0);\n };\n\n StdOpcodeBuilder.prototype.isComponent = function () {\n this.push(69 /* IsComponent */);\n };\n\n StdOpcodeBuilder.prototype.contentType = function () {\n this.push(70 /* ContentType */);\n };\n\n StdOpcodeBuilder.prototype.pushBlockScope = function () {\n this.push(47 /* PushBlockScope */);\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 var OpcodeBuilder = function (_StdOpcodeBuilder) {\n (0, _emberBabel.inherits)(OpcodeBuilder, _StdOpcodeBuilder);\n\n function OpcodeBuilder(compiler, containingLayout) {\n\n var _this4 = (0, _emberBabel.possibleConstructorReturn)(this, _StdOpcodeBuilder.call(this, compiler, containingLayout ? containingLayout.block.symbols.length : 0));\n\n _this4.containingLayout = containingLayout;\n _this4.component = new ComponentBuilder(_this4);\n _this4.expressionCompiler = expressionCompiler();\n _this4.isComponentAttrs = false;\n _this4.constants = compiler.constants;\n _this4.stdLib = compiler.stdLib;\n return _this4;\n }\n /// MECHANICS\n\n\n OpcodeBuilder.prototype.setComponentAttrs = function (enabled) {\n this.isComponentAttrs = enabled;\n };\n\n OpcodeBuilder.prototype.expr = function (expression) {\n if (Array.isArray(expression)) {\n this.expressionCompiler.compile(expression, this);\n } else {\n this.pushPrimitiveReference(expression);\n }\n };\n\n OpcodeBuilder.prototype.pushArgs = function (names, flags) {\n var serialized = this.constants.stringArray(names);\n this.push(76 /* PushArgs */, serialized, flags);\n };\n\n OpcodeBuilder.prototype.pushYieldableBlock = function (block) {\n this.pushSymbolTable(block && block.symbolTable);\n this.pushBlockScope();\n this.pushBlock(block);\n };\n\n OpcodeBuilder.prototype.curryComponent = function (definition,\n /* TODO: attrs: Option<RawInlineBlock>, */params, hash, synthetic) {\n var referrer = this.containingLayout.referrer;\n this.pushFrame();\n this.compileArgs(params, hash, null, synthetic);\n this.push(80 /* CaptureArgs */);\n this.expr(definition);\n this.push(71 /* CurryComponent */, this.constants.serializable(referrer));\n this.popFrame();\n this.fetch(_vm.Register.v0);\n };\n\n OpcodeBuilder.prototype.pushSymbolTable = function (table) {\n var constant;\n\n if (table) {\n constant = this.constants.serializable(table);\n\n this.push(48 /* PushSymbolTable */, constant);\n } else {\n this.primitive(null);\n }\n };\n\n OpcodeBuilder.prototype.invokeComponent = function (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[7];\n\n this.fetch(_vm.Register.s0);\n this.dup(_vm.Register.sp, 1);\n this.load(_vm.Register.s0);\n this.pushFrame();\n\n var bindableAtNames = capabilities === true || capabilities.prepareArgs || !!(hash && hash[0].length !== 0);\n\n this.compileArgs(params, hash, { main: block, else: inverse, attrs: attrs }, synthetic);\n this.prepareArgs(_vm.Register.s0);\n this.invokePreparedComponent(block !== null, !!(block || inverse || attrs), bindableAtNames, function () {\n if (layout) {\n _this5.pushSymbolTable(layout.symbolTable);\n _this5.pushLayout(layout);\n _this5.resolveLayout();\n } else {\n _this5.getComponentLayout(_vm.Register.s0);\n }\n _this5.populateLayout(_vm.Register.s0);\n });\n this.load(_vm.Register.s0);\n };\n\n OpcodeBuilder.prototype.invokeStaticComponent = function (capabilities, layout, attrs, params, hash, synthetic, block) {\n var inverse = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : null,\n i,\n symbol,\n callerBlock,\n keys,\n values,\n lookupName,\n index,\n _i,\n _bindings$_i,\n _symbol,\n isBlock;\n var symbolTable = layout.symbolTable;\n\n var bailOut = symbolTable.hasEval || capabilities.prepareArgs;\n if (bailOut) {\n this.invokeComponent(capabilities, attrs, params, hash, synthetic, block, inverse, layout);\n return;\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(null, hash, null, synthetic);\n }\n this.beginComponentTransaction();\n if (capabilities.dynamicScope) {\n this.pushDynamicScope();\n }\n if (capabilities.createInstance) {\n this.createComponent(_vm.Register.s0, block !== null);\n }\n if (capabilities.createArgs) {\n this.popFrame();\n }\n this.pushFrame();\n this.registerComponentDestructor(_vm.Register.s0);\n var bindings = [];\n this.getComponentSelf(_vm.Register.s0);\n bindings.push({ symbol: 0, isBlock: false });\n for (i = 0; i < symbols.length; i++) {\n symbol = symbols[i];\n\n switch (symbol.charAt(0)) {\n case '&':\n 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 if (callerBlock) {\n this.pushYieldableBlock(callerBlock);\n bindings.push({ symbol: i + 1, isBlock: true });\n } else {\n this.pushYieldableBlock(null);\n bindings.push({ symbol: i + 1, isBlock: true });\n }\n break;\n case '@':\n if (!hash) {\n break;\n }\n keys = hash[0], values = hash[1];\n lookupName = symbol;\n\n if (synthetic) {\n lookupName = symbol.slice(1);\n }\n index = keys.indexOf(lookupName);\n\n if (index !== -1) {\n this.expr(values[index]);\n bindings.push({ symbol: i + 1, isBlock: false });\n }\n break;\n }\n }\n this.pushRootScope(symbols.length + 1, !!(block || inverse || attrs));\n for (_i = bindings.length - 1; _i >= 0; _i--) {\n _bindings$_i = bindings[_i], _symbol = _bindings$_i.symbol, isBlock = _bindings$_i.isBlock;\n\n\n if (isBlock) {\n this.setBlock(_symbol);\n } else {\n this.setVariable(_symbol);\n }\n }\n this.invokeStatic(layout);\n if (capabilities.createInstance) {\n this.didRenderLayout(_vm.Register.s0);\n }\n this.popFrame();\n this.popScope();\n if (capabilities.dynamicScope) {\n this.popDynamicScope();\n }\n this.commitComponentTransaction();\n this.load(_vm.Register.s0);\n };\n\n OpcodeBuilder.prototype.dynamicComponent = function (definition, attrs, params, hash, synthetic, block) {\n var _this6 = this;\n\n var inverse = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : null;\n\n this.replayable({\n args: function () {\n _this6.expr(definition);\n _this6.dup();\n return 2;\n },\n body: function () {\n _this6.jumpUnless('ELSE');\n _this6.resolveDynamicComponent(_this6.containingLayout.referrer);\n _this6.pushDynamicComponentInstance();\n _this6.invokeComponent(true, attrs, params, hash, synthetic, block, inverse);\n _this6.label('ELSE');\n }\n });\n };\n\n OpcodeBuilder.prototype.yield = function (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 OpcodeBuilder.prototype.guardedAppend = function (expression, trusting) {\n this.pushFrame();\n this.expr(expression);\n this.pushMachine(50 /* InvokeStatic */, this.stdLib.getAppend(trusting));\n this.popFrame();\n };\n\n OpcodeBuilder.prototype.invokeStaticBlock = function (block) {\n var callerCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0,\n i;\n var parameters = block.symbolTable.parameters;\n\n var calleeCount = parameters.length;\n var count = Math.min(callerCount, calleeCount);\n this.pushFrame();\n if (count) {\n this.pushChildScope();\n for (i = 0; i < count; i++) {\n this.dup(_vm.Register.fp, callerCount - i);\n this.setVariable(parameters[i]);\n }\n }\n this.pushBlock(block);\n this.resolveBlock();\n this.invokeVirtual();\n if (count) {\n this.popScope();\n }\n this.popFrame();\n };\n\n OpcodeBuilder.prototype.string = function (_string) {\n return this.constants.string(_string);\n };\n\n OpcodeBuilder.prototype.names = function (_names) {\n var names = [],\n i,\n n;\n for (i = 0; i < _names.length; i++) {\n n = _names[i];\n\n names[i] = this.constants.string(n);\n }\n return this.constants.array(names);\n };\n\n OpcodeBuilder.prototype.symbols = function (_symbols2) {\n return this.constants.array(_symbols2);\n };\n\n OpcodeBuilder.prototype.primitive = function (_primitive) {\n var type = 0 /* NUMBER */;\n var primitive = void 0;\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 /* NEGATIVE */;\n }\n } else {\n primitive = this.constants.number(_primitive);\n type = 1 /* FLOAT */;\n }\n break;\n case 'string':\n primitive = this.string(_primitive);\n type = 2 /* STRING */;\n break;\n case 'boolean':\n primitive = _primitive | 0;\n type = 3 /* BOOLEAN_OR_VOID */;\n break;\n case 'object':\n // assume null\n primitive = 2;\n type = 3 /* BOOLEAN_OR_VOID */;\n break;\n case 'undefined':\n primitive = 3;\n type = 3 /* BOOLEAN_OR_VOID */;\n break;\n default:\n throw new Error('Invalid primitive passed to pushPrimitive');\n }\n var immediate = this.sizeImmediate(primitive << 3 | type, primitive);\n this.push(13 /* Primitive */, immediate);\n };\n\n OpcodeBuilder.prototype.sizeImmediate = function (shifted, primitive) {\n if (shifted >= 65535 /* MAX_SIZE */ || shifted < 0) {\n return this.constants.number(primitive) << 3 | 5 /* BIG_NUM */;\n }\n return shifted;\n };\n\n OpcodeBuilder.prototype.pushPrimitiveReference = function (primitive) {\n this.primitive(primitive);\n this.primitiveReference();\n };\n\n OpcodeBuilder.prototype.pushComponentDefinition = function (handle) {\n this.push(72 /* PushComponentDefinition */, this.constants.handle(handle));\n };\n\n OpcodeBuilder.prototype.resolveDynamicComponent = function (referrer) {\n this.push(75 /* ResolveDynamicComponent */, this.constants.serializable(referrer));\n };\n\n OpcodeBuilder.prototype.staticComponentHelper = function (tag, hash, template) {\n var _compiler$resolveLayo = this.compiler.resolveLayoutForTag(tag, this.referrer),\n handle = _compiler$resolveLayo.handle,\n capabilities = _compiler$resolveLayo.capabilities,\n compilable = _compiler$resolveLayo.compilable,\n i;\n\n if (handle !== null && capabilities !== null) {\n if (compilable) {\n if (hash) {\n for (i = 0; i < hash.length; i = i + 2) {\n hash[i][0] = '@' + hash[i][0];\n }\n }\n this.pushComponentDefinition(handle);\n this.invokeStaticComponent(capabilities, compilable, null, null, hash, false, template && template);\n return true;\n }\n }\n return false;\n };\n\n OpcodeBuilder.prototype.invokePartial = function (referrer, symbols, evalInfo) {\n var _meta = this.constants.serializable(referrer);\n var _symbols = this.constants.stringArray(symbols);\n var _evalInfo = this.constants.array(evalInfo);\n this.push(95 /* InvokePartial */, _meta, _symbols, _evalInfo);\n };\n\n OpcodeBuilder.prototype.resolveMaybeLocal = function (name) {\n this.push(96 /* ResolveMaybeLocal */, this.string(name));\n };\n\n OpcodeBuilder.prototype.debugger = function (symbols, evalInfo) {\n this.push(97 /* Debugger */, this.constants.stringArray(symbols), this.constants.array(evalInfo));\n };\n\n OpcodeBuilder.prototype.text = function (_text) {\n this.push(26 /* Text */, this.constants.string(_text));\n };\n\n OpcodeBuilder.prototype.openPrimitiveElement = function (tag) {\n this.push(33 /* OpenElement */, this.constants.string(tag));\n };\n\n OpcodeBuilder.prototype.modifier = function (locator, params, hash) {\n this.pushFrame();\n this.compileArgs(params, hash, null, true);\n this.push(40 /* Modifier */, this.constants.handle(locator));\n this.popFrame();\n };\n\n OpcodeBuilder.prototype.comment = function (_comment) {\n var comment = this.constants.string(_comment);\n this.push(27 /* Comment */, comment);\n };\n\n OpcodeBuilder.prototype.dynamicAttr = function (_name, _namespace, trusting) {\n var name = this.constants.string(_name);\n var namespace = _namespace ? this.constants.string(_namespace) : 0;\n if (this.isComponentAttrs) {\n this.push(37 /* ComponentAttr */, name, trusting === true ? 1 : 0, namespace);\n } else {\n this.push(36 /* DynamicAttr */, name, trusting === true ? 1 : 0, namespace);\n }\n };\n\n OpcodeBuilder.prototype.staticAttr = function (_name, _namespace, _value) {\n var name = this.constants.string(_name),\n value;\n var namespace = _namespace ? this.constants.string(_namespace) : 0;\n if (this.isComponentAttrs) {\n this.pushPrimitiveReference(_value);\n this.push(37 /* ComponentAttr */, name, 1, namespace);\n } else {\n value = this.constants.string(_value);\n\n this.push(35 /* StaticAttr */, name, value, namespace);\n }\n };\n\n OpcodeBuilder.prototype.hasBlockParams = function (to) {\n this.getBlock(to);\n this.resolveBlock();\n this.push(10 /* HasBlockParams */);\n };\n\n OpcodeBuilder.prototype.getProperty = function (key) {\n this.push(7 /* GetProperty */, this.string(key));\n };\n\n OpcodeBuilder.prototype.helper = function (_helper, params, hash) {\n this.pushFrame();\n this.compileArgs(params, hash, null, true);\n this.push(1 /* Helper */, this.constants.handle(_helper));\n this.popFrame();\n this.fetch(_vm.Register.v0);\n };\n\n OpcodeBuilder.prototype.bindDynamicScope = function (_names) {\n this.push(43 /* BindDynamicScope */, this.names(_names));\n };\n\n OpcodeBuilder.prototype.replayable = function (_ref) {\n var args = _ref.args,\n body = _ref.body;\n\n // Start a new label frame, to give END and RETURN\n // a unique meaning.\n this.startLabels();\n this.pushFrame();\n // If the body invokes a block, its return will return to\n // END. Otherwise, the return in RETURN will return to END.\n this.returnTo('ENDINITIAL');\n // Push the arguments onto the stack. The args() function\n // tells us how many stack elements to retain for re-execution\n // when updating.\n var count = args();\n // Start a new updating closure, remembering `count` elements\n // from the stack. Everything after this point, and before END,\n // will execute both initially and to update the block.\n //\n // The enter and exit opcodes also track the area of the DOM\n // associated with this block. If an assertion inside the block\n // fails (for example, the test value changes from true to false\n // in an #if), the DOM is cleared and the program is re-executed,\n // restoring `count` elements to the stack and executing the\n // instructions between the enter and exit.\n this.enter(count);\n // Evaluate the body of the block. The body of the block may\n // return, which will jump execution to END during initial\n // execution, and exit the updating routine.\n body();\n // 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 this.label('FINALLY');\n // Finalize the DOM.\n this.exit();\n // In initial execution, this is a noop: it returns to the\n // immediately following opcode. In updating execution, this\n // exits the updating routine.\n this.return();\n // Cleanup code for the block. Runs on initial execution\n // but not on updating.\n this.label('ENDINITIAL');\n this.popFrame();\n this.stopLabels();\n };\n\n OpcodeBuilder.prototype.replayableIf = function (_ref2) {\n var _this7 = this;\n\n var args = _ref2.args,\n ifTrue = _ref2.ifTrue,\n ifFalse = _ref2.ifFalse;\n\n this.replayable({\n args: args,\n body: function () {\n // If the conditional is false, jump to the ELSE label.\n _this7.jumpUnless('ELSE');\n // Otherwise, execute the code associated with the true branch.\n ifTrue();\n // We're done, so return. In the initial execution, this runs\n // the cleanup code. In the updating VM, it exits the updating\n // routine.\n _this7.jump('FINALLY');\n _this7.label('ELSE');\n // If the conditional is false, and code associatied ith the\n // false branch was provided, execute it. If there was no code\n // associated with the false branch, jumping to the else statement\n // has no other behavior.\n if (ifFalse) {\n ifFalse();\n }\n }\n });\n };\n\n OpcodeBuilder.prototype.inlineBlock = function (block) {\n return new CompilableBlock(this.compiler, {\n block: block,\n containingLayout: this.containingLayout\n });\n };\n\n OpcodeBuilder.prototype.evalSymbols = function () {\n var block = this.containingLayout.block;\n\n return block.hasEval ? block.symbols : null;\n };\n\n OpcodeBuilder.prototype.compileParams = function (params) {\n var i;\n\n if (!params) return 0;\n for (i = 0; i < params.length; i++) {\n this.expr(params[i]);\n }\n return params.length;\n };\n\n OpcodeBuilder.prototype.compileArgs = function (params, hash, blocks, synthetic) {\n if (blocks) {\n this.pushYieldableBlock(blocks.main);\n this.pushYieldableBlock(blocks.else);\n this.pushYieldableBlock(blocks.attrs);\n }\n var count = this.compileParams(params),\n val,\n i;\n var flags = count << 4;\n if (synthetic) flags |= 8;\n if (blocks) {\n flags |= 7;\n }\n var names = _util.EMPTY_ARRAY;\n if (hash) {\n names = hash[0];\n val = hash[1];\n\n for (i = 0; i < val.length; i++) {\n this.expr(val[i]);\n }\n }\n this.pushArgs(names, flags);\n };\n\n OpcodeBuilder.prototype.template = function (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 var LazyOpcodeBuilder = function (_OpcodeBuilder) {\n (0, _emberBabel.inherits)(LazyOpcodeBuilder, _OpcodeBuilder);\n\n function LazyOpcodeBuilder() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _OpcodeBuilder.apply(this, arguments));\n }\n\n LazyOpcodeBuilder.prototype.pushBlock = function (block) {\n if (block) {\n this.pushOther(block);\n } else {\n this.primitive(null);\n }\n };\n\n LazyOpcodeBuilder.prototype.resolveBlock = function () {\n this.push(46 /* CompileBlock */);\n };\n\n LazyOpcodeBuilder.prototype.pushLayout = function (layout) {\n if (layout) {\n this.pushOther(layout);\n } else {\n this.primitive(null);\n }\n };\n\n LazyOpcodeBuilder.prototype.resolveLayout = function () {\n this.push(46 /* CompileBlock */);\n };\n\n LazyOpcodeBuilder.prototype.invokeStatic = function (compilable) {\n this.pushOther(compilable);\n this.push(46 /* CompileBlock */);\n this.pushMachine(49 /* InvokeVirtual */);\n };\n\n LazyOpcodeBuilder.prototype.pushOther = function (value) {\n this.push(12 /* Constant */, this.other(value));\n };\n\n LazyOpcodeBuilder.prototype.other = function (value) {\n return this.constants.other(value);\n };\n\n return LazyOpcodeBuilder;\n }(OpcodeBuilder);\n\n var EagerOpcodeBuilder = function (_OpcodeBuilder2) {\n (0, _emberBabel.inherits)(EagerOpcodeBuilder, _OpcodeBuilder2);\n\n function EagerOpcodeBuilder() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _OpcodeBuilder2.apply(this, arguments));\n }\n\n EagerOpcodeBuilder.prototype.pushBlock = function (block) {\n var handle = block ? block.compile() : null;\n this.primitive(handle);\n };\n\n EagerOpcodeBuilder.prototype.resolveBlock = function () {};\n\n EagerOpcodeBuilder.prototype.pushLayout = function (layout) {\n if (layout) {\n this.primitive(layout.compile());\n } else {\n this.primitive(null);\n }\n };\n\n EagerOpcodeBuilder.prototype.resolveLayout = function () {};\n\n EagerOpcodeBuilder.prototype.invokeStatic = function (compilable) {\n var handle = compilable.compile();\n // 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 if (handle === PLACEHOLDER_HANDLE$1) {\n this.pushMachine(50 /* InvokeStatic */, function () {\n return compilable.compile();\n });\n } else {\n this.pushMachine(50 /* InvokeStatic */, handle);\n }\n };\n\n return EagerOpcodeBuilder;\n }(OpcodeBuilder);\n\n var LazyCompiler = function (_AbstractCompiler) {\n (0, _emberBabel.inherits)(LazyCompiler, _AbstractCompiler);\n\n // FIXME: turn to static method\n function LazyCompiler(lookup, resolver, macros) {\n\n var constants = new _program.LazyConstants(resolver);\n var program = new _program.Program(constants);\n return (0, _emberBabel.possibleConstructorReturn)(this, _AbstractCompiler.call(this, macros, program, lookup));\n }\n\n LazyCompiler.prototype.builderFor = function (containingLayout) {\n return new LazyOpcodeBuilder(this, containingLayout);\n };\n\n return LazyCompiler;\n }(AbstractCompiler);\n\n var PartialDefinition = function () {\n function PartialDefinition(name, // for debugging\n template) {\n\n this.name = name;\n this.template = template;\n }\n\n PartialDefinition.prototype.getPartial = function () {\n var partial = this.template.asPartial();\n var handle = partial.compile();\n return { symbolTable: partial.symbolTable, handle: handle };\n };\n\n return PartialDefinition;\n }();\n\n var clientId = 0;\n function templateFactory(_ref3) {\n var templateId = _ref3.id,\n meta = _ref3.meta,\n block = _ref3.block;\n\n var parsedBlock = void 0;\n var id = templateId || 'client-' + clientId++;\n var create = function (compiler, envMeta) {\n var newMeta = envMeta ? (0, _util.assign)({}, envMeta, meta) : meta;\n if (!parsedBlock) {\n parsedBlock = JSON.parse(block);\n }\n return new TemplateImpl(compiler, { id: id, block: parsedBlock, referrer: newMeta });\n };\n return { id: id, meta: meta, create: create };\n }\n\n var TemplateImpl = function () {\n function TemplateImpl(compiler, parsedLayout) {\n\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\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 TemplateImpl.prototype.asLayout = function () {\n if (this.layout) return this.layout;\n return this.layout = new CompilableProgram(this.compiler, (0, _polyfills.assign)({}, this.parsedLayout, { asPartial: false }));\n };\n\n TemplateImpl.prototype.asPartial = function () {\n if (this.partial) return this.partial;\n return this.layout = new CompilableProgram(this.compiler, (0, _polyfills.assign)({}, this.parsedLayout, { asPartial: true }));\n };\n\n TemplateImpl.prototype.asWrappedLayout = function () {\n if (this.wrappedLayout) return this.wrappedLayout;\n return this.wrappedLayout = new WrappedBuilder(this.compiler, (0, _polyfills.assign)({}, this.parsedLayout, { asPartial: false }));\n };\n\n return TemplateImpl;\n }();\n\n exports.ATTRS_BLOCK = ATTRS_BLOCK;\n exports.Macros = function () {\n\n var _populateBuiltins = populateBuiltins(),\n blocks = _populateBuiltins.blocks,\n inlines = _populateBuiltins.inlines;\n\n this.blocks = blocks;\n this.inlines = inlines;\n };\n exports.LazyCompiler = LazyCompiler;\n exports.compile = compile;\n exports.AbstractCompiler = AbstractCompiler;\n exports.debugCompiler = void 0;\n exports.CompilableBlock = CompilableBlock;\n exports.CompilableProgram = CompilableProgram;\n exports.LazyOpcodeBuilder = LazyOpcodeBuilder;\n exports.EagerOpcodeBuilder = EagerOpcodeBuilder;\n exports.OpcodeBuilder = OpcodeBuilder;\n exports.StdOpcodeBuilder = StdOpcodeBuilder;\n exports.PartialDefinition = PartialDefinition;\n exports.templateFactory = templateFactory;\n exports.debug = function (pos, c, op) {\n for (_len = arguments.length, operands = Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n operands[_key - 3] = arguments[_key];\n }\n\n var metadata = null,\n _len,\n operands,\n _key;\n\n throw (0, _util.unreachable)('Missing Opcode Metadata for ' + op);\n\n var out = (0, _util.dict)();\n };\n exports.debugSlice = function () {};\n exports.logOpcode = function (type, params) {\n var out = type,\n args;\n if (params) {\n args = Object.keys(params).map(function (p) {\n return ' ' + p + '=' + json(params[p]);\n }).join('');\n\n out += args;\n }\n return '(' + out + ')';\n };\n exports.WrappedBuilder = WrappedBuilder;\n exports.PLACEHOLDER_HANDLE = -1;\n});","enifed('@glimmer/program', ['exports', 'ember-babel', '@glimmer/util'], function (exports, _emberBabel) {\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 = undefined;\n\n var UNRESOLVED = {};\n var WELL_KNOWN_EMPTY_ARRAY_POSITION = 0;\n var WELL_KNOW_EMPTY_ARRAY = Object.freeze([]);\n\n var WriteOnlyConstants = function () {\n function WriteOnlyConstants() {\n\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 WriteOnlyConstants.prototype.string = function (value) {\n var index = this.strings.indexOf(value);\n if (index > -1) {\n return index;\n }\n return this.strings.push(value) - 1;\n };\n\n WriteOnlyConstants.prototype.stringArray = function (strings) {\n var _strings = new Array(strings.length),\n i;\n for (i = 0; i < strings.length; i++) {\n _strings[i] = this.string(strings[i]);\n }\n return this.array(_strings);\n };\n\n WriteOnlyConstants.prototype.array = function (values) {\n if (values.length === 0) {\n return WELL_KNOWN_EMPTY_ARRAY_POSITION;\n }\n var index = this.arrays.indexOf(values);\n if (index > -1) {\n return index;\n }\n return this.arrays.push(values) - 1;\n };\n\n WriteOnlyConstants.prototype.handle = function (_handle) {\n var index = this.handles.indexOf(_handle);\n if (index > -1) {\n return index;\n }\n this.resolved.push(UNRESOLVED);\n return this.handles.push(_handle) - 1;\n };\n\n WriteOnlyConstants.prototype.serializable = function (value) {\n var str = JSON.stringify(value);\n var index = this.strings.indexOf(str);\n if (index > -1) {\n return index;\n }\n return this.strings.push(str) - 1;\n };\n\n WriteOnlyConstants.prototype.number = function (_number) {\n var index = this.numbers.indexOf(_number);\n if (index > -1) {\n return index;\n }\n return this.numbers.push(_number) - 1;\n };\n\n WriteOnlyConstants.prototype.toPool = function () {\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 var RuntimeConstants = function () {\n function RuntimeConstants(resolver, pool) {\n\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 RuntimeConstants.prototype.getString = function (value) {\n return this.strings[value];\n };\n\n RuntimeConstants.prototype.getNumber = function (value) {\n return this.numbers[value];\n };\n\n RuntimeConstants.prototype.getStringArray = function (value) {\n var names = this.getArray(value),\n i,\n n;\n var _names = new Array(names.length);\n for (i = 0; i < names.length; i++) {\n n = names[i];\n\n _names[i] = this.getString(n);\n }\n return _names;\n };\n\n RuntimeConstants.prototype.getArray = function (value) {\n return this.arrays[value];\n };\n\n RuntimeConstants.prototype.resolveHandle = function (index) {\n var resolved = this.resolved[index],\n handle;\n if (resolved === UNRESOLVED) {\n handle = this.handles[index];\n\n resolved = this.resolved[index] = this.resolver.resolve(handle);\n }\n return resolved;\n };\n\n RuntimeConstants.prototype.getSerializable = function (s) {\n return JSON.parse(this.strings[s]);\n };\n\n return RuntimeConstants;\n }();\n\n var Constants = function (_WriteOnlyConstants) {\n (0, _emberBabel.inherits)(Constants, _WriteOnlyConstants);\n\n function Constants(resolver, pool) {\n\n var _this = (0, _emberBabel.possibleConstructorReturn)(this, _WriteOnlyConstants.call(this));\n\n _this.resolver = resolver;\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 return _this;\n }\n\n Constants.prototype.getNumber = function (value) {\n return this.numbers[value];\n };\n\n Constants.prototype.getString = function (value) {\n return this.strings[value];\n };\n\n Constants.prototype.getStringArray = function (value) {\n var names = this.getArray(value),\n i,\n n;\n var _names = new Array(names.length);\n for (i = 0; i < names.length; i++) {\n n = names[i];\n\n _names[i] = this.getString(n);\n }\n return _names;\n };\n\n Constants.prototype.getArray = function (value) {\n return this.arrays[value];\n };\n\n Constants.prototype.resolveHandle = function (index) {\n var resolved = this.resolved[index],\n handle;\n if (resolved === UNRESOLVED) {\n handle = this.handles[index];\n\n resolved = this.resolved[index] = this.resolver.resolve(handle);\n }\n return resolved;\n };\n\n Constants.prototype.getSerializable = function (s) {\n return JSON.parse(this.strings[s]);\n };\n\n return Constants;\n }(WriteOnlyConstants);\n\n var LazyConstants = function (_Constants) {\n (0, _emberBabel.inherits)(LazyConstants, _Constants);\n\n function LazyConstants() {\n\n var _this2 = (0, _emberBabel.possibleConstructorReturn)(this, _Constants.apply(this, arguments));\n\n _this2.others = [];\n _this2.serializables = [];\n return _this2;\n }\n\n LazyConstants.prototype.serializable = function (value) {\n var index = this.serializables.indexOf(value);\n if (index > -1) {\n return index;\n }\n return this.serializables.push(value) - 1;\n };\n\n LazyConstants.prototype.getSerializable = function (s) {\n return this.serializables[s];\n };\n\n LazyConstants.prototype.getOther = function (value) {\n return this.others[value - 1];\n };\n\n LazyConstants.prototype.other = function (_other) {\n return this.others.push(_other);\n };\n\n return LazyConstants;\n }(Constants);\n\n var Opcode = function () {\n function Opcode(heap) {\n\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 /* OPERAND_LEN_MASK */) >> 8 /* ARG_SHIFT */) + 1;\n }\n }, {\n key: 'isMachine',\n get: function () {\n var rawType = this.heap.getbyaddr(this.offset);\n return rawType & 1024 /* MACHINE_MASK */;\n }\n }, {\n key: 'type',\n get: function () {\n return this.heap.getbyaddr(this.offset) & 255 /* TYPE_MASK */;\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 function encodeTableInfo(size, scopeSize, state) {\n return size | scopeSize << 16 | state << 30;\n }\n function changeState(info, newState) {\n return info | newState << 30;\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) |\n * | ... | Handle | Size | Scope Size | State |\n * | ... | 32-bits | 16b | 14b | 2b |\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 = function () {\n function Heap(serializedHeap) {\n var buffer, table, handle;\n\n\n this.placeholders = [];\n this.offset = 0;\n this.handle = 0;\n this.capacity = PAGE_SIZE;\n if (serializedHeap) {\n buffer = serializedHeap.buffer, table = serializedHeap.table, handle = serializedHeap.handle;\n\n\n this.heap = new Uint16Array(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 Uint16Array(PAGE_SIZE);\n this.table = [];\n }\n }\n\n Heap.prototype.push = function (item) {\n this.sizeCheck();\n this.heap[this.offset++] = item;\n };\n\n Heap.prototype.sizeCheck = function () {\n var heap;\n\n if (this.capacity === 0) {\n heap = slice(this.heap, 0, this.offset);\n\n this.heap = new Uint16Array(heap.length + PAGE_SIZE);\n this.heap.set(heap, 0);\n this.capacity = PAGE_SIZE;\n }\n this.capacity--;\n };\n\n Heap.prototype.getbyaddr = function (address) {\n return this.heap[address];\n };\n\n Heap.prototype.setbyaddr = function (address, value) {\n this.heap[address] = value;\n };\n\n Heap.prototype.malloc = function () {\n this.table.push(this.offset, 0);\n var handle = this.handle;\n this.handle += 2 /* ENTRY_SIZE */;\n return handle;\n };\n\n Heap.prototype.finishMalloc = function (handle, scopeSize) {\n var start = this.table[handle];\n var finish = this.offset;\n\n var info = encodeTableInfo(finish - start, scopeSize, 0 /* Allocated */);\n this.table[handle + 1 /* INFO_OFFSET */] = info;\n };\n\n Heap.prototype.size = function () {\n return this.offset;\n };\n\n Heap.prototype.getaddr = function (handle) {\n return this.table[handle];\n };\n\n Heap.prototype.gethandle = function (address) {\n this.table.push(address, encodeTableInfo(0, 0, 3 /* Pointer */));\n var handle = this.handle;\n this.handle += 2 /* ENTRY_SIZE */;\n return handle;\n };\n\n Heap.prototype.sizeof = function () {\n return -1;\n };\n\n Heap.prototype.scopesizeof = function (handle) {\n var info = this.table[handle + 1 /* INFO_OFFSET */];\n return (info & 1073676288 /* SCOPE_MASK */) >> 16;\n };\n\n Heap.prototype.free = function (handle) {\n var info = this.table[handle + 1 /* INFO_OFFSET */];\n this.table[handle + 1 /* INFO_OFFSET */] = changeState(info, 1 /* Freed */);\n };\n\n Heap.prototype.compact = function () {\n var compactedSize = 0,\n i,\n offset,\n info,\n size /* SIZE_MASK */,\n state,\n j;\n var table = this.table,\n length = this.table.length,\n heap = this.heap;\n\n for (i = 0; i < length; i += 2 /* ENTRY_SIZE */) {\n offset = table[i];\n info = table[i + 1 /* INFO_OFFSET */];\n size = info & 65535;\n state = info & 3221225472 /* STATE_MASK */ >> 30;\n\n if (state === 2 /* Purged */) {\n continue;\n } else if (state === 1 /* Freed */) {\n // transition to \"already freed\" aka \"purged\"\n // a good improvement would be to reuse\n // these slots\n table[i + 1 /* INFO_OFFSET */] = changeState(info, 2 /* Purged */);\n compactedSize += size;\n } else if (state === 0 /* Allocated */) {\n for (j = offset; j <= i + size; j++) {\n heap[j - compactedSize] = heap[j];\n }\n table[i] = offset - compactedSize;\n } else if (state === 3 /* Pointer */) {\n table[i] = offset - compactedSize;\n }\n }\n this.offset = this.offset - compactedSize;\n };\n\n Heap.prototype.pushPlaceholder = function (valueFunc) {\n this.sizeCheck();\n var address = this.offset++;\n this.heap[address] = 65535 /* MAX_SIZE */;\n this.placeholders.push([address, valueFunc]);\n };\n\n Heap.prototype.patchPlaceholders = function () {\n var placeholders = this.placeholders,\n i,\n _placeholders$i,\n address,\n getValue;\n\n for (i = 0; i < placeholders.length; i++) {\n _placeholders$i = placeholders[i], address = _placeholders$i[0], getValue = _placeholders$i[1];\n\n\n this.setbyaddr(address, getValue());\n }\n };\n\n Heap.prototype.capture = function () {\n var offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.offset;\n\n this.patchPlaceholders();\n // Only called in eager mode\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 var WriteOnlyProgram = 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\n\n this.constants = constants;\n this.heap = heap;\n this._opcode = new Opcode(this.heap);\n }\n\n WriteOnlyProgram.prototype.opcode = function (offset) {\n this._opcode.offset = offset;\n return this._opcode;\n };\n\n return WriteOnlyProgram;\n }();\n\n var RuntimeProgram = function () {\n function RuntimeProgram(constants, heap) {\n\n this.constants = constants;\n this.heap = heap;\n this._opcode = new Opcode(this.heap);\n }\n\n RuntimeProgram.hydrate = function (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 RuntimeProgram.prototype.opcode = function (offset) {\n this._opcode.offset = offset;\n return this._opcode;\n };\n\n return RuntimeProgram;\n }();\n\n var Program = function (_WriteOnlyProgram) {\n (0, _emberBabel.inherits)(Program, _WriteOnlyProgram);\n\n function Program() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _WriteOnlyProgram.apply(this, arguments));\n }\n\n return Program;\n }(WriteOnlyProgram);\n\n function slice(arr, start, end) {\n if (arr.slice !== undefined) {\n return arr.slice(start, end);\n }\n var ret = new Uint16Array(end);\n for (; start < end; start++) {\n ret[start] = arr[start];\n }\n return ret;\n }\n\n exports.WELL_KNOWN_EMPTY_ARRAY_POSITION = WELL_KNOWN_EMPTY_ARRAY_POSITION;\n exports.WriteOnlyConstants = WriteOnlyConstants;\n exports.RuntimeConstants = RuntimeConstants;\n exports.Constants = Constants;\n exports.LazyConstants = LazyConstants;\n exports.Heap = Heap;\n exports.WriteOnlyProgram = WriteOnlyProgram;\n exports.RuntimeProgram = RuntimeProgram;\n exports.Program = Program;\n exports.Opcode = Opcode;\n});","enifed('@glimmer/reference', ['exports', 'ember-babel', '@glimmer/util'], function (exports, _emberBabel, _util) {\n 'use strict';\n\n exports.isModified = exports.ReferenceCache = exports.map = exports.CachedReference = exports.UpdatableTag = exports.CachedTag = exports.combine = exports.combineSlice = exports.combineTagged = exports.DirtyableTag = exports.bump = exports.isConstTag = exports.isConst = 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 = undefined;\n\n var CONSTANT = 0;\n var INITIAL = 1;\n var VOLATILE = NaN;\n\n var RevisionTag = function () {\n function RevisionTag() {}\n\n RevisionTag.prototype.validate = function (snapshot) {\n return this.value() === snapshot;\n };\n\n return RevisionTag;\n }();\n\n RevisionTag.id = 0;\n var VALUE = [];\n var VALIDATE = [];\n\n var TagWrapper = function () {\n function TagWrapper(type, inner) {\n\n this.type = type;\n this.inner = inner;\n }\n\n TagWrapper.prototype.value = function () {\n var func = VALUE[this.type];\n return func(this.inner);\n };\n\n TagWrapper.prototype.validate = function (snapshot) {\n var func = VALIDATE[this.type];\n return func(this.inner, snapshot);\n };\n\n return TagWrapper;\n }();\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 ///\n // CONSTANT: 0\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);\n // VOLATILE: 1\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);\n // CURRENT: 2\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\n ///\n var $REVISION = INITIAL;\n function bump() {\n $REVISION++;\n }\n\n var DirtyableTag = function (_RevisionTag) {\n (0, _emberBabel.inherits)(DirtyableTag, _RevisionTag);\n\n DirtyableTag.create = function () {\n var revision = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : $REVISION;\n\n return new TagWrapper(this.id, new DirtyableTag(revision));\n };\n\n function DirtyableTag() {\n var revision = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : $REVISION;\n\n\n var _this = (0, _emberBabel.possibleConstructorReturn)(this, _RevisionTag.call(this));\n\n _this.revision = revision;\n return _this;\n }\n\n DirtyableTag.prototype.value = function () {\n return this.revision;\n };\n\n DirtyableTag.prototype.dirty = function () {\n this.revision = ++$REVISION;\n };\n\n return DirtyableTag;\n }(RevisionTag);\n\n register(DirtyableTag);\n\n function _combine(tags) {\n switch (tags.length) {\n case 0:\n return CONSTANT_TAG;\n case 1:\n return tags[0];\n case 2:\n return TagsPair.create(tags[0], tags[1]);\n default:\n return TagsCombinator.create(tags);\n }\n }\n\n var CachedTag = function (_RevisionTag2) {\n (0, _emberBabel.inherits)(CachedTag, _RevisionTag2);\n\n function CachedTag() {\n\n var _this2 = (0, _emberBabel.possibleConstructorReturn)(this, _RevisionTag2.apply(this, arguments));\n\n _this2.lastChecked = null;\n _this2.lastValue = null;\n return _this2;\n }\n\n CachedTag.prototype.value = function () {\n var lastChecked = this.lastChecked,\n lastValue = this.lastValue;\n\n if (lastChecked !== $REVISION) {\n this.lastChecked = $REVISION;\n this.lastValue = lastValue = this.compute();\n }\n return this.lastValue;\n };\n\n CachedTag.prototype.invalidate = function () {\n this.lastChecked = null;\n };\n\n return CachedTag;\n }(RevisionTag);\n\n var TagsPair = function (_CachedTag) {\n (0, _emberBabel.inherits)(TagsPair, _CachedTag);\n\n TagsPair.create = function (first, second) {\n return new TagWrapper(this.id, new TagsPair(first, second));\n };\n\n function TagsPair(first, second) {\n\n var _this3 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedTag.call(this));\n\n _this3.first = first;\n _this3.second = second;\n return _this3;\n }\n\n TagsPair.prototype.compute = function () {\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 = function (_CachedTag2) {\n (0, _emberBabel.inherits)(TagsCombinator, _CachedTag2);\n\n TagsCombinator.create = function (tags) {\n return new TagWrapper(this.id, new TagsCombinator(tags));\n };\n\n function TagsCombinator(tags) {\n\n var _this4 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedTag2.call(this));\n\n _this4.tags = tags;\n return _this4;\n }\n\n TagsCombinator.prototype.compute = function () {\n var tags = this.tags,\n i,\n value;\n\n var max = -1;\n for (i = 0; i < tags.length; i++) {\n value = tags[i].value();\n\n max = Math.max(value, max);\n }\n return max;\n };\n\n return TagsCombinator;\n }(CachedTag);\n\n register(TagsCombinator);\n\n var UpdatableTag = function (_CachedTag3) {\n (0, _emberBabel.inherits)(UpdatableTag, _CachedTag3);\n\n UpdatableTag.create = function (tag) {\n return new TagWrapper(this.id, new UpdatableTag(tag));\n };\n\n function UpdatableTag(tag) {\n\n var _this5 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedTag3.call(this));\n\n _this5.tag = tag;\n _this5.lastUpdated = INITIAL;\n return _this5;\n }\n\n UpdatableTag.prototype.compute = function () {\n return Math.max(this.lastUpdated, this.tag.value());\n };\n\n UpdatableTag.prototype.update = function (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 register(UpdatableTag);\n\n var CachedReference = function () {\n function CachedReference() {\n\n this.lastRevision = null;\n this.lastValue = null;\n }\n\n CachedReference.prototype.value = function () {\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 return lastValue;\n };\n\n CachedReference.prototype.invalidate = function () {\n this.lastRevision = null;\n };\n\n return CachedReference;\n }();\n\n var MapperReference = function (_CachedReference) {\n (0, _emberBabel.inherits)(MapperReference, _CachedReference);\n\n function MapperReference(reference, mapper) {\n\n var _this6 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference.call(this));\n\n _this6.tag = reference.tag;\n _this6.reference = reference;\n _this6.mapper = mapper;\n return _this6;\n }\n\n MapperReference.prototype.compute = function () {\n var reference = this.reference,\n mapper = this.mapper;\n\n return mapper(reference.value());\n };\n\n return MapperReference;\n }(CachedReference);\n\n //////////\n\n var ReferenceCache = function () {\n function ReferenceCache(reference) {\n\n this.lastValue = null;\n this.lastRevision = null;\n this.initialized = false;\n this.tag = reference.tag;\n this.reference = reference;\n }\n\n ReferenceCache.prototype.peek = function () {\n if (!this.initialized) {\n return this.initialize();\n }\n return this.lastValue;\n };\n\n ReferenceCache.prototype.revalidate = function () {\n if (!this.initialized) {\n return this.initialize();\n }\n var reference = this.reference,\n lastRevision = this.lastRevision;\n\n var tag = reference.tag;\n if (tag.validate(lastRevision)) return NOT_MODIFIED;\n this.lastRevision = tag.value();\n var lastValue = this.lastValue;\n\n var value = reference.value();\n if (value === lastValue) return NOT_MODIFIED;\n this.lastValue = value;\n return value;\n };\n\n ReferenceCache.prototype.initialize = function () {\n var reference = this.reference;\n\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 var NOT_MODIFIED = 'adb3b78e-3d22-4e4b-877a-6317c2c5c145';\n\n\n var ConstReference = function () {\n function ConstReference(inner) {\n\n this.inner = inner;\n this.tag = CONSTANT_TAG;\n }\n\n ConstReference.prototype.value = function () {\n return this.inner;\n };\n\n return ConstReference;\n }();\n\n var ListItem = function (_ListNode) {\n (0, _emberBabel.inherits)(ListItem, _ListNode);\n\n function ListItem(iterable, result) {\n\n var _this7 = (0, _emberBabel.possibleConstructorReturn)(this, _ListNode.call(this, iterable.valueReferenceFor(result)));\n\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 ListItem.prototype.update = function (item) {\n this.retained = true;\n this.iterable.updateValueReference(this.value, item);\n this.iterable.updateMemoReference(this.memo, item);\n };\n\n ListItem.prototype.shouldRemove = function () {\n return !this.retained;\n };\n\n ListItem.prototype.reset = function () {\n this.retained = false;\n this.seen = false;\n };\n\n return ListItem;\n }(_util.ListNode);\n\n var IterationArtifacts = function () {\n function IterationArtifacts(iterable) {\n\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 IterationArtifacts.prototype.isEmpty = function () {\n var iterator = this.iterator = this.iterable.iterate();\n return iterator.isEmpty();\n };\n\n IterationArtifacts.prototype.iterate = function () {\n var iterator = void 0;\n if (this.iterator === null) {\n iterator = this.iterable.iterate();\n } else {\n iterator = this.iterator;\n }\n this.iterator = null;\n return iterator;\n };\n\n IterationArtifacts.prototype.has = function (key) {\n return !!this.map[key];\n };\n\n IterationArtifacts.prototype.get = function (key) {\n return this.map[key];\n };\n\n IterationArtifacts.prototype.wasSeen = function (key) {\n var node = this.map[key];\n return node !== undefined && node.seen;\n };\n\n IterationArtifacts.prototype.append = function (item) {\n var map = this.map,\n list = this.list,\n iterable = this.iterable;\n\n var node = map[item.key] = new ListItem(iterable, item);\n list.append(node);\n return node;\n };\n\n IterationArtifacts.prototype.insertBefore = function (item, reference) {\n var map = this.map,\n list = this.list,\n iterable = this.iterable;\n\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 IterationArtifacts.prototype.move = function (item, reference) {\n var list = this.list;\n\n item.retained = true;\n list.remove(item);\n list.insertBefore(item, reference);\n };\n\n IterationArtifacts.prototype.remove = function (item) {\n var list = this.list;\n\n list.remove(item);\n delete this.map[item.key];\n };\n\n IterationArtifacts.prototype.nextNode = function (item) {\n return this.list.nextNode(item);\n };\n\n IterationArtifacts.prototype.head = function () {\n return this.list.head();\n };\n\n return IterationArtifacts;\n }();\n\n var ReferenceIterator = function () {\n // if anyone needs to construct this object with something other than\n // an iterable, let @wycats know.\n function ReferenceIterator(iterable) {\n\n this.iterator = null;\n var artifacts = new IterationArtifacts(iterable);\n this.artifacts = artifacts;\n }\n\n ReferenceIterator.prototype.next = function () {\n var artifacts = this.artifacts;\n\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 var Phase;\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 = function () {\n function IteratorSynchronizer(_ref2) {\n var target = _ref2.target,\n artifacts = _ref2.artifacts;\n\n\n this.target = target;\n this.artifacts = artifacts;\n this.iterator = artifacts.iterate();\n this.current = artifacts.head();\n }\n\n IteratorSynchronizer.prototype.sync = function () {\n var phase = Phase.Append;\n while (true) {\n switch (phase) {\n case Phase.Append:\n phase = this.nextAppend();\n break;\n case Phase.Prune:\n phase = this.nextPrune();\n break;\n case Phase.Done:\n this.nextDone();\n return;\n }\n }\n };\n\n IteratorSynchronizer.prototype.advanceToKey = function (key) {\n var current = this.current,\n artifacts = this.artifacts;\n\n var seek = current;\n while (seek !== null && seek.key !== key) {\n seek.seen = true;\n seek = artifacts.nextNode(seek);\n }\n if (seek !== null) {\n this.current = artifacts.nextNode(seek);\n }\n };\n\n IteratorSynchronizer.prototype.nextAppend = function () {\n var iterator = this.iterator,\n current = this.current,\n artifacts = this.artifacts;\n\n var item = iterator.next();\n if (item === null) {\n return this.startPrune();\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 return Phase.Append;\n };\n\n IteratorSynchronizer.prototype.nextRetain = function (item) {\n var artifacts = this.artifacts,\n current = this.current;\n\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 IteratorSynchronizer.prototype.nextMove = function (item) {\n var current = this.current,\n artifacts = this.artifacts,\n target = this.target;\n var key = item.key;\n\n var found = artifacts.get(item.key);\n found.update(item);\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 IteratorSynchronizer.prototype.nextInsert = function (item) {\n var artifacts = this.artifacts,\n target = this.target,\n current = this.current;\n\n var node = artifacts.insertBefore(item, current);\n target.insert(node.key, node.value, node.memo, current ? current.key : null);\n };\n\n IteratorSynchronizer.prototype.startPrune = function () {\n this.current = this.artifacts.head();\n return Phase.Prune;\n };\n\n IteratorSynchronizer.prototype.nextPrune = function () {\n var artifacts = this.artifacts,\n target = this.target,\n current = this.current;\n\n if (current === null) {\n return Phase.Done;\n }\n var node = current;\n this.current = artifacts.nextNode(node);\n if (node.shouldRemove()) {\n artifacts.remove(node);\n target.delete(node.key);\n } else {\n node.reset();\n }\n return Phase.Prune;\n };\n\n IteratorSynchronizer.prototype.nextDone = function () {\n this.target.done();\n };\n\n return IteratorSynchronizer;\n }();\n\n exports.ConstReference = ConstReference;\n exports.ListItem = ListItem;\n exports.IterationArtifacts = IterationArtifacts;\n exports.ReferenceIterator = ReferenceIterator;\n exports.IteratorSynchronizer = IteratorSynchronizer;\n exports.CONSTANT = CONSTANT;\n exports.INITIAL = INITIAL;\n exports.VOLATILE = VOLATILE;\n exports.RevisionTag = RevisionTag;\n exports.TagWrapper = TagWrapper;\n exports.CONSTANT_TAG = CONSTANT_TAG;\n exports.VOLATILE_TAG = VOLATILE_TAG;\n exports.CURRENT_TAG = CURRENT_TAG;\n exports.isConst = function (_ref) {\n var tag = _ref.tag;\n\n return tag === CONSTANT_TAG;\n };\n exports.isConstTag = function (tag) {\n return tag === CONSTANT_TAG;\n };\n exports.bump = bump;\n exports.DirtyableTag = DirtyableTag;\n exports.combineTagged = function (tagged) {\n var optimized = [],\n i,\n l,\n tag;\n for (i = 0, l = tagged.length; i < l; i++) {\n tag = tagged[i].tag;\n\n if (tag === VOLATILE_TAG) return VOLATILE_TAG;\n if (tag === CONSTANT_TAG) continue;\n optimized.push(tag);\n }\n return _combine(optimized);\n };\n exports.combineSlice = function (slice) {\n var optimized = [],\n tag;\n var node = slice.head();\n while (node !== null) {\n tag = node.tag;\n\n if (tag === VOLATILE_TAG) return VOLATILE_TAG;\n if (tag !== CONSTANT_TAG) optimized.push(tag);\n node = slice.nextNode(node);\n }\n return _combine(optimized);\n };\n exports.combine = function (tags) {\n var optimized = [],\n i,\n l,\n tag;\n for (i = 0, l = tags.length; i < l; i++) {\n tag = tags[i];\n\n if (tag === VOLATILE_TAG) return VOLATILE_TAG;\n if (tag === CONSTANT_TAG) continue;\n optimized.push(tag);\n }\n return _combine(optimized);\n };\n exports.CachedTag = CachedTag;\n exports.UpdatableTag = UpdatableTag;\n exports.CachedReference = CachedReference;\n exports.map = function (reference, mapper) {\n return new MapperReference(reference, mapper);\n };\n exports.ReferenceCache = ReferenceCache;\n exports.isModified = function (value) {\n return value !== NOT_MODIFIED;\n };\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.hasCapability = exports.capabilityFlagsFrom = exports.Cursor = exports.ConcreteBounds = exports.RehydrateBuilder = exports.rehydrationBuilder = exports.clientBuilder = exports.NewElementBuilder = exports.normalizeProperty = exports.insertHTMLBefore = exports.isWhitespace = exports.DOMTreeConstruction = exports.IDOMChanges = exports.SVG_NAMESPACE = exports.DOMChanges = exports.curry = exports.isCurriedComponentDefinition = 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.getDynamicVar = exports.resetDebuggerCallback = exports.setDebuggerCallback = exports.ConditionalReference = exports.PrimitiveReference = exports.UNDEFINED_REFERENCE = exports.NULL_REFERENCE = exports.renderMain = undefined;\n\n var AppendOpcodes = function () {\n function AppendOpcodes() {\n\n this.evaluateOpcode = (0, _util.fillNulls)(98 /* Size */).slice();\n }\n\n AppendOpcodes.prototype.add = function (name, evaluate) {\n var kind = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'syscall';\n\n this.evaluateOpcode[name] = { syscall: kind === 'syscall', evaluate: evaluate };\n };\n\n AppendOpcodes.prototype.debugBefore = function () {\n\n return { sp: void 0, state: void 0 };\n };\n\n AppendOpcodes.prototype.debugAfter = function (vm, opcode, type, pre) {\n var sp = pre.sp,\n state = pre.state;\n };\n\n AppendOpcodes.prototype.evaluate = function (vm, opcode, type) {\n var operation = this.evaluateOpcode[type];\n if (operation.syscall) {\n\n operation.evaluate(vm, opcode);\n } else {\n\n operation.evaluate(vm.inner, opcode);\n }\n };\n\n return AppendOpcodes;\n }();\n\n var APPEND_OPCODES = new AppendOpcodes();\n\n var UpdatingOpcode = function (_AbstractOpcode) {\n (0, _emberBabel.inherits)(UpdatingOpcode, _AbstractOpcode);\n\n function UpdatingOpcode() {\n\n var _this = (0, _emberBabel.possibleConstructorReturn)(this, _AbstractOpcode.apply(this, arguments));\n\n _this.next = null;\n _this.prev = null;\n return _this;\n }\n\n return UpdatingOpcode;\n }(function () {\n\n (0, _util.initializeGuid)(this);\n });\n\n var PrimitiveReference = function (_ConstReference) {\n (0, _emberBabel.inherits)(PrimitiveReference, _ConstReference);\n\n function PrimitiveReference(value) {\n return (0, _emberBabel.possibleConstructorReturn)(this, _ConstReference.call(this, value));\n }\n\n PrimitiveReference.create = function (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 PrimitiveReference.prototype.get = function () {\n return UNDEFINED_REFERENCE;\n };\n\n return PrimitiveReference;\n }(_reference.ConstReference);\n\n var StringReference = function (_PrimitiveReference) {\n (0, _emberBabel.inherits)(StringReference, _PrimitiveReference);\n\n function StringReference() {\n\n var _this3 = (0, _emberBabel.possibleConstructorReturn)(this, _PrimitiveReference.apply(this, arguments));\n\n _this3.lengthReference = null;\n return _this3;\n }\n\n StringReference.prototype.get = function (key) {\n var lengthReference;\n\n if (key === 'length') {\n lengthReference = this.lengthReference;\n\n\n if (lengthReference === null) {\n lengthReference = this.lengthReference = new ValueReference(this.inner.length);\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 = function (_PrimitiveReference2) {\n (0, _emberBabel.inherits)(ValueReference, _PrimitiveReference2);\n\n function ValueReference(value) {\n return (0, _emberBabel.possibleConstructorReturn)(this, _PrimitiveReference2.call(this, value));\n }\n\n return ValueReference;\n }(PrimitiveReference);\n\n var UNDEFINED_REFERENCE = new ValueReference(undefined);\n var NULL_REFERENCE = new ValueReference(null);\n var TRUE_REFERENCE = new ValueReference(true);\n var FALSE_REFERENCE = new ValueReference(false);\n\n var ConditionalReference = function () {\n function ConditionalReference(inner) {\n\n this.inner = inner;\n this.tag = inner.tag;\n }\n\n ConditionalReference.prototype.value = function () {\n return this.toBool(this.inner.value());\n };\n\n ConditionalReference.prototype.toBool = function (value) {\n return !!value;\n };\n\n return ConditionalReference;\n }();\n\n var ConcatReference = function (_CachedReference) {\n (0, _emberBabel.inherits)(ConcatReference, _CachedReference);\n\n function ConcatReference(parts) {\n\n var _this5 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference.call(this));\n\n _this5.parts = parts;\n _this5.tag = (0, _reference.combineTagged)(parts);\n return _this5;\n }\n\n ConcatReference.prototype.compute = function () {\n var parts = new Array(),\n i,\n value;\n for (i = 0; i < this.parts.length; i++) {\n value = this.parts[i].value();\n\n if (value !== null && value !== undefined) {\n parts[i] = castToString(value);\n }\n }\n if (parts.length > 0) {\n return parts.join('');\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 return String(value);\n }\n\n APPEND_OPCODES.add(1 /* Helper */, function (vm, _ref) {\n var handle = _ref.op1;\n\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 /* GetVariable */, function (vm, _ref2) {\n var symbol = _ref2.op1;\n\n var expr = vm.referenceForSymbol(symbol);\n vm.stack.push(expr);\n });\n APPEND_OPCODES.add(4 /* SetVariable */, function (vm, _ref3) {\n var symbol = _ref3.op1;\n\n var expr = vm.stack.pop();\n vm.scope().bindSymbol(symbol, expr);\n });\n APPEND_OPCODES.add(5 /* SetBlock */, function (vm, _ref4) {\n var symbol = _ref4.op1;\n\n var handle = vm.stack.pop();\n var scope = vm.stack.pop(); // FIXME(mmun): shouldn't need to cast this\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 /* ResolveMaybeLocal */, function (vm, _ref5) {\n var _name = _ref5.op1;\n\n var name = vm.constants.getString(_name);\n var locals = vm.scope().getPartialMap();\n var ref = locals[name];\n if (ref === undefined) {\n ref = vm.getSelf().get(name);\n }\n vm.stack.push(ref);\n });\n APPEND_OPCODES.add(20 /* RootScope */, function (vm, _ref6) {\n var symbols = _ref6.op1,\n bindCallerScope = _ref6.op2;\n\n vm.pushRootScope(symbols, !!bindCallerScope);\n });\n APPEND_OPCODES.add(7 /* GetProperty */, function (vm, _ref7) {\n var _key = _ref7.op1;\n\n var key = vm.constants.getString(_key);\n var expr = vm.stack.pop();\n vm.stack.push(expr.get(key));\n });\n APPEND_OPCODES.add(8 /* GetBlock */, function (vm, _ref8) {\n var _block = _ref8.op1;\n var stack = vm.stack;\n\n var block = vm.scope().getBlock(_block);\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 /* HasBlock */, function (vm, _ref9) {\n var _block = _ref9.op1;\n\n var hasBlock = !!vm.scope().getBlock(_block);\n vm.stack.push(hasBlock ? TRUE_REFERENCE : FALSE_REFERENCE);\n });\n APPEND_OPCODES.add(10 /* HasBlockParams */, function (vm) {\n // FIXME(mmun): should only need to push the symbol table\n vm.stack.pop();\n vm.stack.pop();\n\n\n var table = vm.stack.pop();\n\n var hasBlockParams = table && table.parameters.length;\n vm.stack.push(hasBlockParams ? TRUE_REFERENCE : FALSE_REFERENCE);\n });\n APPEND_OPCODES.add(11 /* Concat */, function (vm, _ref10) {\n var count = _ref10.op1,\n i,\n offset;\n\n var out = new Array(count);\n for (i = count; i > 0; i--) {\n offset = i - 1;\n\n out[offset] = vm.stack.pop();\n }\n vm.stack.push(new ConcatReference(out));\n });\n\n var CURRIED_COMPONENT_DEFINITION_BRAND = 'CURRIED COMPONENT DEFINITION [id=6f00feb9-a0ef-4547-99ea-ac328f80acea]';\n function isCurriedComponentDefinition(definition) {\n return !!(definition && definition[CURRIED_COMPONENT_DEFINITION_BRAND]);\n }\n function isComponentDefinition(definition) {\n return definition && definition[CURRIED_COMPONENT_DEFINITION_BRAND];\n }\n\n var CurriedComponentDefinition = function () {\n /** @internal */\n function CurriedComponentDefinition(inner, args) {\n\n this.inner = inner;\n this.args = args;\n this[CURRIED_COMPONENT_DEFINITION_BRAND] = true;\n }\n\n CurriedComponentDefinition.prototype.unwrap = function (args) {\n args.realloc(this.offset);\n var definition = this,\n _definition,\n curriedArgs,\n inner;\n while (true) {\n _definition = definition, curriedArgs = _definition.args, inner = _definition.inner;\n\n\n if (curriedArgs) {\n args.positional.prepend(curriedArgs.positional);\n args.named.merge(curriedArgs.named);\n }\n if (!isCurriedComponentDefinition(inner)) {\n return inner;\n }\n definition = inner;\n }\n };\n\n (0, _emberBabel.createClass)(CurriedComponentDefinition, [{\n key: 'offset',\n get: function () {\n var inner = this.inner,\n args = this.args;\n\n var length = args ? args.positional.length : 0;\n return isCurriedComponentDefinition(inner) ? length + inner.offset : length;\n }\n }]);\n return CurriedComponentDefinition;\n }();\n\n function normalizeStringValue(value) {\n if (isEmpty(value)) {\n return '';\n }\n return String(value);\n }\n function shouldCoerce(value) {\n return isString(value) || isEmpty(value) || typeof value === 'boolean' || typeof value === 'number';\n }\n function isEmpty(value) {\n return value === null || value === undefined || typeof value.toString !== 'function';\n }\n function isSafeString(value) {\n return typeof value === 'object' && value !== null && typeof value.toHTML === 'function';\n }\n function isNode(value) {\n return typeof value === 'object' && value !== null && typeof value.nodeType === 'number';\n }\n function isFragment(value) {\n return isNode(value) && value.nodeType === 11;\n }\n function isString(value) {\n return typeof value === 'string';\n }\n\n var DynamicTextContent = function (_UpdatingOpcode) {\n (0, _emberBabel.inherits)(DynamicTextContent, _UpdatingOpcode);\n\n function DynamicTextContent(node, reference, lastValue) {\n\n var _this6 = (0, _emberBabel.possibleConstructorReturn)(this, _UpdatingOpcode.call(this));\n\n _this6.node = node;\n _this6.reference = reference;\n _this6.lastValue = lastValue;\n _this6.type = 'dynamic-text';\n _this6.tag = reference.tag;\n _this6.lastRevision = _this6.tag.value();\n return _this6;\n }\n\n DynamicTextContent.prototype.evaluate = function () {\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 DynamicTextContent.prototype.update = function (value) {\n var lastValue = this.lastValue,\n textNode;\n\n if (value === lastValue) return;\n var normalized = void 0;\n if (isEmpty(value)) {\n normalized = '';\n } else if (isString(value)) {\n normalized = value;\n } else {\n normalized = String(value);\n }\n if (normalized !== lastValue) {\n textNode = this.node;\n\n textNode.nodeValue = this.lastValue = normalized;\n }\n };\n\n return DynamicTextContent;\n }(UpdatingOpcode);\n\n var IsCurriedComponentDefinitionReference = function (_ConditionalReference) {\n (0, _emberBabel.inherits)(IsCurriedComponentDefinitionReference, _ConditionalReference);\n\n function IsCurriedComponentDefinitionReference() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _ConditionalReference.apply(this, arguments));\n }\n\n IsCurriedComponentDefinitionReference.create = function (inner) {\n return new IsCurriedComponentDefinitionReference(inner);\n };\n\n IsCurriedComponentDefinitionReference.prototype.toBool = function (value) {\n return isCurriedComponentDefinition(value);\n };\n\n return IsCurriedComponentDefinitionReference;\n }(ConditionalReference);\n\n var ContentTypeReference = function () {\n function ContentTypeReference(inner) {\n\n this.inner = inner;\n this.tag = inner.tag;\n }\n\n ContentTypeReference.prototype.value = function () {\n var value = this.inner.value();\n if (shouldCoerce(value)) {\n return 1 /* String */;\n } else if (isComponentDefinition(value)) {\n return 0 /* Component */;\n } else if (isSafeString(value)) {\n return 3 /* SafeString */;\n } else if (isFragment(value)) {\n return 4 /* Fragment */;\n } else if (isNode(value)) {\n return 5 /* Node */;\n } else {\n return 1 /* String */;\n }\n };\n\n return ContentTypeReference;\n }();\n\n APPEND_OPCODES.add(28 /* AppendHTML */, 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 /* AppendSafeHTML */, 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 /* AppendText */, 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 if (!(0, _reference.isConst)(reference)) {\n vm.updateWith(new DynamicTextContent(node, reference, value));\n }\n });\n APPEND_OPCODES.add(30 /* AppendDocumentFragment */, function (vm) {\n var reference = vm.stack.pop();\n var value = reference.value();\n vm.elements().appendDynamicFragment(value);\n });\n APPEND_OPCODES.add(31 /* AppendNode */, function (vm) {\n var reference = vm.stack.pop();\n var value = reference.value();\n vm.elements().appendDynamicNode(value);\n });\n\n APPEND_OPCODES.add(22 /* ChildScope */, function (vm) {\n return vm.pushChildScope();\n });\n APPEND_OPCODES.add(23 /* PopScope */, function (vm) {\n return vm.popScope();\n });\n APPEND_OPCODES.add(44 /* PushDynamicScope */, function (vm) {\n return vm.pushDynamicScope();\n });\n APPEND_OPCODES.add(45 /* PopDynamicScope */, function (vm) {\n return vm.popDynamicScope();\n });\n APPEND_OPCODES.add(12 /* Constant */, function (vm, _ref11) {\n var other = _ref11.op1;\n\n vm.stack.push(vm.constants.getOther(other));\n });\n APPEND_OPCODES.add(13 /* Primitive */, function (vm, _ref12) {\n var primitive = _ref12.op1;\n\n var stack = vm.stack;\n // 111\n var value = primitive >> 3;\n switch (primitive & 7) {\n case 0 /* NUMBER */:\n stack.push(value);\n break;\n case 1 /* FLOAT */:\n stack.push(vm.constants.getNumber(value));\n break;\n case 2 /* STRING */:\n stack.push(vm.constants.getString(value));\n break;\n case 3 /* BOOLEAN_OR_VOID */:\n stack.pushEncodedImmediate(primitive);\n break;\n case 4 /* NEGATIVE */:\n stack.push(vm.constants.getNumber(value));\n break;\n case 5 /* BIG_NUM */:\n stack.push(vm.constants.getNumber(value));\n break;\n }\n });\n APPEND_OPCODES.add(14 /* PrimitiveReference */, function (vm) {\n var stack = vm.stack;\n stack.push(PrimitiveReference.create(stack.pop()));\n });\n APPEND_OPCODES.add(15 /* ReifyU32 */, function (vm) {\n var stack = vm.stack;\n stack.push(stack.peek().value());\n });\n APPEND_OPCODES.add(16 /* Dup */, function (vm, _ref13) {\n var register = _ref13.op1,\n offset = _ref13.op2;\n\n var position = vm.fetchValue(register) - offset;\n vm.stack.dup(position);\n });\n APPEND_OPCODES.add(17 /* Pop */, function (vm, _ref14) {\n var count = _ref14.op1;\n\n vm.stack.pop(count);\n });\n APPEND_OPCODES.add(18 /* Load */, function (vm, _ref15) {\n var register = _ref15.op1;\n\n vm.load(register);\n });\n APPEND_OPCODES.add(19 /* Fetch */, function (vm, _ref16) {\n var register = _ref16.op1;\n\n vm.fetch(register);\n });\n APPEND_OPCODES.add(43 /* BindDynamicScope */, function (vm, _ref17) {\n var _names = _ref17.op1;\n\n var names = vm.constants.getArray(_names);\n vm.bindDynamicScope(names);\n });\n APPEND_OPCODES.add(61 /* Enter */, function (vm, _ref18) {\n var args = _ref18.op1;\n\n vm.enter(args);\n });\n APPEND_OPCODES.add(62 /* Exit */, function (vm) {\n vm.exit();\n });\n APPEND_OPCODES.add(48 /* PushSymbolTable */, function (vm, _ref19) {\n var _table = _ref19.op1;\n\n var stack = vm.stack;\n stack.push(vm.constants.getSerializable(_table));\n });\n APPEND_OPCODES.add(47 /* PushBlockScope */, function (vm) {\n var stack = vm.stack;\n stack.push(vm.scope());\n });\n APPEND_OPCODES.add(46 /* CompileBlock */, function (vm) {\n var stack = vm.stack;\n var block = stack.pop();\n if (block) {\n stack.pushSmi(block.compile());\n } else {\n stack.pushNull();\n }\n });\n APPEND_OPCODES.add(51 /* InvokeYield */, function (vm) {\n var stack = vm.stack,\n locals,\n localsCount,\n i;\n\n var handle = stack.pop();\n var scope = stack.pop(); // FIXME(mmun): shouldn't need to cast this\n var table = stack.pop();\n\n var args = stack.pop();\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 return;\n }\n var invokingScope = scope;\n // If necessary, create a child scope\n {\n locals = table.parameters;\n localsCount = locals.length;\n\n if (localsCount > 0) {\n invokingScope = invokingScope.child();\n for (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 /* JumpIf */, function (vm, _ref20) {\n var target = _ref20.op1,\n cache;\n\n var reference = vm.stack.pop();\n if ((0, _reference.isConst)(reference)) {\n if (reference.value()) {\n vm.goto(target);\n }\n } else {\n cache = new _reference.ReferenceCache(reference);\n\n if (cache.peek()) {\n vm.goto(target);\n }\n vm.updateWith(new Assert(cache));\n }\n });\n APPEND_OPCODES.add(54 /* JumpUnless */, function (vm, _ref21) {\n var target = _ref21.op1,\n cache;\n\n var reference = vm.stack.pop();\n if ((0, _reference.isConst)(reference)) {\n if (!reference.value()) {\n vm.goto(target);\n }\n } else {\n cache = new _reference.ReferenceCache(reference);\n\n if (!cache.peek()) {\n vm.goto(target);\n }\n vm.updateWith(new Assert(cache));\n }\n });\n APPEND_OPCODES.add(55 /* JumpEq */, function (vm, _ref22) {\n var target = _ref22.op1,\n comparison = _ref22.op2;\n\n var other = vm.stack.peek();\n if (other === comparison) {\n vm.goto(target);\n }\n });\n APPEND_OPCODES.add(56 /* AssertSame */, function (vm) {\n var reference = vm.stack.peek();\n if (!(0, _reference.isConst)(reference)) {\n vm.updateWith(Assert.initialize(new _reference.ReferenceCache(reference)));\n }\n });\n APPEND_OPCODES.add(63 /* ToBoolean */, function (vm) {\n var env = vm.env,\n stack = vm.stack;\n\n stack.push(env.toConditionalReference(stack.pop()));\n });\n\n var Assert = function (_UpdatingOpcode2) {\n (0, _emberBabel.inherits)(Assert, _UpdatingOpcode2);\n\n function Assert(cache) {\n\n var _this8 = (0, _emberBabel.possibleConstructorReturn)(this, _UpdatingOpcode2.call(this));\n\n _this8.type = 'assert';\n _this8.tag = cache.tag;\n _this8.cache = cache;\n return _this8;\n }\n\n Assert.initialize = function (cache) {\n var assert = new Assert(cache);\n cache.peek();\n return assert;\n };\n\n Assert.prototype.evaluate = function (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 = function (_UpdatingOpcode3) {\n (0, _emberBabel.inherits)(JumpIfNotModifiedOpcode, _UpdatingOpcode3);\n\n function JumpIfNotModifiedOpcode(tag, target) {\n\n var _this9 = (0, _emberBabel.possibleConstructorReturn)(this, _UpdatingOpcode3.call(this));\n\n _this9.target = target;\n _this9.type = 'jump-if-not-modified';\n _this9.tag = tag;\n _this9.lastRevision = tag.value();\n return _this9;\n }\n\n JumpIfNotModifiedOpcode.prototype.evaluate = function (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 JumpIfNotModifiedOpcode.prototype.didModify = function () {\n this.lastRevision = this.tag.value();\n };\n\n return JumpIfNotModifiedOpcode;\n }(UpdatingOpcode);\n\n var DidModifyOpcode = function (_UpdatingOpcode4) {\n (0, _emberBabel.inherits)(DidModifyOpcode, _UpdatingOpcode4);\n\n function DidModifyOpcode(target) {\n\n var _this10 = (0, _emberBabel.possibleConstructorReturn)(this, _UpdatingOpcode4.call(this));\n\n _this10.target = target;\n _this10.type = 'did-modify';\n _this10.tag = _reference.CONSTANT_TAG;\n return _this10;\n }\n\n DidModifyOpcode.prototype.evaluate = function () {\n this.target.didModify();\n };\n\n return DidModifyOpcode;\n }(UpdatingOpcode);\n\n var LabelOpcode = function () {\n function LabelOpcode(label) {\n\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 LabelOpcode.prototype.evaluate = function () {};\n\n LabelOpcode.prototype.inspect = function () {\n return this.label + ' [' + this._guid + ']';\n };\n\n return LabelOpcode;\n }();\n\n APPEND_OPCODES.add(26 /* Text */, function (vm, _ref23) {\n var text = _ref23.op1;\n\n vm.elements().appendText(vm.constants.getString(text));\n });\n APPEND_OPCODES.add(27 /* Comment */, function (vm, _ref24) {\n var text = _ref24.op1;\n\n vm.elements().appendComment(vm.constants.getString(text));\n });\n APPEND_OPCODES.add(33 /* OpenElement */, function (vm, _ref25) {\n var tag = _ref25.op1;\n\n vm.elements().openElement(vm.constants.getString(tag));\n });\n APPEND_OPCODES.add(34 /* OpenDynamicElement */, function (vm) {\n var tagName = vm.stack.pop().value();\n vm.elements().openElement(tagName);\n });\n APPEND_OPCODES.add(41 /* PushRemoteElement */, function (vm) {\n var elementRef = vm.stack.pop(),\n cache,\n _cache;\n var nextSiblingRef = vm.stack.pop();\n var guidRef = vm.stack.pop();\n var element = void 0;\n var nextSibling = void 0;\n var guid = guidRef.value();\n if ((0, _reference.isConst)(elementRef)) {\n element = elementRef.value();\n } else {\n cache = new _reference.ReferenceCache(elementRef);\n\n element = cache.peek();\n vm.updateWith(new Assert(cache));\n }\n if ((0, _reference.isConst)(nextSiblingRef)) {\n nextSibling = nextSiblingRef.value();\n } else {\n _cache = new _reference.ReferenceCache(nextSiblingRef);\n\n nextSibling = _cache.peek();\n vm.updateWith(new Assert(_cache));\n }\n vm.elements().pushRemoteElement(element, guid, nextSibling);\n });\n APPEND_OPCODES.add(42 /* PopRemoteElement */, function (vm) {\n vm.elements().popRemoteElement();\n });\n APPEND_OPCODES.add(38 /* FlushElement */, function (vm) {\n var operations = vm.fetchValue(_vm2.Register.t0);\n if (operations) {\n operations.flush(vm);\n vm.loadValue(_vm2.Register.t0, null);\n }\n vm.elements().flushElement();\n });\n APPEND_OPCODES.add(39 /* CloseElement */, function (vm) {\n vm.elements().closeElement();\n });\n APPEND_OPCODES.add(40 /* Modifier */, function (vm, _ref26) {\n var handle = _ref26.op1;\n\n var manager = vm.constants.resolveHandle(handle);\n var stack = vm.stack;\n var args = stack.pop();\n\n var _vm$elements = vm.elements(),\n element = _vm$elements.constructing,\n updateOperations = _vm$elements.updateOperations;\n\n var dynamicScope = vm.dynamicScope();\n var modifier = manager.create(element, args, dynamicScope, updateOperations);\n vm.env.scheduleInstallModifier(modifier, manager);\n var destructor = manager.getDestructor(modifier);\n if (destructor) {\n vm.newDestroyable(destructor);\n }\n var tag = manager.getTag(modifier);\n if (!(0, _reference.isConstTag)(tag)) {\n vm.updateWith(new UpdateModifierOpcode(tag, manager, modifier));\n }\n });\n\n var UpdateModifierOpcode = function (_UpdatingOpcode5) {\n (0, _emberBabel.inherits)(UpdateModifierOpcode, _UpdatingOpcode5);\n\n function UpdateModifierOpcode(tag, manager, modifier) {\n\n var _this11 = (0, _emberBabel.possibleConstructorReturn)(this, _UpdatingOpcode5.call(this));\n\n _this11.tag = tag;\n _this11.manager = manager;\n _this11.modifier = modifier;\n _this11.type = 'update-modifier';\n _this11.lastUpdated = tag.value();\n return _this11;\n }\n\n UpdateModifierOpcode.prototype.evaluate = function (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 /* StaticAttr */, function (vm, _ref27) {\n var _name = _ref27.op1,\n _value = _ref27.op2,\n _namespace = _ref27.op3;\n\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 /* DynamicAttr */, function (vm, _ref28) {\n var _name = _ref28.op1,\n trusting = _ref28.op2,\n _namespace = _ref28.op3;\n\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 if (!(0, _reference.isConst)(reference)) {\n vm.updateWith(new UpdateDynamicAttributeOpcode(reference, attribute));\n }\n });\n\n var UpdateDynamicAttributeOpcode = function (_UpdatingOpcode6) {\n (0, _emberBabel.inherits)(UpdateDynamicAttributeOpcode, _UpdatingOpcode6);\n\n function UpdateDynamicAttributeOpcode(reference, attribute) {\n\n var _this12 = (0, _emberBabel.possibleConstructorReturn)(this, _UpdatingOpcode6.call(this));\n\n _this12.reference = reference;\n _this12.attribute = attribute;\n _this12.type = 'patch-element';\n _this12.tag = reference.tag;\n _this12.lastRevision = _this12.tag.value();\n return _this12;\n }\n\n UpdateDynamicAttributeOpcode.prototype.evaluate = function (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\n return definition;\n }\n\n var CurryComponentReference = function () {\n function CurryComponentReference(inner, resolver, meta, args) {\n\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 CurryComponentReference.prototype.value = function () {\n var inner = this.inner,\n lastValue = this.lastValue,\n resolver,\n meta;\n\n var value = inner.value();\n if (value === lastValue) {\n return this.lastDefinition;\n }\n var definition = null;\n if (isCurriedComponentDefinition(value)) {\n definition = value;\n } else if (typeof value === 'string' && value) {\n resolver = this.resolver, meta = this.meta;\n\n\n definition = resolveComponent(resolver, value, meta);\n }\n definition = this.curry(definition);\n this.lastValue = value;\n this.lastDefinition = definition;\n return definition;\n };\n\n CurryComponentReference.prototype.get = function () {\n return UNDEFINED_REFERENCE;\n };\n\n CurryComponentReference.prototype.curry = function (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 = function () {\n function ClassListReference(list) {\n\n this.list = list;\n this.tag = (0, _reference.combineTagged)(list);\n this.list = list;\n }\n\n ClassListReference.prototype.value = function () {\n var ret = [],\n value,\n i;\n var list = this.list;\n\n for (i = 0; i < list.length; i++) {\n value = normalizeStringValue(list[i].value());\n\n if (value) ret.push(value);\n }\n return ret.length === 0 ? null : ret.join(' ');\n };\n\n return ClassListReference;\n }();\n\n /**\n * Converts a ComponentCapabilities object into a 32-bit integer representation.\n */\n function capabilityFlagsFrom(capabilities) {\n return 0 | (capabilities.dynamicLayout ? 1 /* DynamicLayout */ : 0) | (capabilities.dynamicTag ? 2 /* DynamicTag */ : 0) | (capabilities.prepareArgs ? 4 /* PrepareArgs */ : 0) | (capabilities.createArgs ? 8 /* CreateArgs */ : 0) | (capabilities.attributeHook ? 16 /* AttributeHook */ : 0) | (capabilities.elementHook ? 32 /* ElementHook */ : 0) | (capabilities.dynamicScope ? 64 /* DynamicScope */ : 0) | (capabilities.createCaller ? 128 /* CreateCaller */ : 0) | (capabilities.updateHook ? 256 /* UpdateHook */ : 0) | (capabilities.createInstance ? 512 /* CreateInstance */ : 0);\n }\n function hasCapability(capabilities, capability) {\n return !!(capabilities & capability);\n }\n\n APPEND_OPCODES.add(69 /* IsComponent */, function (vm) {\n var stack = vm.stack;\n var ref = stack.pop();\n stack.push(IsCurriedComponentDefinitionReference.create(ref));\n });\n APPEND_OPCODES.add(70 /* ContentType */, function (vm) {\n var stack = vm.stack;\n var ref = stack.peek();\n stack.push(new ContentTypeReference(ref));\n });\n APPEND_OPCODES.add(71 /* CurryComponent */, function (vm, _ref29) {\n var _meta = _ref29.op1;\n\n var stack = vm.stack;\n var definition = stack.pop();\n var capturedArgs = stack.pop();\n var meta = vm.constants.getSerializable(_meta);\n var resolver = vm.constants.resolver;\n vm.loadValue(_vm2.Register.v0, new CurryComponentReference(definition, resolver, meta, capturedArgs));\n // expectStackChange(vm.stack, -args.length - 1, 'CurryComponent');\n });\n APPEND_OPCODES.add(72 /* PushComponentDefinition */, function (vm, _ref30) {\n var handle = _ref30.op1;\n\n var definition = vm.constants.resolveHandle(handle);\n\n var manager = definition.manager;\n\n var capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n\n vm.stack.push({\n definition: definition,\n manager: manager,\n capabilities: capabilities,\n state: null,\n handle: null,\n table: null,\n lookup: null\n });\n });\n APPEND_OPCODES.add(75 /* ResolveDynamicComponent */, function (vm, _ref31) {\n var _meta = _ref31.op1,\n resolver,\n resolvedDefinition;\n\n var stack = vm.stack;\n var component = stack.pop().value();\n var meta = vm.constants.getSerializable(_meta);\n vm.loadValue(_vm2.Register.t1, null); // Clear the temp register\n var definition = void 0;\n if (typeof component === 'string') {\n resolver = vm.constants.resolver;\n resolvedDefinition = resolveComponent(resolver, component, meta);\n\n definition = resolvedDefinition;\n } else if (isCurriedComponentDefinition(component)) {\n definition = component;\n } else {\n throw (0, _util.unreachable)();\n }\n stack.push(definition);\n });\n APPEND_OPCODES.add(73 /* PushDynamicComponentInstance */, function (vm) {\n var stack = vm.stack;\n\n var definition = stack.pop();\n var capabilities = void 0,\n manager = void 0;\n if (isCurriedComponentDefinition(definition)) {\n manager = capabilities = null;\n } else {\n manager = definition.manager;\n capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n }\n stack.push({ definition: definition, capabilities: capabilities, manager: manager, state: null, handle: null, table: null });\n });\n APPEND_OPCODES.add(74 /* PushCurriedComponent */, function (vm, _ref32) {\n _ref32.op1;\n\n\n var stack = vm.stack;\n var component = stack.pop().value();\n var definition = void 0;\n if (isCurriedComponentDefinition(component)) {\n definition = component;\n } else {\n throw (0, _util.unreachable)();\n }\n stack.push(definition);\n });\n APPEND_OPCODES.add(76 /* PushArgs */, function (vm, _ref33) {\n var _names = _ref33.op1,\n flags = _ref33.op2;\n\n var stack = vm.stack;\n var names = vm.constants.getStringArray(_names);\n\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, flags >> 4, !!(flags & 8));\n stack.push(vm.args);\n });\n APPEND_OPCODES.add(77 /* PushEmptyArgs */, function (vm) {\n var stack = vm.stack;\n\n stack.push(vm.args.empty(stack));\n });\n APPEND_OPCODES.add(80 /* CaptureArgs */, 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 /* PrepareArgs */, function (vm, _ref34) {\n var _state = _ref34.op1,\n i,\n positional,\n named,\n positionalCount,\n _i,\n names,\n _i2;\n\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\n definition = resolveCurriedComponentDefinition(instance, definition, args);\n }\n var _definition2 = definition,\n manager = _definition2.manager,\n state = _definition2.state;\n\n var capabilities = instance.capabilities;\n if (hasCapability(capabilities, 4 /* PrepareArgs */) !== true) {\n stack.push(args);\n return;\n }\n var blocks = args.blocks.values;\n var blockNames = args.blocks.names;\n var preparedArgs = manager.prepareArgs(state, args);\n if (preparedArgs) {\n args.clear();\n for (i = 0; i < blocks.length; i++) {\n stack.push(blocks[i]);\n }\n positional = preparedArgs.positional, named = preparedArgs.named;\n positionalCount = positional.length;\n\n for (_i = 0; _i < positionalCount; _i++) {\n stack.push(positional[_i]);\n }\n names = Object.keys(named);\n\n for (_i2 = 0; _i2 < names.length; _i2++) {\n stack.push(named[names[_i2]]);\n }\n args.setup(stack, names, blockNames, positionalCount, true);\n }\n stack.push(args);\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\n instance.manager = manager;\n instance.capabilities = capabilityFlagsFrom(manager.getCapabilities(state));\n return unwrappedDefinition;\n }\n APPEND_OPCODES.add(81 /* CreateComponent */, function (vm, _ref35) {\n var flags = _ref35.op1,\n _state = _ref35.op2;\n\n var instance = vm.fetchValue(_state);\n var definition = instance.definition,\n manager = instance.manager;\n\n var capabilities = instance.capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n var dynamicScope = null;\n if (hasCapability(capabilities, 64 /* DynamicScope */)) {\n dynamicScope = vm.dynamicScope();\n }\n\n var args = null;\n if (hasCapability(capabilities, 8 /* CreateArgs */)) {\n args = vm.stack.peek();\n }\n var self = null;\n if (hasCapability(capabilities, 128 /* CreateCaller */)) {\n self = vm.getSelf();\n }\n var state = manager.create(vm.env, definition.state, args, dynamicScope, self, !!(flags & 1));\n // We want to reuse the `state` POJO here, because we know that the opcodes\n // only transition at exactly one place.\n instance.state = state;\n var tag = manager.getTag(state);\n if (hasCapability(capabilities, 256 /* UpdateHook */) && !(0, _reference.isConstTag)(tag)) {\n vm.updateWith(new UpdateComponentOpcode(tag, state, manager, dynamicScope));\n }\n });\n APPEND_OPCODES.add(82 /* RegisterComponentDestructor */, function (vm, _ref36) {\n var _state = _ref36.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 /* BeginComponentTransaction */, function (vm) {\n vm.beginCacheGroup();\n vm.elements().pushSimpleBlock();\n });\n APPEND_OPCODES.add(83 /* PutComponentOperations */, function (vm) {\n vm.loadValue(_vm2.Register.t0, new ComponentElementOperations());\n });\n APPEND_OPCODES.add(37 /* ComponentAttr */, function (vm, _ref37) {\n var _name = _ref37.op1,\n trusting = _ref37.op2,\n _namespace = _ref37.op3;\n\n var name = vm.constants.getString(_name);\n var reference = vm.stack.pop();\n var namespace = _namespace ? vm.constants.getString(_namespace) : null;\n vm.fetchValue(_vm2.Register.t0).setAttribute(name, reference, !!trusting, namespace);\n });\n\n var ComponentElementOperations = function () {\n function ComponentElementOperations() {\n\n this.attributes = (0, _util.dict)();\n this.classes = [];\n }\n\n ComponentElementOperations.prototype.setAttribute = function (name, value, trusting, namespace) {\n if (name === 'class') {\n this.classes.push(value);\n }\n this.attributes[name] = { value: value, namespace: namespace, trusting: trusting };\n };\n\n ComponentElementOperations.prototype.flush = function (vm) {\n var attr, reference, namespace, trusting, attribute, type, _attribute;\n\n for (var name in this.attributes) {\n attr = this.attributes[name];\n\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 if (name === 'type') {\n continue;\n }\n 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 if ('type' in this.attributes) {\n type = this.attributes.type;\n reference = type.value, namespace = type.namespace, trusting = type.trusting;\n _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\n return ComponentElementOperations;\n }();\n\n APPEND_OPCODES.add(93 /* DidCreateElement */, function (vm, _ref38) {\n var _state = _ref38.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\n var operations = vm.fetchValue(_vm2.Register.t0);\n\n manager.didCreateElement(state, vm.elements().expectConstructing('DidCreateElementOpcode#evaluate'), operations);\n });\n APPEND_OPCODES.add(84 /* GetComponentSelf */, function (vm, _ref39) {\n var _state = _ref39.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\n vm.stack.push(manager.getSelf(state));\n });\n APPEND_OPCODES.add(85 /* GetComponentTagName */, function (vm, _ref40) {\n var _state = _ref40.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\n vm.stack.push(manager.getTagName(state));\n });\n // Dynamic Invocation Only\n APPEND_OPCODES.add(86 /* GetComponentLayout */, function (vm, _ref41) {\n var _state = _ref41.op1;\n\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\n var invoke = void 0;\n if (hasStaticLayout(capabilities, manager)) {\n invoke = manager.getLayout(definitionState, resolver);\n } else if (hasDynamicLayout(capabilities, manager)) {\n invoke = manager.getDynamicLayout(instanceState, resolver);\n } else {\n throw (0, _util.unreachable)();\n }\n stack.push(invoke.symbolTable);\n stack.push(invoke.handle);\n });\n function hasStaticLayout(capabilities) {\n return hasCapability(capabilities, 1 /* DynamicLayout */) === false;\n }\n function hasDynamicLayout(capabilities) {\n return hasCapability(capabilities, 1 /* DynamicLayout */) === true;\n }\n APPEND_OPCODES.add(68 /* Main */, function (vm, _ref42) {\n var register = _ref42.op1;\n\n var definition = vm.stack.pop();\n var invocation = vm.stack.pop();\n var manager = definition.manager;\n\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 /* PopulateLayout */, function (vm, _ref43) {\n var _state = _ref43.op1;\n var stack = vm.stack;\n\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 /* VirtualRootScope */, function (vm, _ref44) {\n var _state = _ref44.op1;\n var symbols = vm.fetchValue(_state).table.symbols;\n\n vm.pushRootScope(symbols.length + 1, true);\n });\n APPEND_OPCODES.add(87 /* SetupForEval */, function (vm, _ref45) {\n var _state = _ref45.op1,\n lookup;\n\n var state = vm.fetchValue(_state);\n if (state.table.hasEval) {\n lookup = state.lookup = (0, _util.dict)();\n\n vm.scope().bindEvalScope(lookup);\n }\n });\n APPEND_OPCODES.add(2 /* SetNamedVariables */, function (vm, _ref46) {\n var _state = _ref46.op1,\n i,\n atName,\n symbol,\n value;\n\n var state = vm.fetchValue(_state);\n var scope = vm.scope();\n var args = vm.stack.peek();\n var callerNames = args.named.atNames;\n for (i = callerNames.length - 1; i >= 0; i--) {\n atName = callerNames[i];\n symbol = state.table.symbols.indexOf(callerNames[i]);\n value = args.named.get(atName, false);\n\n if (symbol !== -1) scope.bindSymbol(symbol + 1, value);\n if (state.lookup) state.lookup[atName] = value;\n }\n });\n function bindBlock(symbolName, blockName, state, blocks, vm) {\n var symbol = state.table.symbols.indexOf(symbolName);\n var block = blocks.get(blockName);\n if (symbol !== -1) {\n vm.scope().bindBlock(symbol + 1, block);\n }\n if (state.lookup) state.lookup[symbolName] = block;\n }\n APPEND_OPCODES.add(3 /* SetBlocks */, function (vm, _ref47) {\n var _state = _ref47.op1;\n\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 });\n // Dynamic Invocation Only\n APPEND_OPCODES.add(90 /* InvokeComponentLayout */, function (vm, _ref48) {\n var _state = _ref48.op1;\n\n var state = vm.fetchValue(_state);\n vm.call(state.handle);\n });\n APPEND_OPCODES.add(94 /* DidRenderLayout */, function (vm, _ref49) {\n var _state = _ref49.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\n manager.didRenderLayout(state, bounds);\n vm.env.didCreate(state, manager);\n vm.updateWith(new DidUpdateLayoutOpcode(manager, state, bounds));\n });\n APPEND_OPCODES.add(92 /* CommitComponentTransaction */, function (vm) {\n vm.commitCacheGroup();\n });\n\n var UpdateComponentOpcode = function (_UpdatingOpcode7) {\n (0, _emberBabel.inherits)(UpdateComponentOpcode, _UpdatingOpcode7);\n\n function UpdateComponentOpcode(tag, component, manager, dynamicScope) {\n\n var _this13 = (0, _emberBabel.possibleConstructorReturn)(this, _UpdatingOpcode7.call(this));\n\n _this13.tag = tag;\n _this13.component = component;\n _this13.manager = manager;\n _this13.dynamicScope = dynamicScope;\n _this13.type = 'update-component';\n return _this13;\n }\n\n UpdateComponentOpcode.prototype.evaluate = function () {\n var component = this.component,\n manager = this.manager,\n dynamicScope = this.dynamicScope;\n\n manager.update(component, dynamicScope);\n };\n\n return UpdateComponentOpcode;\n }(UpdatingOpcode);\n\n var DidUpdateLayoutOpcode = function (_UpdatingOpcode8) {\n (0, _emberBabel.inherits)(DidUpdateLayoutOpcode, _UpdatingOpcode8);\n\n function DidUpdateLayoutOpcode(manager, component, bounds) {\n\n var _this14 = (0, _emberBabel.possibleConstructorReturn)(this, _UpdatingOpcode8.call(this));\n\n _this14.manager = manager;\n _this14.component = component;\n _this14.bounds = bounds;\n _this14.type = 'did-update-layout';\n _this14.tag = _reference.CONSTANT_TAG;\n return _this14;\n }\n\n DidUpdateLayoutOpcode.prototype.evaluate = function (vm) {\n var manager = this.manager,\n component = this.component,\n bounds = this.bounds;\n\n manager.didUpdateLayout(component, bounds);\n vm.env.didUpdate(component, manager);\n };\n\n return DidUpdateLayoutOpcode;\n }(UpdatingOpcode);\n\n /* tslint:disable */\n function debugCallback(context, get) {\n console.info('Use `context`, and `get(<path>)` to debug this template.');\n // for example...\n context === get('this');\n debugger;\n }\n /* tslint:enable */\n var callback = debugCallback;\n // For testing purposes\n\n\n var ScopeInspector = function () {\n function ScopeInspector(scope, symbols, evalInfo) {\n var i, slot, name, ref;\n\n\n this.scope = scope;\n this.locals = (0, _util.dict)();\n for (i = 0; i < evalInfo.length; i++) {\n slot = evalInfo[i];\n name = symbols[slot - 1];\n ref = scope.getSymbol(slot);\n\n this.locals[name] = ref;\n }\n }\n\n ScopeInspector.prototype.get = function (path) {\n var scope = this.scope,\n locals = this.locals;\n\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 = void 0;\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 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 /* Debugger */, function (vm, _ref50) {\n var _symbols = _ref50.op1,\n _evalInfo = _ref50.op2;\n\n var symbols = vm.constants.getStringArray(_symbols);\n var evalInfo = vm.constants.getArray(_evalInfo);\n var inspector = new ScopeInspector(vm.scope(), symbols, evalInfo);\n callback(vm.getSelf().value(), function (path) {\n return inspector.get(path).value();\n });\n });\n\n APPEND_OPCODES.add(95 /* InvokePartial */, function (vm, _ref51) {\n var _meta = _ref51.op1,\n _symbols = _ref51.op2,\n _evalInfo = _ref51.op3,\n partialSymbols,\n outerScope,\n partialScope,\n evalScope,\n locals,\n i,\n slot,\n _name2,\n ref,\n _i3,\n _name3,\n symbol,\n value;\n var constants = vm.constants,\n resolver = vm.constants.resolver,\n stack = vm.stack;\n\n var name = stack.pop().value();\n\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\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 partialSymbols = symbolTable.symbols;\n outerScope = vm.scope();\n partialScope = vm.pushRootScope(partialSymbols.length, false);\n evalScope = outerScope.getEvalScope();\n\n partialScope.bindCallerScope(outerScope.getCallerScope());\n partialScope.bindEvalScope(evalScope);\n partialScope.bindSelf(outerScope.getSelf());\n locals = Object.create(outerScope.getPartialMap());\n\n for (i = 0; i < evalInfo.length; i++) {\n slot = evalInfo[i];\n _name2 = outerSymbols[slot - 1];\n ref = outerScope.getSymbol(slot);\n\n locals[_name2] = ref;\n }\n if (evalScope) {\n for (_i3 = 0; _i3 < partialSymbols.length; _i3++) {\n _name3 = partialSymbols[_i3];\n symbol = _i3 + 1;\n value = evalScope[_name3];\n\n if (value !== undefined) partialScope.bind(symbol, value);\n }\n }\n partialScope.bindPartialMap(locals);\n vm.pushFrame(); // sp += 2\n vm.call(vmHandle);\n }\n });\n\n var IterablePresenceReference = function () {\n function IterablePresenceReference(artifacts) {\n\n this.tag = artifacts.tag;\n this.artifacts = artifacts;\n }\n\n IterablePresenceReference.prototype.value = function () {\n return !this.artifacts.isEmpty();\n };\n\n return IterablePresenceReference;\n }();\n\n APPEND_OPCODES.add(66 /* PutIterator */, 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 /* EnterList */, function (vm, _ref52) {\n var relativeStart = _ref52.op1;\n\n vm.enterList(relativeStart);\n });\n APPEND_OPCODES.add(65 /* ExitList */, function (vm) {\n vm.exitList();\n });\n APPEND_OPCODES.add(67 /* Iterate */, function (vm, _ref53) {\n var breaks = _ref53.op1,\n tryOpcode;\n\n var stack = vm.stack;\n var item = stack.peek().next();\n if (item) {\n tryOpcode = vm.iterate(item.memo, item.value);\n\n vm.enterItem(item.key, tryOpcode);\n } else {\n vm.goto(breaks);\n }\n });\n\n var Cursor = function (element, nextSibling) {\n\n this.element = element;\n this.nextSibling = nextSibling;\n };\n\n var ConcreteBounds = function () {\n function ConcreteBounds(parentNode, first, last) {\n\n this.parentNode = parentNode;\n this.first = first;\n this.last = last;\n }\n\n ConcreteBounds.prototype.parentElement = function () {\n return this.parentNode;\n };\n\n ConcreteBounds.prototype.firstNode = function () {\n return this.first;\n };\n\n ConcreteBounds.prototype.lastNode = function () {\n return this.last;\n };\n\n return ConcreteBounds;\n }();\n\n var SingleNodeBounds = function () {\n function SingleNodeBounds(parentNode, node) {\n\n this.parentNode = parentNode;\n this.node = node;\n }\n\n SingleNodeBounds.prototype.parentElement = function () {\n return this.parentNode;\n };\n\n SingleNodeBounds.prototype.firstNode = function () {\n return this.node;\n };\n\n SingleNodeBounds.prototype.lastNode = function () {\n return this.node;\n };\n\n return SingleNodeBounds;\n }();\n\n function bounds(parent, first, last) {\n return new ConcreteBounds(parent, first, last);\n }\n function single(parent, node) {\n return new SingleNodeBounds(parent, node);\n }\n function _move(bounds, reference) {\n var parent = bounds.parentElement(),\n next;\n var first = bounds.firstNode();\n var last = bounds.lastNode();\n var node = first;\n while (node) {\n next = node.nextSibling;\n\n parent.insertBefore(node, reference);\n if (node === last) return next;\n node = next;\n }\n return null;\n }\n function clear(bounds) {\n var parent = bounds.parentElement(),\n next;\n var first = bounds.firstNode();\n var last = bounds.lastNode();\n var node = first;\n while (node) {\n next = node.nextSibling;\n\n parent.removeChild(node);\n if (node === last) return next;\n node = next;\n }\n return null;\n }\n\n // Patch: insertAdjacentHTML on SVG Fix\n // Browsers: Safari, IE, Edge, Firefox ~33-34\n // Reason: insertAdjacentHTML does not exist on SVG elements in Safari. It is\n // present but throws an exception on IE and Edge. Old versions of\n // Firefox create nodes in the incorrect namespace.\n // Fix: Since IE and Edge silently fail to create SVG nodes using\n // innerHTML, and because Firefox may create nodes in the incorrect\n // namespace using innerHTML on SVG elements, an HTML-string wrapping\n // approach is used. A pre/post SVG tag is added to the string, then\n // that whole string is added to a div. The created nodes are plucked\n // out and applied to the target location on DOM.\n function applySVGInnerHTMLFix(document, DOMClass, svgNamespace) {\n if (!document) return DOMClass;\n if (!shouldApplyFix(document, svgNamespace)) {\n return DOMClass;\n }\n var div = document.createElement('div');\n return function (_DOMClass) {\n (0, _emberBabel.inherits)(DOMChangesWithSVGInnerHTMLFix, _DOMClass);\n\n function DOMChangesWithSVGInnerHTMLFix() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _DOMClass.apply(this, arguments));\n }\n\n DOMChangesWithSVGInnerHTMLFix.prototype.insertHTMLBefore = function (parent, nextSibling, html) {\n if (parent.namespaceURI !== svgNamespace) {\n return _DOMClass.prototype.insertHTMLBefore.call(this, parent, nextSibling, html);\n }\n return fixSVG(parent, div, html, nextSibling);\n };\n\n return DOMChangesWithSVGInnerHTMLFix;\n }(DOMClass);\n }\n function fixSVG(parent, div, html, reference) {\n var source = void 0;\n // This is important, because decendants of the <foreignObject> integration\n // point are parsed in the HTML namespace\n if (parent.tagName.toUpperCase() === 'FOREIGNOBJECT') {\n div.innerHTML = '<svg><foreignObject>' + (html || '<!---->') + '</foreignObject></svg>';\n // IE, Edge: also do not correctly support using `innerHTML` on SVG\n // namespaced elements. So here a wrapper is used.\n\n source = div.firstChild.firstChild;\n } else {\n div.innerHTML = '<svg>' + (html || '<!---->') + '</svg>';\n // IE, Edge: also do not correctly support using `innerHTML` on SVG\n // namespaced elements. So here a wrapper is used.\n\n source = div.firstChild;\n }\n\n var _moveNodesBefore = moveNodesBefore(source, parent, reference),\n first = _moveNodesBefore[0],\n last = _moveNodesBefore[1];\n\n return new ConcreteBounds(parent, first, last);\n }\n function shouldApplyFix(document, svgNamespace) {\n var svg = document.createElementNS(svgNamespace, 'svg');\n try {\n svg['insertAdjacentHTML']('beforeend', '<circle></circle>');\n } catch (e) {\n // IE, Edge: Will throw, insertAdjacentHTML is unsupported on SVG\n // Safari: Will throw, insertAdjacentHTML is not present on SVG\n } finally {\n // FF: Old versions will create a node in the wrong namespace\n if (svg.childNodes.length === 1 && svg.firstChild.namespaceURI === 'http://www.w3.org/2000/svg') {\n // The test worked as expected, no fix required\n return false;\n }\n return true;\n }\n }\n\n // Patch: Adjacent text node merging fix\n // Browsers: IE, Edge, Firefox w/o inspector open\n // Reason: These browsers will merge adjacent text nodes. For 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 function applyTextNodeMergingFix(document, DOMClass) {\n if (!document) return DOMClass;\n if (!shouldApplyFix$1(document)) {\n return DOMClass;\n }\n return function (_DOMClass2) {\n (0, _emberBabel.inherits)(DOMChangesWithTextNodeMergingFix, _DOMClass2);\n\n function DOMChangesWithTextNodeMergingFix(document) {\n\n var _this16 = (0, _emberBabel.possibleConstructorReturn)(this, _DOMClass2.call(this, document));\n\n _this16.uselessComment = document.createComment('');\n return _this16;\n }\n\n DOMChangesWithTextNodeMergingFix.prototype.insertHTMLBefore = function (parent, nextSibling, html) {\n var didSetUselessComment = false;\n var nextPrevious = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n if (nextPrevious && nextPrevious instanceof Text) {\n didSetUselessComment = true;\n parent.insertBefore(this.uselessComment, nextSibling);\n }\n var bounds = _DOMClass2.prototype.insertHTMLBefore.call(this, parent, nextSibling, html);\n if (didSetUselessComment) {\n parent.removeChild(this.uselessComment);\n }\n return bounds;\n };\n\n return DOMChangesWithTextNodeMergingFix;\n }(DOMClass);\n }\n function shouldApplyFix$1(document) {\n var mergingTextDiv = document.createElement('div');\n mergingTextDiv.innerHTML = 'first';\n mergingTextDiv.insertAdjacentHTML('beforeend', 'second');\n if (mergingTextDiv.childNodes.length === 2) {\n // It worked as expected, no fix required\n return false;\n }\n return true;\n }\n\n var SVG_NAMESPACE$1 = 'http://www.w3.org/2000/svg';\n // http://www.w3.org/TR/html/syntax.html#html-integration-point\n var SVG_INTEGRATION_POINTS = { foreignObject: 1, desc: 1, 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 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 moveNodesBefore(source, target, nextSibling) {\n var first = source.firstChild;\n var last = null;\n var current = first;\n while (current) {\n last = current;\n current = current.nextSibling;\n target.insertBefore(last, nextSibling);\n }\n return [first, last];\n }\n\n var DOMOperations = function () {\n function DOMOperations(document) {\n\n this.document = document;\n this.setupUselessElement();\n }\n // split into seperate method so that NodeDOMTreeConstruction\n // can override it.\n\n\n DOMOperations.prototype.setupUselessElement = function () {\n this.uselessElement = this.document.createElement('div');\n };\n\n DOMOperations.prototype.createElement = function (tag, context) {\n var isElementInSVGNamespace = void 0,\n isHTMLIntegrationPoint = void 0;\n if (context) {\n isElementInSVGNamespace = context.namespaceURI === SVG_NAMESPACE$1 || tag === 'svg';\n isHTMLIntegrationPoint = SVG_INTEGRATION_POINTS[context.tagName];\n } else {\n isElementInSVGNamespace = tag === 'svg';\n isHTMLIntegrationPoint = false;\n }\n if (isElementInSVGNamespace && !isHTMLIntegrationPoint) {\n // FIXME: This does not properly handle <font> with color, face, or\n // size attributes, which is also disallowed by the spec. We should fix\n // this.\n if (BLACKLIST_TABLE[tag]) {\n throw new Error('Cannot create a ' + tag + ' inside an SVG context');\n }\n return this.document.createElementNS(SVG_NAMESPACE$1, tag);\n } else {\n return this.document.createElement(tag);\n }\n };\n\n DOMOperations.prototype.insertBefore = function (parent, node, reference) {\n parent.insertBefore(node, reference);\n };\n\n DOMOperations.prototype.insertHTMLBefore = function (_parent, nextSibling, html) {\n return _insertHTMLBefore(this.uselessElement, _parent, nextSibling, html);\n };\n\n DOMOperations.prototype.createTextNode = function (text) {\n return this.document.createTextNode(text);\n };\n\n DOMOperations.prototype.createComment = function (data) {\n return this.document.createComment(data);\n };\n\n return DOMOperations;\n }();\n\n var DOM;\n (function (DOM) {\n var TreeConstruction = function (_DOMOperations) {\n (0, _emberBabel.inherits)(TreeConstruction, _DOMOperations);\n\n function TreeConstruction() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _DOMOperations.apply(this, arguments));\n }\n\n TreeConstruction.prototype.createElementNS = function (namespace, tag) {\n return this.document.createElementNS(namespace, tag);\n };\n\n TreeConstruction.prototype.setAttribute = function (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$1);\n DOM.DOMTreeConstruction = appliedTreeContruction;\n })(DOM || (DOM = {}));\n\n var DOMChanges = function (_DOMOperations2) {\n (0, _emberBabel.inherits)(DOMChanges, _DOMOperations2);\n\n function DOMChanges(document) {\n\n var _this18 = (0, _emberBabel.possibleConstructorReturn)(this, _DOMOperations2.call(this, document));\n\n _this18.document = document;\n _this18.namespace = null;\n return _this18;\n }\n\n DOMChanges.prototype.setAttribute = function (element, name, value) {\n element.setAttribute(name, value);\n };\n\n DOMChanges.prototype.removeAttribute = function (element, name) {\n element.removeAttribute(name);\n };\n\n DOMChanges.prototype.insertAfter = function (element, node, reference) {\n this.insertBefore(element, node, reference.nextSibling);\n };\n\n return DOMChanges;\n }(DOMOperations);\n\n function _insertHTMLBefore(useless, _parent, _nextSibling, _html) {\n var parent = _parent;\n var nextSibling = _nextSibling;\n var prev = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n var last = void 0;\n var html = _html || '<!---->';\n if (nextSibling === null) {\n parent.insertAdjacentHTML('beforeend', html);\n last = parent.lastChild;\n } else if (nextSibling instanceof HTMLElement) {\n nextSibling.insertAdjacentHTML('beforebegin', 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 parent.insertBefore(useless, nextSibling);\n useless.insertAdjacentHTML('beforebegin', html);\n last = useless.previousSibling;\n parent.removeChild(useless);\n }\n var first = prev ? prev.nextSibling : parent.firstChild;\n return new ConcreteBounds(parent, first, last);\n }\n var helper = DOMChanges;\n helper = applyTextNodeMergingFix(doc, helper);\n helper = applySVGInnerHTMLFix(doc, helper, SVG_NAMESPACE$1);\n var helper$1 = helper;\n var DOMTreeConstruction = DOM.DOMTreeConstruction;\n\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 function has(array, item) {\n return array.indexOf(item) !== -1;\n }\n function checkURI(tagName, attribute) {\n return (tagName === null || has(badTags, tagName)) && has(badAttributes, attribute);\n }\n function checkDataURI(tagName, attribute) {\n if (tagName === null) return false;\n return has(badTagsForDataURI, tagName) && has(badAttributesForDataURI, attribute);\n }\n function requiresSanitization(tagName, attribute) {\n return checkURI(tagName, attribute) || checkDataURI(tagName, attribute);\n }\n function sanitizeAttributeValue(env, element, attribute, value) {\n var tagName = null,\n protocol;\n if (value === null || value === undefined) {\n return value;\n }\n if (isSafeString(value)) {\n return value.toHTML();\n }\n if (!element) {\n tagName = null;\n } else {\n tagName = element.tagName.toUpperCase();\n }\n var str = normalizeStringValue(value);\n if (checkURI(tagName, attribute)) {\n protocol = env.protocolForURL(str);\n\n if (has(badProtocols, protocol)) {\n return 'unsafe:' + str;\n }\n }\n if (checkDataURI(tagName, attribute)) {\n return 'unsafe:' + str;\n }\n return str;\n }\n\n /*\n * @method normalizeProperty\n * @param element {HTMLElement}\n * @param slotName {String}\n * @returns {Object} { name, type }\n */\n function normalizeProperty(element, slotName) {\n var type = void 0,\n normalized = void 0,\n lower;\n if (slotName in element) {\n normalized = slotName;\n type = 'prop';\n } else {\n 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 if (type === 'prop' && (normalized.toLowerCase() === 'style' || preferAttr(element.tagName, normalized))) {\n type = 'attr';\n }\n return { normalized: normalized, type: type };\n }\n // properties that MUST be set as attributes, due to:\n // * browser bug\n // * strange spec outlier\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: { form: true },\n OPTION: { form: true },\n TEXTAREA: { form: true },\n LABEL: { form: true },\n FIELDSET: { form: true },\n LEGEND: { form: true },\n OBJECT: { form: true },\n BUTTON: { form: true }\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\n var attribute = { element: element, name: attr, namespace: namespace };\n if (namespaceURI === SVG_NAMESPACE$1) {\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 function buildDynamicAttribute(tagName, name, attribute) {\n if (requiresSanitization(tagName, name)) {\n return new SafeDynamicAttribute(attribute);\n } else {\n return new SimpleDynamicAttribute(attribute);\n }\n }\n function buildDynamicProperty(tagName, name, attribute) {\n if (requiresSanitization(tagName, name)) {\n return new SafeDynamicProperty(name, attribute);\n }\n if (isUserInputValue(tagName, name)) {\n return new InputValueDynamicAttribute(name, attribute);\n }\n if (isOptionSelected(tagName, name)) {\n return new OptionSelectedDynamicAttribute(name, attribute);\n }\n return new DefaultDynamicProperty(name, attribute);\n }\n\n var DynamicAttribute = function (attribute) {\n\n this.attribute = attribute;\n };\n\n var SimpleDynamicAttribute = function (_DynamicAttribute) {\n (0, _emberBabel.inherits)(SimpleDynamicAttribute, _DynamicAttribute);\n\n function SimpleDynamicAttribute() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _DynamicAttribute.apply(this, arguments));\n }\n\n SimpleDynamicAttribute.prototype.set = function (dom, value) {\n var normalizedValue = normalizeValue(value),\n _attribute2,\n name,\n namespace;\n if (normalizedValue !== null) {\n _attribute2 = this.attribute, name = _attribute2.name, namespace = _attribute2.namespace;\n\n\n dom.__setAttribute(name, normalizedValue, namespace);\n }\n };\n\n SimpleDynamicAttribute.prototype.update = function (value) {\n var normalizedValue = normalizeValue(value);\n var _attribute3 = this.attribute,\n element = _attribute3.element,\n name = _attribute3.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 var DefaultDynamicProperty = function (_DynamicAttribute2) {\n (0, _emberBabel.inherits)(DefaultDynamicProperty, _DynamicAttribute2);\n\n function DefaultDynamicProperty(normalizedName, attribute) {\n\n var _this20 = (0, _emberBabel.possibleConstructorReturn)(this, _DynamicAttribute2.call(this, attribute));\n\n _this20.normalizedName = normalizedName;\n return _this20;\n }\n\n DefaultDynamicProperty.prototype.set = function (dom, value) {\n if (value !== null && value !== undefined) {\n this.value = value;\n dom.__setProperty(this.normalizedName, value);\n }\n };\n\n DefaultDynamicProperty.prototype.update = function (value) {\n var element = this.attribute.element;\n\n if (this.value !== value) {\n element[this.normalizedName] = this.value = value;\n if (value === null || value === undefined) {\n this.removeAttribute();\n }\n }\n };\n\n DefaultDynamicProperty.prototype.removeAttribute = function () {\n var _attribute4 = this.attribute,\n element = _attribute4.element,\n namespace = _attribute4.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 = function (_DefaultDynamicProper) {\n (0, _emberBabel.inherits)(SafeDynamicProperty, _DefaultDynamicProper);\n\n function SafeDynamicProperty() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _DefaultDynamicProper.apply(this, arguments));\n }\n\n SafeDynamicProperty.prototype.set = function (dom, value, env) {\n var _attribute5 = this.attribute,\n element = _attribute5.element,\n name = _attribute5.name;\n\n var sanitized = sanitizeAttributeValue(env, element, name, value);\n _DefaultDynamicProper.prototype.set.call(this, dom, sanitized, env);\n };\n\n SafeDynamicProperty.prototype.update = function (value, env) {\n var _attribute6 = this.attribute,\n element = _attribute6.element,\n name = _attribute6.name;\n\n var sanitized = sanitizeAttributeValue(env, element, name, value);\n _DefaultDynamicProper.prototype.update.call(this, sanitized, env);\n };\n\n return SafeDynamicProperty;\n }(DefaultDynamicProperty);\n\n var SafeDynamicAttribute = function (_SimpleDynamicAttribu) {\n (0, _emberBabel.inherits)(SafeDynamicAttribute, _SimpleDynamicAttribu);\n\n function SafeDynamicAttribute() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _SimpleDynamicAttribu.apply(this, arguments));\n }\n\n SafeDynamicAttribute.prototype.set = function (dom, value, env) {\n var _attribute7 = this.attribute,\n element = _attribute7.element,\n name = _attribute7.name;\n\n var sanitized = sanitizeAttributeValue(env, element, name, value);\n _SimpleDynamicAttribu.prototype.set.call(this, dom, sanitized, env);\n };\n\n SafeDynamicAttribute.prototype.update = function (value, env) {\n var _attribute8 = this.attribute,\n element = _attribute8.element,\n name = _attribute8.name;\n\n var sanitized = sanitizeAttributeValue(env, element, name, value);\n _SimpleDynamicAttribu.prototype.update.call(this, sanitized, env);\n };\n\n return SafeDynamicAttribute;\n }(SimpleDynamicAttribute);\n\n var InputValueDynamicAttribute = function (_DefaultDynamicProper2) {\n (0, _emberBabel.inherits)(InputValueDynamicAttribute, _DefaultDynamicProper2);\n\n function InputValueDynamicAttribute() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _DefaultDynamicProper2.apply(this, arguments));\n }\n\n InputValueDynamicAttribute.prototype.set = function (dom, value) {\n dom.__setProperty('value', normalizeStringValue(value));\n };\n\n InputValueDynamicAttribute.prototype.update = function (value) {\n var input = this.attribute.element;\n var currentValue = input.value;\n var normalizedValue = normalizeStringValue(value);\n if (currentValue !== normalizedValue) {\n input.value = normalizedValue;\n }\n };\n\n return InputValueDynamicAttribute;\n }(DefaultDynamicProperty);\n\n var OptionSelectedDynamicAttribute = function (_DefaultDynamicProper3) {\n (0, _emberBabel.inherits)(OptionSelectedDynamicAttribute, _DefaultDynamicProper3);\n\n function OptionSelectedDynamicAttribute() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _DefaultDynamicProper3.apply(this, arguments));\n }\n\n OptionSelectedDynamicAttribute.prototype.set = function (dom, value) {\n if (value !== null && value !== undefined && value !== false) {\n dom.__setProperty('selected', true);\n }\n };\n\n OptionSelectedDynamicAttribute.prototype.update = function (value) {\n var option = this.attribute.element;\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 function isUserInputValue(tagName, attribute) {\n return (tagName === 'INPUT' || tagName === 'TEXTAREA') && attribute === 'value';\n }\n function normalizeValue(value) {\n if (value === false || value === undefined || value === null || typeof value.toString === 'undefined') {\n return null;\n }\n if (value === true) {\n return '';\n }\n // onclick function etc in SSR\n if (typeof value === 'function') {\n return null;\n }\n return String(value);\n }\n\n var Scope = function () {\n function Scope(\n // the 0th slot is `self`\n slots, callerScope,\n // named arguments and blocks passed to a layout that uses eval\n evalScope,\n // locals in scope when the partial was invoked\n partialMap) {\n\n this.slots = slots;\n this.callerScope = callerScope;\n this.evalScope = evalScope;\n this.partialMap = partialMap;\n }\n\n Scope.root = function (self) {\n var size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0,\n i;\n\n var refs = new Array(size + 1);\n for (i = 0; i <= size; i++) {\n refs[i] = UNDEFINED_REFERENCE;\n }\n return new Scope(refs, null, null, null).init({ self: self });\n };\n\n Scope.sized = function () {\n var size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0,\n i;\n\n var refs = new Array(size + 1);\n for (i = 0; i <= size; i++) {\n refs[i] = UNDEFINED_REFERENCE;\n }\n return new Scope(refs, null, null, null);\n };\n\n Scope.prototype.init = function (_ref54) {\n var self = _ref54.self;\n\n this.slots[0] = self;\n return this;\n };\n\n Scope.prototype.getSelf = function () {\n return this.get(0);\n };\n\n Scope.prototype.getSymbol = function (symbol) {\n return this.get(symbol);\n };\n\n Scope.prototype.getBlock = function (symbol) {\n var block = this.get(symbol);\n return block === UNDEFINED_REFERENCE ? null : block;\n };\n\n Scope.prototype.getEvalScope = function () {\n return this.evalScope;\n };\n\n Scope.prototype.getPartialMap = function () {\n return this.partialMap;\n };\n\n Scope.prototype.bind = function (symbol, value) {\n this.set(symbol, value);\n };\n\n Scope.prototype.bindSelf = function (self) {\n this.set(0, self);\n };\n\n Scope.prototype.bindSymbol = function (symbol, value) {\n this.set(symbol, value);\n };\n\n Scope.prototype.bindBlock = function (symbol, value) {\n this.set(symbol, value);\n };\n\n Scope.prototype.bindEvalScope = function (map) {\n this.evalScope = map;\n };\n\n Scope.prototype.bindPartialMap = function (map) {\n this.partialMap = map;\n };\n\n Scope.prototype.bindCallerScope = function (scope) {\n this.callerScope = scope;\n };\n\n Scope.prototype.getCallerScope = function () {\n return this.callerScope;\n };\n\n Scope.prototype.child = function () {\n return new Scope(this.slots.slice(), this.callerScope, this.evalScope, this.partialMap);\n };\n\n Scope.prototype.get = function (index) {\n if (index >= this.slots.length) {\n throw new RangeError('BUG: cannot get $' + index + ' from scope; length=' + this.slots.length);\n }\n return this.slots[index];\n };\n\n Scope.prototype.set = function (index, value) {\n if (index >= this.slots.length) {\n throw new RangeError('BUG: cannot get $' + index + ' from scope; length=' + this.slots.length);\n }\n this.slots[index] = value;\n };\n\n return Scope;\n }();\n\n var Transaction = function () {\n function Transaction() {\n\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 Transaction.prototype.didCreate = function (component, manager) {\n this.createdComponents.push(component);\n this.createdManagers.push(manager);\n };\n\n Transaction.prototype.didUpdate = function (component, manager) {\n this.updatedComponents.push(component);\n this.updatedManagers.push(manager);\n };\n\n Transaction.prototype.scheduleInstallModifier = function (modifier, manager) {\n this.scheduledInstallManagers.push(manager);\n this.scheduledInstallModifiers.push(modifier);\n };\n\n Transaction.prototype.scheduleUpdateModifier = function (modifier, manager) {\n this.scheduledUpdateModifierManagers.push(manager);\n this.scheduledUpdateModifiers.push(modifier);\n };\n\n Transaction.prototype.didDestroy = function (d) {\n this.destructors.push(d);\n };\n\n Transaction.prototype.commit = function () {\n var createdComponents = this.createdComponents,\n createdManagers = this.createdManagers,\n i,\n component,\n manager,\n _i4,\n _component,\n _manager2,\n _i5,\n _i6,\n _manager3,\n modifier,\n _i7,\n _manager4,\n _modifier;\n\n for (i = 0; i < createdComponents.length; i++) {\n component = createdComponents[i];\n manager = createdManagers[i];\n\n manager.didCreate(component);\n }\n var updatedComponents = this.updatedComponents,\n updatedManagers = this.updatedManagers;\n\n for (_i4 = 0; _i4 < updatedComponents.length; _i4++) {\n _component = updatedComponents[_i4];\n _manager2 = updatedManagers[_i4];\n\n _manager2.didUpdate(_component);\n }\n var destructors = this.destructors;\n\n for (_i5 = 0; _i5 < destructors.length; _i5++) {\n destructors[_i5].destroy();\n }\n var scheduledInstallManagers = this.scheduledInstallManagers,\n scheduledInstallModifiers = this.scheduledInstallModifiers;\n\n for (_i6 = 0; _i6 < scheduledInstallManagers.length; _i6++) {\n _manager3 = scheduledInstallManagers[_i6];\n modifier = scheduledInstallModifiers[_i6];\n\n _manager3.install(modifier);\n }\n var scheduledUpdateModifierManagers = this.scheduledUpdateModifierManagers,\n scheduledUpdateModifiers = this.scheduledUpdateModifiers;\n\n for (_i7 = 0; _i7 < scheduledUpdateModifierManagers.length; _i7++) {\n _manager4 = scheduledUpdateModifierManagers[_i7];\n _modifier = scheduledUpdateModifiers[_i7];\n\n _manager4.update(_modifier);\n }\n };\n\n return Transaction;\n }();\n\n var Environment = function () {\n function Environment(_ref55) {\n var appendOperations = _ref55.appendOperations,\n updateOperations = _ref55.updateOperations;\n\n\n this._transaction = null;\n this.appendOperations = appendOperations;\n this.updateOperations = updateOperations;\n }\n\n Environment.prototype.toConditionalReference = function (reference) {\n return new ConditionalReference(reference);\n };\n\n Environment.prototype.getAppendOperations = function () {\n return this.appendOperations;\n };\n\n Environment.prototype.getDOM = function () {\n return this.updateOperations;\n };\n\n Environment.prototype.begin = function () {\n\n this._transaction = new Transaction();\n };\n\n Environment.prototype.didCreate = function (component, manager) {\n this.transaction.didCreate(component, manager);\n };\n\n Environment.prototype.didUpdate = function (component, manager) {\n this.transaction.didUpdate(component, manager);\n };\n\n Environment.prototype.scheduleInstallModifier = function (modifier, manager) {\n this.transaction.scheduleInstallModifier(modifier, manager);\n };\n\n Environment.prototype.scheduleUpdateModifier = function (modifier, manager) {\n this.transaction.scheduleUpdateModifier(modifier, manager);\n };\n\n Environment.prototype.didDestroy = function (d) {\n this.transaction.didDestroy(d);\n };\n\n Environment.prototype.commit = function () {\n var transaction = this.transaction;\n this._transaction = null;\n transaction.commit();\n };\n\n Environment.prototype.attributeFor = function (element, attr) {\n var namespace = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\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 var DefaultEnvironment = function (_Environment) {\n (0, _emberBabel.inherits)(DefaultEnvironment, _Environment);\n\n function DefaultEnvironment(options) {\n var _document, appendOperations, updateOperations;\n\n if (!options) {\n _document = window.document;\n appendOperations = new DOMTreeConstruction(_document);\n updateOperations = new DOMChanges(_document);\n\n options = { appendOperations: appendOperations, updateOperations: updateOperations };\n }\n return (0, _emberBabel.possibleConstructorReturn)(this, _Environment.call(this, options));\n }\n\n return DefaultEnvironment;\n }(Environment);\n\n var LowLevelVM = 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\n\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 }\n // Start a new frame and save $ra and $fp on the stack\n\n\n LowLevelVM.prototype.pushFrame = function () {\n this.stack.pushSmi(this.ra);\n this.stack.pushSmi(this.stack.fp);\n this.stack.fp = this.stack.sp - 1;\n };\n\n LowLevelVM.prototype.popFrame = function () {\n this.stack.sp = this.stack.fp - 1;\n this.ra = this.stack.getSmi(0);\n this.stack.fp = this.stack.getSmi(1);\n };\n\n LowLevelVM.prototype.pushSmallFrame = function () {\n this.stack.pushSmi(this.ra);\n };\n\n LowLevelVM.prototype.popSmallFrame = function () {\n this.ra = this.stack.popSmi();\n };\n\n LowLevelVM.prototype.goto = function (offset) {\n var addr = this.pc + offset - this.currentOpSize;\n this.pc = addr;\n };\n\n LowLevelVM.prototype.call = function (handle) {\n this.ra = this.pc;\n this.pc = this.heap.getaddr(handle);\n };\n\n LowLevelVM.prototype.returnTo = function (offset) {\n var addr = this.pc + offset - this.currentOpSize;\n this.ra = addr;\n };\n\n LowLevelVM.prototype.return = function () {\n this.pc = this.ra;\n };\n\n LowLevelVM.prototype.nextStatement = function () {\n var pc = this.pc,\n program = this.program;\n\n if (pc === -1) {\n return null;\n }\n // We have to save off the current operations size so that\n // when we do a jump we can calculate the correct offset\n // to where we are going. We can't simply ask for the size\n // in a jump because we have have already incremented the\n // program counter to the next instruction prior to executing.\n\n var _program$opcode = this.program.opcode(pc),\n size = _program$opcode.size;\n\n var operationSize = this.currentOpSize = size;\n this.pc += operationSize;\n return program.opcode(pc);\n };\n\n LowLevelVM.prototype.evaluateOuter = function (opcode, vm) {\n {\n this.evaluateInner(opcode, vm);\n }\n };\n\n LowLevelVM.prototype.evaluateInner = function (opcode, vm) {\n if (opcode.isMachine) {\n this.evaluateMachine(opcode);\n } else {\n this.evaluateSyscall(opcode, vm);\n }\n };\n\n LowLevelVM.prototype.evaluateMachine = function (opcode) {\n switch (opcode.type) {\n case 57 /* PushFrame */:\n return this.pushFrame();\n case 58 /* PopFrame */:\n return this.popFrame();\n case 59 /* PushSmallFrame */:\n return this.pushSmallFrame();\n case 60 /* PopSmallFrame */:\n return this.popSmallFrame();\n case 50 /* InvokeStatic */:\n return this.call(opcode.op1);\n case 49 /* InvokeVirtual */:\n return this.call(this.stack.popSmi());\n case 52 /* Jump */:\n return this.goto(opcode.op1);\n case 24 /* Return */:\n return this.return();\n case 25 /* ReturnTo */:\n return this.returnTo(opcode.op1);\n }\n };\n\n LowLevelVM.prototype.evaluateSyscall = function (opcode, vm) {\n APPEND_OPCODES.evaluate(vm, opcode, opcode.type);\n };\n\n return LowLevelVM;\n }();\n\n var First = function () {\n function First(node) {\n\n this.node = node;\n }\n\n First.prototype.firstNode = function () {\n return this.node;\n };\n\n return First;\n }();\n\n var Last = function () {\n function Last(node) {\n\n this.node = node;\n }\n\n Last.prototype.lastNode = function () {\n return this.node;\n };\n\n return Last;\n }();\n\n var NewElementBuilder = function () {\n function NewElementBuilder(env, parentNode, nextSibling) {\n\n this.constructing = null;\n this.operations = null;\n this.cursorStack = 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 (env, cursor) {\n var builder = new this(env, cursor.element, cursor.nextSibling);\n builder.pushSimpleBlock();\n return builder;\n };\n\n NewElementBuilder.resume = function (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 NewElementBuilder.prototype.expectConstructing = function () {\n return this.constructing;\n };\n\n NewElementBuilder.prototype.block = function () {\n return this.blockStack.current;\n };\n\n NewElementBuilder.prototype.popElement = function () {\n this.cursorStack.pop();\n this.cursorStack.current;\n };\n\n NewElementBuilder.prototype.pushSimpleBlock = function () {\n return this.pushBlockTracker(new SimpleBlockTracker(this.element));\n };\n\n NewElementBuilder.prototype.pushUpdatableBlock = function () {\n return this.pushBlockTracker(new UpdatableBlockTracker(this.element));\n };\n\n NewElementBuilder.prototype.pushBlockList = function (list) {\n return this.pushBlockTracker(new BlockListTracker(this.element, list));\n };\n\n NewElementBuilder.prototype.pushBlockTracker = function (tracker) {\n var isRemote = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n var current = this.blockStack.current;\n if (current !== null) {\n current.newDestroyable(tracker);\n if (!isRemote) {\n current.didAppendBounds(tracker);\n }\n }\n this.__openBlock();\n this.blockStack.push(tracker);\n return tracker;\n };\n\n NewElementBuilder.prototype.popBlock = function () {\n this.block().finalize(this);\n this.__closeBlock();\n return this.blockStack.pop();\n };\n\n NewElementBuilder.prototype.__openBlock = function () {};\n\n NewElementBuilder.prototype.__closeBlock = function () {};\n\n NewElementBuilder.prototype.openElement = function (tag) {\n var element = this.__openElement(tag);\n this.constructing = element;\n return element;\n };\n\n NewElementBuilder.prototype.__openElement = function (tag) {\n return this.dom.createElement(tag, this.element);\n };\n\n NewElementBuilder.prototype.flushElement = function () {\n var parent = this.element;\n var element = this.constructing;\n this.__flushElement(parent, element);\n this.constructing = null;\n this.operations = null;\n this.pushElement(element, null);\n this.didOpenElement(element);\n };\n\n NewElementBuilder.prototype.__flushElement = function (parent, constructing) {\n this.dom.insertBefore(parent, constructing, this.nextSibling);\n };\n\n NewElementBuilder.prototype.closeElement = function () {\n this.willCloseElement();\n this.popElement();\n };\n\n NewElementBuilder.prototype.pushRemoteElement = function (element, guid) {\n var nextSibling = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n this.__pushRemoteElement(element, guid, nextSibling);\n };\n\n NewElementBuilder.prototype.__pushRemoteElement = function (element, _guid, nextSibling) {\n this.pushElement(element, nextSibling);\n var tracker = new RemoteBlockTracker(element);\n this.pushBlockTracker(tracker, true);\n };\n\n NewElementBuilder.prototype.popRemoteElement = function () {\n this.popBlock();\n this.popElement();\n };\n\n NewElementBuilder.prototype.pushElement = function (element, nextSibling) {\n this.cursorStack.push(new Cursor(element, nextSibling));\n };\n\n NewElementBuilder.prototype.didAddDestroyable = function (d) {\n this.block().newDestroyable(d);\n };\n\n NewElementBuilder.prototype.didAppendBounds = function (bounds$$1) {\n this.block().didAppendBounds(bounds$$1);\n return bounds$$1;\n };\n\n NewElementBuilder.prototype.didAppendNode = function (node) {\n this.block().didAppendNode(node);\n return node;\n };\n\n NewElementBuilder.prototype.didOpenElement = function (element) {\n this.block().openElement(element);\n return element;\n };\n\n NewElementBuilder.prototype.willCloseElement = function () {\n this.block().closeElement();\n };\n\n NewElementBuilder.prototype.appendText = function (string) {\n return this.didAppendNode(this.__appendText(string));\n };\n\n NewElementBuilder.prototype.__appendText = function (text) {\n var dom = this.dom,\n element = this.element,\n nextSibling = this.nextSibling;\n\n var node = dom.createTextNode(text);\n dom.insertBefore(element, node, nextSibling);\n return node;\n };\n\n NewElementBuilder.prototype.__appendNode = function (node) {\n this.dom.insertBefore(this.element, node, this.nextSibling);\n return node;\n };\n\n NewElementBuilder.prototype.__appendFragment = function (fragment) {\n var first = fragment.firstChild,\n ret;\n if (first) {\n ret = bounds(this.element, first, fragment.lastChild);\n\n this.dom.insertBefore(this.element, fragment, this.nextSibling);\n return ret;\n } else {\n return single(this.element, this.__appendComment(''));\n }\n };\n\n NewElementBuilder.prototype.__appendHTML = function (html) {\n return this.dom.insertHTMLBefore(this.element, this.nextSibling, html);\n };\n\n NewElementBuilder.prototype.appendDynamicHTML = function (value) {\n var bounds$$1 = this.trustedContent(value);\n this.didAppendBounds(bounds$$1);\n };\n\n NewElementBuilder.prototype.appendDynamicText = function (value) {\n var node = this.untrustedContent(value);\n this.didAppendNode(node);\n return node;\n };\n\n NewElementBuilder.prototype.appendDynamicFragment = function (value) {\n var bounds$$1 = this.__appendFragment(value);\n this.didAppendBounds(bounds$$1);\n };\n\n NewElementBuilder.prototype.appendDynamicNode = function (value) {\n var node = this.__appendNode(value);\n var bounds$$1 = single(this.element, node);\n this.didAppendBounds(bounds$$1);\n };\n\n NewElementBuilder.prototype.trustedContent = function (value) {\n return this.__appendHTML(value);\n };\n\n NewElementBuilder.prototype.untrustedContent = function (value) {\n return this.__appendText(value);\n };\n\n NewElementBuilder.prototype.appendComment = function (string) {\n return this.didAppendNode(this.__appendComment(string));\n };\n\n NewElementBuilder.prototype.__appendComment = function (string) {\n var dom = this.dom,\n element = this.element,\n nextSibling = this.nextSibling;\n\n var node = dom.createComment(string);\n dom.insertBefore(element, node, nextSibling);\n return node;\n };\n\n NewElementBuilder.prototype.__setAttribute = function (name, value, namespace) {\n this.dom.setAttribute(this.constructing, name, value, namespace);\n };\n\n NewElementBuilder.prototype.__setProperty = function (name, value) {\n this.constructing[name] = value;\n };\n\n NewElementBuilder.prototype.setStaticAttribute = function (name, value, namespace) {\n this.__setAttribute(name, value, namespace);\n };\n\n NewElementBuilder.prototype.setDynamicAttribute = function (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 var SimpleBlockTracker = function () {\n function SimpleBlockTracker(parent) {\n\n this.parent = parent;\n this.first = null;\n this.last = null;\n this.destroyables = null;\n this.nesting = 0;\n }\n\n SimpleBlockTracker.prototype.destroy = function () {\n var destroyables = this.destroyables,\n i;\n\n if (destroyables && destroyables.length) {\n for (i = 0; i < destroyables.length; i++) {\n destroyables[i].destroy();\n }\n }\n };\n\n SimpleBlockTracker.prototype.parentElement = function () {\n return this.parent;\n };\n\n SimpleBlockTracker.prototype.firstNode = function () {\n return this.first && this.first.firstNode();\n };\n\n SimpleBlockTracker.prototype.lastNode = function () {\n return this.last && this.last.lastNode();\n };\n\n SimpleBlockTracker.prototype.openElement = function (element) {\n this.didAppendNode(element);\n this.nesting++;\n };\n\n SimpleBlockTracker.prototype.closeElement = function () {\n this.nesting--;\n };\n\n SimpleBlockTracker.prototype.didAppendNode = function (node) {\n if (this.nesting !== 0) return;\n if (!this.first) {\n this.first = new First(node);\n }\n this.last = new Last(node);\n };\n\n SimpleBlockTracker.prototype.didAppendBounds = function (bounds$$1) {\n if (this.nesting !== 0) return;\n if (!this.first) {\n this.first = bounds$$1;\n }\n this.last = bounds$$1;\n };\n\n SimpleBlockTracker.prototype.newDestroyable = function (d) {\n this.destroyables = this.destroyables || [];\n this.destroyables.push(d);\n };\n\n SimpleBlockTracker.prototype.finalize = function (stack) {\n if (this.first === null) {\n stack.appendComment('');\n }\n };\n\n return SimpleBlockTracker;\n }();\n\n var RemoteBlockTracker = function (_SimpleBlockTracker) {\n (0, _emberBabel.inherits)(RemoteBlockTracker, _SimpleBlockTracker);\n\n function RemoteBlockTracker() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _SimpleBlockTracker.apply(this, arguments));\n }\n\n RemoteBlockTracker.prototype.destroy = function () {\n _SimpleBlockTracker.prototype.destroy.call(this);\n clear(this);\n };\n\n return RemoteBlockTracker;\n }(SimpleBlockTracker);\n\n var UpdatableBlockTracker = function (_SimpleBlockTracker2) {\n (0, _emberBabel.inherits)(UpdatableBlockTracker, _SimpleBlockTracker2);\n\n function UpdatableBlockTracker() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _SimpleBlockTracker2.apply(this, arguments));\n }\n\n UpdatableBlockTracker.prototype.reset = function (env) {\n var destroyables = this.destroyables,\n i;\n\n if (destroyables && destroyables.length) {\n for (i = 0; i < destroyables.length; i++) {\n env.didDestroy(destroyables[i]);\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 = function () {\n function BlockListTracker(parent, boundList) {\n\n this.parent = parent;\n this.boundList = boundList;\n this.parent = parent;\n this.boundList = boundList;\n }\n\n BlockListTracker.prototype.destroy = function () {\n this.boundList.forEachNode(function (node) {\n return node.destroy();\n });\n };\n\n BlockListTracker.prototype.parentElement = function () {\n return this.parent;\n };\n\n BlockListTracker.prototype.firstNode = function () {\n var head = this.boundList.head();\n return head && head.firstNode();\n };\n\n BlockListTracker.prototype.lastNode = function () {\n var tail = this.boundList.tail();\n return tail && tail.lastNode();\n };\n\n BlockListTracker.prototype.openElement = function () {};\n\n BlockListTracker.prototype.closeElement = function () {};\n\n BlockListTracker.prototype.didAppendNode = function () {};\n\n BlockListTracker.prototype.didAppendBounds = function () {};\n\n BlockListTracker.prototype.newDestroyable = function () {};\n\n BlockListTracker.prototype.finalize = function () {};\n\n return BlockListTracker;\n }();\n\n var HI = 0x80000000;\n\n\n var InnerStack = 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\n\n this.inner = inner;\n this.js = js;\n }\n\n InnerStack.prototype.slice = function (start, end) {\n var inner = void 0;\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 return new InnerStack(inner, this.js.slice(start, end));\n };\n\n InnerStack.prototype.sliceInner = function (start, end) {\n var out = [],\n i;\n for (i = start; i < end; i++) {\n out.push(this.get(i));\n }\n return out;\n };\n\n InnerStack.prototype.copy = function (from, to) {\n this.inner.copy(from, to);\n };\n\n InnerStack.prototype.write = function (pos, value) {\n var idx;\n\n if (isImmediate(value)) {\n this.inner.writeRaw(pos, encodeImmediate(value));\n } else {\n idx = this.js.length;\n\n this.js.push(value);\n this.inner.writeRaw(pos, idx | HI);\n }\n };\n\n InnerStack.prototype.writeSmi = function (pos, value) {\n this.inner.writeSmi(pos, value);\n };\n\n InnerStack.prototype.writeImmediate = function (pos, value) {\n this.inner.writeRaw(pos, value);\n };\n\n InnerStack.prototype.get = function (pos) {\n var value = this.inner.getRaw(pos);\n if (value & HI) {\n return this.js[value & 0x7fffffff];\n } else {\n return decodeImmediate(value);\n }\n };\n\n InnerStack.prototype.getSmi = function (pos) {\n return this.inner.getSmi(pos);\n };\n\n InnerStack.prototype.reset = function () {\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 = function () {\n function EvaluationStack(stack, fp, sp) {\n\n this.stack = stack;\n this.fp = fp;\n this.sp = sp;\n }\n\n EvaluationStack.empty = function () {\n return new this(new InnerStack(), 0, -1);\n };\n\n EvaluationStack.restore = function (snapshot) {\n var stack = new InnerStack(),\n i;\n for (i = 0; i < snapshot.length; i++) {\n stack.write(i, snapshot[i]);\n }\n return new this(stack, 0, snapshot.length - 1);\n };\n\n EvaluationStack.prototype.push = function (value) {\n this.stack.write(++this.sp, value);\n };\n\n EvaluationStack.prototype.pushSmi = function (value) {\n this.stack.writeSmi(++this.sp, value);\n };\n\n EvaluationStack.prototype.pushImmediate = function (value) {\n this.stack.writeImmediate(++this.sp, encodeImmediate(value));\n };\n\n EvaluationStack.prototype.pushEncodedImmediate = function (value) {\n this.stack.writeImmediate(++this.sp, value);\n };\n\n EvaluationStack.prototype.pushNull = function () {\n this.stack.writeImmediate(++this.sp, 19 /* Null */);\n };\n\n EvaluationStack.prototype.dup = function () {\n var position = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.sp;\n\n this.stack.copy(position, ++this.sp);\n };\n\n EvaluationStack.prototype.copy = function (from, to) {\n this.stack.copy(from, to);\n };\n\n EvaluationStack.prototype.pop = function () {\n var n = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n\n var top = this.stack.get(this.sp);\n this.sp -= n;\n return top;\n };\n\n EvaluationStack.prototype.popSmi = function () {\n return this.stack.getSmi(this.sp--);\n };\n\n EvaluationStack.prototype.peek = function () {\n var offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n\n return this.stack.get(this.sp - offset);\n };\n\n EvaluationStack.prototype.peekSmi = function () {\n var offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n\n return this.stack.getSmi(this.sp - offset);\n };\n\n EvaluationStack.prototype.get = function (offset) {\n var base = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.fp;\n\n return this.stack.get(base + offset);\n };\n\n EvaluationStack.prototype.getSmi = function (offset) {\n var base = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.fp;\n\n return this.stack.getSmi(base + offset);\n };\n\n EvaluationStack.prototype.set = function (value, offset) {\n var base = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.fp;\n\n this.stack.write(base + offset, value);\n };\n\n EvaluationStack.prototype.slice = function (start, end) {\n return this.stack.slice(start, end);\n };\n\n EvaluationStack.prototype.sliceArray = function (start, end) {\n return this.stack.sliceInner(start, end);\n };\n\n EvaluationStack.prototype.capture = function (items) {\n var end = this.sp + 1;\n\n return this.stack.sliceInner(end - items, end);\n };\n\n EvaluationStack.prototype.reset = function () {\n this.stack.reset();\n };\n\n EvaluationStack.prototype.toArray = function () {\n return this.stack.sliceInner(this.fp, this.sp + 1);\n };\n\n return EvaluationStack;\n }();\n\n function isImmediate(value) {\n var abs;\n\n if (value === null || value === undefined) return true;\n switch (typeof value) {\n case 'boolean':\n case 'undefined':\n return true;\n case 'number':\n // not an integer\n if (value % 1 !== 0) return false;\n abs = Math.abs(value);\n // too big\n\n if (abs > HI) return false;\n return true;\n default:\n return false;\n }\n }\n function encodeSmi(primitive) {\n if (primitive < 0) {\n return Math.abs(primitive) << 3 | 4 /* NEGATIVE */;\n } else {\n return primitive << 3 | 0 /* NUMBER */;\n }\n }\n function encodeImmediate(primitive) {\n switch (typeof primitive) {\n case 'number':\n return encodeSmi(primitive);\n case 'boolean':\n return primitive ? 11 /* True */ : 3 /* False */;\n case 'object':\n // assume null\n return 19 /* Null */;\n case 'undefined':\n return 27 /* Undef */;\n default:\n throw (0, _util.unreachable)();\n }\n }\n function decodeSmi(smi) {\n switch (smi & 7) {\n case 0 /* NUMBER */:\n return smi >> 3;\n case 4 /* NEGATIVE */:\n return -(smi >> 3);\n default:\n throw (0, _util.unreachable)();\n }\n }\n function decodeImmediate(immediate) {\n switch (immediate) {\n case 3 /* False */:\n return false;\n case 11 /* True */:\n return true;\n case 19 /* Null */:\n return null;\n case 27 /* Undef */:\n return undefined;\n default:\n return decodeSmi(immediate);\n }\n }\n\n var UpdatingVM = function () {\n function UpdatingVM(env, program, _ref56) {\n var _ref56$alwaysRevalida = _ref56.alwaysRevalidate,\n alwaysRevalidate = _ref56$alwaysRevalida === undefined ? false : _ref56$alwaysRevalida;\n\n\n this.frameStack = new _util.Stack();\n this.env = env;\n this.constants = program.constants;\n this.dom = env.getDOM();\n this.alwaysRevalidate = alwaysRevalidate;\n }\n\n UpdatingVM.prototype.execute = function (opcodes, handler) {\n var frameStack = this.frameStack,\n opcode;\n\n this.try(opcodes, handler);\n while (true) {\n if (frameStack.isEmpty()) break;\n opcode = this.frame.nextStatement();\n\n if (opcode === null) {\n this.frameStack.pop();\n continue;\n }\n opcode.evaluate(this);\n }\n };\n\n UpdatingVM.prototype.goto = function (op) {\n this.frame.goto(op);\n };\n\n UpdatingVM.prototype.try = function (ops, handler) {\n this.frameStack.push(new UpdatingVMFrame(ops, handler));\n };\n\n UpdatingVM.prototype.throw = function () {\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 var BlockOpcode = function (_UpdatingOpcode9) {\n (0, _emberBabel.inherits)(BlockOpcode, _UpdatingOpcode9);\n\n function BlockOpcode(start, state, runtime, bounds$$1, children) {\n\n var _this28 = (0, _emberBabel.possibleConstructorReturn)(this, _UpdatingOpcode9.call(this));\n\n _this28.start = start;\n _this28.state = state;\n _this28.runtime = runtime;\n _this28.type = 'block';\n _this28.next = null;\n _this28.prev = null;\n _this28.children = children;\n _this28.bounds = bounds$$1;\n return _this28;\n }\n\n BlockOpcode.prototype.parentElement = function () {\n return this.bounds.parentElement();\n };\n\n BlockOpcode.prototype.firstNode = function () {\n return this.bounds.firstNode();\n };\n\n BlockOpcode.prototype.lastNode = function () {\n return this.bounds.lastNode();\n };\n\n BlockOpcode.prototype.evaluate = function (vm) {\n vm.try(this.children, null);\n };\n\n BlockOpcode.prototype.destroy = function () {\n this.bounds.destroy();\n };\n\n BlockOpcode.prototype.didDestroy = function () {\n this.runtime.env.didDestroy(this.bounds);\n };\n\n return BlockOpcode;\n }(UpdatingOpcode);\n\n var TryOpcode = function (_BlockOpcode) {\n (0, _emberBabel.inherits)(TryOpcode, _BlockOpcode);\n\n function TryOpcode(start, state, runtime, bounds$$1, children) {\n\n var _this29 = (0, _emberBabel.possibleConstructorReturn)(this, _BlockOpcode.call(this, start, state, runtime, bounds$$1, children));\n\n _this29.type = 'try';\n _this29.tag = _this29._tag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n return _this29;\n }\n\n TryOpcode.prototype.didInitializeChildren = function () {\n this._tag.inner.update((0, _reference.combineSlice)(this.children));\n };\n\n TryOpcode.prototype.evaluate = function (vm) {\n vm.try(this.children, this);\n };\n\n TryOpcode.prototype.handleException = function () {\n var _this30 = this;\n\n var state = this.state,\n bounds$$1 = this.bounds,\n children = this.children,\n start = this.start,\n prev = this.prev,\n next = this.next,\n runtime = this.runtime;\n\n children.clear();\n var elementStack = NewElementBuilder.resume(runtime.env, bounds$$1, bounds$$1.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(_this30);\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 = function () {\n function ListRevalidationDelegate(opcode, marker) {\n\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 ListRevalidationDelegate.prototype.insert = function (key, item, memo, before) {\n var map = this.map,\n opcode = this.opcode,\n updating = this.updating;\n\n var nextSibling = null;\n var reference = null;\n if (before) {\n reference = map[before];\n nextSibling = reference['bounds'].firstNode();\n } else {\n nextSibling = this.marker;\n }\n var vm = opcode.vmForInsertion(nextSibling);\n var tryOpcode = null;\n var start = opcode.start;\n\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 ListRevalidationDelegate.prototype.retain = function () {};\n\n ListRevalidationDelegate.prototype.move = function (key, _item, _memo, before) {\n var map = this.map,\n updating = this.updating;\n\n var entry = map[key];\n var reference = map[before] || null;\n if (before) {\n _move(entry, reference.firstNode());\n } else {\n _move(entry, this.marker);\n }\n updating.remove(entry);\n updating.insertBefore(entry, reference);\n };\n\n ListRevalidationDelegate.prototype.delete = function (key) {\n var map = this.map;\n\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 ListRevalidationDelegate.prototype.done = function () {\n this.opcode.didInitializeChildren(this.didInsert || this.didDelete);\n };\n\n return ListRevalidationDelegate;\n }();\n\n var ListBlockOpcode = function (_BlockOpcode2) {\n (0, _emberBabel.inherits)(ListBlockOpcode, _BlockOpcode2);\n\n function ListBlockOpcode(start, state, runtime, bounds$$1, children, artifacts) {\n\n var _this31 = (0, _emberBabel.possibleConstructorReturn)(this, _BlockOpcode2.call(this, start, state, runtime, bounds$$1, children));\n\n _this31.type = 'list-block';\n _this31.map = (0, _util.dict)();\n _this31.lastIterated = _reference.INITIAL;\n _this31.artifacts = artifacts;\n var _tag = _this31._tag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n _this31.tag = (0, _reference.combine)([artifacts.tag, _tag]);\n return _this31;\n }\n\n ListBlockOpcode.prototype.didInitializeChildren = function () {\n var listDidChange = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n this.lastIterated = this.artifacts.tag.value();\n if (listDidChange) {\n this._tag.inner.update((0, _reference.combineSlice)(this.children));\n }\n };\n\n ListBlockOpcode.prototype.evaluate = function (vm) {\n var artifacts = this.artifacts,\n lastIterated = this.lastIterated,\n bounds$$1,\n dom,\n marker,\n target,\n synchronizer;\n\n if (!artifacts.tag.validate(lastIterated)) {\n bounds$$1 = this.bounds;\n dom = vm.dom;\n marker = dom.createComment('');\n\n dom.insertAfter(bounds$$1.parentElement(), marker, bounds$$1.lastNode());\n target = new ListRevalidationDelegate(this, marker);\n synchronizer = new _reference.IteratorSynchronizer({ target: target, artifacts: artifacts });\n\n synchronizer.sync();\n this.parentElement().removeChild(marker);\n }\n // Run now-updated updating opcodes\n _BlockOpcode2.prototype.evaluate.call(this, vm);\n };\n\n ListBlockOpcode.prototype.vmForInsertion = function (nextSibling) {\n var bounds$$1 = this.bounds,\n state = this.state,\n runtime = this.runtime;\n\n var elementStack = NewElementBuilder.forInitialRender(runtime.env, {\n element: bounds$$1.parentElement(),\n nextSibling: nextSibling\n });\n return VM.resume(state, runtime, elementStack);\n };\n\n return ListBlockOpcode;\n }(BlockOpcode);\n\n var UpdatingVMFrame = function () {\n function UpdatingVMFrame(ops, exceptionHandler) {\n\n this.ops = ops;\n this.exceptionHandler = exceptionHandler;\n this.current = ops.head();\n }\n\n UpdatingVMFrame.prototype.goto = function (op) {\n this.current = op;\n };\n\n UpdatingVMFrame.prototype.nextStatement = function () {\n var current = this.current,\n ops = this.ops;\n\n if (current) this.current = ops.nextNode(current);\n return current;\n };\n\n UpdatingVMFrame.prototype.handleException = function () {\n if (this.exceptionHandler) {\n this.exceptionHandler.handleException();\n }\n };\n\n return UpdatingVMFrame;\n }();\n\n var RenderResult = function () {\n function RenderResult(env, program, updating, bounds$$1) {\n\n this.env = env;\n this.program = program;\n this.updating = updating;\n this.bounds = bounds$$1;\n }\n\n RenderResult.prototype.rerender = function () {\n var _ref57 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : { alwaysRevalidate: false },\n _ref57$alwaysRevalida = _ref57.alwaysRevalidate,\n alwaysRevalidate = _ref57$alwaysRevalida === undefined ? false : _ref57$alwaysRevalida;\n\n var env = this.env,\n program = this.program,\n updating = this.updating;\n\n var vm = new UpdatingVM(env, program, { alwaysRevalidate: alwaysRevalidate });\n vm.execute(updating, this);\n };\n\n RenderResult.prototype.parentElement = function () {\n return this.bounds.parentElement();\n };\n\n RenderResult.prototype.firstNode = function () {\n return this.bounds.firstNode();\n };\n\n RenderResult.prototype.lastNode = function () {\n return this.bounds.lastNode();\n };\n\n RenderResult.prototype.handleException = function () {\n throw 'this should never happen';\n };\n\n RenderResult.prototype.destroy = function () {\n this.bounds.destroy();\n clear(this.bounds);\n };\n\n return RenderResult;\n }();\n\n var Arguments = function () {\n function Arguments() {\n\n this.stack = null;\n this.positional = new PositionalArguments();\n this.named = new NamedArguments();\n this.blocks = new BlockArguments();\n }\n\n Arguments.prototype.empty = function (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 Arguments.prototype.setup = function (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 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\n blocks.setup(stack, positionalBase - blocksCount * 3, blocksCount, blockNames);\n };\n\n Arguments.prototype.at = function (pos) {\n return this.positional.at(pos);\n };\n\n Arguments.prototype.realloc = function (offset) {\n var stack = this.stack,\n positional,\n named,\n newBase,\n length,\n i;\n\n if (offset > 0 && stack !== null) {\n positional = this.positional, named = this.named;\n newBase = positional.base + offset;\n length = positional.length + named.length;\n\n for (i = length - 1; i >= 0; i--) {\n stack.copy(i + positional.base, i + newBase);\n }\n positional.base += offset;\n named.base += offset;\n stack.sp += offset;\n }\n };\n\n Arguments.prototype.capture = function () {\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 {\n tag: this.tag,\n length: this.length,\n positional: positional,\n named: named\n };\n };\n\n Arguments.prototype.clear = function () {\n var stack = this.stack,\n length = this.length;\n\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 PositionalArguments = function () {\n function PositionalArguments() {\n\n this.base = 0;\n this.length = 0;\n this.stack = null;\n this._tag = null;\n this._references = null;\n }\n\n PositionalArguments.prototype.empty = function (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 PositionalArguments.prototype.setup = function (stack, base, length) {\n this.stack = stack;\n this.base = base;\n this.length = length;\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 PositionalArguments.prototype.at = function (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 return stack.get(position, base);\n };\n\n PositionalArguments.prototype.capture = function () {\n return new CapturedPositionalArguments(this.tag, this.references);\n };\n\n PositionalArguments.prototype.prepend = function (other) {\n var additions = other.length,\n base,\n length,\n stack,\n i;\n if (additions > 0) {\n base = this.base, length = this.length, stack = this.stack;\n\n\n this.base = base = base - additions;\n this.length = length + additions;\n for (i = 0; i < additions; i++) {\n stack.set(other.at(i), i, base);\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 if (!tag) {\n tag = this._tag = (0, _reference.combineTagged)(this.references);\n }\n return tag;\n }\n }, {\n key: 'references',\n get: function () {\n var references = this._references,\n stack,\n base,\n length;\n if (!references) {\n stack = this.stack, base = this.base, length = this.length;\n\n\n references = this._references = stack.sliceArray(base, base + length);\n }\n return references;\n }\n }]);\n return PositionalArguments;\n }();\n\n var CapturedPositionalArguments = function () {\n function CapturedPositionalArguments(tag, references) {\n var length = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : references.length;\n\n\n this.tag = tag;\n this.references = references;\n this.length = length;\n }\n\n CapturedPositionalArguments.empty = function () {\n return new CapturedPositionalArguments(_reference.CONSTANT_TAG, _util.EMPTY_ARRAY, 0);\n };\n\n CapturedPositionalArguments.prototype.at = function (position) {\n return this.references[position];\n };\n\n CapturedPositionalArguments.prototype.value = function () {\n return this.references.map(this.valueOf);\n };\n\n CapturedPositionalArguments.prototype.get = function (name) {\n var references = this.references,\n length = this.length,\n idx;\n\n if (name === 'length') {\n return PrimitiveReference.create(length);\n } else {\n 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 CapturedPositionalArguments.prototype.valueOf = function (reference) {\n return reference.value();\n };\n\n return CapturedPositionalArguments;\n }();\n\n var NamedArguments = function () {\n function NamedArguments() {\n\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 NamedArguments.prototype.empty = function (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 NamedArguments.prototype.setup = function (stack, base, length, names, synthetic) {\n this.stack = stack;\n this.base = base;\n this.length = length;\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 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 NamedArguments.prototype.has = function (name) {\n return this.names.indexOf(name) !== -1;\n };\n\n NamedArguments.prototype.get = function (name) {\n var synthetic = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n var base = this.base,\n stack = this.stack;\n\n var names = synthetic ? this.names : this.atNames;\n var idx = names.indexOf(name);\n if (idx === -1) {\n return UNDEFINED_REFERENCE;\n }\n return stack.get(idx, base);\n };\n\n NamedArguments.prototype.capture = function () {\n return new CapturedNamedArguments(this.tag, this.names, this.references);\n };\n\n NamedArguments.prototype.merge = function (other) {\n var extras = other.length,\n names,\n length,\n stack,\n extraNames,\n i,\n name,\n idx;\n\n if (extras > 0) {\n names = this.names, length = this.length, stack = this.stack;\n extraNames = other.names;\n\n\n if (Object.isFrozen(names) && names.length === 0) {\n names = [];\n }\n for (i = 0; i < extras; i++) {\n name = extraNames[i];\n idx = names.indexOf(name);\n\n if (idx === -1) {\n length = names.push(name);\n stack.push(other.references[i]);\n }\n }\n this.length = length;\n this._references = null;\n this._names = names;\n this._atNames = null;\n }\n };\n\n NamedArguments.prototype.toSyntheticName = function (name) {\n return name.slice(1);\n };\n\n NamedArguments.prototype.toAtName = function (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 if (!names) {\n names = this._names = this._atNames.map(this.toSyntheticName);\n }\n return names;\n }\n }, {\n key: 'atNames',\n get: function () {\n var atNames = this._atNames;\n if (!atNames) {\n atNames = this._atNames = this._names.map(this.toAtName);\n }\n return atNames;\n }\n }, {\n key: 'references',\n get: function () {\n var references = this._references,\n base,\n length,\n stack;\n if (!references) {\n base = this.base, length = this.length, stack = this.stack;\n\n\n references = this._references = stack.sliceArray(base, base + length);\n }\n return references;\n }\n }]);\n return NamedArguments;\n }();\n\n var CapturedNamedArguments = function () {\n function CapturedNamedArguments(tag, names, references) {\n\n this.tag = tag;\n this.names = names;\n this.references = references;\n this.length = names.length;\n this._map = null;\n }\n\n CapturedNamedArguments.prototype.has = function (name) {\n return this.names.indexOf(name) !== -1;\n };\n\n CapturedNamedArguments.prototype.get = function (name) {\n var names = this.names,\n references = this.references;\n\n var idx = names.indexOf(name);\n if (idx === -1) {\n return UNDEFINED_REFERENCE;\n } else {\n return references[idx];\n }\n };\n\n CapturedNamedArguments.prototype.value = function () {\n var names = this.names,\n references = this.references,\n i,\n name;\n\n var out = (0, _util.dict)();\n for (i = 0; i < names.length; i++) {\n name = names[i];\n\n out[name] = references[i].value();\n }\n return out;\n };\n\n (0, _emberBabel.createClass)(CapturedNamedArguments, [{\n key: 'map',\n get: function () {\n var map = this._map,\n names,\n references,\n i,\n name;\n if (!map) {\n names = this.names, references = this.references;\n\n\n map = this._map = (0, _util.dict)();\n for (i = 0; i < names.length; i++) {\n name = names[i];\n\n map[name] = references[i];\n }\n }\n return map;\n }\n }]);\n return CapturedNamedArguments;\n }();\n\n var BlockArguments = function () {\n function BlockArguments() {\n\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 BlockArguments.prototype.empty = function (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 BlockArguments.prototype.setup = function (stack, base, length, names) {\n this.stack = stack;\n this.names = names;\n this.base = base;\n this.length = length;\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 BlockArguments.prototype.has = function (name) {\n return this.names.indexOf(name) !== -1;\n };\n\n BlockArguments.prototype.get = function (name) {\n var base = this.base,\n stack = this.stack,\n names = this.names;\n\n var idx = names.indexOf(name);\n if (names.indexOf(name) === -1) {\n return null;\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 var handle = stack.get(idx * 3 + 2, base);\n return handle === null ? null : [handle, scope, table];\n };\n\n BlockArguments.prototype.capture = function () {\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 base,\n length,\n stack;\n if (!values) {\n base = this.base, length = this.length, stack = this.stack;\n\n\n values = this.internalValues = stack.sliceArray(base, base + length * 3);\n }\n return values;\n }\n }]);\n return BlockArguments;\n }();\n\n var CapturedBlockArguments = function () {\n function CapturedBlockArguments(names, values) {\n\n this.names = names;\n this.values = values;\n this.length = names.length;\n }\n\n CapturedBlockArguments.prototype.has = function (name) {\n return this.names.indexOf(name) !== -1;\n };\n\n CapturedBlockArguments.prototype.get = function (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 = {\n tag: _reference.CONSTANT_TAG,\n length: 0,\n positional: EMPTY_POSITIONAL,\n named: EMPTY_NAMED\n };\n\n var VM = function () {\n function VM(runtime, scope, dynamicScope, elementStack) {\n var _this32 = 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(_this32, opcode, opcode.type);\n },\n debugAfter: function (opcode, state) {\n APPEND_OPCODES.debugAfter(_this32, opcode, opcode.type, state);\n }\n });\n }\n\n VM.prototype.fetch = function (register) {\n this.stack.push(this[_vm2.Register[register]]);\n };\n\n VM.prototype.load = function (register) {\n this[_vm2.Register[register]] = this.stack.pop();\n };\n\n VM.prototype.fetchValue = function (register) {\n return this[_vm2.Register[register]];\n };\n\n VM.prototype.loadValue = function (register, value) {\n this[_vm2.Register[register]] = value;\n };\n\n VM.prototype.pushFrame = function () {\n this.inner.pushFrame();\n };\n\n VM.prototype.popFrame = function () {\n this.inner.popFrame();\n };\n\n VM.prototype.goto = function (offset) {\n this.inner.goto(offset);\n };\n\n VM.prototype.call = function (handle) {\n this.inner.call(handle);\n };\n\n VM.prototype.returnTo = function (offset) {\n this.inner.returnTo(offset);\n };\n\n VM.prototype.return = function () {\n this.inner.return();\n };\n\n VM.initial = function (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({ program: program, env: env }, 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 (program, env, elementStack) {\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({ program: program, env: env }, Scope.root(UNDEFINED_REFERENCE, 0), dynamicScope, elementStack);\n vm.updatingOpcodeStack.push(new _util.LinkedList());\n return vm;\n };\n\n VM.resume = function (_ref58, runtime, stack) {\n var scope = _ref58.scope,\n dynamicScope = _ref58.dynamicScope;\n\n return new VM(runtime, scope, dynamicScope, stack);\n };\n\n VM.prototype.capture = function (args) {\n return {\n dynamicScope: this.dynamicScope(),\n scope: this.scope(),\n stack: this.stack.capture(args)\n };\n };\n\n VM.prototype.beginCacheGroup = function () {\n this.cacheGroups.push(this.updating().tail());\n };\n\n VM.prototype.commitCacheGroup = function () {\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 VM.prototype.enter = function (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 VM.prototype.iterate = function (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();\n // let ip = this.ip;\n // this.ip = end + 4;\n // this.frames.push(ip);\n return new TryOpcode(this.heap.gethandle(this.pc), state, this.runtime, tracker, new _util.LinkedList());\n };\n\n VM.prototype.enterItem = function (key, opcode) {\n this.listBlock().map[key] = opcode;\n this.didEnter(opcode);\n };\n\n VM.prototype.enterList = function (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 VM.prototype.didEnter = function (opcode) {\n this.updateWith(opcode);\n this.updatingOpcodeStack.push(opcode.children);\n };\n\n VM.prototype.exit = function () {\n this.elements().popBlock();\n this.updatingOpcodeStack.pop();\n var parent = this.updating().tail();\n parent.didInitializeChildren();\n };\n\n VM.prototype.exitList = function () {\n this.exit();\n this.listBlockStack.pop();\n };\n\n VM.prototype.updateWith = function (opcode) {\n this.updating().append(opcode);\n };\n\n VM.prototype.listBlock = function () {\n return this.listBlockStack.current;\n };\n\n VM.prototype.updating = function () {\n return this.updatingOpcodeStack.current;\n };\n\n VM.prototype.elements = function () {\n return this.elementStack;\n };\n\n VM.prototype.scope = function () {\n return this.scopeStack.current;\n };\n\n VM.prototype.dynamicScope = function () {\n return this.dynamicScopeStack.current;\n };\n\n VM.prototype.pushChildScope = function () {\n this.scopeStack.push(this.scope().child());\n };\n\n VM.prototype.pushDynamicScope = function () {\n var child = this.dynamicScope().child();\n this.dynamicScopeStack.push(child);\n return child;\n };\n\n VM.prototype.pushRootScope = function (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 VM.prototype.pushScope = function (scope) {\n this.scopeStack.push(scope);\n };\n\n VM.prototype.popScope = function () {\n this.scopeStack.pop();\n };\n\n VM.prototype.popDynamicScope = function () {\n this.dynamicScopeStack.pop();\n };\n\n VM.prototype.newDestroyable = function (d) {\n this.elements().didAddDestroyable(d);\n };\n\n VM.prototype.getSelf = function () {\n return this.scope().getSelf();\n };\n\n VM.prototype.referenceForSymbol = function (symbol) {\n return this.scope().getSymbol(symbol);\n };\n\n VM.prototype.execute = function (start, initialize) {\n this.pc = this.heap.getaddr(start);\n if (initialize) initialize(this);\n var result = void 0;\n while (true) {\n result = this.next();\n if (result.done) break;\n }\n return result.value;\n };\n\n VM.prototype.next = function () {\n var env = this.env,\n program = this.program,\n updatingOpcodeStack = this.updatingOpcodeStack,\n elementStack = this.elementStack;\n\n var opcode = this.inner.nextStatement();\n var result = void 0;\n if (opcode !== null) {\n this.inner.evaluateOuter(opcode, this);\n result = { done: false, value: null };\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 return result;\n };\n\n VM.prototype.bindDynamicScope = function (names) {\n var scope = this.dynamicScope(),\n i,\n name;\n for (i = names.length - 1; i >= 0; i--) {\n name = this.constants.getString(names[i]);\n\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 }, {\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\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 var TemplateIteratorImpl = function () {\n function TemplateIteratorImpl(vm) {\n\n this.vm = vm;\n }\n\n TemplateIteratorImpl.prototype.next = function () {\n return this.vm.next();\n };\n\n return TemplateIteratorImpl;\n }();\n\n var DynamicVarReference = function () {\n function DynamicVarReference(scope, nameRef) {\n\n this.scope = scope;\n this.nameRef = nameRef;\n var varTag = this.varTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n this.tag = (0, _reference.combine)([nameRef.tag, varTag]);\n }\n\n DynamicVarReference.prototype.value = function () {\n return this.getVar().value();\n };\n\n DynamicVarReference.prototype.get = function (key) {\n return this.getVar().get(key);\n };\n\n DynamicVarReference.prototype.getVar = function () {\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 /** @internal */\n\n\n var RehydratingCursor = function (_Cursor) {\n (0, _emberBabel.inherits)(RehydratingCursor, _Cursor);\n\n function RehydratingCursor(element, nextSibling, startingBlockDepth) {\n\n var _this33 = (0, _emberBabel.possibleConstructorReturn)(this, _Cursor.call(this, element, nextSibling));\n\n _this33.startingBlockDepth = startingBlockDepth;\n _this33.candidate = null;\n _this33.injectedOmittedNode = false;\n _this33.openBlockDepth = startingBlockDepth - 1;\n return _this33;\n }\n\n return RehydratingCursor;\n }(Cursor);\n\n var RehydrateBuilder = function (_NewElementBuilder) {\n (0, _emberBabel.inherits)(RehydrateBuilder, _NewElementBuilder);\n\n // private candidate: Option<Simple.Node> = null;\n function RehydrateBuilder(env, parentNode, nextSibling) {\n\n var _this34 = (0, _emberBabel.possibleConstructorReturn)(this, _NewElementBuilder.call(this, env, parentNode, nextSibling));\n\n _this34.unmatchedAttributes = null;\n _this34.blockDepth = 0;\n if (nextSibling) throw new Error('Rehydration with nextSibling not supported');\n var node = _this34.currentCursor.element.firstChild;\n while (node !== null) {\n if (isComment(node) && (0, _util.isSerializationFirstNode)(node)) {\n break;\n }\n node = node.nextSibling;\n }\n\n _this34.candidate = node;\n return _this34;\n }\n\n RehydrateBuilder.prototype.pushElement = function (element, nextSibling) {\n var _blockDepth = this.blockDepth,\n blockDepth = _blockDepth === undefined ? 0 : _blockDepth;\n\n var cursor = new RehydratingCursor(element, nextSibling, blockDepth);\n var currentCursor = this.currentCursor;\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;\n // where to continue when we pop\n currentCursor.candidate = element.nextSibling;\n }\n }\n this.cursorStack.push(cursor);\n };\n\n RehydrateBuilder.prototype.clearMismatch = function (candidate) {\n var current = candidate,\n openBlockDepth;\n var currentCursor = this.currentCursor;\n if (currentCursor !== null) {\n 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 }\n // current cursor parentNode should be openCandidate if element\n // or openCandidate.parentNode if comment\n currentCursor.nextSibling = current;\n // disable rehydration until we popElement or closeBlock for openBlockDepth\n currentCursor.candidate = null;\n }\n };\n\n RehydrateBuilder.prototype.__openBlock = function () {\n var currentCursor = this.currentCursor;\n\n if (currentCursor === null) return;\n var blockDepth = this.blockDepth;\n this.blockDepth++;\n var candidate = currentCursor.candidate;\n\n if (candidate === null) return;\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 RehydrateBuilder.prototype.__closeBlock = function () {\n var currentCursor = this.currentCursor;\n\n if (currentCursor === null) return;\n // openBlock is the last rehydrated open block\n var openBlockDepth = currentCursor.openBlockDepth;\n // this currently is the expected next open block depth\n this.blockDepth--;\n var candidate = currentCursor.candidate;\n\n // rehydrating\n if (candidate !== null) {\n\n if (isComment(candidate) && getCloseBlockDepth(candidate) === openBlockDepth) {\n currentCursor.candidate = this.remove(candidate);\n currentCursor.openBlockDepth--;\n } else {\n this.clearMismatch(candidate);\n }\n // if the openBlockDepth matches the blockDepth we just closed to\n // then restore rehydration\n }\n if (currentCursor.openBlockDepth === this.blockDepth) {\n\n currentCursor.candidate = this.remove(currentCursor.nextSibling);\n currentCursor.openBlockDepth--;\n }\n };\n\n RehydrateBuilder.prototype.__appendNode = function (node) {\n var candidate = this.candidate;\n\n // This code path is only used when inserting precisely one node. It needs more\n // comparison logic, but we can probably lean on the cases where this code path\n // is actually used.\n if (candidate) {\n return candidate;\n } else {\n return _NewElementBuilder.prototype.__appendNode.call(this, node);\n }\n };\n\n RehydrateBuilder.prototype.__appendHTML = function (html) {\n var candidateBounds = this.markerBounds(),\n first,\n last,\n newBounds,\n possibleEmptyMarker;\n if (candidateBounds) {\n first = candidateBounds.firstNode();\n last = candidateBounds.lastNode();\n newBounds = bounds(this.element, first.nextSibling, last.previousSibling);\n possibleEmptyMarker = this.remove(first);\n\n this.remove(last);\n if (possibleEmptyMarker !== null && isEmpty$1(possibleEmptyMarker)) {\n this.candidate = this.remove(possibleEmptyMarker);\n if (this.candidate !== null) {\n this.clearMismatch(this.candidate);\n }\n }\n return newBounds;\n } else {\n return _NewElementBuilder.prototype.__appendHTML.call(this, html);\n }\n };\n\n RehydrateBuilder.prototype.remove = function (node) {\n var element = node.parentNode;\n var next = node.nextSibling;\n element.removeChild(node);\n return next;\n };\n\n RehydrateBuilder.prototype.markerBounds = function () {\n var _candidate = this.candidate,\n first,\n last;\n if (_candidate && isMarker(_candidate)) {\n first = _candidate;\n last = first.nextSibling;\n\n while (last && !isMarker(last)) {\n last = last.nextSibling;\n }\n return bounds(this.element, first, last);\n } else {\n return null;\n }\n };\n\n RehydrateBuilder.prototype.__appendText = function (string) {\n var candidate = this.candidate,\n next,\n text;\n\n if (candidate) {\n if (isTextNode(candidate)) {\n if (candidate.nodeValue !== string) {\n candidate.nodeValue = string;\n }\n this.candidate = candidate.nextSibling;\n return candidate;\n } else if (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 next = this.remove(candidate);\n\n this.candidate = next;\n text = this.dom.createTextNode(string);\n\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 RehydrateBuilder.prototype.__appendComment = function (string) {\n var _candidate = this.candidate;\n if (_candidate && isComment(_candidate)) {\n if (_candidate.nodeValue !== string) {\n _candidate.nodeValue = string;\n }\n this.candidate = _candidate.nextSibling;\n return _candidate;\n } else if (_candidate) {\n this.clearMismatch(_candidate);\n }\n return _NewElementBuilder.prototype.__appendComment.call(this, string);\n };\n\n RehydrateBuilder.prototype.__openElement = function (tag) {\n var _candidate = this.candidate;\n if (_candidate && isElement(_candidate) && isSameNodeType(_candidate, tag)) {\n this.unmatchedAttributes = [].slice.call(_candidate.attributes);\n return _candidate;\n } else if (_candidate) {\n if (isElement(_candidate) && _candidate.tagName === 'TBODY') {\n this.pushElement(_candidate, null);\n this.currentCursor.injectedOmittedNode = true;\n return this.__openElement(tag);\n }\n this.clearMismatch(_candidate);\n }\n return _NewElementBuilder.prototype.__openElement.call(this, tag);\n };\n\n RehydrateBuilder.prototype.__setAttribute = function (name, value, namespace) {\n var unmatched = this.unmatchedAttributes,\n attr;\n if (unmatched) {\n attr = findByName(unmatched, name);\n\n if (attr) {\n if (attr.value !== value) {\n attr.value = value;\n }\n unmatched.splice(unmatched.indexOf(attr), 1);\n return;\n }\n }\n return _NewElementBuilder.prototype.__setAttribute.call(this, name, value, namespace);\n };\n\n RehydrateBuilder.prototype.__setProperty = function (name, value) {\n var unmatched = this.unmatchedAttributes,\n attr;\n if (unmatched) {\n attr = findByName(unmatched, name);\n\n if (attr) {\n if (attr.value !== value) {\n attr.value = value;\n }\n unmatched.splice(unmatched.indexOf(attr), 1);\n return;\n }\n }\n return _NewElementBuilder.prototype.__setProperty.call(this, name, value);\n };\n\n RehydrateBuilder.prototype.__flushElement = function (parent, constructing) {\n var unmatched = this.unmatchedAttributes,\n i;\n\n if (unmatched) {\n for (i = 0; i < unmatched.length; i++) {\n this.constructing.removeAttribute(unmatched[i].name);\n }\n this.unmatchedAttributes = null;\n } else {\n _NewElementBuilder.prototype.__flushElement.call(this, parent, constructing);\n }\n };\n\n RehydrateBuilder.prototype.willCloseElement = function () {\n var candidate = this.candidate,\n currentCursor = this.currentCursor;\n\n if (candidate !== null) {\n this.clearMismatch(candidate);\n }\n if (currentCursor && currentCursor.injectedOmittedNode) {\n this.popElement();\n }\n _NewElementBuilder.prototype.willCloseElement.call(this);\n };\n\n RehydrateBuilder.prototype.getMarker = function (element, guid) {\n var marker = element.querySelector('script[glmr=\"' + guid + '\"]');\n if (marker) {\n return marker;\n }\n throw new Error('Cannot find serialized cursor for `in-element`');\n };\n\n RehydrateBuilder.prototype.__pushRemoteElement = function (element, cursorId) {\n var nextSibling = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null,\n currentCursor,\n candidate,\n tracker;\n\n var marker = this.getMarker(element, cursorId);\n if (marker.parentNode === element) {\n currentCursor = this.currentCursor;\n candidate = currentCursor.candidate;\n\n this.pushElement(element, nextSibling);\n currentCursor.candidate = candidate;\n this.candidate = this.remove(marker);\n tracker = new RemoteBlockTracker(element);\n\n this.pushBlockTracker(tracker, true);\n }\n };\n\n RehydrateBuilder.prototype.didAppendBounds = function (bounds$$1) {\n var last;\n\n _NewElementBuilder.prototype.didAppendBounds.call(this, bounds$$1);\n if (this.candidate) {\n last = bounds$$1.lastNode();\n\n this.candidate = last && last.nextSibling;\n }\n return bounds$$1;\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 return null;\n },\n set: function (node) {\n this.currentCursor.candidate = node;\n }\n }]);\n return RehydrateBuilder;\n }(NewElementBuilder);\n\n function isTextNode(node) {\n return node.nodeType === 3;\n }\n function isComment(node) {\n return node.nodeType === 8;\n }\n function getOpenBlockDepth(node) {\n var boundsDepth = node.nodeValue.match(/^%\\+b:(\\d+)%$/);\n if (boundsDepth && boundsDepth[1]) {\n return Number(boundsDepth[1]);\n } else {\n return null;\n }\n }\n function getCloseBlockDepth(node) {\n var boundsDepth = node.nodeValue.match(/^%\\-b:(\\d+)%$/);\n if (boundsDepth && boundsDepth[1]) {\n return Number(boundsDepth[1]);\n } else {\n return null;\n }\n }\n function isElement(node) {\n return node.nodeType === 1;\n }\n function isMarker(node) {\n return node.nodeType === 8 && node.nodeValue === '%glmr%';\n }\n function isSeparator(node) {\n return node.nodeType === 8 && node.nodeValue === '%|%';\n }\n function isEmpty$1(node) {\n return node.nodeType === 8 && node.nodeValue === '% %';\n }\n function isSameNodeType(candidate, tag) {\n if (candidate.namespaceURI === SVG_NAMESPACE$1) {\n return candidate.tagName === tag;\n }\n return candidate.tagName === tag.toUpperCase();\n }\n function findByName(array, name) {\n var i, attr;\n\n for (i = 0; i < array.length; i++) {\n attr = array[i];\n\n if (attr.name === name) return attr;\n }\n return undefined;\n }\n\n\n exports.renderMain = function (program, env, self, dynamicScope, builder, handle) {\n var vm = VM.initial(program, env, self, dynamicScope, builder, handle);\n return new TemplateIteratorImpl(vm);\n };\n exports.NULL_REFERENCE = NULL_REFERENCE;\n exports.UNDEFINED_REFERENCE = UNDEFINED_REFERENCE;\n exports.PrimitiveReference = PrimitiveReference;\n exports.ConditionalReference = ConditionalReference;\n exports.setDebuggerCallback = function (cb) {\n callback = cb;\n };\n exports.resetDebuggerCallback = function () {\n callback = debugCallback;\n };\n exports.getDynamicVar = function (vm, args) {\n var scope = vm.dynamicScope();\n var nameRef = args.positional.at(0);\n return new DynamicVarReference(scope, nameRef);\n };\n exports.LowLevelVM = VM;\n exports.UpdatingVM = UpdatingVM;\n exports.RenderResult = RenderResult;\n exports.SimpleDynamicAttribute = SimpleDynamicAttribute;\n exports.DynamicAttribute = DynamicAttribute;\n exports.EMPTY_ARGS = EMPTY_ARGS;\n exports.Scope = Scope;\n exports.Environment = Environment;\n exports.DefaultEnvironment = DefaultEnvironment;\n exports.DEFAULT_CAPABILITIES = {\n dynamicLayout: true,\n dynamicTag: true,\n prepareArgs: true,\n createArgs: true,\n attributeHook: false,\n elementHook: false,\n dynamicScope: true,\n createCaller: false,\n updateHook: true,\n createInstance: true\n };\n exports.MINIMAL_CAPABILITIES = {\n dynamicLayout: false,\n dynamicTag: false,\n prepareArgs: false,\n createArgs: false,\n attributeHook: false,\n elementHook: false,\n dynamicScope: false,\n createCaller: false,\n updateHook: false,\n createInstance: false\n };\n exports.CurriedComponentDefinition = CurriedComponentDefinition;\n exports.isCurriedComponentDefinition = isCurriedComponentDefinition;\n exports.curry = function (spec) {\n var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n return new CurriedComponentDefinition(spec, args);\n };\n exports.DOMChanges = helper$1;\n exports.SVG_NAMESPACE = SVG_NAMESPACE$1;\n exports.IDOMChanges = DOMChanges;\n exports.DOMTreeConstruction = DOMTreeConstruction;\n exports.isWhitespace = function (string) {\n return WHITESPACE.test(string);\n };\n exports.insertHTMLBefore = _insertHTMLBefore;\n exports.normalizeProperty = normalizeProperty;\n exports.NewElementBuilder = NewElementBuilder;\n exports.clientBuilder = function (env, cursor) {\n return NewElementBuilder.forInitialRender(env, cursor);\n };\n exports.rehydrationBuilder = function (env, cursor) {\n return RehydrateBuilder.forInitialRender(env, cursor);\n };\n exports.RehydrateBuilder = RehydrateBuilder;\n exports.ConcreteBounds = ConcreteBounds;\n exports.Cursor = Cursor;\n exports.capabilityFlagsFrom = capabilityFlagsFrom;\n exports.hasCapability = hasCapability;\n});","enifed('@glimmer/util', ['exports', 'ember-babel'], function (exports, _emberBabel) {\n 'use strict';\n\n exports.unreachable = exports.expect = exports.unwrap = exports.EMPTY_ARRAY = exports.ListSlice = exports.ListNode = exports.LinkedList = exports.EMPTY_SLICE = exports.dict = exports.DictSet = exports.Stack = exports.SERIALIZATION_FIRST_NODE_STRING = exports.isSerializationFirstNode = exports.initializeGuid = exports.ensureGuid = exports.fillNulls = exports.assign = exports.assert = undefined;\n\n // import Logger from './logger';\n // let alreadyWarned = false;\n\n\n var objKeys = Object.keys;\n\n var GUID = 0;\n function initializeGuid(object) {\n return object._guid = ++GUID;\n }\n function ensureGuid(object) {\n return object._guid || initializeGuid(object);\n }\n\n var SERIALIZATION_FIRST_NODE_STRING = '%+b:0%';\n\n\n function dict() {\n return Object.create(null);\n }\n\n var DictSet = function () {\n function DictSet() {\n\n this.dict = dict();\n }\n\n DictSet.prototype.add = function (obj) {\n if (typeof obj === 'string') this.dict[obj] = obj;else this.dict[ensureGuid(obj)] = obj;\n return this;\n };\n\n DictSet.prototype.delete = function (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 var Stack = function () {\n function Stack() {\n\n this.stack = [];\n this.current = null;\n }\n\n Stack.prototype.push = function (item) {\n this.current = item;\n this.stack.push(item);\n };\n\n Stack.prototype.pop = function () {\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 Stack.prototype.isEmpty = function () {\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 var LinkedList = function () {\n function LinkedList() {\n\n this.clear();\n }\n\n LinkedList.prototype.head = function () {\n return this._head;\n };\n\n LinkedList.prototype.tail = function () {\n return this._tail;\n };\n\n LinkedList.prototype.clear = function () {\n this._head = this._tail = null;\n };\n\n LinkedList.prototype.toArray = function () {\n var out = [];\n this.forEachNode(function (n) {\n return out.push(n);\n });\n return out;\n };\n\n LinkedList.prototype.nextNode = function (node) {\n return node.next;\n };\n\n LinkedList.prototype.forEachNode = function (callback) {\n var node = this._head;\n while (node !== null) {\n callback(node);\n node = node.next;\n }\n };\n\n LinkedList.prototype.insertBefore = function (node) {\n var reference = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\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 LinkedList.prototype.append = function (node) {\n var tail = this._tail;\n if (tail) {\n tail.next = node;\n node.prev = tail;\n node.next = null;\n } else {\n this._head = node;\n }\n return this._tail = node;\n };\n\n LinkedList.prototype.remove = function (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 var ListSlice = function () {\n function ListSlice(head, tail) {\n\n this._head = head;\n this._tail = tail;\n }\n\n ListSlice.prototype.forEachNode = function (callback) {\n var node = this._head;\n while (node !== null) {\n callback(node);\n node = this.nextNode(node);\n }\n };\n\n ListSlice.prototype.head = function () {\n return this._head;\n };\n\n ListSlice.prototype.tail = function () {\n return this._tail;\n };\n\n ListSlice.prototype.toArray = function () {\n var out = [];\n this.forEachNode(function (n) {\n return out.push(n);\n });\n return out;\n };\n\n ListSlice.prototype.nextNode = function (node) {\n if (node === this._tail) return null;\n return node.next;\n };\n\n return ListSlice;\n }();\n\n var EMPTY_SLICE = new ListSlice(null, null);\n\n var EMPTY_ARRAY = Object.freeze([]);\n\n exports.assert = function (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 exports.assign = function (obj) {\n var i, assignment, keys, j, key;\n\n for (i = 1; i < arguments.length; i++) {\n assignment = arguments[i];\n\n if (assignment === null || typeof assignment !== 'object') continue;\n keys = objKeys(assignment);\n\n for (j = 0; j < keys.length; j++) {\n key = keys[j];\n\n obj[key] = assignment[key];\n }\n }\n return obj;\n };\n exports.fillNulls = function (count) {\n var arr = new Array(count),\n i;\n for (i = 0; i < count; i++) {\n arr[i] = null;\n }\n return arr;\n };\n exports.ensureGuid = ensureGuid;\n exports.initializeGuid = initializeGuid;\n exports.isSerializationFirstNode = function (node) {\n return node.nodeValue === SERIALIZATION_FIRST_NODE_STRING;\n };\n exports.SERIALIZATION_FIRST_NODE_STRING = SERIALIZATION_FIRST_NODE_STRING;\n exports.Stack = Stack;\n exports.DictSet = DictSet;\n exports.dict = dict;\n exports.EMPTY_SLICE = EMPTY_SLICE;\n exports.LinkedList = LinkedList;\n exports.ListNode = function (value) {\n\n this.next = null;\n this.prev = null;\n this.value = value;\n };\n exports.ListSlice = ListSlice;\n exports.EMPTY_ARRAY = EMPTY_ARRAY;\n exports.unwrap = function (val) {\n if (val === null || val === undefined) throw new Error('Expected value to be present');\n return val;\n };\n exports.expect = function (val, message) {\n if (val === null || val === undefined) throw new Error(message);\n return val;\n };\n exports.unreachable = function () {\n var message = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'unreachable';\n\n return new Error(message);\n };\n});","enifed(\"@glimmer/vm\", [\"exports\"], function (exports) {\n \"use strict\";\n\n /**\n * Registers\n *\n * For the most part, these follows MIPS naming conventions, however the\n * register numbers are different.\n */\n\n var Register;\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\";\n // $1 or $ra (return address): pointer into `program` for the return\n Register[Register[\"ra\"] = 1] = \"ra\";\n // $2 or $fp (frame pointer): pointer into the `evalStack` for the base of the stack\n Register[Register[\"fp\"] = 2] = \"fp\";\n // $3 or $sp (stack pointer): pointer into the `evalStack` for the top of the stack\n Register[Register[\"sp\"] = 3] = \"sp\";\n // $4-$5 or $s0-$s1 (saved): callee saved general-purpose registers\n Register[Register[\"s0\"] = 4] = \"s0\";\n Register[Register[\"s1\"] = 5] = \"s1\";\n // $6-$7 or $t0-$t1 (temporaries): caller saved general-purpose registers\n Register[Register[\"t0\"] = 6] = \"t0\";\n Register[Register[\"t1\"] = 7] = \"t1\";\n // $8 or $v0 (return value)\n Register[Register[\"v0\"] = 8] = \"v0\";\n })(Register || (exports.Register = Register = {}));\n\n exports.Register = Register;\n});","enifed(\"@glimmer/wire-format\", [\"exports\"], function (exports) {\n \"use strict\";\n\n var Opcodes;\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[\"OpenSplattedElement\"] = 8] = \"OpenSplattedElement\";\n Opcodes[Opcodes[\"FlushElement\"] = 9] = \"FlushElement\";\n Opcodes[Opcodes[\"CloseElement\"] = 10] = \"CloseElement\";\n Opcodes[Opcodes[\"StaticAttr\"] = 11] = \"StaticAttr\";\n Opcodes[Opcodes[\"DynamicAttr\"] = 12] = \"DynamicAttr\";\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[\"Debugger\"] = 19] = \"Debugger\";\n Opcodes[Opcodes[\"ClientSideStatement\"] = 20] = \"ClientSideStatement\";\n // Expressions\n Opcodes[Opcodes[\"Unknown\"] = 21] = \"Unknown\";\n Opcodes[Opcodes[\"Get\"] = 22] = \"Get\";\n Opcodes[Opcodes[\"MaybeLocal\"] = 23] = \"MaybeLocal\";\n Opcodes[Opcodes[\"HasBlock\"] = 24] = \"HasBlock\";\n Opcodes[Opcodes[\"HasBlockParams\"] = 25] = \"HasBlockParams\";\n Opcodes[Opcodes[\"Undefined\"] = 26] = \"Undefined\";\n Opcodes[Opcodes[\"Helper\"] = 27] = \"Helper\";\n Opcodes[Opcodes[\"Concat\"] = 28] = \"Concat\";\n Opcodes[Opcodes[\"ClientSideExpression\"] = 29] = \"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 }\n // Statements\n var isModifier = is(Opcodes.Modifier);\n var isFlushElement = is(Opcodes.FlushElement);\n var isAttrSplat = is(Opcodes.AttrSplat);\n function isAttribute(val) {\n return val[0] === Opcodes.StaticAttr || val[0] === Opcodes.DynamicAttr || val[0] === Opcodes.TrustingAttr;\n }\n function isArgument(val) {\n return val[0] === Opcodes.StaticArg || val[0] === Opcodes.DynamicArg;\n }\n // Expressions\n var isGet = is(Opcodes.Get);\n var isMaybeLocal = is(Opcodes.MaybeLocal);\n\n exports.is = is;\n exports.isModifier = isModifier;\n exports.isFlushElement = isFlushElement;\n exports.isAttrSplat = isAttrSplat;\n exports.isAttribute = isAttribute;\n exports.isArgument = isArgument;\n exports.isGet = isGet;\n exports.isMaybeLocal = isMaybeLocal;\n exports.Ops = Opcodes;\n});","enifed('backburner', ['exports', 'ember-babel'], function (exports, _emberBabel) {\n 'use strict';\n\n exports.buildPlatform = undefined;\n var SET_TIMEOUT = setTimeout;\n var NOOP = function () {};\n function buildPlatform(flush) {\n var next = void 0,\n iterations,\n observer,\n node,\n autorunPromise;\n\n if (typeof MutationObserver === 'function') {\n iterations = 0;\n observer = new MutationObserver(flush);\n node = document.createTextNode('');\n\n observer.observe(node, { characterData: true });\n next = function () {\n iterations = ++iterations % 2;\n node.data = '' + iterations;\n return iterations;\n };\n } else if (typeof Promise === 'function') {\n autorunPromise = Promise.resolve();\n\n next = function () {\n return autorunPromise.then(flush);\n };\n } else {\n next = function () {\n return SET_TIMEOUT(flush, 0);\n };\n }\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\n next: next,\n clearNext: NOOP\n };\n }\n\n var NUMBER = /\\d+/;\n var TIMERS_OFFSET = 6;\n function isCoercableNumber(suspect) {\n var type = typeof suspect;\n return type === 'number' && suspect === suspect || type === 'string' && NUMBER.test(suspect);\n }\n function getOnError(options) {\n return options.onError || options.onErrorTarget && options.onErrorTarget[options.onErrorMethod];\n }\n function findItem(target, method, collection) {\n var index = -1,\n i,\n l;\n for (i = 0, l = collection.length; i < l; i += 4) {\n if (collection[i] === target && collection[i + 1] === method) {\n index = i;\n break;\n }\n }\n return index;\n }\n function findTimerItem(target, method, collection) {\n var index = -1,\n i,\n l;\n for (i = 2, l = collection.length; i < l; i += 6) {\n if (collection[i] === target && collection[i + 1] === method) {\n index = i - 2;\n break;\n }\n }\n return index;\n }\n function getQueueItems(items, queueItemLength) {\n var queueItemPositionOffset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0,\n i,\n maybeError,\n queueItem;\n\n var queueItems = [];\n for (i = 0; i < items.length; i += queueItemLength) {\n maybeError = items[i + 3 /* stack */ + queueItemPositionOffset];\n queueItem = {\n target: items[i + 0 /* target */ + queueItemPositionOffset],\n method: items[i + 1 /* method */ + queueItemPositionOffset],\n args: items[i + 2 /* args */ + queueItemPositionOffset],\n stack: maybeError !== undefined && 'stack' in maybeError ? maybeError.stack : ''\n };\n\n queueItems.push(queueItem);\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 = void 0;\n var l = void 0;\n while (start < end) {\n // since timers is an array of pairs 'l' will always\n // be an integer\n l = (end - start) / TIMERS_OFFSET;\n // compensate for the index in case even number\n // of pairs inside timers\n middle = start + l - l % TIMERS_OFFSET;\n if (time >= timers[middle]) {\n start = middle + TIMERS_OFFSET;\n } else {\n end = middle;\n }\n }\n return time >= timers[start] ? start + TIMERS_OFFSET : start;\n }\n\n var QUEUE_ITEM_LENGTH = 4;\n\n var Queue = 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\n\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 Queue.prototype.stackFor = function (index) {\n var entry;\n\n if (index < this._queue.length) {\n 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 Queue.prototype.flush = function (sync) {\n var _options = this.options,\n before = _options.before,\n after = _options.after,\n onError,\n i;\n\n var target = void 0;\n var method = void 0;\n var args = void 0;\n var errorRecordedForStack = void 0;\n this.targetQueues.clear();\n if (this._queueBeingFlushed.length === 0) {\n this._queueBeingFlushed = this._queue;\n this._queue = [];\n }\n if (before !== undefined) {\n before();\n }\n var invoke = void 0;\n var queueItems = this._queueBeingFlushed;\n if (queueItems.length > 0) {\n onError = getOnError(this.globalOptions);\n\n invoke = onError ? this.invokeWithOnError : this.invoke;\n for (i = this.index; i < queueItems.length; i += QUEUE_ITEM_LENGTH) {\n this.index += QUEUE_ITEM_LENGTH;\n method = queueItems[i + 1];\n // method could have been nullified / canceled during flush\n if (method !== null) {\n //\n // ** Attention intrepid developer **\n //\n // To find out the stack of this task when it was scheduled onto\n // the run loop, add the following to your app.js:\n //\n // Ember.run.backburner.DEBUG = true; // NOTE: This slows your app, don't leave it on in production.\n //\n // Once that is in place, when you are at a breakpoint and navigate\n // here in the stack explorer, you can look at `errorRecordedForStack.stack`,\n // which will be the captured stack when this job was scheduled.\n //\n // One possible long-term solution is the following Chrome issue:\n // https://bugs.chromium.org/p/chromium/issues/detail?id=332624\n //\n target = queueItems[i];\n args = queueItems[i + 2];\n errorRecordedForStack = queueItems[i + 3]; // Debugging assistance\n invoke(target, method, args, onError, errorRecordedForStack);\n }\n if (this.index !== this._queueBeingFlushed.length && this.globalOptions.mustYield && this.globalOptions.mustYield()) {\n return 1 /* Pause */;\n }\n }\n }\n if (after !== undefined) {\n after();\n }\n this._queueBeingFlushed.length = 0;\n this.index = 0;\n if (sync !== false && this._queue.length > 0) {\n // check if new items have been added\n this.flush(true);\n }\n };\n\n Queue.prototype.hasWork = function () {\n return this._queueBeingFlushed.length > 0 || this._queue.length > 0;\n };\n\n Queue.prototype.cancel = function (_ref) {\n var target = _ref.target,\n method = _ref.method;\n\n var queue = this._queue;\n var targetQueueMap = this.targetQueues.get(target);\n if (targetQueueMap !== undefined) {\n targetQueueMap.delete(method);\n }\n var index = findItem(target, method, queue);\n if (index > -1) {\n queue.splice(index, QUEUE_ITEM_LENGTH);\n return true;\n }\n // if not found in current queue\n // could be in the queue that is being flushed\n queue = this._queueBeingFlushed;\n index = findItem(target, method, queue);\n if (index > -1) {\n queue[index + 1] = null;\n return true;\n }\n return false;\n };\n\n Queue.prototype.push = function (target, method, args, stack) {\n this._queue.push(target, method, args, stack);\n return {\n queue: this,\n target: target,\n method: method\n };\n };\n\n Queue.prototype.pushUnique = function (target, method, args, stack) {\n var localQueueMap = this.targetQueues.get(target),\n queueIndex,\n queue;\n if (localQueueMap === undefined) {\n localQueueMap = new Map();\n this.targetQueues.set(target, localQueueMap);\n }\n var index = localQueueMap.get(method);\n if (index === undefined) {\n queueIndex = this._queue.push(target, method, args, stack) - QUEUE_ITEM_LENGTH;\n\n localQueueMap.set(method, queueIndex);\n } else {\n queue = this._queue;\n\n queue[index + 2] = args; // replace args\n queue[index + 3] = stack; // replace stack\n }\n return {\n queue: this,\n target: target,\n method: method\n };\n };\n\n Queue.prototype._getDebugInfo = function (debugEnabled) {\n var debugInfo;\n\n if (debugEnabled) {\n debugInfo = getQueueItems(this._queue, QUEUE_ITEM_LENGTH);\n\n return debugInfo;\n }\n return undefined;\n };\n\n Queue.prototype.invoke = function (target, method, args /*, onError, errorRecordedForStack */) {\n if (args === undefined) {\n method.call(target);\n } else {\n method.apply(target, args);\n }\n };\n\n Queue.prototype.invokeWithOnError = function (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 = function () {\n function DeferredActionQueues() {\n var queueNames = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var options = arguments[1];\n\n\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 DeferredActionQueues.prototype.schedule = function (queueName, target, method, args, onceFlag, stack) {\n var queues = this.queues;\n var queue = queues[queueName];\n if (queue === undefined) {\n throw new Error('You attempted to schedule an action in a queue (' + queueName + ') that doesn\\'t exist');\n }\n if (method === undefined || method === null) {\n throw new Error('You attempted to schedule an action in a queue (' + queueName + ') for a method that doesn\\'t exist');\n }\n this.queueNameIndex = 0;\n if (onceFlag) {\n return queue.pushUnique(target, method, args, stack);\n } else {\n return queue.push(target, method, args, stack);\n }\n };\n\n DeferredActionQueues.prototype.flush = function () {\n var fromAutorun = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n\n var queue = void 0;\n var queueName = void 0;\n var numberOfQueues = this.queueNames.length;\n while (this.queueNameIndex < numberOfQueues) {\n queueName = this.queueNames[this.queueNameIndex];\n queue = this.queues[queueName];\n if (queue.hasWork() === false) {\n this.queueNameIndex++;\n if (fromAutorun && this.queueNameIndex < numberOfQueues) {\n return 1 /* Pause */;\n }\n } else {\n if (queue.flush(false /* async */) === 1 /* Pause */) {\n return 1 /* Pause */;\n }\n }\n }\n };\n\n DeferredActionQueues.prototype._getDebugInfo = function (debugEnabled) {\n var debugInfo, queue, queueName, numberOfQueues, i;\n\n if (debugEnabled) {\n debugInfo = {};\n queue = void 0;\n queueName = void 0;\n numberOfQueues = this.queueNames.length;\n 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 return debugInfo;\n }\n };\n\n return DeferredActionQueues;\n }();\n\n function iteratorDrain(fn) {\n var iterator = fn();\n var result = iterator.next();\n while (result.done === false) {\n result.value();\n result = iterator.next();\n }\n }\n\n var noop = function () {};\n var DISABLE_SCHEDULE = Object.freeze([]);\n function parseArgs() {\n var length = arguments.length,\n argsIndex,\n methodOrTarget,\n methodOrArgs,\n type,\n len,\n i;\n var args = void 0;\n var method = void 0;\n var target = void 0;\n if (length === 0) {} else if (length === 1) {\n target = null;\n method = arguments[0];\n } else {\n argsIndex = 2;\n methodOrTarget = arguments[0];\n methodOrArgs = arguments[1];\n 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 if (length > argsIndex) {\n len = length - argsIndex;\n\n args = new Array(len);\n for (i = 0; i < len; i++) {\n args[i] = arguments[i + argsIndex];\n }\n }\n }\n return [target, method, args];\n }\n function parseTimerArgs() {\n var _parseArgs = parseArgs.apply(undefined, arguments),\n target = _parseArgs[0],\n method = _parseArgs[1],\n args = _parseArgs[2],\n last;\n\n var wait = 0;\n var length = args !== undefined ? args.length : 0;\n if (length > 0) {\n last = args[length - 1];\n\n if (isCoercableNumber(last)) {\n wait = parseInt(args.pop(), 10);\n }\n }\n return [target, method, args, wait];\n }\n function parseDebounceArgs() {\n var target = void 0,\n _parseArgs2;\n var method = void 0;\n var isImmediate = void 0;\n var args = void 0;\n var wait = void 0;\n if (arguments.length === 2) {\n method = arguments[0];\n wait = arguments[1];\n target = null;\n } else {\n _parseArgs2 = parseArgs.apply(undefined, arguments);\n\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 if (!isCoercableNumber(wait)) {\n isImmediate = wait === true;\n wait = args.pop();\n }\n }\n }\n wait = parseInt(wait, 10);\n return [target, method, args, wait, isImmediate];\n }\n var UUID = 0;\n var beginCount = 0;\n var endCount = 0;\n var beginEventCount = 0;\n\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 = 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 = null;\n this.queueNames = queueNames;\n this.options = options || {};\n if (typeof this.options.defaultQueue === 'string') {\n this._defaultQueue = this.options.defaultQueue;\n } else {\n this._defaultQueue = this.queueNames[0];\n }\n this._onBegin = this.options.onBegin || noop;\n this._onEnd = this.options.onEnd || noop;\n this._boundRunExpiredTimers = this._runExpiredTimers.bind(this);\n this._boundAutorunEnd = function () {\n autorunsCompletedCount++;\n // if the autorun was already flushed, do nothing\n if (_this._autorun === null) {\n return;\n }\n _this._autorun = null;\n _this._end(true /* fromAutorun */);\n };\n var builder = this.options._buildPlatform || buildPlatform;\n this._platform = builder(this._boundAutorunEnd);\n }\n\n Backburner.prototype.begin = function () {\n beginCount++;\n var options = this.options;\n var previousInstance = this.currentInstance;\n var current = void 0;\n if (this._autorun !== null) {\n current = previousInstance;\n this._cancelAutorun();\n } else {\n if (previousInstance !== null) {\n nestedDeferredActionQueuesCreated++;\n this.instanceStack.push(previousInstance);\n }\n deferredActionQueuesCreatedCount++;\n current = this.currentInstance = new DeferredActionQueues(this.queueNames, options);\n beginEventCount++;\n this._trigger('begin', current, previousInstance);\n }\n this._onBegin(current, previousInstance);\n return current;\n };\n\n Backburner.prototype.end = function () {\n endCount++;\n this._end(false);\n };\n\n Backburner.prototype.on = function (eventName, callback) {\n if (typeof callback !== 'function') {\n throw new TypeError('Callback must be a function');\n }\n var callbacks = this._eventCallbacks[eventName];\n if (callbacks !== undefined) {\n callbacks.push(callback);\n } else {\n throw new TypeError('Cannot on() event ' + eventName + ' because it does not exist');\n }\n };\n\n Backburner.prototype.off = function (eventName, callback) {\n var callbacks = this._eventCallbacks[eventName],\n i;\n if (!eventName || callbacks === undefined) {\n throw new TypeError('Cannot off() event ' + eventName + ' because it does not exist');\n }\n var callbackFound = false;\n if (callback) {\n for (i = 0; i < callbacks.length; i++) {\n if (callbacks[i] === callback) {\n callbackFound = true;\n callbacks.splice(i, 1);\n i--;\n }\n }\n }\n if (!callbackFound) {\n throw new TypeError('Cannot off() callback that does not exist');\n }\n };\n\n Backburner.prototype.run = function () {\n runCount++;\n\n var _parseArgs3 = parseArgs.apply(undefined, arguments),\n target = _parseArgs3[0],\n method = _parseArgs3[1],\n args = _parseArgs3[2];\n\n return this._run(target, method, args);\n };\n\n Backburner.prototype.join = function () {\n joinCount++;\n\n var _parseArgs4 = parseArgs.apply(undefined, arguments),\n target = _parseArgs4[0],\n method = _parseArgs4[1],\n args = _parseArgs4[2];\n\n return this._join(target, method, args);\n };\n\n Backburner.prototype.defer = function (queueName, target, method) {\n var _len, args, _key;\n\n deferCount++;\n\n for (_len = arguments.length, args = 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 Backburner.prototype.schedule = function (queueName) {\n scheduleCount++;\n\n for (_len2 = arguments.length, _args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n _args[_key2 - 1] = arguments[_key2];\n }\n\n var _parseArgs5 = parseArgs.apply(undefined, _args),\n target = _parseArgs5[0],\n method = _parseArgs5[1],\n args = _parseArgs5[2],\n _len2,\n _args,\n _key2;\n\n var stack = this.DEBUG ? new Error() : undefined;\n return this._ensureInstance().schedule(queueName, target, method, args, false, stack);\n };\n\n Backburner.prototype.scheduleIterable = function (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 Backburner.prototype.deferOnce = function (queueName, target, method) {\n var _len3, args, _key3;\n\n deferOnceCount++;\n\n for (_len3 = arguments.length, args = 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 Backburner.prototype.scheduleOnce = function (queueName) {\n scheduleOnceCount++;\n\n for (_len4 = arguments.length, _args = Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {\n _args[_key4 - 1] = arguments[_key4];\n }\n\n var _parseArgs6 = parseArgs.apply(undefined, _args),\n target = _parseArgs6[0],\n method = _parseArgs6[1],\n args = _parseArgs6[2],\n _len4,\n _args,\n _key4;\n\n var stack = this.DEBUG ? new Error() : undefined;\n return this._ensureInstance().schedule(queueName, target, method, args, true, stack);\n };\n\n Backburner.prototype.setTimeout = function () {\n setTimeoutCount++;\n return this.later.apply(this, arguments);\n };\n\n Backburner.prototype.later = function () {\n laterCount++;\n\n var _parseTimerArgs = parseTimerArgs.apply(undefined, 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 Backburner.prototype.throttle = function () {\n throttleCount++;\n\n var _parseDebounceArgs = parseDebounceArgs.apply(undefined, arguments),\n target = _parseDebounceArgs[0],\n method = _parseDebounceArgs[1],\n args = _parseDebounceArgs[2],\n wait = _parseDebounceArgs[3],\n _parseDebounceArgs$ = _parseDebounceArgs[4],\n isImmediate = _parseDebounceArgs$ === undefined ? true : _parseDebounceArgs$,\n argIndex;\n\n var index = findTimerItem(target, method, this._timers);\n var timerId = void 0;\n if (index === -1) {\n timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n if (isImmediate) {\n this._join(target, method, args);\n }\n } else {\n timerId = this._timers[index + 1];\n argIndex = index + 4;\n\n if (this._timers[argIndex] !== DISABLE_SCHEDULE) {\n this._timers[argIndex] = args;\n }\n }\n return timerId;\n };\n\n Backburner.prototype.debounce = function () {\n debounceCount++;\n\n var _parseDebounceArgs2 = parseDebounceArgs.apply(undefined, arguments),\n target = _parseDebounceArgs2[0],\n method = _parseDebounceArgs2[1],\n args = _parseDebounceArgs2[2],\n wait = _parseDebounceArgs2[3],\n _parseDebounceArgs2$ = _parseDebounceArgs2[4],\n isImmediate = _parseDebounceArgs2$ === undefined ? false : _parseDebounceArgs2$,\n executeAt,\n argIndex;\n\n var index = findTimerItem(target, method, this._timers);\n var timerId = void 0;\n if (index === -1) {\n timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n if (isImmediate) {\n this._join(target, method, args);\n }\n } else {\n executeAt = this._platform.now() + wait || this._timers[index];\n\n this._timers[index] = executeAt;\n argIndex = index + 4;\n\n if (this._timers[argIndex] !== DISABLE_SCHEDULE) {\n this._timers[argIndex] = args;\n }\n timerId = this._timers[index + 1];\n if (index === 0) {\n this._reinstallTimerTimeout();\n }\n }\n return timerId;\n };\n\n Backburner.prototype.cancelTimers = function () {\n cancelTimersCount++;\n this._clearTimerTimeout();\n this._timers = [];\n this._cancelAutorun();\n };\n\n Backburner.prototype.hasTimers = function () {\n return this._timers.length > 0 || this._autorun !== null;\n };\n\n Backburner.prototype.cancel = function (timer) {\n cancelCount++;\n if (timer === null || timer === undefined) {\n return false;\n }\n var timerType = typeof timer;\n if (timerType === 'number') {\n // we're cancelling a setTimeout or throttle or debounce\n return this._cancelLaterTimer(timer);\n } else if (timerType === 'object' && timer.queue && timer.method) {\n // we're cancelling a deferOnce\n return timer.queue.cancel(timer);\n }\n return false;\n };\n\n Backburner.prototype.ensureInstance = function () {\n this._ensureInstance();\n };\n\n Backburner.prototype.getDebugInfo = function () {\n var _this2 = this;\n\n if (this.DEBUG) {\n return {\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 return undefined;\n };\n\n Backburner.prototype._end = function (fromAutorun) {\n var currentInstance = this.currentInstance;\n var nextInstance = null;\n if (currentInstance === null) {\n throw new Error('end called without begin');\n }\n // Prevent double-finally bug in Safari 6.0.2 and iOS 6\n // This bug appears to be resolved in Safari 6.0.5 and iOS 7\n var finallyAlreadyCalled = false;\n var result = void 0;\n try {\n result = currentInstance.flush(fromAutorun);\n } finally {\n if (!finallyAlreadyCalled) {\n finallyAlreadyCalled = true;\n if (result === 1 /* Pause */) {\n this._scheduleAutorun();\n } else {\n this.currentInstance = null;\n if (this.instanceStack.length > 0) {\n nextInstance = this.instanceStack.pop();\n this.currentInstance = nextInstance;\n }\n this._trigger('end', currentInstance, nextInstance);\n this._onEnd(currentInstance, nextInstance);\n }\n }\n }\n };\n\n Backburner.prototype._join = function (target, method, args) {\n if (this.currentInstance === null) {\n return this._run(target, method, args);\n }\n if (target === undefined && args === undefined) {\n return method();\n } else {\n return method.apply(target, args);\n }\n };\n\n Backburner.prototype._run = function (target, method, args) {\n var onError = getOnError(this.options);\n this.begin();\n if (onError) {\n try {\n return method.apply(target, args);\n } catch (error) {\n onError(error);\n } finally {\n this.end();\n }\n } else {\n try {\n return method.apply(target, args);\n } finally {\n this.end();\n }\n }\n };\n\n Backburner.prototype._cancelAutorun = function () {\n if (this._autorun !== null) {\n this._platform.clearNext(this._autorun);\n this._autorun = null;\n }\n };\n\n Backburner.prototype._later = function (target, method, args, wait) {\n var stack = this.DEBUG ? new Error() : undefined,\n i;\n var executeAt = this._platform.now() + wait;\n var id = UUID++;\n if (this._timers.length === 0) {\n this._timers.push(executeAt, id, target, method, args, stack);\n this._installTimerTimeout();\n } else {\n // find position to insert\n i = binarySearch(executeAt, this._timers);\n\n this._timers.splice(i, 0, executeAt, id, target, method, args, stack);\n // always reinstall since it could be out of sync\n this._reinstallTimerTimeout();\n }\n return id;\n };\n\n Backburner.prototype._cancelLaterTimer = function (timer) {\n var i;\n\n for (i = 1; i < this._timers.length; i += TIMERS_OFFSET) {\n if (this._timers[i] === timer) {\n this._timers.splice(i - 1, TIMERS_OFFSET);\n if (i === 0) {\n this._reinstallTimerTimeout();\n }\n return true;\n }\n }\n return false;\n };\n\n Backburner.prototype._trigger = function (eventName, arg1, arg2) {\n var callbacks = this._eventCallbacks[eventName],\n i;\n if (callbacks !== undefined) {\n for (i = 0; i < callbacks.length; i++) {\n callbacks[i](arg1, arg2);\n }\n }\n };\n\n Backburner.prototype._runExpiredTimers = function () {\n this._timerTimeoutId = null;\n if (this._timers.length > 0) {\n this.begin();\n this._scheduleExpiredTimers();\n this.end();\n }\n };\n\n Backburner.prototype._scheduleExpiredTimers = function () {\n var timers = this._timers,\n executeAt,\n _args2,\n target,\n method,\n stack;\n var i = 0;\n var l = timers.length;\n var defaultQueue = this._defaultQueue;\n var n = this._platform.now();\n for (; i < l; i += TIMERS_OFFSET) {\n executeAt = timers[i];\n\n if (executeAt > n) {\n break;\n }\n _args2 = timers[i + 4];\n\n if (_args2 !== DISABLE_SCHEDULE) {\n target = timers[i + 2];\n method = timers[i + 3];\n stack = timers[i + 5];\n\n this.currentInstance.schedule(defaultQueue, target, method, _args2, false, stack);\n }\n }\n timers.splice(0, i);\n this._installTimerTimeout();\n };\n\n Backburner.prototype._reinstallTimerTimeout = function () {\n this._clearTimerTimeout();\n this._installTimerTimeout();\n };\n\n Backburner.prototype._clearTimerTimeout = function () {\n if (this._timerTimeoutId === null) {\n return;\n }\n this._platform.clearTimeout(this._timerTimeoutId);\n this._timerTimeoutId = null;\n };\n\n Backburner.prototype._installTimerTimeout = function () {\n if (this._timers.length === 0) {\n return;\n }\n var minExpiresAt = this._timers[0];\n var n = this._platform.now();\n var wait = Math.max(0, minExpiresAt - n);\n this._timerTimeoutId = this._platform.setTimeout(this._boundRunExpiredTimers, wait);\n };\n\n Backburner.prototype._ensureInstance = function () {\n var currentInstance = this.currentInstance;\n if (currentInstance === null) {\n currentInstance = this.begin();\n this._scheduleAutorun();\n }\n return currentInstance;\n };\n\n Backburner.prototype._scheduleAutorun = function () {\n autorunsCreatedCount++;\n var next = this._platform.next;\n this._autorun = next();\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: 0\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\n exports.default = Backburner;\n exports.buildPlatform = buildPlatform;\n});","enifed('container', ['exports', '@ember/debug', '@ember/polyfills', 'ember-owner', 'ember-utils', '@ember/deprecated-features', 'ember-environment'], function (exports, _debug, _polyfills, _emberOwner, _emberUtils, _deprecatedFeatures, _emberEnvironment) {\n 'use strict';\n\n exports.FACTORY_FOR = exports.Container = exports.privatize = exports.Registry = undefined;\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 var Container = function () {\n function Container(registry) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\n this.registry = registry;\n this.owner = options.owner || null;\n this.cache = (0, _emberUtils.dictionary)(options.cache || null);\n this.factoryManagerCache = (0, _emberUtils.dictionary)(options.factoryManagerCache || null);\n this.isDestroyed = false;\n this.isDestroying = false;\n }\n /**\n @private\n @property registry\n @type Registry\n @since 1.11.0\n */\n /**\n @private\n @property cache\n @type InheritingDict\n */\n /**\n @private\n @property validationCache\n @type InheritingDict\n */\n /**\n Given a fullName return a corresponding instance.\n The default behavior is for lookup to return a singleton instance.\n The singleton is scoped to the container, allowing multiple containers\n to all have their own locally scoped singletons.\n ```javascript\n let registry = new Registry();\n let container = registry.container();\n registry.register('api:twitter', Twitter);\n let twitter = container.lookup('api:twitter');\n twitter instanceof Twitter; // => true\n // by default the container will return singletons\n let twitter2 = container.lookup('api:twitter');\n twitter2 instanceof Twitter; // => true\n twitter === twitter2; //=> true\n ```\n If singletons are not wanted, an optional flag can be provided at lookup.\n ```javascript\n let registry = new Registry();\n let container = registry.container();\n registry.register('api:twitter', Twitter);\n let twitter = container.lookup('api:twitter', { singleton: false });\n let twitter2 = container.lookup('api:twitter', { singleton: false });\n twitter === twitter2; //=> false\n ```\n @private\n @method lookup\n @param {String} fullName\n @param {Object} [options]\n @param {String} [options.source] The fullname of the request source (used for local lookup)\n @return {any}\n */\n\n Container.prototype.lookup = function (fullName, options) {\n false && !!this.isDestroyed && (0, _debug.assert)('expected container not to be destroyed', !this.isDestroyed);\n false && !this.registry.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.registry.isValidFullName(fullName));\n\n return _lookup(this, this.registry.normalize(fullName), options);\n };\n\n Container.prototype.destroy = function () {\n destroyDestroyables(this);\n this.isDestroying = true;\n };\n\n Container.prototype.finalizeDestroy = function () {\n resetCache(this);\n this.isDestroyed = true;\n };\n\n Container.prototype.reset = function (fullName) {\n if (this.isDestroyed) return;\n if (fullName === undefined) {\n destroyDestroyables(this);\n resetCache(this);\n } else {\n resetMember(this, this.registry.normalize(fullName));\n }\n };\n\n Container.prototype.ownerInjection = function () {\n var _ref;\n\n return _ref = {}, _ref[_emberOwner.OWNER] = this.owner, _ref;\n };\n\n Container.prototype.factoryFor = function (fullName) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n false && !!this.isDestroyed && (0, _debug.assert)('expected container not to be destroyed', !this.isDestroyed);\n\n var normalizedName = this.registry.normalize(fullName);\n false && !this.registry.isValidFullName(normalizedName) && (0, _debug.assert)('fullName must be a proper full name', this.registry.isValidFullName(normalizedName));\n false && !(false || !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 if (!normalizedName) {\n return;\n }\n }\n return _factoryFor(this, normalizedName, fullName);\n };\n\n return Container;\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 function isSingleton(container, fullName) {\n return container.registry.getOption(fullName, 'singleton') !== false;\n }\n function isInstantiatable(container, fullName) {\n return container.registry.getOption(fullName, 'instantiate') !== false;\n }\n function _lookup(container, fullName) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},\n cached;\n false && !(false || !options.namespace) && (0, _debug.assert)('EMBER_MODULE_UNIFICATION must be enabled to pass a namespace option to lookup', false || !options.namespace);\n\n var normalizedName = fullName;\n if (options.source || options.namespace) {\n normalizedName = container.registry.expandLocalLookup(fullName, options);\n if (!normalizedName) {\n return;\n }\n }\n if (options.singleton !== false) {\n cached = container.cache[normalizedName];\n\n if (cached !== undefined) {\n return cached;\n }\n }\n return instantiateFactory(container, normalizedName, fullName, options);\n }\n function _factoryFor(container, normalizedName, fullName) {\n var cached = container.factoryManagerCache[normalizedName];\n if (cached !== undefined) {\n return cached;\n }\n var factory = container.registry.resolve(normalizedName);\n if (factory === undefined) {\n return;\n }\n\n var manager = new FactoryManager(container, factory, fullName, normalizedName);\n\n container.factoryManagerCache[normalizedName] = manager;\n return manager;\n }\n function isSingletonClass(container, fullName, _ref2) {\n var instantiate = _ref2.instantiate,\n singleton = _ref2.singleton;\n\n return singleton !== false && !instantiate && isSingleton(container, fullName) && !isInstantiatable(container, fullName);\n }\n function isSingletonInstance(container, fullName, _ref3) {\n var instantiate = _ref3.instantiate,\n singleton = _ref3.singleton;\n\n return singleton !== false && instantiate !== false && isSingleton(container, fullName) && isInstantiatable(container, fullName);\n }\n function isFactoryClass(container, fullname, _ref4) {\n var instantiate = _ref4.instantiate,\n singleton = _ref4.singleton;\n\n return instantiate === false && (singleton === false || !isSingleton(container, fullname)) && !isInstantiatable(container, fullname);\n }\n function isFactoryInstance(container, fullName, _ref5) {\n var instantiate = _ref5.instantiate,\n singleton = _ref5.singleton;\n\n return instantiate !== false && (singleton !== false || isSingleton(container, fullName)) && isInstantiatable(container, fullName);\n }\n function instantiateFactory(container, normalizedName, fullName, options) {\n var factoryManager = _factoryFor(container, normalizedName, fullName);\n if (factoryManager === undefined) {\n return;\n }\n // SomeClass { singleton: true, instantiate: true } | { singleton: true } | { instantiate: true } | {}\n // By default majority of objects fall into this case\n if (isSingletonInstance(container, fullName, options)) {\n return container.cache[normalizedName] = factoryManager.create();\n }\n // SomeClass { singleton: false, instantiate: true }\n if (isFactoryInstance(container, fullName, options)) {\n return factoryManager.create();\n }\n // SomeClass { singleton: true, instantiate: false } | { instantiate: false } | { singleton: false, instantiation: false }\n if (isSingletonClass(container, fullName, options) || isFactoryClass(container, fullName, options)) {\n return factoryManager.class;\n }\n throw new Error('Could not create factory');\n }\n function processInjections(container, injections, result) {\n var hash = result.injections,\n i,\n _injections$i,\n property,\n specifier,\n source;\n if (hash === undefined) {\n hash = result.injections = {};\n }\n for (i = 0; i < injections.length; i++) {\n _injections$i = injections[i], property = _injections$i.property, specifier = _injections$i.specifier, source = _injections$i.source;\n\n\n if (source) {\n hash[property] = _lookup(container, specifier, { source: source });\n } else {\n hash[property] = _lookup(container, specifier);\n }\n if (!result.isDynamic) {\n result.isDynamic = !isSingleton(container, specifier);\n }\n }\n }\n function buildInjections(container, typeInjections, injections) {\n var result = {\n injections: undefined,\n isDynamic: false\n };\n if (typeInjections !== undefined) {\n processInjections(container, typeInjections, result);\n }\n if (injections !== undefined) {\n processInjections(container, injections, result);\n }\n return result;\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 function destroyDestroyables(container) {\n var cache = container.cache,\n i,\n key,\n value;\n var keys = Object.keys(cache);\n for (i = 0; i < keys.length; i++) {\n key = keys[i];\n value = cache[key];\n\n if (value.destroy) {\n value.destroy();\n }\n }\n }\n function resetCache(container) {\n container.cache = (0, _emberUtils.dictionary)(null);\n container.factoryManagerCache = (0, _emberUtils.dictionary)(null);\n }\n function resetMember(container, fullName) {\n var member = container.cache[fullName];\n delete container.factoryManagerCache[fullName];\n if (member) {\n delete container.cache[fullName];\n if (member.destroy) {\n member.destroy();\n }\n }\n }\n var FACTORY_FOR = new WeakMap();\n\n var FactoryManager = function () {\n function FactoryManager(container, factory, fullName, normalizedName) {\n\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 FactoryManager.prototype.toString = function () {\n if (this.madeToString === undefined) {\n this.madeToString = this.container.registry.makeToString(this.class, this.fullName);\n }\n return this.madeToString;\n };\n\n FactoryManager.prototype.create = function (options) {\n var injectionsCache = this.injections,\n _injectionsFor,\n injections,\n isDynamic;\n if (injectionsCache === undefined) {\n _injectionsFor = injectionsFor(this.container, this.normalizedName), injections = _injectionsFor.injections, isDynamic = _injectionsFor.isDynamic;\n\n\n injectionsCache = injections;\n if (!isDynamic) {\n this.injections = injections;\n }\n }\n var props = injectionsCache;\n if (options !== undefined) {\n props = (0, _polyfills.assign)({}, injectionsCache, options);\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 }\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 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 (0, _emberOwner.setOwner)(props, this.owner);\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 var missingResolverFunctionsDeprecation = 'Passing a `resolver` function into a Registry is deprecated. Please pass in a Resolver object with a `resolve` method.';\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 = function () {\n function Registry() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n\n this.fallback = options.fallback || null;\n this.resolver = options.resolver || null;\n if (_emberEnvironment.ENV._ENABLE_RESOLVER_FUNCTION_SUPPORT !== true) {\n false && !(typeof this.resolver !== 'function') && (0, _debug.assert)(missingResolverFunctionsDeprecation, typeof this.resolver !== 'function');\n }\n if (_deprecatedFeatures.REGISTRY_RESOLVER_AS_FUNCTION && typeof this.resolver === 'function' && _emberEnvironment.ENV._ENABLE_RESOLVER_FUNCTION_SUPPORT === true) {\n false && !false && (0, _debug.deprecate)(missingResolverFunctionsDeprecation, false, {\n id: 'ember-application.registry-resolver-as-function',\n until: '3.0.0',\n url: 'https://emberjs.com/deprecations/v2.x#toc_registry-resolver-as-function'\n });\n\n this.resolver = { resolve: this.resolver };\n }\n this.registrations = (0, _emberUtils.dictionary)(options.registrations || null);\n this._typeInjections = (0, _emberUtils.dictionary)(null);\n this._injections = (0, _emberUtils.dictionary)(null);\n this._localLookupCache = Object.create(null);\n this._normalizeCache = (0, _emberUtils.dictionary)(null);\n this._resolveCache = (0, _emberUtils.dictionary)(null);\n this._failSet = new Set();\n this._options = (0, _emberUtils.dictionary)(null);\n this._typeOptions = (0, _emberUtils.dictionary)(null);\n }\n /**\n A backup registry for resolving registrations when no matches can be found.\n @private\n @property fallback\n @type Registry\n */\n /**\n An object that has a `resolve` method that resolves a name.\n @private\n @property resolver\n @type Resolver\n */\n /**\n @private\n @property registrations\n @type InheritingDict\n */\n /**\n @private\n @property _typeInjections\n @type InheritingDict\n */\n /**\n @private\n @property _injections\n @type InheritingDict\n */\n /**\n @private\n @property _normalizeCache\n @type InheritingDict\n */\n /**\n @private\n @property _resolveCache\n @type InheritingDict\n */\n /**\n @private\n @property _options\n @type InheritingDict\n */\n /**\n @private\n @property _typeOptions\n @type InheritingDict\n */\n /**\n Creates a container based on this registry.\n @private\n @method container\n @param {Object} options\n @return {Container} created container\n */\n\n Registry.prototype.container = function (options) {\n return new Container(this, options);\n };\n\n Registry.prototype.register = function (fullName, factory) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n false && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n false && !(factory !== undefined) && (0, _debug.assert)('Attempting to register an unknown factory: \\'' + fullName + '\\'', factory !== undefined);\n\n var normalizedName = this.normalize(fullName);\n false && !!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 this.registrations[normalizedName] = factory;\n this._options[normalizedName] = options;\n };\n\n Registry.prototype.unregister = function (fullName) {\n false && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n\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 this._failSet.delete(normalizedName);\n };\n\n Registry.prototype.resolve = function (fullName, options) {\n var factory = _resolve(this, this.normalize(fullName), options),\n _fallback;\n if (factory === undefined && this.fallback !== null) {\n\n factory = (_fallback = this.fallback).resolve.apply(_fallback, arguments);\n }\n return factory;\n };\n\n Registry.prototype.describe = function (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 Registry.prototype.normalizeFullName = function (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 Registry.prototype.normalize = function (fullName) {\n return this._normalizeCache[fullName] || (this._normalizeCache[fullName] = this.normalizeFullName(fullName));\n };\n\n Registry.prototype.makeToString = function (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 Registry.prototype.has = function (fullName, options) {\n if (!this.isValidFullName(fullName)) {\n return false;\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 Registry.prototype.optionsForType = function (type, options) {\n this._typeOptions[type] = options;\n };\n\n Registry.prototype.getOptionsForType = function (type) {\n var optionsForType = this._typeOptions[type];\n if (optionsForType === undefined && this.fallback !== null) {\n optionsForType = this.fallback.getOptionsForType(type);\n }\n return optionsForType;\n };\n\n Registry.prototype.options = function (fullName, _options) {\n var normalizedName = this.normalize(fullName);\n this._options[normalizedName] = _options;\n };\n\n Registry.prototype.getOptions = function (fullName) {\n var normalizedName = this.normalize(fullName);\n var options = this._options[normalizedName];\n if (options === undefined && this.fallback !== null) {\n options = this.fallback.getOptions(fullName);\n }\n return options;\n };\n\n Registry.prototype.getOption = function (fullName, optionName) {\n var options = this._options[fullName];\n if (options !== undefined && options[optionName] !== undefined) {\n return options[optionName];\n }\n var type = fullName.split(':')[0];\n options = this._typeOptions[type];\n if (options && options[optionName] !== undefined) {\n return options[optionName];\n } else if (this.fallback !== null) {\n return this.fallback.getOption(fullName, optionName);\n }\n return undefined;\n };\n\n Registry.prototype.typeInjection = function (type, property, fullName) {\n false && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n\n var fullNameType = fullName.split(':')[0];\n false && !(fullNameType !== type) && (0, _debug.assert)('Cannot inject a \\'' + fullName + '\\' on other ' + type + '(s).', fullNameType !== type);\n\n var injections = this._typeInjections[type] || (this._typeInjections[type] = []);\n injections.push({ property: property, specifier: fullName });\n };\n\n Registry.prototype.injection = function (fullName, property, injectionName) {\n false && !this.isValidFullName(injectionName) && (0, _debug.assert)('Invalid injectionName, expected: \\'type:name\\' got: ' + injectionName, this.isValidFullName(injectionName));\n\n var normalizedInjectionName = this.normalize(injectionName);\n if (fullName.indexOf(':') === -1) {\n return this.typeInjection(fullName, property, normalizedInjectionName);\n }\n false && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n\n var normalizedName = this.normalize(fullName);\n var injections = this._injections[normalizedName] || (this._injections[normalizedName] = []);\n injections.push({ property: property, specifier: normalizedInjectionName });\n };\n\n Registry.prototype.knownForType = function (type) {\n var localKnown = (0, _emberUtils.dictionary)(null),\n index,\n fullName,\n itemType;\n var registeredNames = Object.keys(this.registrations);\n for (index = 0; index < registeredNames.length; index++) {\n fullName = registeredNames[index];\n itemType = fullName.split(':')[0];\n\n if (itemType === type) {\n localKnown[fullName] = true;\n }\n }\n var fallbackKnown = void 0,\n resolverKnown = void 0;\n if (this.fallback !== null) {\n fallbackKnown = this.fallback.knownForType(type);\n }\n if (this.resolver !== null && this.resolver.knownForType) {\n resolverKnown = this.resolver.knownForType(type);\n }\n return (0, _polyfills.assign)({}, fallbackKnown, localKnown, resolverKnown);\n };\n\n Registry.prototype.isValidFullName = function (fullName) {\n return VALID_FULL_NAME_REGEXP.test(fullName);\n };\n\n Registry.prototype.getInjections = function (fullName) {\n var injections = this._injections[fullName],\n fallbackInjections;\n if (this.fallback !== null) {\n fallbackInjections = this.fallback.getInjections(fullName);\n\n if (fallbackInjections !== undefined) {\n injections = injections === undefined ? fallbackInjections : injections.concat(fallbackInjections);\n }\n }\n return injections;\n };\n\n Registry.prototype.getTypeInjections = function (type) {\n var injections = this._typeInjections[type],\n fallbackInjections;\n if (this.fallback !== null) {\n fallbackInjections = this.fallback.getTypeInjections(type);\n\n if (fallbackInjections !== undefined) {\n injections = injections === undefined ? fallbackInjections : injections.concat(fallbackInjections);\n }\n }\n return injections;\n };\n\n Registry.prototype.expandLocalLookup = function (fullName, options) {\n var normalizedFullName, normalizedSource;\n\n if (this.resolver !== null && this.resolver.expandLocalLookup) {\n false && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n false && !(!options.source || this.isValidFullName(options.source)) && (0, _debug.assert)('options.source must be a proper full name', !options.source || this.isValidFullName(options.source));\n\n normalizedFullName = this.normalize(fullName);\n normalizedSource = this.normalize(options.source);\n\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 function _expandLocalLookup(registry, normalizedName, normalizedSource, namespace) {\n var cache = registry._localLookupCache;\n var normalizedNameCache = cache[normalizedName];\n if (!normalizedNameCache) {\n normalizedNameCache = cache[normalizedName] = Object.create(null);\n }\n var cacheKey = namespace || normalizedSource;\n var cached = normalizedNameCache[cacheKey];\n if (cached !== undefined) {\n return cached;\n }\n var expanded = registry.resolver.expandLocalLookup(normalizedName, normalizedSource, namespace);\n return normalizedNameCache[cacheKey] = expanded;\n }\n function _resolve(registry, _normalizedName, options) {\n var normalizedName = _normalizedName;\n // when `source` is provided expand normalizedName\n // and source into the full normalizedName\n if (options !== undefined && (options.source || options.namespace)) {\n normalizedName = registry.expandLocalLookup(_normalizedName, options);\n if (!normalizedName) {\n return;\n }\n }\n var cached = registry._resolveCache[normalizedName];\n if (cached !== undefined) {\n return cached;\n }\n if (registry._failSet.has(normalizedName)) {\n return;\n }\n var resolved = void 0;\n if (registry.resolver) {\n resolved = registry.resolver.resolve(normalizedName);\n }\n if (resolved === undefined) {\n resolved = registry.registrations[normalizedName];\n }\n if (resolved === undefined) {\n registry._failSet.add(normalizedName);\n } else {\n registry._resolveCache[normalizedName] = resolved;\n }\n return resolved;\n }\n function _has(registry, fullName, source, namespace) {\n return registry.resolve(fullName, { source: source, namespace: namespace }) !== undefined;\n }\n var privateNames = (0, _emberUtils.dictionary)(null);\n var privateSuffix = ('' + Math.random() + Date.now()).replace('.', '');\n\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 exports.Registry = Registry;\n exports.privatize = function (_ref6) {\n var fullName = _ref6[0];\n\n var name = privateNames[fullName];\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, _emberUtils.intern)(type + ':' + rawName + '-' + privateSuffix);\n };\n exports.Container = Container;\n exports.FACTORY_FOR = FACTORY_FOR;\n});","enifed(\"dag-map\", [\"exports\"], function (exports) {\n \"use strict\";\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\n var DAG = function () {\n function DAG() {\n this._vertices = new Vertices();\n }\n /**\n * Adds a key/value pair with dependencies on other key/value pairs.\n *\n * @public\n * @param key The key of the vertex to be added.\n * @param value The value of that vertex.\n * @param before A key or array of keys of the vertices that must\n * be visited before this vertex.\n * @param after An string or array of strings with the keys of the\n * vertices that must be after this vertex is visited.\n */\n DAG.prototype.add = function (key, value, before, after) {\n if (!key) throw new Error('argument `key` is required');\n var vertices = this._vertices,\n i;\n var v = vertices.add(key);\n v.val = value;\n if (before) {\n if (typeof before === \"string\") {\n vertices.addEdge(v, vertices.add(before));\n } else {\n for (var i = 0; i < before.length; i++) {\n vertices.addEdge(v, vertices.add(before[i]));\n }\n }\n }\n if (after) {\n if (typeof after === \"string\") {\n vertices.addEdge(vertices.add(after), v);\n } else {\n for (i = 0; i < after.length; i++) {\n vertices.addEdge(vertices.add(after[i]), v);\n }\n }\n }\n };\n /**\n * @deprecated please use add.\n */\n DAG.prototype.addEdges = function (key, value, before, after) {\n this.add(key, value, before, after);\n };\n /**\n * Visits key/value pairs in topological order.\n *\n * @public\n * @param callback The function to be invoked with each key/value.\n */\n DAG.prototype.each = function (callback) {\n this._vertices.walk(callback);\n };\n /**\n * @deprecated please use each.\n */\n DAG.prototype.topsort = function (callback) {\n this.each(callback);\n };\n return DAG;\n }();\n exports.default = DAG;\n\n /** @private */\n var Vertices = function () {\n function Vertices() {\n this.length = 0;\n this.stack = new IntStack();\n this.path = new IntStack();\n this.result = new IntStack();\n }\n Vertices.prototype.add = function (key) {\n if (!key) throw new Error(\"missing key\");\n var l = this.length | 0,\n i;\n var vertex;\n for (i = 0; i < l; i++) {\n vertex = this[i];\n if (vertex.key === key) return vertex;\n }\n this.length = l + 1;\n return this[l] = {\n idx: l,\n key: key,\n val: undefined,\n out: false,\n flag: false,\n length: 0\n };\n };\n Vertices.prototype.addEdge = function (v, w) {\n this.check(v, w.key);\n var l = w.length | 0,\n i;\n for (i = 0; i < l; i++) {\n if (w[i] === v.idx) return;\n }\n w.length = l + 1;\n w[l] = v.idx;\n v.out = true;\n };\n Vertices.prototype.walk = function (cb) {\n var i, vertex;\n\n this.reset();\n for (i = 0; i < this.length; i++) {\n vertex = this[i];\n\n if (vertex.out) continue;\n this.visit(vertex, \"\");\n }\n this.each(this.result, cb);\n };\n Vertices.prototype.check = function (v, w) {\n var i, key, msg_1;\n\n if (v.key === w) {\n throw new Error(\"cycle detected: \" + w + \" <- \" + w);\n }\n // quick check\n if (v.length === 0) return;\n // shallow check\n for (i = 0; i < v.length; i++) {\n key = this[v[i]].key;\n\n if (key === w) {\n throw new Error(\"cycle detected: \" + w + \" <- \" + v.key + \" <- \" + w);\n }\n }\n // deep check\n this.reset();\n this.visit(v, w);\n if (this.path.length > 0) {\n msg_1 = \"cycle detected: \" + w;\n\n this.each(this.path, function (key) {\n msg_1 += \" <- \" + key;\n });\n throw new Error(msg_1);\n }\n };\n Vertices.prototype.reset = function () {\n var i, l;\n\n this.stack.length = 0;\n this.path.length = 0;\n this.result.length = 0;\n for (i = 0, l = this.length; i < l; i++) {\n this[i].flag = false;\n }\n };\n Vertices.prototype.visit = function (start, search) {\n var _a = this,\n stack = _a.stack,\n path = _a.path,\n result = _a.result,\n index,\n vertex;\n stack.push(start.idx);\n while (stack.length) {\n index = stack.pop() | 0;\n\n if (index >= 0) {\n // enter\n vertex = this[index];\n\n if (vertex.flag) continue;\n vertex.flag = true;\n path.push(index);\n if (search === vertex.key) break;\n // push exit\n stack.push(~index);\n this.pushIncoming(vertex);\n } else {\n // exit\n path.pop();\n result.push(~index);\n }\n }\n };\n Vertices.prototype.pushIncoming = function (incomming) {\n var stack = this.stack,\n i,\n index;\n for (i = incomming.length - 1; i >= 0; i--) {\n index = incomming[i];\n\n if (!this[index].flag) {\n stack.push(index);\n }\n }\n };\n Vertices.prototype.each = function (indices, cb) {\n var i, l, vertex;\n\n for (i = 0, l = indices.length; i < l; i++) {\n vertex = this[indices[i]];\n\n cb(vertex.key, vertex.val);\n }\n };\n return Vertices;\n }();\n /** @private */\n var IntStack = function () {\n function IntStack() {\n this.length = 0;\n }\n IntStack.prototype.push = function (n) {\n this[this.length++] = n | 0;\n };\n IntStack.prototype.pop = function () {\n return this[--this.length] | 0;\n };\n return IntStack;\n }();\n});","enifed('ember-babel', ['exports'], function (exports) {\n 'use strict';\n\n exports.classCallCheck = classCallCheck;\n exports.inherits = inherits;\n exports.taggedTemplateLiteralLoose = taggedTemplateLiteralLoose;\n exports.createClass = createClass;\n exports.possibleConstructorReturn = possibleConstructorReturn;\n var create = Object.create;\n var setPrototypeOf = Object.setPrototypeOf;\n var defineProperty = Object.defineProperty;\n\n function classCallCheck() {}\n\n function inherits(subClass, superClass) {\n subClass.prototype = create(superClass === null ? null : superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass !== null) setPrototypeOf(subClass, superClass);\n }\n\n function taggedTemplateLiteralLoose(strings, raw) {\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 defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n function createClass(Constructor, protoProps, staticProps) {\n if (protoProps !== undefined) defineProperties(Constructor.prototype, protoProps);\n if (staticProps !== undefined) defineProperties(Constructor, staticProps);\n return Constructor;\n }\n\n function possibleConstructorReturn(self, call) {\n return call !== null && typeof call === 'object' || typeof call === 'function' ? call : self;\n }\n});","enifed('ember-browser-environment', ['exports'], function (exports) {\n 'use strict';\n\n // check if window exists and actually is the global\n\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\n var window = hasDom ? self : null;\n var location$1 = hasDom ? self.location : null;\n var history$1 = hasDom ? self.history : null;\n var userAgent = hasDom ? self.navigator.userAgent : 'Lynx (textmode)';\n var isChrome = hasDom ? !!window.chrome && !window.opera : false;\n var isFirefox = hasDom ? typeof InstallTrigger !== 'undefined' : false;\n\n exports.window = window;\n exports.location = location$1;\n exports.history = history$1;\n exports.userAgent = userAgent;\n exports.isChrome = isChrome;\n exports.isFirefox = isFirefox;\n exports.hasDOM = hasDom;\n});","enifed('ember-console/index', ['exports', '@ember/debug', '@ember/deprecated-features'], function (exports, _debug, _deprecatedFeatures) {\n 'use strict';\n\n // Deliver message that the function is deprecated\n\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 var DEPRECATED_LOGGER = void 0;\n\n if (_deprecatedFeatures.LOGGER) {\n DEPRECATED_LOGGER = {\n log: function () {\n var _console;\n\n false && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n });\n\n return (_console = console).log.apply(_console, arguments); // eslint-disable-line no-console\n },\n warn: function () {\n var _console2;\n\n false && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n });\n\n return (_console2 = console).warn.apply(_console2, arguments); // eslint-disable-line no-console\n },\n error: function () {\n var _console3;\n\n false && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n });\n\n return (_console3 = console).error.apply(_console3, arguments); // eslint-disable-line no-console\n },\n info: function () {\n var _console4;\n\n false && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n });\n\n return (_console4 = console).info.apply(_console4, arguments); // eslint-disable-line no-console\n },\n debug: function () {\n var _console6, _console5;\n\n false && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n });\n\n /* eslint-disable no-console */\n if (console.debug) {\n\n return (_console5 = console).debug.apply(_console5, arguments);\n }\n return (_console6 = console).info.apply(_console6, arguments);\n /* eslint-enable no-console */\n },\n assert: function () {\n var _console7;\n\n false && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n });\n\n return (_console7 = console).assert.apply(_console7, arguments); // eslint-disable-line no-console\n }\n };\n }\n\n exports.default = DEPRECATED_LOGGER;\n});","enifed('ember-environment', ['exports'], function (exports) {\n 'use strict';\n\n // from lodash to catch fake globals\n\n function checkGlobal(value) {\n return value && value.Object === Object ? value : undefined;\n }\n // element ids can ruin global miss checks\n\n // export real global\n var global$1 = checkGlobal(function (value) {\n return value && value.nodeType === undefined ? value : undefined;\n }(typeof global === 'object' && global)) || checkGlobal(typeof self === 'object' && self) || checkGlobal(typeof window === 'object' && window) || typeof mainContext !== 'undefined' && mainContext || // set before strict mode in Ember loader/wrapper\n new Function('return this')(); // eval outside of strict mode\n\n // legacy imports/exports/lookup stuff (should we keep this??)\n var context = function (global, Ember) {\n return Ember === undefined ? { imports: global, exports: global, lookup: global } : {\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\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 var ENV = {\n ENABLE_OPTIONAL_FEATURES: false,\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 The `LOG_STACKTRACE_ON_DEPRECATION` property, when true, tells Ember to log\n a full stack trace during deprecation warnings.\n @property LOG_STACKTRACE_ON_DEPRECATION\n @type Boolean\n @default true\n @for EmberENV\n @public\n */\n LOG_STACKTRACE_ON_DEPRECATION: true,\n /**\n The `LOG_VERSION` property, when true, tells Ember to log versions of all\n dependent libraries in use.\n @property LOG_VERSION\n @type Boolean\n @default true\n @for EmberENV\n @public\n */\n LOG_VERSION: true,\n RAISE_ON_DEPRECATION: false,\n STRUCTURED_PROFILE: false,\n /**\n Whether to insert a `<div class=\"ember-view\" />` wrapper around the\n application template. See RFC #280.\n This is not intended to be set directly, as the implementation may change in\n the future. Use `@ember/optional-features` instead.\n @property _APPLICATION_TEMPLATE_WRAPPER\n @for EmberENV\n @type Boolean\n @default true\n @private\n */\n _APPLICATION_TEMPLATE_WRAPPER: true,\n /**\n Whether to use Glimmer Component semantics (as opposed to the classic \"Curly\"\n components semantics) for template-only components. See RFC #278.\n This is not intended to be set directly, as the implementation may change in\n the future. Use `@ember/optional-features` instead.\n @property _TEMPLATE_ONLY_GLIMMER_COMPONENTS\n @for EmberENV\n @type Boolean\n @default false\n @private\n */\n _TEMPLATE_ONLY_GLIMMER_COMPONENTS: false,\n /**\n Whether 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 // the following for addon support\n _ENABLE_EMBER_K_SUPPORT: false,\n _ENABLE_SAFE_STRING_SUPPORT: false,\n _ENABLE_ENUMERABLE_CONTAINS_SUPPORT: false,\n _ENABLE_UNDERSCORE_ACTIONS_SUPPORT: false,\n _ENABLE_REVERSED_OBSERVER_SUPPORT: false,\n _ENABLE_INITIALIZER_ARGUMENTS_SUPPORT: false,\n _ENABLE_ROUTER_RESOURCE: false,\n _ENABLE_CURRENT_WHEN_SUPPORT: false,\n _ENABLE_CONTROLLER_WRAPPED_SUPPORT: false,\n _ENABLE_DEPRECATED_REGISTRY_SUPPORT: false,\n _ENABLE_IMMEDIATE_OBSERVER_SUPPORT: false,\n _ENABLE_STRING_FMT_SUPPORT: false,\n _ENABLE_FREEZABLE_SUPPORT: false,\n _ENABLE_COMPONENT_DEFAULTLAYOUT_SUPPORT: false,\n _ENABLE_BINDING_SUPPORT: false,\n _ENABLE_INPUT_TRANSFORM_SUPPORT: false,\n _ENABLE_DEPRECATION_OPTIONS_SUPPORT: false,\n _ENABLE_ORPHANED_OUTLETS_SUPPORT: false,\n _ENABLE_WARN_OPTIONS_SUPPORT: false,\n _ENABLE_RESOLVER_FUNCTION_SUPPORT: false,\n _ENABLE_DID_INIT_ATTRS_SUPPORT: false,\n _ENABLE_RENDER_SUPPORT: false,\n _ENABLE_PROPERTY_REQUIRED_SUPPORT: false,\n EMBER_LOAD_HOOKS: {},\n FEATURES: {}\n };\n (function (EmberENV) {\n if (typeof EmberENV !== 'object' || EmberENV === null) return;\n for (var flag in EmberENV) {\n if (!EmberENV.hasOwnProperty(flag) || flag === 'EXTEND_PROTOTYPES' || flag === 'EMBER_LOAD_HOOKS') continue;\n 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 var EXTEND_PROTOTYPES = EmberENV.EXTEND_PROTOTYPES,\n defaultValue,\n isEnabled,\n hooks;\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 ENV.EXTEND_PROTOTYPES.Function = EXTEND_PROTOTYPES.Function !== false;\n ENV.EXTEND_PROTOTYPES.Array = EXTEND_PROTOTYPES.Array !== false;\n } else {\n isEnabled = EXTEND_PROTOTYPES !== false;\n\n ENV.EXTEND_PROTOTYPES.String = isEnabled;\n ENV.EXTEND_PROTOTYPES.Function = isEnabled;\n ENV.EXTEND_PROTOTYPES.Array = isEnabled;\n }\n }\n // TODO this does not seem to be used by anything,\n // can we remove it? do we need to deprecate it?\n 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 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 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\n exports.global = global$1;\n exports.context = context;\n exports.getLookup = function () {\n return context.lookup;\n };\n exports.setLookup = function (value) {\n context.lookup = value;\n };\n exports.ENV = ENV;\n exports.getENV = function () {\n return ENV;\n };\n});","enifed(\"ember-error-handling/index\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.getOnerror = getOnerror;\n exports.setOnerror =\n // Ember.onerror setter\n function (handler) {\n onerror = handler;\n };\n exports.getDispatchOverride = getDispatchOverride;\n exports.setDispatchOverride = function (handler) {\n dispatchOverride = handler;\n };\n var onerror = void 0;\n exports.onErrorTarget = {\n get onerror() {\n return onerror;\n }\n };\n // Ember.onerror getter\n\n function getOnerror() {\n return onerror;\n }\n var dispatchOverride = void 0;\n // allows testing adapter to override dispatch\n function getDispatchOverride() {\n return dispatchOverride;\n }\n});","enifed('ember-extension-support/index', ['exports', 'ember-extension-support/lib/data_adapter', 'ember-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-extension-support/lib/container_debug_adapter', ['exports', '@ember/string', 'ember-runtime'], function (exports, _string, _emberRuntime) {\n 'use strict';\n\n exports.default = _emberRuntime.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, _emberRuntime.A)(_emberRuntime.Namespace.NAMESPACES);\n var types = (0, _emberRuntime.A)();\n var typeSuffixRegex = new RegExp((0, _string.classify)(type) + '$');\n\n namespaces.forEach(function (namespace) {\n var klass;\n\n for (var key in namespace) {\n if (!namespace.hasOwnProperty(key)) {\n continue;\n }\n if (typeSuffixRegex.test(key)) {\n klass = namespace[key];\n\n if ((0, _emberRuntime.typeOf)(klass) === 'class') {\n types.push((0, _string.dasherize)(key.replace(typeSuffixRegex, '')));\n }\n }\n }\n });\n return types;\n }\n });\n});","enifed('ember-extension-support/lib/data_adapter', ['exports', 'ember-owner', '@ember/runloop', 'ember-metal', '@ember/string', 'ember-runtime'], function (exports, _emberOwner, _runloop, _emberMetal, _string, _emberRuntime) {\n 'use strict';\n\n exports.default = _emberRuntime.Object.extend({\n init: function () {\n this._super.apply(this, arguments);\n this.releaseMethods = (0, _emberRuntime.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, _emberRuntime.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, _emberRuntime.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, _emberRuntime.A)();\n var typesToSend = void 0;\n\n typesToSend = modelTypes.map(function (type) {\n var klass = type.klass;\n var wrapped = _this.wrapModelType(klass, type.name);\n releaseMethods.push(_this.observeModelType(type.name, typesUpdated));\n return wrapped;\n });\n\n typesAdded(typesToSend);\n\n var release = function () {\n releaseMethods.forEach(function (fn) {\n return fn();\n });\n _this.releaseMethods.removeObject(release);\n };\n this.releaseMethods.pushObject(release);\n return release;\n },\n _nameToClass: function (type) {\n var owner, Factory;\n\n if (typeof type === 'string') {\n owner = (0, _emberOwner.getOwner)(this);\n Factory = owner.factoryFor('model:' + type);\n\n type = Factory && Factory.class;\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, _emberRuntime.A)();\n var klass = this._nameToClass(modelName);\n var records = this.getRecords(klass, modelName);\n var release = void 0;\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 observer = {\n didChange: function (array, idx, removedCount, addedCount) {\n var i, record, wrapped;\n\n for (i = idx; i < idx + addedCount; i++) {\n record = (0, _emberMetal.objectAt)(array, i);\n 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 willChange: function () {\n return this;\n }\n };\n (0, _emberMetal.addArrayObserver)(records, this, observer);\n\n release = function () {\n releaseMethods.forEach(function (fn) {\n return fn();\n });\n (0, _emberMetal.removeArrayObserver)(records, _this2, observer);\n _this2.releaseMethods.removeObject(release);\n };\n\n recordsAdded(recordsToSend);\n\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 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 @private\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 @private\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, _emberRuntime.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\n observeModelType: function (modelName, typesUpdated) {\n var _this3 = this;\n\n var klass = this._nameToClass(modelName);\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\n (0, _emberMetal.addArrayObserver)(records, this, observer);\n\n return function () {\n return (0, _emberMetal.removeArrayObserver)(records, _this3, observer);\n };\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 = void 0;\n\n typeToSend = {\n name: name,\n count: (0, _emberMetal.get)(records, 'length'),\n columns: this.columnsForType(klass),\n object: klass\n };\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 = void 0;\n\n if (containerDebugAdapter.canCatalogEntriesByType('model')) {\n types = containerDebugAdapter.catalogEntriesByType('model');\n } else {\n types = this._getObjectsOnNamespaces();\n }\n\n // New adapters return strings instead of classes.\n types = (0, _emberRuntime.A)(types).map(function (name) {\n return {\n klass: _this4._nameToClass(name),\n name: name\n };\n });\n types = (0, _emberRuntime.A)(types).filter(function (type) {\n return _this4.detect(type.klass);\n });\n\n return (0, _emberRuntime.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, _emberRuntime.A)(_emberRuntime.Namespace.NAMESPACES);\n var types = (0, _emberRuntime.A)();\n\n namespaces.forEach(function (namespace) {\n var name;\n\n for (var key in namespace) {\n if (!namespace.hasOwnProperty(key)) {\n continue;\n }\n // Even though we will filter again in `getModelTypes`,\n // we should not call `lookupFactory` on non-models\n if (!_this5.detect(namespace[key])) {\n continue;\n }\n name = (0, _string.dasherize)(key);\n\n types.push(name);\n }\n });\n return types;\n },\n\n /**\n Fetches all loaded records for a given type.\n @private\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, _emberRuntime.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 = { 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\n return recordToSend;\n },\n\n /**\n Gets the values for each column.\n @private\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 @private\n @method getRecordKeywords\n @return {Array} Relevant keywords for search.\n */\n getRecordKeywords: function () {\n return (0, _emberRuntime.A)();\n },\n\n /**\n Returns the values of filters defined by `getFilters`.\n @private\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 @private\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 @private\n @method observerRecord\n @return {Function} The function to call to remove all observers.\n */\n observeRecord: function () {\n return function () {};\n }\n });\n});","enifed('ember-glimmer', ['exports', '@glimmer/runtime', '@glimmer/util', '@glimmer/node', 'ember-babel', '@glimmer/opcode-compiler', 'ember-owner', '@glimmer/reference', 'ember-runtime', 'ember-utils', 'ember-metal', '@ember/debug', 'ember-views', 'ember-browser-environment', '@ember/instrumentation', '@ember/service', 'node-module', '@ember/polyfills', 'ember-environment', '@ember/string', '@glimmer/wire-format', '@ember/deprecated-features', 'container', '@ember/runloop', 'rsvp', 'ember-routing'], function (exports, _runtime, _util, _node, _emberBabel, _opcodeCompiler, _emberOwner, _reference, _emberRuntime, _emberUtils, _emberMetal, _debug, _emberViews, _emberBrowserEnvironment, _instrumentation, _service, _nodeModule, _polyfills, _emberEnvironment, _string, _wireFormat, _deprecatedFeatures, _container, _runloop, _rsvp, _emberRouting) {\n 'use strict';\n\n exports.getComponentManager = exports.setComponentManager = exports.capabilities = exports.OutletView = exports.DebugStack = exports.iterableFor = exports.INVOKE = exports.UpdatableReference = exports.AbstractComponentManager = exports._experimentalMacros = exports._registerMacros = exports.setupApplicationRegistry = exports.setupEngineRegistry = exports.setTemplates = exports.getTemplates = exports.hasTemplate = exports.setTemplate = exports.getTemplate = exports.renderSettled = exports._resetRenderers = exports.InteractiveRenderer = exports.InertRenderer = exports.Renderer = exports.isHTMLSafe = exports.htmlSafe = exports.escapeExpression = exports.SafeString = exports.Environment = exports.helper = exports.Helper = exports.ROOT_REF = exports.Component = exports.LinkComponent = exports.TextArea = exports.TextField = exports.Checkbox = exports.template = exports.RootTemplate = exports.NodeDOMTreeConstruction = exports.isSerializationFirstNode = exports.DOMTreeConstruction = exports.DOMChanges = undefined;\n Object.defineProperty(exports, 'DOMChanges', {\n enumerable: true,\n get: function () {\n return _runtime.DOMChanges;\n }\n });\n Object.defineProperty(exports, 'DOMTreeConstruction', {\n enumerable: true,\n get: function () {\n return _runtime.DOMTreeConstruction;\n }\n });\n Object.defineProperty(exports, 'isSerializationFirstNode', {\n enumerable: true,\n get: function () {\n return _util.isSerializationFirstNode;\n }\n });\n Object.defineProperty(exports, 'NodeDOMTreeConstruction', {\n enumerable: true,\n get: function () {\n return _node.NodeDOMTreeConstruction;\n }\n });\n\n var _templateObject = (0, _emberBabel.taggedTemplateLiteralLoose)(['template:components/-default'], ['template:components/-default']),\n _templateObject2 = (0, _emberBabel.taggedTemplateLiteralLoose)(['component:-default'], ['component:-default']),\n _templateObject3 = (0, _emberBabel.taggedTemplateLiteralLoose)(['template:-root'], ['template:-root']),\n _templateObject4 = (0, _emberBabel.taggedTemplateLiteralLoose)(['template-compiler:main'], ['template-compiler:main']),\n AbstractRenderManager,\n _CAPABILITIES,\n SingletonRenderManager,\n NONSINGLETON_CAPABILITIES,\n NonSingletonRenderManager;\n\n var _CoreView$extend;\n\n function template(json) {\n return new FactoryWrapper((0, _opcodeCompiler.templateFactory)(json));\n }\n\n var FactoryWrapper = function () {\n function FactoryWrapper(factory) {\n\n this.factory = factory;\n this.id = factory.id;\n this.meta = factory.meta;\n }\n\n FactoryWrapper.prototype.create = function (injections) {\n var owner = (0, _emberOwner.getOwner)(injections);\n return this.factory.create(injections.compiler, { owner: owner });\n };\n\n return FactoryWrapper;\n }();\n\n var RootTemplate = template({ \"id\": \"Zi0CBVtc\", \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[27,\\\"component\\\",[[22,0,[]]],null],false]],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"packages/ember-glimmer/lib/templates/root.hbs\" } });\n\n /**\n @module @ember/component\n */\n var RECOMPUTE_TAG = (0, _emberUtils.symbol)('RECOMPUTE_TAG');\n function isHelperFactory(helper) {\n return typeof helper === 'object' && helper !== null && helper.class && helper.class.isHelperFactory;\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 var Helper = _emberRuntime.FrameworkObject.extend({\n init: function () {\n this._super.apply(this, arguments);\n this[RECOMPUTE_TAG] = _reference.DirtyableTag.create();\n },\n recompute: function () {\n this[RECOMPUTE_TAG].inner.dirty();\n }\n });\n Helper.isHelperFactory = true;\n\n var Wrapper = function () {\n function Wrapper(compute) {\n\n this.compute = compute;\n this.isHelperFactory = true;\n }\n\n Wrapper.prototype.create = function () {\n // needs new instance or will leak containers\n return {\n compute: this.compute\n };\n };\n\n return Wrapper;\n }();\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 function helper(helperFn) {\n return new Wrapper(helperFn);\n }\n\n function _toBool(predicate) {\n if ((0, _emberRuntime.isArray)(predicate)) {\n return predicate.length !== 0;\n } else {\n return !!predicate;\n }\n }\n\n var UPDATE = (0, _emberUtils.symbol)('UPDATE');\n var INVOKE = (0, _emberUtils.symbol)('INVOKE');\n var ACTION = (0, _emberUtils.symbol)('ACTION');\n\n\n var EmberPathReference = function () {\n function EmberPathReference() {}\n\n EmberPathReference.prototype.get = function (key) {\n return PropertyReference.create(this, key);\n };\n\n return EmberPathReference;\n }();\n\n var CachedReference$1 = function (_EmberPathReference) {\n (0, _emberBabel.inherits)(CachedReference$1, _EmberPathReference);\n\n function CachedReference$1() {\n\n var _this = (0, _emberBabel.possibleConstructorReturn)(this, _EmberPathReference.call(this));\n\n _this._lastRevision = null;\n _this._lastValue = null;\n return _this;\n }\n\n CachedReference$1.prototype.value = function () {\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 return _lastValue;\n };\n\n return CachedReference$1;\n }(EmberPathReference);\n\n var RootReference = function (_ConstReference) {\n (0, _emberBabel.inherits)(RootReference, _ConstReference);\n\n function RootReference(value) {\n\n var _this2 = (0, _emberBabel.possibleConstructorReturn)(this, _ConstReference.call(this, value));\n\n _this2.children = Object.create(null);\n return _this2;\n }\n\n RootReference.prototype.get = function (propertyKey) {\n var ref = this.children[propertyKey];\n if (ref === undefined) {\n ref = this.children[propertyKey] = new RootPropertyReference(this.inner, propertyKey);\n }\n return ref;\n };\n\n return RootReference;\n }(_reference.ConstReference);\n\n var PropertyReference = function (_CachedReference$) {\n (0, _emberBabel.inherits)(PropertyReference, _CachedReference$);\n\n function PropertyReference() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference$.apply(this, arguments));\n }\n\n PropertyReference.create = function (parentReference, propertyKey) {\n if ((0, _reference.isConst)(parentReference)) {\n return new RootPropertyReference(parentReference.value(), propertyKey);\n } else {\n return new NestedPropertyReference(parentReference, propertyKey);\n }\n };\n\n PropertyReference.prototype.get = function (key) {\n return new NestedPropertyReference(this, key);\n };\n\n return PropertyReference;\n }(CachedReference$1);\n\n var RootPropertyReference = function (_PropertyReference) {\n (0, _emberBabel.inherits)(RootPropertyReference, _PropertyReference);\n\n function RootPropertyReference(parentValue, propertyKey) {\n\n var _this4 = (0, _emberBabel.possibleConstructorReturn)(this, _PropertyReference.call(this));\n\n _this4._parentValue = parentValue;\n _this4._propertyKey = propertyKey;\n\n _this4.tag = (0, _emberMetal.tagForProperty)(parentValue, propertyKey);\n\n return _this4;\n }\n\n RootPropertyReference.prototype.compute = function () {\n var _parentValue = this._parentValue,\n _propertyKey = this._propertyKey;\n\n return (0, _emberMetal.get)(_parentValue, _propertyKey);\n };\n\n RootPropertyReference.prototype[UPDATE] = function (value) {\n (0, _emberMetal.set)(this._parentValue, this._propertyKey, value);\n };\n\n return RootPropertyReference;\n }(PropertyReference);\n\n var NestedPropertyReference = function (_PropertyReference2) {\n (0, _emberBabel.inherits)(NestedPropertyReference, _PropertyReference2);\n\n function NestedPropertyReference(parentReference, propertyKey) {\n\n var _this5 = (0, _emberBabel.possibleConstructorReturn)(this, _PropertyReference2.call(this));\n\n var parentReferenceTag = parentReference.tag;\n var parentObjectTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n _this5._parentReference = parentReference;\n _this5._parentObjectTag = parentObjectTag;\n _this5._propertyKey = propertyKey;\n\n _this5.tag = (0, _reference.combine)([parentReferenceTag, parentObjectTag]);\n\n return _this5;\n }\n\n NestedPropertyReference.prototype.compute = function () {\n var _parentReference = this._parentReference,\n _parentObjectTag = this._parentObjectTag,\n _propertyKey = this._propertyKey;\n\n var parentValue = _parentReference.value();\n _parentObjectTag.inner.update((0, _emberMetal.tagForProperty)(parentValue, _propertyKey));\n var parentValueType = typeof parentValue;\n if (parentValueType === 'string' && _propertyKey === 'length') {\n return parentValue.length;\n }\n if (parentValueType === 'object' && parentValue !== null || parentValueType === 'function') {\n return (0, _emberMetal.get)(parentValue, _propertyKey);\n } else {\n return undefined;\n }\n };\n\n NestedPropertyReference.prototype[UPDATE] = function (value) {\n var parent = this._parentReference.value();\n (0, _emberMetal.set)(parent, this._propertyKey, value);\n };\n\n return NestedPropertyReference;\n }(PropertyReference);\n\n var UpdatableReference = function (_EmberPathReference2) {\n (0, _emberBabel.inherits)(UpdatableReference, _EmberPathReference2);\n\n function UpdatableReference(value) {\n\n var _this6 = (0, _emberBabel.possibleConstructorReturn)(this, _EmberPathReference2.call(this));\n\n _this6.tag = _reference.DirtyableTag.create();\n _this6._value = value;\n return _this6;\n }\n\n UpdatableReference.prototype.value = function () {\n return this._value;\n };\n\n UpdatableReference.prototype.update = function (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 var ConditionalReference$1 = function (_ConditionalReference) {\n (0, _emberBabel.inherits)(ConditionalReference$1, _ConditionalReference);\n\n ConditionalReference$1.create = function (reference) {\n var value;\n\n if ((0, _reference.isConst)(reference)) {\n value = reference.value();\n\n if ((0, _emberUtils.isProxy)(value)) {\n return new RootPropertyReference(value, 'isTruthy');\n } else {\n return _runtime.PrimitiveReference.create(_toBool(value));\n }\n }\n return new ConditionalReference$1(reference);\n };\n\n function ConditionalReference$1(reference) {\n\n var _this7 = (0, _emberBabel.possibleConstructorReturn)(this, _ConditionalReference.call(this, reference));\n\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 ConditionalReference$1.prototype.toBool = function (predicate) {\n if ((0, _emberUtils.isProxy)(predicate)) {\n this.objectTag.inner.update((0, _emberMetal.tagForProperty)(predicate, 'isTruthy'));\n return (0, _emberMetal.get)(predicate, 'isTruthy');\n } else {\n this.objectTag.inner.update((0, _emberMetal.tagFor)(predicate));\n return _toBool(predicate);\n }\n };\n\n return ConditionalReference$1;\n }(_runtime.ConditionalReference);\n\n var SimpleHelperReference = function (_CachedReference$2) {\n (0, _emberBabel.inherits)(SimpleHelperReference, _CachedReference$2);\n\n SimpleHelperReference.create = function (helper$$1, args) {\n var positional, named, positionalValue, namedValue, result;\n\n if ((0, _reference.isConst)(args)) {\n positional = args.positional, named = args.named;\n positionalValue = positional.value();\n namedValue = named.value();\n result = helper$$1(positionalValue, namedValue);\n\n return valueToRef(result);\n } else {\n return new SimpleHelperReference(helper$$1, args);\n }\n };\n\n function SimpleHelperReference(helper$$1, args) {\n\n var _this8 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference$2.call(this));\n\n _this8.tag = args.tag;\n _this8.helper = helper$$1;\n _this8.args = args;\n return _this8;\n }\n\n SimpleHelperReference.prototype.compute = function () {\n var helper$$1 = this.helper,\n _args2 = this.args,\n positional = _args2.positional,\n named = _args2.named;\n\n var positionalValue = positional.value();\n var namedValue = named.value();\n\n return helper$$1(positionalValue, namedValue);\n };\n\n return SimpleHelperReference;\n }(CachedReference$1);\n\n var ClassBasedHelperReference = function (_CachedReference$3) {\n (0, _emberBabel.inherits)(ClassBasedHelperReference, _CachedReference$3);\n\n ClassBasedHelperReference.create = function (instance, args) {\n return new ClassBasedHelperReference(instance, args);\n };\n\n function ClassBasedHelperReference(instance, args) {\n\n var _this9 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference$3.call(this));\n\n _this9.tag = (0, _reference.combine)([instance[RECOMPUTE_TAG], args.tag]);\n _this9.instance = instance;\n _this9.args = args;\n return _this9;\n }\n\n ClassBasedHelperReference.prototype.compute = function () {\n var instance = this.instance,\n _args3 = this.args,\n positional = _args3.positional,\n named = _args3.named;\n\n var positionalValue = positional.value();\n var namedValue = named.value();\n\n return instance.compute(positionalValue, namedValue);\n };\n\n return ClassBasedHelperReference;\n }(CachedReference$1);\n\n var InternalHelperReference = function (_CachedReference$4) {\n (0, _emberBabel.inherits)(InternalHelperReference, _CachedReference$4);\n\n function InternalHelperReference(helper$$1, args) {\n\n var _this10 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference$4.call(this));\n\n _this10.tag = args.tag;\n _this10.helper = helper$$1;\n _this10.args = args;\n return _this10;\n }\n\n InternalHelperReference.prototype.compute = function () {\n var helper$$1 = this.helper,\n args = this.args;\n\n return helper$$1(args);\n };\n\n return InternalHelperReference;\n }(CachedReference$1);\n\n var UnboundReference = function (_ConstReference2) {\n (0, _emberBabel.inherits)(UnboundReference, _ConstReference2);\n\n function UnboundReference() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _ConstReference2.apply(this, arguments));\n }\n\n UnboundReference.create = function (value) {\n return valueToRef(value, false);\n };\n\n UnboundReference.prototype.get = function (key) {\n return valueToRef((0, _emberMetal.get)(this.inner, key), false);\n };\n\n return UnboundReference;\n }(_reference.ConstReference);\n\n var ReadonlyReference = function (_CachedReference$5) {\n (0, _emberBabel.inherits)(ReadonlyReference, _CachedReference$5);\n\n function ReadonlyReference(inner) {\n\n var _this12 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference$5.call(this));\n\n _this12.inner = inner;\n return _this12;\n }\n\n ReadonlyReference.prototype.compute = function () {\n return this.inner.value();\n };\n\n ReadonlyReference.prototype.get = function (key) {\n return this.inner.get(key);\n };\n\n (0, _emberBabel.createClass)(ReadonlyReference, [{\n key: 'tag',\n get: function () {\n return this.inner.tag;\n }\n }, {\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 i;\n for (i = 0; i < parts.length; i++) {\n reference = reference.get(parts[i]);\n }\n return reference;\n }\n function valueToRef(value) {\n var bound = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n if (value !== null && typeof value === 'object') {\n // root of interop with ember objects\n return bound ? new RootReference(value) : new UnboundReference(value);\n }\n // ember doesn't do observing with functions\n if (typeof value === 'function') {\n return new UnboundReference(value);\n }\n return _runtime.PrimitiveReference.create(value);\n }\n\n var DIRTY_TAG = (0, _emberUtils.symbol)('DIRTY_TAG');\n var ARGS = (0, _emberUtils.symbol)('ARGS');\n var ROOT_REF = (0, _emberUtils.symbol)('ROOT_REF');\n var IS_DISPATCHING_ATTRS = (0, _emberUtils.symbol)('IS_DISPATCHING_ATTRS');\n var HAS_BLOCK = (0, _emberUtils.symbol)('HAS_BLOCK');\n var BOUNDS = (0, _emberUtils.symbol)('BOUNDS');\n /**\n @module @ember/component\n */\n /**\n A `Component` is a view that is completely\n isolated. Properties accessed in its templates go\n to the view object and actions are targeted at\n the view object. There is no access to the\n surrounding context or outer controller; all\n contextual information must be passed in.\n \n The easiest way to create a `Component` is via\n a template. If you name a template\n `app/components/my-foo.hbs`, you will be able to use\n `{{my-foo}}` in other templates, which will make\n an instance of the isolated component.\n \n ```app/components/my-foo.hbs\n {{person-profile person=currentUser}}\n ```\n \n ```app/components/person-profile.hbs\n <h1>{{person.title}}</h1>\n <img src={{person.avatar}}>\n <p class='signature'>{{person.signature}}</p>\n ```\n \n You can use `yield` inside a template to\n include the **contents** of any block attached to\n the component. The block will be executed in the\n context of the surrounding context or outer controller:\n \n ```handlebars\n {{#person-profile person=currentUser}}\n <p>Admin mode</p>\n {{! Executed in the controller's context. }}\n {{/person-profile}}\n ```\n \n ```app/components/person-profile.hbs\n <h1>{{person.title}}</h1>\n {{! Executed in the component's context. }}\n {{yield}} {{! block contents }}\n ```\n \n If you want to customize the component, in order to\n handle events or actions, you implement a subclass\n of `Component` named after the name of the\n component.\n \n For example, you could implement the action\n `hello` for the `person-profile` 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.title}}</h1>\n {{yield}} <!-- block contents -->\n <button {{action 'hello' person.name}}>\n Say Hello to {{person.name}}\n </button>\n ```\n \n Components must have a `-` in their name to avoid\n conflicts with built-in controls that wrap HTML\n elements. This is consistent with the same\n requirement in web components.\n \n ## HTML Tag\n \n The default HTML tag name used for a component's DOM representation is `div`.\n This can be customized by setting the `tagName` property.\n 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 Would result in instances with the following HTML:\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 Will result in component instances with an HTML representation of:\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 value\n of these properties will be added as part of the value for the components's `class`\n 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 classNameBindings: ['propertyA', 'propertyB'],\n \n propertyA: 'from-a',\n propertyB: computed(function() {\n if (someLogic) { return 'from-b'; }\n })\n });\n ```\n \n Will result in component instances with an HTML representation of:\n \n ```html\n <div id=\"ember1\" class=\"ember-view 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.\n The class name 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 Will result in component instances with an HTML representation of:\n \n ```html\n <div id=\"ember1\" class=\"ember-view hovered\"></div>\n ```\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 Will result in component instances with an HTML representation of:\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 Will result in component instances with an HTML representation of:\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 Will result in component instances with an HTML representation of:\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 Will result in component instances with an HTML representation of:\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\n 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 Will result in component instances with an HTML representation of:\n \n ```html\n <div id=\"ember1\" class=\"ember-view\"></div>\n ```\n \n When the `isEnabled` property on the component is set to `false`, it will result\n in component instances with an HTML representation of:\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\n update 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 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 ## 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 Will result in component instances with an HTML representation of:\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 Will result in component instances with an HTML representation of:\n \n ```html\n <a id=\"ember1\" class=\"ember-view\" href=\"http://google.com\"></a>\n ```\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 Will result in component instances with an HTML representation of:\n \n ```html\n <use xlink:href=\"#triangle\"></use>\n ```\n \n If the return value of an `attributeBindings` monitored property is a boolean\n the 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 Will result in a component instance with an HTML representation of:\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 return value of the `attributeBindings` monitored property:\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 rendered HTML representation.\n `attributeBindings` is a concatenated property. See [EmberObject](/api/ember/release/classes/EmberObject)\n documentation for more information about concatenated properties.\n \n ## Layouts\n \n See [Ember.Templates.helpers.yield](/api/ember/release/classes/Ember.Templates.helpers/methods/yield?anchor=yield)\n for more information.\n \n Layout can be used to wrap content in a component. In addition\n to wrapping content in a Component's template, you can also use\n the public layout API in your Component JavaScript.\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 The above 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 ## Responding to Browser Events\n \n Components can respond to user-initiated events in one of three ways: method\n implementation, through an event manager, and through `{{action}}` helper use\n in their template or layout.\n \n ### Method Implementation\n \n Components can respond to user-initiated events by implementing a method that\n matches the event name. A `jQuery.Event` object will be passed as the\n argument to this method.\n \n ```app/components/my-widget.js\n import Component from '@ember/component';\n \n export default Component.extend({\n click(event) {\n // will be called when an instance's\n // rendered element is clicked\n }\n });\n ```\n \n ### `{{action}}` Helper\n \n See [Ember.Templates.helpers.action](/api/ember/release/classes/Ember.Templates.helpers/methods/yield?anchor=yield).\n \n ### Event Names\n \n All of the event handling approaches described above respond to the same set\n of events. The names of the built-in events are listed below. (The hash of\n built-in events exists in `Ember.EventDispatcher`.) Additional, custom events\n can be registered 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 HTML5 drag and drop events:\n \n * `dragStart`\n * `drag`\n * `dragEnter`\n * `dragLeave`\n * `dragOver`\n * `dragEnd`\n * `drop`\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 var Component = _emberViews.CoreView.extend(_emberViews.ChildViewsSupport, _emberViews.ViewStateSupport, _emberViews.ClassNamesSupport, _emberRuntime.TargetActionSupport, _emberViews.ActionSupport, _emberViews.ViewMixin, (_CoreView$extend = {\n isComponent: true,\n init: function () {\n var _this13 = this;\n\n this._super.apply(this, arguments);\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 // If in a tagless component, assert that no event handlers are defined\n false && !(this.tagName !== '' || !this.renderer._destinedForDOM || !function () {\n var eventDispatcher = (0, _emberOwner.getOwner)(_this13).lookup('event_dispatcher:main'),\n methodName;\n var events = eventDispatcher && eventDispatcher._finalEvents || {};\n // tslint:disable-next-line:forin\n for (var key in events) {\n methodName = events[key];\n\n if (typeof _this13[methodName] === 'function') {\n return true; // indicate that the assertion should be triggered\n }\n }\n return false;\n }()) && (0, _debug.assert)('You can not define a function that handles DOM events in the `' + this + '` tagless component since it doesn\\'t have any DOM element.', this.tagName !== '' || !this.renderer._destinedForDOM || !function () {\n var eventDispatcher = (0, _emberOwner.getOwner)(_this13).lookup('event_dispatcher:main'),\n methodName;var events = eventDispatcher && eventDispatcher._finalEvents || {};for (var key in events) {\n methodName = events[key];\n if (typeof _this13[methodName] === 'function') {\n return true;\n }\n }return false;\n }());\n },\n rerender: function () {\n this[DIRTY_TAG].inner.dirty();\n this._super();\n }\n }, _CoreView$extend[_emberMetal.PROPERTY_DID_CHANGE] = function (key) {\n if (this[IS_DISPATCHING_ATTRS]) {\n return;\n }\n var args = this[ARGS];\n var reference = args !== undefined ? args[key] : undefined;\n if (reference !== undefined && reference[UPDATE] !== undefined) {\n reference[UPDATE]((0, _emberMetal.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, _emberViews.getViewElement)(this);\n var isSVG = element.namespaceURI === _runtime.SVG_NAMESPACE;\n\n var _normalizeProperty = (0, _runtime.normalizeProperty)(element, name),\n type = _normalizeProperty.type,\n normalized = _normalizeProperty.normalized;\n\n if (isSVG || type === 'attr') {\n return element.getAttribute(normalized);\n }\n return element[normalized];\n }, _CoreView$extend));\n Component.toString = function () {\n return '@ember/component';\n };\n Component.reopenClass({\n isComponentFactory: true,\n positionalParams: []\n });\n\n var layout = template({ \"id\": \"5jp2oO+o\", \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"packages/ember-glimmer/lib/templates/empty.hbs\" } });\n\n /**\n @module @ember/component\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 var Checkbox = Component.extend({\n layout: layout,\n classNames: ['ember-checkbox'],\n tagName: 'input',\n attributeBindings: ['type', 'checked', 'indeterminate', 'disabled', 'tabindex', 'name', 'autofocus', 'required', 'form'],\n type: 'checkbox',\n disabled: false,\n indeterminate: false,\n didInsertElement: function () {\n this._super.apply(this, arguments);\n (0, _emberMetal.get)(this, 'element').indeterminate = !!(0, _emberMetal.get)(this, 'indeterminate');\n },\n change: function () {\n (0, _emberMetal.set)(this, 'checked', this.element.checked);\n }\n });\n Checkbox.toString = function () {\n return '@ember/component/checkbox';\n };\n\n /**\n @module @ember/component\n */\n var inputTypes = Object.create(null);\n function canSetTypeOfInput(type) {\n if (type in inputTypes) {\n return inputTypes[type];\n }\n // if running in outside of a browser always return the\n // original type\n if (!_emberBrowserEnvironment.hasDOM) {\n inputTypes[type] = type;\n return type;\n }\n var inputTypeTestElement = document.createElement('input');\n try {\n inputTypeTestElement.type = type;\n } catch (e) {\n // ignored\n }\n return inputTypes[type] = inputTypeTestElement.type === type;\n }\n /**\n \n The internal class used to create text inputs when the `{{input}}`\n helper is used with `type` of `text`.\n \n See [Ember.Templates.helpers.input](/api/ember/release/classes/Ember.Templates.helpers/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 var TextField = Component.extend(_emberViews.TextSupport, {\n layout: layout,\n classNames: ['ember-text-field'],\n tagName: 'input',\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 The `value` attribute of the input element. As the user inputs text, this\n property is updated live.\n @property value\n @type String\n @default \"\"\n @public\n */\n value: '',\n /**\n The `type` attribute of the input element.\n @property type\n @type String\n @default \"text\"\n @public\n */\n type: (0, _emberMetal.computed)({\n get: function () {\n return 'text';\n },\n set: function (_key, value) {\n var type = 'text';\n if (canSetTypeOfInput(value)) {\n type = value;\n }\n return type;\n }\n }),\n /**\n The `size` of the text field in characters.\n @property size\n @type String\n @default null\n @public\n */\n size: null,\n /**\n The `pattern` attribute of input element.\n @property pattern\n @type String\n @default null\n @public\n */\n pattern: null,\n /**\n The `min` attribute of input element used with `type=\"number\"` or `type=\"range\"`.\n @property min\n @type String\n @default null\n @since 1.4.0\n @public\n */\n min: null,\n /**\n The `max` attribute of input element used with `type=\"number\"` or `type=\"range\"`.\n @property max\n @type String\n @default null\n @since 1.4.0\n @public\n */\n max: null\n });\n TextField.toString = function () {\n return '@ember/component/text-field';\n };\n\n /**\n @module @ember/component\n */\n /**\n `{{textarea}}` inserts a new instance of `<textarea>` tag into the template.\n The attributes of `{{textarea}}` match those of the native HTML tags as\n closely as possible.\n \n The following HTML attributes can be set:\n \n * `value`\n * `name`\n * `rows`\n * `cols`\n * `placeholder`\n * `disabled`\n * `maxlength`\n * `tabindex`\n * `selectionEnd`\n * `selectionStart`\n * `autocomplete`\n * `selectionDirection`\n * `wrap`\n * `readonly`\n * `autofocus`\n * `form`\n * `spellcheck`\n * `required`\n \n When set to a quoted string, these value 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 \n Unbound:\n \n ```handlebars\n {{textarea value=\"Lots of static text that ISN'T bound\"}}\n ```\n \n Would result in the following HTML:\n \n ```html\n <textarea class=\"ember-text-area\">\n Lots of static text that ISN'T bound\n </textarea>\n ```\n \n Bound:\n \n In the following example, the `writtenWords` property on the application\n Controller will be updated live as the user types 'Lots of text that IS\n bound' into the text area of their browser's window.\n \n ```app/controllers/application.js\n import Controller from '@ember/controller';\n \n export default Controller.extend({\n 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 between the text area and a div tag\n somewhere else on your screen, you could use `oneWay`:\n \n ```app/controllers/application.js\n import Controller from '@ember/controller';\n import { oneWay } from '@ember/object/computed';\n \n export default Controller.extend({\n writtenWords: \"Lots of text that IS bound\",\n \n outputWrittenWords: oneWay(\"writtenWords\")\n });\n ```\n \n ```handlebars\n {{textarea value=writtenWords}}\n <div>\n {{outputWrittenWords}}\n </div>\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 <-- the following div will be updated in real time as you type -->\n <div>\n Lots of text that IS bound\n </div>\n ```\n \n Finally, this example really shows the power and ease of Ember when two\n properties are bound to eachother via `alias`. Type into\n either text area box and they'll both stay in sync. Note that\n `alias` costs more in terms of performance, so only use it when\n your really binding in both directions:\n \n ```app/controllers/application.js\n import Controller from '@ember/controller';\n import { alias } from '@ember/object/computed';\n \n export default Controller.extend({\n writtenWords: \"Lots of text that IS bound\",\n \n twoWayWrittenWords: alias(\"writtenWords\")\n });\n ```\n \n ```handlebars\n {{textarea value=writtenWords}}\n {{textarea value=twoWayWrittenWords}}\n ```\n \n ```html\n <textarea id=\"ember1\" class=\"ember-text-area\">\n Lots of text that IS bound\n </textarea>\n <-- both updated in real time -->\n <textarea id=\"ember2\" class=\"ember-text-area\">\n Lots of text that IS bound\n </textarea>\n ```\n \n ### Actions\n \n The helper can send multiple actions based on user events.\n The action property defines the action which is send when\n the user presses the return key.\n \n ```handlebars\n {{input action=\"submit\"}}\n ```\n \n The helper allows some user events to send actions.\n \n * `enter`\n * `insert-newline`\n * `escape-press`\n * `focus-in`\n * `focus-out`\n * `key-press`\n \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 \n ```handlebars\n {{textarea focus-out=\"alertMessage\"}}\n ```\n \n See more about [Text Support Actions](/api/ember/release/classes/TextArea)\n \n ### Extension\n \n Internally, `{{textarea}}` creates an instance of `TextArea`, passing\n arguments from the helper to `TextArea`'s `create` method. You can\n extend the capabilities of text areas in your application by reopening this\n class. For example, if you are building a Bootstrap project where `data-*`\n attributes are used, you can globally add support for a `data-*` attribute\n on all `{{textarea}}`s' in your app by reopening `TextArea` or\n `TextSupport` and adding it to the `attributeBindings` concatenated\n property:\n \n ```javascript\n import TextArea from '@ember/component/text-area';\n \n TextArea.reopen({\n attributeBindings: ['data-error']\n });\n ```\n \n Keep in mind when writing `TextArea` subclasses that `TextArea`\n itself extends `Component`. Expect isolated component semantics, not\n legacy 1.x view semantics (like `controller` being present).\n \n See more about [Ember components](/api/ember/release/classes/Component)\n \n @method textarea\n @for Ember.Templates.helpers\n @param {Hash} options\n @public\n */\n /**\n The internal class used to create textarea element when the `{{textarea}}`\n helper is used.\n \n See [Ember.Templates.helpers.textarea](/api/ember/release/classes/Ember.Templates.helpers/methods/textarea?anchor=textarea) for usage details.\n \n ## 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 @class TextArea\n @extends Component\n @uses Ember.TextSupport\n @public\n */\n var TextArea = Component.extend(_emberViews.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 TextArea.toString = function () {\n return '@ember/component/text-area';\n };\n\n var layout$1 = template({ \"id\": \"/tT8MjC4\", \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[23,[\\\"linkTitle\\\"]]],null,{\\\"statements\\\":[[1,[21,\\\"linkTitle\\\"],false]],\\\"parameters\\\":[]},{\\\"statements\\\":[[14,1]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"packages/ember-glimmer/lib/templates/link-to.hbs\" } });\n\n /**\n @module ember\n */\n /**\n @module @ember/routing\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 \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 \n @class LinkComponent\n @extends Component\n @see {Ember.Templates.helpers.link-to}\n @public\n **/\n var LinkComponent = Component.extend({\n layout: layout$1,\n tagName: 'a',\n /**\n Used to determine when this `LinkComponent` is active.\n @property current-when\n @public\n */\n 'current-when': null,\n /**\n Sets the `title` attribute of the `LinkComponent`'s HTML element.\n @property title\n @default null\n @public\n **/\n title: null,\n /**\n Sets the `rel` attribute of the `LinkComponent`'s HTML element.\n @property rel\n @default null\n @public\n **/\n rel: null,\n /**\n Sets the `tabindex` attribute of the `LinkComponent`'s HTML element.\n @property tabindex\n @default null\n @public\n **/\n tabindex: null,\n /**\n Sets the `target` attribute of the `LinkComponent`'s HTML element.\n @since 1.8.0\n @property target\n @default null\n @public\n **/\n target: null,\n /**\n The CSS class to apply to `LinkComponent`'s element when its `active`\n property is `true`.\n @property activeClass\n @type String\n @default active\n @public\n **/\n activeClass: 'active',\n /**\n The CSS class to apply to `LinkComponent`'s element when its `loading`\n property is `true`.\n @property loadingClass\n @type String\n @default loading\n @private\n **/\n loadingClass: 'loading',\n /**\n The CSS class to apply to a `LinkComponent`'s element when its `disabled`\n property is `true`.\n @property disabledClass\n @type String\n @default disabled\n @private\n **/\n disabledClass: 'disabled',\n /**\n Determines whether the `LinkComponent` will trigger routing via\n the `replaceWith` routing strategy.\n @property replace\n @type Boolean\n @default false\n @public\n **/\n replace: false,\n /**\n 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 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 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 init: function () {\n this._super.apply(this, arguments);\n // Map desired event name to invoke function\n var eventName = (0, _emberMetal.get)(this, 'eventName');\n this.on(eventName, this, this._invoke);\n },\n\n _routing: (0, _service.inject)('-routing'),\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, _emberMetal.computed)({\n get: function () {\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, _emberMetal.get)(this, 'disabledClass') : false;\n }\n }),\n _isActive: function (routerState) {\n if ((0, _emberMetal.get)(this, 'loading')) {\n return false;\n }\n var currentWhen = (0, _emberMetal.get)(this, 'current-when'),\n i;\n if (typeof currentWhen === 'boolean') {\n return currentWhen;\n }\n var isCurrentWhenSpecified = !!currentWhen;\n currentWhen = currentWhen || (0, _emberMetal.get)(this, 'qualifiedRouteName');\n currentWhen = currentWhen.split(' ');\n var routing = (0, _emberMetal.get)(this, '_routing');\n var models = (0, _emberMetal.get)(this, 'models');\n var resolvedQueryParams = (0, _emberMetal.get)(this, 'resolvedQueryParams');\n for (i = 0; i < currentWhen.length; i++) {\n if (routing.isActiveForRoute(models, resolvedQueryParams, currentWhen[i], routerState, isCurrentWhenSpecified)) {\n return true;\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, _emberMetal.computed)('activeClass', '_active', function () {\n return this.get('_active') ? (0, _emberMetal.get)(this, 'activeClass') : false;\n }),\n _active: (0, _emberMetal.computed)('_routing.currentState', 'attrs.params', function () {\n var currentState = (0, _emberMetal.get)(this, '_routing.currentState');\n if (!currentState) {\n return false;\n }\n return this._isActive(currentState);\n }),\n willBeActive: (0, _emberMetal.computed)('_routing.targetState', function () {\n var routing = (0, _emberMetal.get)(this, '_routing');\n var targetState = (0, _emberMetal.get)(routing, 'targetState');\n if ((0, _emberMetal.get)(routing, 'currentState') === targetState) {\n return;\n }\n return this._isActive(targetState);\n }),\n transitioningIn: (0, _emberMetal.computed)('active', 'willBeActive', function () {\n if ((0, _emberMetal.get)(this, 'willBeActive') === true && !(0, _emberMetal.get)(this, '_active')) {\n return 'ember-transitioning-in';\n } else {\n return false;\n }\n }),\n transitioningOut: (0, _emberMetal.computed)('active', 'willBeActive', function () {\n if ((0, _emberMetal.get)(this, 'willBeActive') === false && (0, _emberMetal.get)(this, '_active')) {\n return 'ember-transitioning-out';\n } else {\n return false;\n }\n }),\n _invoke: function (event) {\n if (!(0, _emberViews.isSimpleClick)(event)) {\n return true;\n }\n var preventDefault = (0, _emberMetal.get)(this, 'preventDefault');\n var targetAttribute = (0, _emberMetal.get)(this, 'target');\n if (preventDefault !== false) {\n if (!targetAttribute || targetAttribute === '_self') {\n event.preventDefault();\n }\n }\n if ((0, _emberMetal.get)(this, 'bubbles') === false) {\n event.stopPropagation();\n }\n if (this._isDisabled) {\n return false;\n }\n if ((0, _emberMetal.get)(this, 'loading')) {\n false && (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\n return false;\n }\n if (targetAttribute && targetAttribute !== '_self') {\n return false;\n }\n var qualifiedRouteName = (0, _emberMetal.get)(this, 'qualifiedRouteName');\n var models = (0, _emberMetal.get)(this, 'models');\n var queryParams = (0, _emberMetal.get)(this, 'queryParams.values');\n var shouldReplace = (0, _emberMetal.get)(this, 'replace');\n var payload = {\n queryParams: queryParams,\n routeName: qualifiedRouteName\n };\n // tslint:disable-next-line:max-line-length\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 = (0, _emberMetal.get)(this, '_routing');\n return function () {\n payload.transition = routing.transitionTo(qualifiedRouteName, models, queryParams, shouldReplace);\n };\n },\n\n queryParams: null,\n qualifiedRouteName: (0, _emberMetal.computed)('targetRouteName', '_routing.currentState', function () {\n var params = (0, _emberMetal.get)(this, 'params');\n var paramsLength = params.length;\n var lastParam = params[paramsLength - 1];\n if (lastParam && lastParam.isQueryParams) {\n paramsLength--;\n }\n var onlyQueryParamsSupplied = this[HAS_BLOCK] ? paramsLength === 0 : paramsLength === 1;\n if (onlyQueryParamsSupplied) {\n return (0, _emberMetal.get)(this, '_routing.currentRouteName');\n }\n return (0, _emberMetal.get)(this, 'targetRouteName');\n }),\n resolvedQueryParams: (0, _emberMetal.computed)('queryParams', function () {\n var resolvedQueryParams = {};\n var queryParams = (0, _emberMetal.get)(this, 'queryParams');\n if (!queryParams) {\n return resolvedQueryParams;\n }\n var values = queryParams.values;\n for (var key in values) {\n if (!values.hasOwnProperty(key)) {\n continue;\n }\n resolvedQueryParams[key] = values[key];\n }\n return resolvedQueryParams;\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, _emberMetal.computed)('models', 'qualifiedRouteName', function () {\n if ((0, _emberMetal.get)(this, 'tagName') !== 'a') {\n return;\n }\n var qualifiedRouteName = (0, _emberMetal.get)(this, 'qualifiedRouteName');\n var models = (0, _emberMetal.get)(this, 'models');\n if ((0, _emberMetal.get)(this, 'loading')) {\n return (0, _emberMetal.get)(this, 'loadingHref');\n }\n var routing = (0, _emberMetal.get)(this, '_routing');\n var queryParams = (0, _emberMetal.get)(this, 'queryParams.values');\n\n return routing.generateURL(qualifiedRouteName, models, queryParams);\n }),\n loading: (0, _emberMetal.computed)('_modelsAreLoaded', 'qualifiedRouteName', function () {\n var qualifiedRouteName = (0, _emberMetal.get)(this, 'qualifiedRouteName');\n var modelsAreLoaded = (0, _emberMetal.get)(this, '_modelsAreLoaded');\n if (!modelsAreLoaded || qualifiedRouteName === null || qualifiedRouteName === undefined) {\n return (0, _emberMetal.get)(this, 'loadingClass');\n }\n }),\n _modelsAreLoaded: (0, _emberMetal.computed)('models', function () {\n var models = (0, _emberMetal.get)(this, 'models'),\n i,\n model;\n for (i = 0; i < models.length; i++) {\n model = models[i];\n\n if (model === null || model === undefined) {\n return false;\n }\n }\n return true;\n }),\n _getModels: function (params) {\n var modelCount = params.length - 1,\n i,\n value;\n var models = new Array(modelCount);\n for (i = 0; i < modelCount; i++) {\n value = params[i + 1];\n\n models[i] = value;\n }\n return models;\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 = void 0;\n var params = (0, _emberMetal.get)(this, 'params');\n if (params) {\n // Do not mutate params in place\n params = params.slice();\n }\n false && !(params && params.length) && (0, _debug.assert)('You must provide one or more parameters to the link-to component.', params && params.length);\n\n var disabledWhen = (0, _emberMetal.get)(this, 'disabledWhen');\n if (disabledWhen !== undefined) {\n this.set('disabled', disabledWhen);\n }\n // Process the positional arguments, in order.\n // 1. Inline link title comes first, if present.\n if (!this[HAS_BLOCK]) {\n this.set('linkTitle', params.shift());\n }\n // 2. `targetRouteName` is now always at index 0.\n this.set('targetRouteName', params[0]);\n // 3. The last argument (if still remaining) is the `queryParams` object.\n var lastParam = params[params.length - 1];\n if (lastParam && lastParam.isQueryParams) {\n queryParams = params.pop();\n } else {\n queryParams = { values: {} };\n }\n this.set('queryParams', queryParams);\n // 4. Any remaining indices (excepting `targetRouteName` at 0) are `models`.\n if (params.length > 1) {\n this.set('models', this._getModels(params));\n } else {\n this.set('models', []);\n }\n }\n });\n LinkComponent.toString = function () {\n return '@ember/routing/link-component';\n };\n LinkComponent.reopenClass({\n positionalParams: 'params'\n });\n\n // @ts-check\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 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 var EACH_IN_REFERENCE = (0, _emberUtils.symbol)('EACH_IN');\n\n var EachInReference = function () {\n function EachInReference(inner) {\n\n this.inner = inner;\n this.tag = inner.tag;\n this[EACH_IN_REFERENCE] = true;\n }\n\n EachInReference.prototype.value = function () {\n return this.inner.value();\n };\n\n EachInReference.prototype.get = function (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 _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 = function () {\n function BoundedIterator(length, keyFor) {\n\n this.length = length;\n this.keyFor = keyFor;\n this.position = 0;\n }\n\n BoundedIterator.prototype.isEmpty = function () {\n return false;\n };\n\n BoundedIterator.prototype.memoFor = function (position) {\n return position;\n };\n\n BoundedIterator.prototype.next = function () {\n var length = this.length,\n keyFor = this.keyFor,\n position = this.position;\n\n if (position >= length) {\n return null;\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 { key: key, value: value, memo: memo };\n };\n\n return BoundedIterator;\n }();\n\n var ArrayIterator = function (_BoundedIterator) {\n (0, _emberBabel.inherits)(ArrayIterator, _BoundedIterator);\n\n function ArrayIterator(array, length, keyFor) {\n\n var _this16 = (0, _emberBabel.possibleConstructorReturn)(this, _BoundedIterator.call(this, length, keyFor));\n\n _this16.array = array;\n return _this16;\n }\n\n ArrayIterator.from = function (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 (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 ArrayIterator.prototype.valueFor = function (position) {\n return this.array[position];\n };\n\n return ArrayIterator;\n }(BoundedIterator);\n\n var EmberArrayIterator = function (_BoundedIterator2) {\n (0, _emberBabel.inherits)(EmberArrayIterator, _BoundedIterator2);\n\n function EmberArrayIterator(array, length, keyFor) {\n\n var _this17 = (0, _emberBabel.possibleConstructorReturn)(this, _BoundedIterator2.call(this, length, keyFor));\n\n _this17.array = array;\n return _this17;\n }\n\n EmberArrayIterator.from = function (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 EmberArrayIterator.prototype.valueFor = function (position) {\n return (0, _emberMetal.objectAt)(this.array, position);\n };\n\n return EmberArrayIterator;\n }(BoundedIterator);\n\n var ObjectIterator = function (_BoundedIterator3) {\n (0, _emberBabel.inherits)(ObjectIterator, _BoundedIterator3);\n\n function ObjectIterator(keys, values, length, keyFor) {\n\n var _this18 = (0, _emberBabel.possibleConstructorReturn)(this, _BoundedIterator3.call(this, length, keyFor));\n\n _this18.keys = keys;\n _this18.values = values;\n return _this18;\n }\n\n ObjectIterator.fromIndexable = function (obj, keyFor) {\n var keys = Object.keys(obj),\n i;\n var values = [];\n var length = keys.length;\n\n for (i = 0; i < length; i++) {\n values.push((0, _emberMetal.get)(obj, keys[i]));\n }\n if (length === 0) {\n return EMPTY_ITERATOR;\n } else {\n return new this(keys, values, length, keyFor);\n }\n };\n\n ObjectIterator.fromForEachable = function (obj, keyFor) {\n var _arguments = arguments;\n\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 if (isMapLike) {\n keys.push(key);\n }\n values.push(value);\n length++;\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 ObjectIterator.prototype.valueFor = function (position) {\n return this.values[position];\n };\n\n ObjectIterator.prototype.memoFor = function (position) {\n return this.keys[position];\n };\n\n return ObjectIterator;\n }(BoundedIterator);\n\n var NativeIterator = function () {\n function NativeIterator(iterable, result, keyFor) {\n\n this.iterable = iterable;\n this.result = result;\n this.keyFor = keyFor;\n this.position = 0;\n }\n\n NativeIterator.from = function (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 NativeIterator.prototype.isEmpty = function () {\n return false;\n };\n\n NativeIterator.prototype.next = function () {\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 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 { key: key, value: value, memo: memo };\n };\n\n return NativeIterator;\n }();\n\n var ArrayLikeNativeIterator = function (_NativeIterator) {\n (0, _emberBabel.inherits)(ArrayLikeNativeIterator, _NativeIterator);\n\n function ArrayLikeNativeIterator() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _NativeIterator.apply(this, arguments));\n }\n\n ArrayLikeNativeIterator.prototype.valueFor = function (result) {\n return result.value;\n };\n\n ArrayLikeNativeIterator.prototype.memoFor = function (_result, position) {\n return position;\n };\n\n return ArrayLikeNativeIterator;\n }(NativeIterator);\n\n var MapLikeNativeIterator = function (_NativeIterator2) {\n (0, _emberBabel.inherits)(MapLikeNativeIterator, _NativeIterator2);\n\n function MapLikeNativeIterator() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _NativeIterator2.apply(this, arguments));\n }\n\n MapLikeNativeIterator.prototype.valueFor = function (result) {\n return result.value[1];\n };\n\n MapLikeNativeIterator.prototype.memoFor = function (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 false && !false && (0, _debug.assert)('Cannot call next() on an empty iterator');\n\n return null;\n }\n };\n\n var EachInIterable = function () {\n function EachInIterable(ref, keyPath) {\n\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 EachInIterable.prototype.iterate = function () {\n var ref = this.ref,\n valueTag = this.valueTag;\n\n var iterable = ref.value();\n var tag = (0, _emberMetal.tagFor)(iterable);\n if ((0, _emberUtils.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, _emberRuntime._contentFor)(iterable);\n }\n valueTag.inner.update(tag);\n if (!isIndexable(iterable)) {\n return EMPTY_ITERATOR;\n }\n if (Array.isArray(iterable) || (0, _emberRuntime.isEmberArray)(iterable)) {\n return ObjectIterator.fromIndexable(iterable, this.keyFor(true));\n } else if (_emberUtils.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 EachInIterable.prototype.valueReferenceFor = function (item) {\n return new UpdatableReference(item.value);\n };\n\n EachInIterable.prototype.updateValueReference = function (ref, item) {\n ref.update(item.value);\n };\n\n EachInIterable.prototype.memoReferenceFor = function (item) {\n return new UpdatableReference(item.memo);\n };\n\n EachInIterable.prototype.updateMemoReference = function (ref, item) {\n ref.update(item.memo);\n };\n\n EachInIterable.prototype.keyFor = function () {\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 case '@index':\n return Index;\n case '@identity':\n return Unique(Identity);\n default:\n false && !(keyPath[0] !== '@') && (0, _debug.assert)('Invalid key: ' + keyPath, keyPath[0] !== '@');\n\n return Unique(KeyPath(keyPath));\n }\n };\n\n return EachInIterable;\n }();\n\n var EachIterable = function () {\n function EachIterable(ref, keyPath) {\n\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 EachIterable.prototype.iterate = function () {\n var ref = this.ref,\n valueTag = this.valueTag;\n\n var iterable = ref.value();\n valueTag.inner.update((0, _emberMetal.tagForProperty)(iterable, '[]'));\n if (iterable === null || typeof iterable !== 'object') {\n return EMPTY_ITERATOR;\n }\n var keyFor = this.keyFor();\n if (Array.isArray(iterable)) {\n return ArrayIterator.from(iterable, keyFor);\n } else if ((0, _emberRuntime.isEmberArray)(iterable)) {\n return EmberArrayIterator.from(iterable, keyFor);\n } else if (_emberUtils.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 EachIterable.prototype.valueReferenceFor = function (item) {\n return new UpdatableReference(item.value);\n };\n\n EachIterable.prototype.updateValueReference = function (ref, item) {\n ref.update(item.value);\n };\n\n EachIterable.prototype.memoReferenceFor = function (item) {\n return new UpdatableReference(item.memo);\n };\n\n EachIterable.prototype.updateMemoReference = function (ref, item) {\n ref.update(item.memo);\n };\n\n EachIterable.prototype.keyFor = function () {\n var keyPath = this.keyPath;\n\n switch (keyPath) {\n case '@index':\n return Index;\n case '@identity':\n return Unique(Identity);\n default:\n false && !(keyPath[0] !== '@') && (0, _debug.assert)('Invalid key: ' + keyPath, keyPath[0] !== '@');\n\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 function isNativeIterable(value) {\n return typeof value[Symbol.iterator] === 'function';\n }\n function isIndexable(value) {\n return value !== null && (typeof value === 'object' || typeof value === 'function');\n }\n // Position in an array is guarenteed to be unique\n function Index(_value, _memo, position) {\n return String(position);\n }\n // Object.keys(...) is guarenteed to be strings and unique\n function ObjectKey(_value, memo) {\n return memo;\n }\n // Map keys can be any objects\n function MapKey(_value, memo) {\n return Identity(memo);\n }\n function Identity(value) {\n switch (typeof value) {\n case 'string':\n return value;\n case 'number':\n return String(value);\n default:\n return (0, _emberUtils.guidFor)(value);\n }\n }\n function KeyPath(keyPath) {\n return function (value) {\n return String((0, _emberMetal.get)(value, keyPath));\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 if (count === undefined) {\n seen[key] = 0;\n return key;\n } else {\n seen[key] = ++count;\n return '' + key + 'be277757-bbbe-4620-9fcb-213ef433cca2' + count;\n }\n };\n }\n\n /**\n @module @ember/string\n */\n\n var SafeString = function () {\n function SafeString(string) {\n\n this.string = string;\n }\n\n SafeString.prototype.toString = function () {\n return '' + this.string;\n };\n\n SafeString.prototype.toHTML = function () {\n return this.toString();\n };\n\n return SafeString;\n }();\n\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 function escapeChar(chr) {\n return escape[chr];\n }\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/string';\n \n htmlSafe('<div>someString</div>')\n ```\n \n @method htmlSafe\n @for @ember/template\n @static\n @return {Handlebars.SafeString} A string that will not be HTML escaped by Handlebars.\n @public\n */\n function htmlSafe(str) {\n if (str === null || str === undefined) {\n str = '';\n } else if (typeof str !== 'string') {\n str = '' + str;\n }\n return new SafeString(str);\n }\n /**\n Detects if a string was decorated using `htmlSafe`.\n \n ```javascript\n import { htmlSafe, isHTMLSafe } from '@ember/string';\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 function isHTMLSafe(str) {\n return str !== null && typeof str === 'object' && typeof str.toHTML === 'function';\n }\n\n /* globals module, URL */\n var nodeURL = void 0;\n var parsingNode = void 0;\n function installProtocolForURL(environment) {\n var protocol = void 0;\n if (_emberBrowserEnvironment.hasDOM) {\n protocol = browserProtocolForURL.call(environment, 'foobar:baz');\n }\n // Test to see if our DOM implementation parses\n // and normalizes URLs.\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 (_nodeModule.IS_NODE) {\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 function browserProtocolForURL(url) {\n if (!parsingNode) {\n parsingNode = document.createElement('a');\n }\n parsingNode.href = url;\n return parsingNode.protocol;\n }\n function nodeProtocolForURL(url) {\n var protocol = null;\n if (typeof url === 'string') {\n protocol = nodeURL.parse(url).protocol;\n }\n return protocol === null ? ':' : protocol;\n }\n\n var Environment$1 = function (_Environment) {\n (0, _emberBabel.inherits)(Environment$1, _Environment);\n\n function Environment$1(injections) {\n\n var _this21 = (0, _emberBabel.possibleConstructorReturn)(this, _Environment.call(this, injections));\n\n _this21.inTransaction = false;\n _this21.owner = injections[_emberOwner.OWNER];\n _this21.isInteractive = _this21.owner.lookup('-environment:main').isInteractive;\n // can be removed once https://github.com/tildeio/glimmer/pull/305 lands\n _this21.destroyedComponents = [];\n installProtocolForURL(_this21);\n\n return _this21;\n }\n\n Environment$1.create = function (options) {\n return new this(options);\n };\n\n Environment$1.prototype.protocolForURL = function (s) {\n return s;\n };\n\n Environment$1.prototype.lookupComponent = function (name, meta) {\n return (0, _emberViews.lookupComponent)(meta.owner, name, meta);\n };\n\n Environment$1.prototype.toConditionalReference = function (reference) {\n return ConditionalReference$1.create(reference);\n };\n\n Environment$1.prototype.iterableFor = function (ref, key) {\n return _iterableFor(ref, key);\n };\n\n Environment$1.prototype.scheduleInstallModifier = function (modifier, manager) {\n if (this.isInteractive) {\n _Environment.prototype.scheduleInstallModifier.call(this, modifier, manager);\n }\n };\n\n Environment$1.prototype.scheduleUpdateModifier = function (modifier, manager) {\n if (this.isInteractive) {\n _Environment.prototype.scheduleUpdateModifier.call(this, modifier, manager);\n }\n };\n\n Environment$1.prototype.didDestroy = function (destroyable) {\n destroyable.destroy();\n };\n\n Environment$1.prototype.begin = function () {\n this.inTransaction = true;\n _Environment.prototype.begin.call(this);\n };\n\n Environment$1.prototype.commit = function () {\n var destroyedComponents = this.destroyedComponents,\n i;\n this.destroyedComponents = [];\n // 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 for (i = 0; i < destroyedComponents.length; i++) {\n destroyedComponents[i].destroy();\n }\n try {\n _Environment.prototype.commit.call(this);\n } finally {\n this.inTransaction = false;\n }\n };\n\n return Environment$1;\n }(_runtime.Environment);\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 var AbstractManager = function () {\n function AbstractManager() {\n\n this.debugStack = undefined;\n }\n\n AbstractManager.prototype.prepareArgs = function () {\n return null;\n };\n\n AbstractManager.prototype.didCreateElement = function () {}\n // noop\n\n // inheritors should also call `this.debugStack.pop()` to\n // ensure the rerendering assertion messages are properly\n // maintained\n ;\n\n AbstractManager.prototype.didRenderLayout = function () {\n // noop\n };\n\n AbstractManager.prototype.didCreate = function () {}\n // noop\n\n // inheritors should also call `this._pushToDebugStack`\n // to ensure the rerendering assertion messages are\n // properly maintained\n ;\n\n AbstractManager.prototype.update = function () {}\n // noop\n\n // inheritors should also call `this.debugStack.pop()` to\n // ensure the rerendering assertion messages are properly\n // maintained\n ;\n\n AbstractManager.prototype.didUpdateLayout = function () {\n // noop\n };\n\n AbstractManager.prototype.didUpdate = function () {\n // noop\n };\n\n return AbstractManager;\n }();\n\n function instrumentationPayload(def) {\n return { object: def.name + ':' + def.outlet };\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: true,\n createInstance: true\n };\n\n var OutletComponentManager = function (_AbstractManager) {\n (0, _emberBabel.inherits)(OutletComponentManager, _AbstractManager);\n\n function OutletComponentManager() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _AbstractManager.apply(this, arguments));\n }\n\n OutletComponentManager.prototype.create = function (environment, definition, _args, dynamicScope) {\n dynamicScope.outletState = definition.ref;\n // this is only used for render helper which is legacy\n if (dynamicScope.rootOutletState === undefined) {\n dynamicScope.rootOutletState = dynamicScope.outletState;\n }\n var controller = definition.controller;\n var self = controller === undefined ? _runtime.UNDEFINED_REFERENCE : new RootReference(controller);\n return {\n self: self,\n finalize: (0, _instrumentation._instrumentStart)('render.outlet', instrumentationPayload, definition)\n };\n };\n\n OutletComponentManager.prototype.layoutFor = function () {\n throw new Error('Method not implemented.');\n };\n\n OutletComponentManager.prototype.getLayout = function (_ref) {\n var template = _ref.template;\n\n // The router has already resolved the template\n var layout = template.asLayout();\n return {\n handle: layout.compile(),\n symbolTable: layout.symbolTable\n };\n };\n\n OutletComponentManager.prototype.getCapabilities = function () {\n return CAPABILITIES;\n };\n\n OutletComponentManager.prototype.getSelf = function (_ref2) {\n var self = _ref2.self;\n\n return self;\n };\n\n OutletComponentManager.prototype.getTag = function () {\n // an outlet has no hooks\n return _reference.CONSTANT_TAG;\n };\n\n OutletComponentManager.prototype.didRenderLayout = function (state) {\n state.finalize();\n };\n\n OutletComponentManager.prototype.getDestructor = function () {\n return null;\n };\n\n return OutletComponentManager;\n }(AbstractManager);\n\n var OUTLET_MANAGER = new OutletComponentManager();\n\n var OutletComponentDefinition = function (state) {\n var manager = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : OUTLET_MANAGER;\n\n\n this.state = state;\n this.manager = manager;\n };\n\n function createRootOutlet(outletView) {\n var WRAPPED_CAPABILITIES, WrappedOutletComponentManager, WRAPPED_OUTLET_MANAGER;\n\n if (_emberEnvironment.ENV._APPLICATION_TEMPLATE_WRAPPER) {\n WRAPPED_CAPABILITIES = (0, _polyfills.assign)({}, CAPABILITIES, {\n dynamicTag: true,\n elementHook: true\n });\n WrappedOutletComponentManager = function (_OutletComponentManag) {\n (0, _emberBabel.inherits)(WrappedOutletComponentManager, _OutletComponentManag);\n\n function WrappedOutletComponentManager() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _OutletComponentManag.apply(this, arguments));\n }\n\n WrappedOutletComponentManager.prototype.getTagName = function () {\n return 'div';\n };\n\n WrappedOutletComponentManager.prototype.getLayout = function (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 WrappedOutletComponentManager.prototype.getCapabilities = function () {\n return WRAPPED_CAPABILITIES;\n };\n\n WrappedOutletComponentManager.prototype.didCreateElement = function (component, element) {\n // to add GUID id and class\n element.setAttribute('class', 'ember-view');\n element.setAttribute('id', (0, _emberUtils.guidFor)(component));\n };\n\n return WrappedOutletComponentManager;\n }(OutletComponentManager);\n WRAPPED_OUTLET_MANAGER = new WrappedOutletComponentManager();\n\n return new OutletComponentDefinition(outletView.state, WRAPPED_OUTLET_MANAGER);\n } else {\n return new OutletComponentDefinition(outletView.state);\n }\n }\n\n // tslint:disable-next-line:no-empty\n function NOOP() {}\n /**\n @module ember\n */\n /**\n Represents the internal state of the component.\n \n @class ComponentStateBucket\n @private\n */\n\n var ComponentStateBucket = function () {\n function ComponentStateBucket(environment, component, args, finalizer, hasWrappedElement) {\n\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 ComponentStateBucket.prototype.destroy = function () {\n var component = this.component,\n environment = this.environment;\n\n if (environment.isInteractive) {\n component.trigger('willDestroyElement');\n component.trigger('willClearRender');\n }\n environment.destroyedComponents.push(component);\n };\n\n ComponentStateBucket.prototype.finalize = function () {\n var finalizer = this.finalizer;\n\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 function referenceForParts(component, parts) {\n var isAttrs = parts[0] === 'attrs';\n // TODO deprecate this\n if (isAttrs) {\n parts.shift();\n if (parts.length === 1) {\n return referenceForKey(component, parts[0]);\n }\n }\n return referenceFromParts(component[ROOT_REF], parts);\n }\n // TODO we should probably do this transform at build time\n function wrapComponentClassAttribute(hash) {\n if (hash === null) {\n return;\n }\n var keys = hash[0],\n values = hash[1],\n value,\n type,\n path,\n propName;\n\n var index = keys === null ? -1 : keys.indexOf('class');\n if (index !== -1) {\n value = values[index];\n\n if (!Array.isArray(value)) {\n return;\n }\n type = value[0];\n\n\n if (type === _wireFormat.Ops.Get || type === _wireFormat.Ops.MaybeLocal) {\n path = value[value.length - 1];\n propName = path[path.length - 1];\n\n values[index] = [_wireFormat.Ops.Helper, '-class', [value, propName], null];\n }\n }\n }\n var AttributeBinding = {\n parse: function (microsyntax) {\n var colonIndex = microsyntax.indexOf(':'),\n prop,\n attribute;\n if (colonIndex === -1) {\n false && !(microsyntax !== 'class') && (0, _debug.assert)('You cannot use class as an attributeBinding, use classNameBindings instead.', microsyntax !== 'class');\n\n return [microsyntax, microsyntax, true];\n } else {\n prop = microsyntax.substring(0, colonIndex);\n attribute = microsyntax.substring(colonIndex + 1);\n\n false && !(attribute !== 'class') && (0, _debug.assert)('You cannot use class as an attributeBinding, use classNameBindings instead.', attribute !== 'class');\n\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 elementId;\n\n if (attribute === 'id') {\n elementId = (0, _emberMetal.get)(component, prop);\n\n if (elementId === undefined || elementId === null) {\n elementId = component.elementId;\n }\n elementId = _runtime.PrimitiveReference.create(elementId);\n operations.setAttribute('id', elementId, true, null);\n // operations.addStaticAttribute(element, 'id', elementId);\n return;\n }\n var isPath = prop.indexOf('.') > -1;\n var reference = isPath ? referenceForParts(component, prop.split('.')) : referenceForKey(component, prop);\n false && !!(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 operations.setAttribute(attribute, reference, false, null);\n // 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 = function (_CachedReference) {\n (0, _emberBabel.inherits)(StyleBindingReference, _CachedReference);\n\n function StyleBindingReference(inner, isVisible) {\n\n var _this25 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference.call(this));\n\n _this25.inner = inner;\n _this25.isVisible = isVisible;\n _this25.tag = (0, _reference.combine)([inner.tag, isVisible.tag]);\n return _this25;\n }\n\n StyleBindingReference.prototype.compute = function () {\n var value = this.inner.value(),\n style;\n var isVisible = this.isVisible.value();\n if (isVisible !== false) {\n return value;\n } else if (!value) {\n return SAFE_DISPLAY_NONE;\n } else {\n style = value + ' ' + DISPLAY_NONE;\n\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);\n // // 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 isPath,\n parts,\n value,\n ref;\n\n if (prop === '') {\n operations.setAttribute('class', _runtime.PrimitiveReference.create(truthy), true, null);\n } else {\n isPath = prop.indexOf('.') > -1;\n parts = isPath ? prop.split('.') : [];\n value = isPath ? referenceForParts(component, parts) : referenceForKey(component, prop);\n ref = void 0;\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 operations.setAttribute('class', ref, false, null);\n // // 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 = function (_CachedReference2) {\n (0, _emberBabel.inherits)(SimpleClassNameBindingReference, _CachedReference2);\n\n function SimpleClassNameBindingReference(inner, path) {\n\n var _this26 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference2.call(this));\n\n _this26.inner = inner;\n _this26.path = path;\n _this26.tag = inner.tag;\n _this26.inner = inner;\n _this26.path = path;\n _this26.dasherizedPath = null;\n return _this26;\n }\n\n SimpleClassNameBindingReference.prototype.compute = function () {\n var value = this.inner.value(),\n path,\n dasherizedPath;\n if (value === true) {\n path = this.path, dasherizedPath = this.dasherizedPath;\n\n\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 = function (_CachedReference3) {\n (0, _emberBabel.inherits)(ColonClassNameBindingReference, _CachedReference3);\n\n function ColonClassNameBindingReference(inner) {\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\n\n var _this27 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference3.call(this));\n\n _this27.inner = inner;\n _this27.truthy = truthy;\n _this27.falsy = falsy;\n _this27.tag = inner.tag;\n return _this27;\n }\n\n ColonClassNameBindingReference.prototype.compute = function () {\n var inner = this.inner,\n truthy = this.truthy,\n falsy = this.falsy;\n\n return inner.value() ? truthy : falsy;\n };\n\n return ColonClassNameBindingReference;\n }(_reference.CachedReference);\n\n // ComponentArgs takes EvaluatedNamedArgs and converts them into the\n // inputs needed by CurlyComponents (attrs and props, with mutable\n // cells, etc).\n function processComponentArgs(namedArgs) {\n var keys = namedArgs.names,\n i,\n name,\n ref,\n value;\n var attrs = namedArgs.value();\n var props = Object.create(null);\n var args = Object.create(null);\n props[ARGS] = args;\n for (i = 0; i < keys.length; i++) {\n name = keys[i];\n ref = namedArgs.get(name);\n 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 args[name] = ref;\n props[name] = value;\n }\n props.attrs = attrs;\n return props;\n }\n var REF = (0, _emberUtils.symbol)('REF');\n\n var MutableCell = function () {\n function MutableCell(ref, value) {\n\n this[_emberViews.MUTABLE_CELL] = true;\n this[REF] = ref;\n this.value = value;\n }\n\n MutableCell.prototype.update = function (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 false && !!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\n props.elementId = props.id;\n }\n }\n function isTemplateFactory(template) {\n return typeof template.create === 'function';\n }\n // We must traverse the attributeBindings in reverse keeping track of\n // what has already been applied. This is essentially refining the concatenated\n // properties applying right to left.\n function applyAttributeBindings(element, attributeBindings, component, operations) {\n var seen = [],\n binding,\n parsed,\n attribute,\n id;\n var i = attributeBindings.length - 1;\n while (i !== -1) {\n binding = attributeBindings[i];\n parsed = AttributeBinding.parse(binding);\n attribute = parsed[1];\n\n if (seen.indexOf(attribute) === -1) {\n seen.push(attribute);\n AttributeBinding.install(element, component, parsed, operations);\n }\n i--;\n }\n if (seen.indexOf('id') === -1) {\n id = component.elementId ? component.elementId : (0, _emberUtils.guidFor)(component);\n\n operations.setAttribute('id', _runtime.PrimitiveReference.create(id), false, null);\n }\n if (seen.indexOf('style') === -1) {\n IsVisibleBinding.install(element, component, operations);\n }\n }\n var DEFAULT_LAYOUT = (0, _container.privatize)(_templateObject);\n\n var CurlyComponentManager = function (_AbstractManager2) {\n (0, _emberBabel.inherits)(CurlyComponentManager, _AbstractManager2);\n\n function CurlyComponentManager() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _AbstractManager2.apply(this, arguments));\n }\n\n CurlyComponentManager.prototype.getLayout = function (state) {\n return {\n // TODO fix\n handle: state.handle,\n symbolTable: state.symbolTable\n };\n };\n\n CurlyComponentManager.prototype.templateFor = function (component, resolver) {\n var layout = (0, _emberMetal.get)(component, 'layout'),\n _template;\n if (layout !== undefined) {\n // This needs to be cached by template.id\n if (isTemplateFactory(layout)) {\n return resolver.createTemplate(layout, (0, _emberOwner.getOwner)(component));\n } else {\n // we were provided an instance already\n return layout;\n }\n }\n var owner = (0, _emberOwner.getOwner)(component);\n var layoutName = (0, _emberMetal.get)(component, 'layoutName');\n if (layoutName) {\n _template = owner.lookup('template:' + layoutName);\n\n if (_template) {\n return _template;\n }\n }\n return owner.lookup(DEFAULT_LAYOUT);\n };\n\n CurlyComponentManager.prototype.getDynamicLayout = function (_ref3, resolver) {\n var component = _ref3.component;\n\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 CurlyComponentManager.prototype.getTagName = function (state) {\n var component = state.component,\n hasWrappedElement = state.hasWrappedElement;\n\n if (!hasWrappedElement) {\n return null;\n }\n return component && component.tagName || 'div';\n };\n\n CurlyComponentManager.prototype.getCapabilities = function (state) {\n return state.capabilities;\n };\n\n CurlyComponentManager.prototype.prepareArgs = function (state, args) {\n var positionalParams = state.ComponentClass.class.positionalParams,\n _named,\n count,\n i,\n name;\n\n // early exits\n if (positionalParams === undefined || positionalParams === null || args.positional.length === 0) {\n return null;\n }\n var named = void 0;\n if (typeof positionalParams === 'string') {\n\n false && !!args.named.has(positionalParams) && (0, _debug.assert)('You cannot specify positional parameters and the hash argument `' + positionalParams + '`.', !args.named.has(positionalParams));\n\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 count = Math.min(positionalParams.length, args.positional.length);\n\n named = {};\n (0, _polyfills.assign)(named, args.named.capture().map);\n if (_deprecatedFeatures.POSITIONAL_PARAM_CONFLICT) {\n for (i = 0; i < count; i++) {\n name = positionalParams[i];\n\n false && !!args.named.has(name) && (0, _debug.deprecate)('You cannot specify both a positional param (at position ' + i + ') and the hash argument `' + name + '`.', !args.named.has(name), {\n id: 'ember-glimmer.positional-param-conflict',\n until: '3.5.0'\n });\n\n named[name] = args.positional.at(i);\n }\n }\n } else {\n return null;\n }\n return { positional: _util.EMPTY_ARRAY, named: named };\n };\n\n CurlyComponentManager.prototype.create = function (environment, state, args, dynamicScope, callerSelfRef, hasBlock) {\n // Get the nearest concrete component instance from the scope. \"Virtual\"\n // components will be skipped.\n var parentView = dynamicScope.view;\n // Get the Ember.Component subclass to instantiate for this component.\n var factory = state.ComponentClass;\n // Capture the arguments, which tells Glimmer to give us our own, stable\n // copy of the Arguments object that is safe to hold on to between renders.\n var capturedArgs = args.named.capture();\n var props = processComponentArgs(capturedArgs);\n // Alias `id` argument to `elementId` property on the component instance.\n aliasIdToElementId(args, props);\n // Set component instance's parentView property to point to nearest concrete\n // component.\n props.parentView = parentView;\n // Set whether this component was invoked with a block\n // (`{{#my-component}}{{/my-component}}`) or without one\n // (`{{my-component}}`).\n props[HAS_BLOCK] = hasBlock;\n // Save the current `this` context of the template as the component's\n // `_targetObject`, so bubbled actions are routed to the right place.\n props._targetObject = callerSelfRef.value();\n // static layout asserts CurriedDefinition\n if (state.template) {\n props.layout = state.template;\n }\n // Now that we've built up all of the properties to set on the component instance,\n // actually create it.\n var component = factory.create(props);\n var finalizer = (0, _instrumentation._instrumentStart)('render.component', initialRenderInstrumentDetails, component);\n // We become the new parentView for downstream components, so save our\n // component off on the dynamic scope.\n dynamicScope.view = component;\n // Unless we're the root component, we need to add ourselves to our parent\n // component's childViews array.\n if (parentView !== null && parentView !== undefined) {\n (0, _emberViews.addChildView)(parentView, component);\n }\n if (_emberEnvironment.ENV._ENABLE_DID_INIT_ATTRS_SUPPORT === true) {\n component.trigger('didInitAttrs');\n }\n component.trigger('didReceiveAttrs');\n var hasWrappedElement = component.tagName !== '';\n // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n if (!hasWrappedElement) {\n if (environment.isInteractive) {\n component.trigger('willRender');\n }\n component._transitionTo('hasElement');\n if (environment.isInteractive) {\n component.trigger('willInsertElement');\n }\n }\n // Track additional lifecycle metadata about this component in a state bucket.\n // Essentially we're saving off all the state we'll need in the future.\n var bucket = new ComponentStateBucket(environment, component, capturedArgs, finalizer, hasWrappedElement);\n if (args.named.has('class')) {\n bucket.classRef = args.named.get('class');\n }\n\n if (environment.isInteractive && hasWrappedElement) {\n component.trigger('willRender');\n }\n return bucket;\n };\n\n CurlyComponentManager.prototype.getSelf = function (_ref4) {\n var component = _ref4.component;\n\n return component[ROOT_REF];\n };\n\n CurlyComponentManager.prototype.didCreateElement = function (_ref5, element, operations) {\n var component = _ref5.component,\n classRef = _ref5.classRef,\n environment = _ref5.environment,\n id,\n ref;\n\n (0, _emberViews.setViewElement)(component, element);\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 id = component.elementId ? component.elementId : (0, _emberUtils.guidFor)(component);\n\n operations.setAttribute('id', _runtime.PrimitiveReference.create(id), false, null);\n IsVisibleBinding.install(element, component, operations);\n }\n if (classRef) {\n ref = new SimpleClassNameBindingReference(classRef, classRef['_propertyKey']);\n\n operations.setAttribute('class', ref, false, null);\n }\n if (classNames && classNames.length) {\n classNames.forEach(function (name) {\n operations.setAttribute('class', _runtime.PrimitiveReference.create(name), false, null);\n });\n }\n if (classNameBindings && classNameBindings.length) {\n classNameBindings.forEach(function (binding) {\n ClassNameBinding.install(element, component, binding, operations);\n });\n }\n operations.setAttribute('class', _runtime.PrimitiveReference.create('ember-view'), false, null);\n if ('ariaRole' in component) {\n operations.setAttribute('role', referenceForKey(component, 'ariaRole'), false, null);\n }\n component._transitionTo('hasElement');\n if (environment.isInteractive) {\n component.trigger('willInsertElement');\n }\n };\n\n CurlyComponentManager.prototype.didRenderLayout = function (bucket, bounds) {\n bucket.component[BOUNDS] = bounds;\n bucket.finalize();\n };\n\n CurlyComponentManager.prototype.getTag = function (_ref6) {\n var args = _ref6.args,\n component = _ref6.component;\n\n return args ? (0, _reference.combine)([args.tag, component[DIRTY_TAG]]) : component[DIRTY_TAG];\n };\n\n CurlyComponentManager.prototype.didCreate = function (_ref7) {\n var component = _ref7.component,\n environment = _ref7.environment;\n\n if (environment.isInteractive) {\n component._transitionTo('inDOM');\n component.trigger('didInsertElement');\n component.trigger('didRender');\n }\n };\n\n CurlyComponentManager.prototype.update = function (bucket) {\n var component = bucket.component,\n args = bucket.args,\n argsRevision = bucket.argsRevision,\n environment = bucket.environment,\n props;\n\n bucket.finalizer = (0, _instrumentation._instrumentStart)('render.component', rerenderInstrumentDetails, component);\n if (args && !args.tag.validate(argsRevision)) {\n props = processComponentArgs(args);\n\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 if (environment.isInteractive) {\n component.trigger('willUpdate');\n component.trigger('willRender');\n }\n };\n\n CurlyComponentManager.prototype.didUpdateLayout = function (bucket) {\n bucket.finalize();\n };\n\n CurlyComponentManager.prototype.didUpdate = function (_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 CurlyComponentManager.prototype.getDestructor = function (stateBucket) {\n return stateBucket;\n };\n\n return CurlyComponentManager;\n }(AbstractManager);\n\n function initialRenderInstrumentDetails(component) {\n return component.instrumentDetails({ initialRender: true });\n }\n function rerenderInstrumentDetails(component) {\n return component.instrumentDetails({ initialRender: false });\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 =\n // tslint:disable-next-line:no-shadowed-variable\n function (name, ComponentClass, handle, template, args) {\n\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 = function (_CurlyComponentManage) {\n (0, _emberBabel.inherits)(RootComponentManager, _CurlyComponentManage);\n\n function RootComponentManager(component) {\n\n var _this29 = (0, _emberBabel.possibleConstructorReturn)(this, _CurlyComponentManage.call(this));\n\n _this29.component = component;\n return _this29;\n }\n\n RootComponentManager.prototype.getLayout = function (_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 RootComponentManager.prototype.create = function (environment, _state, _args, dynamicScope) {\n var component = this.component;\n\n var finalizer = (0, _instrumentation._instrumentStart)('render.component', initialRenderInstrumentDetails, component);\n dynamicScope.view = component;\n var hasWrappedElement = component.tagName !== '';\n // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n if (!hasWrappedElement) {\n if (environment.isInteractive) {\n component.trigger('willRender');\n }\n component._transitionTo('hasElement');\n if (environment.isInteractive) {\n component.trigger('willInsertElement');\n }\n }\n\n return new ComponentStateBucket(environment, component, null, finalizer, hasWrappedElement);\n };\n\n return RootComponentManager;\n }(CurlyComponentManager);\n\n // ROOT is the top-level template it has nothing but one yield.\n // it is supposed to have a dummy element\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: false\n };\n\n var RootComponentDefinition = function () {\n function RootComponentDefinition(component) {\n\n this.component = component;\n var manager = new RootComponentManager(component);\n this.manager = manager;\n var factory = _container.FACTORY_FOR.get(component);\n this.state = {\n name: factory.fullName.slice(10),\n capabilities: ROOT_CAPABILITIES,\n ComponentClass: factory,\n handle: null\n };\n }\n\n RootComponentDefinition.prototype.getTag = function (_ref9) {\n var component = _ref9.component;\n\n return component[DIRTY_TAG];\n };\n\n return RootComponentDefinition;\n }();\n\n var DynamicScope = function () {\n function DynamicScope(view, outletState, rootOutletState) {\n\n this.view = view;\n this.outletState = outletState;\n this.rootOutletState = rootOutletState;\n }\n\n DynamicScope.prototype.child = function () {\n return new DynamicScope(this.view, this.outletState, this.rootOutletState);\n };\n\n DynamicScope.prototype.get = function (key) {\n false && !(key === 'outletState') && (0, _debug.assert)('Using `-get-dynamic-scope` is only supported for `outletState` (you used `' + key + '`).', key === 'outletState');\n\n return this.outletState;\n };\n\n DynamicScope.prototype.set = function (key, value) {\n false && !(key === 'outletState') && (0, _debug.assert)('Using `-with-dynamic-scope` is only supported for `outletState` (you used `' + key + '`).', key === 'outletState');\n\n this.outletState = value;\n return value;\n };\n\n return DynamicScope;\n }();\n\n var RootState = function () {\n function RootState(root, env, template, self, parentElement, dynamicScope, builder) {\n var _this30 = this;\n\n false && !(template !== undefined) && (0, _debug.assert)('You cannot render `' + self.value() + '` without a template.', template !== undefined);\n\n this.id = (0, _emberViews.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 this.render = function () {\n var layout = template.asLayout();\n var handle = layout.compile();\n var iterator = (0, _runtime.renderMain)(layout['compiler'].program, env, self, dynamicScope, builder(env, { element: parentElement, nextSibling: null }), handle);\n var iteratorResult = void 0;\n do {\n iteratorResult = iterator.next();\n } while (!iteratorResult.done);\n var result = _this30.result = iteratorResult.value;\n // override .render function after initial render\n _this30.render = function () {\n return result.rerender(options);\n };\n };\n }\n\n RootState.prototype.isFor = function (possibleRoot) {\n return this.root === possibleRoot;\n };\n\n RootState.prototype.destroy = function () {\n var result = this.result,\n env = this.env,\n needsTransaction;\n\n this.destroyed = true;\n this.env = undefined;\n this.root = null;\n this.result = undefined;\n this.render = undefined;\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 needsTransaction = !env.inTransaction;\n\n if (needsTransaction) {\n env.begin();\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 (0, _emberMetal.setHasViews)(function () {\n return renderers.length > 0;\n });\n function register(renderer) {\n false && !(renderers.indexOf(renderer) === -1) && (0, _debug.assert)('Cannot register the same renderer twice', renderers.indexOf(renderer) === -1);\n\n renderers.push(renderer);\n }\n function deregister(renderer) {\n var index = renderers.indexOf(renderer);\n false && !(index !== -1) && (0, _debug.assert)('Cannot deregister unknown unregistered renderer', index !== -1);\n\n renderers.splice(index, 1);\n }\n\n function K() {\n /* noop */\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 function renderSettled() {\n if (renderSettledDeferred === null) {\n renderSettledDeferred = _rsvp.default.defer();\n // if there is no current runloop, the promise created above will not have\n // a chance to resolve (because its resolved in backburner's \"end\" event)\n if (!(0, _runloop.getCurrentRunLoop)()) {\n // ensure a runloop has been kicked off\n _runloop.backburner.schedule('actions', null, K);\n }\n }\n return renderSettledDeferred.promise;\n }\n function resolveRenderPromise() {\n var resolve;\n\n if (renderSettledDeferred !== null) {\n resolve = renderSettledDeferred.resolve;\n\n renderSettledDeferred = null;\n _runloop.backburner.join(null, resolve);\n }\n }\n var loops = 0;\n function loopEnd() {\n var i;\n\n for (i = 0; i < renderers.length; i++) {\n if (!renderers[i]._isValid()) {\n if (loops > 10) {\n loops = 0;\n // TODO: do something better\n renderers[i].destroy();\n throw new Error('infinite rendering invalidation detected');\n }\n loops++;\n return _runloop.backburner.join(null, K);\n }\n }\n loops = 0;\n resolveRenderPromise();\n }\n _runloop.backburner.on('begin', function () {\n var i;\n\n for (i = 0; i < renderers.length; i++) {\n renderers[i]._scheduleRevalidate();\n }\n });\n _runloop.backburner.on('end', loopEnd);\n\n var Renderer = function () {\n function Renderer(env, rootTemplate) {\n var _viewRegistry = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _emberViews.fallbackViewRegistry;\n\n var destinedForDOM = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n var builder = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : _runtime.clientBuilder;\n\n\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 }\n // renderer HOOKS\n\n\n Renderer.prototype.appendOutletView = function (view, target) {\n var definition = createRootOutlet(view);\n this._appendDefinition(view, (0, _runtime.curry)(definition), target);\n };\n\n Renderer.prototype.appendTo = function (view, target) {\n var definition = new RootComponentDefinition(view);\n this._appendDefinition(view, (0, _runtime.curry)(definition), target);\n };\n\n Renderer.prototype._appendDefinition = function (root, definition, target) {\n var self = new UnboundReference(definition);\n var dynamicScope = new DynamicScope(null, _runtime.UNDEFINED_REFERENCE);\n var rootState = new RootState(root, this._env, this._rootTemplate, self, target, dynamicScope, this._builder);\n this._renderRoot(rootState);\n };\n\n Renderer.prototype.rerender = function () {\n this._scheduleRevalidate();\n };\n\n Renderer.prototype.register = function (view) {\n var id = (0, _emberViews.getViewId)(view);\n false && !!this._viewRegistry[id] && (0, _debug.assert)('Attempted to register a view with an id already in use: ' + id, !this._viewRegistry[id]);\n\n this._viewRegistry[id] = view;\n };\n\n Renderer.prototype.unregister = function (view) {\n delete this._viewRegistry[(0, _emberViews.getViewId)(view)];\n };\n\n Renderer.prototype.remove = function (view) {\n view._transitionTo('destroying');\n this.cleanupRootFor(view);\n (0, _emberViews.setViewElement)(view, null);\n if (this._destinedForDOM) {\n view.trigger('didDestroyElement');\n }\n if (!view.isDestroying) {\n view.destroy();\n }\n };\n\n Renderer.prototype.cleanupRootFor = function (view) {\n // no need to cleanup roots if we have already been destroyed\n if (this._destroyed) {\n return;\n }\n var roots = this._roots,\n root;\n // traverse in reverse so we can remove items\n // without mucking up the index\n var i = this._roots.length;\n while (i--) {\n root = roots[i];\n\n if (root.isFor(view)) {\n root.destroy();\n roots.splice(i, 1);\n }\n }\n };\n\n Renderer.prototype.destroy = function () {\n if (this._destroyed) {\n return;\n }\n this._destroyed = true;\n this._clearAllRoots();\n };\n\n Renderer.prototype.getBounds = function (view) {\n var bounds = view[BOUNDS];\n var parentElement = bounds.parentElement();\n var firstNode = bounds.firstNode();\n var lastNode = bounds.lastNode();\n return { parentElement: parentElement, firstNode: firstNode, lastNode: lastNode };\n };\n\n Renderer.prototype.createElement = function (tagName) {\n return this._env.getAppendOperations().createElement(tagName);\n };\n\n Renderer.prototype._renderRoot = function (root) {\n var roots = this._roots;\n\n roots.push(root);\n if (roots.length === 1) {\n register(this);\n }\n this._renderRootsTransaction();\n };\n\n Renderer.prototype._renderRoots = function () {\n var roots = this._roots,\n env = this._env,\n removedRoots = this._removedRoots,\n i,\n root,\n shouldReflush,\n _root,\n rootIndex;\n\n var globalShouldReflush = void 0;\n var initialRootsLength = void 0;\n do {\n env.begin();\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 for (i = 0; i < roots.length; i++) {\n 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);\n // skip over roots that have been marked as destroyed\n continue;\n }\n shouldReflush = root.shouldReflush;\n\n // when processing non-initial reflush loops,\n // do not process more roots than needed\n\n if (i >= initialRootsLength && !shouldReflush) {\n continue;\n }\n root.options.alwaysRevalidate = shouldReflush;\n // track shouldReflush based on this roots render result\n shouldReflush = root.shouldReflush = (0, _emberMetal.runInTransaction)(root, 'render');\n // globalShouldReflush should be `true` if *any* of\n // the roots need to reflush\n globalShouldReflush = globalShouldReflush || shouldReflush;\n }\n this._lastRevision = _reference.CURRENT_TAG.value();\n } finally {\n env.commit();\n }\n } while (globalShouldReflush || roots.length > initialRootsLength);\n // remove any roots that were destroyed during this transaction\n while (removedRoots.length) {\n _root = removedRoots.pop();\n rootIndex = roots.indexOf(_root);\n\n roots.splice(rootIndex, 1);\n }\n if (this._roots.length === 0) {\n deregister(this);\n }\n };\n\n Renderer.prototype._renderRootsTransaction = function () {\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 }\n // used to prevent calling _renderRoots again (see above)\n // while we are actively rendering roots\n this._isRenderingRoots = true;\n var completedWithoutError = false;\n try {\n this._renderRoots();\n completedWithoutError = true;\n } finally {\n if (!completedWithoutError) {\n this._lastRevision = _reference.CURRENT_TAG.value();\n if (this._env.inTransaction === true) {\n this._env.commit();\n }\n }\n this._isRenderingRoots = false;\n }\n };\n\n Renderer.prototype._clearAllRoots = function () {\n var roots = this._roots,\n i,\n root;\n for (i = 0; i < roots.length; i++) {\n root = roots[i];\n\n root.destroy();\n }\n this._removedRoots.length = 0;\n this._roots = [];\n // if roots were present before destroying\n // deregister this renderer instance\n if (roots.length) {\n deregister(this);\n }\n };\n\n Renderer.prototype._scheduleRevalidate = function () {\n _runloop.backburner.scheduleOnce('render', this, this._revalidate);\n };\n\n Renderer.prototype._isValid = function () {\n return this._destroyed || this._roots.length === 0 || _reference.CURRENT_TAG.validate(this._lastRevision);\n };\n\n Renderer.prototype._revalidate = function () {\n if (this._isValid()) {\n return;\n }\n this._renderRootsTransaction();\n };\n\n return Renderer;\n }();\n\n var InertRenderer = function (_Renderer) {\n (0, _emberBabel.inherits)(InertRenderer, _Renderer);\n\n function InertRenderer() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _Renderer.apply(this, arguments));\n }\n\n InertRenderer.create = function (_ref10) {\n var env = _ref10.env,\n rootTemplate = _ref10.rootTemplate,\n _viewRegistry = _ref10._viewRegistry,\n builder = _ref10.builder;\n\n return new this(env, rootTemplate, _viewRegistry, false, builder);\n };\n\n InertRenderer.prototype.getElement = function () {\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 var InteractiveRenderer = function (_Renderer2) {\n (0, _emberBabel.inherits)(InteractiveRenderer, _Renderer2);\n\n function InteractiveRenderer() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _Renderer2.apply(this, arguments));\n }\n\n InteractiveRenderer.create = function (_ref11) {\n var env = _ref11.env,\n rootTemplate = _ref11.rootTemplate,\n _viewRegistry = _ref11._viewRegistry,\n builder = _ref11.builder;\n\n return new this(env, rootTemplate, _viewRegistry, true, builder);\n };\n\n InteractiveRenderer.prototype.getElement = function (view) {\n return (0, _emberViews.getViewElement)(view);\n };\n\n return InteractiveRenderer;\n }(Renderer);\n\n var TEMPLATES = {};\n\n function getTemplates() {\n return TEMPLATES;\n }\n function getTemplate(name) {\n if (TEMPLATES.hasOwnProperty(name)) {\n return TEMPLATES[name];\n }\n }\n function hasTemplate(name) {\n return TEMPLATES.hasOwnProperty(name);\n }\n function setTemplate(name, template) {\n return TEMPLATES[name] = template;\n }\n\n ///<reference path=\"./simple-dom.d.ts\" />\n\n /**\n @module ember\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 var loc$1 = helper(function (params) {\n return _string.loc.apply(null, params);\n });\n\n var CompileTimeLookup = function () {\n function CompileTimeLookup(resolver) {\n\n this.resolver = resolver;\n }\n\n CompileTimeLookup.prototype.getCapabilities = function (handle) {\n var definition = this.resolver.resolve(handle);\n var manager = definition.manager,\n state = definition.state;\n\n return manager.getCapabilities(state);\n };\n\n CompileTimeLookup.prototype.getLayout = function (handle) {\n var _resolver$resolve = this.resolver.resolve(handle),\n manager = _resolver$resolve.manager,\n state = _resolver$resolve.state;\n\n var capabilities = manager.getCapabilities(state);\n if (capabilities.dynamicLayout) {\n return null;\n }\n var invocation = manager.getLayout(state, this.resolver);\n return {\n compile: function () {\n return invocation.handle;\n },\n\n symbolTable: invocation.symbolTable\n };\n };\n\n CompileTimeLookup.prototype.lookupHelper = function (name, referrer) {\n return this.resolver.lookupHelper(name, referrer);\n };\n\n CompileTimeLookup.prototype.lookupModifier = function (name, referrer) {\n return this.resolver.lookupModifier(name, referrer);\n };\n\n CompileTimeLookup.prototype.lookupComponentDefinition = function (name, referrer) {\n return this.resolver.lookupComponentHandle(name, referrer);\n };\n\n CompileTimeLookup.prototype.lookupPartial = function (name, referrer) {\n return this.resolver.lookupPartial(name, referrer);\n };\n\n return CompileTimeLookup;\n }();\n\n var CAPABILITIES$1 = {\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 hasAsyncLifeCycleCallbacks(delegate) {\n return delegate.capabilities.asyncLifeCycleCallbacks;\n }\n function hasDestructors(delegate) {\n return delegate.capabilities.destructor;\n }\n function valueForCapturedArgs(args) {\n return {\n named: args.named.value(),\n positional: args.positional.value()\n };\n }\n /**\n The CustomComponentManager allows addons to provide custom component\n implementations that integrate seamlessly into Ember. This is accomplished\n through a delegate, registered with the custom component manager, which\n implements a set of hooks that determine component behavior.\n \n To create a custom component manager, instantiate a new CustomComponentManager\n class and pass the delegate as the first argument:\n \n ```js\n let manager = new CustomComponentManager({\n // ...delegate implementation...\n });\n ```\n \n ## Delegate Hooks\n \n Throughout the lifecycle of a component, the component manager will invoke\n delegate hooks that are responsible for surfacing those lifecycle changes to\n the end developer.\n \n * `create()` - invoked when a new instance of a component should be created\n * `update()` - invoked when the arguments passed to a component change\n * `getContext()` - returns the object that should be\n */\n\n var CustomComponentManager = function (_AbstractManager3) {\n (0, _emberBabel.inherits)(CustomComponentManager, _AbstractManager3);\n\n function CustomComponentManager() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _AbstractManager3.apply(this, arguments));\n }\n\n CustomComponentManager.prototype.create = function (_env, definition, args) {\n var delegate = definition.delegate;\n\n var capturedArgs = args.capture();\n var invocationArgs = valueForCapturedArgs(capturedArgs);\n var component = delegate.createComponent(definition.ComponentClass.class, invocationArgs);\n return new CustomComponentState(delegate, component, capturedArgs);\n };\n\n CustomComponentManager.prototype.update = function (_ref12) {\n var delegate = _ref12.delegate,\n component = _ref12.component,\n args = _ref12.args;\n\n delegate.updateComponent(component, valueForCapturedArgs(args));\n };\n\n CustomComponentManager.prototype.didCreate = function (_ref13) {\n var delegate = _ref13.delegate,\n component = _ref13.component;\n\n if (hasAsyncLifeCycleCallbacks(delegate)) {\n delegate.didCreateComponent(component);\n }\n };\n\n CustomComponentManager.prototype.didUpdate = function (_ref14) {\n var delegate = _ref14.delegate,\n component = _ref14.component;\n\n if (hasAsyncLifeCycleCallbacks(delegate)) {\n delegate.didUpdateComponent(component);\n }\n };\n\n CustomComponentManager.prototype.getContext = function (_ref15) {\n var delegate = _ref15.delegate,\n component = _ref15.component;\n\n delegate.getContext(component);\n };\n\n CustomComponentManager.prototype.getSelf = function (_ref16) {\n var delegate = _ref16.delegate,\n component = _ref16.component;\n\n var context = delegate.getContext(component);\n return new RootReference(context);\n };\n\n CustomComponentManager.prototype.getDestructor = function (state) {\n if (hasDestructors(state.delegate)) {\n return state;\n } else {\n return null;\n }\n };\n\n CustomComponentManager.prototype.getCapabilities = function () {\n return CAPABILITIES$1;\n };\n\n CustomComponentManager.prototype.getTag = function (_ref17) {\n var args = _ref17.args;\n\n return args.tag;\n };\n\n CustomComponentManager.prototype.didRenderLayout = function () {};\n\n CustomComponentManager.prototype.getLayout = function (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 = function () {\n function CustomComponentState(delegate, component, args) {\n\n this.delegate = delegate;\n this.component = component;\n this.args = args;\n }\n\n CustomComponentState.prototype.destroy = function () {\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 (name, ComponentClass, delegate, template) {\n\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$2 = {\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: true,\n createInstance: true\n };\n\n var TemplateOnlyComponentManager = function (_AbstractManager4) {\n (0, _emberBabel.inherits)(TemplateOnlyComponentManager, _AbstractManager4);\n\n function TemplateOnlyComponentManager() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _AbstractManager4.apply(this, arguments));\n }\n\n TemplateOnlyComponentManager.prototype.getLayout = function (template) {\n var layout = template.asLayout();\n return {\n handle: layout.compile(),\n symbolTable: layout.symbolTable\n };\n };\n\n TemplateOnlyComponentManager.prototype.getCapabilities = function () {\n return CAPABILITIES$2;\n };\n\n TemplateOnlyComponentManager.prototype.create = function () {\n return null;\n };\n\n TemplateOnlyComponentManager.prototype.getSelf = function () {\n return _runtime.NULL_REFERENCE;\n };\n\n TemplateOnlyComponentManager.prototype.getTag = function () {\n return _reference.CONSTANT_TAG;\n };\n\n TemplateOnlyComponentManager.prototype.getDestructor = function () {\n return null;\n };\n\n return TemplateOnlyComponentManager;\n }(AbstractManager);\n\n var MANAGER = new TemplateOnlyComponentManager();\n\n var TemplateOnlyComponentDefinition = function (state) {\n\n this.state = state;\n this.manager = MANAGER;\n };\n\n function classHelper(_ref18) {\n var positional = _ref18.positional;\n\n var path = positional.at(0);\n var args = positional.length;\n var value = path.value();\n if (value === true) {\n if (args > 1) {\n return (0, _string.dasherize)(positional.at(1).value());\n }\n return null;\n }\n if (value === false) {\n if (args > 2) {\n return (0, _string.dasherize)(positional.at(2).value());\n }\n return null;\n }\n return value;\n }\n\n\n function htmlSafe$1(_ref19) {\n var positional = _ref19.positional;\n\n var path = positional.at(0);\n return new SafeString(path.value());\n }\n\n\n function inputTypeHelper(_ref20) {\n var positional = _ref20.positional;\n\n var type = positional.at(0).value();\n if (type === 'checkbox') {\n return '-checkbox';\n }\n return '-text-field';\n }\n\n\n function normalizeClass(_ref21) {\n var positional = _ref21.positional;\n\n var classNameParts = positional.at(0).value().split('.');\n var className = classNameParts[classNameParts.length - 1];\n var value = positional.at(1).value();\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\n /**\n @module ember\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/components/my-component.js\n import Component from '@ember/component';\n \n export default Component.extend({\n actions: {\n // Usage {{input on-input=(action (action 'setName' model) value=\"target.value\")}}\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 {{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 function action(_vm, args) {\n var named = args.named,\n positional = args.positional;\n\n var capturedArgs = positional.capture();\n // The first two argument slots are reserved.\n // pos[0] is the context (or `this`)\n // pos[1] is the action name or function\n // Anything else is an action argument.\n\n var _capturedArgs$referen = capturedArgs.references,\n context = _capturedArgs$referen[0],\n action = _capturedArgs$referen[1],\n restArgs = _capturedArgs$referen.slice(2);\n\n // TODO: Is there a better way of doing this?\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 = void 0;\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 fn[ACTION] = true;\n return new UnboundReference(fn);\n }\n function NOOP$1(args) {\n return args;\n }\n function makeArgsProcessor(valuePathRef, actionArgsRef) {\n var mergeArgs = void 0;\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 var readValue = void 0;\n if (valuePathRef) {\n readValue = function (args) {\n var valuePath = valuePathRef.value();\n if (valuePath && args.length > 0) {\n args[0] = (0, _emberMetal.get)(args[0], valuePath);\n }\n return args;\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 function makeDynamicClosureAction(context, targetRef, actionRef, processArgs, debugKey) {\n return function () {\n return makeClosureAction(context, targetRef.value(), actionRef.value(), processArgs, debugKey).apply(undefined, arguments);\n };\n }\n function makeClosureAction(context, target, action, processArgs, debugKey) {\n var self = void 0,\n typeofAction;\n var fn = void 0;\n false && !(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 typeofAction = typeof action;\n\n if (typeofAction === 'string') {\n self = target;\n fn = target.actions && target.actions[action];\n false && !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 false && !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 return function () {\n for (_len = arguments.length, args = Array(_len), _key2 = 0; _key2 < _len; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n var payload = { target: self, args: args, label: '@glimmer/closure-action' },\n _len,\n args,\n _key2;\n return (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, function () {\n return _runloop.join.apply(undefined, [self, fn].concat(processArgs(args)));\n });\n };\n }\n\n var isEmpty = function (value) {\n return value === null || value === undefined || typeof value.toString !== 'function';\n };\n var normalizeTextValue = function (value) {\n if (isEmpty(value)) {\n return '';\n }\n return String(value);\n };\n /**\n @module ember\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 @public\n @method concat\n @for Ember.Templates.helpers\n @since 1.13.0\n */\n function concat(_ref22) {\n var positional = _ref22.positional;\n\n return positional.value().map(normalizeTextValue).join('');\n }\n\n /**\n @module ember\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 (action (mut factName)) \"height\"}}>Show height</button>\n <button {{action (action (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 (action (mut factName)) \"height\"}}>Show height</button>\n <button {{action (action (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 function referenceFromPath(source, path) {\n var innerReference = void 0;\n if (path === undefined || path === null || path === '') {\n innerReference = _runtime.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 return innerReference;\n }\n\n var GetHelperReference = function (_CachedReference$6) {\n (0, _emberBabel.inherits)(GetHelperReference, _CachedReference$6);\n\n GetHelperReference.create = function (sourceReference, pathReference) {\n var path;\n\n if ((0, _reference.isConst)(pathReference)) {\n path = pathReference.value();\n\n return referenceFromPath(sourceReference, path);\n } else {\n return new GetHelperReference(sourceReference, pathReference);\n }\n };\n\n function GetHelperReference(sourceReference, pathReference) {\n\n var _this35 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference$6.call(this));\n\n _this35.sourceReference = sourceReference;\n _this35.pathReference = pathReference;\n _this35.lastPath = null;\n _this35.innerReference = _runtime.NULL_REFERENCE;\n var innerTag = _this35.innerTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n _this35.tag = (0, _reference.combine)([sourceReference.tag, pathReference.tag, innerTag]);\n return _this35;\n }\n\n GetHelperReference.prototype.compute = function () {\n var lastPath = this.lastPath,\n innerReference = this.innerReference,\n innerTag = this.innerTag;\n\n var path = this.pathReference.value();\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 return innerReference.value();\n };\n\n GetHelperReference.prototype[UPDATE] = function (value) {\n (0, _emberMetal.set)(this.sourceReference.value(), this.pathReference.value(), value);\n };\n\n return GetHelperReference;\n }(CachedReference$1);\n\n /**\n @module ember\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 /**\n @module ember\n */\n\n var ConditionalHelperReference = function (_CachedReference$7) {\n (0, _emberBabel.inherits)(ConditionalHelperReference, _CachedReference$7);\n\n ConditionalHelperReference.create = function (_condRef, truthyRef, falsyRef) {\n var condRef = ConditionalReference$1.create(_condRef);\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\n var _this36 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference$7.call(this));\n\n _this36.branchTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n _this36.tag = (0, _reference.combine)([cond.tag, _this36.branchTag]);\n _this36.cond = cond;\n _this36.truthy = truthy;\n _this36.falsy = falsy;\n return _this36;\n }\n\n ConditionalHelperReference.prototype.compute = function () {\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 /**\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 {{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 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 ```handlebars\n {{unless useLongGreeting \"Hi\" \"Hello\"}} Ben\n ```\n \n You can use the `unless` helper inside another helper as a subexpression.\n \n ```handlebars\n {{some-component height=(unless isBig \"10\" \"100\")}}\n ```\n \n @method unless\n @for Ember.Templates.helpers\n @public\n */\n\n\n /**\n @module ember\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 function log(_ref25) {\n var _console;\n\n var positional = _ref25.positional;\n\n /* eslint-disable no-console */\n (_console = console).log.apply(_console, positional.value());\n /* eslint-enable no-console */\n }\n\n\n /**\n @module ember\n */\n /**\n The `mut` helper lets you __clearly specify__ that a child `Component` can update the\n (mutable) value passed to it, which will __change the value of the parent component__.\n \n To specify that a parameter is mutable, when invoking the child `Component`:\n \n ```handlebars\n {{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 `action` helper to\n mutate a value. For example:\n \n ```handlebars\n {{my-child childClickCount=totalClicks click-count-change=(action (mut totalClicks))}}\n ```\n \n The child `Component` would invoke the action 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 action argument.\n \n The `mut` helper, when used with `action`, will return a function that\n sets the value passed to `mut` to its first argument. This works like any other\n closure action and interacts with the other features `action` provides.\n As an example, we can create a button that increments a value passing the value\n directly to the `action`:\n \n ```handlebars\n {{! inc helper is not provided by Ember }}\n <button onclick={{action (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={{action (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 var MUT_REFERENCE = (0, _emberUtils.symbol)('MUT');\n var SOURCE = (0, _emberUtils.symbol)('SOURCE');\n function isMut(ref) {\n return ref && ref[MUT_REFERENCE];\n }\n function unMut(ref) {\n return ref[SOURCE] || ref;\n }\n\n\n /**\n @module ember\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 function queryParams(_ref26) {\n var positional = _ref26.positional,\n named = _ref26.named;\n false && !(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\n return new _emberRouting.QueryParams((0, _polyfills.assign)({}, named.value()));\n }\n\n /**\n The `readonly` helper let's you specify that a binding is one-way only,\n instead of two-way.\n When you pass a `readonly` binding from an outer context (e.g. parent component),\n to to an inner context (e.g. child component), you are saying that changing that\n property in the inner context does not change the value in the outer context.\n \n To specify that a binding is read-only, when invoking the child `Component`:\n \n ```app/components/my-parent.js\n export default Component.extend({\n totalClicks: 3\n });\n ```\n \n ```app/templates/components/my-parent.hbs\n {{log totalClicks}} // -> 3\n {{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 {{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 {{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 {{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 /**\n @module ember\n */\n /**\n The `{{unbound}}` helper disconnects the one-way binding of a property,\n essentially freezing its value at the moment of rendering. For example,\n in this example the display of the variable `name` will not change even\n if it is set with a new value:\n \n ```handlebars\n {{unbound 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 var MODIFIERS = ['alt', 'shift', 'meta', 'ctrl'];\n var POINTER_EVENT_TYPE_REGEX = /^click|mouse|touch/;\n function isAllowedEvent(event, allowedKeys) {\n var i;\n\n if (allowedKeys === null || allowedKeys === undefined) {\n if (POINTER_EVENT_TYPE_REGEX.test(event.type)) {\n return (0, _emberViews.isSimpleClick)(event);\n } else {\n allowedKeys = '';\n }\n }\n if (allowedKeys.indexOf('any') >= 0) {\n return true;\n }\n for (i = 0; i < MODIFIERS.length; i++) {\n if (event[MODIFIERS[i] + 'Key'] && allowedKeys.indexOf(MODIFIERS[i]) === -1) {\n return false;\n }\n }\n return true;\n }\n var ActionHelper = {\n // registeredActions is re-exported for compatibility with older plugins\n // that were using this undocumented API.\n registeredActions: _emberViews.ActionManager.registeredActions,\n registerAction: function (actionState) {\n var actionId = actionState.actionId;\n\n _emberViews.ActionManager.registeredActions[actionId] = actionState;\n return actionId;\n },\n unregisterAction: function (actionState) {\n var actionId = actionState.actionId;\n\n delete _emberViews.ActionManager.registeredActions[actionId];\n }\n };\n\n var ActionState = function () {\n function ActionState(element, actionId, actionName, actionArgs, namedArgs, positionalArgs, implicitTarget, dom, tag) {\n\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 ActionState.prototype.getEventName = function () {\n return this.namedArgs.get('on').value() || 'click';\n };\n\n ActionState.prototype.getActionArgs = function () {\n var result = new Array(this.actionArgs.length),\n i;\n for (i = 0; i < this.actionArgs.length; i++) {\n result[i] = this.actionArgs[i].value();\n }\n return result;\n };\n\n ActionState.prototype.getTarget = function () {\n var implicitTarget = this.implicitTarget,\n namedArgs = this.namedArgs;\n\n var target = void 0;\n if (namedArgs.has('target')) {\n target = namedArgs.get('target').value();\n } else {\n target = implicitTarget.value();\n }\n return target;\n };\n\n ActionState.prototype.handler = function (event) {\n var _this37 = this;\n\n var actionName = this.actionName,\n namedArgs = this.namedArgs;\n\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 if (!isAllowedEvent(event, allowedKeys.value())) {\n return true;\n }\n if (preventDefault.value() !== false) {\n event.preventDefault();\n }\n if (!shouldBubble) {\n event.stopPropagation();\n }\n (0, _runloop.join)(function () {\n var args = _this37.getActionArgs();\n var payload = {\n args: args,\n target: target,\n name: null\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 if (typeof actionName === 'function') {\n (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, function () {\n actionName.apply(target, args);\n });\n return;\n }\n payload.name = actionName;\n if (target.send) {\n (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, function () {\n target.send.apply(target, [actionName].concat(args));\n });\n } else {\n false && !(typeof target[actionName] === 'function') && (0, _debug.assert)('The action \\'' + actionName + '\\' did not exist on ' + target, typeof target[actionName] === 'function');\n\n (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, function () {\n target[actionName].apply(target, args);\n });\n }\n });\n return shouldBubble;\n };\n\n ActionState.prototype.destroy = function () {\n ActionHelper.unregisterAction(this);\n };\n\n return ActionState;\n }();\n\n var ActionModifierManager = function () {\n function ActionModifierManager() {}\n\n ActionModifierManager.prototype.create = function (element, 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 actionLabel,\n i;\n\n var implicitTarget = void 0;\n var actionName = void 0;\n var actionNameRef = void 0;\n if (positional.length > 1) {\n implicitTarget = positional.at(0);\n actionNameRef = positional.at(1);\n if (actionNameRef[INVOKE]) {\n actionName = actionNameRef;\n } else {\n actionLabel = actionNameRef._propertyKey;\n\n actionName = actionNameRef.value();\n false && !(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 var actionArgs = [];\n // The first two arguments are (1) `this` and (2) the action name.\n // Everything else is a param.\n for (i = 2; i < positional.length; i++) {\n actionArgs.push(positional.at(i));\n }\n var actionId = (0, _emberUtils.uuid)();\n return new ActionState(element, actionId, actionName, actionArgs, named, positional, implicitTarget, dom, tag);\n };\n\n ActionModifierManager.prototype.install = function (actionState) {\n var dom = actionState.dom,\n element = actionState.element,\n actionId = actionState.actionId;\n\n ActionHelper.registerAction(actionState);\n dom.setAttribute(element, 'data-ember-action', '');\n dom.setAttribute(element, 'data-ember-action-' + actionId, actionId);\n };\n\n ActionModifierManager.prototype.update = function (actionState) {\n var positional = actionState.positional;\n\n var actionNameRef = positional.at(1);\n if (!actionNameRef[INVOKE]) {\n actionState.actionName = actionNameRef.value();\n }\n actionState.eventName = actionState.getEventName();\n };\n\n ActionModifierManager.prototype.getTag = function (actionState) {\n return actionState.tag;\n };\n\n ActionModifierManager.prototype.getDestructor = function (modifier) {\n return modifier;\n };\n\n return ActionModifierManager;\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 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 @module ember\n */\n 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 The `{{input}}` helper lets you create an HTML `<input />` component.\n It causes an `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 \n ```handlebars\n {{input value=\"987\"}}\n ```\n \n renders as:\n \n ```HTML\n <input type=\"text\" value=\"987\" />\n ```\n \n ### Text field\n \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 \n ```handlebars\n Search:\n {{input value=searchWord}}\n ```\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 \n ### Actions\n \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 \n ```handlebars\n {{input action=\"submit\"}}\n ```\n \n The helper allows some user events to send actions.\n \n * `enter`\n * `insert-newline`\n * `escape-press`\n * `focus-in`\n * `focus-out`\n * `key-press`\n * `key-up`\n \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 \n ```handlebars\n {{input focus-out=\"alertMessage\"}}\n ```\n See more about [Text Support Actions](/api/ember/release/classes/TextField)\n \n ### Extending `TextField`\n \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 \n ```javascript\n import TextField from '@ember/component/text-field';\n TextField.reopen({\n attributeBindings: ['data-error']\n });\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 \n ### Checkbox\n \n Checkboxes are special forms of the `{{input}}` helper. To create a `<checkbox />`:\n \n ```handlebars\n Emberize Everything:\n {{input type=\"checkbox\" name=\"isEmberized\" checked=isEmberized}}\n ```\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 \n The following HTML attributes can be set via the helper:\n \n * `checked`\n * `disabled`\n * `tabindex`\n * `indeterminate`\n * `name`\n * `autofocus`\n * `form`\n \n ### Extending `Checkbox`\n \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 \n ```javascript\n import Checkbox from '@ember/component/checkbox';\n \n Checkbox.reopen({\n classNames: ['my-app-checkbox']\n });\n ```\n \n @method input\n @for Ember.Templates.helpers\n @param {Hash} options\n @public\n */\n function inputMacro(_name, params, hash, builder) {\n var keys, values, typeIndex, typeArg, inputTypeExpr;\n\n if (params === null) {\n params = [];\n }\n if (hash !== null) {\n keys = hash[0];\n values = hash[1];\n typeIndex = keys.indexOf('type');\n\n if (typeIndex > -1) {\n 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 inputTypeExpr = params[0];\n\n builder.dynamicComponent(inputTypeExpr, null, params.slice(1), hash, true, null, null);\n return true;\n }\n if (typeArg === 'checkbox') {\n false && !(keys.indexOf('value') === -1) && (0, _debug.assert)(\"{{input type='checkbox'}} does not support setting `value=someBooleanValue`; \" + 'you must use `checked=someBooleanValue` instead.', keys.indexOf('value') === -1);\n\n wrapComponentClassAttribute(hash);\n return buildSyntax('-checkbox', params, hash, builder);\n }\n }\n }\n return buildSyntax('-text-field', params, hash, builder);\n }\n\n /**\n @module ember\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 {{my-post title=title content=content options=options}}\n {{/let}}\n ```\n \n @method let\n @for Ember.Templates.helpers\n @public\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 return true;\n }\n\n var CAPABILITIES$3 = {\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 = function (_AbstractManager5) {\n (0, _emberBabel.inherits)(MountManager, _AbstractManager5);\n\n function MountManager() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _AbstractManager5.apply(this, arguments));\n }\n\n MountManager.prototype.getDynamicLayout = function (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 MountManager.prototype.getCapabilities = function () {\n return CAPABILITIES$3;\n };\n\n MountManager.prototype.create = function (environment, state) {\n // TODO\n // mount is a runtime helper, this shouldn't use dynamic layout\n // we should resolve the engine app template in the helper\n // it also should use the owner that looked up the mount helper.\n var engine = environment.owner.buildChildEngineInstance(state.name),\n model,\n modelRev;\n engine.boot();\n var applicationFactory = engine.factoryFor('controller:application');\n var controllerFactory = applicationFactory || (0, _emberRouting.generateControllerFactory)(engine, 'application');\n var controller = void 0;\n var self = void 0;\n var bucket = void 0;\n var tag = void 0;\n\n var modelRef = state.modelRef;\n if (modelRef === undefined) {\n controller = controllerFactory.create();\n self = new RootReference(controller);\n tag = _reference.CONSTANT_TAG;\n bucket = { engine: engine, controller: controller, self: self, tag: tag };\n } else {\n model = modelRef.value();\n modelRev = modelRef.tag.value();\n\n controller = controllerFactory.create({ model: model });\n self = new RootReference(controller);\n tag = modelRef.tag;\n bucket = { engine: engine, controller: controller, self: self, tag: tag, modelRef: modelRef, modelRev: modelRev };\n }\n\n return bucket;\n };\n\n MountManager.prototype.getSelf = function (_ref27) {\n var self = _ref27.self;\n\n return self;\n };\n\n MountManager.prototype.getTag = function (state) {\n return state.tag;\n };\n\n MountManager.prototype.getDestructor = function (_ref28) {\n var engine = _ref28.engine;\n\n return engine;\n };\n\n MountManager.prototype.didRenderLayout = function () {};\n\n MountManager.prototype.update = function (bucket) {\n var controller = bucket.controller,\n modelRef = bucket.modelRef,\n modelRev = bucket.modelRev,\n model;\n\n if (!modelRef.tag.validate(modelRev)) {\n model = modelRef.value();\n\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 (name, modelRef) {\n\n this.manager = MOUNT_MANAGER;\n this.state = { name: name, modelRef: modelRef };\n };\n\n /**\n @module ember\n */\n\n /**\n The `{{mount}}` helper lets you embed a routeless engine in a template.\n Mounting an engine will cause an instance to be booted and its `application`\n template to be rendered.\n \n For example, the following template mounts the `ember-chat` engine:\n \n ```handlebars\n {{! application.hbs }}\n {{mount \"ember-chat\"}}\n ```\n \n Additionally, you can also pass in a `model` argument that will be\n set as the engines model. This can be an existing object:\n \n ```\n <div>\n {{mount 'admin' model=userSettings}}\n </div>\n ```\n \n Or an inline `hash`, and you can even pass components:\n \n ```\n <div>\n <h1>Application template!</h1>\n {{mount 'admin' model=(hash\n title='Secret Admin'\n signInButton=(component 'sign-in-button')\n )}}\n </div>\n ```\n \n @method mount\n @param {String} name Name of the engine to mount.\n @param {Object} [model] Object that will be set as\n the model of the engine.\n @for Ember.Templates.helpers\n @category ember-application-engines\n @public\n */\n function mountMacro(_name, params, hash, builder) {\n false && !(params.length === 1) && (0, _debug.assert)('You can only pass a single positional argument to the {{mount}} helper, e.g. {{mount \"chat-engine\"}}.', params.length === 1);\n\n 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 = function () {\n function DynamicEngineReference(nameRef, env, modelRef) {\n\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 DynamicEngineReference.prototype.value = function () {\n var env = this.env,\n nameRef = this.nameRef,\n modelRef = this.modelRef;\n\n var name = nameRef.value();\n if (typeof name === 'string') {\n if (this._lastName === name) {\n return this._lastDef;\n }\n false && !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 this._lastName = name;\n this._lastDef = (0, _runtime.curry)(new MountDefinition(name, modelRef));\n return this._lastDef;\n } else {\n false && !(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\n this._lastDef = null;\n this._lastName = null;\n return null;\n }\n };\n\n DynamicEngineReference.prototype.get = function () {\n return _runtime.UNDEFINED_REFERENCE;\n };\n\n return DynamicEngineReference;\n }();\n\n var RootOutletReference = function () {\n function RootOutletReference(outletState) {\n\n this.outletState = outletState;\n this.tag = _reference.DirtyableTag.create();\n }\n\n RootOutletReference.prototype.get = function (key) {\n return new PathReference(this, key);\n };\n\n RootOutletReference.prototype.value = function () {\n return this.outletState;\n };\n\n RootOutletReference.prototype.update = function (state) {\n this.outletState.outlets.main = state;\n this.tag.inner.dirty();\n };\n\n return RootOutletReference;\n }();\n\n var OutletReference = function () {\n function OutletReference(parentStateRef, outletNameRef) {\n\n this.parentStateRef = parentStateRef;\n this.outletNameRef = outletNameRef;\n this.tag = (0, _reference.combine)([parentStateRef.tag, outletNameRef.tag]);\n }\n\n OutletReference.prototype.value = function () {\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 OutletReference.prototype.get = function (key) {\n return new PathReference(this, key);\n };\n\n return OutletReference;\n }();\n\n var PathReference = function () {\n function PathReference(parent, key) {\n\n this.parent = parent;\n this.key = key;\n this.tag = parent.tag;\n }\n\n PathReference.prototype.get = function (key) {\n return new PathReference(this, key);\n };\n\n PathReference.prototype.value = function () {\n var parent = this.parent.value();\n return parent && parent[this.key];\n };\n\n return PathReference;\n }();\n\n var OrphanedOutletReference = function () {\n function OrphanedOutletReference(root, name) {\n\n this.root = root;\n this.name = name;\n this.tag = root.tag;\n }\n\n OrphanedOutletReference.prototype.value = function () {\n var rootState = this.root.value();\n var outletState = rootState && rootState.outlets.main;\n var outlets = outletState && outletState.outlets;\n outletState = outlets && outlets.__ember_orphans__;\n outlets = outletState && outletState.outlets;\n if (outlets === undefined) {\n return;\n }\n var matched = outlets[this.name];\n if (matched === undefined || matched.render === undefined) {\n return;\n }\n var state = Object.create(null);\n state[matched.render.outlet] = matched;\n matched.wasUsed = true;\n return { outlets: state, render: undefined };\n };\n\n OrphanedOutletReference.prototype.get = function (key) {\n return new PathReference(this, key);\n };\n\n return OrphanedOutletReference;\n }();\n\n /**\n The `{{outlet}}` helper lets you specify where a child route will render in\n your template. An important use of the `{{outlet}}` helper is in your\n application's `application.hbs` file:\n \n ```handlebars\n {{! app/templates/application.hbs }}\n <!-- header content goes here, and will always display -->\n {{my-header}}\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 {{my-footer}}\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 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 = function () {\n function OutletComponentReference(outletRef) {\n\n this.outletRef = outletRef;\n this.definition = null;\n this.lastState = null;\n // The router always dirties the root state.\n this.tag = outletRef.tag;\n }\n\n OutletComponentReference.prototype.value = function () {\n var state = stateFor(this.outletRef);\n if (validate(state, this.lastState)) {\n return this.definition;\n }\n this.lastState = state;\n var definition = null;\n if (state !== null) {\n definition = (0, _runtime.curry)(new OutletComponentDefinition(state));\n }\n return this.definition = definition;\n };\n\n OutletComponentReference.prototype.get = function () {\n return _runtime.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 function validate(state, lastState) {\n if (state === null) {\n return lastState === null;\n }\n if (lastState === null) {\n return false;\n }\n return state.template === lastState.template && state.controller === lastState.controller;\n }\n\n var NON_SINGLETON_RENDER_MANAGER = void 0;\n var SINGLETON_RENDER_MANAGER = void 0;\n var RenderDefinition = void 0;\n if (_deprecatedFeatures.RENDER_HELPER) {\n AbstractRenderManager = function (_AbstractManager6) {\n (0, _emberBabel.inherits)(AbstractRenderManager, _AbstractManager6);\n\n function AbstractRenderManager() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _AbstractManager6.apply(this, arguments));\n }\n\n AbstractRenderManager.prototype.create = function (env, definition, args, dynamicScope) {\n var name = definition.name;\n\n if (dynamicScope.rootOutletState) {\n dynamicScope.outletState = new OrphanedOutletReference(dynamicScope.rootOutletState, name);\n }\n return this.createRenderState(args, env.owner, name);\n };\n\n AbstractRenderManager.prototype.getLayout = function (_ref29) {\n var template = _ref29.template;\n\n var layout = template.asLayout();\n return {\n handle: layout.compile(),\n symbolTable: layout.symbolTable\n };\n };\n\n AbstractRenderManager.prototype.getSelf = function (_ref30) {\n var controller = _ref30.controller;\n\n return new RootReference(controller);\n };\n\n return AbstractRenderManager;\n }(AbstractManager);\n _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: true,\n createInstance: true\n };\n SingletonRenderManager = function (_AbstractRenderManage) {\n (0, _emberBabel.inherits)(SingletonRenderManager, _AbstractRenderManage);\n\n function SingletonRenderManager() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _AbstractRenderManage.apply(this, arguments));\n }\n\n SingletonRenderManager.prototype.createRenderState = function (_args, owner, name) {\n var controller = owner.lookup('controller:' + name) || (0, _emberRouting.generateController)(owner, name);\n return { controller: controller };\n };\n\n SingletonRenderManager.prototype.getCapabilities = function () {\n return _CAPABILITIES;\n };\n\n SingletonRenderManager.prototype.getTag = function () {\n // todo this should be the tag of the state args\n return _reference.CONSTANT_TAG;\n };\n\n SingletonRenderManager.prototype.getDestructor = function () {\n return null;\n };\n\n return SingletonRenderManager;\n }(AbstractRenderManager);\n\n\n SINGLETON_RENDER_MANAGER = new SingletonRenderManager();\n NONSINGLETON_CAPABILITIES = {\n dynamicLayout: false,\n dynamicTag: false,\n prepareArgs: false,\n createArgs: true,\n attributeHook: false,\n elementHook: false,\n dynamicScope: true,\n createCaller: false,\n updateHook: true,\n createInstance: true\n };\n NonSingletonRenderManager = function (_AbstractRenderManage2) {\n (0, _emberBabel.inherits)(NonSingletonRenderManager, _AbstractRenderManage2);\n\n function NonSingletonRenderManager() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _AbstractRenderManage2.apply(this, arguments));\n }\n\n NonSingletonRenderManager.prototype.createRenderState = function (args, owner, name) {\n var model = args.positional.at(1);\n var factory = owner.factoryFor('controller:' + name) || (0, _emberRouting.generateControllerFactory)(owner, 'controller:' + name);\n var controller = factory.create({ model: model.value() });\n return { controller: controller, model: model };\n };\n\n NonSingletonRenderManager.prototype.update = function (_ref31) {\n var controller = _ref31.controller,\n model = _ref31.model;\n\n controller.set('model', model.value());\n };\n\n NonSingletonRenderManager.prototype.getCapabilities = function () {\n return NONSINGLETON_CAPABILITIES;\n };\n\n NonSingletonRenderManager.prototype.getTag = function (_ref32) {\n var model = _ref32.model;\n\n return model.tag;\n };\n\n NonSingletonRenderManager.prototype.getDestructor = function (_ref33) {\n var controller = _ref33.controller;\n\n return controller;\n };\n\n return NonSingletonRenderManager;\n }(AbstractRenderManager);\n\n\n NON_SINGLETON_RENDER_MANAGER = new NonSingletonRenderManager();\n RenderDefinition = function (name, template, manager) {\n\n this.manager = manager;\n this.state = {\n name: name,\n template: template\n };\n };\n }\n\n /**\n @module ember\n */\n var renderHelper = void 0;\n if (_deprecatedFeatures.RENDER_HELPER) {\n renderHelper = function (vm, args) {\n var env = vm.env,\n controllerNameRef,\n def,\n _def,\n captured;\n var nameRef = args.positional.at(0);\n false && !(0, _reference.isConst)(nameRef) && (0, _debug.assert)('The first argument of {{render}} must be quoted, e.g. {{render \"sidebar\"}}.', (0, _reference.isConst)(nameRef));\n false && !(args.positional.length === 1 || !(0, _reference.isConst)(args.positional.at(1))) && (0, _debug.assert)('The second argument of {{render}} must be a path, e.g. {{render \"post\" post}}.', args.positional.length === 1 || !(0, _reference.isConst)(args.positional.at(1)));\n\n var templateName = nameRef.value();\n // tslint:disable-next-line:max-line-length\n false && !env.owner.hasRegistration('template:' + templateName) && (0, _debug.assert)('You used `{{render \\'' + templateName + '\\'}}`, but \\'' + templateName + '\\' can not be found as a template.', env.owner.hasRegistration('template:' + templateName));\n\n var template = env.owner.lookup('template:' + templateName);\n var controllerName = void 0;\n if (args.named.has('controller')) {\n controllerNameRef = args.named.get('controller');\n // tslint:disable-next-line:max-line-length\n\n false && !(0, _reference.isConst)(controllerNameRef) && (0, _debug.assert)('The controller argument for {{render}} must be quoted, e.g. {{render \"sidebar\" controller=\"foo\"}}.', (0, _reference.isConst)(controllerNameRef));\n\n // TODO should be ensuring this to string here\n controllerName = controllerNameRef.value();\n // tslint:disable-next-line:max-line-length\n false && !env.owner.hasRegistration('controller:' + controllerName) && (0, _debug.assert)('The controller name you supplied \\'' + controllerName + '\\' did not resolve to a controller.', env.owner.hasRegistration('controller:' + controllerName));\n } else {\n controllerName = templateName;\n }\n if (args.positional.length === 1) {\n def = new RenderDefinition(controllerName, template, SINGLETON_RENDER_MANAGER);\n\n return UnboundReference.create((0, _runtime.curry)(def));\n } else {\n _def = new RenderDefinition(controllerName, template, NON_SINGLETON_RENDER_MANAGER);\n captured = args.capture();\n\n return UnboundReference.create((0, _runtime.curry)(_def, captured));\n }\n };\n }\n /**\n Calling ``{{render}}`` from within a template will insert another\n template that matches the provided name. The inserted template will\n access its properties on its own controller (rather than the controller\n of the parent template).\n \n If a view class with the same name exists, the view class also will be used.\n Note: A given controller may only be used *once* in your app in this manner.\n A singleton instance of the controller will be created for you.\n \n Example:\n \n ```app/controllers/navigation.js\n import Controller from '@ember/controller';\n \n export default Controller.extend({\n who: \"world\"\n });\n ```\n \n ```handlebars\n <!-- navigation.hbs -->\n Hello, {{who}}.\n ```\n \n ```handlebars\n <!-- application.hbs -->\n <h1>My great app</h1>\n {{render \"navigation\"}}\n ```\n \n ```html\n <h1>My great app</h1>\n <div class='ember-view'>\n Hello, world.\n </div>\n ```\n \n Optionally you may provide a second argument: a property path\n that will be bound to the `model` property of the controller.\n If a `model` property path is specified, then a new instance of the\n controller will be created and `{{render}}` can be used multiple times\n with the same name.\n \n For example if you had this `author` template.\n \n ```handlebars\n <div class=\"author\">\n Written by {{firstName}} {{lastName}}.\n Total Posts: {{postCount}}\n </div>\n ```\n \n You could render it inside the `post` template using the `render` helper.\n \n ```handlebars\n <div class=\"post\">\n <h1>{{title}}</h1>\n <div>{{body}}</div>\n {{render \"author\" author}}\n </div>\n ```\n \n @method render\n @for Ember.Templates.helpers\n @param {String} name\n @param {Object?} context\n @param {Hash} options\n @return {String} HTML string\n @public\n @deprecated Use a component instead\n */\n var renderMacro = void 0;\n if (_deprecatedFeatures.RENDER_HELPER) {\n renderMacro = function (_name, params, hash, builder) {\n var expr;\n\n if (_deprecatedFeatures.RENDER_HELPER && _emberEnvironment.ENV._ENABLE_RENDER_SUPPORT === true) {\n // TODO needs makeComponentDefinition a helper that returns a curried definition\n // TODO not sure all args are for definition or component\n // likely the controller name should be a arg to create?\n expr = [_wireFormat.Ops.Helper, '-render', params || [], hash];\n\n builder.dynamicComponent(expr, null, null, null, false, null, null);\n return true;\n }\n return false;\n };\n }\n\n function refineInlineSyntax(name, params, hash, builder) {\n false && !!(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 (name.indexOf('-') === -1) {\n return false;\n }\n var handle = builder.compiler['resolver'].lookupComponentDefinition(name, builder.referrer);\n if (handle !== null) {\n builder.component.static(handle, [params === null ? [] : params, hashToArgs(hash), null, null]);\n return true;\n }\n return false;\n }\n function refineBlockSyntax(name, params, hash, template, inverse, builder) {\n if (name.indexOf('-') === -1) {\n return false;\n }\n var handle = builder.compiler['resolver'].lookupComponentDefinition(name, builder.referrer);\n if (handle !== null) {\n wrapComponentClassAttribute(hash);\n builder.component.static(handle, [params, hashToArgs(hash), template, inverse]);\n return true;\n }\n false && !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 false && !!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 return owner.hasRegistration('helper:' + name, { source: 'template:' + moduleName }) || 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'];var _builder$referrer = builder.referrer,\n owner = _builder$referrer.owner,\n moduleName = _builder$referrer.moduleName;\n if (name === 'component' || resolver['builtInHelpers'][name]) {\n return true;\n }return owner.hasRegistration('helper:' + name, { source: 'template:' + moduleName }) || owner.hasRegistration('helper:' + name);\n }());\n\n return false;\n }\n var experimentalMacros = [];\n // 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 function populateMacros(macros) {\n var inlines = macros.inlines,\n blocks = macros.blocks,\n i,\n macro;\n\n inlines.add('outlet', outletMacro);\n if (_deprecatedFeatures.RENDER_HELPER) {\n inlines.add('render', renderMacro);\n }\n inlines.add('mount', mountMacro);\n inlines.add('input', inputMacro);\n inlines.add('textarea', textAreaMacro);\n inlines.addMissing(refineInlineSyntax);\n\n blocks.add('let', blockLetMacro);\n\n blocks.addMissing(refineBlockSyntax);\n for (i = 0; i < experimentalMacros.length; i++) {\n macro = experimentalMacros[i];\n\n macro(blocks, inlines);\n }\n return { blocks: blocks, inlines: inlines };\n }\n\n var getPrototypeOf = Object.getPrototypeOf;\n var MANAGERS = new WeakMap();\n\n function getComponentManager(obj) {\n var pointer = obj;\n while (pointer !== undefined && pointer !== null) {\n if (MANAGERS.has(pointer)) {\n return MANAGERS.get(pointer);\n }\n pointer = getPrototypeOf(pointer);\n }\n }\n\n function instrumentationPayload$1(name) {\n return { object: 'component:' + name };\n }\n function makeOptions(moduleName, namespace) {\n return {\n source: moduleName !== undefined ? 'template:' + moduleName : undefined,\n namespace: namespace\n };\n }\n var BUILTINS_HELPERS = {\n if: function (_vm, _ref23) {\n var positional = _ref23.positional;\n false && !(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\n return ConditionalHelperReference.create(positional.at(0), positional.at(1), positional.at(2));\n },\n action: action,\n concat: function (_vm, args) {\n return new InternalHelperReference(concat, args.capture());\n },\n get: function (_vm, args) {\n return GetHelperReference.create(args.positional.at(0), args.positional.at(1));\n },\n hash: function (_vm, args) {\n return args.named.capture();\n },\n log: function (_vm, args) {\n return new InternalHelperReference(log, args.capture());\n },\n mut: function (_vm, args) {\n var rawRef = args.positional.at(0);\n if (isMut(rawRef)) {\n return rawRef;\n }\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 false && !rawRef[UPDATE] && (0, _debug.assert)('You can only pass a path to mut', rawRef[UPDATE]);\n\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 'query-params': function (_vm, args) {\n return new InternalHelperReference(queryParams, args.capture());\n },\n readonly: function (_vm, args) {\n var ref = unMut(args.positional.at(0));\n return new ReadonlyReference(ref);\n },\n unbound: function (_vm, args) {\n false && !(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\n return UnboundReference.create(args.positional.at(0).value());\n },\n unless: function (_vm, _ref24) {\n var positional = _ref24.positional;\n false && !(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\n return ConditionalHelperReference.create(positional.at(0), positional.at(2), positional.at(1));\n },\n '-class': function (_vm, args) {\n return new InternalHelperReference(classHelper, args.capture());\n },\n '-each-in': function (_vm, args) {\n return new EachInReference(args.positional.at(0));\n },\n '-input-type': function (_vm, args) {\n return new InternalHelperReference(inputTypeHelper, args.capture());\n },\n '-normalize-class': function (_vm, args) {\n return new InternalHelperReference(normalizeClass, args.capture());\n },\n '-html-safe': function (_vm, args) {\n return new InternalHelperReference(htmlSafe$1, args.capture());\n },\n '-get-dynamic-var': _runtime.getDynamicVar,\n '-mount': function (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 '-outlet': function (vm, args) {\n var scope = vm.dynamicScope();\n var nameRef = void 0;\n if (args.positional.length === 0) {\n nameRef = new _reference.ConstReference('main');\n } else {\n nameRef = args.positional.at(0);\n }\n return new OutletComponentReference(new OutletReference(scope.outletState, nameRef));\n }\n };\n if (_deprecatedFeatures.RENDER_HELPER) {\n BUILTINS_HELPERS['-render'] = renderHelper;\n }\n var BUILTIN_MODIFIERS = {\n action: new ActionModifierManager()\n };\n\n var RuntimeResolver = function () {\n function RuntimeResolver() {\n\n this.handles = [undefined];\n this.objToHandle = new WeakMap();\n this.builtInHelpers = BUILTINS_HELPERS;\n this.builtInModifiers = BUILTIN_MODIFIERS;\n // supports directly imported late bound layouts on component.prototype.layout\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 }\n /*** IRuntimeResolver ***/\n /**\n * public componentDefHandleCount = 0;\n * Called while executing Append Op.PushDynamicComponentManager if string\n */\n\n RuntimeResolver.prototype.lookupComponentDefinition = function (name, meta) {\n false && !(name !== 'textarea') && (0, _debug.assert)('You cannot use `textarea` as a component name.', name !== 'textarea');\n false && !(name !== 'input') && (0, _debug.assert)('You cannot use `input` as a component name.', name !== 'input');\n\n var handle = this.lookupComponentHandle(name, meta);\n if (handle === null) {\n false && !false && (0, _debug.assert)('Could not find component named \"' + name + '\" (no component or template with that name was found)');\n\n return null;\n }\n return this.resolve(handle);\n };\n\n RuntimeResolver.prototype.lookupComponentHandle = function (name, meta) {\n var nextHandle = this.handles.length;\n var handle = this.handle(this._lookupComponentDefinition(name, meta));\n if (nextHandle === handle) {\n this.componentDefinitionCount++;\n }\n return handle;\n };\n\n RuntimeResolver.prototype.resolve = function (handle) {\n return this.handles[handle];\n };\n\n RuntimeResolver.prototype.lookupHelper = function (name, meta) {\n var nextHandle = this.handles.length,\n handle;\n var helper$$1 = this._lookupHelper(name, meta);\n if (helper$$1 !== null) {\n handle = this.handle(helper$$1);\n\n if (nextHandle === handle) {\n this.helperDefinitionCount++;\n }\n return handle;\n }\n return null;\n };\n\n RuntimeResolver.prototype.lookupModifier = function (name) {\n return this.handle(this._lookupModifier(name));\n };\n\n RuntimeResolver.prototype.lookupPartial = function (name, meta) {\n var partial = this._lookupPartial(name, meta);\n return this.handle(partial);\n };\n\n RuntimeResolver.prototype.createTemplate = function (factory, owner) {\n var cache = this.templateCache.get(owner),\n compiler,\n injections;\n if (cache === undefined) {\n cache = new Map();\n this.templateCache.set(owner, cache);\n }\n var template = cache.get(factory);\n if (template === undefined) {\n compiler = this.compiler;\n injections = { compiler: compiler };\n\n (0, _emberOwner.setOwner)(injections, owner);\n template = factory.create(injections);\n cache.set(factory, template);\n this.templateCacheMisses++;\n } else {\n this.templateCacheHits++;\n }\n return template;\n };\n\n RuntimeResolver.prototype.handle = function (obj) {\n if (obj === undefined || obj === null) {\n return null;\n }\n var handle = this.objToHandle.get(obj);\n if (handle === undefined) {\n handle = this.handles.push(obj) - 1;\n this.objToHandle.set(obj, handle);\n }\n return handle;\n };\n\n RuntimeResolver.prototype._lookupHelper = function (_name, meta) {\n var helper$$1 = this.builtInHelpers[_name];\n if (helper$$1 !== undefined) {\n return helper$$1;\n }\n var owner = meta.owner,\n moduleName = meta.moduleName;\n\n var name = _name;\n var namespace = undefined;\n\n var options = makeOptions(moduleName, namespace);\n var factory = owner.factoryFor('helper:' + name, options) || owner.factoryFor('helper:' + name);\n if (!isHelperFactory(factory)) {\n return null;\n }\n return function (vm, args) {\n var helper$$1 = factory.create();\n if (isSimpleHelper(helper$$1)) {\n return new SimpleHelperReference(helper$$1.compute, args.capture());\n }\n vm.newDestroyable(helper$$1);\n return ClassBasedHelperReference.create(helper$$1, args.capture());\n };\n };\n\n RuntimeResolver.prototype._lookupPartial = function (name, meta) {\n var template = (0, _emberViews.lookupPartial)(name, meta.owner);\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 RuntimeResolver.prototype._lookupModifier = function (name) {\n return this.builtInModifiers[name];\n };\n\n RuntimeResolver.prototype._parseNameForNamespace = function (_name) {\n var name = _name;\n var namespace = undefined;\n var namespaceDelimiterOffset = _name.indexOf('::');\n if (namespaceDelimiterOffset !== -1) {\n name = _name.slice(namespaceDelimiterOffset + 2);\n namespace = _name.slice(0, namespaceDelimiterOffset);\n }\n return { name: name, namespace: namespace };\n };\n\n RuntimeResolver.prototype._lookupComponentDefinition = function (_name, meta) {\n var name = _name,\n _definition,\n managerId,\n manager,\n _definition2;\n var namespace = undefined;\n\n\n var _lookupComponent2 = (0, _emberViews.lookupComponent)(meta.owner, name, makeOptions(meta.moduleName, namespace)),\n layout = _lookupComponent2.layout,\n component = _lookupComponent2.component;\n\n var key = component === undefined ? layout : component;\n if (key === undefined) {\n return null;\n }\n var cachedComponentDefinition = this.componentDefinitionCache.get(key);\n if (cachedComponentDefinition !== undefined) {\n return cachedComponentDefinition;\n }\n var finalizer = (0, _instrumentation._instrumentStart)('render.getComponentDefinition', instrumentationPayload$1, name);\n if (layout && !component && _emberEnvironment.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n _definition = new TemplateOnlyComponentDefinition(layout);\n\n finalizer();\n this.componentDefinitionCache.set(key, _definition);\n return _definition;\n }\n if (true && component && component.class) {\n managerId = getComponentManager(component.class);\n\n if (managerId) {\n manager = this._lookupComponentManager(meta.owner, managerId);\n\n false && !!!manager && (0, _debug.assert)('Could not find custom component manager \\'' + managerId + '\\' which was specified by ' + component.class, !!manager);\n\n _definition2 = new CustomManagerDefinition(name, component, manager, layout || meta.owner.lookup((0, _container.privatize)(_templateObject)));\n\n finalizer();\n this.componentDefinitionCache.set(key, _definition2);\n return _definition2;\n }\n }\n var definition = layout || component ? new CurlyComponentDefinition(name, component || meta.owner.factoryFor((0, _container.privatize)(_templateObject2)), null, layout // TODO fix type\n ) : null;\n finalizer();\n this.componentDefinitionCache.set(key, definition);\n return definition;\n };\n\n RuntimeResolver.prototype._lookupComponentManager = function (owner, managerId) {\n if (this.customManagerCache.has(managerId)) {\n return this.customManagerCache.get(managerId);\n }\n var delegate = owner.lookup('component-manager:' + managerId);\n this.customManagerCache.set(managerId, delegate);\n return delegate;\n };\n\n return RuntimeResolver;\n }();\n\n // factory for DI\n var TemplateCompiler = {\n create: function () {\n return new RuntimeResolver().compiler;\n }\n };\n\n var ComponentTemplate = template({ \"id\": \"9QlMnd4c\", \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[14,1]],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"packages/ember-glimmer/lib/templates/component.hbs\" } });\n\n var OutletTemplate = template({ \"id\": \"qAsZ1L5U\", \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[21,\\\"outlet\\\"],false]],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"packages/ember-glimmer/lib/templates/outlet.hbs\" } });\n\n var TOP_LEVEL_NAME = '-top-level';\n var TOP_LEVEL_OUTLET = 'main';\n\n var OutletView = function () {\n function OutletView(_environment, renderer, owner, template) {\n\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: { main: undefined },\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 (injections) {\n return function (_OutletView) {\n (0, _emberBabel.inherits)(_class, _OutletView);\n\n function _class() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _OutletView.apply(this, arguments));\n }\n\n _class.create = function (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 OutletView.reopenClass = function (injections) {\n (0, _polyfills.assign)(this, injections);\n };\n\n OutletView.create = function (options) {\n var _environment = options._environment,\n renderer = options.renderer,\n template = options.template;\n\n var owner = options[_emberOwner.OWNER];\n return new OutletView(_environment, renderer, owner, template);\n };\n\n OutletView.prototype.appendTo = function (selector) {\n var target = void 0;\n if (this._environment.hasDOM) {\n target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n } else {\n target = selector;\n }\n (0, _runloop.schedule)('render', this.renderer, 'appendOutletView', this, target);\n };\n\n OutletView.prototype.rerender = function () {\n /**/\n };\n\n OutletView.prototype.setOutletState = function (state) {\n this.ref.update(state);\n };\n\n OutletView.prototype.destroy = function () {\n /**/\n };\n\n return OutletView;\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/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 exports.RootTemplate = RootTemplate;\n exports.template = template;\n exports.Checkbox = Checkbox;\n exports.TextField = TextField;\n exports.TextArea = TextArea;\n exports.LinkComponent = LinkComponent;\n exports.Component = Component;\n exports.ROOT_REF = ROOT_REF;\n exports.Helper = Helper;\n exports.helper = helper;\n exports.Environment = Environment$1;\n exports.SafeString = SafeString;\n exports.escapeExpression = function (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 + '';\n }\n // Force a string conversion as this will be done by the append regardless and\n // the regex test will do this transparently behind the scenes, causing issues if\n // an object's to string has escaped characters in it.\n string = '' + string;\n }\n if (!possible.test(string)) {\n return string;\n }\n return string.replace(badChars, escapeChar);\n };\n exports.htmlSafe = htmlSafe;\n exports.isHTMLSafe = isHTMLSafe;\n exports.Renderer = Renderer;\n exports.InertRenderer = InertRenderer;\n exports.InteractiveRenderer = InteractiveRenderer;\n exports._resetRenderers = function () {\n renderers.length = 0;\n };\n exports.renderSettled = renderSettled;\n exports.getTemplate = getTemplate;\n exports.setTemplate = setTemplate;\n exports.hasTemplate = hasTemplate;\n exports.getTemplates = getTemplates;\n exports.setTemplates = function (templates) {\n TEMPLATES = templates;\n };\n exports.setupEngineRegistry = function (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)(_templateObject), ComponentTemplate);\n registry.register('service:-glimmer-environment', Environment$1);\n registry.register((0, _container.privatize)(_templateObject4), TemplateCompiler);\n registry.injection('template', 'compiler', (0, _container.privatize)(_templateObject4));\n registry.optionsForType('helper', { instantiate: false });\n registry.register('helper:loc', loc$1);\n registry.register('component:-text-field', TextField);\n registry.register('component:-text-area', TextArea);\n registry.register('component:-checkbox', Checkbox);\n registry.register('component:link-to', LinkComponent);\n if (!_emberEnvironment.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n registry.register((0, _container.privatize)(_templateObject2), Component);\n }\n };\n exports.setupApplicationRegistry = function (registry) {\n registry.injection('service:-glimmer-environment', 'appendOperations', 'service:-dom-tree-construction');\n registry.injection('renderer', 'env', 'service:-glimmer-environment');\n // because we are using injections we can't use instantiate false\n // we need to use bind() to copy the function so factory for\n // association won't leak\n registry.register('service:-dom-builder', {\n create: function (_ref34) {\n var bootOptions = _ref34.bootOptions;\n var _renderMode = bootOptions._renderMode;\n\n switch (_renderMode) {\n case 'serialize':\n return _node.serializeBuilder.bind(null);\n case 'rehydrate':\n return _runtime.rehydrationBuilder.bind(null);\n default:\n return _runtime.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)(_templateObject3), RootTemplate);\n registry.injection('renderer', 'rootTemplate', (0, _container.privatize)(_templateObject3));\n registry.register('renderer:-dom', InteractiveRenderer);\n registry.register('renderer:-inert', InertRenderer);\n if (_emberBrowserEnvironment.hasDOM) {\n registry.injection('service:-glimmer-environment', 'updateOperations', 'service:-dom-changes');\n }\n registry.register('service:-dom-changes', {\n create: function (_ref35) {\n var document = _ref35.document;\n\n return new _runtime.DOMChanges(document);\n }\n });\n registry.register('service:-dom-tree-construction', {\n create: function (_ref36) {\n var document = _ref36.document;\n\n var Implementation = _emberBrowserEnvironment.hasDOM ? _runtime.DOMTreeConstruction : _node.NodeDOMTreeConstruction;\n return new Implementation(document);\n }\n });\n };\n exports._registerMacros = function (macro) {\n experimentalMacros.push(macro);\n };\n exports._experimentalMacros = experimentalMacros;\n exports.AbstractComponentManager = AbstractManager;\n exports.UpdatableReference = UpdatableReference;\n exports.INVOKE = INVOKE;\n exports.iterableFor = _iterableFor;\n exports.DebugStack = void 0;\n exports.OutletView = OutletView;\n exports.capabilities = function (managerAPI) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n false && !(managerAPI === '3.4') && (0, _debug.assert)('Invalid component manager compatibility specified', managerAPI === '3.4');\n\n return {\n asyncLifeCycleCallbacks: !!options.asyncLifecycleCallbacks,\n destructor: !!options.destructor\n };\n };\n exports.setComponentManager = function (managerId, obj) {\n MANAGERS.set(obj, managerId);\n return obj;\n };\n exports.getComponentManager = getComponentManager;\n});","enifed('ember-meta/index', ['exports', 'ember-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, 'descriptorFor', {\n enumerable: true,\n get: function () {\n return _meta.descriptorFor;\n }\n });\n Object.defineProperty(exports, 'isDescriptor', {\n enumerable: true,\n get: function () {\n return _meta.isDescriptor;\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-meta/lib/meta', ['exports', 'ember-babel', '@ember/debug', '@ember/deprecated-features', 'ember-environment', 'ember-utils'], function (exports, _emberBabel, _debug, _deprecatedFeatures, _emberEnvironment, _emberUtils) {\n 'use strict';\n\n exports.counters = exports.meta = exports.Meta = exports.UNDEFINED = undefined;\n exports.setMeta = setMeta;\n exports.peekMeta = peekMeta;\n exports.deleteMeta =\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 function (obj) {\n false && !(obj !== null) && (0, _debug.assert)('Cannot call `deleteMeta` on null', obj !== null);\n false && !(obj !== undefined) && (0, _debug.assert)('Cannot call `deleteMeta` on undefined', obj !== undefined);\n false && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)('Cannot call `deleteMeta` on ' + typeof obj, typeof obj === 'object' || typeof obj === 'function');\n\n var meta = peekMeta(obj);\n if (meta !== undefined) {\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 exports.descriptorFor =\n /**\n Returns the CP descriptor assocaited with `obj` and `keyName`, if any.\n \n @method descriptorFor\n @param {Object} obj the object to check\n @param {String} keyName the key to check\n @return {Descriptor}\n @private\n */\n function (obj, keyName, _meta) {\n false && !(obj !== null) && (0, _debug.assert)('Cannot call `descriptorFor` on null', obj !== null);\n false && !(obj !== undefined) && (0, _debug.assert)('Cannot call `descriptorFor` on undefined', obj !== undefined);\n false && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)('Cannot call `descriptorFor` on ' + typeof obj, typeof obj === 'object' || typeof obj === 'function');\n\n var meta = _meta === undefined ? peekMeta(obj) : _meta;\n if (meta !== undefined) {\n return meta.peekDescriptors(keyName);\n }\n }\n /**\n Check whether a value is a CP descriptor.\n \n @method descriptorFor\n @param {any} possibleDesc the value to check\n @return {boolean}\n @private\n */\n ;\n exports.isDescriptor = function (possibleDesc) {\n // TODO make this return `possibleDesc is Descriptor`\n return possibleDesc !== undefined && possibleDesc !== null && typeof possibleDesc === 'object' && possibleDesc.isDescriptor === true;\n };\n\n var objectPrototype = Object.prototype;\n\n /**\n @module ember\n */\n var UNDEFINED = exports.UNDEFINED = (0, _emberUtils.symbol)('undefined');\n // FLAGS\n var SOURCE_DESTROYING = 1 << 1;\n var SOURCE_DESTROYED = 1 << 2;\n var META_DESTROYED = 1 << 3;\n\n var Meta = exports.Meta = function () {\n function Meta(obj) {\n this._parent = undefined;\n this._descriptors = undefined;\n this._watching = undefined;\n this._mixins = undefined;\n if (_deprecatedFeatures.BINDING_SUPPORT && _emberEnvironment.ENV._ENABLE_BINDING_SUPPORT) {\n this._bindings = undefined;\n }\n this._deps = undefined;\n this._chainWatchers = undefined;\n this._chains = undefined;\n this._tag = undefined;\n this._tags = undefined;\n // initial value for all flags right now is false\n // see FLAGS const for detailed list of flags used\n this._flags = 0;\n // used only internally\n this.source = obj;\n // when meta(obj).proto === obj, the object is intended to be only a\n // prototype and doesn't need to actually be observable itself\n this.proto = obj.constructor === undefined ? undefined : obj.constructor.prototype;\n this._listeners = undefined;\n this._listenersFinalized = false;\n }\n\n Meta.prototype.isInitialized = function (obj) {\n return this.proto !== obj;\n };\n\n Meta.prototype.destroy = function () {\n if (this.isMetaDestroyed()) {\n return;\n }\n this.setMetaDestroyed();\n // remove chainWatchers to remove circular references that would prevent GC\n var chains = this.readableChains();\n if (chains !== undefined) {\n chains.destroy();\n }\n };\n\n Meta.prototype.isSourceDestroying = function () {\n return this._hasFlag(SOURCE_DESTROYING);\n };\n\n Meta.prototype.setSourceDestroying = function () {\n this._flags |= SOURCE_DESTROYING;\n };\n\n Meta.prototype.isSourceDestroyed = function () {\n return this._hasFlag(SOURCE_DESTROYED);\n };\n\n Meta.prototype.setSourceDestroyed = function () {\n this._flags |= SOURCE_DESTROYED;\n };\n\n Meta.prototype.isMetaDestroyed = function () {\n return this._hasFlag(META_DESTROYED);\n };\n\n Meta.prototype.setMetaDestroyed = function () {\n this._flags |= META_DESTROYED;\n };\n\n Meta.prototype._hasFlag = function (flag) {\n return (this._flags & flag) === flag;\n };\n\n Meta.prototype._getOrCreateOwnMap = function (key) {\n return this[key] || (this[key] = Object.create(null));\n };\n\n Meta.prototype._getOrCreateOwnSet = function (key) {\n return this[key] || (this[key] = new Set());\n };\n\n Meta.prototype._findInherited1 = function (key) {\n var pointer = this,\n map;\n while (pointer !== null) {\n map = pointer[key];\n\n if (map !== undefined) {\n return map;\n }\n pointer = pointer.parent;\n }\n };\n\n Meta.prototype._findInherited2 = function (key, subkey) {\n var pointer = this,\n map,\n value;\n while (pointer !== null) {\n map = pointer[key];\n\n if (map !== undefined) {\n value = map[subkey];\n\n if (value !== undefined) {\n return value;\n }\n }\n pointer = pointer.parent;\n }\n };\n\n Meta.prototype._findInherited3 = function (key, subkey, subsubkey) {\n var pointer = this,\n map,\n submap,\n value;\n while (pointer !== null) {\n map = pointer[key];\n\n if (map !== undefined) {\n submap = map[subkey];\n\n if (submap !== undefined) {\n value = submap[subsubkey];\n\n if (value !== undefined) {\n return value;\n }\n }\n }\n pointer = pointer.parent;\n }\n };\n\n Meta.prototype._hasInInheritedSet = function (key, value) {\n var pointer = this,\n set;\n while (pointer !== null) {\n set = pointer[key];\n\n if (set !== undefined && set.has(value)) {\n return true;\n }\n pointer = pointer.parent;\n }\n return false;\n };\n // Implements a member that provides a lazily created map of maps,\n // with inheritance at both levels.\n\n\n Meta.prototype.writeDeps = function (subkey, itemkey, count) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? 'Cannot modify dependent keys for `' + itemkey + '` on `' + (0, _emberUtils.toString)(this.source) + '` after it has been destroyed.' : '', !this.isMetaDestroyed());\n\n var outerMap = this._getOrCreateOwnMap('_deps');\n var innerMap = outerMap[subkey];\n if (innerMap === undefined) {\n innerMap = outerMap[subkey] = Object.create(null);\n }\n innerMap[itemkey] = count;\n };\n\n Meta.prototype.peekDeps = function (subkey, itemkey) {\n var val = this._findInherited3('_deps', subkey, itemkey);\n return val === undefined ? 0 : val;\n };\n\n Meta.prototype.hasDeps = function (subkey) {\n var val = this._findInherited2('_deps', subkey);\n return val !== undefined;\n };\n\n Meta.prototype.forEachInDeps = function (subkey, fn) {\n var pointer = this,\n map,\n innerMap,\n i;\n var seen = void 0;\n var calls = void 0;\n while (pointer !== null) {\n map = pointer._deps;\n\n if (map !== undefined) {\n innerMap = map[subkey];\n\n if (innerMap !== undefined) {\n for (var innerKey in innerMap) {\n seen = seen === undefined ? new Set() : seen;\n if (!seen.has(innerKey)) {\n seen.add(innerKey);\n if (innerMap[innerKey] > 0) {\n calls = calls || [];\n calls.push(innerKey);\n }\n }\n }\n }\n }\n pointer = pointer.parent;\n }\n if (calls !== undefined) {\n for (i = 0; i < calls.length; i++) {\n fn(calls[i]);\n }\n }\n };\n\n Meta.prototype.writableTags = function () {\n return this._getOrCreateOwnMap('_tags');\n };\n\n Meta.prototype.readableTags = function () {\n return this._tags;\n };\n\n Meta.prototype.writableTag = function (create) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? 'Cannot create a new tag for `' + (0, _emberUtils.toString)(this.source) + '` after it has been destroyed.' : '', !this.isMetaDestroyed());\n\n var ret = this._tag;\n if (ret === undefined) {\n ret = this._tag = create(this.source);\n }\n return ret;\n };\n\n Meta.prototype.readableTag = function () {\n return this._tag;\n };\n\n Meta.prototype.writableChainWatchers = function (create) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? 'Cannot create a new chain watcher for `' + (0, _emberUtils.toString)(this.source) + '` after it has been destroyed.' : '', !this.isMetaDestroyed());\n\n var ret = this._chainWatchers;\n if (ret === undefined) {\n ret = this._chainWatchers = create(this.source);\n }\n return ret;\n };\n\n Meta.prototype.readableChainWatchers = function () {\n return this._chainWatchers;\n };\n\n Meta.prototype.writableChains = function (create) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? 'Cannot create a new chains for `' + (0, _emberUtils.toString)(this.source) + '` after it has been destroyed.' : '', !this.isMetaDestroyed());\n var ret = this._chains,\n parent,\n parentChains;\n\n if (ret === undefined) {\n this._chains = ret = create(this.source);\n parent = this.parent;\n\n\n if (parent !== null) {\n parentChains = parent.writableChains(create);\n\n parentChains.copyTo(ret);\n }\n }\n return ret;\n };\n\n Meta.prototype.readableChains = function () {\n return this._findInherited1('_chains');\n };\n\n Meta.prototype.writeWatching = function (subkey, value) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? 'Cannot update watchers for `' + subkey + '` on `' + (0, _emberUtils.toString)(this.source) + '` after it has been destroyed.' : '', !this.isMetaDestroyed());\n\n var map = this._getOrCreateOwnMap('_watching');\n map[subkey] = value;\n };\n\n Meta.prototype.peekWatching = function (subkey) {\n var count = this._findInherited2('_watching', subkey);\n return count === undefined ? 0 : count;\n };\n\n Meta.prototype.addMixin = function (mixin) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? 'Cannot add mixins of `' + (0, _emberUtils.toString)(mixin) + '` on `' + (0, _emberUtils.toString)(this.source) + '` call addMixin after it has been destroyed.' : '', !this.isMetaDestroyed());\n\n var set = this._getOrCreateOwnSet('_mixins');\n set.add(mixin);\n };\n\n Meta.prototype.hasMixin = function (mixin) {\n return this._hasInInheritedSet('_mixins', mixin);\n };\n\n Meta.prototype.forEachMixins = function (fn) {\n var pointer = this,\n set;\n var seen = void 0;\n while (pointer !== null) {\n set = pointer._mixins;\n\n if (set !== undefined) {\n seen = seen === undefined ? new Set() : seen;\n // TODO cleanup typing here\n set.forEach(function (mixin) {\n if (!seen.has(mixin)) {\n seen.add(mixin);\n fn(mixin);\n }\n });\n }\n pointer = pointer.parent;\n }\n };\n\n Meta.prototype.writeDescriptors = function (subkey, value) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? 'Cannot update descriptors for `' + subkey + '` on `' + (0, _emberUtils.toString)(this.source) + '` after it has been destroyed.' : '', !this.isMetaDestroyed());\n\n var map = this._getOrCreateOwnMap('_descriptors');\n map[subkey] = value;\n };\n\n Meta.prototype.peekDescriptors = function (subkey) {\n var possibleDesc = this._findInherited2('_descriptors', subkey);\n return possibleDesc === UNDEFINED ? undefined : possibleDesc;\n };\n\n Meta.prototype.removeDescriptors = function (subkey) {\n this.writeDescriptors(subkey, UNDEFINED);\n };\n\n Meta.prototype.forEachDescriptors = function (fn) {\n var pointer = this,\n map,\n value;\n var seen = void 0;\n while (pointer !== null) {\n map = pointer._descriptors;\n\n if (map !== undefined) {\n for (var key in map) {\n seen = seen === undefined ? new Set() : seen;\n if (!seen.has(key)) {\n seen.add(key);\n value = map[key];\n\n if (value !== UNDEFINED) {\n fn(key, value);\n }\n }\n }\n }\n pointer = pointer.parent;\n }\n };\n\n Meta.prototype.addToListeners = function (eventName, target, method, once) {\n if (this._listeners === undefined) {\n this._listeners = [];\n }\n this._listeners.push(eventName, target, method, once);\n };\n\n Meta.prototype._finalizeListeners = function () {\n if (this._listenersFinalized) {\n return;\n }\n if (this._listeners === undefined) {\n this._listeners = [];\n }\n var pointer = this.parent,\n listeners;\n while (pointer !== null) {\n listeners = pointer._listeners;\n\n if (listeners !== undefined) {\n this._listeners = this._listeners.concat(listeners);\n }\n if (pointer._listenersFinalized) {\n break;\n }\n pointer = pointer.parent;\n }\n this._listenersFinalized = true;\n };\n\n Meta.prototype.removeFromListeners = function (eventName, target, method) {\n var pointer = this,\n listeners,\n index;\n while (pointer !== null) {\n listeners = pointer._listeners;\n\n if (listeners !== undefined) {\n for (index = listeners.length - 4; index >= 0; index -= 4) {\n if (listeners[index] === eventName && (!method || listeners[index + 1] === target && listeners[index + 2] === method)) {\n if (pointer === this) {\n listeners.splice(index, 4); // we are modifying our own list, so we edit directly\n } else {\n // we are trying to remove an inherited listener, so we do\n // just-in-time copying to detach our own listeners from\n // our inheritance chain.\n this._finalizeListeners();\n return this.removeFromListeners(eventName, target, method);\n }\n }\n }\n }\n if (pointer._listenersFinalized) {\n break;\n }\n pointer = pointer.parent;\n }\n };\n\n Meta.prototype.matchingListeners = function (eventName) {\n var pointer = this,\n listeners,\n index;\n // fix type\n var result = void 0;\n while (pointer !== null) {\n listeners = pointer._listeners;\n\n if (listeners !== undefined) {\n for (index = 0; index < listeners.length; index += 4) {\n if (listeners[index] === eventName) {\n result = result || [];\n pushUniqueListener(result, listeners, index);\n }\n }\n }\n if (pointer._listenersFinalized) {\n break;\n }\n pointer = pointer.parent;\n }\n return result;\n };\n\n (0, _emberBabel.createClass)(Meta, [{\n key: 'parent',\n get: function () {\n var parent = this._parent,\n proto;\n if (parent === undefined) {\n proto = getPrototypeOf(this.source);\n\n this._parent = parent = proto === null || proto === objectPrototype ? null : meta(proto);\n }\n return parent;\n }\n }]);\n return Meta;\n }();\n\n if (_deprecatedFeatures.BINDING_SUPPORT && _emberEnvironment.ENV._ENABLE_BINDING_SUPPORT) {\n Meta.prototype.writeBindings = function (subkey, value) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? 'Cannot add a binding for `' + subkey + '` on `' + (0, _emberUtils.toString)(this.source) + '` after it has been destroyed.' : '', !this.isMetaDestroyed());\n\n var map = this._getOrCreateOwnMap('_bindings');\n map[subkey] = value;\n };\n Meta.prototype.peekBindings = function (subkey) {\n return this._findInherited2('_bindings', subkey);\n };\n Meta.prototype.forEachBindings = function (fn) {\n var pointer = this,\n map;\n var seen = void 0;\n while (pointer !== null) {\n map = pointer._bindings;\n\n if (map !== undefined) {\n for (var key in map) {\n // cleanup typing\n seen = seen === undefined ? Object.create(null) : seen;\n if (seen[key] === undefined) {\n seen[key] = true;\n fn(key, map[key]);\n }\n }\n }\n pointer = pointer.parent;\n }\n };\n Meta.prototype.clearBindings = function () {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? 'Cannot clear bindings on `' + (0, _emberUtils.toString)(this.source) + '` after it has been destroyed.' : '', !this.isMetaDestroyed());\n\n this._bindings = undefined;\n };\n }\n\n var getPrototypeOf = Object.getPrototypeOf;\n var metaStore = new WeakMap();\n function setMeta(obj, meta) {\n false && !(obj !== null) && (0, _debug.assert)('Cannot call `setMeta` on null', obj !== null);\n false && !(obj !== undefined) && (0, _debug.assert)('Cannot call `setMeta` on undefined', obj !== undefined);\n false && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)('Cannot call `setMeta` on ' + typeof obj, typeof obj === 'object' || typeof obj === 'function');\n\n metaStore.set(obj, meta);\n }\n function peekMeta(obj) {\n false && !(obj !== null) && (0, _debug.assert)('Cannot call `peekMeta` on null', obj !== null);\n false && !(obj !== undefined) && (0, _debug.assert)('Cannot call `peekMeta` on undefined', obj !== undefined);\n false && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)('Cannot call `peekMeta` on ' + typeof obj, typeof obj === 'object' || typeof obj === 'function');\n\n var pointer = obj;\n var meta = void 0;\n while (pointer !== undefined && pointer !== null) {\n meta = metaStore.get(pointer);\n // jshint loopfunc:true\n\n if (meta !== undefined) {\n return meta;\n }\n pointer = getPrototypeOf(pointer);\n }\n }var meta = exports.meta = function (obj) {\n false && !(obj !== null) && (0, _debug.assert)('Cannot call `meta` on null', obj !== null);\n false && !(obj !== undefined) && (0, _debug.assert)('Cannot call `meta` on undefined', obj !== undefined);\n false && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)('Cannot call `meta` on ' + typeof obj, typeof obj === 'object' || typeof obj === 'function');\n\n var maybeMeta = peekMeta(obj);\n // remove this code, in-favor of explicit parent\n if (maybeMeta !== undefined && maybeMeta.source === obj) {\n return maybeMeta;\n }\n var newMeta = new Meta(obj);\n setMeta(obj, newMeta);\n return newMeta;\n };\n exports.counters = void 0;\n\n /*\n When we render a rich template hierarchy, the set of events that\n *might* happen tends to be much larger than the set of events that\n actually happen. This implies that we should make listener creation &\n destruction cheap, even at the cost of making event dispatch more\n expensive.\n \n Thus we store a new listener with a single push and no new\n allocations, without even bothering to do deduplication -- we can\n save that for dispatch time, if an event actually happens.\n */\n function pushUniqueListener(destination, source, index) {\n var target = source[index + 1],\n destinationIndex;\n var method = source[index + 2];\n for (destinationIndex = 0; destinationIndex < destination.length; destinationIndex += 3) {\n if (destination[destinationIndex] === target && destination[destinationIndex + 1] === method) {\n return;\n }\n }\n destination.push(target, method, source[index + 3]);\n }\n});","enifed('ember-metal', ['exports', 'ember-babel', '@ember/polyfills', 'ember-utils', '@ember/debug', '@ember/deprecated-features', 'ember-environment', 'ember-meta', '@ember/runloop', '@glimmer/reference', '@ember/error', 'ember/version', 'ember-owner'], function (exports, _emberBabel, _polyfills, _emberUtils, _debug, _deprecatedFeatures, _emberEnvironment, _emberMeta, _runloop, _reference, _error, _version, _emberOwner) {\n 'use strict';\n\n exports.setNamespaceSearchDisabled = exports.isNamespaceSearchDisabled = exports.removeNamespace = exports.processAllNamespaces = exports.processNamespace = exports.findNamespaces = exports.findNamespace = exports.classToString = exports.addNamespace = exports.NAMESPACES_BY_ID = exports.NAMESPACES = exports.tracked = exports.descriptor = exports.assertNotRendered = exports.didRender = exports.runInTransaction = exports.markObjectAsDirty = exports.tagFor = exports.tagForProperty = exports.setHasViews = exports.InjectedProperty = exports.applyMixin = exports.observer = exports.mixin = exports.aliasMethod = exports.Mixin = exports.removeObserver = exports.addObserver = exports.expandProperties = exports.setProperties = exports.getProperties = exports.Libraries = exports.libraries = exports.watcherCount = exports.watch = exports.unwatch = exports.isWatching = exports.unwatchPath = exports.watchPath = exports.removeChainWatcher = exports.finishChains = exports.ChainNode = exports.unwatchKey = exports.watchKey = exports.Descriptor = exports.defineProperty = exports.PROPERTY_DID_CHANGE = exports.propertyWillChange = exports.propertyDidChange = exports.overrideChains = exports.notifyPropertyChange = exports.endPropertyChanges = exports.changeProperties = exports.beginPropertyChanges = exports.isPresent = exports.isBlank = exports.isEmpty = exports.isNone = exports.sendEvent = exports.removeListener = exports.on = exports.hasListeners = exports.addListener = exports.eachProxyArrayDidChange = exports.eachProxyArrayWillChange = exports.eachProxyFor = exports.arrayContentDidChange = exports.arrayContentWillChange = exports.removeArrayObserver = exports.addArrayObserver = exports.replaceInNativeArray = exports.replace = exports.objectAt = exports.trySet = exports.set = exports.getWithDefault = exports.get = exports._getPath = exports.PROXY_CONTENT = exports.deprecateProperty = exports.alias = exports.peekCacheFor = exports.getCachedValueFor = exports.getCacheFor = exports._globalsComputed = exports.ComputedProperty = exports.computed = undefined;\n\n var COMPUTED_PROPERTY_CACHED_VALUES = new WeakMap();\n 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 if (cache === undefined) {\n cache = new Map();\n\n COMPUTED_PROPERTY_CACHED_VALUES.set(obj, cache);\n }\n return cache;\n }\n function getCachedValueFor(obj, key) {\n var cache = COMPUTED_PROPERTY_CACHED_VALUES.get(obj);\n if (cache !== undefined) {\n return cache.get(key);\n }\n }\n\n function peekCacheFor(obj) {\n return COMPUTED_PROPERTY_CACHED_VALUES.get(obj);\n }\n\n var firstDotIndexCache = new _emberUtils.Cache(1000, function (key) {\n return key.indexOf('.');\n });\n function isPath(path) {\n return typeof path === 'string' && firstDotIndexCache.get(path) !== -1;\n }\n\n function changeEvent(keyName) {\n return keyName + ':change';\n }\n\n /**\n @module @ember/object\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 Add an event listener\n \n @method addListener\n @static\n @for @ember/object/events\n @param obj\n @param {String} eventName\n @param {Object|Function} target A target object or a function\n @param {Function|String} method A function or the name of a function to be called on `target`\n @param {Boolean} once A flag whether a function should only be called once\n @public\n */\n function addListener(obj, eventName, target, method, once) {\n false && !(!!obj && !!eventName) && (0, _debug.assert)('You must pass at least an object and event name to addListener', !!obj && !!eventName);\n\n if (_deprecatedFeatures.DID_INIT_ATTRS && _emberEnvironment.ENV._ENABLE_DID_INIT_ATTRS_SUPPORT === true) {\n false && !(eventName !== 'didInitAttrs') && (0, _debug.deprecate)('didInitAttrs called in ' + (obj && obj.toString && obj.toString()) + '.', eventName !== 'didInitAttrs', {\n id: 'ember-views.did-init-attrs',\n until: '3.0.0',\n url: 'https://emberjs.com/deprecations/v2.x#toc_ember-component-didinitattrs'\n });\n } else {\n false && !(eventName !== 'didInitAttrs') && (0, _debug.assert)('didInitAttrs called in ' + (obj && obj.toString && obj.toString()) + ' is no longer supported.', eventName !== 'didInitAttrs');\n }\n if (!method && 'function' === typeof target) {\n method = target;\n target = null;\n }\n (0, _emberMeta.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 function removeListener(obj, eventName, target, method) {\n false && !(!!obj && !!eventName) && (0, _debug.assert)('You must pass at least an object and event name to removeListener', !!obj && !!eventName);\n\n if (!method && 'function' === typeof target) {\n method = target;\n target = null;\n }\n (0, _emberMeta.meta)(obj).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 true\n @public\n */\n function sendEvent(obj, eventName, params, actions, _meta) {\n var meta$$1, i, target, method, once;\n\n if (actions === undefined) {\n meta$$1 = _meta === undefined ? (0, _emberMeta.peekMeta)(obj) : _meta;\n\n actions = typeof meta$$1 === 'object' && meta$$1 !== null && meta$$1.matchingListeners(eventName);\n }\n if (actions === undefined || actions.length === 0) {\n return false;\n }\n for (i = actions.length - 3; i >= 0; i -= 3) {\n // looping in reverse for once listeners\n target = actions[i];\n method = actions[i + 1];\n once = actions[i + 2];\n\n if (!method) {\n continue;\n }\n if (once) {\n removeListener(obj, eventName, target, method);\n }\n if (!target) {\n target = obj;\n }\n if ('string' === typeof method) {\n method = target[method];\n }\n method.apply(target, params);\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 */\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 func\n @public\n */\n\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 var ObserverSet = function () {\n function ObserverSet() {\n\n this.added = new Map();\n this.queue = [];\n }\n\n ObserverSet.prototype.add = function (object, key, event) {\n var keys = this.added.get(object);\n if (keys === undefined) {\n keys = new Set();\n this.added.set(object, keys);\n }\n if (!keys.has(key)) {\n this.queue.push(object, key, event);\n keys.add(key);\n }\n };\n\n ObserverSet.prototype.flush = function () {\n // The queue is saved off to support nested flushes.\n var queue = this.queue,\n i,\n object,\n key,\n event;\n this.added.clear();\n this.queue = [];\n for (i = 0; i < queue.length; i += 3) {\n object = queue[i];\n key = queue[i + 1];\n event = queue[i + 2];\n\n if (object.isDestroying || object.isDestroyed) {\n continue;\n }\n sendEvent(object, event, [object, key]);\n }\n };\n\n return ObserverSet;\n }();\n\n var hasViews = function () {\n return false;\n };\n\n function makeTag() {\n return _reference.DirtyableTag.create();\n }\n function tagForProperty(object, propertyKey, _meta) {\n if (typeof object !== 'object' || object === null) {\n return _reference.CONSTANT_TAG;\n }\n var meta$$1 = _meta === undefined ? (0, _emberMeta.meta)(object) : _meta;\n if ((0, _emberUtils.isProxy)(object)) {\n return tagFor(object, meta$$1);\n }\n var tags = meta$$1.writableTags();\n var tag = tags[propertyKey];\n if (tag) {\n return tag;\n }\n\n return tags[propertyKey] = makeTag();\n }\n function tagFor(object, _meta) {\n var meta$$1;\n\n if (typeof object === 'object' && object !== null) {\n meta$$1 = _meta === undefined ? (0, _emberMeta.meta)(object) : _meta;\n\n return meta$$1.writableTag(makeTag);\n } else {\n return _reference.CONSTANT_TAG;\n }\n }\n var dirty = void 0;\n\n dirty = function (tag) {\n tag.inner.dirty();\n };\n\n function markObjectAsDirty(obj, propertyKey, meta$$1) {\n var objectTag = meta$$1.readableTag();\n if (objectTag !== undefined) {\n if ((0, _emberUtils.isProxy)(obj)) {\n objectTag.inner.first.inner.dirty();\n } else {\n objectTag.inner.dirty();\n }\n }\n var tags = meta$$1.readableTags();\n var propertyTag = tags !== undefined ? tags[propertyKey] : undefined;\n if (propertyTag !== undefined) {\n dirty(propertyTag);\n }\n if (objectTag !== undefined || propertyTag !== undefined) {\n ensureRunloop();\n }\n }\n function ensureRunloop() {\n if (hasViews()) {\n _runloop.backburner.ensureInstance();\n }\n }\n\n var runInTransaction = void 0;\n\n // in production do nothing to detect reflushes\n\n // detect-backtracking-rerender by default is debug build only\n exports.runInTransaction = runInTransaction = function (context$$1, methodName) {\n context$$1[methodName]();\n return false;\n };\n\n\n /**\n @module ember\n @private\n */\n var PROPERTY_DID_CHANGE$1 = (0, _emberUtils.symbol)('PROPERTY_DID_CHANGE');\n var observerSet = new ObserverSet();\n var deferred = 0;\n // ..........................................................\n // PROPERTY CHANGES\n //\n /**\n @method propertyWillChange\n @for Ember\n @private\n */\n var propertyWillChange = void 0;\n if (_deprecatedFeatures.PROPERTY_WILL_CHANGE) {\n exports.propertyWillChange = propertyWillChange = function () {\n false && !false && (0, _debug.deprecate)('\\'propertyWillChange\\' is deprecated and has no effect. It is safe to remove this call.', false, {\n id: 'ember-metal.deprecate-propertyWillChange',\n until: '3.5.0',\n url: 'https://emberjs.com/deprecations/v3.x/#toc_use-notifypropertychange-instead-of-propertywillchange-and-propertydidchange'\n });\n };\n }\n /**\n @method propertyDidChange\n @for Ember\n @private\n */\n var propertyDidChange = void 0;\n if (_deprecatedFeatures.PROPERTY_DID_CHANGE) {\n exports.propertyDidChange = propertyDidChange = function (obj, keyName, _meta) {\n false && !false && (0, _debug.deprecate)('\\'propertyDidChange\\' is deprecated in favor of \\'notifyPropertyChange\\'. It is safe to change this call to \\'notifyPropertyChange\\'.', false, {\n id: 'ember-metal.deprecate-propertyDidChange',\n until: '3.5.0',\n url: 'https://emberjs.com/deprecations/v3.x/#toc_use-notifypropertychange-instead-of-propertywillchange-and-propertydidchange'\n });\n\n notifyPropertyChange(obj, keyName, _meta);\n };\n }\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\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 @public\n */\n function notifyPropertyChange(obj, keyName, _meta) {\n var meta$$1 = _meta === undefined ? (0, _emberMeta.peekMeta)(obj) : _meta;\n var hasMeta = meta$$1 !== undefined;\n if (hasMeta && !meta$$1.isInitialized(obj)) {\n return;\n }\n var possibleDesc = (0, _emberMeta.descriptorFor)(obj, keyName, meta$$1);\n if (possibleDesc !== undefined && typeof possibleDesc.didChange === 'function') {\n possibleDesc.didChange(obj, keyName);\n }\n if (hasMeta && 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 if (PROPERTY_DID_CHANGE$1 in obj) {\n obj[PROPERTY_DID_CHANGE$1](keyName);\n }\n if (hasMeta) {\n if (meta$$1.isSourceDestroying()) {\n return;\n }\n markObjectAsDirty(obj, keyName, meta$$1);\n }\n }\n var SEEN_MAP = new Map();\n var IS_TOP_SEEN_MAP = true;\n // called whenever a property has just changed to update dependent keys\n function dependentKeysDidChange(obj, depKey, meta$$1) {\n if (meta$$1.isSourceDestroying() || !meta$$1.hasDeps(depKey)) {\n return;\n }\n\n var isTop = IS_TOP_SEEN_MAP;\n if (isTop) {\n IS_TOP_SEEN_MAP = false;\n }\n iterDeps(notifyPropertyChange, obj, depKey, SEEN_MAP, meta$$1);\n if (isTop) {\n SEEN_MAP.clear();\n IS_TOP_SEEN_MAP = true;\n }\n }\n function iterDeps(method, obj, depKey, seen, meta$$1) {\n var current = seen.get(obj);\n if (current === undefined) {\n current = new Set();\n seen.set(obj, current);\n }\n if (current.has(depKey)) {\n return;\n }\n var possibleDesc = void 0;\n meta$$1.forEachInDeps(depKey, function (key) {\n possibleDesc = (0, _emberMeta.descriptorFor)(obj, key, meta$$1);\n if (possibleDesc !== undefined && possibleDesc._suspended === obj) {\n return;\n }\n method(obj, key, meta$$1);\n });\n }\n function chainsDidChange(_obj, keyName, meta$$1) {\n var chainWatchers = meta$$1.readableChainWatchers();\n if (chainWatchers !== undefined) {\n chainWatchers.notify(keyName, true, notifyPropertyChange);\n }\n }\n function overrideChains(_obj, keyName, meta$$1) {\n var chainWatchers = meta$$1.readableChainWatchers();\n if (chainWatchers !== undefined) {\n chainWatchers.revalidate(keyName);\n }\n }\n /**\n @method beginPropertyChanges\n @chainable\n @private\n */\n function beginPropertyChanges() {\n deferred++;\n }\n /**\n @method endPropertyChanges\n @private\n */\n function endPropertyChanges() {\n deferred--;\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 function changeProperties(callback) {\n beginPropertyChanges();\n try {\n callback();\n } finally {\n endPropertyChanges();\n }\n }\n function notifyObservers(obj, keyName, meta$$1) {\n if (meta$$1.isSourceDestroying()) {\n return;\n }\n var eventName = changeEvent(keyName);\n if (deferred > 0) {\n observerSet.add(obj, keyName, eventName);\n } else {\n sendEvent(obj, eventName, [obj, keyName]);\n }\n }\n\n /**\n @module @ember/object\n */\n // ..........................................................\n // DESCRIPTOR\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 var Descriptor = function () {\n function Descriptor() {\n\n this.isDescriptor = true;\n this.enumerable = true;\n }\n\n Descriptor.prototype.setup = function () {};\n\n Descriptor.prototype.teardown = function () {};\n\n return Descriptor;\n }();\n\n // ..........................................................\n // DEFINING PROPERTIES API\n //\n\n function DESCRIPTOR_GETTER_FUNCTION(name, descriptor) {\n return function () {\n return descriptor.get(this, name);\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 function defineProperty(obj, keyName, desc, data, meta$$1) {\n if (meta$$1 === undefined) {\n meta$$1 = (0, _emberMeta.meta)(obj);\n }\n var watching = meta$$1.peekWatching(keyName) > 0;\n var previousDesc = (0, _emberMeta.descriptorFor)(obj, keyName, meta$$1);\n var wasDescriptor = previousDesc !== undefined;\n if (wasDescriptor) {\n previousDesc.teardown(obj, keyName, meta$$1);\n meta$$1.removeDescriptors(keyName);\n }\n // used to track if the the property being defined be enumerable\n var enumerable = true;\n // Ember.NativeArray is a normal Ember.Mixin that we mix into `Array.prototype` when prototype extensions are enabled\n // mutating a native object prototype like this should _not_ result in enumerable properties being added (or we have significant\n // issues with things like deep equality checks from test frameworks, or things like jQuery.extend(true, [], [])).\n //\n // this is a hack, and we should stop mutating the array prototype by default 😫\n if (obj === Array.prototype) {\n enumerable = false;\n }\n var value = void 0;\n if (desc instanceof Descriptor) {\n value = desc;\n Object.defineProperty(obj, keyName, {\n configurable: true,\n enumerable: enumerable,\n get: DESCRIPTOR_GETTER_FUNCTION(keyName, value)\n });\n meta$$1.writeDescriptors(keyName, value);\n desc.setup(obj, keyName);\n } else if (desc === undefined || desc === null) {\n value = data;\n 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 obj[keyName] = data;\n }\n } else {\n value = desc;\n // fallback to ES5\n Object.defineProperty(obj, keyName, desc);\n }\n // if key is being watched, override chains that\n // were initialized with the prototype\n if (watching) {\n overrideChains(obj, keyName, meta$$1);\n }\n // The `value` passed to the `didDefineProperty` hook is\n // either the descriptor or data, whichever was passed.\n if (typeof obj.didDefineProperty === 'function') {\n obj.didDefineProperty(obj, keyName, value);\n }\n }\n\n function watchKey(obj, keyName, _meta) {\n var meta$$1 = _meta === undefined ? (0, _emberMeta.meta)(obj) : _meta,\n possibleDesc;\n var count = meta$$1.peekWatching(keyName);\n meta$$1.writeWatching(keyName, count + 1);\n if (count === 0) {\n // activate watching first time\n possibleDesc = (0, _emberMeta.descriptorFor)(obj, keyName, meta$$1);\n\n if (possibleDesc !== undefined && possibleDesc.willWatch !== undefined) {\n possibleDesc.willWatch(obj, keyName, meta$$1);\n }\n if (typeof obj.willWatchProperty === 'function') {\n obj.willWatchProperty(keyName);\n }\n }\n }\n\n function unwatchKey(obj, keyName, _meta) {\n var meta$$1 = _meta === undefined ? (0, _emberMeta.peekMeta)(obj) : _meta,\n possibleDesc,\n isDescriptor$$1;\n // do nothing of this object has already been destroyed\n if (meta$$1 === undefined || meta$$1.isSourceDestroyed()) {\n return;\n }\n var count = meta$$1.peekWatching(keyName);\n if (count === 1) {\n meta$$1.writeWatching(keyName, 0);\n possibleDesc = (0, _emberMeta.descriptorFor)(obj, keyName, meta$$1);\n isDescriptor$$1 = possibleDesc !== undefined;\n\n if (isDescriptor$$1 && possibleDesc.didUnwatch !== undefined) {\n possibleDesc.didUnwatch(obj, keyName, meta$$1);\n }\n if (typeof obj.didUnwatchProperty === 'function') {\n obj.didUnwatchProperty(keyName);\n }\n } else if (count > 1) {\n meta$$1.writeWatching(keyName, count - 1);\n }\n }\n\n var EACH_PROXIES = new WeakMap();\n function eachProxyArrayWillChange(array, idx, removedCnt, addedCnt) {\n var eachProxy = EACH_PROXIES.get(array);\n if (eachProxy !== undefined) {\n eachProxy.arrayWillChange(array, idx, removedCnt, addedCnt);\n }\n }\n function eachProxyArrayDidChange(array, idx, removedCnt, addedCnt) {\n var eachProxy = EACH_PROXIES.get(array);\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 if (addAmt === undefined) {\n addAmt = -1;\n }\n }\n eachProxyArrayWillChange(array, startIdx, removeAmt, addAmt);\n sendEvent(array, '@array:before', [array, startIdx, removeAmt, addAmt]);\n return array;\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 if (addAmt === undefined) {\n addAmt = -1;\n }\n }\n var meta$$1 = (0, _emberMeta.peekMeta)(array),\n length,\n addedAmount,\n removedAmount,\n previousLength,\n normalStartIdx;\n if (addAmt < 0 || removeAmt < 0 || addAmt - removeAmt !== 0) {\n notifyPropertyChange(array, 'length', meta$$1);\n }\n notifyPropertyChange(array, '[]', meta$$1);\n eachProxyArrayDidChange(array, startIdx, removeAmt, addAmt);\n sendEvent(array, '@array:change', [array, startIdx, removeAmt, addAmt]);\n var cache = peekCacheFor(array);\n if (cache !== undefined) {\n length = array.length;\n addedAmount = addAmt === -1 ? 0 : addAmt;\n removedAmount = removeAmt === -1 ? 0 : removeAmt;\n previousLength = length - (addedAmount - removedAmount);\n normalStartIdx = startIdx < 0 ? previousLength + startIdx : startIdx;\n\n if (cache.has('firstObject') && normalStartIdx === 0) {\n notifyPropertyChange(array, 'firstObject', meta$$1);\n }\n if (cache.has('lastObject')) {\n if (previousLength - 1 < normalStartIdx + removedAmount) {\n notifyPropertyChange(array, 'lastObject', meta$$1);\n }\n }\n }\n return array;\n }\n\n /**\n An object that that tracks @tracked properties that were consumed.\n \n @private\n */\n\n var Tracker = function () {\n function Tracker() {\n\n this.tags = new Set();\n this.last = null;\n }\n\n Tracker.prototype.add = function (tag) {\n this.tags.add(tag);\n this.last = tag;\n };\n\n Tracker.prototype.combine = function () {\n var tags;\n\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 tags = [];\n\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 /**\n @decorator\n @private\n \n Marks a property as tracked.\n \n By default, a component's properties are expected to be static,\n meaning you are not able to update them and have the template update accordingly.\n Marking a property as tracked means that when that property changes,\n a rerender of the component is scheduled so the template is kept up to date.\n \n There are two usages for the `@tracked` decorator, shown below.\n \n @example No dependencies\n \n If you don't pass an argument to `@tracked`, only changes to that property\n will be tracked:\n \n ```typescript\n import Component, { tracked } from '@glimmer/component';\n \n export default class MyComponent extends Component {\n @tracked\n remainingApples = 10\n }\n ```\n \n When something changes the component's `remainingApples` property, the rerender\n will be scheduled.\n \n @example Dependents\n \n In the case that you have a computed property that depends other\n properties, you want to track both so that when one of the\n dependents change, a rerender is scheduled.\n \n In the following example we have two properties,\n `eatenApples`, and `remainingApples`.\n \n ```typescript\n import Component, { tracked } from '@glimmer/component';\n \n const totalApples = 100;\n \n export default class MyComponent extends Component {\n @tracked\n eatenApples = 0\n \n @tracked('eatenApples')\n get remainingApples() {\n return totalApples - this.eatenApples;\n }\n \n increment() {\n this.eatenApples = this.eatenApples + 1;\n }\n }\n ```\n \n @param dependencies Optional dependents to be tracked.\n */\n function tracked(_target, key, descriptor) {\n if ('value' in descriptor) {\n return descriptorForDataProperty(key, descriptor);\n } else {\n return descriptorForAccessor(key, descriptor);\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 var CURRENT_TRACKER = null;\n\n function descriptorForAccessor(key, descriptor) {\n var get = descriptor.get;\n var set = descriptor.set;\n function getter() {\n // Swap the parent tracker for a new tracker\n var old = CURRENT_TRACKER;\n var tracker = CURRENT_TRACKER = new Tracker();\n // Call the getter\n var ret = get.call(this);\n // Swap back the parent tracker\n CURRENT_TRACKER = old;\n // Combine the tags in the new tracker and add them to the parent tracker\n var tag = tracker.combine();\n if (CURRENT_TRACKER) CURRENT_TRACKER.add(tag);\n // Update the UpdatableTag for this property with the tag for all of the\n // consumed dependencies.\n (void 0)(tagForProperty(this, key), tag);\n return ret;\n }\n function setter() {\n dirty(tagForProperty(this, key));\n set.apply(this, arguments);\n }\n return {\n enumerable: true,\n configurable: false,\n get: get && getter,\n set: set && setter\n };\n }\n /**\n @private\n \n A getter/setter for change tracking for a particular key. The accessor\n acts just like a normal property, but it triggers the `propertyDidChange`\n hook when written to.\n \n Values are saved on the object using a \"shadow key,\" or a symbol based on the\n tracked property name. Sets write the value to the shadow key, and gets read\n from it.\n */\n function descriptorForDataProperty(key, descriptor) {\n var shadowKey = Symbol(key);\n return {\n enumerable: true,\n configurable: true,\n get: function () {\n if (CURRENT_TRACKER) CURRENT_TRACKER.add(tagForProperty(this, key));\n if (!(shadowKey in this)) {\n this[shadowKey] = descriptor.value;\n }\n return this[shadowKey];\n },\n set: function (newValue) {\n tagFor(this).inner['dirty']();\n dirty(tagForProperty(this, key));\n this[shadowKey] = newValue;\n propertyDidChange$1();\n }\n };\n }\n var propertyDidChange$1 = function () {};\n\n /**\n @module @ember/object\n */\n var PROXY_CONTENT = (0, _emberUtils.symbol)('PROXY_CONTENT');\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 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 function _get(obj, keyName) {\n false && !(arguments.length === 2) && (0, _debug.assert)('Get must be called with two arguments; an object and a property key', arguments.length === 2);\n false && !(obj !== undefined && obj !== null) && (0, _debug.assert)('Cannot call get with \\'' + keyName + '\\' on an undefined object.', obj !== undefined && obj !== null);\n false && !(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 false && !(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 var type = typeof obj;\n var isObject = type === 'object';\n\n var descriptor = void 0;\n var value = void 0;\n if (isObject || type === 'function') {\n descriptor = (0, _emberMeta.descriptorFor)(obj, keyName);\n if (descriptor !== undefined) {\n return descriptor.get(obj, keyName);\n }\n\n value = obj[keyName];\n\n if (_deprecatedFeatures.PROPERTY_BASED_DESCRIPTORS && (0, _emberMeta.isDescriptor)(value)) {\n false && !false && (0, _debug.deprecate)('[DEPRECATED] computed property \\'' + keyName + '\\' was not set on object \\'' + (0, _emberUtils.toString)(obj) + '\\' via \\'defineProperty\\'', false, {\n id: 'ember-meta.descriptor-on-object',\n until: '3.5.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_use-defineProperty-to-define-computed-properties'\n });\n\n Object.defineProperty(obj, keyName, {\n configurable: true,\n enumerable: value.enumerable === false,\n get: function () {\n return value.get(this, keyName);\n }\n });\n (0, _emberMeta.meta)(obj).writeDescriptors(keyName, value);\n value.setup(obj, keyName);\n return value.get(obj, keyName);\n }\n } else {\n value = obj[keyName];\n }\n if (value === undefined) {\n if (isPath(keyName)) {\n return _getPath(obj, keyName);\n }\n if (isObject && !(keyName in obj) && typeof obj.unknownProperty === 'function') {\n return obj.unknownProperty(keyName);\n }\n }\n return value;\n }\n function _getPath(root, path) {\n var obj = root,\n i;\n var parts = path.split('.');\n for (i = 0; i < parts.length; i++) {\n if (obj === undefined || obj === null || obj.isDestroyed) {\n return undefined;\n }\n obj = _get(obj, parts[i]);\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 var EMPTY_ARRAY = Object.freeze([]);\n function objectAt(array, index) {\n if (Array.isArray(array)) {\n return array[index];\n } else {\n return array.objectAt(index);\n }\n }\n\n var CHUNK_SIZE = 60000;\n // To avoid overflowing the stack, we splice up to CHUNK_SIZE items at a time.\n // See https://code.google.com/p/chromium/issues/detail?id=56588 for more details.\n function replaceInNativeArray(array, start, deleteCount, items) {\n var i, chunk;\n\n arrayContentWillChange(array, start, deleteCount, items.length);\n if (items.length <= CHUNK_SIZE) {\n array.splice.apply(array, [start, deleteCount].concat(items));\n } else {\n array.splice(start, deleteCount);\n for (i = 0; i < items.length; i += CHUNK_SIZE) {\n chunk = items.slice(i, i + CHUNK_SIZE);\n\n array.splice.apply(array, [start + i, 0].concat(chunk));\n }\n }\n arrayContentDidChange(array, start, deleteCount, items.length);\n }\n function arrayObserversHelper(obj, target, opts, operation, notify) {\n var willChange = opts && opts.willChange || 'arrayWillChange';\n var didChange = opts && opts.didChange || 'arrayDidChange';\n var hasObservers = _get(obj, 'hasArrayObservers');\n operation(obj, '@array:before', target, willChange);\n operation(obj, '@array:change', target, didChange);\n if (hasObservers === notify) {\n notifyPropertyChange(obj, 'hasArrayObservers');\n }\n return obj;\n }\n\n\n /**\n @module @ember/object\n */\n /**\n @method addObserver\n @static\n @for @ember/object/observers\n @param obj\n @param {String} path\n @param {Object|Function} target\n @param {Function|String} [method]\n @public\n */\n function addObserver(obj, path, target, method) {\n addListener(obj, changeEvent(path), target, method);\n watch(obj, path);\n }\n /**\n @method removeObserver\n @static\n @for @ember/object/observers\n @param obj\n @param {String} path\n @param {Object|Function} target\n @param {Function|String} [method]\n @public\n */\n function removeObserver(obj, path, target, method) {\n unwatch(obj, path);\n removeListener(obj, changeEvent(path), target, method);\n }\n\n function eachProxyFor(array) {\n var eachProxy = EACH_PROXIES.get(array);\n if (eachProxy === undefined) {\n eachProxy = new EachProxy(array);\n EACH_PROXIES.set(array, eachProxy);\n }\n return eachProxy;\n }\n\n var EachProxy = function () {\n function EachProxy(content) {\n\n this._content = content;\n this._keys = undefined;\n (0, _emberMeta.meta)(this);\n }\n // ..........................................................\n // ARRAY CHANGES\n // Invokes whenever the content array itself changes.\n\n\n EachProxy.prototype.arrayWillChange = function (content, idx, removedCnt /*, addedCnt */) {\n // eslint-disable-line no-unused-vars\n var keys = this._keys;\n if (!keys) {\n return;\n }\n var lim = removedCnt > 0 ? idx + removedCnt : -1;\n if (lim > 0) {\n for (var key in keys) {\n removeObserverForContentKey(content, key, this, idx, lim);\n }\n }\n };\n\n EachProxy.prototype.arrayDidChange = function (content, idx, _removedCnt, addedCnt) {\n var keys = this._keys;\n if (!keys) {\n return;\n }\n var lim = addedCnt > 0 ? idx + addedCnt : -1;\n var meta$$1 = (0, _emberMeta.peekMeta)(this);\n for (var key in keys) {\n if (lim > 0) {\n addObserverForContentKey(content, key, this, idx, lim);\n }\n notifyPropertyChange(this, key, meta$$1);\n }\n };\n\n EachProxy.prototype.willWatchProperty = function (property) {\n this.beginObservingContentKey(property);\n };\n\n EachProxy.prototype.didUnwatchProperty = function (property) {\n this.stopObservingContentKey(property);\n };\n\n EachProxy.prototype.beginObservingContentKey = function (keyName) {\n var keys = this._keys,\n content,\n len;\n if (keys === undefined) {\n keys = this._keys = Object.create(null);\n }\n if (!keys[keyName]) {\n keys[keyName] = 1;\n content = this._content;\n len = content.length;\n\n addObserverForContentKey(content, keyName, this, 0, len);\n } else {\n keys[keyName]++;\n }\n };\n\n EachProxy.prototype.stopObservingContentKey = function (keyName) {\n var keys = this._keys,\n content,\n len;\n if (keys !== undefined && keys[keyName] > 0 && --keys[keyName] <= 0) {\n content = this._content;\n len = content.length;\n\n removeObserverForContentKey(content, keyName, this, 0, len);\n }\n };\n\n EachProxy.prototype.contentKeyDidChange = function (_obj, keyName) {\n notifyPropertyChange(this, keyName);\n };\n\n return EachProxy;\n }();\n\n function addObserverForContentKey(content, keyName, proxy, idx, loc) {\n var item;\n\n while (--loc >= idx) {\n item = objectAt(content, loc);\n\n if (item) {\n false && !(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\n addObserver(item, keyName, proxy, 'contentKeyDidChange');\n }\n }\n }\n function removeObserverForContentKey(content, keyName, proxy, idx, loc) {\n var item;\n\n while (--loc >= idx) {\n 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 function isVolatile(obj, keyName, meta$$1) {\n var desc = (0, _emberMeta.descriptorFor)(obj, keyName, meta$$1);\n return !(desc !== undefined && desc._volatile === false);\n }\n\n var ChainWatchers = function () {\n function ChainWatchers() {\n\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 ChainWatchers.prototype.add = function (key, node) {\n var nodes = this.chains[key];\n if (nodes === undefined) {\n this.chains[key] = [node];\n } else {\n nodes.push(node);\n }\n };\n\n ChainWatchers.prototype.remove = function (key, node) {\n var nodes = this.chains[key],\n i;\n if (nodes !== undefined) {\n for (i = 0; i < nodes.length; i++) {\n if (nodes[i] === node) {\n nodes.splice(i, 1);\n break;\n }\n }\n }\n };\n\n ChainWatchers.prototype.has = function (key, node) {\n var nodes = this.chains[key],\n i;\n if (nodes !== undefined) {\n for (i = 0; i < nodes.length; i++) {\n if (nodes[i] === node) {\n return true;\n }\n }\n }\n return false;\n };\n\n ChainWatchers.prototype.revalidateAll = function () {\n for (var key in this.chains) {\n this.notify(key, true, undefined);\n }\n };\n\n ChainWatchers.prototype.revalidate = function (key) {\n this.notify(key, true, undefined);\n };\n\n ChainWatchers.prototype.notify = function (key, revalidate, callback) {\n var nodes = this.chains[key],\n i,\n _i,\n obj,\n path;\n if (nodes === undefined || nodes.length === 0) {\n return;\n }\n var affected = undefined;\n if (callback !== undefined) {\n affected = [];\n }\n for (i = 0; i < nodes.length; i++) {\n nodes[i].notify(revalidate, affected);\n }\n if (callback === undefined) {\n return;\n }\n // we gather callbacks so we don't notify them during revalidation\n for (_i = 0; _i < affected.length; _i += 2) {\n obj = affected[_i];\n path = affected[_i + 1];\n\n callback(obj, path);\n }\n };\n\n return ChainWatchers;\n }();\n\n function makeChainWatcher() {\n return new ChainWatchers();\n }\n function makeChainNode(obj) {\n return new ChainNode(null, null, obj);\n }\n function addChainWatcher(obj, keyName, node) {\n var m = (0, _emberMeta.meta)(obj);\n m.writableChainWatchers(makeChainWatcher).add(keyName, node);\n watchKey(obj, keyName, m);\n }\n function removeChainWatcher(obj, keyName, node, _meta) {\n if (!isObject(obj)) {\n return;\n }\n var meta$$1 = _meta === undefined ? (0, _emberMeta.peekMeta)(obj) : _meta;\n if (meta$$1 === undefined || meta$$1.isSourceDestroying() || meta$$1.isMetaDestroyed() || meta$$1.readableChainWatchers() === undefined) {\n return;\n }\n // make meta writable\n meta$$1 = (0, _emberMeta.meta)(obj);\n meta$$1.readableChainWatchers().remove(keyName, node);\n unwatchKey(obj, keyName, meta$$1);\n }\n var NODE_STACK = [];\n function destroyRoot(root) {\n var node;\n\n pushChildren(root);\n while (NODE_STACK.length > 0) {\n node = NODE_STACK.pop();\n\n pushChildren(node);\n destroyOne(node);\n }\n }\n function destroyOne(node) {\n if (node.isWatching) {\n removeChainWatcher(node.object, node.key, node);\n node.isWatching = false;\n }\n }\n function pushChildren(node) {\n var nodes = node.chains;\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 }\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 var ChainNode = function () {\n function ChainNode(parent, key, value) {\n\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;\n // It is false for the root of a chain (because we have no parent)\n var isWatching = this.isWatching = parent !== null,\n parentValue;\n if (isWatching) {\n parentValue = parent.value();\n\n if (isObject(parentValue)) {\n this.object = parentValue;\n addChainWatcher(parentValue, key, this);\n }\n }\n }\n\n ChainNode.prototype.value = function () {\n var obj;\n\n if (this.content === undefined && this.isWatching) {\n obj = this.parent.value();\n\n this.content = lazyGet(obj, this.key);\n }\n return this.content;\n };\n\n ChainNode.prototype.destroy = function () {\n // check if root\n if (this.parent === null) {\n destroyRoot(this);\n } else {\n destroyOne(this);\n }\n };\n\n ChainNode.prototype.copyTo = function (target) {\n var paths = this.paths,\n path;\n if (paths !== undefined) {\n path = void 0;\n\n for (path in paths) {\n if (paths[path] > 0) {\n target.add(path);\n }\n }\n }\n };\n\n ChainNode.prototype.add = function (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 };\n\n ChainNode.prototype.remove = function (path) {\n var paths = this.paths;\n if (paths === undefined) {\n return;\n }\n if (paths[path] > 0) {\n paths[path]--;\n }\n var tails = path.split('.');\n this.unchain(tails.shift(), tails);\n };\n\n ChainNode.prototype.chain = function (key, tails) {\n var chains = this.chains;\n if (chains === undefined) {\n chains = this.chains = Object.create(null);\n }\n var node = chains[key];\n if (node === undefined) {\n node = chains[key] = new ChainNode(this, key, undefined);\n }\n node.count++; // count chains...\n // chain rest of path if there is one\n if (tails.length > 0) {\n node.chain(tails.shift(), tails);\n }\n };\n\n ChainNode.prototype.unchain = function (key, tails) {\n var chains = this.chains;\n var node = chains[key];\n // unchain rest of path first...\n if (tails.length > 0) {\n node.unchain(tails.shift(), tails);\n }\n // delete node if needed.\n node.count--;\n if (node.count <= 0) {\n chains[node.key] = undefined;\n node.destroy();\n }\n };\n\n ChainNode.prototype.notify = function (revalidate, affected) {\n if (revalidate && this.isWatching) {\n parentValue = this.parent.value();\n\n if (parentValue !== this.object) {\n removeChainWatcher(this.object, this.key, this);\n if (isObject(parentValue)) {\n this.object = parentValue;\n addChainWatcher(parentValue, this.key, this);\n } else {\n this.object = undefined;\n }\n }\n this.content = undefined;\n }\n // then notify chains...\n var chains = this.chains,\n parentValue,\n node;\n if (chains !== undefined) {\n node = void 0;\n\n for (var key in chains) {\n node = chains[key];\n if (node !== undefined) {\n node.notify(revalidate, affected);\n }\n }\n }\n if (affected !== undefined && this.parent !== null) {\n this.parent.populateAffected(this.key, 1, affected);\n }\n };\n\n ChainNode.prototype.populateAffected = function (path, depth, affected) {\n if (this.key) {\n path = this.key + '.' + path;\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 function lazyGet(obj, key) {\n if (!isObject(obj)) {\n return;\n }\n var meta$$1 = (0, _emberMeta.peekMeta)(obj);\n // check if object meant only to be a prototype\n if (meta$$1 !== undefined && meta$$1.proto === obj) {\n return;\n }\n // Use `get` if the return value is an EachProxy or an uncacheable value.\n if (key === '@each') {\n return eachProxyFor(obj);\n } else if (isVolatile(obj, key, meta$$1)) {\n return _get(obj, key);\n // Otherwise attempt to get the cached value of the computed property\n } else {\n return getCachedValueFor(obj, key);\n }\n }\n\n\n function watchPath(obj, keyPath, meta$$1) {\n var m = meta$$1 === undefined ? (0, _emberMeta.meta)(obj) : meta$$1;\n var counter = m.peekWatching(keyPath);\n m.writeWatching(keyPath, counter + 1);\n if (counter === 0) {\n // activate watching first time\n m.writableChains(makeChainNode).add(keyPath);\n }\n }\n function unwatchPath(obj, keyPath, meta$$1) {\n var m = meta$$1 === undefined ? (0, _emberMeta.peekMeta)(obj) : meta$$1;\n if (m === undefined) {\n return;\n }\n var counter = m.peekWatching(keyPath);\n if (counter > 0) {\n m.writeWatching(keyPath, counter - 1);\n if (counter === 1) {\n m.writableChains(makeChainNode).remove(keyPath);\n }\n }\n }\n\n /**\n @module ember\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 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 watcherCount(obj, key) {\n var meta$$1 = (0, _emberMeta.peekMeta)(obj);\n return meta$$1 !== undefined && 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 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 // ..........................................................\n // DEPENDENT KEYS\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 idx,\n depKey;\n if (depKeys === null || depKeys === undefined) {\n return;\n }\n for (idx = 0; idx < depKeys.length; idx++) {\n depKey = depKeys[idx];\n // Increment the number of times depKey depends on keyName.\n\n meta$$1.writeDeps(depKey, keyName, meta$$1.peekDeps(depKey, keyName) + 1);\n // Watch the depKey\n watch(obj, depKey, meta$$1);\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 idx,\n depKey;\n if (depKeys === null || depKeys === undefined) {\n return;\n }\n for (idx = 0; idx < depKeys.length; idx++) {\n depKey = depKeys[idx];\n // Decrement the number of times depKey depends on keyName.\n\n meta$$1.writeDeps(depKey, keyName, meta$$1.peekDeps(depKey, keyName) - 1);\n // Unwatch the depKey\n unwatch(obj, depKey, meta$$1);\n }\n }\n\n /**\n @module @ember/object\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 function expandProperties(pattern, callback) {\n false && !(typeof pattern === 'string') && (0, _debug.assert)('A computed property key must be a string, you passed ' + typeof pattern + ' ' + pattern, typeof pattern === 'string');\n false && !(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);\n false && !(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\n var start = pattern.indexOf('{');\n if (start < 0) {\n callback(pattern.replace(END_WITH_EACH_REGEX, '.[]'));\n } else {\n dive('', pattern, start, callback);\n }\n }\n function dive(prefix, pattern, start, callback) {\n var end = pattern.indexOf('}'),\n i = 0,\n newStart = void 0,\n arrayLength = void 0;\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 while (i < arrayLength) {\n newStart = after.indexOf('{');\n if (newStart < 0) {\n callback((prefix + tempArr[i++] + after).replace(END_WITH_EACH_REGEX, '.[]'));\n } else {\n dive(prefix + tempArr[i++], after, newStart, callback);\n }\n }\n }\n\n /**\n @module @ember/object\n */\n /**\n Sets the value of a property on an object, respecting computed properties\n and notifying observers and other listeners of the change.\n If the specified property is not defined on the object and the object\n implements the `setUnknownProperty` method, then instead of setting the\n value of the property on the object, its `setUnknownProperty` handler\n will be invoked with the two parameters `keyName` and `value`.\n \n ```javascript\n import { set } from '@ember/object';\n set(obj, \"name\", value);\n ```\n \n @method set\n @static\n @for @ember/object\n @param {Object} obj The object to modify.\n @param {String} keyName The property key to set\n @param {Object} value The value to set\n @return {Object} the passed value.\n @public\n */\n function _set2(obj, keyName, value, tolerant) {\n false && !(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 false && !(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 false && !(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 false && !(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 false && !tolerant && (0, _debug.assert)('calling set on destroyed object: ' + (0, _emberUtils.toString)(obj) + '.' + keyName + ' = ' + (0, _emberUtils.toString)(value), tolerant);\n\n return;\n }\n if (isPath(keyName)) {\n return setPath(obj, keyName, value, tolerant);\n }\n var possibleDesc = (0, _emberMeta.descriptorFor)(obj, keyName),\n cv,\n meta$$1;\n if (possibleDesc !== undefined) {\n /* computed property */\n possibleDesc.set(obj, keyName, value);\n return value;\n }\n var currentValue = void 0;\n\n currentValue = obj[keyName];\n\n if (_deprecatedFeatures.PROPERTY_BASED_DESCRIPTORS && (0, _emberMeta.isDescriptor)(currentValue)) {\n false && !false && (0, _debug.deprecate)('[DEPRECATED] computed property \\'' + keyName + '\\' was not set on object \\'' + (0, _emberUtils.toString)(obj) + '\\' via \\'defineProperty\\'', false, {\n id: 'ember-meta.descriptor-on-object',\n until: '3.5.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_use-defineProperty-to-define-computed-properties'\n });\n\n cv = currentValue;\n\n Object.defineProperty(obj, keyName, {\n configurable: true,\n enumerable: cv.enumerable === false,\n get: function () {\n return cv.get(this, keyName);\n }\n });\n (0, _emberMeta.meta)(obj).writeDescriptors(keyName, cv);\n cv.setup(obj, keyName);\n cv.set(obj, keyName, value);\n return value;\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 meta$$1 = (0, _emberMeta.peekMeta)(obj);\n\n obj[keyName] = value;\n\n if (currentValue !== value) {\n notifyPropertyChange(obj, keyName, meta$$1);\n }\n }\n return value;\n }\n\n function setPath(root, path, value, tolerant) {\n var parts = path.split('.');\n var keyName = parts.pop();\n false && !(keyName.trim().length > 0) && (0, _debug.assert)('Property set failed: You passed an empty path', keyName.trim().length > 0);\n\n var newPath = parts.join('.');\n var newRoot = _getPath(root, newPath);\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 \"' + newPath + '\" 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 /**\n @module @ember/object\n */\n var DEEP_EACH_REGEX = /\\.@each\\.[^.]+\\./;\n function noop() {}\n /**\n A computed property transforms an object literal with object's accessor function(s) into a property.\n \n By default the function backing the computed property will only be called\n once and the result will be cached. You can specify various properties\n that your computed property depends on. This will force the cached\n result to be recomputed if the dependencies are modified.\n \n In the following example we declare a computed property - `fullName` - by calling\n `computed` with property dependencies (`firstName` and `lastName`) as leading arguments and getter accessor function. The `fullName` getter function\n will be called once (regardless of how many times it is accessed) as long\n as its dependencies have not changed. Once `firstName` or `lastName` are updated\n any future calls (or anything bound) to `fullName` will incorporate the new\n values.\n \n ```javascript\n import EmberObject, { computed } 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', function() {\n let firstName = this.get('firstName'),\n lastName = this.get('lastName');\n \n return `${firstName} ${lastName}`;\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 also define what Ember should do when setting a computed property by providing additional function (`set`) in hash argument.\n If you try to set a computed property, it will try to invoke setter accessor function with the key and\n value you want to set it to as arguments.\n \n ```javascript\n import EmberObject, { computed } 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(key) {\n let firstName = this.get('firstName'),\n lastName = this.get('lastName');\n \n return firstName + ' ' + lastName;\n },\n set(key, value) {\n let [firstName, lastName] = value.split(' ');\n \n this.set('firstName', firstName);\n this.set('lastName', lastName);\n \n return value;\n }\n })\n });\n \n let person = Person.create();\n \n person.set('fullName', 'Peter Wagenet');\n person.get('firstName'); // 'Peter'\n person.get('lastName'); // 'Wagenet'\n ```\n \n You can overwrite computed property with normal property (no longer computed), that won't change if dependencies change, if you set computed property and it won't have setter accessor function defined.\n \n You can also mark computed property as `.readOnly()` and block all attempts to set it.\n \n ```javascript\n import EmberObject, { computed } 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(key) {\n let firstName = this.get('firstName');\n let lastName = this.get('lastName');\n \n return firstName + ' ' + lastName;\n }\n }).readOnly()\n });\n \n let person = Person.create();\n person.set('fullName', 'Peter Wagenet'); // Uncaught Error: Cannot set read-only property \"fullName\" on object: <(...):emberXXX>\n ```\n \n Additional resources:\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 var ComputedProperty = function (_Descriptor) {\n (0, _emberBabel.inherits)(ComputedProperty, _Descriptor);\n\n function ComputedProperty(config, opts) {\n\n var _this = (0, _emberBabel.possibleConstructorReturn)(this, _Descriptor.call(this)),\n objectConfig;\n\n var hasGetterOnly = typeof config === 'function';\n if (hasGetterOnly) {\n _this._getter = config;\n } else {\n objectConfig = config;\n\n false && !(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 false && !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 false && !(!!objectConfig.get || !!objectConfig.set) && (0, _debug.assert)('Computed properties must receive a getter or a setter, you passed none.', !!objectConfig.get || !!objectConfig.set);\n\n _this._getter = objectConfig.get || noop;\n _this._setter = objectConfig.set;\n }\n _this._suspended = undefined;\n _this._meta = undefined;\n _this._volatile = false;\n\n _this._dependentKeys = opts && opts.dependentKeys;\n _this._readOnly = !!opts && hasGetterOnly && opts.readOnly === true;\n return _this;\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 ComputedProperty.prototype.volatile = function () {\n this._volatile = true;\n return this;\n };\n\n ComputedProperty.prototype.readOnly = function () {\n this._readOnly = true;\n false && !!(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 return this;\n };\n\n ComputedProperty.prototype.property = function () {\n var args = [],\n _len2,\n passedArgs,\n _key2,\n i;\n function addArg(property) {\n false && (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, { id: 'ember-metal.computed-deep-each' });\n\n args.push(property);\n }\n\n for (_len2 = arguments.length, passedArgs = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n passedArgs[_key2] = arguments[_key2];\n }\n\n for (i = 0; i < passedArgs.length; i++) {\n expandProperties(passedArgs[i], addArg);\n }\n this._dependentKeys = args;\n return this;\n };\n\n ComputedProperty.prototype.meta = function (meta$$1) {\n if (arguments.length === 0) {\n return this._meta || {};\n } else {\n this._meta = meta$$1;\n return this;\n }\n };\n\n ComputedProperty.prototype.didChange = function (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 }\n // don't create objects just to invalidate\n var meta$$1 = (0, _emberMeta.peekMeta)(obj);\n if (meta$$1 === undefined || meta$$1.source !== obj) {\n return;\n }\n var cache = peekCacheFor(obj);\n if (cache !== undefined && cache.delete(keyName)) {\n removeDependentKeys(this, obj, keyName, meta$$1);\n }\n };\n\n ComputedProperty.prototype.get = function (obj, keyName) {\n if (this._volatile) {\n return this._getter.call(obj, keyName);\n }\n var cache = getCacheFor(obj);\n\n if (cache.has(keyName)) {\n return cache.get(keyName);\n }\n\n var ret = this._getter.call(obj, keyName);\n\n cache.set(keyName, ret);\n var meta$$1 = (0, _emberMeta.meta)(obj);\n var chainWatchers = meta$$1.readableChainWatchers();\n if (chainWatchers !== undefined) {\n chainWatchers.revalidate(keyName);\n }\n addDependentKeys(this, obj, keyName, meta$$1);\n return ret;\n };\n\n ComputedProperty.prototype.set = function (obj, keyName, value) {\n if (this._readOnly) {\n this._throwReadOnlyError(obj, keyName);\n }\n if (!this._setter) {\n return this.clobberSet(obj, keyName, value);\n }\n if (this._volatile) {\n return this.volatileSet(obj, keyName, value);\n }\n return this.setWithSuspend(obj, keyName, value);\n };\n\n ComputedProperty.prototype._throwReadOnlyError = function (obj, keyName) {\n throw new _error.default('Cannot set read-only property \"' + keyName + '\" on object: ' + (0, _emberUtils.inspect)(obj));\n };\n\n ComputedProperty.prototype.clobberSet = function (obj, keyName, value) {\n var cachedValue = getCachedValueFor(obj, keyName);\n defineProperty(obj, keyName, null, cachedValue);\n _set2(obj, keyName, value);\n return value;\n };\n\n ComputedProperty.prototype.volatileSet = function (obj, keyName, value) {\n return this._setter.call(obj, keyName, value);\n };\n\n ComputedProperty.prototype.setWithSuspend = function (obj, keyName, value) {\n var oldSuspended = this._suspended;\n this._suspended = obj;\n try {\n return this._set(obj, keyName, value);\n } finally {\n this._suspended = oldSuspended;\n }\n };\n\n ComputedProperty.prototype._set = function (obj, keyName, value) {\n var cache = getCacheFor(obj);\n var hadCachedValue = cache.has(keyName);\n var cachedValue = cache.get(keyName);\n var ret = this._setter.call(obj, keyName, value, cachedValue);\n // allows setter to return the same value that is cached already\n if (hadCachedValue && cachedValue === ret) {\n return ret;\n }\n var meta$$1 = (0, _emberMeta.meta)(obj);\n if (!hadCachedValue) {\n addDependentKeys(this, obj, keyName, meta$$1);\n }\n cache.set(keyName, ret);\n notifyPropertyChange(obj, keyName, meta$$1);\n\n return ret;\n };\n\n ComputedProperty.prototype.teardown = function (obj, keyName, meta$$1) {\n if (this._volatile) {\n return;\n }\n var cache = peekCacheFor(obj);\n if (cache !== undefined && cache.delete(keyName)) {\n removeDependentKeys(this, obj, keyName, meta$$1);\n }\n };\n\n return ComputedProperty;\n }(Descriptor);\n\n /**\n This helper returns a new property descriptor that wraps the passed\n computed property function. You can use this helper to define properties\n with mixins or via `defineProperty()`.\n \n If you pass a function as an argument, it will be used as a getter. A computed\n property defined in this way might look like this:\n \n ```js\n import EmberObject, { computed } from '@ember/object';\n \n let Person = EmberObject.extend({\n init() {\n this._super(...arguments);\n \n this.firstName = 'Betty';\n this.lastName = 'Jones';\n },\n \n fullName: computed('firstName', 'lastName', function() {\n return `${this.get('firstName')} ${this.get('lastName')}`;\n })\n });\n \n let client = Person.create();\n \n client.get('fullName'); // 'Betty Jones'\n \n client.set('lastName', 'Fuller');\n client.get('fullName'); // 'Betty Fuller'\n ```\n \n You can pass a hash with two functions, `get` and `set`, as an\n argument to provide both a getter and setter:\n \n ```js\n import EmberObject, { computed } from '@ember/object';\n \n let Person = EmberObject.extend({\n init() {\n this._super(...arguments);\n \n this.firstName = 'Betty';\n this.lastName = 'Jones';\n },\n \n fullName: computed('firstName', 'lastName', {\n get(key) {\n return `${this.get('firstName')} ${this.get('lastName')}`;\n },\n set(key, value) {\n let [firstName, lastName] = value.split(/\\s+/);\n this.setProperties({ firstName, lastName });\n return value;\n }\n })\n });\n \n let client = Person.create();\n client.get('firstName'); // 'Betty'\n \n client.set('fullName', 'Carroll Fuller');\n client.get('firstName'); // 'Carroll'\n ```\n \n The `set` function should accept two parameters, `key` and `value`. The value\n returned from `set` will be the new value of the property.\n \n _Note: This is the preferred way to define computed properties when writing third-party\n libraries that depend on or use Ember, since there is no guarantee that the user\n will have [prototype Extensions](https://guides.emberjs.com/release/configuring-ember/disabling-prototype-extensions/) enabled._\n \n The alternative syntax, with prototype extensions, might look like:\n \n ```js\n fullName: function() {\n return this.get('firstName') + ' ' + this.get('lastName');\n }.property('firstName', 'lastName')\n ```\n \n @method computed\n @for @ember/object\n @static\n @param {String} [dependentKeys*] Optional dependent keys that trigger this computed property.\n @param {Function} func The computed property function.\n @return {ComputedProperty} property descriptor instance\n @public\n */\n function computed() {\n for (_len3 = arguments.length, args = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n var func = args.pop(),\n _len3,\n args,\n _key3;\n var cp = new ComputedProperty(func);\n if (args.length > 0) {\n cp.property.apply(cp, args);\n }\n return cp;\n }\n // used for the Ember.computed global only\n var _globalsComputed = computed.bind(null);\n\n var CONSUMED = Object.freeze({});\n\n\n var AliasedProperty = function (_Descriptor2) {\n (0, _emberBabel.inherits)(AliasedProperty, _Descriptor2);\n\n function AliasedProperty(altKey) {\n\n var _this2 = (0, _emberBabel.possibleConstructorReturn)(this, _Descriptor2.call(this));\n\n _this2.altKey = altKey;\n _this2._dependentKeys = [altKey];\n return _this2;\n }\n\n AliasedProperty.prototype.setup = function (obj, keyName) {\n false && !(this.altKey !== keyName) && (0, _debug.assert)('Setting alias \\'' + keyName + '\\' on self', this.altKey !== keyName);\n\n var meta$$1 = (0, _emberMeta.meta)(obj);\n if (meta$$1.peekWatching(keyName) > 0) {\n this.consume(obj, keyName, meta$$1);\n }\n };\n\n AliasedProperty.prototype.teardown = function (obj, keyName, meta$$1) {\n this.unconsume(obj, keyName, meta$$1);\n };\n\n AliasedProperty.prototype.willWatch = function (obj, keyName, meta$$1) {\n this.consume(obj, keyName, meta$$1);\n };\n\n AliasedProperty.prototype.didUnwatch = function (obj, keyName, meta$$1) {\n this.unconsume(obj, keyName, meta$$1);\n };\n\n AliasedProperty.prototype.get = function (obj, keyName) {\n var ret = _get(obj, this.altKey);\n this.consume(obj, keyName, (0, _emberMeta.meta)(obj));\n return ret;\n };\n\n AliasedProperty.prototype.unconsume = function (obj, keyName, meta$$1) {\n var wasConsumed = getCachedValueFor(obj, keyName) === CONSUMED;\n if (wasConsumed || meta$$1.peekWatching(keyName) > 0) {\n removeDependentKeys(this, obj, keyName, meta$$1);\n }\n if (wasConsumed) {\n getCacheFor(obj).delete(keyName);\n }\n };\n\n AliasedProperty.prototype.consume = function (obj, keyName, meta$$1) {\n var cache = getCacheFor(obj);\n if (cache.get(keyName) !== CONSUMED) {\n cache.set(keyName, CONSUMED);\n addDependentKeys(this, obj, keyName, meta$$1);\n }\n };\n\n AliasedProperty.prototype.set = function (obj, _keyName, value) {\n return _set2(obj, this.altKey, value);\n };\n\n AliasedProperty.prototype.readOnly = function () {\n this.set = AliasedProperty_readOnlySet;\n return this;\n };\n\n AliasedProperty.prototype.oneWay = function () {\n this.set = AliasedProperty_oneWaySet;\n return this;\n };\n\n return AliasedProperty;\n }(Descriptor);\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, _emberUtils.inspect)(obj));\n }\n function AliasedProperty_oneWaySet(obj, keyName, value) {\n defineProperty(obj, keyName, null);\n return _set2(obj, keyName, value);\n }\n // Backwards compatibility with Ember Data.\n AliasedProperty.prototype._meta = undefined;\n AliasedProperty.prototype.meta = ComputedProperty.prototype.meta;\n\n /**\n @module ember\n */\n /**\n Used internally to allow changing properties in a backwards compatible way, and print a helpful\n deprecation warning.\n \n @method deprecateProperty\n @param {Object} object The object to add the deprecated property to.\n @param {String} deprecatedKey The property to add (and print deprecation warnings upon accessing).\n @param {String} newKey The property that will be aliased.\n @private\n @since 1.7.0\n */\n\n\n /**\n @module @ember/utils\n */\n /**\n Returns true if the passed value is null or undefined. This avoids errors\n from JSLint complaining about use of ==, which can be technically\n confusing.\n \n ```javascript\n isNone(); // 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 /**\n @module @ember/utils\n */\n /**\n Verifies that a value is `null` or `undefined`, an empty string, or an empty\n array.\n \n Constrains the rules on `isNone` by returning true for empty strings and\n empty arrays.\n \n If the value is an object with a `size` property of type number, it is used\n to check emptiness.\n \n ```javascript\n isEmpty(); // 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 function isEmpty(obj) {\n var none = obj === null || obj === undefined,\n size,\n length;\n if (none) {\n return none;\n }\n if (typeof obj.size === 'number') {\n return !obj.size;\n }\n var objectType = typeof obj;\n if (objectType === 'object') {\n size = _get(obj, 'size');\n\n if (typeof size === 'number') {\n return !size;\n }\n }\n if (typeof obj.length === 'number' && objectType !== 'function') {\n return !obj.length;\n }\n if (objectType === 'object') {\n length = _get(obj, 'length');\n\n if (typeof length === 'number') {\n return !length;\n }\n }\n return false;\n }\n\n /**\n @module @ember/utils\n */\n /**\n A value is blank if it is empty or a whitespace string.\n \n ```javascript\n import { isBlank } from '@ember/utils';\n \n isBlank(); // 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 function isBlank(obj) {\n return isEmpty(obj) || typeof obj === 'string' && /\\S/.test(obj) === false;\n }\n\n /**\n @module @ember/utils\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(false); // 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 /**\n @module ember\n */\n /**\n Helper class that allows you to register your library with Ember.\n \n Singleton created at `Ember.libraries`.\n \n @class Libraries\n @constructor\n @private\n */\n\n var Libraries = function () {\n function Libraries() {\n\n this._registry = [];\n this._coreLibIndex = 0;\n }\n\n Libraries.prototype._getLibraryByName = function (name) {\n var libs = this._registry,\n i;\n var count = libs.length;\n for (i = 0; i < count; i++) {\n if (libs[i].name === name) {\n return libs[i];\n }\n }\n return undefined;\n };\n\n Libraries.prototype.register = function (name, version, isCoreLibrary) {\n var index = this._registry.length;\n if (!this._getLibraryByName(name)) {\n if (isCoreLibrary) {\n index = this._coreLibIndex++;\n }\n this._registry.splice(index, 0, { name: name, version: version });\n } else {\n false && (0, _debug.warn)('Library \"' + name + '\" is already registered with Ember.', false, {\n id: 'ember-metal.libraries-register'\n });\n }\n };\n\n Libraries.prototype.registerCoreLibrary = function (name, version) {\n this.register(name, version, true);\n };\n\n Libraries.prototype.deRegister = function (name) {\n var lib = this._getLibraryByName(name);\n var index = void 0;\n if (lib) {\n index = this._registry.indexOf(lib);\n this._registry.splice(index, 1);\n }\n };\n\n return Libraries;\n }();\n\n var LIBRARIES = new Libraries();\n LIBRARIES.registerCoreLibrary('Ember', _version.default);\n\n /**\n @module @ember/object\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\n /**\n @module @ember/object\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 // 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 var hasOwnProperty = Object.prototype.hasOwnProperty;\n var searchDisabled = false;\n var flags = {\n _set: 0,\n _unprocessedNamespaces: false,\n get unprocessedNamespaces() {\n return this._unprocessedNamespaces;\n },\n set unprocessedNamespaces(v) {\n this._set++;\n this._unprocessedNamespaces = v;\n }\n };\n var unprocessedMixins = false;\n var NAMESPACES = [];\n var NAMESPACES_BY_ID = Object.create(null);\n\n function removeNamespace(namespace) {\n var name = (0, _emberUtils.getName)(namespace);\n delete NAMESPACES_BY_ID[name];\n NAMESPACES.splice(NAMESPACES.indexOf(namespace), 1);\n if (name in _emberEnvironment.context.lookup && namespace === _emberEnvironment.context.lookup[name]) {\n _emberEnvironment.context.lookup[name] = undefined;\n }\n }\n function findNamespaces() {\n if (!flags.unprocessedNamespaces) {\n return;\n }\n var lookup = _emberEnvironment.context.lookup,\n i,\n key,\n obj;\n var keys = Object.keys(lookup);\n for (i = 0; i < keys.length; i++) {\n key = keys[i];\n // Only process entities that start with uppercase A-Z\n\n if (!isUppercase(key.charCodeAt(0))) {\n continue;\n }\n obj = tryIsNamespace(lookup, key);\n\n if (obj) {\n (0, _emberUtils.setName)(obj, key);\n }\n }\n }\n function findNamespace(name) {\n if (!searchDisabled) {\n processAllNamespaces();\n }\n return NAMESPACES_BY_ID[name];\n }\n function processNamespace(namespace) {\n _processNamespace([namespace.toString()], namespace, new Set());\n }\n function processAllNamespaces() {\n var unprocessedNamespaces = flags.unprocessedNamespaces,\n namespaces,\n i;\n if (unprocessedNamespaces) {\n findNamespaces();\n flags.unprocessedNamespaces = false;\n }\n if (unprocessedNamespaces || unprocessedMixins) {\n namespaces = NAMESPACES;\n\n for (i = 0; i < namespaces.length; i++) {\n processNamespace(namespaces[i]);\n }\n unprocessedMixins = false;\n }\n }\n function classToString() {\n var name = (0, _emberUtils.getName)(this);\n if (name !== void 0) {\n return name;\n }\n name = calculateToString(this);\n (0, _emberUtils.setName)(this, name);\n return name;\n }\n function isSearchDisabled() {\n return searchDisabled;\n }\n\n function setUnprocessedMixins() {\n unprocessedMixins = true;\n }\n function _processNamespace(paths, root, seen) {\n var idx = paths.length,\n obj;\n var id = paths.join('.');\n NAMESPACES_BY_ID[id] = root;\n (0, _emberUtils.setName)(root, id);\n // Loop over all of the keys in the namespace, looking for classes\n for (var key in root) {\n if (!hasOwnProperty.call(root, key)) {\n continue;\n }\n obj = root[key];\n // If we are processing the `Ember` namespace, for example, the\n // `paths` will start with `[\"Ember\"]`. Every iteration through\n // the loop will update the **second** element of this list with\n // the key, so processing `Ember.View` will make the Array\n // `['Ember', 'View']`.\n\n paths[idx] = key;\n // If we have found an unprocessed class\n if (obj && obj.toString === classToString && (0, _emberUtils.getName)(obj) === void 0) {\n // Replace the class' `toString` with the dot-separated path\n (0, _emberUtils.setName)(obj, paths.join('.'));\n // Support nested namespaces\n } else if (obj && obj.isNamespace) {\n // Skip aliased namespaces\n if (seen.has(obj)) {\n continue;\n }\n seen.add(obj);\n // Process the child namespace\n _processNamespace(paths, obj, seen);\n }\n }\n paths.length = idx; // cut out last item\n }\n function isUppercase(code) {\n return code >= 65 && code <= 90 // A\n ; // Z\n }\n function tryIsNamespace(lookup, prop) {\n var obj;\n\n try {\n obj = lookup[prop];\n\n return (obj !== null && typeof obj === 'object' || typeof obj === 'function') && obj.isNamespace && obj;\n } catch (e) {\n // continue\n }\n }\n function calculateToString(target) {\n var str = void 0,\n superclass;\n if (!searchDisabled) {\n processAllNamespaces();\n str = (0, _emberUtils.getName)(target);\n if (str !== void 0) {\n return str;\n }\n superclass = target;\n\n do {\n superclass = Object.getPrototypeOf(superclass);\n if (superclass === Function.prototype || superclass === Object.prototype) {\n break;\n }\n str = (0, _emberUtils.getName)(target);\n if (str !== void 0) {\n str = '(subclass of ' + str + ')';\n break;\n }\n } while (str === void 0);\n }\n return str || '(unknown)';\n }\n\n /**\n @module @ember/object\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 var CONTINUE = {};\n function mixinProperties(mixinsMeta, mixin) {\n if (mixin instanceof Mixin) {\n if (mixinsMeta.hasMixin(mixin)) {\n return CONTINUE;\n }\n mixinsMeta.addMixin(mixin);\n return mixin.properties;\n } else {\n return mixin; // apply anonymous mixin properties\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 if (props[concatProp]) {\n concats = concats ? a_concat.call(concats, props[concatProp]) : props[concatProp];\n }\n return concats;\n }\n function giveDescriptorSuper(meta$$1, key, property, values, descs, base) {\n var superProperty = void 0;\n // Computed properties override methods, and do not call super to them\n if (values[key] === undefined) {\n // Find the original descriptor in a parent mixin\n superProperty = descs[key];\n }\n // If we didn't find the original descriptor in a parent mixin, find\n // it on the original object.\n if (!superProperty) {\n superProperty = (0, _emberMeta.descriptorFor)(base, key, meta$$1);\n }\n if (superProperty === undefined || !(superProperty instanceof ComputedProperty)) {\n return property;\n }\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 property = Object.create(property);\n property._getter = (0, _emberUtils.wrap)(property._getter, superProperty._getter);\n if (superProperty._setter) {\n if (property._setter) {\n property._setter = (0, _emberUtils.wrap)(property._setter, superProperty._setter);\n } else {\n property._setter = superProperty._setter;\n }\n }\n return property;\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 }\n // Find the original method in a parent mixin\n var superMethod = values[key];\n // If we didn't find the original value in a parent mixin, find it in\n // the original object\n if (superMethod === undefined && (0, _emberMeta.descriptorFor)(obj, key) === undefined) {\n superMethod = obj[key];\n }\n // Only wrap the new method if the original method was a function\n if (typeof superMethod === 'function') {\n return (0, _emberUtils.wrap)(method, superMethod);\n }\n return method;\n }\n function applyConcatenatedProperties(obj, key, value, values) {\n var baseValue = values[key] || obj[key];\n var ret = (0, _emberUtils.makeArray)(baseValue).concat((0, _emberUtils.makeArray)(value));\n\n return ret;\n }\n function applyMergedProperties(obj, key, value, values) {\n var baseValue = values[key] || obj[key],\n propValue;\n false && !!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 var newBase = (0, _polyfills.assign)({}, baseValue);\n var hasFunction = false;\n for (var prop in value) {\n if (!value.hasOwnProperty(prop)) {\n continue;\n }\n 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 if (hasFunction) {\n newBase._super = _emberUtils.ROOT;\n }\n return newBase;\n }\n function addNormalizedProperty(base, key, value, meta$$1, descs, values, concats, mergings) {\n if (value instanceof Descriptor) {\n // Wrap descriptor function to implement\n // _super() if needed\n if (value._getter) {\n value = giveDescriptorSuper(meta$$1, key, value, values, descs, base);\n }\n descs[key] = value;\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 descs[key] = undefined;\n values[key] = value;\n }\n }\n function mergeMixins(mixins, meta$$1, descs, values, base, keys) {\n var currentMixin = void 0,\n props = void 0,\n key = void 0,\n concats = void 0,\n mergings = void 0,\n i;\n function removeKeys(keyName) {\n delete descs[keyName];\n delete values[keyName];\n }\n for (i = 0; i < mixins.length; i++) {\n currentMixin = mixins[i];\n false && !(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\n props = mixinProperties(meta$$1, currentMixin);\n if (props === CONTINUE) {\n continue;\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 concats = concatenatedMixinProperties('concatenatedProperties', props, values, base);\n mergings = concatenatedMixinProperties('mergedProperties', props, values, base);\n for (key in props) {\n if (!props.hasOwnProperty(key)) {\n continue;\n }\n keys.push(key);\n addNormalizedProperty(base, key, props[key], meta$$1, descs, values, concats, mergings);\n }\n // manually copy toString() because some JS engines do not enumerate it\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 if (currentMixin._without) {\n currentMixin._without.forEach(removeKeys);\n }\n }\n }\n }\n function followAlias(obj, desc, descs, values) {\n var altKey = desc.methodName;\n var value = void 0;\n var possibleDesc = void 0;\n if (descs[altKey] || values[altKey]) {\n value = values[altKey];\n desc = descs[altKey];\n } else if ((possibleDesc = (0, _emberMeta.descriptorFor)(obj, altKey)) !== undefined) {\n desc = possibleDesc;\n value = undefined;\n } else {\n desc = undefined;\n value = obj[altKey];\n }\n return { desc: desc, value: value };\n }\n function updateObserversAndListeners(obj, key, paths, updateMethod) {\n var i;\n\n if (paths) {\n for (i = 0; i < paths.length; i++) {\n updateMethod(obj, paths[i], null, key);\n }\n }\n }\n function replaceObserversAndListeners(obj, key, prev, next) {\n if (typeof prev === 'function') {\n updateObserversAndListeners(obj, key, (0, _emberUtils.getObservers)(prev), removeObserver);\n updateObserversAndListeners(obj, key, (0, _emberUtils.getListeners)(prev), removeListener);\n }\n if (typeof next === 'function') {\n updateObserversAndListeners(obj, key, (0, _emberUtils.getObservers)(next), addObserver);\n updateObserversAndListeners(obj, key, (0, _emberUtils.getListeners)(next), addListener);\n }\n }\n function applyMixin(obj, mixins, partial) {\n var descs = {},\n i,\n followed;\n var values = {};\n var meta$$1 = (0, _emberMeta.meta)(obj);\n var keys = [];\n var key = void 0,\n value = void 0,\n desc = void 0;\n obj._super = _emberUtils.ROOT;\n // Go through all mixins and hashes passed in, and:\n //\n // * Handle concatenated properties\n // * Handle merged properties\n // * Set up _super wrapping if necessary\n // * Set up computed property descriptors\n // * Copying `toString` in broken browsers\n mergeMixins(mixins, meta$$1, descs, values, obj, keys);\n for (i = 0; i < keys.length; i++) {\n key = keys[i];\n if (key === 'constructor' || !values.hasOwnProperty(key)) {\n continue;\n }\n desc = descs[key];\n value = values[key];\n while (desc && desc instanceof Alias) {\n followed = followAlias(obj, desc, descs, values);\n\n desc = followed.desc;\n value = followed.value;\n }\n if (desc === undefined && value === undefined) {\n continue;\n }\n if ((0, _emberMeta.descriptorFor)(obj, key) !== undefined) {\n replaceObserversAndListeners(obj, key, null, value);\n } else {\n replaceObserversAndListeners(obj, key, obj[key], value);\n }\n if (_deprecatedFeatures.BINDING_SUPPORT && _emberEnvironment.ENV._ENABLE_BINDING_SUPPORT && typeof Mixin.detectBinding === 'function' && Mixin.detectBinding(key)) {\n meta$$1.writeBindings(key, value);\n }\n defineProperty(obj, key, desc, value, meta$$1);\n }\n if (_deprecatedFeatures.BINDING_SUPPORT && _emberEnvironment.ENV._ENABLE_BINDING_SUPPORT && !partial && typeof Mixin.finishPartial === 'function') {\n Mixin.finishPartial(obj, meta$$1);\n }\n return obj;\n }\n /**\n @method mixin\n @param obj\n @param mixins*\n @return obj\n @private\n */\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 var Mixin = function () {\n function Mixin(mixins, properties) {\n\n this.properties = properties;\n this.mixins = buildMixinsArray(mixins);\n this.ownerConstructor = undefined;\n this._without = undefined;\n }\n /**\n @method create\n @for @ember/object/mixin\n @static\n @param arguments*\n @public\n */\n\n Mixin.create = function () {\n // ES6TODO: this relies on a global state?\n setUnprocessedMixins();\n var M = this,\n _len5,\n args,\n _key5;\n\n for (_len5 = arguments.length, args = Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {\n args[_key5] = arguments[_key5];\n }\n\n return new M(args, undefined);\n };\n\n Mixin.mixins = function (obj) {\n var meta$$1 = (0, _emberMeta.peekMeta)(obj);\n var ret = [];\n if (meta$$1 === undefined) {\n return ret;\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 Mixin.prototype.reopen = function () {\n var _len6, args, _key6, currentMixin;\n\n for (_len6 = arguments.length, args = Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {\n args[_key6] = arguments[_key6];\n }\n\n if (args.length === 0) {\n return;\n }\n if (this.properties) {\n currentMixin = new Mixin(undefined, this.properties);\n\n this.properties = undefined;\n this.mixins = [currentMixin];\n } else if (!this.mixins) {\n this.mixins = [];\n }\n this.mixins = this.mixins.concat(buildMixinsArray(args));\n return this;\n };\n\n Mixin.prototype.apply = function (obj) {\n return applyMixin(obj, [this], false);\n };\n\n Mixin.prototype.applyPartial = function (obj) {\n return applyMixin(obj, [this], true);\n };\n\n Mixin.prototype.detect = function (obj) {\n if (typeof obj !== 'object' || obj === null) {\n return false;\n }\n if (obj instanceof Mixin) {\n return _detect(obj, this);\n }\n var meta$$1 = (0, _emberMeta.peekMeta)(obj);\n if (meta$$1 === undefined) {\n return false;\n }\n return meta$$1.hasMixin(this);\n };\n\n Mixin.prototype.without = function () {\n var ret = new Mixin([this]),\n _len7,\n args,\n _key7;\n\n for (_len7 = arguments.length, args = Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {\n args[_key7] = arguments[_key7];\n }\n\n ret._without = args;\n return ret;\n };\n\n Mixin.prototype.keys = function () {\n return _keys(this);\n };\n\n Mixin.prototype.toString = function () {\n return '(unknown mixin)';\n };\n\n return Mixin;\n }();\n\n function buildMixinsArray(mixins) {\n var length = mixins && mixins.length || 0,\n i,\n x;\n var m = undefined;\n if (length > 0) {\n m = new Array(length);\n for (i = 0; i < length; i++) {\n x = mixins[i];\n\n false && !(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 return m;\n }\n if (_deprecatedFeatures.BINDING_SUPPORT && _emberEnvironment.ENV._ENABLE_BINDING_SUPPORT) {\n // slotting this so that the legacy addon can add the function here\n // without triggering an error due to the Object.seal done below\n Mixin.finishPartial = null;\n Mixin.detectBinding = null;\n }\n Mixin.prototype.toString = classToString;\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 seen.add(curMixin);\n if (curMixin === targetMixin) {\n return true;\n }\n var mixins = curMixin.mixins;\n if (mixins) {\n return mixins.some(function (mixin) {\n return _detect(mixin, targetMixin, seen);\n });\n }\n return false;\n }\n function _keys(mixin) {\n var ret = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Set(),\n props,\n i;\n var seen = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : new Set();\n\n if (seen.has(mixin)) {\n return;\n }\n seen.add(mixin);\n if (mixin.properties) {\n props = Object.keys(mixin.properties);\n\n for (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 return ret;\n }\n\n var Alias = function (_Descriptor3) {\n (0, _emberBabel.inherits)(Alias, _Descriptor3);\n\n function Alias(methodName) {\n\n var _this3 = (0, _emberBabel.possibleConstructorReturn)(this, _Descriptor3.call(this));\n\n _this3.methodName = methodName;\n return _this3;\n }\n\n Alias.prototype.teardown = function () {\n throw new Error('Method not implemented.');\n };\n\n Alias.prototype.get = function () {\n throw new Error('Method not implemented.');\n };\n\n Alias.prototype.set = function () {\n throw new Error('Method not implemented.');\n };\n\n return Alias;\n }(Descriptor);\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 @for @ember/object\n @param {String} methodName name of the method to alias\n @public\n */\n\n // ..........................................................\n // OBSERVER HELPER\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 /**\n @module ember\n @private\n */\n /**\n Read-only property that returns the result of a container lookup.\n \n @class InjectedProperty\n @namespace Ember\n @constructor\n @param {String} type The container type the property will lookup\n @param {String} name (optional) The name the property will lookup, defaults\n to the property's name\n @private\n */\n\n var InjectedProperty = function (_ComputedProperty) {\n (0, _emberBabel.inherits)(InjectedProperty, _ComputedProperty);\n\n function InjectedProperty(type, name) {\n\n var _this4 = (0, _emberBabel.possibleConstructorReturn)(this, _ComputedProperty.call(this, injectedPropertyGet));\n\n _this4.type = type;\n _this4.name = name;\n\n return _this4;\n }\n\n return InjectedProperty;\n }(ComputedProperty);\n\n function injectedPropertyGet(keyName) {\n var desc = (0, _emberMeta.descriptorFor)(this, keyName);\n var owner = (0, _emberOwner.getOwner)(this) || this.container; // fallback to `container` for backwards compat\n false && !(desc && desc.type) && (0, _debug.assert)('InjectedProperties should be defined with the inject computed property macros.', desc && desc.type);\n false && !!!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.', !!owner);\n\n var specifier = desc.type + ':' + (desc.name || keyName);\n return owner.lookup(specifier, {\n source: desc.source,\n namespace: desc.namespace\n });\n }\n\n /**\n A wrapper for a native ES5 descriptor. In an ideal world, we wouldn't need\n this at all, however, the way we currently flatten/merge our mixins require\n a special value to denote a descriptor.\n \n @class Descriptor\n @private\n */\n\n var Descriptor$1 = function (_Descriptor4) {\n (0, _emberBabel.inherits)(Descriptor$1, _Descriptor4);\n\n function Descriptor$1(desc) {\n\n var _this5 = (0, _emberBabel.possibleConstructorReturn)(this, _Descriptor4.call(this));\n\n _this5.desc = desc;\n _this5.enumerable = desc.enumerable !== false;\n return _this5;\n }\n\n Descriptor$1.prototype.setup = function (obj, key) {\n Object.defineProperty(obj, key, this.desc);\n };\n\n Descriptor$1.prototype.get = function (obj, key) {\n return obj[key];\n };\n\n Descriptor$1.prototype.set = function (obj, key, value) {\n return obj[key] = value;\n };\n\n return Descriptor$1;\n }(Descriptor);\n\n exports.computed = computed;\n exports.ComputedProperty = ComputedProperty;\n exports._globalsComputed = _globalsComputed;\n exports.getCacheFor = getCacheFor;\n exports.getCachedValueFor = getCachedValueFor;\n exports.peekCacheFor = peekCacheFor;\n exports.alias = function (altKey) {\n return new AliasedProperty(altKey);\n };\n exports.deprecateProperty = function (object, deprecatedKey, newKey, options) {\n function _deprecate() {\n false && !false && (0, _debug.deprecate)('Usage of `' + deprecatedKey + '` is deprecated, use `' + newKey + '` instead.', false, options);\n }\n Object.defineProperty(object, deprecatedKey, {\n configurable: true,\n enumerable: false,\n set: function (value) {\n _deprecate();\n _set2(this, newKey, value);\n },\n get: function () {\n _deprecate();\n return _get(this, newKey);\n }\n });\n };\n exports.PROXY_CONTENT = PROXY_CONTENT;\n exports._getPath = _getPath;\n exports.get = _get;\n exports.getWithDefault = function (root, key, defaultValue) {\n var value = _get(root, key);\n if (value === undefined) {\n return defaultValue;\n }\n return value;\n };\n exports.set = _set2;\n exports.trySet = function (root, path, value) {\n return _set2(root, path, value, true);\n };\n exports.objectAt = objectAt;\n exports.replace = function (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 exports.replaceInNativeArray = replaceInNativeArray;\n exports.addArrayObserver = function (array, target, opts) {\n return arrayObserversHelper(array, target, opts, addListener, false);\n };\n exports.removeArrayObserver = function (array, target, opts) {\n return arrayObserversHelper(array, target, opts, removeListener, true);\n };\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 = function (obj, eventName) {\n var meta$$1 = (0, _emberMeta.peekMeta)(obj);\n if (meta$$1 === undefined) {\n return false;\n }\n var matched = meta$$1.matchingListeners(eventName);\n return matched !== undefined && matched.length > 0;\n };\n exports.on = function () {\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var func = args.pop(),\n _len,\n args,\n _key;\n var events = args;\n false && !(typeof func === 'function') && (0, _debug.assert)('on expects function as last argument', typeof func === 'function');\n false && !(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\n (0, _emberUtils.setListeners)(func, events);\n return func;\n };\n exports.removeListener = removeListener;\n exports.sendEvent = sendEvent;\n exports.isNone = function (obj) {\n return obj === null || obj === undefined;\n };\n exports.isEmpty = isEmpty;\n exports.isBlank = isBlank;\n exports.isPresent = function (obj) {\n return !isBlank(obj);\n };\n exports.beginPropertyChanges = beginPropertyChanges;\n exports.changeProperties = changeProperties;\n exports.endPropertyChanges = endPropertyChanges;\n exports.notifyPropertyChange = notifyPropertyChange;\n exports.overrideChains = overrideChains;\n exports.propertyDidChange = propertyDidChange;\n exports.propertyWillChange = propertyWillChange;\n exports.PROPERTY_DID_CHANGE = PROPERTY_DID_CHANGE$1;\n exports.defineProperty = defineProperty;\n exports.Descriptor = Descriptor;\n exports.watchKey = watchKey;\n exports.unwatchKey = unwatchKey;\n exports.ChainNode = ChainNode;\n exports.finishChains = function (meta$$1) {\n // finish any current chains node watchers that reference obj\n var chainWatchers = meta$$1.readableChainWatchers();\n if (chainWatchers !== undefined) {\n chainWatchers.revalidateAll();\n }\n // ensure that if we have inherited any chains they have been\n // copied onto our own meta.\n if (meta$$1.readableChains() !== undefined) {\n meta$$1.writableChains(makeChainNode);\n }\n };\n exports.removeChainWatcher = removeChainWatcher;\n exports.watchPath = watchPath;\n exports.unwatchPath = unwatchPath;\n exports.isWatching = function (obj, key) {\n return watcherCount(obj, key) > 0;\n };\n exports.unwatch = unwatch;\n exports.watch = watch;\n exports.watcherCount = watcherCount;\n exports.libraries = LIBRARIES;\n exports.Libraries = Libraries;\n exports.getProperties = function (obj) {\n var ret = {};\n var propertyNames = arguments;\n var i = 1;\n if (arguments.length === 2 && Array.isArray(arguments[1])) {\n i = 0;\n propertyNames = arguments[1];\n }\n for (; i < propertyNames.length; i++) {\n ret[propertyNames[i]] = _get(obj, propertyNames[i]);\n }\n return ret;\n };\n exports.setProperties = function (obj, properties) {\n if (properties === null || typeof properties !== 'object') {\n return properties;\n }\n changeProperties(function () {\n var props = Object.keys(properties),\n i;\n var propertyName = void 0;\n for (i = 0; i < props.length; i++) {\n propertyName = props[i];\n _set2(obj, propertyName, properties[propertyName]);\n }\n });\n return properties;\n };\n exports.expandProperties = expandProperties;\n exports.addObserver = addObserver;\n exports.removeObserver = removeObserver;\n exports.Mixin = Mixin;\n exports.aliasMethod = function (methodName) {\n return new Alias(methodName);\n };\n exports.mixin = function (obj) {\n var _len4, args, _key4;\n\n for (_len4 = arguments.length, args = Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {\n args[_key4 - 1] = arguments[_key4];\n }\n\n applyMixin(obj, args, false);\n return obj;\n };\n exports.observer = function () {\n for (_len8 = arguments.length, args = Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {\n args[_key8] = arguments[_key8];\n }\n\n var func = args.pop(),\n _len8,\n args,\n _key8,\n i;\n var _paths = args;\n false && !(typeof func === 'function') && (0, _debug.assert)('observer called without a function', typeof func === 'function');\n false && !(_paths.length > 0 && _paths.every(function (p) {\n return typeof p === 'string' && !!p.length;\n })) && (0, _debug.assert)('observer called without valid path', _paths.length > 0 && _paths.every(function (p) {\n return typeof p === 'string' && !!p.length;\n }));\n\n var paths = [];\n var addWatchedProperty = function (path) {\n return paths.push(path);\n };\n for (i = 0; i < _paths.length; ++i) {\n expandProperties(_paths[i], addWatchedProperty);\n }\n (0, _emberUtils.setObservers)(func, paths);\n return func;\n };\n exports.applyMixin = applyMixin;\n exports.InjectedProperty = InjectedProperty;\n exports.setHasViews = function (fn) {\n hasViews = fn;\n };\n exports.tagForProperty = tagForProperty;\n exports.tagFor = tagFor;\n exports.markObjectAsDirty = markObjectAsDirty;\n exports.runInTransaction = runInTransaction;\n exports.didRender = void 0;\n exports.assertNotRendered = void 0;\n exports.descriptor = function (desc) {\n return new Descriptor$1(desc);\n };\n exports.tracked = tracked;\n exports.NAMESPACES = NAMESPACES;\n exports.NAMESPACES_BY_ID = NAMESPACES_BY_ID;\n exports.addNamespace = function (namespace) {\n flags.unprocessedNamespaces = true;\n NAMESPACES.push(namespace);\n };\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 = function (flag) {\n searchDisabled = !!flag;\n };\n});","enifed('ember-owner/index', ['exports', 'ember-utils'], function (exports, _emberUtils) {\n 'use strict';\n\n exports.OWNER = undefined;\n exports.getOwner =\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 @module @ember/application\n */\n function (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 exports.setOwner = function (object, owner) {\n object[OWNER] = owner;\n };\n var OWNER = exports.OWNER = (0, _emberUtils.symbol)('OWNER');\n});","enifed('ember-routing/index', ['exports', 'ember-routing/lib/location/api', 'ember-routing/lib/location/none_location', 'ember-routing/lib/location/hash_location', 'ember-routing/lib/location/history_location', 'ember-routing/lib/location/auto_location', 'ember-routing/lib/system/generate_controller', 'ember-routing/lib/system/controller_for', 'ember-routing/lib/system/dsl', 'ember-routing/lib/system/router', 'ember-routing/lib/system/route', 'ember-routing/lib/system/query_params', 'ember-routing/lib/services/routing', 'ember-routing/lib/services/router', 'ember-routing/lib/system/cache', 'ember-routing/lib/ext/controller'], function (exports, _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 exports.BucketCache = exports.RouterService = exports.RoutingService = exports.QueryParams = exports.Route = exports.Router = exports.RouterDSL = exports.controllerFor = exports.generateControllerFactory = exports.generateController = exports.AutoLocation = exports.HistoryLocation = exports.HashLocation = exports.NoneLocation = exports.Location = undefined;\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-routing/lib/ext/controller', ['exports', 'ember-metal', '@ember/controller/lib/controller_mixin', 'ember-routing/lib/utils'], function (exports, _emberMetal, _controller_mixin, _utils) {\n 'use strict';\n\n /**\n @module ember\n */\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 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, _qpChanged: function (controller, _prop) {\n var prop = _prop.substr(0, _prop.length - 3);\n\n var delegate = controller._qpDelegate;\n var value = (0, _emberMetal.get)(controller, prop);\n delegate(prop, value);\n },\n transitionToRoute: function () {\n // target may be either another controller or a router\n var target = (0, _emberMetal.get)(this, 'target'),\n _len,\n args,\n _key;\n var method = target.transitionToRoute || target.transitionTo;\n\n for (_len = arguments.length, args = 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 replaceRoute: function () {\n // target may be either another controller or a router\n var target = (0, _emberMetal.get)(this, 'target'),\n _len2,\n args,\n _key2;\n var method = target.replaceRoute || target.replaceWith;\n\n for (_len2 = arguments.length, args = 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 exports.default = _controller_mixin.default;\n});","enifed('ember-routing/lib/location/api', ['exports', '@ember/debug', 'ember-browser-environment', 'ember-routing/lib/location/util'], function (exports, _debug, _emberBrowserEnvironment, _util) {\n 'use strict';\n\n exports.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 false && !!!implementation && (0, _debug.assert)(\"Location.create: you must specify a 'implementation' option\", !!implementation);\n\n var implementationClass = this.implementations[implementation];\n false && !!!implementationClass && (0, _debug.assert)('Location.create: ' + implementation + ' is not a valid implementation', !!implementationClass);\n\n return implementationClass.create.apply(implementationClass, arguments);\n },\n\n implementations: {},\n _location: _emberBrowserEnvironment.location,\n\n /**\n Returns the current `location.hash` by parsing location.href since browsers\n inconsistently URL-decode `location.hash`.\n https://bugzilla.mozilla.org/show_bug.cgi?id=483304\n @private\n @method getHash\n @since 1.4.0\n */\n _getHash: function () {\n return (0, _util.getHash)(this.location);\n }\n };\n});","enifed('ember-routing/lib/location/auto_location', ['exports', 'ember-owner', 'ember-utils', 'ember-metal', '@ember/debug', 'ember-runtime', 'ember-browser-environment', 'ember-routing/lib/location/util'], function (exports, _emberOwner, _emberUtils, _emberMetal, _debug, _emberRuntime, _emberBrowserEnvironment, _util) {\n 'use strict';\n\n exports.getHistoryPath = getHistoryPath;\n exports.getHashPath = getHashPath;\n exports.default = _emberRuntime.Object.extend({\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: _emberBrowserEnvironment.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: _emberBrowserEnvironment.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: _emberBrowserEnvironment.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: _emberBrowserEnvironment.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 @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\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 detect: function () {\n var rootURL = this.rootURL;\n\n false && !(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 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, _emberMetal.set)(this, 'cancelRouterSetup', true);\n implementation = 'none';\n }\n\n var concrete = (0, _emberOwner.getOwner)(this).lookup('location:' + implementation);\n (0, _emberMetal.set)(concrete, 'rootURL', rootURL);\n\n false && !!!concrete && (0, _debug.assert)('Could not find location \\'' + implementation + '\\'.', !!concrete);\n\n (0, _emberMetal.set)(this, 'concreteImplementation', concrete);\n },\n\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 willDestroy: function () {\n var concreteImplementation = (0, _emberMetal.get)(this, 'concreteImplementation');\n\n if (concreteImplementation) {\n concreteImplementation.destroy();\n }\n }\n });\n\n function delegateToConcreteImplementation(methodName) {\n return function () {\n var concreteImplementation = (0, _emberMetal.get)(this, 'concreteImplementation'),\n _len,\n args,\n _key;\n false && !!!concreteImplementation && (0, _debug.assert)(\"AutoLocation's detect() method should be called before calling any other hooks.\", !!concreteImplementation);\n\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return (0, _emberUtils.tryInvoke)(concreteImplementation, methodName, args);\n };\n }\n\n /*\n Given the browser's `location`, `history` and `userAgent`, and a configured\n root URL, this function detects whether the browser supports the [History\n API](https://developer.mozilla.org/en-US/docs/Web/API/History) and returns a\n string representing the Location object to use based on its determination.\n \n For example, if the page loads in an evergreen browser, this function would\n return the string \"history\", meaning the history API and thus HistoryLocation\n should be used. If the page is loaded in IE8, it will return the string\n \"hash,\" indicating that the History API should be simulated by manipulating the\n hash portion of the location.\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 historyPath,\n hashPath;\n\n var implementation = 'none';\n var cancelRouterSetup = false;\n var currentPath = (0, _util.getFullPath)(location);\n\n if ((0, _util.supportsHistory)(userAgent, history)) {\n historyPath = getHistoryPath(rootURL, location);\n\n // 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({ path: historyPath }, null, 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 hashPath = getHashPath(rootURL, location);\n\n // 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 /**\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 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 = void 0,\n hashParts = void 0;\n\n false && !(rootURLIndex === 0) && (0, _debug.assert)('Path ' + path + ' does not start with the provided rootURL ' + rootURL, rootURLIndex === 0);\n\n // 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 if (hash.substr(0, 2) === '#/') {\n // There could be extra hash segments after the route\n hashParts = hash.substr(1).split('#');\n // The first one is always the route url\n routeHash = hashParts.shift();\n\n // If the path already has a trailing slash, remove the one\n // from the hashed route so we don't double up.\n if (path.charAt(path.length - 1) === '/') {\n routeHash = routeHash.substr(1);\n }\n\n // This is the \"expected\" final order\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 /**\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 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-routing/lib/location/hash_location', ['exports', '@ember/runloop', 'ember-metal', 'ember-runtime', 'ember-routing/lib/location/api'], function (exports, _runloop, _emberMetal, _emberRuntime, _api) {\n 'use strict';\n\n exports.default = _emberRuntime.Object.extend({\n implementation: 'hash',\n\n init: function () {\n (0, _emberMetal.set)(this, 'location', (0, _emberMetal.get)(this, '_location') || window.location);\n\n this._hashchangeHandler = undefined;\n },\n\n /**\n @private\n Returns normalized location.hash\n @since 1.5.1\n @method getHash\n */\n getHash: _api.default._getHash,\n\n /**\n Returns the normalized URL, constructed from `location.hash`.\n e.g. `#/foo` => `/foo` as well as `#/foo#bar` => `/foo#bar`.\n By convention, hashed paths must begin with a forward slash, otherwise they\n are not treated as a path so we can distinguish intent.\n @private\n @method getURL\n */\n getURL: function () {\n var originalPath = this.getHash().substr(1);\n var outPath = originalPath;\n\n if (outPath[0] !== '/') {\n outPath = '/';\n\n // Only add the # if the path isn't empty.\n // We do NOT want `/#` since the ampersand\n // is only included (conventionally) when\n // the location.hash has a value\n if (originalPath) {\n outPath += '#' + originalPath;\n }\n }\n\n return outPath;\n },\n\n /**\n Set the `location.hash` and remembers what was set. This prevents\n `onUpdateURL` callbacks from triggering when the hash was set by\n `HashLocation`.\n @private\n @method setURL\n @param path {String}\n */\n setURL: function (path) {\n (0, _emberMetal.get)(this, 'location').hash = path;\n (0, _emberMetal.set)(this, 'lastSetURL', path);\n },\n\n /**\n Uses location.replace to update the url without a page reload\n or history modification.\n @private\n @method replaceURL\n @param path {String}\n */\n replaceURL: function (path) {\n (0, _emberMetal.get)(this, 'location').replace('#' + path);\n (0, _emberMetal.set)(this, 'lastSetURL', path);\n },\n\n /**\n Register a callback to be invoked when the hash changes. These\n callbacks will execute when the user presses the back or forward\n button, but not after `setURL` is invoked.\n @private\n @method onUpdateURL\n @param callback {Function}\n */\n onUpdateURL: function (callback) {\n this._removeEventListener();\n\n this._hashchangeHandler = (0, _runloop.bind)(this, function () {\n var path = this.getURL();\n if ((0, _emberMetal.get)(this, 'lastSetURL') === path) {\n return;\n }\n\n (0, _emberMetal.set)(this, 'lastSetURL', null);\n\n callback(path);\n });\n\n window.addEventListener('hashchange', this._hashchangeHandler);\n },\n\n /**\n Given a URL, formats it to be placed into the page as part\n of an element's `href` attribute.\n This is used, for example, when using the {{action}} helper\n to generate a URL based on an event.\n @private\n @method formatURL\n @param url {String}\n */\n formatURL: function (url) {\n return '#' + url;\n },\n\n /**\n Cleans up the HashLocation event listener.\n @private\n @method willDestroy\n */\n willDestroy: function () {\n this._removeEventListener();\n },\n _removeEventListener: function () {\n if (this._hashchangeHandler) {\n window.removeEventListener('hashchange', this._hashchangeHandler);\n }\n }\n });\n});","enifed('ember-routing/lib/location/history_location', ['exports', 'ember-metal', 'ember-runtime', 'ember-routing/lib/location/api'], function (exports, _emberMetal, _emberRuntime, _api) {\n 'use strict';\n\n /**\n @module @ember/routing\n */\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 /**\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 exports.default = _emberRuntime.Object.extend({\n implementation: 'history',\n\n init: function () {\n this._super.apply(this, arguments);\n\n var base = document.querySelector('base');\n var baseURL = '';\n if (base) {\n baseURL = base.getAttribute('href');\n }\n\n (0, _emberMetal.set)(this, 'baseURL', baseURL);\n (0, _emberMetal.set)(this, 'location', (0, _emberMetal.get)(this, 'location') || window.location);\n\n this._popstateHandler = undefined;\n },\n\n /**\n Used to set state on first call to setURL\n @private\n @method initState\n */\n initState: function () {\n var history = (0, _emberMetal.get)(this, 'history') || window.history;\n (0, _emberMetal.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 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 /**\n Will be pre-pended to path upon state change\n @property rootURL\n @default '/'\n @private\n */\n rootURL: '/',\n\n /**\n Returns the current `location.pathname` without `rootURL` or `baseURL`\n @private\n @method getURL\n @return url {String}\n */\n getURL: function () {\n var location = (0, _emberMetal.get)(this, 'location');\n var path = location.pathname;\n\n var rootURL = (0, _emberMetal.get)(this, 'rootURL');\n var baseURL = (0, _emberMetal.get)(this, 'baseURL');\n\n // remove trailing slashes if they exists\n rootURL = rootURL.replace(/\\/$/, '');\n baseURL = baseURL.replace(/\\/$/, '');\n\n // remove baseURL and rootURL from start of path\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\n return url;\n },\n\n /**\n Uses `history.pushState` to update the url without a page reload.\n @private\n @method setURL\n @param path {String}\n */\n setURL: function (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 /**\n Uses `history.replaceState` to update the url without a page reload\n or history modification.\n @private\n @method replaceURL\n @param path {String}\n */\n replaceURL: function (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 /**\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 getState: function () {\n if (this.supportsHistory) {\n return (0, _emberMetal.get)(this, 'history').state;\n }\n\n return this._historyState;\n },\n\n /**\n Pushes a new state.\n @private\n @method pushState\n @param path {String}\n */\n pushState: function (path) {\n var state = { path: path, uuid: _uuid() };\n\n (0, _emberMetal.get)(this, 'history').pushState(state, null, path);\n\n this._historyState = state;\n\n // used for webkit workaround\n this._previousURL = this.getURL();\n },\n\n /**\n Replaces the current state.\n @private\n @method replaceState\n @param path {String}\n */\n replaceState: function (path) {\n var state = { path: path, uuid: _uuid() };\n\n (0, _emberMetal.get)(this, 'history').replaceState(state, null, path);\n\n this._historyState = state;\n\n // used for webkit workaround\n this._previousURL = this.getURL();\n },\n\n /**\n Register a callback to be invoked whenever the browser\n history changes, including using forward and back buttons.\n @private\n @method onUpdateURL\n @param callback {Function}\n */\n onUpdateURL: function (callback) {\n var _this = 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 if (_this.getURL() === _this._previousURL) {\n return;\n }\n }\n callback(_this.getURL());\n };\n\n window.addEventListener('popstate', this._popstateHandler);\n },\n\n /**\n Used when using `{{action}}` helper. The url is always appended to the rootURL.\n @private\n @method formatURL\n @param url {String}\n @return formatted url {String}\n */\n formatURL: function (url) {\n var rootURL = (0, _emberMetal.get)(this, 'rootURL');\n var baseURL = (0, _emberMetal.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 /**\n Cleans up the HistoryLocation event listener.\n @private\n @method willDestroy\n */\n willDestroy: function () {\n this._removeEventListener();\n },\n\n /**\n @private\n Returns normalized location.hash\n @method getHash\n */\n getHash: _api.default._getHash,\n\n _removeEventListener: function () {\n if (this._popstateHandler) {\n window.removeEventListener('popstate', this._popstateHandler);\n }\n }\n });\n});","enifed('ember-routing/lib/location/none_location', ['exports', 'ember-metal', '@ember/debug', 'ember-runtime'], function (exports, _emberMetal, _debug, _emberRuntime) {\n 'use strict';\n\n exports.default = _emberRuntime.Object.extend({\n implementation: 'none',\n path: '',\n\n detect: function () {\n var rootURL = this.rootURL;\n\n false && !(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 /**\n Will be pre-pended to path.\n @private\n @property rootURL\n @default '/'\n */\n rootURL: '/',\n\n /**\n Returns the current path without `rootURL`.\n @private\n @method getURL\n @return {String} path\n */\n getURL: function () {\n var path = (0, _emberMetal.get)(this, 'path');\n var rootURL = (0, _emberMetal.get)(this, 'rootURL');\n\n // remove trailing slashes if they exists\n rootURL = rootURL.replace(/\\/$/, '');\n\n // remove rootURL from url\n return path.replace(new RegExp('^' + rootURL + '(?=/|$)'), '');\n },\n\n /**\n Set the path and remembers what was set. Using this method\n to change the path will not invoke the `updateURL` callback.\n @private\n @method setURL\n @param path {String}\n */\n setURL: function (path) {\n (0, _emberMetal.set)(this, 'path', path);\n },\n\n /**\n Register a callback to be invoked when the path changes. These\n callbacks will execute when the user presses the back or forward\n button, but not after `setURL` is invoked.\n @private\n @method onUpdateURL\n @param callback {Function}\n */\n onUpdateURL: function (callback) {\n this.updateCallback = callback;\n },\n\n /**\n Sets the path and calls the `updateURL` callback.\n @private\n @method handleURL\n @param url {String}\n */\n handleURL: function (url) {\n (0, _emberMetal.set)(this, 'path', url);\n this.updateCallback(url);\n },\n\n /**\n Given a URL, formats it to be placed into the page as part\n of an element's `href` attribute.\n This is used, for example, when using the {{action}} helper\n to generate a URL based on an event.\n @private\n @method formatURL\n @param url {String}\n @return {String} url\n */\n formatURL: function (url) {\n var rootURL = (0, _emberMetal.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});","enifed('ember-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 = function (location) {\n return getPath(location) + getQuery(location) + getHash(location);\n };\n exports.getOrigin = getOrigin;\n exports.supportsHashChange = supportsHashChange;\n exports.supportsHistory = supportsHistory;\n exports.replacePath =\n\n /**\n Replaces the current location, making sure we explicitly include the origin\n to prevent redirecting to a different origin.\n \n @private\n */\n function (location, path) {\n location.replace(getOrigin(location) + path);\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;\n // Various versions of IE/Opera don't always return a leading slash\n if (pathname[0] !== '/') {\n pathname = '/' + pathname;\n }\n\n return pathname;\n }\n\n /**\n @private\n \n Returns the current `location.search`.\n */\n function getQuery(location) {\n return location.search;\n }\n\n /**\n @private\n \n Returns the current `location.hash` by parsing location.href since browsers\n inconsistently URL-decode `location.hash`.\n \n Should be passed the browser's `location` object as the first argument.\n \n https://bugzilla.mozilla.org/show_bug.cgi?id=483304\n */\n function getHash(location) {\n var href = location.href;\n var hashIndex = href.indexOf('#');\n\n if (hashIndex === -1) {\n return '';\n } else {\n return href.substr(hashIndex);\n }\n }\n\n function getOrigin(location) {\n var origin = location.origin;\n\n // Older browsers, especially IE, don't have origin\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 /*\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 function supportsHashChange(documentMode, global) {\n return 'onhashchange' in global && (documentMode === undefined || documentMode > 7);\n }\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 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\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 !!(history && 'pushState' in history);\n }\n});","enifed('ember-routing/lib/services/router', ['exports', '@ember/service', '@ember/object/computed', 'ember-routing/lib/utils'], function (exports, _service, _computed, _utils) {\n 'use strict';\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 @class RouterService\n @category ember-routing-router-service\n */\n\n var RouterService = _service.default.extend({\n /**\n Name of the current route.\n This property represent 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 represent 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 URL's that your\n application will use.\n The following location types are currently available:\n * `auto`\n * `hash`\n * `history`\n * `none`\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 _router: null,\n\n transitionTo: function () {\n for (_len = arguments.length, args = 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 _len,\n args,\n _key;\n\n var transition = this._router._doTransition(routeName, models, queryParams, true);\n transition._keepDefaultQueryParamValues = true;\n\n return transition;\n },\n replaceWith: function () /* routeNameOrUrl, ...models, options */{\n return this.transitionTo.apply(this, arguments).method('replace');\n },\n urlFor: function () /* routeName, ...models, options */{\n var _router;\n\n return (_router = this._router).generate.apply(_router, arguments);\n },\n isActive: function () {\n for (_len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n var _extractRouteArgs2 = (0, _utils.extractRouteArgs)(args),\n routeName = _extractRouteArgs2.routeName,\n models = _extractRouteArgs2.models,\n queryParams = _extractRouteArgs2.queryParams,\n _len2,\n args,\n _key2;\n\n var routerMicrolib = this._router._routerMicrolib;\n\n if (!routerMicrolib.isActiveIntent(routeName, models, null)) {\n return false;\n }\n var hasQueryParams = Object.keys(queryParams).length > 0;\n\n if (hasQueryParams) {\n this._router._prepareQueryParams(routeName, models, queryParams, true /* fromRouterService */\n );\n return (0, _utils.shallowEqual)(queryParams, routerMicrolib.state.queryParams);\n }\n\n return true;\n }\n });\n\n exports.default = RouterService;\n});","enifed('ember-routing/lib/services/routing', ['exports', '@ember/polyfills', '@ember/service', '@ember/object/computed', 'ember-metal'], function (exports, _polyfills, _service, _computed, _emberMetal) {\n 'use strict';\n\n exports.default = _service.default.extend({\n router: null,\n\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 hasRoute: function (routeName) {\n return (0, _emberMetal.get)(this, 'router').hasRoute(routeName);\n },\n transitionTo: function (routeName, models, queryParams, shouldReplace) {\n var router = (0, _emberMetal.get)(this, 'router');\n\n var transition = router._doTransition(routeName, models, queryParams);\n\n if (shouldReplace) {\n transition.method('replace');\n }\n\n return transition;\n },\n normalizeQueryParams: function (routeName, models, queryParams) {\n (0, _emberMetal.get)(this, 'router')._prepareQueryParams(routeName, models, queryParams);\n },\n generateURL: function (routeName, models, queryParams) {\n var router = (0, _emberMetal.get)(this, 'router');\n // return early when the router microlib is not present, which is the case for {{link-to}} in integration tests\n if (!router._routerMicrolib) {\n return;\n }\n\n var visibleQueryParams = {};\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 isActiveForRoute: function (contexts, queryParams, routeName, routerState, isCurrentWhenSpecified) {\n var router = (0, _emberMetal.get)(this, 'router');\n\n var handlers = router._routerMicrolib.recognizer.handlersFor(routeName);\n var leafName = handlers[handlers.length - 1].handler;\n var maximumContexts = numberOfContextsAcceptedByHandler(routeName, handlers);\n\n // NOTE: any ugliness in the calculation of activeness is largely\n // due to the fact that we support automatic normalizing of\n // `resource` -> `resource.index`, even though there might be\n // dynamic segments / query params defined on `resource.index`\n // which complicates (and makes somewhat ambiguous) the calculation\n // of activeness for links that link to `resource` instead of\n // directly to `resource.index`.\n\n // if we don't have enough contexts revert back to full route name\n // this is because the leaf route will use one of the contexts\n if (contexts.length > maximumContexts) {\n routeName = leafName;\n }\n\n return routerState.isActiveIntent(routeName, contexts, queryParams, !isCurrentWhenSpecified);\n }\n });\n\n function numberOfContextsAcceptedByHandler(handler, handlerInfos) {\n var req = 0,\n i;\n for (i = 0; i < handlerInfos.length; i++) {\n req += handlerInfos[i].names.length;\n if (handlerInfos[i].handler === handler) {\n break;\n }\n }\n\n return req;\n }\n});","enifed(\"ember-routing/lib/system/cache\", [\"exports\"], function (exports) {\n \"use strict\";\n\n var BucketCache = function () {\n function BucketCache() {\n\n this.cache = new Map();\n }\n\n BucketCache.prototype.has = function (bucketKey) {\n return this.cache.has(bucketKey);\n };\n\n BucketCache.prototype.stash = function (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 BucketCache.prototype.lookup = function (bucketKey, prop, defaultValue) {\n if (!this.has(bucketKey)) {\n return defaultValue;\n }\n\n var bucket = this.cache.get(bucketKey);\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-routing/lib/system/controller_for\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.default =\n /**\n @module ember\n */\n\n /**\n Finds a controller instance.\n \n @for Ember\n @method controllerFor\n @private\n */\n function (container, controllerName, lookupOptions) {\n return container.lookup(\"controller:\" + controllerName, lookupOptions);\n };\n});","enifed('ember-routing/lib/system/dsl', ['exports', '@ember/polyfills', '@ember/debug'], function (exports, _polyfills, _debug) {\n 'use strict';\n\n var uuid = 0;\n\n var DSL = function () {\n function DSL(name, options) {\n\n this.parent = name;\n this.enableLoadingSubstates = options && options.enableLoadingSubstates;\n this.matches = [];\n this.explicitIndex = undefined;\n this.options = options;\n }\n\n DSL.prototype.route = function (name) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n fullName,\n dsl;\n var callback = arguments[2];\n\n var dummyErrorRoute = '/_unused_dummy_error_path_route_' + name + '/:error';\n if (arguments.length === 2 && typeof options === 'function') {\n callback = options;\n options = {};\n }\n\n false && !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 }return ['basic', 'application'].indexOf(name) === -1;\n }());\n false && !(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 fullName = getFullName(this, name, options.resetNamespace);\n dsl = new DSL(fullName, this.options);\n\n\n createRoute(dsl, 'loading');\n createRoute(dsl, 'error', { path: dummyErrorRoute });\n\n callback.call(dsl);\n\n createRoute(this, name, options, dsl.generate());\n } else {\n createRoute(this, name, options);\n }\n };\n\n DSL.prototype.push = function (url, name, callback, serialize) {\n var parts = name.split('.'),\n localFullName,\n routeInfo;\n\n if (this.options.engineInfo) {\n localFullName = name.slice(this.options.engineInfo.fullName.length + 1);\n routeInfo = (0, _polyfills.assign)({ localFullName: localFullName }, this.options.engineInfo);\n\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 DSL.prototype.generate = function () {\n var dslMatches = this.matches;\n\n if (!this.explicitIndex) {\n this.route('index', { path: '/' });\n }\n\n return function (match) {\n var i;\n\n for (i = 0; i < dslMatches.length; i += 3) {\n match(dslMatches[i]).to(dslMatches[i + 1], dslMatches[i + 2]);\n }\n };\n };\n\n DSL.prototype.mount = function (_name) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n shouldResetEngineInfo,\n oldEngineInfo,\n optionsForChild,\n childDSL,\n substateName,\n _localFullName,\n _routeInfo;\n\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\n var engineInfo = {\n name: _name,\n instanceId: uuid++,\n mountPoint: fullName,\n fullName: fullName\n };\n\n var path = options.path;\n\n if (typeof path !== 'string') {\n path = '/' + name;\n }\n\n var callback = void 0;\n var dummyErrorRoute = '/_unused_dummy_error_path_route_' + name + '/:error';\n if (engineRouteMap) {\n shouldResetEngineInfo = false;\n oldEngineInfo = this.options.engineInfo;\n\n if (oldEngineInfo) {\n shouldResetEngineInfo = true;\n this.options.engineInfo = engineInfo;\n }\n\n optionsForChild = (0, _polyfills.assign)({ engineInfo: engineInfo }, this.options);\n childDSL = new DSL(fullName, optionsForChild);\n\n\n createRoute(childDSL, 'loading');\n createRoute(childDSL, 'error', { path: dummyErrorRoute });\n\n engineRouteMap.class.call(childDSL);\n\n callback = childDSL.generate();\n\n if (shouldResetEngineInfo) {\n this.options.engineInfo = oldEngineInfo;\n }\n }\n\n var routeInfo = (0, _polyfills.assign)({ localFullName: 'application' }, 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 substateName = name + '_loading';\n _localFullName = 'application_loading';\n _routeInfo = (0, _polyfills.assign)({ localFullName: _localFullName }, engineInfo);\n\n createRoute(this, substateName, {\n resetNamespace: options.resetNamespace\n });\n this.options.addRouteForEngine(substateName, _routeInfo);\n\n substateName = name + '_error';\n _localFullName = 'application_error';\n _routeInfo = (0, _polyfills.assign)({ localFullName: _localFullName }, 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\n this.push(path, fullName, callback);\n };\n\n return DSL;\n }();\n\n exports.default = DSL;\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[3];\n\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\n DSL.map = function (callback) {\n var dsl = new DSL();\n callback.call(dsl);\n return dsl;\n };\n});","enifed('ember-routing/lib/system/generate_controller', ['exports', 'ember-metal', '@ember/debug'], function (exports) {\n 'use strict';\n\n exports.generateControllerFactory = generateControllerFactory;\n exports.default =\n\n /**\n Generates and instantiates a controller extending from `controller:basic`\n if present, or `Controller` if not.\n \n @for Ember\n @method generateController\n @private\n @since 1.3.0\n */\n function (owner, controllerName) {\n generateControllerFactory(owner, controllerName);\n\n var instance = owner.lookup('controller:' + controllerName);\n\n return instance;\n };\n\n /**\n @module ember\n */\n\n /**\n Generates a controller factory\n \n @for Ember\n @method generateControllerFactory\n @private\n */\n\n function generateControllerFactory(owner, controllerName) {\n var Factory = owner.factoryFor('controller:basic').class;\n\n Factory = Factory.extend({\n toString: function () {\n return '(generated ' + controllerName + ' controller)';\n }\n });\n\n owner.register('controller:' + controllerName, Factory);\n\n return Factory;\n }\n});","enifed(\"ember-routing/lib/system/query_params\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.default = function () {\n var values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\n\n this.values = values;\n this.isQueryParams = true;\n };\n});","enifed('ember-routing/lib/system/route', ['exports', '@ember/polyfills', '@ember/deprecated-features', 'ember-owner', '@ember/runloop', 'ember-metal', '@ember/debug', '@ember/string', 'ember-runtime', 'ember-routing/lib/system/generate_controller', 'ember-routing/lib/utils'], function (exports, _polyfills, _deprecatedFeatures, _emberOwner, _runloop, _emberMetal, _debug, _string, _emberRuntime, _generate_controller, _utils) {\n 'use strict';\n\n exports.defaultSerialize = defaultSerialize;\n exports.hasDefaultSerialize = function (route) {\n return route.serialize === defaultSerialize;\n }\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 function K() {\n return this;\n }\n\n function defaultSerialize(model, params) {\n if (params.length < 1 || !model) {\n return;\n }\n\n var object = {},\n name;\n if (params.length === 1) {\n name = params[0];\n\n\n if (name in model) {\n object[name] = (0, _emberMetal.get)(model, name);\n } else if (/_id$/.test(name)) {\n object[name] = (0, _emberMetal.get)(model, 'id');\n }\n } else {\n object = (0, _emberMetal.getProperties)(model, params);\n }\n\n return object;\n }\n\n var Route = _emberRuntime.Object.extend(_emberRuntime.ActionHandler, _emberRuntime.Evented, {\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 router: _deprecatedFeatures.ROUTER_ROUTER ? (0, _emberMetal.computed)('_router', function () {\n false && !false && (0, _debug.deprecate)('Route#router is an intimate API that has been renamed to Route#_router. However you might want to consider using the router service', false, {\n id: 'ember-routing.route-router',\n until: '3.5.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_ember-routing-route-router'\n });\n\n return this._router;\n }) : undefined,\n\n _setRouteName: function (name) {\n this.routeName = name;\n this.fullRouteName = getEngineRouteName((0, _emberOwner.getOwner)(this), name);\n },\n\n /**\n @private\n @property _qp\n */\n _qp: (0, _emberMetal.computed)(function () {\n var _this = this,\n controllerDefinedQueryParameterConfiguration,\n normalizedControllerQueryParameterConfiguration,\n desc,\n scope,\n parts,\n urlKey,\n defaultValue,\n type,\n defaultValueSerialized,\n scopedPropertyName,\n qp;\n\n var combinedQueryParameterConfiguration = void 0;\n\n var controllerName = this.controllerName || this.routeName;\n var owner = (0, _emberOwner.getOwner)(this);\n var controller = owner.lookup('controller:' + controllerName);\n var queryParameterConfiguraton = (0, _emberMetal.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\n controllerDefinedQueryParameterConfiguration = (0, _emberMetal.get)(controller, 'queryParams') || {};\n normalizedControllerQueryParameterConfiguration = (0, _utils.normalizeControllerQueryParams)(controllerDefinedQueryParameterConfiguration);\n\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 }\n\n // to support the dubious feature of using unknownProperty\n // on queryParams configuration\n if (propName === 'unknownProperty' || propName === '_super') {\n // possible todo: issue deprecation warning?\n continue;\n }\n\n desc = combinedQueryParameterConfiguration[propName];\n scope = desc.scope || 'model';\n parts = void 0;\n\n\n if (scope === 'controller') {\n parts = [];\n }\n\n urlKey = desc.as || this.serializeQueryParamKey(propName);\n defaultValue = (0, _emberMetal.get)(controller, propName);\n\n\n if (Array.isArray(defaultValue)) {\n defaultValue = (0, _emberRuntime.A)(defaultValue.slice());\n }\n\n type = desc.type || (0, _emberRuntime.typeOf)(defaultValue);\n defaultValueSerialized = this.serializeQueryParam(defaultValue, urlKey, type);\n scopedPropertyName = controllerName + ':' + propName;\n qp = {\n undecoratedDefaultValue: (0, _emberMetal.get)(controller, propName),\n defaultValue: defaultValue,\n serializedDefaultValue: defaultValueSerialized,\n serializedValue: defaultValueSerialized,\n\n type: type,\n urlKey: urlKey,\n prop: propName,\n scopedPropertyName: scopedPropertyName,\n controllerName: controllerName,\n route: this,\n parts: parts, // provided later when stashNames is called if 'model' scope\n values: null, // provided later when setup is called. no idea why.\n scope: scope\n };\n\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 _this._qpChanged(prop, value, qp);\n },\n /*\n Called when a query parameter changes in the URL, this route cares\n about that query parameter, and the route is currently\n in the active route hierarchy.\n */\n active: function (prop, value) {\n var qp = map[prop];\n _this._qpChanged(prop, value, qp);\n return _this._activeQPChanged(qp, value);\n },\n /*\n Called when a value of a query parameter this route handles changes in a controller\n and the route is currently in the active route hierarchy.\n */\n allowOverrides: function (prop, value) {\n var qp = map[prop];\n _this._qpChanged(prop, value, qp);\n return _this._updatingQPChanged(qp);\n }\n }\n };\n }),\n\n /**\n @private\n @property _names\n */\n _names: null,\n\n _stashNames: function (handlerInfo, dynamicParent) {\n if (this._names) {\n return;\n }\n var names = this._names = handlerInfo._names,\n a,\n i,\n qp;\n\n if (!names.length) {\n handlerInfo = dynamicParent;\n names = handlerInfo && handlerInfo._names || [];\n }\n\n var qps = (0, _emberMetal.get)(this, '_qp.qps');\n\n var namePaths = new Array(names.length);\n for (a = 0; a < names.length; ++a) {\n namePaths[a] = handlerInfo.name + '.' + names[a];\n }\n\n for (i = 0; i < qps.length; ++i) {\n qp = qps[i];\n\n if (qp.scope === 'model') {\n qp.parts = namePaths;\n }\n }\n },\n _activeQPChanged: function (qp, value) {\n this._router._activeQPChanged(qp.scopedPropertyName, value);\n },\n _updatingQPChanged: function (qp) {\n this._router._updatingQPChanged(qp.urlKey);\n },\n\n mergedProperties: ['queryParams'],\n\n paramsFor: function (name) {\n var _this2 = this;\n\n var route = (0, _emberOwner.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.state : this._router._routerMicrolib.state;\n\n var fullName = route.fullRouteName;\n var params = (0, _polyfills.assign)({}, state.params[fullName]);\n var queryParams = getQueryParamsFor(route, state);\n\n return Object.keys(queryParams).reduce(function (params, key) {\n false && !!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\n params[key] = queryParams[key];\n return params;\n }, params);\n },\n serializeQueryParamKey: function (controllerPropertyName) {\n return controllerPropertyName;\n },\n serializeQueryParam: function (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 deserializeQueryParam: function (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 _optionsForQueryParam: function (qp) {\n return (0, _emberMetal.get)(this, 'queryParams.' + qp.urlKey) || (0, _emberMetal.get)(this, 'queryParams.' + qp.prop) || {};\n },\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 resetController: K,\n\n exit: function () {\n this.deactivate();\n this.trigger('deactivate');\n this.teardownViews();\n },\n _reset: function (isExiting, transition) {\n var controller = this.controller;\n controller._qpDelegate = (0, _emberMetal.get)(this, '_qp.states.inactive');\n\n this.resetController(controller, isExiting, transition);\n },\n enter: function () {\n this.connections = [];\n this.activate();\n this.trigger('activate');\n },\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 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 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 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\n actions: {\n queryParamsDidChange: function (changed, totalPresent, removed) {\n var qpMap = (0, _emberMetal.get)(this, '_qp').map,\n i,\n qp;\n\n var totalChanged = Object.keys(changed).concat(Object.keys(removed));\n for (i = 0; i < totalChanged.length; ++i) {\n qp = qpMap[totalChanged[i]];\n\n if (qp && (0, _emberMetal.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 }\n\n // Transition object is absent for intermediate transitions.\n if (!transition) {\n return;\n }\n\n var handlerInfos = transition.state.handlerInfos,\n i,\n qp,\n route,\n controller,\n presentKey,\n value,\n svalue,\n thisQueryParamChanged,\n options,\n replaceConfigValue,\n thisQueryParamHasDefaultValue;\n var router = this._router;\n var qpMeta = router._queryParamsFor(handlerInfos);\n var changes = router._qpUpdates;\n var replaceUrl = void 0;\n\n (0, _utils.stashParamNames)(router, handlerInfos);\n\n for (i = 0; i < qpMeta.qps.length; ++i) {\n qp = qpMeta.qps[i];\n route = qp.route;\n controller = route.controller;\n presentKey = qp.urlKey in params && qp.urlKey;\n\n // Do a reverse lookup to see if the changed query\n // param URL key corresponds to a QP property on\n // this controller.\n\n value = void 0, svalue = void 0;\n\n if (changes && qp.urlKey in changes) {\n // Value updated in/before setupController\n value = (0, _emberMetal.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, _emberMetal.get)(route, '_qp.states.inactive');\n\n thisQueryParamChanged = svalue !== qp.serializedValue;\n\n if (thisQueryParamChanged) {\n if (transition.queryParamsOnly && replaceUrl !== false) {\n options = route._optionsForQueryParam(qp);\n replaceConfigValue = (0, _emberMetal.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, _emberMetal.set)(controller, qp.prop, value);\n }\n\n // Stash current serialized value of controller.\n qp.serializedValue = svalue;\n\n 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, _emberMetal.get)(qp.route, '_qp');\n var finalizedController = qp.route.controller;\n finalizedController._qpDelegate = (0, _emberMetal.get)(routeQpMeta, 'states.active');\n });\n\n router._qpUpdates = null;\n }\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 deactivate: K,\n\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 activate: K,\n\n transitionTo: function () /* name, context */{\n var _router;\n\n // eslint-disable-line no-unused-vars\n return (_router = this._router).transitionTo.apply(_router, (0, _utils.prefixRouteNameArg)(this, arguments));\n },\n intermediateTransitionTo: function () {\n var _router2;\n\n (_router2 = this._router).intermediateTransitionTo.apply(_router2, (0, _utils.prefixRouteNameArg)(this, arguments));\n },\n refresh: function () {\n return this._router._routerMicrolib.refresh(this);\n },\n replaceWith: function () {\n var _router3;\n\n return (_router3 = this._router).replaceWith.apply(_router3, (0, _utils.prefixRouteNameArg)(this, arguments));\n },\n send: function () {\n var _len, args, _key, _router4, name, action;\n\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n false && !(!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\n (_router4 = this._router).send.apply(_router4, args);\n } else {\n name = args.shift();\n action = this.actions[name];\n\n if (action) {\n return action.apply(this, args);\n }\n }\n },\n setup: function (context, transition) {\n var controller = void 0,\n propNames,\n cache,\n params,\n allParams,\n qpValues;\n\n var controllerName = this.controllerName || this.routeName;\n var definedController = this.controllerFor(controllerName, true);\n\n if (definedController) {\n controller = definedController;\n } else {\n controller = this.generateController(controllerName);\n }\n\n // Assign the route's controller so that it can more easily be\n // referenced in action handlers. Side effects. Side effects everywhere.\n if (!this.controller) {\n propNames = (0, _emberMetal.get)(this, '_qp.propertyNames');\n\n addQueryParamsObservers(controller, propNames);\n this.controller = controller;\n }\n\n var queryParams = (0, _emberMetal.get)(this, '_qp');\n\n var states = queryParams.states;\n\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.state.handlerInfos);\n\n cache = this._bucketCache;\n params = transition.params;\n allParams = queryParams.propertyNames;\n\n\n allParams.forEach(function (prop) {\n var aQp = queryParams.map[prop];\n aQp.values = params;\n\n var cacheKey = (0, _utils.calculateCacheKey)(aQp.route.fullRouteName, aQp.parts, aQp.values);\n var value = cache.lookup(cacheKey, prop, aQp.undecoratedDefaultValue);\n (0, _emberMetal.set)(controller, prop, value);\n });\n\n qpValues = getQueryParamsFor(this, transition.state);\n\n (0, _emberMetal.setProperties)(controller, qpValues);\n }\n\n this.setupController(controller, context, transition);\n\n if (this._environment.options.shouldRender) {\n this.renderTemplate(controller, context);\n }\n },\n _qpChanged: function (prop, value, qp) {\n if (!qp) {\n return;\n }\n\n // Update model-dep cache\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 /**\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 beforeModel: K,\n\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 afterModel: K,\n\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 redirect: K,\n\n contextDidChange: function () {\n this.currentModel = this.context;\n },\n model: function (params, transition) {\n var name = void 0,\n sawParams = void 0,\n value = void 0,\n match;\n var queryParams = (0, _emberMetal.get)(this, '_qp.map');\n\n for (var prop in params) {\n if (prop === 'queryParams' || queryParams && prop in queryParams) {\n continue;\n }\n\n match = prop.match(/^(.*)_id$/);\n\n if (match !== null) {\n name = match[1];\n value = params[prop];\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 return transition.state.handlerInfos[transition.resolveIndex - 1].context;\n }\n }\n\n return this.findModel(name, value);\n },\n deserialize: function (params, transition) {\n return this.model(this.paramsFor(this.routeName), transition);\n },\n findModel: function () {\n var _get;\n\n return (_get = (0, _emberMetal.get)(this, 'store')).find.apply(_get, arguments);\n },\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 @method store\n @param {Object} store\n @private\n */\n store: (0, _emberMetal.computed)(function () {\n var owner = (0, _emberOwner.getOwner)(this);\n var routeName = this.routeName;\n var namespace = (0, _emberMetal.get)(this, '_router.namespace');\n\n return {\n find: function (name, value) {\n var modelClass = owner.factoryFor('model:' + name);\n\n false && !!!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.', !!modelClass);\n\n if (!modelClass) {\n return;\n }\n\n modelClass = modelClass.class;\n\n false && !(typeof modelClass.find === 'function') && (0, _debug.assert)((0, _string.classify)(name) + ' has no method `find`.', typeof modelClass.find === 'function');\n\n return modelClass.find(value);\n }\n };\n }),\n\n /**\n A hook you can implement to convert the route's model into parameters\n for the URL.\n ```app/router.js\n // ...\n Router.map(function() {\n this.route('post', { path: '/posts/:post_id' });\n });\n ```\n ```app/routes/post.js\n import $ from 'jquery';\n import Route from '@ember/routing/route';\n export default Route.extend({\n model(params) {\n // the server returns `{ id: 12 }`\n return $.getJSON('/posts/' + params.post_id);\n },\n serialize(model) {\n // this will make the URL `/posts/12`\n return { post_id: model.id };\n }\n });\n ```\n The default `serialize` method will insert the model's `id` into the\n route's dynamic segment (in this case, `:post_id`) if the segment contains '_id'.\n If the route has multiple dynamic segments or does not contain '_id', `serialize`\n will return `getProperties(model, params)`\n This method is called when `transitionTo` is called with a context\n in order to populate the URL.\n @method serialize\n @param {Object} model the routes model\n @param {Array} params an Array of parameter names for the current\n route (in the example, `['post_id']`.\n @return {Object} the serialized parameters\n @since 1.0.0\n @public\n */\n serialize: defaultSerialize,\n\n setupController: function (controller, context /*, transition */) {\n // eslint-disable-line no-unused-vars\n if (controller && context !== undefined) {\n (0, _emberMetal.set)(controller, 'model', context);\n }\n },\n controllerFor: function (name, _skipAssert) {\n var owner = (0, _emberOwner.getOwner)(this);\n var route = owner.lookup('route:' + name);\n var controller = void 0;\n\n if (route && route.controllerName) {\n name = route.controllerName;\n }\n\n controller = owner.lookup('controller:' + name);\n\n // NOTE: We're specifically checking that skipAssert is true, because according\n // to the old API the second parameter was model. We do not want people who\n // passed a model to skip the assertion.\n false && !(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.', controller || _skipAssert === true);\n\n return controller;\n },\n generateController: function (name) {\n var owner = (0, _emberOwner.getOwner)(this);\n\n return (0, _generate_controller.default)(owner, name);\n },\n modelFor: function (_name) {\n var name = void 0,\n modelLookupName;\n var owner = (0, _emberOwner.getOwner)(this);\n var transition = this._router && this._router._routerMicrolib ? this._router._routerMicrolib.activeTransition : null;\n\n // Only change the route name when there is an active transition.\n // Otherwise, use the passed in route name.\n if (owner.routable && transition !== null) {\n name = getEngineRouteName(owner, _name);\n } else {\n name = _name;\n }\n\n var route = owner.lookup('route:' + name);\n // If we are mid-transition, we want to try and look up\n // resolved parent contexts on the current transitionEvent.\n if (transition !== null) {\n 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 renderTemplate: function () /* controller, model */{\n // eslint-disable-line no-unused-vars\n this.render();\n },\n render: function (_name, options) {\n var name = void 0;\n var isDefaultRender = arguments.length === 0;\n if (!isDefaultRender) {\n if (typeof _name === 'object' && !options) {\n name = this.templateName || this.routeName;\n options = _name;\n } else {\n false && !!(0, _emberMetal.isEmpty)(_name) && (0, _debug.assert)('The name in the given arguments is undefined or empty string', !(0, _emberMetal.isEmpty)(_name));\n\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 disconnectOutlet: function (options) {\n var outletName = void 0,\n i;\n var parentView = void 0;\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\n false && !!('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 this._disconnectOutlet(outletName, parentView);\n var handlerInfos = this._router._routerMicrolib.currentHandlerInfos;\n for (i = 0; i < handlerInfos.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 handlerInfos[i].handler._disconnectOutlet(outletName, parentView);\n }\n },\n _disconnectOutlet: function (outletName, parentView) {\n var parent = parentRoute(this),\n i,\n connection;\n if (parent && parentView === parent.routeName) {\n parentView = undefined;\n }\n for (i = 0; i < this.connections.length; i++) {\n 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 willDestroy: function () {\n this.teardownViews();\n },\n teardownViews: function () {\n if (this.connections && this.connections.length > 0) {\n this.connections = [];\n (0, _runloop.once)(this._router, '_setOutlets');\n }\n }\n });\n\n Route.reopenClass({\n isRouteFactory: true\n });\n\n function parentRoute(route) {\n var handlerInfo = handlerInfoFor(route, route._router._routerMicrolib.state.handlerInfos, -1);\n return handlerInfo && handlerInfo.handler;\n }\n\n function handlerInfoFor(route, handlerInfos) {\n var offset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0,\n i;\n\n if (!handlerInfos) {\n return;\n }\n\n var current = void 0;\n for (i = 0; i < handlerInfos.length; i++) {\n current = handlerInfos[i].handler;\n if (current === route) {\n return handlerInfos[i + offset];\n }\n }\n }\n\n function buildRenderOptions(route, isDefaultRender, _name, options) {\n false && !(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\n var owner = (0, _emberOwner.getOwner)(route),\n controllerName;\n var name = void 0,\n templateName = void 0,\n into = void 0,\n outlet = void 0,\n controller = void 0,\n model = void 0;\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 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 controllerName = controller;\n\n controller = owner.lookup('controller:' + controllerName);\n false && !(isDefaultRender || controller) && (0, _debug.assert)('You passed `controller: \\'' + controllerName + '\\'` into the `render` method, but no such controller could be found.', isDefaultRender || controller);\n }\n\n if (model) {\n controller.set('model', model);\n }\n\n var template = owner.lookup('template:' + templateName);\n false && !(isDefaultRender || template) && (0, _debug.assert)('Could not find \"' + templateName + '\" template, view, or component.', isDefaultRender || template);\n\n var parent = void 0;\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 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.handlerInfos, state.fullQueryParams);\n return state.fullQueryParams;\n }\n\n function getQueryParamsFor(route, state) {\n state.queryParamsFor = state.queryParamsFor || {};\n var name = route.fullRouteName,\n i,\n qp,\n qpValueWasPassedIn;\n\n if (state.queryParamsFor[name]) {\n return state.queryParamsFor[name];\n }\n\n var fullQueryParams = getFullQueryParams(route._router, state);\n\n var params = state.queryParamsFor[name] = {};\n\n // Copy over all the query params for this route/controller into params hash.\n var qpMeta = (0, _emberMetal.get)(route, '_qp');\n var qps = qpMeta.qps;\n for (i = 0; i < qps.length; ++i) {\n // Put deserialized qp on params hash.\n qp = qps[i];\n qpValueWasPassedIn = qp.prop in fullQueryParams;\n\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, _emberRuntime.A)(value.slice());\n }\n return value;\n }\n\n /*\n Merges all query parameters from a controller with those from\n a route, returning a new object and avoiding any mutations to\n the existing objects.\n */\n function mergeEachQueryParams(controllerQP, routeQP) {\n var qps = {},\n newControllerParameterConfiguration,\n newRouteParameterConfiguration;\n var keysAlreadyMergedOrSkippable = {\n defaultValue: true,\n type: true,\n scope: true,\n as: true\n };\n\n // first loop over all controller qps, merging them with any matching route qps\n // into a new empty object to avoid mutating.\n for (var cqpName in controllerQP) {\n if (!controllerQP.hasOwnProperty(cqpName)) {\n continue;\n }\n\n newControllerParameterConfiguration = {};\n\n (0, _polyfills.assign)(newControllerParameterConfiguration, controllerQP[cqpName], routeQP[cqpName]);\n\n qps[cqpName] = newControllerParameterConfiguration;\n\n // allows us to skip this QP when we check route QPs.\n keysAlreadyMergedOrSkippable[cqpName] = true;\n }\n\n // loop over all route qps, skipping those that were merged in the first pass\n // because they also appear in controller qps\n for (var rqpName in routeQP) {\n if (!routeQP.hasOwnProperty(rqpName) || keysAlreadyMergedOrSkippable[rqpName]) {\n continue;\n }\n\n newRouteParameterConfiguration = {};\n\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 var prefix;\n\n if (engine.routable) {\n prefix = engine.mountPoint;\n\n\n if (routeName === 'application') {\n return prefix;\n } else {\n return prefix + '.' + routeName;\n }\n }\n\n return routeName;\n }\n\n exports.default = Route;\n});","enifed('ember-routing/lib/system/router', ['exports', 'ember-owner', '@ember/polyfills', '@ember/runloop', 'ember-metal', '@ember/error', '@ember/debug', 'ember-runtime', 'ember-routing/lib/system/route', 'ember-routing/lib/system/dsl', 'ember-routing/lib/location/api', 'ember-routing/lib/utils', 'ember-routing/lib/system/router_state', '@ember/deprecated-features', 'router'], function (exports, _emberOwner, _polyfills, _runloop, _emberMetal, _error2, _debug, _emberRuntime, _route, _dsl, _api, _utils, _router_state, _deprecatedFeatures, _router) {\n 'use strict';\n\n exports.triggerEvent = triggerEvent;\n\n function K() {\n return this;\n }\n\n /**\n @module @ember/routing\n */\n\n var slice = Array.prototype.slice;\n\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 var EmberRouter = _emberRuntime.Object.extend(_emberRuntime.Evented, {\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 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 _initRouterJs: function () {\n var routerMicrolib = this._routerMicrolib = new _router.default();\n routerMicrolib.triggerEvent = triggerEvent.bind(this);\n\n routerMicrolib._triggerWillChangeContext = K;\n routerMicrolib._triggerWillLeave = K;\n\n var dslCallbacks = this.constructor.dslCallbacks || [K];\n var dsl = this._buildDSL();\n\n dsl.route('application', { path: '/', resetNamespace: true, overrideNameAssertion: true }, function () {\n var i;\n\n for (i = 0; i < dslCallbacks.length; i++) {\n dslCallbacks[i].call(this);\n }\n });\n\n routerMicrolib.map(dsl.generate());\n },\n _buildDSL: function () {\n var enableLoadingSubstates = this._hasModuleBasedResolver();\n var options = { enableLoadingSubstates: enableLoadingSubstates };\n\n var owner = (0, _emberOwner.getOwner)(this);\n var router = this;\n\n options.resolveRouteMap = function (name) {\n return owner.factoryFor('route-map:' + name);\n };\n\n options.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 init: function () {\n this._super.apply(this, arguments);\n\n this.currentURL = null;\n this.currentRouteName = null;\n this.currentPath = null;\n\n this._qpCache = Object.create(null);\n this._resetQueuedQueryParameterChanges();\n this._handledErrors = new Set();\n this._engineInstances = Object.create(null);\n this._engineInfoByRoute = Object.create(null);\n },\n _resetQueuedQueryParameterChanges: function () {\n this._queuedQPChanges = {};\n },\n\n /**\n Represents the current URL.\n @method url\n @return {String} The current URL.\n @private\n */\n url: (0, _emberMetal.computed)(function () {\n return (0, _emberMetal.get)(this, 'location').getURL();\n }),\n\n _hasModuleBasedResolver: function () {\n var owner = (0, _emberOwner.getOwner)(this);\n if (!owner) {\n return false;\n }\n\n var resolver = (0, _emberMetal.get)(owner, 'application.__registry__.resolver.moduleBasedResolver');\n return !!resolver;\n },\n startRouting: function () {\n var initialURL = (0, _emberMetal.get)(this, 'initialURL'),\n initialTransition;\n\n if (this.setupRouter()) {\n if (initialURL === undefined) {\n initialURL = (0, _emberMetal.get)(this, 'location').getURL();\n }\n initialTransition = this.handleURL(initialURL);\n\n if (initialTransition && initialTransition.error) {\n throw initialTransition.error;\n }\n }\n },\n setupRouter: function () {\n var _this = this;\n\n this._initRouterJs();\n this._setupLocation();\n\n var location = (0, _emberMetal.get)(this, 'location');\n\n // Allow the Location class to cancel the router setup while it refreshes\n // the page\n if ((0, _emberMetal.get)(location, 'cancelRouterSetup')) {\n return false;\n }\n\n this._setupRouter(location);\n\n location.onUpdateURL(function (url) {\n _this.handleURL(url);\n });\n\n return true;\n },\n didTransition: function () {\n updatePaths(this);\n\n this._cancelSlowTransitionTimer();\n\n this.notifyPropertyChange('url');\n this.set('currentState', this.targetState);\n\n // Put this in the runloop so url will be accurate. Seems\n // less surprising than didTransition being out of sync.\n (0, _runloop.once)(this, this.trigger, 'didTransition');\n },\n _setOutlets: function () {\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 handlerInfos = this._routerMicrolib.currentHandlerInfos,\n i,\n connections,\n ownState,\n j,\n appended,\n owner,\n OutletView,\n instance;\n var route = void 0;\n var defaultParentState = void 0;\n var liveRoutes = null;\n\n if (!handlerInfos) {\n return;\n }\n\n for (i = 0; i < handlerInfos.length; i++) {\n route = handlerInfos[i].handler;\n connections = route.connections;\n ownState = void 0;\n\n for (j = 0; j < connections.length; j++) {\n appended = appendLiveRoute(liveRoutes, defaultParentState, connections[j]);\n\n liveRoutes = appended.liveRoutes;\n if (appended.ownState.render.name === route.routeName || appended.ownState.render.outlet === 'main') {\n ownState = appended.ownState;\n }\n }\n if (connections.length === 0) {\n ownState = representEmptyRoute(liveRoutes, defaultParentState, route);\n }\n defaultParentState = ownState;\n }\n\n // when a transitionTo happens after the validation phase\n // during the initial transition _setOutlets is called\n // when no routes are active. However, it will get called\n // again with the correct values during the next turn of\n // the runloop\n if (!liveRoutes) {\n return;\n }\n\n if (!this._toplevelView) {\n owner = (0, _emberOwner.getOwner)(this);\n OutletView = owner.factoryFor('view:-outlet');\n\n this._toplevelView = OutletView.create();\n this._toplevelView.setOutletState(liveRoutes);\n instance = owner.lookup('-application-instance:main');\n\n instance.didCreateRootView(this._toplevelView);\n } else {\n this._toplevelView.setOutletState(liveRoutes);\n }\n },\n willTransition: function (oldInfos, newInfos, transition) {\n (0, _runloop.once)(this, this.trigger, 'willTransition', transition);\n },\n handleURL: function (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 _doURLTransition: function (routerJsMethod, url) {\n var transition = this._routerMicrolib[routerJsMethod](url || '/');\n didBeginTransition(transition, this);\n return transition;\n },\n transitionTo: function () {\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n if ((0, _utils.resemblesURL)(args[0])) {\n false && !(!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\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 _len,\n args,\n _key;\n\n false && !(!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\n return this._doTransition(routeName, models, queryParams);\n },\n intermediateTransitionTo: function () {\n var _routerMicrolib;\n\n (_routerMicrolib = this._routerMicrolib).intermediateTransitionTo.apply(_routerMicrolib, arguments);\n\n updatePaths(this);\n },\n replaceWith: function () {\n return this.transitionTo.apply(this, arguments).method('replace');\n },\n generate: function () {\n var _routerMicrolib2;\n\n var url = (_routerMicrolib2 = this._routerMicrolib).generate.apply(_routerMicrolib2, arguments);\n return this.location.formatURL(url);\n },\n isActive: function () {\n var _routerMicrolib3;\n\n return (_routerMicrolib3 = this._routerMicrolib).isActive.apply(_routerMicrolib3, arguments);\n },\n isActiveIntent: function (routeName, models, queryParams) {\n return this.currentState.isActiveIntent(routeName, models, queryParams);\n },\n send: function () {\n var _routerMicrolib4;\n\n /*name, context*/\n (_routerMicrolib4 = this._routerMicrolib).trigger.apply(_routerMicrolib4, arguments);\n },\n hasRoute: function (route) {\n return this._routerMicrolib.hasRoute(route);\n },\n reset: function () {\n if (this._routerMicrolib) {\n this._routerMicrolib.reset();\n }\n },\n willDestroy: function () {\n if (this._toplevelView) {\n this._toplevelView.destroy();\n this._toplevelView = null;\n }\n\n this._super.apply(this, arguments);\n\n this.reset();\n\n var instances = this._engineInstances;\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 _activeQPChanged: function (queryParameterName, newValue) {\n this._queuedQPChanges[queryParameterName] = newValue;\n (0, _runloop.once)(this, this._fireQueryParamTransition);\n },\n _updatingQPChanged: function (queryParameterName) {\n if (!this._qpUpdates) {\n this._qpUpdates = {};\n }\n this._qpUpdates[queryParameterName] = true;\n },\n _fireQueryParamTransition: function () {\n this.transitionTo({ queryParams: this._queuedQPChanges });\n this._resetQueuedQueryParameterChanges();\n },\n _setupLocation: function () {\n var location = (0, _emberMetal.get)(this, 'location'),\n resolvedLocation,\n options;\n var rootURL = (0, _emberMetal.get)(this, 'rootURL');\n var owner = (0, _emberOwner.getOwner)(this);\n\n if ('string' === typeof location && owner) {\n resolvedLocation = owner.lookup('location:' + location);\n\n\n if (resolvedLocation !== undefined) {\n location = (0, _emberMetal.set)(this, 'location', resolvedLocation);\n } else {\n // Allow for deprecated registration of custom location API's\n options = {\n implementation: location\n };\n\n\n location = (0, _emberMetal.set)(this, 'location', _api.default.create(options));\n }\n }\n\n if (location !== null && typeof location === 'object') {\n if (rootURL) {\n (0, _emberMetal.set)(location, 'rootURL', rootURL);\n }\n\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 if (typeof location.detect === 'function') {\n location.detect();\n }\n\n // ensure that initState is called AFTER the rootURL is set on\n // the location instance\n if (typeof location.initState === 'function') {\n location.initState();\n }\n }\n },\n _getHandlerFunction: function () {\n var _this2 = this;\n\n var seen = Object.create(null);\n var owner = (0, _emberOwner.getOwner)(this);\n\n return function (name) {\n var routeName = name,\n engineInstance,\n DefaultRoute;\n var routeOwner = owner;\n var engineInfo = _this2._engineInfoByRoute[routeName];\n\n if (engineInfo) {\n engineInstance = _this2._getEngineInstance(engineInfo);\n\n\n routeOwner = engineInstance;\n routeName = engineInfo.localFullName;\n }\n\n var fullRouteName = 'route:' + routeName;\n\n var handler = routeOwner.lookup(fullRouteName);\n\n if (seen[name]) {\n return handler;\n }\n\n seen[name] = true;\n\n if (!handler) {\n DefaultRoute = routeOwner.factoryFor('route:basic').class;\n\n routeOwner.register(fullRouteName, DefaultRoute.extend());\n handler = routeOwner.lookup(fullRouteName);\n }\n\n handler._setRouteName(routeName);\n\n if (engineInfo && !(0, _route.hasDefaultSerialize)(handler)) {\n throw new Error('Defining a custom serialize method on an Engine route is not supported.');\n }\n\n return handler;\n };\n },\n _getSerializerFunction: function () {\n var _this3 = this;\n\n return function (name) {\n var engineInfo = _this3._engineInfoByRoute[name];\n\n // If this is not an Engine route, we fall back to the handler for serialization\n if (!engineInfo) {\n return;\n }\n\n return engineInfo.serializeMethod || _route.defaultSerialize;\n };\n },\n _setupRouter: function (location) {\n var _this4 = this,\n doReplaceURL;\n\n var lastURL = void 0;\n var routerMicrolib = this._routerMicrolib;\n\n routerMicrolib.getHandler = this._getHandlerFunction();\n routerMicrolib.getSerializer = this._getSerializerFunction();\n\n var doUpdateURL = function () {\n location.setURL(lastURL);\n (0, _emberMetal.set)(_this4, 'currentURL', lastURL);\n };\n\n routerMicrolib.updateURL = function (path) {\n lastURL = path;\n (0, _runloop.once)(doUpdateURL);\n };\n\n if (location.replaceURL) {\n doReplaceURL = function () {\n location.replaceURL(lastURL);\n (0, _emberMetal.set)(_this4, 'currentURL', lastURL);\n };\n\n\n routerMicrolib.replaceURL = function (path) {\n lastURL = path;\n (0, _runloop.once)(doReplaceURL);\n };\n }\n\n routerMicrolib.didTransition = function (infos) {\n _this4.didTransition(infos);\n };\n\n routerMicrolib.willTransition = function (oldInfos, newInfos, transition) {\n _this4.willTransition(oldInfos, newInfos, transition);\n };\n },\n _serializeQueryParams: function (handlerInfos, queryParams) {\n var _this5 = this;\n\n forEachQueryParam(this, handlerInfos, 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) {} else {\n queryParams[key] = _this5._serializeQueryParam(value, (0, _emberRuntime.typeOf)(value));\n }\n });\n },\n _serializeQueryParam: function (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 _deserializeQueryParams: function (handlerInfos, queryParams) {\n forEachQueryParam(this, handlerInfos, 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 _deserializeQueryParam: function (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, _emberRuntime.A)(JSON.parse(value));\n }\n return value;\n },\n _pruneDefaultQueryParamValues: function (handlerInfos, queryParams) {\n var qps = this._queryParamsFor(handlerInfos),\n qp;\n for (var key in queryParams) {\n qp = qps.map[key];\n\n if (qp && qp.serializedDefaultValue === queryParams[key]) {\n delete queryParams[key];\n }\n }\n },\n _doTransition: function (_targetRouteName, models, _queryParams, _keepDefaultQueryParamValues) {\n var _routerMicrolib5;\n\n var targetRouteName = _targetRouteName || (0, _utils.getActiveTargetName)(this._routerMicrolib);\n false && !(targetRouteName && this._routerMicrolib.hasRoute(targetRouteName)) && (0, _debug.assert)('The route ' + targetRouteName + ' was not found', targetRouteName && this._routerMicrolib.hasRoute(targetRouteName));\n\n var queryParams = {};\n\n this._processActiveTransitionQueryParams(targetRouteName, models, queryParams, _queryParams);\n\n (0, _polyfills.assign)(queryParams, _queryParams);\n this._prepareQueryParams(targetRouteName, models, queryParams, _keepDefaultQueryParamValues);\n\n var transition = (_routerMicrolib5 = this._routerMicrolib).transitionTo.apply(_routerMicrolib5, [targetRouteName].concat(models, [{ queryParams: queryParams }]));\n\n didBeginTransition(transition, this);\n\n return transition;\n },\n _processActiveTransitionQueryParams: function (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.queryParams;\n for (var key in params) {\n if (!qpUpdates[key]) {\n unchangedQPs[key] = params[key];\n }\n }\n\n // We need to fully scope queryParams so that we can create one object\n // that represents both passed-in queryParams and ones that aren't changed\n // from the active transition.\n this._fullyScopeQueryParams(targetRouteName, models, _queryParams);\n this._fullyScopeQueryParams(targetRouteName, models, unchangedQPs);\n (0, _polyfills.assign)(queryParams, unchangedQPs);\n },\n _prepareQueryParams: function (targetRouteName, models, queryParams, _fromRouterService) {\n var state = calculatePostTransitionState(this, targetRouteName, models);\n this._hydrateUnsuppliedQueryParams(state, queryParams, _fromRouterService);\n this._serializeQueryParams(state.handlerInfos, queryParams);\n\n if (!_fromRouterService) {\n this._pruneDefaultQueryParamValues(state.handlerInfos, queryParams);\n }\n },\n _getQPMeta: function (handlerInfo) {\n var route = handlerInfo.handler;\n return route && (0, _emberMetal.get)(route, '_qp');\n },\n _queryParamsFor: function (handlerInfos) {\n var handlerInfoLength = handlerInfos.length,\n i,\n qpMeta,\n _i,\n qp;\n var leafRouteName = handlerInfos[handlerInfoLength - 1].name;\n var cached = this._qpCache[leafRouteName];\n if (cached !== undefined) {\n return cached;\n }\n\n var shouldCache = true;\n var map = {};\n var qps = [];\n null;\n\n\n for (i = 0; i < handlerInfoLength; ++i) {\n qpMeta = this._getQPMeta(handlerInfos[i]);\n\n\n if (!qpMeta) {\n shouldCache = false;\n continue;\n }\n\n // Loop over each QP to make sure we don't have any collisions by urlKey\n for (_i = 0; _i < qpMeta.qps.length; _i++) {\n qp = qpMeta.qps[_i];\n\n\n qps.push(qp);\n }\n\n (0, _polyfills.assign)(map, qpMeta.map);\n }\n\n var finalQPMeta = { qps: qps, map: map };\n\n if (shouldCache) {\n this._qpCache[leafRouteName] = finalQPMeta;\n }\n\n return finalQPMeta;\n },\n _fullyScopeQueryParams: function (leafRouteName, contexts, queryParams) {\n var state = calculatePostTransitionState(this, leafRouteName, contexts),\n i,\n len,\n qpMeta,\n j,\n qpLen,\n qp,\n presentProp;\n var handlerInfos = state.handlerInfos;\n\n for (i = 0, len = handlerInfos.length; i < len; ++i) {\n qpMeta = this._getQPMeta(handlerInfos[i]);\n\n\n if (!qpMeta) {\n continue;\n }\n\n for (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\n if (presentProp) {\n if (presentProp !== qp.scopedPropertyName) {\n queryParams[qp.scopedPropertyName] = queryParams[presentProp];\n delete queryParams[presentProp];\n }\n }\n }\n }\n },\n _hydrateUnsuppliedQueryParams: function (state, queryParams, _fromRouterService) {\n var handlerInfos = state.handlerInfos,\n i,\n qpMeta,\n j,\n qpLen,\n qp,\n presentProp,\n cacheKey;\n var appCache = this._bucketCache;\n\n for (i = 0; i < handlerInfos.length; ++i) {\n qpMeta = this._getQPMeta(handlerInfos[i]);\n\n\n if (!qpMeta) {\n continue;\n }\n\n for (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\n false && !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 }if (_fromRouterService && presentProp !== false) {\n return false;\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 cacheKey = (0, _utils.calculateCacheKey)(qp.route.fullRouteName, qp.parts, state.params);\n\n queryParams[qp.scopedPropertyName] = appCache.lookup(cacheKey, qp.prop, qp.defaultValue);\n }\n }\n }\n },\n _scheduleLoadingEvent: function (transition, originRoute) {\n this._cancelSlowTransitionTimer();\n this._slowTransitionTimer = (0, _runloop.scheduleOnce)('routerTransitions', this, '_handleSlowTransition', transition, originRoute);\n },\n\n currentState: null,\n targetState: null,\n\n _handleSlowTransition: function (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 var targetState = new _router_state.default(this, this._routerMicrolib, this._routerMicrolib.activeTransition.state);\n this.set('targetState', targetState);\n\n transition.trigger(true, 'loading', transition, originRoute);\n },\n _cancelSlowTransitionTimer: function () {\n if (this._slowTransitionTimer) {\n (0, _runloop.cancel)(this._slowTransitionTimer);\n }\n this._slowTransitionTimer = null;\n },\n _markErrorAsHandled: function (error) {\n this._handledErrors.add(error);\n },\n _isErrorHandled: function (error) {\n return this._handledErrors.has(error);\n },\n _clearHandledError: function (error) {\n this._handledErrors.delete(error);\n },\n _getEngineInstance: function (_ref) {\n var name = _ref.name,\n instanceId = _ref.instanceId,\n mountPoint = _ref.mountPoint,\n owner;\n\n var engineInstances = this._engineInstances;\n\n if (!engineInstances[name]) {\n engineInstances[name] = Object.create(null);\n }\n\n var engineInstance = engineInstances[name][instanceId];\n\n if (!engineInstance) {\n owner = (0, _emberOwner.getOwner)(this);\n\n\n false && !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\n engineInstance = owner.buildChildEngineInstance(name, {\n routable: true,\n mountPoint: mountPoint\n });\n\n engineInstance.boot();\n\n engineInstances[name][instanceId] = engineInstance;\n }\n\n return engineInstance;\n }\n });\n\n /*\n Helper function for iterating over routes in a set of handlerInfos that are\n at or above the given origin route. Example: if `originRoute` === 'foo.bar'\n and the handlerInfos 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<HandlerInfo>} handlerInfos\n @param {Function} callback\n @return {Void}\n */\n function forEachRouteAbove(handlerInfos, callback) {\n var i, handlerInfo, route;\n\n for (i = handlerInfos.length - 1; i >= 0; --i) {\n handlerInfo = handlerInfos[i];\n route = handlerInfo.handler;\n\n // handlerInfo.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, handlerInfo) !== true) {\n return;\n }\n }\n }\n\n // These get invoked when an action bubbles above ApplicationRoute\n // and are not meant to be overridable.\n var defaultActionHandlers = {\n willResolveModel: function (handlerInfos, transition, originRoute) {\n this._scheduleLoadingEvent(transition, originRoute);\n },\n error: function (handlerInfos, error, transition) {\n var router = this;\n\n var handlerInfoWithError = handlerInfos[handlerInfos.length - 1];\n\n forEachRouteAbove(handlerInfos, function (route, handlerInfo) {\n // We don't check the leaf most handlerInfo since that would\n // technically be below where we're at in the route hierarchy.\n if (handlerInfo !== handlerInfoWithError) {\n // Check for the existence of an 'error' route.\n errorRouteName = findRouteStateName(route, 'error');\n\n if (errorRouteName) {\n router._markErrorAsHandled(error);\n router.intermediateTransitionTo(errorRouteName, error);\n return false;\n }\n }\n\n // Check for an 'error' substate route\n var errorSubstateName = findRouteSubstateName(route, 'error'),\n errorRouteName;\n if (errorSubstateName) {\n router._markErrorAsHandled(error);\n router.intermediateTransitionTo(errorSubstateName, error);\n return false;\n }\n\n return true;\n });\n\n logError(error, 'Error while processing route: ' + transition.targetName);\n },\n loading: function (handlerInfos, transition) {\n var router = this;\n\n var handlerInfoWithSlowLoading = handlerInfos[handlerInfos.length - 1];\n\n forEachRouteAbove(handlerInfos, function (route, handlerInfo) {\n // We don't check the leaf most handlerInfo since that would\n // technically be below where we're at in the route hierarchy.\n if (handlerInfo !== handlerInfoWithSlowLoading) {\n // Check for the existence of a 'loading' route.\n loadingRouteName = findRouteStateName(route, 'loading');\n\n if (loadingRouteName) {\n router.intermediateTransitionTo(loadingRouteName);\n return false;\n }\n }\n\n // Check for loading substate\n var loadingSubstateName = findRouteSubstateName(route, 'loading'),\n loadingRouteName;\n if (loadingSubstateName) {\n router.intermediateTransitionTo(loadingSubstateName);\n return false;\n }\n\n // Don't bubble above pivot route.\n return transition.pivotHandler !== route;\n });\n }\n };\n\n function logError(_error, initialMessage) {\n var _console;\n\n var errorArgs = [];\n var error = void 0;\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 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 function findRouteSubstateName(route, state) {\n var owner = (0, _emberOwner.getOwner)(route);\n var routeName = route.routeName,\n fullRouteName = route.fullRouteName,\n router = route._router;\n\n var substateNameFull = fullRouteName + '_' + state;\n\n return routeHasBeenDefined(owner, router, routeName + '_' + state, substateNameFull) ? substateNameFull : '';\n }\n\n /**\n Finds the name of the state route if it exists for the given route. A state\n route is of the form `route.state`, such as `foo.loading`. Properly Handles\n `application` named routes.\n \n @private\n @param {Route} route\n @param {String} state\n @return {String}\n */\n function findRouteStateName(route, state) {\n var owner = (0, _emberOwner.getOwner)(route);\n var routeName = route.routeName,\n fullRouteName = route.fullRouteName,\n router = route._router;\n\n var stateName = routeName === 'application' ? state : routeName + '.' + state;\n var stateNameFull = fullRouteName === 'application' ? state : fullRouteName + '.' + state;\n\n return routeHasBeenDefined(owner, router, stateName, stateNameFull) ? stateNameFull : '';\n }\n\n /**\n Determines whether or not a route has been defined by checking that the route\n is in the Router's map and the owner has a registration for that route.\n \n @private\n @param {Owner} owner\n @param {Router} router\n @param {String} localName\n @param {String} fullName\n @return {Boolean}\n */\n function routeHasBeenDefined(owner, router, localName, fullName) {\n 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(handlerInfos, ignoreFailure, args) {\n var name = args.shift(),\n i;\n\n if (!handlerInfos) {\n if (ignoreFailure) {\n return;\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 handlerInfo = void 0,\n handler = void 0,\n actionHandler = void 0;\n\n for (i = handlerInfos.length - 1; i >= 0; i--) {\n handlerInfo = handlerInfos[i];\n handler = handlerInfo.handler;\n actionHandler = handler && handler.actions && handler.actions[name];\n if (actionHandler) {\n if (actionHandler.apply(handler, args) === true) {\n eventWasHandled = true;\n } else {\n // Should only hit here if a non-bubbling error action is triggered on a route.\n if (name === 'error') {\n handler._router._markErrorAsHandled(args[0]);\n }\n return;\n }\n }\n }\n\n var defaultHandler = defaultActionHandlers[name];\n if (defaultHandler) {\n defaultHandler.apply(this, [handlerInfos].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 i,\n handlerInfo;\n var handlerInfos = state.handlerInfos,\n params = state.params;\n\n for (i = 0; i < handlerInfos.length; ++i) {\n handlerInfo = handlerInfos[i];\n\n // If the handlerInfo is not resolved, we serialize the context into params\n\n if (!handlerInfo.isResolved) {\n params[handlerInfo.name] = handlerInfo.serialize(handlerInfo.context);\n } else {\n params[handlerInfo.name] = handlerInfo.params;\n }\n }\n return state;\n }\n\n function updatePaths(router) {\n var infos = router._routerMicrolib.currentHandlerInfos;\n if (infos.length === 0) {\n return;\n }\n\n var path = EmberRouter._routePath(infos);\n var currentRouteName = infos[infos.length - 1].name;\n var currentURL = router.get('location').getURL();\n\n (0, _emberMetal.set)(router, 'currentPath', path);\n (0, _emberMetal.set)(router, 'currentRouteName', currentRouteName);\n (0, _emberMetal.set)(router, 'currentURL', currentURL);\n\n var appController = (0, _emberOwner.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 (!('currentPath' in appController)) {\n (0, _emberMetal.defineProperty)(appController, 'currentPath');\n }\n\n (0, _emberMetal.set)(appController, 'currentPath', path);\n\n if (!('currentRouteName' in appController)) {\n (0, _emberMetal.defineProperty)(appController, 'currentRouteName');\n }\n\n (0, _emberMetal.set)(appController, 'currentRouteName', currentRouteName);\n }\n\n EmberRouter.reopenClass({\n map: function (callback) {\n if (!this.dslCallbacks) {\n this.dslCallbacks = [];\n this.reopenClass({ dslCallbacks: this.dslCallbacks });\n }\n\n this.dslCallbacks.push(callback);\n\n return this;\n },\n _routePath: function (handlerInfos) {\n var path = [],\n i;\n\n // We have to handle coalescing resource names that\n // are prefixed with their parent's names, e.g.\n // ['foo', 'foo.bar.baz'] => 'foo.bar.baz', not 'foo.foo.bar.baz'\n\n function intersectionMatches(a1, a2) {\n var i;\n\n for (i = 0; i < a1.length; ++i) {\n if (a1[i] !== a2[i]) {\n return false;\n }\n }\n return true;\n }\n\n var name = void 0,\n nameParts = void 0,\n oldNameParts = void 0;\n for (i = 1; i < handlerInfos.length; i++) {\n name = handlerInfos[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 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.state);\n\n if (!router.currentState) {\n router.set('currentState', routerState);\n }\n router.set('targetState', routerState);\n\n transition.promise = transition.catch(function (error) {\n if (router._isErrorHandled(error)) {\n router._clearHandledError(error);\n } else {\n throw error;\n }\n });\n }\n\n function forEachQueryParam(router, handlerInfos, queryParams, callback) {\n var qpCache = router._queryParamsFor(handlerInfos),\n value,\n qp;\n\n for (var key in queryParams) {\n if (!queryParams.hasOwnProperty(key)) {\n continue;\n }\n value = queryParams[key];\n qp = qpCache.map[key];\n\n\n callback(key, value, qp);\n }\n }\n\n function findLiveRoute(liveRoutes, name) {\n if (!liveRoutes) {\n return;\n }\n var stack = [liveRoutes],\n test,\n outlets;\n while (stack.length > 0) {\n test = stack.shift();\n\n if (test.render.name === name) {\n return test;\n }\n outlets = test.outlets;\n\n for (var outletName in outlets) {\n stack.push(outlets[outletName]);\n }\n }\n }\n\n function appendLiveRoute(liveRoutes, defaultParentState, renderOptions) {\n var target = void 0;\n var myState = {\n render: renderOptions,\n outlets: Object.create(null),\n wasUsed: false\n };\n if (renderOptions.into) {\n target = findLiveRoute(liveRoutes, renderOptions.into);\n } else {\n target = defaultParentState;\n }\n if (target) {\n (0, _emberMetal.set)(target.outlets, renderOptions.outlet, myState);\n } else {\n if (_deprecatedFeatures.ORPHAN_OUTLET_RENDER && renderOptions.into) {\n false && !false && (0, _debug.deprecate)('Rendering into a {{render}} helper that resolves to an {{outlet}} is deprecated.', false, {\n id: 'ember-routing.top-level-render-helper',\n until: '3.0.0',\n url: 'https://emberjs.com/deprecations/v2.x/#toc_rendering-into-a-render-helper-that-resolves-to-an-outlet'\n });\n\n // Megahax time. Post-3.0-breaking-changes, we will just assert\n // right here that the user tried to target a nonexistent\n // thing. But for now we still need to support the `render`\n // helper, and people are allowed to target templates rendered\n // by the render helper. So instead we defer doing anyting with\n // these orphan renders until afterRender.\n if (!liveRoutes.outlets.__ember_orphans__) {\n liveRoutes.outlets.__ember_orphans__ = {\n render: {\n name: '__ember_orphans__'\n },\n outlets: Object.create(null)\n };\n }\n\n liveRoutes.outlets.__ember_orphans__.outlets[renderOptions.into] = myState;\n (0, _runloop.schedule)('afterRender', function () {\n false && !liveRoutes.outlets.__ember_orphans__.outlets[renderOptions.into].wasUsed && (0, _debug.assert)('You attempted to render into \\'' + renderOptions.into + '\\' but it was not found', liveRoutes.outlets.__ember_orphans__.outlets[renderOptions.into].wasUsed);\n });\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 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 exports.default = EmberRouter;\n});","enifed('ember-routing/lib/system/router_state', ['exports', '@ember/polyfills', 'ember-routing/lib/utils'], function (exports, _polyfills, _utils) {\n 'use strict';\n\n var RouterState = function () {\n function RouterState() {\n var emberRouter = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n var routerJs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n var routerJsState = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n\n this.emberRouter = emberRouter;\n this.routerJs = routerJs;\n this.routerJsState = routerJsState;\n }\n\n RouterState.prototype.isActiveIntent = function (routeName, models, queryParams, queryParamsMustMatch) {\n var state = this.routerJsState,\n visibleQueryParams;\n if (!this.routerJs.isActiveIntent(routeName, models, null, state)) {\n return false;\n }\n\n if (queryParamsMustMatch && Object.keys(queryParams).length > 0) {\n visibleQueryParams = (0, _polyfills.assign)({}, queryParams);\n\n\n this.emberRouter._prepareQueryParams(routeName, models, visibleQueryParams);\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});","/**\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/**\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 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*/\nenifed(\"ember-routing/lib/system/transition\", [], function () {\n \"use strict\";\n});","enifed('ember-routing/lib/utils', ['exports', 'ember-owner', '@ember/polyfills', 'ember-metal', '@ember/error'], function (exports, _emberOwner, _polyfills, _emberMetal, _error) {\n 'use strict';\n\n exports.extractRouteArgs = function (args) {\n args = args.slice();\n var possibleQueryParams = args[args.length - 1];\n\n var queryParams = void 0;\n if (possibleQueryParams && possibleQueryParams.hasOwnProperty('queryParams')) {\n queryParams = args.pop().queryParams;\n } else {\n queryParams = {};\n }\n\n var routeName = args.shift();\n\n return { routeName: routeName, models: args, queryParams: queryParams };\n };\n exports.getActiveTargetName = function (router) {\n var handlerInfos = router.activeTransition ? router.activeTransition.state.handlerInfos : router.state.handlerInfos;\n return handlerInfos[handlerInfos.length - 1].name;\n };\n exports.stashParamNames = function (router, handlerInfos) {\n if (handlerInfos._namesStashed) {\n return;\n }\n\n // This helper exists because router.js/route-recognizer.js awkwardly\n // keeps separate a handlerInfo'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 var targetRouteName = handlerInfos[handlerInfos.length - 1].name,\n i,\n handlerInfo,\n names,\n route;\n var recogHandlers = router._routerMicrolib.recognizer.handlersFor(targetRouteName);\n var dynamicParent = null;\n\n for (i = 0; i < handlerInfos.length; ++i) {\n handlerInfo = handlerInfos[i];\n names = recogHandlers[i].names;\n\n\n if (names.length) {\n dynamicParent = handlerInfo;\n }\n\n handlerInfo._names = names;\n\n route = handlerInfo.handler;\n\n route._stashNames(handlerInfo, dynamicParent);\n }\n\n handlerInfos._namesStashed = true;\n };\n exports.calculateCacheKey = calculateCacheKey;\n exports.normalizeControllerQueryParams =\n\n /*\n Controller-defined query parameters can come in three shapes:\n \n Array\n queryParams: ['foo', 'bar']\n Array of simple objects where value is an alias\n queryParams: [\n {\n 'foo': 'rename_foo_to_this'\n },\n {\n 'bar': 'call_bar_this_instead'\n }\n ]\n Array of fully defined objects\n queryParams: [\n {\n 'foo': {\n as: 'rename_foo_to_this'\n },\n }\n {\n 'bar': {\n as: 'call_bar_this_instead',\n scope: 'controller'\n }\n }\n ]\n \n This helper normalizes all three possible styles into the\n 'Array of fully defined objects' style.\n */\n function (queryParams) {\n var qpMap = {},\n i;\n\n for (i = 0; i < queryParams.length; ++i) {\n accumulateQueryParamDescriptors(queryParams[i], qpMap);\n }\n\n return qpMap;\n };\n exports.resemblesURL = resemblesURL;\n exports.prefixRouteNameArg =\n\n /*\n Returns an arguments array where the route name arg is prefixed based on the mount point\n \n @private\n */\n function (route, args) {\n var routeName = args[0];\n var owner = (0, _emberOwner.getOwner)(route);\n var prefix = owner.mountPoint;\n\n // only alter the routeName if it's actually referencing a route.\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 exports.shallowEqual = function (a, b) {\n var k = void 0;\n var aCount = 0;\n var bCount = 0;\n for (k in a) {\n if (a.hasOwnProperty(k)) {\n if (a[k] !== b[k]) {\n return false;\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\n var ALL_PERIODS_REGEX = /\\./g;\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\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\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\n var prefixParts = prefix.split('.'),\n i,\n currPart;\n var currPrefix = '';\n\n for (i = 0; i < prefixParts.length; i++) {\n currPart = prefixParts.slice(0, i + 1).join('.');\n\n if (part.indexOf(currPart) !== 0) {\n break;\n }\n currPrefix = currPart;\n }\n\n return currPrefix;\n }\n\n /*\n Stolen from Controller\n */\n function calculateCacheKey(prefix) {\n var parts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [],\n i,\n part,\n cacheValuePrefix,\n value,\n partRemovedPrefix;\n var values = arguments[2];\n\n var suffixes = '';\n for (i = 0; i < parts.length; ++i) {\n part = parts[i];\n cacheValuePrefix = _calculateCacheValuePrefix(prefix, part);\n value = void 0;\n\n if (values) {\n if (cacheValuePrefix && cacheValuePrefix in values) {\n partRemovedPrefix = part.indexOf(cacheValuePrefix) === 0 ? part.substr(cacheValuePrefix.length + 1) : part;\n\n value = (0, _emberMetal.get)(values[cacheValuePrefix], partRemovedPrefix);\n } else {\n value = (0, _emberMetal.get)(values, part);\n }\n }\n suffixes += '::' + part + ':' + value;\n }\n return prefix + suffixes.replace(ALL_PERIODS_REGEX, '-');\n }\n\n function accumulateQueryParamDescriptors(_desc, accum) {\n var desc = _desc,\n singleDesc;\n var tmp = void 0;\n if (typeof desc === 'string') {\n tmp = {};\n tmp[desc] = { as: null };\n desc = tmp;\n }\n\n for (var key in desc) {\n if (!desc.hasOwnProperty(key)) {\n return;\n }\n\n singleDesc = desc[key];\n\n if (typeof singleDesc === 'string') {\n singleDesc = { as: singleDesc };\n }\n\n tmp = accum[key] || { as: null, scope: 'model' };\n (0, _polyfills.assign)(tmp, singleDesc);\n\n accum[key] = tmp;\n }\n }\n\n /*\n Check if a routeName resembles a url instead\n \n @private\n */\n function resemblesURL(str) {\n return typeof str === 'string' && (str === '' || str[0] === '/');\n }\n});","enifed('ember-runtime/index', ['exports', 'ember-runtime/lib/system/object', 'ember-runtime/lib/mixins/registry_proxy', 'ember-runtime/lib/mixins/container_proxy', 'ember-runtime/lib/copy', 'ember-runtime/lib/compare', 'ember-runtime/lib/is-equal', 'ember-runtime/lib/mixins/array', 'ember-runtime/lib/mixins/comparable', 'ember-runtime/lib/system/namespace', 'ember-runtime/lib/system/array_proxy', 'ember-runtime/lib/system/object_proxy', 'ember-runtime/lib/system/core_object', 'ember-runtime/lib/mixins/action_handler', 'ember-runtime/lib/mixins/copyable', 'ember-runtime/lib/mixins/enumerable', 'ember-runtime/lib/mixins/-proxy', 'ember-runtime/lib/mixins/observable', 'ember-runtime/lib/mixins/mutable_enumerable', 'ember-runtime/lib/mixins/target_action_support', 'ember-runtime/lib/mixins/evented', 'ember-runtime/lib/mixins/promise_proxy', 'ember-runtime/lib/ext/rsvp', 'ember-runtime/lib/type-of', 'ember-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) {\n 'use strict';\n\n exports.typeOf = exports.onerrorDefault = exports.RSVP = exports.PromiseProxyMixin = exports.Evented = exports.TargetActionSupport = exports.MutableEnumerable = exports.Observable = exports._contentFor = exports._ProxyMixin = exports.Enumerable = exports.Copyable = exports.ActionHandler = exports.CoreObject = exports.ObjectProxy = exports.ArrayProxy = exports.Namespace = exports.Comparable = exports.isArray = exports.uniqBy = exports.removeAt = exports.MutableArray = exports.A = exports.NativeArray = exports.isEmberArray = exports.Array = exports.isEqual = exports.compare = exports.copy = exports.ContainerProxyMixin = exports.RegistryProxyMixin = exports.FrameworkObject = exports.Object = undefined;\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, 'isEmberArray', {\n enumerable: true,\n get: function () {\n return _array.isEmberArray;\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, '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-runtime/lib/compare', ['exports', 'ember-runtime/lib/type-of', 'ember-runtime/lib/mixins/comparable'], function (exports, _typeOf, _comparable) {\n 'use strict';\n\n exports.default = compare;\n\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\n //\n // the spaceship operator\n //\n // `. ___\n // __,' __`. _..----....____\n // __...--.'``;. ,. ;``--..__ .' ,-._ _.-'\n // _..-''-------' `' `' `' O ``-''._ (,;') _,'\n // ,'________________ \\`-._`-','\n // `._ ```````````------...___ '-.._'-:\n // ```--.._ ,. ````--...__\\-.\n // `.--. `-` \"INFINITY IS LESS ____ | |`\n // `. `. THAN BEYOND\" ,'`````. ; ;`\n // `._`. __________ `. \\'__/`\n // `-:._____/______/___/____`. \\ `\n // | `._ `. \\\n // `._________`-. `. `.___\n // SSt `------'`\n function spaceship(a, b) {\n var diff = a - b;\n return (diff > 0) - (diff < 0);\n }\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 function compare(v, w) {\n if (v === w) {\n return 0;\n }\n\n var type1 = (0, _typeOf.typeOf)(v),\n vLen,\n wLen,\n len,\n i,\n r;\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 }\n\n // types are equal - so we have to check values now\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 vLen = v.length;\n wLen = w.length;\n len = Math.min(vLen, wLen);\n\n\n for (i = 0; i < len; i++) {\n r = compare(v[i], w[i]);\n\n if (r !== 0) {\n return r;\n }\n }\n\n // all elements are equal now\n // shorter array should be ordered first\n return spaceship(vLen, wLen);\n }\n case 'instance':\n if (_comparable.default.detect(v)) {\n return v.compare(v, w);\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-runtime/lib/copy', ['exports', '@ember/debug', 'ember-runtime/lib/system/object', 'ember-runtime/lib/mixins/copyable'], function (exports, _debug, _object, _copyable) {\n 'use strict';\n\n exports.default =\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 function (obj, deep) {\n false && !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 });\n\n // fast paths\n if ('object' !== typeof obj || obj === null) {\n return obj; // can't copy primitives\n }\n\n if (!Array.isArray(obj) && _copyable.default.detect(obj)) {\n return obj.copy(deep);\n }\n\n return _copy(obj, deep, deep ? [] : null, deep ? [] : null);\n };\n\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 = void 0,\n loc = void 0,\n key;\n\n // avoid cyclical loops\n if (deep && (loc = seen.indexOf(obj)) >= 0) {\n return copies[loc];\n }\n\n // IMPORTANT: this specific test will detect a native array only. Any other\n // object will need to implement Copyable.\n if (Array.isArray(obj)) {\n ret = obj.slice();\n\n if (deep) {\n loc = ret.length;\n\n while (--loc >= 0) {\n ret[loc] = _copy(ret[loc], deep, seen, copies);\n }\n }\n } else if (_copyable.default.detect(obj)) {\n ret = obj.copy(deep, seen, copies);\n } else if (obj instanceof Date) {\n ret = new Date(obj.getTime());\n } else {\n false && !(!(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\n ret = {};\n key = void 0;\n\n for (key in obj) {\n // support Null prototype\n if (!Object.prototype.hasOwnProperty.call(obj, key)) {\n continue;\n }\n\n // Prevents browsers that don't respect non-enumerability from\n // copying internal Ember properties\n if (key.substring(0, 2) === '__') {\n continue;\n }\n\n ret[key] = deep ? _copy(obj[key], deep, seen, copies) : obj[key];\n }\n }\n\n if (deep) {\n seen.push(obj);\n copies.push(ret);\n }\n\n return ret;\n }\n});","enifed('ember-runtime/lib/ext/function', ['ember-environment', 'ember-metal'], function (_emberEnvironment, _emberMetal) {\n 'use strict';\n\n /**\n @module ember\n */\n\n if (_emberEnvironment.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 return _emberMetal.computed.apply(undefined, 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 return _emberMetal.observer.apply(undefined, 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\n on: {\n configurable: true,\n enumerable: false,\n writable: true,\n value: function () {\n return _emberMetal.on.apply(undefined, Array.prototype.slice.call(arguments).concat([this]));\n }\n }\n });\n }\n});","enifed('ember-runtime/lib/ext/rsvp', ['exports', 'rsvp', '@ember/runloop', 'ember-error-handling', '@ember/debug'], function (exports, _rsvp, _runloop, _emberErrorHandling, _debug) {\n 'use strict';\n\n exports.onerrorDefault = onerrorDefault;\n\n _rsvp.configure('async', function (callback, promise) {\n _runloop.backburner.schedule('actions', null, callback, promise);\n });\n\n _rsvp.configure('after', function (cb) {\n _runloop.backburner.schedule(_runloop._rsvpErrorQueue, null, cb);\n });\n\n _rsvp.on('error', onerrorDefault);\n\n function onerrorDefault(reason) {\n var error = errorFor(reason),\n overrideDispatch;\n if (error) {\n overrideDispatch = (0, _emberErrorHandling.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 false && !false && (0, _debug.assert)('The URL \\'' + reason.message + '\\' did not match any routes in your application', false);\n\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 if (typeof error === 'string') {\n error = new Error(error);\n }\n Object.defineProperty(error, '__reason_with_error_thrown__', {\n value: reason,\n enumerable: false\n });\n return error;\n }\n\n exports.default = _rsvp;\n});","enifed('ember-runtime/lib/is-equal', ['exports'], function (exports) {\n 'use strict';\n\n exports.default =\n /**\n @module @ember/utils\n */\n /**\n Compares two objects, returning true if they are equal.\n \n ```javascript\n import { isEqual } from '@ember/utils';\n \n isEqual('hello', 'hello'); // true\n isEqual(1, 2); // false\n ```\n \n `isEqual` is a more specific comparison than a triple equal comparison.\n It will call the `isEqual` instance method on the objects being\n compared, allowing finer control over when objects should be considered\n equal to each other.\n \n ```javascript\n import { isEqual } from '@ember/utils';\n import EmberObject from '@ember/object';\n \n let Person = EmberObject.extend({\n isEqual(other) { return this.ssn == other.ssn; }\n });\n \n let personA = Person.create({name: 'Muhammad Ali', ssn: '123-45-6789'});\n let personB = Person.create({name: 'Cassius Clay', ssn: '123-45-6789'});\n \n isEqual(personA, personB); // true\n ```\n \n Due to the expense of array comparisons, collections will never be equal to\n each other even if each of their items are equal to each other.\n \n ```javascript\n import { isEqual } from '@ember/utils';\n \n isEqual([4, 2], [4, 2]); // false\n ```\n \n @method isEqual\n @for @ember/utils\n @static\n @param {Object} a first object to compare\n @param {Object} b second object to compare\n @return {Boolean}\n @public\n */\n function (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-runtime/lib/mixins/-proxy', ['exports', '@glimmer/reference', 'ember-meta', 'ember-metal', 'ember-utils', '@ember/debug'], function (exports, _reference, _emberMeta, _emberMetal, _emberUtils, _debug) {\n 'use strict';\n\n exports.contentFor = contentFor;\n\n function contentPropertyDidChange(content, contentKey) {\n var key = contentKey.slice(8); // remove \"content.\"\n if (key in this) {\n return;\n } // if shadowed in proxy\n (0, _emberMetal.notifyPropertyChange)(this, key);\n } /**\n @module ember\n */\n\n function contentFor(proxy, m) {\n var content = (0, _emberMetal.get)(proxy, 'content');\n var tag = (m === undefined ? (0, _emberMeta.meta)(proxy) : m).readableTag();\n if (tag !== undefined) {\n tag.inner.second.inner.update((0, _emberMetal.tagFor)(content));\n }\n return content;\n }\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 exports.default = _emberMetal.Mixin.create({\n /**\n The object whose properties will be forwarded.\n @property content\n @type EmberObject\n @default null\n @private\n */\n content: null,\n\n init: function () {\n this._super.apply(this, arguments);\n (0, _emberUtils.setProxy)(this);\n var m = (0, _emberMeta.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 this._super.apply(this, arguments);\n },\n\n isTruthy: (0, _emberMetal.computed)('content', function () {\n return !!(0, _emberMetal.get)(this, 'content');\n }),\n\n willWatchProperty: function (key) {\n (0, _emberMetal.addObserver)(this, 'content.' + key, null, contentPropertyDidChange);\n },\n didUnwatchProperty: function (key) {\n (0, _emberMetal.removeObserver)(this, 'content.' + key, null, contentPropertyDidChange);\n },\n unknownProperty: function (key) {\n var content = contentFor(this);\n if (content) {\n return (0, _emberMetal.get)(content, key);\n }\n },\n setUnknownProperty: function (key, value) {\n var m = (0, _emberMeta.meta)(this);\n\n if (m.proto === this) {\n // if marked as prototype then just defineProperty\n // rather than delegate\n (0, _emberMetal.defineProperty)(this, key, null, value);\n return value;\n }\n\n var content = contentFor(this, m);\n\n false && !content && (0, _debug.assert)('Cannot delegate set(\\'' + key + '\\', ' + value + ') to the \\'content\\' property of object proxy ' + this + ': its \\'content\\' is undefined.', content);\n\n return (0, _emberMetal.set)(content, key, value);\n }\n });\n});","enifed('ember-runtime/lib/mixins/action_handler', ['exports', 'ember-metal', '@ember/debug'], function (exports, _emberMetal, _debug) {\n 'use strict';\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 /**\n @module ember\n */\n\n var ActionHandler = _emberMetal.Mixin.create({\n mergedProperties: ['actions'],\n\n send: function (actionName) {\n for (_len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n false && !(!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 shouldBubble = this.actions[actionName].apply(this, args) === true;\n\n if (!shouldBubble) {\n return;\n }\n }\n\n var target = (0, _emberMetal.get)(this, 'target'),\n _len,\n args,\n _key,\n shouldBubble;\n if (target) {\n false && !(typeof target.send === 'function') && (0, _debug.assert)('The `target` for ' + this + ' (' + target + ') does not have a `send` method', typeof target.send === 'function');\n\n target.send.apply(target, arguments);\n }\n }\n });\n\n exports.default = ActionHandler;\n});","enifed('ember-runtime/lib/mixins/array', ['exports', '@ember/deprecated-features', 'ember-metal', 'ember-utils', '@ember/debug', 'ember-runtime/lib/mixins/enumerable', 'ember-runtime/lib/compare', 'ember-environment', 'ember-runtime/lib/mixins/observable', 'ember-runtime/lib/copy', '@ember/error', 'ember-runtime/lib/mixins/mutable_enumerable', 'ember-runtime/lib/type-of'], function (exports, _deprecatedFeatures, _emberMetal, _emberUtils, _debug, _enumerable, _compare, _emberEnvironment, _observable, _copy, _error, _mutable_enumerable, _typeOf) {\n 'use strict';\n\n exports.MutableArray = exports.NativeArray = exports.A = undefined;\n exports.isEmberArray = function (obj) {\n return obj && obj[EMBER_ARRAY];\n };\n exports.uniqBy = uniqBy;\n exports.isArray = isArray;\n exports.removeAt = removeAt;\n\n var _Mixin$create, _NativeArray;\n\n var EMPTY_ARRAY = Object.freeze([]);\n var EMBER_ARRAY = (0, _emberUtils.symbol)('EMBER_ARRAY');\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 false && !isArray(array) && (0, _debug.assert)('first argument passed to `uniqBy` should be array', isArray(array));\n\n var ret = A();\n var seen = new Set();\n var getter = typeof key === 'function' ? key : function (item) {\n return (0, _emberMetal.get)(item, key);\n };\n\n array.forEach(function (item) {\n var val = getter(item);\n if (!seen.has(val)) {\n seen.add(val);\n ret.push(item);\n }\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, _emberMetal.get)(item, key);\n } : function (item) {\n return !!(0, _emberMetal.get)(item, key);\n };\n }\n\n function findIndex(array, predicate, startAt) {\n var len = array.length,\n index,\n item;\n for (index = startAt; index < len; index++) {\n item = (0, _emberMetal.objectAt)(array, index);\n\n if (predicate(item, index, array)) {\n return index;\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, _emberMetal.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 return findIndex(array, function (item, index, array) {\n return !cb(item, index, array);\n }, 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[3];\n\n var len = array.length;\n\n if (startAt < 0) {\n startAt += len;\n }\n\n // SameValueZero comparison (NaN !== NaN)\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 /**\n Returns true if the passed object is an array or Array-like.\n \n Objects are considered Array-like if any of the following are true:\n \n - the object is a native Array\n - the object has an objectAt property\n - the object is an Object, and has a length property\n \n Unlike `typeOf` this method returns true even if the passed object is\n not formally an array but appears to be array-like (i.e. implements `Array`)\n \n ```javascript\n import { isArray } from '@ember/array';\n import ArrayProxy from '@ember/array/proxy';\n \n isArray(); // false\n isArray([]); // true\n isArray(ArrayProxy.create({ content: [] })); // true\n ```\n \n @method isArray\n @static\n @for @ember/array\n @param {Object} obj The object to test\n @return {Boolean} true if the passed object is an array or Array-like\n @public\n */\n function isArray(_obj) {\n var obj = _obj;\n\n\n if (!obj || obj.setInterval) {\n return false;\n }\n if (Array.isArray(obj) || ArrayMixin.detect(obj)) {\n return true;\n }\n\n var type = (0, _typeOf.typeOf)(obj);\n if ('array' === type) {\n return true;\n }\n var length = obj.length;\n if (typeof length === 'number' && length === length && 'object' === type) {\n return true;\n }\n return false;\n }\n\n // ..........................................................\n // ARRAY\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 var ArrayMixin = _emberMetal.Mixin.create(_enumerable.default, (_Mixin$create = {}, _Mixin$create[EMBER_ARRAY] = true, _Mixin$create.objectsAt = function (indexes) {\n var _this = this;\n\n return indexes.map(function (idx) {\n return (0, _emberMetal.objectAt)(_this, idx);\n });\n }, _Mixin$create['[]'] = (0, _emberMetal.computed)({\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 = (0, _emberMetal.computed)(function () {\n return (0, _emberMetal.objectAt)(this, 0);\n }).readOnly(), _Mixin$create.lastObject = (0, _emberMetal.computed)(function () {\n return (0, _emberMetal.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[1];\n\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, _emberMetal.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 idx;\n\n if (startAt === undefined || startAt >= len) {\n startAt = len - 1;\n }\n\n if (startAt < 0) {\n startAt += len;\n }\n\n for (idx = startAt; idx >= 0; idx--) {\n if ((0, _emberMetal.objectAt)(this, idx) === object) {\n return idx;\n }\n }\n\n return -1;\n }, _Mixin$create.addArrayObserver = function (target, opts) {\n return (0, _emberMetal.addArrayObserver)(this, target, opts);\n }, _Mixin$create.removeArrayObserver = function (target, opts) {\n return (0, _emberMetal.removeArrayObserver)(this, target, opts);\n }, _Mixin$create.hasArrayObservers = (0, _emberMetal.computed)(function () {\n return (0, _emberMetal.hasListeners)(this, '@array:change') || (0, _emberMetal.hasListeners)(this, '@array:before');\n }), _Mixin$create.arrayContentWillChange = function (startIdx, removeAmt, addAmt) {\n return (0, _emberMetal.arrayContentWillChange)(this, startIdx, removeAmt, addAmt);\n }, _Mixin$create.arrayContentDidChange = function (startIdx, removeAmt, addAmt) {\n return (0, _emberMetal.arrayContentDidChange)(this, startIdx, removeAmt, addAmt);\n }, _Mixin$create.forEach = function (callback) {\n var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null,\n index,\n item;\n false && !(typeof callback === 'function') && (0, _debug.assert)('`forEach` expects a function as first argument.', typeof callback === 'function');\n\n var length = this.length;\n\n for (index = 0; index < length; index++) {\n item = this.objectAt(index);\n\n callback.call(target, item, index, this);\n }\n\n return this;\n }, _Mixin$create.getEach = (0, _emberMetal.aliasMethod)('mapBy'), _Mixin$create.setEach = function (key, value) {\n return this.forEach(function (item) {\n return (0, _emberMetal.set)(item, key, value);\n });\n }, _Mixin$create.map = function (callback) {\n var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n false && !(typeof callback === 'function') && (0, _debug.assert)('`map` expects a function as first argument.', typeof callback === 'function');\n\n var ret = A();\n\n this.forEach(function (x, idx, i) {\n return ret[idx] = callback.call(target, x, idx, i);\n });\n\n return ret;\n }, _Mixin$create.mapBy = function (key) {\n return this.map(function (next) {\n return (0, _emberMetal.get)(next, key);\n });\n }, _Mixin$create.filter = function (callback) {\n var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n false && !(typeof callback === 'function') && (0, _debug.assert)('`filter` expects a function as first argument.', typeof callback === 'function');\n\n var ret = A();\n\n this.forEach(function (x, idx, i) {\n if (callback.call(target, x, idx, i)) {\n ret.push(x);\n }\n });\n\n return ret;\n }, _Mixin$create.reject = function (callback) {\n var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n false && !(typeof callback === 'function') && (0, _debug.assert)('`reject` expects a function as first argument.', typeof callback === 'function');\n\n return this.filter(function () {\n return !callback.apply(target, arguments);\n });\n }, _Mixin$create.filterBy = function () {\n return this.filter(iter.apply(undefined, arguments));\n }, _Mixin$create.rejectBy = function () {\n return this.reject(iter.apply(undefined, arguments));\n }, _Mixin$create.find = function (callback) {\n var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n false && !(typeof callback === 'function') && (0, _debug.assert)('`find` expects a function as first argument.', typeof callback === 'function');\n\n return find(this, callback, target);\n }, _Mixin$create.findBy = function () {\n return find(this, iter.apply(undefined, arguments));\n }, _Mixin$create.every = function (callback) {\n var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n false && !(typeof callback === 'function') && (0, _debug.assert)('`every` expects a function as first argument.', typeof callback === 'function');\n\n return every(this, callback, target);\n }, _Mixin$create.isEvery = function () {\n return every(this, iter.apply(undefined, arguments));\n }, _Mixin$create.any = function (callback) {\n var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n false && !(typeof callback === 'function') && (0, _debug.assert)('`any` expects a function as first argument.', typeof callback === 'function');\n\n return any(this, callback, target);\n }, _Mixin$create.isAny = function () {\n return any(this, iter.apply(undefined, arguments));\n }, _Mixin$create.reduce = function (callback, initialValue) {\n false && !(typeof callback === 'function') && (0, _debug.assert)('`reduce` expects a function as first argument.', typeof callback === 'function');\n\n var ret = initialValue;\n\n this.forEach(function (item, i) {\n ret = callback(ret, item, i, this);\n }, this);\n\n return ret;\n }, _Mixin$create.invoke = function (methodName) {\n for (_len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var ret = A(),\n _len,\n args,\n _key;\n\n this.forEach(function (item) {\n return ret.push((0, _emberUtils.tryInvoke)(item, methodName, args));\n });\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\n return this.toArray().sort(function (a, b) {\n var i, key, propA, propB, compareValue;\n\n for (i = 0; i < sortKeys.length; i++) {\n key = sortKeys[i];\n propA = (0, _emberMetal.get)(a, key);\n propB = (0, _emberMetal.get)(b, key);\n // return 1 or -1 else continue to the next sortKey\n\n compareValue = (0, _compare.default)(propA, propB);\n\n\n if (compareValue) {\n return compareValue;\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 }\n\n // SameValueZero comparison (NaN !== NaN)\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['@each'] = _deprecatedFeatures.ARRAY_AT_EACH ? (0, _emberMetal.computed)(function () {\n false && !false && (0, _debug.deprecate)('Getting the \\'@each\\' property on object ' + (0, _emberUtils.toString)(this) + ' is deprecated', false, {\n id: 'ember-metal.getting-each',\n until: '3.5.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_getting-the-each-property'\n });\n\n return (0, _emberMetal.eachProxyFor)(this);\n }).readOnly() : undefined, _Mixin$create));\n\n var OUT_OF_RANGE_EXCEPTION = 'Index out of range';\n\n function removeAt(array, start) {\n var len = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n\n if ('number' === typeof start) {\n if (start < 0 || start >= array.length) {\n throw new _error.default(OUT_OF_RANGE_EXCEPTION);\n }\n\n array.replace(start, len, EMPTY_ARRAY);\n }\n\n return array;\n }\n\n /**\n This mixin defines the API for modifying array-like objects. These methods\n can be applied only to a collection that keeps its items in an ordered set.\n It builds upon the Array mixin and adds methods to modify the array.\n One concrete implementations of this class include ArrayProxy.\n \n It is important to use the methods in this class to modify arrays so that\n changes are observable. This allows the binding system in Ember to function\n correctly.\n \n \n Note that an Array can change even if it does not implement this mixin.\n For example, one might implement a SparseArray that cannot be directly\n modified, but if its underlying enumerable changes, it will change also.\n \n @class MutableArray\n @uses EmberArray\n @uses MutableEnumerable\n @public\n */\n\n var MutableArray = _emberMetal.Mixin.create(ArrayMixin, _mutable_enumerable.default, {\n clear: function () {\n var len = this.length;\n if (len === 0) {\n return this;\n }\n\n this.replace(0, len, EMPTY_ARRAY);\n return this;\n },\n insertAt: function (idx, object) {\n if (idx > this.length) {\n throw new _error.default(OUT_OF_RANGE_EXCEPTION);\n }\n\n this.replace(idx, 0, [object]);\n return this;\n },\n removeAt: function (start, len) {\n return removeAt(this, start, len);\n },\n pushObject: function (obj) {\n this.insertAt(this.length, obj);\n return obj;\n },\n pushObjects: function (objects) {\n this.replace(this.length, 0, objects);\n return this;\n },\n popObject: function () {\n var len = this.length;\n if (len === 0) {\n return null;\n }\n\n var ret = (0, _emberMetal.objectAt)(this, len - 1);\n this.removeAt(len - 1, 1);\n return ret;\n },\n shiftObject: function () {\n if (this.length === 0) {\n return null;\n }\n\n var ret = (0, _emberMetal.objectAt)(this, 0);\n this.removeAt(0);\n return ret;\n },\n unshiftObject: function (obj) {\n this.insertAt(0, obj);\n return obj;\n },\n unshiftObjects: function (objects) {\n this.replace(0, 0, objects);\n return this;\n },\n reverseObjects: function () {\n var len = this.length;\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 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 removeObject: function (obj) {\n var loc = this.length || 0,\n curObject;\n while (--loc >= 0) {\n curObject = (0, _emberMetal.objectAt)(this, loc);\n\n\n if (curObject === obj) {\n this.removeAt(loc);\n }\n }\n return this;\n },\n removeObjects: function (objects) {\n var i;\n\n (0, _emberMetal.beginPropertyChanges)();\n for (i = objects.length - 1; i >= 0; i--) {\n this.removeObject(objects[i]);\n }\n (0, _emberMetal.endPropertyChanges)();\n return this;\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 addObjects: function (objects) {\n var _this2 = this;\n\n (0, _emberMetal.beginPropertyChanges)();\n objects.forEach(function (obj) {\n return _this2.addObject(obj);\n });\n (0, _emberMetal.endPropertyChanges)();\n return this;\n }\n });\n\n /**\n Creates an `Ember.NativeArray` from an Array-like object.\n Does not modify the original object's contents. `A()` is not needed if\n `EmberENV.EXTEND_PROTOTYPES` is `true` (the default value). However,\n it is recommended that you use `A()` when creating addons for\n ember or when you can not guarantee that `EmberENV.EXTEND_PROTOTYPES`\n will be `true`.\n \n Example\n \n ```app/components/my-component.js\n import Component from '@ember/component';\n import { A } from '@ember/array';\n \n export default Component.extend({\n tagName: 'ul',\n classNames: ['pagination'],\n \n init() {\n this._super(...arguments);\n \n if (!this.get('content')) {\n this.set('content', A());\n this.set('otherContent', A([1,2,3]));\n }\n }\n });\n ```\n \n @method A\n @static\n @for @ember/array\n @return {Ember.NativeArray}\n @public\n */\n\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 @module ember\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 var NativeArray = _emberMetal.Mixin.create(MutableArray, _observable.default, {\n objectAt: function (idx) {\n return this[idx];\n },\n replace: function (start, deleteCount) {\n var items = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : EMPTY_ARRAY;\n false && !Array.isArray(items) && (0, _debug.assert)('The third argument to replace needs to be an array.', Array.isArray(items));\n\n (0, _emberMetal.replaceInNativeArray)(this, start, deleteCount, items);\n\n return this;\n },\n copy: function (deep) {\n false && !false && (0, _debug.deprecate)('Using `NativeArray#copy` is deprecated', false, {\n id: 'ember-runtime.using-array-copy',\n until: '3.5.0'\n });\n\n if (deep) {\n return this.map(function (item) {\n return (0, _copy.default)(item, true);\n });\n }\n\n return this.slice();\n }\n });\n\n // Remove any methods implemented natively so we don't override them\n var ignore = ['length'];\n NativeArray.keys().forEach(function (methodName) {\n if (Array.prototype[methodName]) {\n ignore.push(methodName);\n }\n });\n\n exports.NativeArray = NativeArray = (_NativeArray = NativeArray).without.apply(_NativeArray, ignore);\n\n var A = void 0;\n\n if (_emberEnvironment.ENV.EXTEND_PROTOTYPES.Array) {\n NativeArray.apply(Array.prototype);\n exports.A = A = function (arr) {\n return arr || [];\n };\n } else {\n exports.A = A = function (arr) {\n if (!arr) {\n arr = [];\n }\n return ArrayMixin.detect(arr) ? arr : NativeArray.apply(arr);\n };\n }\n\n exports.A = A;\n exports.NativeArray = NativeArray;\n exports.MutableArray = MutableArray;\n exports.default = ArrayMixin;\n});","enifed('ember-runtime/lib/mixins/comparable', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n 'use strict';\n\n exports.default = _emberMetal.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});","enifed('ember-runtime/lib/mixins/container_proxy', ['exports', '@ember/runloop', 'ember-metal'], function (exports, _runloop, _emberMetal) {\n 'use strict';\n\n /**\n ContainerProxyMixin is used to provide public access to specific\n container functionality.\n \n @class ContainerProxyMixin\n @private\n */\n\n /**\n @module ember\n */\n exports.default = _emberMetal.Mixin.create({\n /**\n The container stores state.\n @private\n @property {Ember.Container} __container__\n */\n __container__: null,\n\n ownerInjection: function () {\n return this.__container__.ownerInjection();\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 factoryFor: function (fullName) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n return this.__container__.factoryFor(fullName, options);\n }\n });\n});","enifed('ember-runtime/lib/mixins/copyable', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n 'use strict';\n\n exports.default = _emberMetal.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});","enifed('ember-runtime/lib/mixins/enumerable', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n 'use strict';\n\n exports.default = _emberMetal.Mixin.create();\n});","enifed('ember-runtime/lib/mixins/evented', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n 'use strict';\n\n exports.default = _emberMetal.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 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} method The callback to execute\n @return this\n @public\n */\n on: function (name, target, method) {\n (0, _emberMetal.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. If this argument is passed then the 3rd argument\n becomes the function.\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} method The callback to execute\n @return this\n @public\n */\n one: function (name, target, method) {\n if (!method) {\n method = target;\n target = null;\n }\n\n (0, _emberMetal.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 var _len, args, _key;\n\n for (_len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n (0, _emberMetal.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} method The function of the subscription\n @return this\n @public\n */\n off: function (name, target, method) {\n (0, _emberMetal.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, _emberMetal.hasListeners)(this, name);\n }\n });\n});","enifed('ember-runtime/lib/mixins/mutable_enumerable', ['exports', 'ember-runtime/lib/mixins/enumerable', 'ember-metal'], function (exports, _enumerable, _emberMetal) {\n 'use strict';\n\n exports.default = _emberMetal.Mixin.create(_enumerable.default);\n});","enifed('ember-runtime/lib/mixins/observable', ['exports', 'ember-metal', '@ember/debug'], function (exports, _emberMetal, _debug) {\n 'use strict';\n\n exports.default = _emberMetal.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, _emberMetal.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 var _len, args, _key;\n\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _emberMetal.getProperties.apply(undefined, [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, _emberMetal.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, _emberMetal.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, _emberMetal.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, _emberMetal.endPropertyChanges)();\n return this;\n },\n\n /**\n @method propertyWillChange\n @private\n */\n propertyWillChange: function (keyName) {\n (0, _emberMetal.propertyWillChange)(this, keyName);\n return this;\n },\n\n /**\n @method propertyDidChange\n @private\n */\n propertyDidChange: function (keyName) {\n (0, _emberMetal.propertyDidChange)(this, keyName);\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, _emberMetal.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 ### 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, _emberMetal.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, _emberMetal.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, _emberMetal.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, _emberMetal.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 false && !(!isNaN(parseFloat(increment)) && isFinite(increment)) && (0, _debug.assert)('Must pass a numeric value to incrementProperty', !isNaN(parseFloat(increment)) && isFinite(increment));\n\n return (0, _emberMetal.set)(this, keyName, (parseFloat((0, _emberMetal.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 false && !(!isNaN(parseFloat(decrement)) && isFinite(decrement)) && (0, _debug.assert)('Must pass a numeric value to decrementProperty', !isNaN(parseFloat(decrement)) && isFinite(decrement));\n\n return (0, _emberMetal.set)(this, keyName, ((0, _emberMetal.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, _emberMetal.set)(this, keyName, !(0, _emberMetal.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, _emberMetal.getCachedValueFor)(this, keyName);\n }\n });\n});","enifed('ember-runtime/lib/mixins/promise_proxy', ['exports', 'ember-metal', '@ember/error'], function (exports, _emberMetal, _error) {\n 'use strict';\n\n /**\n @module @ember/object\n */\n\n function tap(proxy, promise) {\n (0, _emberMetal.setProperties)(proxy, {\n isFulfilled: false,\n isRejected: false\n });\n\n return promise.then(function (value) {\n if (!proxy.isDestroyed && !proxy.isDestroying) {\n (0, _emberMetal.setProperties)(proxy, {\n content: value,\n isFulfilled: true\n });\n }\n return value;\n }, function (reason) {\n if (!proxy.isDestroyed && !proxy.isDestroying) {\n (0, _emberMetal.setProperties)(proxy, {\n reason: reason,\n isRejected: true\n });\n }\n throw reason;\n }, 'Ember: PromiseProxy');\n }\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 exports.default = _emberMetal.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, _emberMetal.computed)('isSettled', function () {\n return !(0, _emberMetal.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, _emberMetal.computed)('isRejected', 'isFulfilled', function () {\n return (0, _emberMetal.get)(this, 'isRejected') || (0, _emberMetal.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, _emberMetal.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 function promiseAlias(name) {\n return function () {\n var promise = (0, _emberMetal.get)(this, 'promise');\n return promise[name].apply(promise, arguments);\n };\n }\n});","enifed('ember-runtime/lib/mixins/registry_proxy', ['exports', '@ember/debug', 'ember-metal'], function (exports, _debug, _emberMetal) {\n 'use strict';\n\n exports.default = _emberMetal.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 false && !this.__registry__.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.__registry__.isValidFullName(fullName));\n\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 {Function} (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 function registryAlias(name) {\n return function () {\n var _registry__;\n\n return (_registry__ = this.__registry__)[name].apply(_registry__, arguments);\n };\n }\n});","enifed('ember-runtime/lib/mixins/target_action_support', ['exports', 'ember-environment', 'ember-metal', '@ember/debug', '@ember/deprecated-features'], function (exports, _emberEnvironment, _emberMetal, _debug, _deprecatedFeatures) {\n 'use strict';\n\n exports.default = _emberMetal.Mixin.create({\n target: null,\n targetObject: _deprecatedFeatures.TARGET_OBJECT ? (0, _emberMetal.descriptor)({\n configurable: true,\n enumerable: false,\n get: function () {\n var message = this + ' Usage of `targetObject` is deprecated. Please use `target` instead.';\n\n false && !false && (0, _debug.deprecate)(message, false, { id: 'ember-runtime.using-targetObject', until: '3.5.0' });\n\n return this._targetObject;\n },\n set: function (value) {\n var message = this + ' Usage of `targetObject` is deprecated. Please use `target` instead.';\n\n false && !false && (0, _debug.deprecate)(message, false, { id: 'ember-runtime.using-targetObject', until: '3.5.0' });\n\n this._targetObject = value;\n }\n }) : undefined,\n action: null,\n actionContext: null,\n\n actionContextObject: (0, _emberMetal.computed)('actionContext', function () {\n var actionContext = (0, _emberMetal.get)(this, 'actionContext'),\n value;\n\n if (typeof actionContext === 'string') {\n value = (0, _emberMetal.get)(this, actionContext);\n\n if (value === undefined) {\n value = (0, _emberMetal.get)(_emberEnvironment.context.lookup, actionContext);\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 ret,\n _target,\n _target2;\n var action = opts.action,\n target = opts.target,\n actionContext = opts.actionContext;\n\n action = action || (0, _emberMetal.get)(this, 'action');\n target = target || getTarget(this);\n\n if (actionContext === undefined) {\n actionContext = (0, _emberMetal.get)(this, 'actionContextObject') || this;\n }\n\n if (target && action) {\n ret = void 0;\n\n\n if (target.send) {\n\n ret = (_target = target).send.apply(_target, [action].concat(actionContext));\n } else {\n\n false && !(typeof target[action] === 'function') && (0, _debug.assert)('The action \\'' + action + '\\' did not exist on ' + target, typeof target[action] === 'function');\n\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 function getTarget(instance) {\n var target = (0, _emberMetal.get)(instance, 'target'),\n value;\n if (target) {\n if (typeof target === 'string') {\n value = (0, _emberMetal.get)(instance, target);\n\n if (value === undefined) {\n value = (0, _emberMetal.get)(_emberEnvironment.context.lookup, target);\n }\n\n return value;\n } else {\n return target;\n }\n }\n\n // if a `targetObject` CP was provided, use it\n if (target) {\n return target;\n }\n\n // if _targetObject use it\n if (_deprecatedFeatures.TARGET_OBJECT && instance._targetObject) {\n return instance._targetObject;\n }\n\n return null;\n }\n});","enifed('ember-runtime/lib/system/array_proxy', ['exports', 'ember-babel', 'ember-metal', 'ember-runtime/lib/system/object', 'ember-runtime/lib/mixins/array', '@ember/debug'], function (exports, _emberBabel, _emberMetal, _object, _array, _debug) {\n 'use strict';\n\n /**\n @module @ember/array\n */\n\n var ARRAY_OBSERVER_MAPPING = {\n willChange: '_arrangedContentArrayWillChange',\n didChange: '_arrangedContentArrayDidChange'\n };\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 = function (_EmberObject) {\n (0, _emberBabel.inherits)(ArrayProxy, _EmberObject);\n\n function ArrayProxy() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _EmberObject.apply(this, arguments));\n }\n\n ArrayProxy.prototype.init = function () {\n var _EmberObject$prototyp;\n\n (_EmberObject$prototyp = _EmberObject.prototype.init).call.apply(_EmberObject$prototyp, [this].concat(Array.prototype.slice.call(arguments)));\n\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 this._objectsDirtyIndex = 0;\n this._objects = null;\n\n this._lengthDirty = true;\n this._length = 0;\n\n this._arrangedContent = null;\n this._addArrangedContentArrayObsever();\n };\n\n ArrayProxy.prototype.willDestroy = function () {\n this._removeArrangedContentArrayObsever();\n };\n\n ArrayProxy.prototype.objectAtContent = function (idx) {\n return (0, _emberMetal.objectAt)((0, _emberMetal.get)(this, 'arrangedContent'), idx);\n };\n\n ArrayProxy.prototype.replace = function (idx, amt, objects) {\n false && !((0, _emberMetal.get)(this, 'arrangedContent') === (0, _emberMetal.get)(this, 'content')) && (0, _debug.assert)('Mutating an arranged ArrayProxy is not allowed', (0, _emberMetal.get)(this, 'arrangedContent') === (0, _emberMetal.get)(this, 'content'));\n\n this.replaceContent(idx, amt, objects);\n };\n\n ArrayProxy.prototype.replaceContent = function (idx, amt, objects) {\n (0, _emberMetal.get)(this, 'content').replace(idx, amt, objects);\n };\n\n ArrayProxy.prototype.objectAt = function (idx) {\n var arrangedContent, length, i;\n\n if (this._objects === null) {\n this._objects = [];\n }\n\n if (this._objectsDirtyIndex !== -1 && idx >= this._objectsDirtyIndex) {\n arrangedContent = (0, _emberMetal.get)(this, 'arrangedContent');\n\n if (arrangedContent) {\n length = this._objects.length = (0, _emberMetal.get)(arrangedContent, 'length');\n\n\n for (i = this._objectsDirtyIndex; i < length; i++) {\n this._objects[i] = this.objectAtContent(i);\n }\n } else {\n this._objects.length = 0;\n }\n this._objectsDirtyIndex = -1;\n }\n\n return this._objects[idx];\n };\n\n ArrayProxy.prototype[_emberMetal.PROPERTY_DID_CHANGE] = function (key) {\n var oldLength, arrangedContent, newLength;\n\n if (key === 'arrangedContent') {\n oldLength = this._objects === null ? 0 : this._objects.length;\n arrangedContent = (0, _emberMetal.get)(this, 'arrangedContent');\n newLength = arrangedContent ? (0, _emberMetal.get)(arrangedContent, 'length') : 0;\n\n\n this._removeArrangedContentArrayObsever();\n this.arrayContentWillChange(0, oldLength, newLength);\n\n this._invalidate();\n\n this.arrayContentDidChange(0, oldLength, newLength);\n this._addArrangedContentArrayObsever();\n } else if (key === 'content') {\n this._invalidate();\n }\n };\n\n ArrayProxy.prototype._addArrangedContentArrayObsever = function () {\n var arrangedContent = (0, _emberMetal.get)(this, 'arrangedContent');\n if (arrangedContent) {\n false && !(arrangedContent !== this) && (0, _debug.assert)(\"Can't set ArrayProxy's content to itself\", arrangedContent !== this);\n false && !((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\n (0, _emberMetal.addArrayObserver)(arrangedContent, this, ARRAY_OBSERVER_MAPPING);\n\n this._arrangedContent = arrangedContent;\n }\n };\n\n ArrayProxy.prototype._removeArrangedContentArrayObsever = function () {\n if (this._arrangedContent) {\n (0, _emberMetal.removeArrayObserver)(this._arrangedContent, this, ARRAY_OBSERVER_MAPPING);\n }\n };\n\n ArrayProxy.prototype._arrangedContentArrayWillChange = function () {};\n\n ArrayProxy.prototype._arrangedContentArrayDidChange = function (proxy, idx, removedCnt, addedCnt) {\n this.arrayContentWillChange(idx, removedCnt, addedCnt);\n\n var dirtyIndex = idx,\n length;\n if (dirtyIndex < 0) {\n length = (0, _emberMetal.get)(this._arrangedContent, 'length');\n\n dirtyIndex += length + removedCnt - addedCnt;\n }\n\n if (this._objectsDirtyIndex === -1) {\n this._objectsDirtyIndex = dirtyIndex;\n } else {\n if (this._objectsDirtyIndex > dirtyIndex) {\n this._objectsDirtyIndex = dirtyIndex;\n }\n }\n\n this._lengthDirty = true;\n\n this.arrayContentDidChange(idx, removedCnt, addedCnt);\n };\n\n ArrayProxy.prototype._invalidate = function () {\n this._objectsDirtyIndex = 0;\n this._lengthDirty = true;\n };\n\n (0, _emberBabel.createClass)(ArrayProxy, [{\n key: 'length',\n get: function () {\n var arrangedContent;\n\n if (this._lengthDirty) {\n arrangedContent = (0, _emberMetal.get)(this, 'arrangedContent');\n\n this._length = arrangedContent ? (0, _emberMetal.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 = void 0;\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, _emberMetal.get)(this, 'content');\n if (content) {\n (0, _emberMetal.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 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, _emberMetal.alias)('content')\n });\n});","enifed('ember-runtime/lib/system/core_object', ['exports', 'ember-babel', 'container', '@ember/deprecated-features', '@ember/polyfills', 'ember-utils', '@ember/runloop', 'ember-meta', 'ember-metal', 'ember-runtime/lib/mixins/action_handler', '@ember/debug', 'ember-environment'], function (exports, _emberBabel, _container, _deprecatedFeatures, _polyfills, _emberUtils, _runloop, _emberMeta, _emberMetal, _action_handler, _debug, _emberEnvironment) {\n 'use strict';\n\n /**\n @module @ember/object\n */\n\n var _reopen = _emberMetal.Mixin.prototype.reopen;\n\n var wasApplied = new _emberUtils.WeakSet();\n\n var factoryMap = new WeakMap();\n\n var prototypeMixinMap = new WeakMap();\n\n /**\n @class CoreObject\n @public\n */\n\n var CoreObject = function () {\n CoreObject._initFactory = function (factory) {\n factoryMap.set(this, factory);\n };\n\n function CoreObject(properties) {\n var _self, concatenatedProperties, mergedProperties, hasConcatenatedProps, hasMergedProps, keyNames, i, keyName, value, possibleDesc, isDescriptor, baseValue;\n\n // pluck off factory\n var initFactory = factoryMap.get(this.constructor);\n if (initFactory !== undefined) {\n factoryMap.delete(this.constructor);\n _container.FACTORY_FOR.set(this, initFactory);\n }\n\n // prepare prototype...\n this.constructor.proto();\n\n var self = this; // only used in debug builds to enable the proxy trap\n\n // using DEBUG here to avoid the extraneous variable when not needed\n\n\n var m = (0, _emberMeta.meta)(self);\n var proto = m.proto;\n m.proto = self;\n\n if (properties !== undefined) {\n false && !(typeof properties === 'object' && properties !== null) && (0, _debug.assert)('EmberObject.create only accepts objects.', typeof properties === 'object' && properties !== null);\n false && !!(properties instanceof _emberMetal.Mixin) && (0, _debug.assert)('EmberObject.create no longer supports mixing in other ' + 'definitions, use .extend & .create separately instead.', !(properties instanceof _emberMetal.Mixin));\n\n concatenatedProperties = self.concatenatedProperties;\n mergedProperties = self.mergedProperties;\n hasConcatenatedProps = concatenatedProperties !== undefined && concatenatedProperties.length > 0;\n hasMergedProps = mergedProperties !== undefined && mergedProperties.length > 0;\n keyNames = Object.keys(properties);\n\n\n for (i = 0; i < keyNames.length; i++) {\n keyName = keyNames[i];\n value = properties[keyName];\n\n\n if (_deprecatedFeatures.BINDING_SUPPORT && _emberEnvironment.ENV._ENABLE_BINDING_SUPPORT && _emberMetal.Mixin.detectBinding(keyName)) {\n m.writeBindings(keyName, value);\n }\n\n false && !!(value instanceof _emberMetal.ComputedProperty) && (0, _debug.assert)('EmberObject.create no longer supports defining computed ' + 'properties. Define computed properties using extend() or reopen() ' + 'before calling create().', !(value instanceof _emberMetal.ComputedProperty));\n false && !!(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 false && !!(keyName === 'actions' && _action_handler.default.detect(this)) && (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(this)));\n\n possibleDesc = (0, _emberMeta.descriptorFor)(self, keyName, m);\n isDescriptor = possibleDesc !== undefined;\n\n\n if (!isDescriptor) {\n baseValue = self[keyName];\n\n\n if (hasConcatenatedProps && concatenatedProperties.indexOf(keyName) > -1) {\n if (baseValue) {\n value = (0, _emberUtils.makeArray)(baseValue).concat(value);\n } else {\n value = (0, _emberUtils.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(self, keyName, value);\n } else if (typeof self.setUnknownProperty === 'function' && !(keyName in self)) {\n self.setUnknownProperty(keyName, value);\n } else {\n self[keyName] = value;\n }\n }\n }\n\n if (_deprecatedFeatures.BINDING_SUPPORT && _emberEnvironment.ENV._ENABLE_BINDING_SUPPORT) {\n _emberMetal.Mixin.finishPartial(self, m);\n }\n\n // using DEBUG here to avoid the extraneous variable when not needed\n\n (_self = self).init.apply(_self, arguments);\n\n m.proto = proto;\n (0, _emberMetal.finishChains)(m);\n (0, _emberMetal.sendEvent)(self, 'init', undefined, undefined, undefined, m);\n\n // only return when in debug builds and `self` is the proxy created above\n }\n\n CoreObject.prototype.reopen = function () {\n var _len, args, _key;\n\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n (0, _emberMetal.applyMixin)(this, args, true);\n return this;\n };\n\n CoreObject.prototype.init = function () {};\n\n CoreObject.prototype.destroy = function () {\n var m = (0, _emberMeta.peekMeta)(this);\n if (m.isSourceDestroying()) {\n return;\n }\n\n m.setSourceDestroying();\n\n (0, _runloop.schedule)('actions', this, this.willDestroy);\n (0, _runloop.schedule)('destroy', this, this._scheduledDestroy, m);\n\n return this;\n };\n\n CoreObject.prototype.willDestroy = function () {};\n\n CoreObject.prototype._scheduledDestroy = function (m) {\n if (m.isSourceDestroyed()) {\n return;\n }\n (0, _emberMeta.deleteMeta)(this);\n m.setSourceDestroyed();\n };\n\n CoreObject.prototype.toString = function () {\n var hasToStringExtension = typeof this.toStringExtension === 'function';\n var extension = hasToStringExtension ? ':' + this.toStringExtension() : '';\n\n var ret = '<' + ((0, _emberUtils.getName)(this) || _container.FACTORY_FOR.get(this) || this.constructor.toString()) + ':' + (0, _emberUtils.guidFor)(this) + extension + '>';\n\n return ret;\n };\n\n CoreObject.extend = function () {\n var Class = function (_ref) {\n (0, _emberBabel.inherits)(Class, _ref);\n\n function Class() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _ref.apply(this, arguments));\n }\n\n return Class;\n }(this);\n _reopen.apply(Class.PrototypeMixin, arguments);\n return Class;\n };\n\n CoreObject.create = function (props, extra) {\n var C = this;\n\n if (extra === undefined) {\n return new C(props);\n } else {\n return new C(flattenProps.apply(this, arguments));\n }\n };\n\n CoreObject.reopen = function () {\n this.willReopen();\n _reopen.apply(this.PrototypeMixin, arguments);\n return this;\n };\n\n CoreObject.willReopen = function () {\n var p = this.prototype;\n if (wasApplied.has(p)) {\n wasApplied.delete(p);\n\n // If the base mixin already exists and was applied, create a new mixin to\n // make sure that it gets properly applied. Reusing the same mixin after\n // the first `proto` call will cause it to get skipped.\n if (prototypeMixinMap.has(this)) {\n prototypeMixinMap.set(this, _emberMetal.Mixin.create(this.PrototypeMixin));\n }\n }\n };\n\n CoreObject.reopenClass = function () {\n (0, _emberMetal.applyMixin)(this, arguments, false);\n return this;\n };\n\n CoreObject.detect = function (obj) {\n if ('function' !== typeof obj) {\n return false;\n }\n while (obj) {\n if (obj === this) {\n return true;\n }\n obj = obj.superclass;\n }\n return false;\n };\n\n CoreObject.detectInstance = function (obj) {\n return obj instanceof this;\n };\n\n CoreObject.metaForProperty = function (key) {\n var proto = this.proto(); // ensure prototype is initialized\n var possibleDesc = (0, _emberMeta.descriptorFor)(proto, key);\n\n false && !(possibleDesc !== undefined) && (0, _debug.assert)('metaForProperty() could not find a computed property with key \\'' + key + '\\'.', possibleDesc !== undefined);\n\n return possibleDesc._meta || {};\n };\n\n CoreObject.eachComputedProperty = function (callback) {\n var binding = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this;\n\n this.proto(); // ensure prototype is initialized\n var empty = {};\n\n (0, _emberMeta.meta)(this.prototype).forEachDescriptors(function (name, descriptor) {\n var _meta;\n\n if (descriptor.enumerable) {\n _meta = descriptor._meta || empty;\n\n callback.call(binding, name, _meta);\n }\n });\n };\n\n CoreObject.proto = function () {\n var p = this.prototype,\n parent;\n if (!wasApplied.has(p)) {\n wasApplied.add(p);\n parent = this.superclass;\n\n if (parent) {\n parent.proto();\n }\n\n // If the prototype mixin exists, apply it. In the case of native classes,\n // it will not exist (unless the class has been reopened).\n if (prototypeMixinMap.has(this)) {\n this.PrototypeMixin.apply(p);\n }\n }\n return p;\n };\n\n (0, _emberBabel.createClass)(CoreObject, [{\n key: 'isDestroyed',\n get: function () {\n return (0, _emberMeta.peekMeta)(this).isSourceDestroyed();\n },\n set: function () {\n false && !false && (0, _debug.assert)('You cannot set `' + this + '.isDestroyed` directly, please use `.destroy()`.', false);\n }\n }, {\n key: 'isDestroying',\n get: function () {\n return (0, _emberMeta.peekMeta)(this).isSourceDestroying();\n },\n set: function () {\n false && !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 if (prototypeMixin === undefined) {\n prototypeMixin = _emberMetal.Mixin.create();\n prototypeMixin.ownerConstructor = this;\n prototypeMixinMap.set(this, prototypeMixin);\n }\n return prototypeMixin;\n }\n }, {\n key: 'superclass',\n get: function () {\n var c = Object.getPrototypeOf(this);\n if (c !== Function.prototype) return c;\n }\n }]);\n return CoreObject;\n }();\n\n CoreObject.toString = _emberMetal.classToString;\n (0, _emberUtils.setName)(CoreObject, 'Ember.CoreObject');\n\n CoreObject.isClass = true;\n CoreObject.isMethod = false;\n\n function flattenProps() {\n var concatenatedProperties = this.concatenatedProperties,\n mergedProperties = this.mergedProperties,\n _len2,\n props,\n _key2,\n i,\n properties,\n keyNames,\n j,\n k,\n keyName,\n value,\n baseValue,\n _baseValue;\n\n var hasConcatenatedProps = concatenatedProperties !== undefined && concatenatedProperties.length > 0;\n var hasMergedProps = mergedProperties !== undefined && mergedProperties.length > 0;\n\n var initProperties = {};\n\n for (_len2 = arguments.length, props = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n props[_key2] = arguments[_key2];\n }\n\n for (i = 0; i < props.length; i++) {\n properties = props[i];\n\n\n false && !!(properties instanceof _emberMetal.Mixin) && (0, _debug.assert)('EmberObject.create no longer supports mixing in other ' + 'definitions, use .extend & .create separately instead.', !(properties instanceof _emberMetal.Mixin));\n\n keyNames = Object.keys(properties);\n\n\n for (j = 0, k = keyNames.length; j < k; j++) {\n keyName = keyNames[j];\n value = properties[keyName];\n\n\n if (hasConcatenatedProps && concatenatedProperties.indexOf(keyName) > -1) {\n baseValue = initProperties[keyName];\n\n\n if (baseValue) {\n value = (0, _emberUtils.makeArray)(baseValue).concat(value);\n } else {\n value = (0, _emberUtils.makeArray)(value);\n }\n }\n\n if (hasMergedProps && mergedProperties.indexOf(keyName) > -1) {\n _baseValue = initProperties[keyName];\n\n\n value = (0, _polyfills.assign)({}, _baseValue, value);\n }\n\n initProperties[keyName] = value;\n }\n }\n\n return initProperties;\n }\n\n exports.default = CoreObject;\n});","enifed('ember-runtime/lib/system/namespace', ['exports', 'ember-babel', 'ember-metal', 'ember-utils', 'ember-runtime/lib/system/object'], function (exports, _emberBabel, _emberMetal, _emberUtils, _object) {\n 'use strict';\n\n var Namespace = function (_EmberObject) {\n (0, _emberBabel.inherits)(Namespace, _EmberObject);\n\n function Namespace() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _EmberObject.apply(this, arguments));\n }\n\n Namespace.prototype.init = function () {\n (0, _emberMetal.addNamespace)(this);\n };\n\n Namespace.prototype.toString = function () {\n var name = (0, _emberMetal.get)(this, 'name') || (0, _emberMetal.get)(this, 'modulePrefix');\n if (name) {\n return name;\n }\n (0, _emberMetal.findNamespaces)();\n name = (0, _emberUtils.getName)(this);\n if (name === undefined) {\n name = (0, _emberUtils.guidFor)(this);\n (0, _emberUtils.setName)(this, name);\n }\n return name;\n };\n\n Namespace.prototype.nameClasses = function () {\n (0, _emberMetal.processNamespace)(this);\n };\n\n Namespace.prototype.destroy = function () {\n (0, _emberMetal.removeNamespace)(this);\n _EmberObject.prototype.destroy.call(this);\n };\n\n return Namespace;\n }(_object.default);\n\n exports.default = Namespace;\n\n Namespace.prototype.isNamespace = true;\n Namespace.NAMESPACES = _emberMetal.NAMESPACES;\n Namespace.NAMESPACES_BY_ID = _emberMetal.NAMESPACES_BY_ID;\n Namespace.processAll = _emberMetal.processAllNamespaces;\n Namespace.byName = _emberMetal.findNamespace;\n});","enifed('ember-runtime/lib/system/object', ['exports', 'ember-babel', 'container', 'ember-owner', 'ember-utils', 'ember-metal', 'ember-runtime/lib/system/core_object', 'ember-runtime/lib/mixins/observable', '@ember/debug'], function (exports, _emberBabel, _container, _emberOwner, _emberUtils, _emberMetal, _core_object, _observable) {\n 'use strict';\n\n exports.FrameworkObject = undefined;\n\n var OVERRIDE_OWNER = (0, _emberUtils.symbol)('OVERRIDE_OWNER');\n\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 @module @ember/object\n */\n\n var EmberObject = function (_CoreObject) {\n (0, _emberBabel.inherits)(EmberObject, _CoreObject);\n\n function EmberObject() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _CoreObject.apply(this, arguments));\n }\n\n (0, _emberBabel.createClass)(EmberObject, [{\n key: '_debugContainerKey',\n get: function () {\n var factory = _container.FACTORY_FOR.get(this);\n return factory !== undefined && factory.fullName;\n }\n }, {\n key: _emberOwner.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 return factory !== undefined && factory.owner;\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\n (0, _emberUtils.setName)(EmberObject, 'Ember.Object');\n\n _observable.default.apply(EmberObject.prototype);\n\n exports.FrameworkObject = EmberObject;\n});","enifed('ember-runtime/lib/system/object_proxy', ['exports', 'ember-babel', 'ember-runtime/lib/system/object', 'ember-runtime/lib/mixins/-proxy'], function (exports, _emberBabel, _object, _proxy) {\n 'use strict';\n\n var ObjectProxy = function (_FrameworkObject) {\n (0, _emberBabel.inherits)(ObjectProxy, _FrameworkObject);\n\n function ObjectProxy() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _FrameworkObject.apply(this, arguments));\n }\n\n return ObjectProxy;\n }(_object.default);\n\n exports.default = ObjectProxy;\n\n ObjectProxy.PrototypeMixin.reopen(_proxy.default);\n});","enifed('ember-runtime/lib/type-of', ['exports', 'ember-runtime/lib/system/object'], function (exports, _object) {\n 'use strict';\n\n exports.typeOf =\n\n /**\n @module @ember/utils\n */\n /**\n Returns a consistent type for the passed object.\n \n Use this instead of the built-in `typeof` to get the type of an item.\n It will return the same result across all browsers and includes a bit\n more detail. Here is what will be returned:\n \n | Return Value | Meaning |\n |---------------|------------------------------------------------------|\n | 'string' | String primitive or String object. |\n | 'number' | Number primitive or Number object. |\n | 'boolean' | Boolean primitive or Boolean object. |\n | 'null' | Null value |\n | 'undefined' | Undefined value |\n | 'function' | A function |\n | 'array' | An instance of Array |\n | 'regexp' | An instance of RegExp |\n | 'date' | An instance of Date |\n | 'filelist' | An instance of FileList |\n | 'class' | An Ember class (created using EmberObject.extend()) |\n | 'instance' | An Ember object instance |\n | 'error' | An instance of the Error object |\n | 'object' | A JavaScript object not inheriting from EmberObject |\n \n Examples:\n \n ```javascript\n import { A } from '@ember/array';\n import { typeOf } from '@ember/utils';\n import EmberObject from '@ember/object';\n \n typeOf(); // 'undefined'\n typeOf(null); // 'null'\n typeOf(undefined); // 'undefined'\n typeOf('michael'); // 'string'\n typeOf(new String('michael')); // 'string'\n typeOf(101); // 'number'\n typeOf(new Number(101)); // 'number'\n typeOf(true); // 'boolean'\n typeOf(new Boolean(true)); // 'boolean'\n typeOf(A); // 'function'\n typeOf([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 function (item) {\n if (item === null) {\n return 'null';\n }\n if (item === undefined) {\n return 'undefined';\n }\n var ret = TYPE_MAP[toString.call(item)] || 'object';\n\n if (ret === 'function') {\n if (_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 _object.default) {\n ret = 'instance';\n } else if (item instanceof Date) {\n ret = 'date';\n }\n }\n\n return ret;\n };\n\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\n var toString = Object.prototype.toString;\n});","enifed('ember-utils', ['exports'], function (exports) {\n 'use strict';\n\n exports.Cache = exports.setProxy = exports.isProxy = exports.WeakSet = exports.HAS_NATIVE_PROXY = exports.HAS_NATIVE_SYMBOL = exports.toString = exports.setName = exports.getName = exports.makeArray = exports.tryInvoke = exports.canInvoke = exports.lookupDescriptor = exports.inspect = exports.setListeners = exports.setObservers = exports.getListeners = exports.getObservers = exports.wrap = exports.ROOT = exports.checkHasSuper = exports.intern = exports.guidFor = exports.generateGuid = exports.GUID_KEY = exports.uuid = exports.dictionary = exports.isInternalSymbol = exports.symbol = exports.NAME_KEY = undefined;\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 for (var key in obj) {\n if (key === str) {\n return key;\n }\n }\n return str;\n }\n\n /**\n Returns whether Type(value) is Object.\n \n Useful for checking whether a value is a valid WeakMap key.\n \n Refs: https://tc39.github.io/ecma262/#sec-typeof-operator-runtime-semantics-evaluation\n https://tc39.github.io/ecma262/#sec-weakmap.prototype.set\n \n @private\n @function isObject\n */\n function isObject(value) {\n return value !== null && (typeof value === 'object' || typeof value === 'function');\n }\n\n /**\n @module @ember/object\n */\n /**\n 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 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 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 var GUID_PREFIX = 'ember';\n // Used for guid generation...\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 var GUID_KEY = intern('__ember' + +new Date());\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 /**\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 var GENERATED_SYMBOLS = [];\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() * +new Date());\n var symbol = intern('__' + debugName + id + '__');\n GENERATED_SYMBOLS.push(symbol);\n return symbol;\n }\n\n // the delete is meant to hint at runtimes that this object should remain in\n // dictionary mode. This is clearly a runtime specific hack, but currently it\n // appears worthwhile in some usecases. Please note, these deletes do increase\n // the cost of creation dramatically over a plain Object.create. And as this\n // only makes sense for long-lived dictionaries that aren't instantiated often.\n\n\n /* globals WeakSet */\n var WeakSet$1 = typeof WeakSet === 'function' ? WeakSet : function () {\n function WeakSetPolyFill() {\n\n this._map = new WeakMap();\n }\n\n WeakSetPolyFill.prototype.add = function (val) {\n this._map.set(val, true);\n return this;\n };\n\n WeakSetPolyFill.prototype.delete = function (val) {\n return this._map.delete(val);\n };\n\n WeakSetPolyFill.prototype.has = function (val) {\n return this._map.has(val);\n };\n\n return WeakSetPolyFill;\n }();\n\n var HAS_SUPER_PATTERN = /\\.(_super|call\\(this|apply\\(this)/;\n var fnToString = Function.prototype.toString;\n var checkHasSuper = function () {\n var sourceAvailable = fnToString.call(function () {\n return this;\n }).indexOf('return this') > -1;\n if (sourceAvailable) {\n return function (func) {\n return HAS_SUPER_PATTERN.test(fnToString.call(func));\n };\n }\n return function () {\n return true;\n };\n }();\n var HAS_SUPER_MAP = new WeakMap();\n var ROOT = Object.freeze(function () {});\n HAS_SUPER_MAP.set(ROOT, false);\n function hasSuper(func) {\n var hasSuper = HAS_SUPER_MAP.get(func);\n if (hasSuper === undefined) {\n hasSuper = checkHasSuper(func);\n HAS_SUPER_MAP.set(func, hasSuper);\n }\n return hasSuper;\n }\n var OBSERVERS_MAP = new WeakMap();\n function setObservers(func, observers) {\n if (observers) {\n OBSERVERS_MAP.set(func, observers);\n }\n }\n function getObservers(func) {\n return OBSERVERS_MAP.get(func);\n }\n var LISTENERS_MAP = new WeakMap();\n function setListeners(func, listeners) {\n if (listeners) {\n LISTENERS_MAP.set(func, listeners);\n }\n }\n function getListeners(func) {\n return LISTENERS_MAP.get(func);\n }\n var IS_WRAPPED_FUNCTION_SET = new WeakSet$1();\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 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 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\n var LIST_LIMIT = 100;\n var DEPTH_LIMIT = 4;\n var SAFE_KEY = /^[\\w$]+$/;\n /**\n @module @ember/debug\n */\n /**\n Convenience method to inspect an object. This method will attempt to\n convert the object into a useful string description.\n \n It is a pretty simple implementation. If you want something more robust,\n use something like JSDump: https://github.com/NV/jsDump\n \n @method inspect\n @static\n @param {Object} obj The object you want to inspect.\n @return {String} A description of the object\n @since 1.4.0\n @private\n */\n\n function inspectValue(value, depth, seen) {\n var valueIsArray = false;\n switch (typeof value) {\n case 'undefined':\n return 'undefined';\n case 'object':\n if (value === null) return 'null';\n if (isArray(value)) {\n valueIsArray = true;\n break;\n }\n // is toString Object.prototype.toString or undefined then traverse\n if (value.toString === objectToString || value.toString === undefined) {\n break;\n }\n // custom toString\n return value.toString();\n case 'function':\n return value.toString === functionToString ? value.name ? '[Function:' + value.name + ']' : '[Function]' : value.toString();\n case 'string':\n return stringify(value);\n case 'symbol':\n case 'boolean':\n case 'number':\n default:\n return value.toString();\n }\n if (seen === undefined) {\n seen = new WeakSet$1();\n } else {\n if (seen.has(value)) return '[Circular]';\n }\n seen.add(value);\n return valueIsArray ? inspectArray(value, depth + 1, seen) : inspectObject(value, depth + 1, seen);\n }\n function inspectKey(key) {\n return SAFE_KEY.test(key) ? key : stringify(key);\n }\n function inspectObject(obj, depth, seen) {\n if (depth > DEPTH_LIMIT) {\n return '[Object]';\n }\n var s = '{',\n i,\n key;\n var keys = objectKeys(obj);\n for (i = 0; i < keys.length; i++) {\n s += i === 0 ? ' ' : ', ';\n if (i >= LIST_LIMIT) {\n s += '... ' + (keys.length - LIST_LIMIT) + ' more keys';\n break;\n }\n key = keys[i];\n\n s += inspectKey(key) + ': ' + inspectValue(obj[key], depth, seen);\n }\n s += ' }';\n return s;\n }\n function inspectArray(arr, depth, seen) {\n if (depth > DEPTH_LIMIT) {\n return '[Array]';\n }\n var s = '[',\n i;\n for (i = 0; i < arr.length; i++) {\n s += i === 0 ? ' ' : ', ';\n if (i >= LIST_LIMIT) {\n s += '... ' + (arr.length - LIST_LIMIT) + ' more items';\n break;\n }\n s += inspectValue(arr[i], depth, seen);\n }\n s += ' ]';\n return s;\n }\n\n /**\n Checks to see if the `methodName` exists on the `obj`.\n \n ```javascript\n let foo = { bar: function() { return 'bar'; }, baz: null };\n \n Ember.canInvoke(foo, 'bar'); // true\n Ember.canInvoke(foo, 'baz'); // false\n Ember.canInvoke(foo, 'bat'); // false\n ```\n \n @method canInvoke\n @for Ember\n @param {Object} obj The object to check for the method\n @param {String} methodName The method name to check for\n @return {Boolean}\n @private\n */\n function canInvoke(obj, methodName) {\n return obj !== null && obj !== undefined && typeof obj[methodName] === 'function';\n }\n /**\n @module @ember/utils\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 var isArray$1 = Array.isArray;\n\n var NAMES = new WeakMap();\n\n\n var objectToString$1 = Object.prototype.toString;\n function isNone(obj) {\n return obj === null || obj === undefined;\n }\n /*\n A `toString` util function that supports objects without a `toString`\n method, e.g. an object created with `Object.create(null)`.\n */\n function toString(obj) {\n var r, k;\n\n if (typeof obj === 'string') {\n return obj;\n }\n if (null === obj) return 'null';\n if (undefined === obj) return 'undefined';\n if (Array.isArray(obj)) {\n // Reimplement Array.prototype.join according to spec (22.1.3.13)\n // Changing ToString(element) with this safe version of ToString.\n r = '';\n\n for (k = 0; k < obj.length; k++) {\n if (k > 0) {\n r += ',';\n }\n if (!isNone(obj[k])) {\n r += toString(obj[k]);\n }\n }\n return r;\n }\n if (typeof obj.toString === 'function') {\n return obj.toString();\n }\n return objectToString$1.call(obj);\n }\n\n var HAS_NATIVE_SYMBOL = function () {\n if (typeof Symbol !== 'function') {\n return false;\n }\n // use `Object`'s `.toString` directly to prevent us from detecting\n // polyfills as native\n return Object.prototype.toString.call(Symbol()) === '[object Symbol]';\n }();\n\n var HAS_NATIVE_PROXY = typeof Proxy === 'function';\n\n var PROXIES = new WeakSet$1();\n\n\n var Cache = function () {\n function Cache(limit, func, store) {\n\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 Cache.prototype.get = function (key) {\n var value = this.store.get(key);\n if (this.store.has(key)) {\n this.hits++;\n return this.store.get(key);\n } else {\n this.misses++;\n value = this.set(key, this.func(key));\n }\n return value;\n };\n\n Cache.prototype.set = function (key, value) {\n if (this.limit > this.size) {\n this.size++;\n this.store.set(key, value);\n }\n return value;\n };\n\n Cache.prototype.purge = function () {\n this.store.clear();\n this.size = 0;\n this.hits = 0;\n this.misses = 0;\n };\n\n return Cache;\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 var NAME_KEY = symbol('NAME_KEY');\n\n exports.NAME_KEY = NAME_KEY;\n exports.symbol = symbol;\n exports.isInternalSymbol = function (possibleSymbol) {\n return GENERATED_SYMBOLS.indexOf(possibleSymbol) !== -1;\n };\n exports.dictionary = function (parent) {\n var dict = Object.create(parent);\n dict['_dict'] = null;\n delete dict['_dict'];\n return dict;\n };\n exports.uuid = uuid;\n exports.GUID_KEY = GUID_KEY;\n exports.generateGuid = function (obj) {\n var prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : GUID_PREFIX;\n\n var guid = prefix + uuid();\n if (isObject(obj)) {\n OBJECT_GUIDS.set(obj, guid);\n }\n return guid;\n };\n exports.guidFor = function (value) {\n var guid = void 0,\n type;\n if (isObject(value)) {\n guid = OBJECT_GUIDS.get(value);\n if (guid === undefined) {\n guid = GUID_PREFIX + uuid();\n OBJECT_GUIDS.set(value, guid);\n }\n } else {\n guid = NON_OBJECT_GUIDS.get(value);\n if (guid === undefined) {\n 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 NON_OBJECT_GUIDS.set(value, guid);\n }\n }\n return guid;\n };\n exports.intern = intern;\n exports.checkHasSuper = checkHasSuper;\n exports.ROOT = ROOT;\n exports.wrap = function (func, superFunc) {\n if (!hasSuper(func)) {\n return func;\n }\n // ensure an unwrapped super that calls _super is wrapped with a terminal _super\n if (!IS_WRAPPED_FUNCTION_SET.has(superFunc) && hasSuper(superFunc)) {\n return _wrap(func, _wrap(superFunc, ROOT));\n }\n return _wrap(func, superFunc);\n };\n exports.getObservers = getObservers;\n exports.getListeners = getListeners;\n exports.setObservers = setObservers;\n exports.setListeners = setListeners;\n exports.inspect = function (obj) {\n // detect Node util.inspect call inspect(depth: number, opts: object)\n if (typeof obj === 'number' && arguments.length === 2) {\n return this;\n }\n return inspectValue(obj, 0);\n };\n exports.lookupDescriptor = function (obj, keyName) {\n var current = obj,\n descriptor;\n do {\n descriptor = Object.getOwnPropertyDescriptor(current, keyName);\n\n if (descriptor !== undefined) {\n return descriptor;\n }\n current = Object.getPrototypeOf(current);\n } while (current !== null);\n return null;\n };\n exports.canInvoke = canInvoke;\n exports.tryInvoke = function (obj, methodName, args) {\n var method;\n\n if (canInvoke(obj, methodName)) {\n method = obj[methodName];\n\n return method.apply(obj, args);\n }\n };\n exports.makeArray = function (obj) {\n if (obj === null || obj === undefined) {\n return [];\n }\n return isArray$1(obj) ? obj : [obj];\n };\n exports.getName = function (obj) {\n return NAMES.get(obj);\n };\n exports.setName = function (obj, name) {\n if (isObject(obj)) NAMES.set(obj, name);\n };\n exports.toString = toString;\n exports.HAS_NATIVE_SYMBOL = HAS_NATIVE_SYMBOL;\n exports.HAS_NATIVE_PROXY = HAS_NATIVE_PROXY;\n exports.WeakSet = WeakSet$1;\n exports.isProxy = function (object) {\n if (isObject(object)) {\n return PROXIES.has(object);\n }\n return false;\n };\n exports.setProxy = function (object) {\n if (isObject(object)) {\n PROXIES.add(object);\n }\n };\n exports.Cache = Cache;\n});","enifed('ember-views/index', ['exports', 'ember-views/lib/system/jquery', 'ember-views/lib/system/utils', 'ember-views/lib/system/event_dispatcher', 'ember-views/lib/component_lookup', 'ember-views/lib/mixins/text_support', 'ember-views/lib/views/core_view', 'ember-views/lib/mixins/class_names_support', 'ember-views/lib/mixins/child_views_support', 'ember-views/lib/mixins/view_state_support', 'ember-views/lib/mixins/view_support', 'ember-views/lib/mixins/action_support', 'ember-views/lib/compat/attrs', 'ember-views/lib/system/lookup_partial', 'ember-views/lib/utils/lookup-component', 'ember-views/lib/system/action_manager', 'ember-views/lib/compat/fallback-view-registry'], 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, _fallbackViewRegistry) {\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, 'getViewElement', {\n enumerable: true,\n get: function () {\n return _utils.getViewElement;\n }\n });\n Object.defineProperty(exports, 'setViewElement', {\n enumerable: true,\n get: function () {\n return _utils.setViewElement;\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 Object.defineProperty(exports, 'fallbackViewRegistry', {\n enumerable: true,\n get: function () {\n return _fallbackViewRegistry.default;\n }\n });\n});","enifed('ember-views/lib/compat/attrs', ['exports', 'ember-utils'], function (exports, _emberUtils) {\n 'use strict';\n\n exports.MUTABLE_CELL = undefined;\n exports.MUTABLE_CELL = (0, _emberUtils.symbol)('MUTABLE_CELL');\n});","enifed('ember-views/lib/compat/fallback-view-registry', ['exports', 'ember-utils'], function (exports, _emberUtils) {\n 'use strict';\n\n exports.default = (0, _emberUtils.dictionary)(null);\n});","enifed('ember-views/lib/component_lookup', ['exports', '@ember/debug', 'ember-runtime'], function (exports, _debug, _emberRuntime) {\n 'use strict';\n\n exports.default = _emberRuntime.Object.extend({\n componentFor: function (name, owner, options) {\n false && !(name.indexOf('-') > -1 || true /* EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION */) && (0, _debug.assert)('You cannot use \\'' + name + '\\' as a component name. Component names must contain a hyphen' + /* EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION */' or start with a capital letter' + '.', name.indexOf('-') > -1 || true);\n\n return owner.factoryFor('component:' + name, options);\n },\n layoutFor: function (name, owner, options) {\n false && !(name.indexOf('-') > -1 || true /* EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION */) && (0, _debug.assert)('You cannot use \\'' + name + '\\' as a component name. Component names must contain a hyphen.', name.indexOf('-') > -1 || true);\n\n return owner.lookup('template:components/' + name, options);\n }\n });\n});","enifed('ember-views/lib/mixins/action_support', ['exports', 'ember-utils', 'ember-metal', '@ember/debug', 'ember-views/lib/compat/attrs', '@ember/deprecated-features'], function (exports, _emberUtils, _emberMetal, _debug, _attrs, _deprecatedFeatures) {\n 'use strict';\n\n var mixinObj = {\n send: function (actionName) {\n for (_len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n false && !(!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 var action = this.actions && this.actions[actionName],\n _len,\n args,\n _key,\n shouldBubble;\n\n if (action) {\n shouldBubble = action.apply(this, args) === true;\n\n if (!shouldBubble) {\n return;\n }\n }\n\n var target = (0, _emberMetal.get)(this, 'target');\n if (target) {\n false && !(typeof target.send === 'function') && (0, _debug.assert)('The `target` for ' + this + ' (' + target + ') does not have a `send` method', typeof target.send === 'function');\n\n target.send.apply(target, arguments);\n } else {\n false && !action && (0, _debug.assert)((0, _emberUtils.inspect)(this) + ' had no action handler for: ' + actionName, action);\n }\n }\n },\n sendAction,\n validateAction; /**\n @module ember\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 sendAction = function (action) {\n for (_len2 = arguments.length, contexts = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n contexts[_key2 - 1] = arguments[_key2];\n }\n\n false && !(!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 false && !false && (0, _debug.deprecate)('You called ' + (0, _emberUtils.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\n var actionName = void 0,\n _len2,\n contexts,\n _key2;\n\n // Send the default action\n if (action === undefined) {\n action = 'action';\n }\n actionName = (0, _emberMetal.get)(this, 'attrs.' + action) || (0, _emberMetal.get)(this, action);\n actionName = validateAction(this, actionName);\n\n // If no action name for that action could be found, just abort.\n if (actionName === undefined) {\n return;\n }\n\n if (typeof actionName === 'function') {\n actionName.apply(undefined, contexts);\n } else {\n this.triggerAction({\n action: actionName,\n actionContext: contexts\n });\n }\n };\n validateAction = function (component, actionName) {\n if (actionName && actionName[_attrs.MUTABLE_CELL]) {\n actionName = actionName.value;\n }\n\n false && !(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\n return actionName;\n };\n\n\n mixinObj.sendAction = sendAction;\n }\n\n /**\n @class ActionSupport\n @namespace Ember\n @private\n */\n exports.default = _emberMetal.Mixin.create(mixinObj);\n});","enifed('ember-views/lib/mixins/child_views_support', ['exports', 'ember-metal', 'ember-views/lib/system/utils'], function (exports, _emberMetal, _utils) {\n 'use strict';\n\n exports.default = _emberMetal.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, _emberMetal.descriptor)({\n configurable: false,\n enumerable: false,\n get: function () {\n return (0, _utils.getChildViews)(this);\n }\n }),\n\n appendChild: function (view) {\n (0, _utils.addChildView)(this, view);\n }\n });\n});","enifed('ember-views/lib/mixins/class_names_support', ['exports', 'ember-meta', 'ember-metal', '@ember/debug'], function (exports, _emberMeta, _emberMetal, _debug) {\n 'use strict';\n\n var EMPTY_ARRAY = Object.freeze([]);\n\n /**\n @class ClassNamesSupport\n @namespace Ember\n @private\n */\n /**\n @module ember\n */\n exports.default = _emberMetal.Mixin.create({\n concatenatedProperties: ['classNames', 'classNameBindings'],\n\n init: function () {\n this._super.apply(this, arguments);\n\n false && !((0, _emberMeta.descriptorFor)(this, 'classNameBindings') === undefined && Array.isArray(this.classNameBindings)) && (0, _debug.assert)('Only arrays are allowed for \\'classNameBindings\\'', (0, _emberMeta.descriptorFor)(this, 'classNameBindings') === undefined && Array.isArray(this.classNameBindings));\n false && !((0, _emberMeta.descriptorFor)(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, _emberMeta.descriptorFor)(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});","enifed('ember-views/lib/mixins/text_support', ['exports', 'ember-metal', 'ember-runtime', '@ember/debug', '@ember/deprecated-features'], function (exports, _emberMetal, _emberRuntime, _debug, _deprecatedFeatures) {\n 'use strict';\n\n /**\n @module ember\n */\n\n var KEY_EVENTS = {\n 13: 'insertNewline',\n 27: 'cancel'\n };\n\n /**\n `TextSupport` is a shared mixin used by both `TextField` and\n `TextArea`. `TextSupport` adds a number of methods that allow you to\n specify a controller action to invoke when a certain event is fired on your\n text field or textarea. The specified controller action would get the current\n value of the field passed in as the only argument unless the value of\n the field is empty. In that case, the instance of the field itself is passed\n in as the only argument.\n \n Let's use the pressing of the escape key as an example. If you wanted to\n invoke a controller action when a user presses the escape key while on your\n field, you would use the `escape-press` attribute on your field like so:\n \n ```handlebars\n {{! application.hbs}}\n \n {{input escape-press='alertUser'}}\n ```\n \n ```javascript\n import Application from '@ember/application';\n import Controller from '@ember/controller';\n App = Application.create();\n \n App.ApplicationController = Controller.extend({\n actions: {\n alertUser: function ( currentValue ) {\n alert( 'escape pressed, current value: ' + currentValue );\n }\n }\n });\n ```\n \n The following chart is a visual representation of what takes place when the\n escape key is pressed in this scenario:\n \n ```\n The Template\n +---------------------------+\n | |\n | escape-press='alertUser' |\n | | TextSupport Mixin\n +----+----------------------+ +-------------------------------+\n | | cancel method |\n | escape button pressed | |\n +-------------------------------> | checks for the `escape-press` |\n | attribute and pulls out the |\n +-------------------------------+ | `alertUser` value |\n | action name 'alertUser' +-------------------------------+\n | sent to controller\n v\n Controller\n +------------------------------------------ +\n | |\n | actions: { |\n | alertUser: function( currentValue ){ |\n | alert( 'the esc key was pressed!' ) |\n | } |\n | } |\n | |\n +-------------------------------------------+\n ```\n \n Here are the events that we currently support along with the name of the\n attribute you would need to use on your field. To reiterate, you would use the\n attribute name like so:\n \n ```handlebars\n {{input attribute-name='controllerAction'}}\n ```\n \n ```\n +--------------------+----------------+\n | | |\n | event | attribute name |\n +--------------------+----------------+\n | new line inserted | insert-newline |\n | | |\n | enter key pressed | enter |\n | | |\n | cancel key pressed | escape-press |\n | | |\n | focusin | focus-in |\n | | |\n | focusout | focus-out |\n | | |\n | keypress | key-press |\n | | |\n | keyup | key-up |\n | | |\n | keydown | key-down |\n +--------------------+----------------+\n ```\n \n @class TextSupport\n @namespace Ember\n @uses Ember.TargetActionSupport\n @extends Mixin\n @private\n */\n exports.default = _emberMetal.Mixin.create(_emberRuntime.TargetActionSupport, {\n value: '',\n\n attributeBindings: ['autocapitalize', 'autocorrect', 'autofocus', 'disabled', 'form', 'maxlength', 'minlength', 'placeholder', 'readonly', 'required', 'selectionDirection', 'spellcheck', 'tabindex', 'title'],\n placeholder: null,\n disabled: false,\n maxlength: null,\n\n init: function () {\n this._super.apply(this, arguments);\n this.on('paste', this, this._elementValueDidChange);\n this.on('cut', this, this._elementValueDidChange);\n this.on('input', this, this._elementValueDidChange);\n },\n\n /**\n Whether the `keyUp` event that triggers an `action` to be sent continues\n propagating to other views.\n By default, when the user presses the return key on their keyboard and\n the text field has an `action` set, the action will be sent to the view's\n controller and the key event will stop propagating.\n If you would like parent views to receive the `keyUp` event even after an\n action has been dispatched, set `bubbles` to true.\n @property bubbles\n @type Boolean\n @default false\n @private\n */\n bubbles: false,\n\n interpretKeyEvents: function (event) {\n var method = KEY_EVENTS[event.keyCode];\n\n this._elementValueDidChange();\n if (method) {\n return this[method](event);\n }\n },\n _elementValueDidChange: function () {\n (0, _emberMetal.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 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 });\n\n // In principle, this shouldn't be necessary, but the legacy\n // sendAction semantics for TextField are different from\n // the component semantics so this method normalizes them.\n function sendAction(eventName, view, event) {\n var actionName = (0, _emberMetal.get)(view, 'attrs.' + eventName) || (0, _emberMetal.get)(view, eventName);\n var value = (0, _emberMetal.get)(view, 'value');\n\n if (_deprecatedFeatures.SEND_ACTION && typeof actionName === 'string') {\n false && !false && (0, _debug.deprecate)('Passing actions to components as strings (like {{input ' + eventName + '=\"' + actionName + '\"}}) is deprecated. Please use closure actions instead ({{input ' + eventName + '=(action \"' + actionName + '\")}})', 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\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, _emberMetal.get)(view, 'bubbles')) {\n event.stopPropagation();\n }\n }\n});","enifed('ember-views/lib/mixins/view_state_support', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n 'use strict';\n\n exports.default = _emberMetal.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 if (currentState.enter) {\n currentState.enter(this);\n }\n }\n });\n});","enifed('ember-views/lib/mixins/view_support', ['exports', 'ember-utils', 'ember-meta', 'ember-metal', '@ember/debug', 'ember-browser-environment', 'ember-views/lib/system/utils', 'ember-views/lib/system/jquery'], function (exports, _emberUtils, _emberMeta, _emberMetal, _debug, _emberBrowserEnvironment, _utils, _jquery) {\n 'use strict';\n\n function K() {\n return this;\n }\n\n /**\n @class ViewMixin\n @namespace Ember\n @private\n */\n exports.default = _emberMetal.Mixin.create({\n /**\n A list of properties of the view to apply as attributes. If the property\n is a string value, the value of that string will be applied as the value\n for an attribute of the property's name.\n The following example creates a tag like `<div priority=\"high\" />`.\n ```app/components/my-component.js\n import Component from '@ember/component';\n export default Component.extend({\n attributeBindings: ['priority'],\n priority: 'high'\n });\n ```\n If the value of the property is a Boolean, the attribute is treated as\n an HTML Boolean attribute. It will be present if the property is `true`\n and omitted if the property is `false`.\n The following example creates markup like `<div visible />`.\n ```app/components/my-component.js\n import Component from '@ember/component';\n export default Component.extend({\n attributeBindings: ['visible'],\n visible: true\n });\n ```\n If you would prefer to use a custom value instead of the property name,\n you can create the same markup as the last example with a binding like\n this:\n ```app/components/my-component.js\n import Component from '@ember/component';\n export default Component.extend({\n attributeBindings: ['isVisible:visible'],\n isVisible: true\n });\n ```\n This list of attributes is inherited from the component's superclasses,\n as well.\n @property attributeBindings\n @type Array\n @default []\n @public\n */\n concatenatedProperties: ['attributeBindings'],\n\n // ..........................................................\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 _emberMetal.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 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 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 // ..........................................................\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, _emberMetal.descriptor)({\n configurable: false,\n enumerable: false,\n get: function () {\n return this.renderer.getElement(this);\n }\n }),\n\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 */\n $: function (sel) {\n false && !(this.tagName !== '') && (0, _debug.assert)(\"You cannot access this.$() on a component with `tagName: ''` specified.\", this.tagName !== '');\n false && !!_jquery.jQueryDisabled && (0, _debug.assert)('You cannot access this.$() with `jQuery` disabled.', !_jquery.jQueryDisabled);\n\n if (this.element) {\n return sel ? (0, _jquery.default)(sel, this.element) : (0, _jquery.default)(this.element);\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 = void 0;\n\n if (_emberBrowserEnvironment.hasDOM) {\n target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n\n false && !target && (0, _debug.assert)('You tried to append to (' + selector + ') but that isn\\'t in the DOM', target);\n false && !!(0, _utils.matches)(target, '.ember-view') && (0, _debug.assert)('You cannot append to an existing Ember.View.', !(0, _utils.matches)(target, '.ember-view'));\n false && !function () {\n var node = target.parentNode;\n while (node) {\n if (node.nodeType !== 9 && (0, _utils.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;while (node) {\n if (node.nodeType !== 9 && (0, _utils.matches)(node, '.ember-view')) {\n return false;\n }node = node.parentNode;\n }return true;\n }());\n } else {\n target = selector;\n\n false && !(typeof target !== 'string') && (0, _debug.assert)('You tried to append to a selector string (' + selector + ') in an environment without jQuery', typeof target !== 'string');\n false && !(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\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 Attempts to discover the element in the parent element. The default\n implementation looks for an element with an ID of `elementId` (or the\n view's guid if `elementId` is null). You can override this method to\n provide your own form of lookup. For example, if you want to discover your\n element using a CSS class name instead of an ID.\n @method findElementInParentElement\n @param {DOMElement} parentElement The parent's DOM element\n @return {DOMElement} The discovered element\n @private\n */\n findElementInParentElement: function (parentElem) {\n var id = '#' + this.elementId;\n return (0, _jquery.default)(id)[0] || (0, _jquery.default)(id, parentElem)[0];\n },\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 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 when the parentView property has changed.\n @event parentViewDidChange\n @private\n */\n parentViewDidChange: K,\n\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 @property tagName\n @type String\n @default null\n @public\n */\n\n // We leave this null by default so we can tell the difference between\n // the default case and a user-specified tag.\n tagName: null,\n\n // .......................................................\n // CORE DISPLAY METHODS\n //\n\n /**\n Setup a view, but do not finish waking it up.\n * configure `childViews`\n * register the view with the global views hash, which is used for event\n dispatch\n @method init\n @private\n */\n init: function () {\n this._super.apply(this, arguments);\n\n // tslint:disable-next-line:max-line-length\n false && !((0, _emberMeta.descriptorFor)(this, 'elementId') === undefined) && (0, _debug.assert)('You cannot use a computed property for the component\\'s `elementId` (' + this + ').', (0, _emberMeta.descriptorFor)(this, 'elementId') === undefined);\n\n // tslint:disable-next-line:max-line-length\n\n false && !((0, _emberMeta.descriptorFor)(this, 'tagName') === undefined) && (0, _debug.assert)('You cannot use a computed property for the component\\'s `tagName` (' + this + ').', (0, _emberMeta.descriptorFor)(this, 'tagName') === undefined);\n\n if (!this.elementId && this.tagName !== '') {\n this.elementId = (0, _emberUtils.guidFor)(this);\n }\n\n false && !!this.render && (0, _debug.assert)('Using a custom `.render` function is no longer supported.', !this.render);\n },\n\n // .......................................................\n // EVENT HANDLING\n //\n\n /**\n Handle events from `EventDispatcher`\n @method handleEvent\n @param eventName {String}\n @param evt {Event}\n @private\n */\n handleEvent: function (eventName, evt) {\n return this._currentState.handleEvent(this, eventName, evt);\n }\n });\n});","enifed(\"ember-views/lib/system/action_manager\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.default = ActionManager;\n /**\n @module ember\n */\n\n function ActionManager() {}\n\n /**\n Global action id hash.\n \n @private\n @property registeredActions\n @type Object\n */\n ActionManager.registeredActions = {};\n});","enifed('ember-views/lib/system/event_dispatcher', ['exports', 'ember-owner', '@ember/polyfills', '@ember/debug', 'ember-metal', 'ember-runtime', 'ember-views/lib/system/jquery', 'ember-views/lib/system/action_manager', 'ember-views/lib/compat/fallback-view-registry', 'ember-views/lib/system/jquery_event_deprecation'], function (exports, _emberOwner, _polyfills, _debug, _emberMetal, _emberRuntime, _jquery, _action_manager, _fallbackViewRegistry, _jquery_event_deprecation) {\n 'use strict';\n\n /**\n @module ember\n */\n\n var ROOT_ELEMENT_CLASS = 'ember-application';\n var ROOT_ELEMENT_SELECTOR = '.' + ROOT_ELEMENT_CLASS;\n\n var EVENT_MAP = {\n mouseenter: 'mouseover',\n mouseleave: 'mouseout'\n };\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 exports.default = _emberRuntime.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\n init: function () {\n var _this = this;\n\n this._super();\n\n false && !function () {\n var owner = (0, _emberOwner.getOwner)(_this);\n var environment = owner.lookup('-environment:main');\n\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, _emberOwner.getOwner)(_this);var environment = owner.lookup('-environment:main');return environment.isInteractive;\n }());\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, _emberMetal.get)(this, 'events'), addedEvents);\n\n if (_rootElement !== undefined && _rootElement !== null) {\n (0, _emberMetal.set)(this, 'rootElement', _rootElement);\n }\n\n var rootElementSelector = (0, _emberMetal.get)(this, 'rootElement');\n var rootElement = void 0;\n if (_jquery.jQueryDisabled) {\n if (typeof rootElementSelector !== 'string') {\n rootElement = rootElementSelector;\n } else {\n rootElement = document.querySelector(rootElementSelector);\n }\n\n false && !!rootElement.classList.contains(ROOT_ELEMENT_CLASS) && (0, _debug.assert)('You cannot use the same root element (' + ((0, _emberMetal.get)(this, 'rootElement') || rootElement.tagName) + ') multiple times in an Ember.Application', !rootElement.classList.contains(ROOT_ELEMENT_CLASS));\n false && !function () {\n var target = rootElement.parentNode;\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;do {\n if (target.classList.contains(ROOT_ELEMENT_CLASS)) {\n return false;\n }target = target.parentNode;\n } while (target && target.nodeType === 1);return true;\n }());\n false && !!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\n rootElement.classList.add(ROOT_ELEMENT_CLASS);\n\n false && !rootElement.classList.contains(ROOT_ELEMENT_CLASS) && (0, _debug.assert)('Unable to add \\'' + ROOT_ELEMENT_CLASS + '\\' class to root element (' + ((0, _emberMetal.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 false && !!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 false && !!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 false && !!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\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 var viewRegistry = this._getViewRegistry();\n\n for (var event in events) {\n if (events.hasOwnProperty(event)) {\n this.setupHandler(rootElement, event, events[event], viewRegistry);\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 @param {Object} viewRegistry\n */\n setupHandler: function (rootElement, event, eventName, viewRegistry) {\n var viewHandler, actionHandler, mappedEventType, origEventType, createFakeEvent, handleMappedEvent, handleEvent;\n\n if (eventName === null) {\n return;\n }\n\n if (_jquery.jQueryDisabled) {\n viewHandler = function (target, event) {\n var view = viewRegistry[target.id];\n var result = true;\n\n if (view) {\n result = view.handleEvent(eventName, event);\n }\n\n return result;\n };\n actionHandler = function (target, event) {\n var actionId = target.getAttribute('data-ember-action'),\n attributes,\n attributeCount,\n i,\n attr,\n attrName,\n index,\n action;\n var actions = _action_manager.default.registeredActions[actionId];\n\n // In Glimmer2 this attribute is set to an empty string and an additional\n // attribute it set for each action on a given element. In this case, the\n // attributes need to be read so that a proper set of action handlers can\n // be coalesced.\n if (actionId === '') {\n attributes = target.attributes;\n attributeCount = attributes.length;\n\n\n actions = [];\n\n for (i = 0; i < attributeCount; i++) {\n attr = attributes.item(i);\n attrName = attr.name;\n\n\n if (attrName.indexOf('data-ember-action-') === 0) {\n actions = actions.concat(_action_manager.default.registeredActions[attr.value]);\n }\n }\n }\n\n // We have to check for actions here since in some cases, jQuery will trigger\n // an event on `removeChild` (i.e. focusout) after we've already torn down the\n // action handlers for the view.\n if (!actions) {\n return;\n }\n\n for (index = 0; index < actions.length; index++) {\n action = actions[index];\n\n\n if (action && action.eventName === eventName) {\n return action.handler(event);\n }\n }\n };\n\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 if (EVENT_MAP[event] !== undefined) {\n mappedEventType = EVENT_MAP[event];\n origEventType = event;\n 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);\n\n // fake event.target as we don't dispatch the event\n Object.defineProperty(fakeEvent, 'target', { value: event.target, enumerable: true });\n\n return fakeEvent;\n };\n handleMappedEvent = this._eventHandlers[mappedEventType] = function (event) {\n var target = event.target;\n var related = event.relatedTarget;\n\n while (target && target.nodeType === 1 && (!related || related !== target && !target.contains(related))) {\n // mouseEnter/Leave don't bubble, so there is no logic to prevent it as with other events\n if (viewRegistry[target.id]) {\n viewHandler(target, createFakeEvent(origEventType, event));\n } else if (target.hasAttribute('data-ember-action')) {\n actionHandler(target, createFakeEvent(origEventType, event));\n }\n\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 target = target.parentNode;\n }\n };\n\n\n rootElement.addEventListener(mappedEventType, handleMappedEvent);\n } else {\n handleEvent = this._eventHandlers[event] = function (event) {\n var target = event.target;\n\n do {\n if (viewRegistry[target.id]) {\n if (viewHandler(target, event) === false) {\n event.preventDefault();\n event.stopPropagation();\n break;\n }\n } else if (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\n rootElement.addEventListener(event, handleEvent);\n }\n } else {\n rootElement.on(event + '.ember', '.ember-view', function (evt) {\n var view = viewRegistry[this.id];\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\n rootElement.on(event + '.ember', '[data-ember-action]', function (evt) {\n var attributes = evt.currentTarget.attributes,\n i,\n attr,\n attrName,\n action;\n var handledActions = [];\n\n evt = (0, _jquery_event_deprecation.default)(evt);\n\n for (i = 0; i < attributes.length; i++) {\n attr = attributes.item(i);\n attrName = attr.name;\n\n\n if (attrName.lastIndexOf('data-ember-action-', 0) !== -1) {\n action = _action_manager.default.registeredActions[attr.value];\n\n // 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);\n // 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 handledActions.push(action);\n }\n }\n }\n });\n }\n },\n _getViewRegistry: function () {\n var owner = (0, _emberOwner.getOwner)(this);\n var viewRegistry = owner && owner.lookup('-view-registry:main') || _fallbackViewRegistry.default;\n\n return viewRegistry;\n },\n destroy: function () {\n var rootElementSelector = (0, _emberMetal.get)(this, 'rootElement');\n var rootElement = void 0;\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 (_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\n return this._super.apply(this, arguments);\n },\n toString: function () {\n return '(EventDispatcher)';\n }\n });\n});","enifed('ember-views/lib/system/jquery', ['exports', 'ember-environment', 'ember-browser-environment'], function (exports, _emberEnvironment, _emberBrowserEnvironment) {\n 'use strict';\n\n exports.jQueryDisabled = undefined;\n\n var jQuery = void 0;\n var jQueryDisabled = exports.jQueryDisabled = _emberEnvironment.ENV._JQUERY_INTEGRATION === false;\n\n if (_emberBrowserEnvironment.hasDOM) {\n jQuery = _emberEnvironment.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 exports.default = jQueryDisabled ? undefined : jQuery;\n});","enifed('ember-views/lib/system/jquery_event_deprecation', ['exports', '@ember/debug', 'ember-environment', 'ember-utils'], function (exports, _debug, _emberEnvironment) {\n 'use strict';\n\n /* global Proxy */\n exports.default = function (jqEvent) {\n return jqEvent;\n\n\n var boundFunctions = new Map();\n\n // 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});","enifed('ember-views/lib/system/lookup_partial', ['exports', '@ember/debug', '@ember/error'], function (exports, _debug, _error) {\n 'use strict';\n\n exports.default = function (templateName, owner) {\n if (templateName == null) {\n return;\n }\n\n var template = templateFor(owner, parseUnderscoredName(templateName), templateName);\n\n false && !!!template && (0, _debug.assert)('Unable to find partial with name \"' + templateName + '\"', !!template);\n\n return template;\n };\n exports.hasPartial = function (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 parseUnderscoredName(templateName) {\n var nameParts = templateName.split('/');\n var lastPart = nameParts[nameParts.length - 1];\n\n nameParts[nameParts.length - 1] = '_' + lastPart;\n\n return nameParts.join('/');\n }\n\n function templateFor(owner, underscored, name) {\n if (!name) {\n return;\n }\n false && !(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-views/lib/system/utils', ['exports', 'ember-owner', 'ember-utils'], function (exports, _emberOwner, _emberUtils) {\n 'use strict';\n\n exports.elMatches = undefined;\n exports.isSimpleClick =\n\n /**\n @module ember\n */\n\n function (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 /* globals Element */\n ;\n exports.constructStyleDeprecationMessage = function (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 /**\n @private\n @method getRootViews\n @param {Object} owner\n */\n ;\n exports.getRootViews = function (owner) {\n var registry = owner.lookup('-view-registry:main');\n\n var rootViews = [];\n\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\n return rootViews;\n }\n\n /**\n @private\n @method getViewId\n @param {Ember.View} view\n */\n ;\n exports.getViewId = getViewId;\n exports.getViewElement =\n\n /**\n @private\n @method getViewElement\n @param {Ember.View} view\n */\n function (view) {\n return view[VIEW_ELEMENT];\n };\n exports.initViewElement = function (view) {\n view[VIEW_ELEMENT] = null;\n };\n exports.setViewElement = function (view, element) {\n return view[VIEW_ELEMENT] = element;\n };\n exports.getChildViews =\n\n /**\n @private\n @method getChildViews\n @param {Ember.View} view\n */\n function (view) {\n var owner = (0, _emberOwner.getOwner)(view);\n var registry = owner.lookup('-view-registry:main');\n return collectChildViews(view, registry);\n };\n exports.initChildViews = initChildViews;\n exports.addChildView = function (parent, child) {\n var childViews = CHILD_VIEW_IDS.get(parent);\n if (childViews === undefined) {\n childViews = initChildViews(parent);\n }\n\n childViews.add(getViewId(child));\n };\n exports.collectChildViews = collectChildViews;\n exports.getViewBounds = getViewBounds;\n exports.getViewRange = getViewRange;\n exports.getViewClientRects =\n\n /**\n `getViewClientRects` provides information about the position of the border\n box edges of a view relative to the viewport.\n \n It is only intended to be used by development tools like the Ember Inspector\n and may not work on older browsers.\n \n @private\n @method getViewClientRects\n @param {Ember.View} view\n */\n function (view) {\n var range = getViewRange(view);\n return range.getClientRects();\n }\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 exports.getViewBoundingClientRect = function (view) {\n var range = getViewRange(view);\n return range.getBoundingClientRect();\n }\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 exports.matches = function (el, selector) {\n return elMatches.call(el, selector);\n };function getViewId(view) {\n if (view.tagName !== '' && view.elementId) {\n return view.elementId;\n } else {\n return (0, _emberUtils.guidFor)(view);\n }\n }\n\n var VIEW_ELEMENT = (0, _emberUtils.symbol)('VIEW_ELEMENT');\n\n var CHILD_VIEW_IDS = new WeakMap();\n\n function initChildViews(view) {\n var childViews = new Set();\n CHILD_VIEW_IDS.set(view, childViews);\n return childViews;\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 if (view && !view.isDestroying && !view.isDestroyed) {\n views.push(view);\n }\n });\n }\n\n return views;\n }\n\n /**\n @private\n @method getViewBounds\n @param {Ember.View} view\n */\n function getViewBounds(view) {\n return view.renderer.getBounds(view);\n }\n\n /**\n @private\n @method getViewRange\n @param {Ember.View} view\n */\n function getViewRange(view) {\n var bounds = getViewBounds(view);\n\n var range = document.createRange();\n range.setStartBefore(bounds.firstNode);\n range.setEndAfter(bounds.lastNode);\n\n return range;\n }var elMatches = exports.elMatches = typeof Element !== 'undefined' && (Element.prototype.matches || Element.prototype.matchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector || Element.prototype.oMatchesSelector || Element.prototype.webkitMatchesSelector);\n});","enifed('ember-views/lib/utils/lookup-component', ['exports'], function (exports) {\n 'use strict';\n\n exports.default = function (owner, name, options) {\n var componentLookup = owner.lookup('component-lookup:main'),\n localResult;\n\n if (options && (options.source || options.namespace)) {\n localResult = lookupComponentPair(componentLookup, owner, name, options);\n\n\n if (localResult.component || localResult.layout) {\n return localResult;\n }\n }\n\n return lookupComponentPair(componentLookup, owner, name);\n };\n\n function lookupComponentPair(componentLookup, owner, name, options) {\n\n var component = componentLookup.componentFor(name, owner, options);\n var layout = componentLookup.layoutFor(name, owner, options);\n\n return { layout: layout, component: component };\n }\n});","enifed('ember-views/lib/views/core_view', ['exports', 'ember-runtime', 'ember-views/lib/system/utils', 'ember-views/lib/views/states'], function (exports, _emberRuntime, _utils, _states) {\n 'use strict';\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\n var CoreView = _emberRuntime.FrameworkObject.extend(_emberRuntime.Evented, _emberRuntime.ActionHandler, {\n isView: true,\n\n _states: (0, _states.cloneStates)(_states.states),\n\n init: function () {\n this._super.apply(this, arguments);\n this._state = 'preRender';\n this._currentState = this._states.preRender;\n\n (0, _utils.initViewElement)(this);\n\n if (!this.renderer) {\n throw new Error('Cannot instantiate a component without a renderer. Please ensure that you are creating ' + this + ' with a proper container/registry.');\n }\n },\n\n /**\n If the view is currently inserted into the DOM of a parent view, this\n property will point to the parent of the view.\n @property parentView\n @type Ember.View\n @default null\n @private\n */\n parentView: null,\n\n instrumentDetails: function (hash) {\n hash.object = this.toString();\n hash.containerKey = this._debugContainerKey;\n hash.view = this;\n return hash;\n },\n trigger: function (name) {\n for (_len = arguments.length, args = 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 var method = this[name],\n _len,\n args,\n _key;\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\n exports.default = CoreView;\n});","enifed('ember-views/lib/views/states', ['exports', '@ember/polyfills', 'ember-views/lib/views/states/default', 'ember-views/lib/views/states/pre_render', 'ember-views/lib/views/states/has_element', 'ember-views/lib/views/states/in_dom', 'ember-views/lib/views/states/destroying'], function (exports, _polyfills, _default2, _pre_render, _has_element, _in_dom, _destroying) {\n 'use strict';\n\n exports.states = undefined;\n exports.cloneStates = function (from) {\n var into = {};\n\n into._default = {};\n into.preRender = Object.create(into._default);\n into.destroying = Object.create(into._default);\n into.hasElement = Object.create(into._default);\n into.inDOM = Object.create(into.hasElement);\n\n for (var stateName in from) {\n if (!from.hasOwnProperty(stateName)) {\n continue;\n }\n (0, _polyfills.assign)(into[stateName], from[stateName]);\n }\n\n return into;\n }\n\n /*\n Describe how the specified actions should behave in the various\n states that a view can exist in. Possible states:\n \n * preRender: when a view is first instantiated, and after its\n element was destroyed, it is in the preRender state\n * hasElement: the DOM representation of the view is created,\n and is ready to be inserted\n * inDOM: once a view has been inserted into the DOM it is in\n the inDOM state. A view spends the vast majority of its\n existence in this state.\n * destroyed: once a view has been destroyed (using the destroy\n method), it is in this state. No further actions can be invoked\n on a destroyed view.\n */\n ;\n exports.states = {\n _default: _default2.default,\n preRender: _pre_render.default,\n inDOM: _in_dom.default,\n hasElement: _has_element.default,\n destroying: _destroying.default\n };\n});","enifed(\"ember-views/lib/views/states/default\", [\"exports\", \"@ember/error\"], function (exports, _error) {\n \"use strict\";\n\n exports.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\n // Handle events from `Ember.EventDispatcher`\n handleEvent: function () {\n return true; // continue event propagation\n },\n rerender: function () {},\n destroy: function () {}\n };\n});","enifed('ember-views/lib/views/states/destroying', ['exports', '@ember/polyfills', '@ember/error', 'ember-views/lib/views/states/default'], function (exports, _polyfills, _error, _default2) {\n 'use strict';\n\n var destroying = Object.create(_default2.default);\n\n (0, _polyfills.assign)(destroying, {\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 exports.default = destroying;\n});","enifed('ember-views/lib/views/states/has_element', ['exports', '@ember/polyfills', 'ember-views/lib/views/states/default', '@ember/runloop', '@ember/instrumentation'], function (exports, _polyfills, _default2, _runloop, _instrumentation) {\n 'use strict';\n\n var hasElement = Object.create(_default2.default);\n\n (0, _polyfills.assign)(hasElement, {\n rerender: function (view) {\n view.renderer.rerender(view);\n },\n destroy: function (view) {\n view.renderer.remove(view);\n },\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, { event: event, view: view }, 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 exports.default = hasElement;\n});","enifed('ember-views/lib/views/states/in_dom', ['exports', '@ember/polyfills', 'ember-metal', '@ember/error', 'ember-views/lib/views/states/has_element'], function (exports, _polyfills, _emberMetal, _error, _has_element) {\n 'use strict';\n\n var inDOM = Object.create(_has_element.default);\n\n (0, _polyfills.assign)(inDOM, {\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 exit: function (view) {\n view.renderer.unregister(view);\n }\n });\n\n exports.default = inDOM;\n});","enifed('ember-views/lib/views/states/pre_render', ['exports', 'ember-views/lib/views/states/default'], function (exports, _default2) {\n 'use strict';\n\n exports.default = Object.create(_default2.default);\n});","enifed('ember/index', ['exports', 'require', 'ember-environment', 'node-module', 'ember-utils', 'container', '@ember/instrumentation', 'ember-meta', 'ember-metal', '@ember/canary-features', '@ember/debug', 'backburner', 'ember-console', '@ember/controller', '@ember/controller/lib/controller_mixin', '@ember/string', '@ember/service', '@ember/object/computed', 'ember-runtime', 'ember-glimmer', 'ember/version', 'ember-views', 'ember-routing', 'ember-extension-support', '@ember/error', '@ember/runloop', 'ember-error-handling', 'ember-owner', '@ember/application', '@ember/application/globals-resolver', '@ember/application/instance', '@ember/engine', '@ember/engine/instance', '@ember/map', '@ember/map/with-default', '@ember/map/lib/ordered-set', '@ember/polyfills', '@ember/deprecated-features'], function (exports, _require2, _emberEnvironment, _nodeModule, _emberUtils, _container, _instrumentation, _emberMeta, _emberMetal, _canaryFeatures, _debug, _backburner, _emberConsole, _controller, _controller_mixin, _string, _service, _computed, _emberRuntime, _emberGlimmer, _version, _emberViews, _emberRouting, _emberExtensionSupport, _error, _runloop, _emberErrorHandling, _emberOwner, _application, _globalsResolver, _instance, _engine, _instance2, _map, _withDefault, _orderedSet, _polyfills, _deprecatedFeatures) {\n 'use strict';\n\n // ****ember-environment****\n\n // eslint-disable-next-line import/no-unresolved\n\n var Ember = typeof _emberEnvironment.context.imports.Ember === 'object' && _emberEnvironment.context.imports.Ember || {},\n testing;\n\n Ember.isNamespace = true;\n Ember.toString = function () {\n return 'Ember';\n };\n\n Object.defineProperty(Ember, 'ENV', {\n get: _emberEnvironment.getENV,\n enumerable: false\n });\n\n Object.defineProperty(Ember, 'lookup', {\n get: _emberEnvironment.getLookup,\n set: _emberEnvironment.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 false && !false && (0, _debug.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\n return _emberEnvironment.ENV.EXTEND_PROTOTYPES;\n }\n });\n }\n\n // ****@ember/application****\n Ember.getOwner = _emberOwner.getOwner;\n Ember.setOwner = _emberOwner.setOwner;\n Ember.Application = _application.default;\n Ember.DefaultResolver = Ember.Resolver = _globalsResolver.default;\n Ember.ApplicationInstance = _instance.default;\n\n // ****@ember/engine****\n Ember.Engine = _engine.default;\n Ember.EngineInstance = _instance2.default;\n\n // ****@ember/map****\n Ember.OrderedSet = _orderedSet.default;\n Ember.__OrderedSet__ = _orderedSet.__OrderedSet__;\n Ember.Map = _map.default;\n Ember.MapWithDefault = _withDefault.default;\n\n // ****@ember/polyfills****\n Ember.assign = _polyfills.assign;\n Ember.merge = _polyfills.merge;\n\n // ****ember-utils****\n Ember.generateGuid = _emberUtils.generateGuid;\n Ember.GUID_KEY = _emberUtils.GUID_KEY;\n Ember.guidFor = _emberUtils.guidFor;\n Ember.inspect = _emberUtils.inspect;\n Ember.makeArray = _emberUtils.makeArray;\n Ember.canInvoke = _emberUtils.canInvoke;\n Ember.tryInvoke = _emberUtils.tryInvoke;\n Ember.wrap = _emberUtils.wrap;\n Ember.uuid = _emberUtils.uuid;\n Ember.NAME_KEY = _emberUtils.NAME_KEY;\n Ember._Cache = _emberUtils.Cache;\n\n // ****container****\n Ember.Container = _container.Container;\n Ember.Registry = _container.Registry;\n\n // ****@ember/debug****\n Ember.assert = _debug.assert;\n Ember.warn = _debug.warn;\n Ember.debug = _debug.debug;\n Ember.deprecate = _debug.deprecate;\n Ember.deprecateFunc = _debug.deprecateFunc;\n Ember.runInDebug = _debug.runInDebug;\n\n // ****@ember/error****\n Ember.Error = _error.default;\n\n /**\n @public\n @class Ember.Debug\n */\n Ember.Debug = {\n registerDeprecationHandler: _debug.registerDeprecationHandler,\n registerWarnHandler: _debug.registerWarnHandler\n };\n\n // ****@ember/instrumentation****\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 };\n\n // ****@ember/runloop****\n\n // Using _globalsRun here so that mutating the function (adding\n // `next`, `later`, etc to it) is only available in globals builds\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 });\n\n // ****ember-metal****\n\n // Using _globalsComputed here so that mutating the function is only available\n // in globals builds\n var computed = _emberMetal._globalsComputed;\n Ember.computed = computed;\n computed.alias = _emberMetal.alias;\n Ember.ComputedProperty = _emberMetal.ComputedProperty;\n Ember.cacheFor = _emberMetal.getCachedValueFor;\n Ember.meta = _emberMeta.meta;\n Ember.get = _emberMetal.get;\n Ember.getWithDefault = _emberMetal.getWithDefault;\n Ember._getPath = _emberMetal._getPath;\n Ember.set = _emberMetal.set;\n Ember.trySet = _emberMetal.trySet;\n Ember.FEATURES = (0, _polyfills.assign)({ isEnabled: _canaryFeatures.isEnabled }, _canaryFeatures.FEATURES);\n Ember._Cache = _emberUtils.Cache;\n Ember.on = _emberMetal.on;\n Ember.addListener = _emberMetal.addListener;\n Ember.removeListener = _emberMetal.removeListener;\n Ember.sendEvent = _emberMetal.sendEvent;\n Ember.hasListeners = _emberMetal.hasListeners;\n Ember.isNone = _emberMetal.isNone;\n Ember.isEmpty = _emberMetal.isEmpty;\n Ember.isBlank = _emberMetal.isBlank;\n Ember.isPresent = _emberMetal.isPresent;\n if (_deprecatedFeatures.PROPERTY_WILL_CHANGE) {\n Ember.propertyWillChange = _emberMetal.propertyWillChange;\n }\n if (_deprecatedFeatures.PROPERTY_DID_CHANGE) {\n Ember.propertyDidChange = _emberMetal.propertyDidChange;\n }\n Ember.notifyPropertyChange = _emberMetal.notifyPropertyChange;\n Ember.overrideChains = _emberMetal.overrideChains;\n Ember.beginPropertyChanges = _emberMetal.beginPropertyChanges;\n Ember.endPropertyChanges = _emberMetal.endPropertyChanges;\n Ember.changeProperties = _emberMetal.changeProperties;\n Ember.platform = {\n defineProperty: true,\n hasPropertyAccessors: true\n };\n Ember.defineProperty = _emberMetal.defineProperty;\n Ember.watchKey = _emberMetal.watchKey;\n Ember.unwatchKey = _emberMetal.unwatchKey;\n Ember.removeChainWatcher = _emberMetal.removeChainWatcher;\n Ember._ChainNode = _emberMetal.ChainNode;\n Ember.finishChains = _emberMetal.finishChains;\n Ember.watchPath = _emberMetal.watchPath;\n Ember.unwatchPath = _emberMetal.unwatchPath;\n Ember.watch = _emberMetal.watch;\n Ember.isWatching = _emberMetal.isWatching;\n Ember.unwatch = _emberMetal.unwatch;\n Ember.destroy = _emberMeta.deleteMeta;\n Ember.libraries = _emberMetal.libraries;\n Ember.getProperties = _emberMetal.getProperties;\n Ember.setProperties = _emberMetal.setProperties;\n Ember.expandProperties = _emberMetal.expandProperties;\n Ember.addObserver = _emberMetal.addObserver;\n Ember.removeObserver = _emberMetal.removeObserver;\n Ember.aliasMethod = _emberMetal.aliasMethod;\n Ember.observer = _emberMetal.observer;\n Ember.mixin = _emberMetal.mixin;\n Ember.Mixin = _emberMetal.Mixin;\n\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 Object.defineProperty(Ember, 'onerror', {\n get: _emberErrorHandling.getOnerror,\n set: _emberErrorHandling.setOnerror,\n enumerable: false\n });\n\n Object.defineProperty(Ember, 'testing', {\n get: _debug.isTesting,\n set: _debug.setTesting,\n enumerable: false\n });\n\n Ember._Backburner = _backburner.default;\n\n // ****ember-console****\n if (_deprecatedFeatures.LOGGER) {\n Ember.Logger = _emberConsole.default;\n }\n\n // ****ember-runtime****\n Ember.A = _emberRuntime.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 = _emberRuntime.Object;\n Ember._RegistryProxyMixin = _emberRuntime.RegistryProxyMixin;\n Ember._ContainerProxyMixin = _emberRuntime.ContainerProxyMixin;\n Ember.compare = _emberRuntime.compare;\n Ember.copy = _emberRuntime.copy;\n Ember.isEqual = _emberRuntime.isEqual;\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 Ember.inject = function inject() {\n false && !false && (0, _debug.assert)('Injected properties must be created through helpers, see \\'' + Object.keys(inject).map(function (k) {\n return '\\'inject.' + k + '\\'';\n }).join(' or ') + '\\'');\n };\n Ember.inject.service = _service.inject;\n Ember.inject.controller = _controller.inject;\n\n Ember.Array = _emberRuntime.Array;\n Ember.Comparable = _emberRuntime.Comparable;\n Ember.Enumerable = _emberRuntime.Enumerable;\n Ember.ArrayProxy = _emberRuntime.ArrayProxy;\n Ember.ObjectProxy = _emberRuntime.ObjectProxy;\n Ember.ActionHandler = _emberRuntime.ActionHandler;\n Ember.CoreObject = _emberRuntime.CoreObject;\n Ember.NativeArray = _emberRuntime.NativeArray;\n Ember.Copyable = _emberRuntime.Copyable;\n Ember.MutableEnumerable = _emberRuntime.MutableEnumerable;\n Ember.MutableArray = _emberRuntime.MutableArray;\n Ember.TargetActionSupport = _emberRuntime.TargetActionSupport;\n Ember.Evented = _emberRuntime.Evented;\n Ember.PromiseProxyMixin = _emberRuntime.PromiseProxyMixin;\n Ember.Observable = _emberRuntime.Observable;\n Ember.typeOf = _emberRuntime.typeOf;\n Ember.isArray = _emberRuntime.isArray;\n Ember.Object = _emberRuntime.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 = _emberRuntime._ProxyMixin;\n Ember.RSVP = _emberRuntime.RSVP;\n Ember.Namespace = _emberRuntime.Namespace;\n\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\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\n computed.uniqBy = _computed.uniqBy;\n computed.union = _computed.union;\n computed.intersect = _computed.intersect;\n computed.collect = _computed.collect;\n\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 Object.defineProperty(Ember, 'STRINGS', {\n configurable: false,\n get: _string._getStrings,\n set: _string._setStrings\n });\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 Object.defineProperty(Ember, 'BOOTED', {\n configurable: false,\n enumerable: false,\n get: _emberMetal.isNamespaceSearchDisabled,\n set: _emberMetal.setNamespaceSearchDisabled\n });\n\n // ****ember-glimmer****\n Ember.Component = _emberGlimmer.Component;\n _emberGlimmer.Helper.helper = _emberGlimmer.helper;\n Ember.Helper = _emberGlimmer.Helper;\n Ember.Checkbox = _emberGlimmer.Checkbox;\n Ember.TextField = _emberGlimmer.TextField;\n Ember.TextArea = _emberGlimmer.TextArea;\n Ember.LinkComponent = _emberGlimmer.LinkComponent;\n Ember._setComponentManager = _emberGlimmer.setComponentManager;\n Ember._componentManagerCapabilities = _emberGlimmer.capabilities;\n Ember.Handlebars = {\n template: _emberGlimmer.template,\n Utils: {\n escapeExpression: _emberGlimmer.escapeExpression\n }\n };\n Ember.HTMLBars = {\n template: _emberGlimmer.template\n };\n\n if (_emberEnvironment.ENV.EXTEND_PROTOTYPES.String) {\n String.prototype.htmlSafe = function () {\n return (0, _emberGlimmer.htmlSafe)(this);\n };\n }\n Ember.String.htmlSafe = _emberGlimmer.htmlSafe;\n Ember.String.isHTMLSafe = _emberGlimmer.isHTMLSafe;\n\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 Object.defineProperty(Ember, 'TEMPLATES', {\n get: _emberGlimmer.getTemplates,\n set: _emberGlimmer.setTemplates,\n configurable: false,\n enumerable: false\n });\n\n /**\n The semantic version\n \n @property VERSION\n @type String\n @public\n */\n Ember.VERSION = _version.default;\n\n // ****ember-views****\n if (!_emberViews.jQueryDisabled) {\n Ember.$ = _emberViews.jQuery;\n }\n Ember.ViewUtils = {\n isSimpleClick: _emberViews.isSimpleClick,\n getViewElement: _emberViews.getViewElement,\n getViewBounds: _emberViews.getViewBounds,\n getViewClientRects: _emberViews.getViewClientRects,\n getViewBoundingClientRect: _emberViews.getViewBoundingClientRect,\n getRootViews: _emberViews.getRootViews,\n getChildViews: _emberViews.getChildViews,\n isSerializationFirstNode: _emberGlimmer.isSerializationFirstNode\n };\n Ember.TextSupport = _emberViews.TextSupport;\n Ember.ComponentLookup = _emberViews.ComponentLookup;\n Ember.EventDispatcher = _emberViews.EventDispatcher;\n\n // ****ember-routing****\n Ember.Location = _emberRouting.Location;\n Ember.AutoLocation = _emberRouting.AutoLocation;\n Ember.HashLocation = _emberRouting.HashLocation;\n Ember.HistoryLocation = _emberRouting.HistoryLocation;\n Ember.NoneLocation = _emberRouting.NoneLocation;\n Ember.controllerFor = _emberRouting.controllerFor;\n Ember.generateControllerFactory = _emberRouting.generateControllerFactory;\n Ember.generateController = _emberRouting.generateController;\n Ember.RouterDSL = _emberRouting.RouterDSL;\n Ember.Router = _emberRouting.Router;\n Ember.Route = _emberRouting.Route;\n\n (0, _application.runLoadHooks)('Ember.Application', _application.default);\n\n Ember.DataAdapter = _emberExtensionSupport.DataAdapter;\n Ember.ContainerDebugAdapter = _emberExtensionSupport.ContainerDebugAdapter;\n\n if ((0, _require2.has)('ember-template-compiler')) {\n (0, _require2.default)('ember-template-compiler');\n }\n\n // do this to ensure that Ember.Test is defined properly on the global\n // if it is present.\n if ((0, _require2.has)('ember-testing')) {\n testing = (0, _require2.default)('ember-testing');\n\n\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\n exports.default = Ember;\n\n if (_nodeModule.IS_NODE) {\n _nodeModule.module.exports = Ember;\n } else {\n _emberEnvironment.context.exports.Ember = _emberEnvironment.context.exports.Em = Ember;\n }\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});","enifed(\"ember/version\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.default = \"3.5.1\";\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 var createObject = Object.create;\n function createMap() {\n var map = createObject(null);\n map[\"__\"] = undefined;\n delete map[\"__\"];\n return map;\n }\n\n var Target = function (path, matcher, delegate) {\n this.path = path;\n this.matcher = matcher;\n this.delegate = delegate;\n };\n Target.prototype.to = function (target, callback) {\n var delegate = this.delegate;\n if (delegate && delegate.willAddRoute) {\n target = delegate.willAddRoute(this.matcher.target, target);\n }\n this.matcher.add(this.path, target);\n if (callback) {\n if (callback.length === 0) {\n throw new Error(\"You must have an argument in the function passed to `to`\");\n }\n this.matcher.addChild(this.path, target, callback, this.delegate);\n }\n };\n var Matcher = function (target) {\n this.routes = createMap();\n this.children = createMap();\n this.target = target;\n };\n Matcher.prototype.add = function (path, target) {\n this.routes[path] = target;\n };\n Matcher.prototype.addChild = function (path, target, callback, delegate) {\n var matcher = new Matcher(target);\n this.children[path] = matcher;\n var match = generateMatch(path, matcher, delegate);\n if (delegate && delegate.contextEntered) {\n delegate.contextEntered(target, match);\n }\n callback(match);\n };\n function generateMatch(startingPath, matcher, delegate) {\n\n return function (path, callback) {\n var fullPath = startingPath + path;\n if (callback) {\n callback(generateMatch(fullPath, matcher, delegate));\n } else {\n return new Target(fullPath, matcher, delegate);\n }\n };\n }\n function addRoute(routeArray, path, handler) {\n var len = 0,\n i;\n for (i = 0; i < routeArray.length; i++) {\n len += routeArray[i].path.length;\n }\n path = path.substr(len);\n var route = { path: path, handler: handler };\n routeArray.push(route);\n }\n function eachRoute(baseRoute, matcher, callback, binding) {\n var routes = matcher.routes,\n i,\n path,\n routeArray,\n nested;\n var paths = Object.keys(routes);\n for (i = 0; i < paths.length; i++) {\n path = paths[i];\n routeArray = baseRoute.slice();\n\n addRoute(routeArray, path, routes[path]);\n 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\n // Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded\n // values that are not reserved (i.e., unicode characters, emoji, etc). The reserved\n // chars are \"/\" and \"%\".\n // Safe to call multiple times on the same path.\n // Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded\n function normalizePath(path) {\n return path.split(\"/\").map(normalizeSegment).join(\"/\");\n }\n // We want to ensure the characters \"%\" and \"/\" remain in percent-encoded\n // form when normalizing paths, so replace them with their encoded form after\n // decoding the rest of the path\n var SEGMENT_RESERVED_CHARS = /%|\\//g;\n function normalizeSegment(segment) {\n if (segment.length < 3 || segment.indexOf(\"%\") === -1) {\n return segment;\n }\n return decodeURIComponent(segment).replace(SEGMENT_RESERVED_CHARS, encodeURIComponent);\n }\n // We do not want to encode these characters when generating dynamic path segments\n // See https://tools.ietf.org/html/rfc3986#section-3.3\n // sub-delims: \"!\", \"$\", \"&\", \"'\", \"(\", \")\", \"*\", \"+\", \",\", \";\", \"=\"\n // others allowed by RFC 3986: \":\", \"@\"\n //\n // First encode the entire path segment, then decode any of the encoded special chars.\n //\n // The chars \"!\", \"'\", \"(\", \")\", \"*\" do not get changed by `encodeURIComponent`,\n // so the possible encoded chars are:\n // ['%24', '%26', '%2B', '%2C', '%3B', '%3D', '%3A', '%40'].\n var PATH_SEGMENT_ENCODINGS = /%(?:2(?:4|6|B|C)|3(?:B|D|A)|40)/g;\n function encodePathSegment(str) {\n return encodeURIComponent(str).replace(PATH_SEGMENT_ENCODINGS, decodeURIComponent);\n }\n\n var escapeRegex = /(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\)/g;\n var isArray = Array.isArray;\n var hasOwnProperty = Object.prototype.hasOwnProperty;\n function getParam(params, key) {\n if (typeof params !== \"object\" || params === null) {\n throw new Error(\"You must pass an object as the second argument to `generate`.\");\n }\n if (!hasOwnProperty.call(params, key)) {\n throw new Error(\"You must provide param `\" + key + \"` to `generate`.\");\n }\n var value = params[key];\n var str = typeof value === \"string\" ? value : \"\" + value;\n if (str.length === 0) {\n throw new Error(\"You must provide a param `\" + key + \"`.\");\n }\n return str;\n }\n var eachChar = [];\n eachChar[0 /* Static */] = function (segment, currentState) {\n var state = currentState,\n i,\n ch;\n var value = segment.value;\n for (i = 0; i < value.length; i++) {\n ch = value.charCodeAt(i);\n\n state = state.put(ch, false, false);\n }\n return state;\n };\n eachChar[1 /* Dynamic */] = function (_, currentState) {\n return currentState.put(47 /* SLASH */, true, true);\n };\n eachChar[2 /* Star */] = function (_, currentState) {\n return currentState.put(-1 /* ANY */, false, true);\n };\n eachChar[4 /* Epsilon */] = function (_, currentState) {\n return currentState;\n };\n var regex = [];\n regex[0 /* Static */] = function (segment) {\n return segment.value.replace(escapeRegex, \"\\\\$1\");\n };\n regex[1 /* Dynamic */] = function () {\n return \"([^/]+)\";\n };\n regex[2 /* Star */] = function () {\n return \"(.+)\";\n };\n regex[4 /* Epsilon */] = function () {\n return \"\";\n };\n var generate = [];\n generate[0 /* Static */] = function (segment) {\n return segment.value;\n };\n generate[1 /* Dynamic */] = function (segment, params) {\n var value = getParam(params, segment.value);\n if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n return encodePathSegment(value);\n } else {\n return value;\n }\n };\n generate[2 /* Star */] = function (segment, params) {\n return getParam(params, segment.value);\n };\n generate[4 /* Epsilon */] = function () {\n return \"\";\n };\n var EmptyObject = Object.freeze({});\n var EmptyArray = Object.freeze([]);\n // The `names` will be populated with the paramter name for each dynamic/star\n // segment. `shouldDecodes` will be populated with a boolean for each dyanamic/star\n // segment, indicating whether it should be decoded during recognition.\n function parse(segments, route, types) {\n // normalize route as not starting with a \"/\". Recognition will\n // also normalize.\n if (route.length > 0 && route.charCodeAt(0) === 47 /* SLASH */) {\n route = route.substr(1);\n }\n var parts = route.split(\"/\"),\n i,\n part,\n flags,\n type;\n var names = undefined;\n var shouldDecodes = undefined;\n for (i = 0; i < parts.length; i++) {\n part = parts[i];\n flags = 0;\n type = 0;\n\n if (part === \"\") {\n type = 4 /* Epsilon */;\n } else if (part.charCodeAt(0) === 58 /* COLON */) {\n type = 1 /* Dynamic */;\n } else if (part.charCodeAt(0) === 42 /* STAR */) {\n type = 2 /* Star */;\n } else {\n type = 0 /* Static */;\n }\n flags = 2 << type;\n if (flags & 12 /* Named */) {\n part = part.slice(1);\n names = names || [];\n names.push(part);\n shouldDecodes = shouldDecodes || [];\n shouldDecodes.push((flags & 4 /* Decoded */) !== 0);\n }\n if (flags & 14 /* Counted */) {\n types[type]++;\n }\n segments.push({\n type: type,\n value: normalizeSegment(part)\n });\n }\n return {\n names: names || EmptyArray,\n shouldDecodes: shouldDecodes || EmptyArray\n };\n }\n function isEqualCharSpec(spec, char, negate) {\n return spec.char === char && spec.negate === negate;\n }\n // A State has a character specification and (`charSpec`) and a list of possible\n // subsequent states (`nextStates`).\n //\n // If a State is an accepting state, it will also have several additional\n // properties:\n //\n // * `regex`: A regular expression that is used to extract parameters from paths\n // that reached this accepting state.\n // * `handlers`: Information on how to convert the list of captures into calls\n // to registered handlers with the specified parameters\n // * `types`: How many static, dynamic or star segments in this route. Used to\n // decide which route to use if multiple registered routes match a path.\n //\n // Currently, State is implemented naively by looping over `nextStates` and\n // comparing a character specification against a character. A more efficient\n // implementation would use a hash of keys pointing at one or more next states.\n var State = function (states, id, char, negate, repeat) {\n this.states = states;\n this.id = id;\n this.char = char;\n this.negate = negate;\n this.nextStates = repeat ? id : null;\n this.pattern = \"\";\n this._regex = undefined;\n this.handlers = undefined;\n this.types = undefined;\n };\n State.prototype.regex = function () {\n if (!this._regex) {\n this._regex = new RegExp(this.pattern);\n }\n return this._regex;\n };\n State.prototype.get = function (char, negate) {\n var this$1 = this,\n i,\n child,\n child$1;\n\n var nextStates = this.nextStates;\n if (nextStates === null) {\n return;\n }\n if (isArray(nextStates)) {\n for (i = 0; i < nextStates.length; i++) {\n child = this$1.states[nextStates[i]];\n\n if (isEqualCharSpec(child, char, negate)) {\n return child;\n }\n }\n } else {\n child$1 = this.states[nextStates];\n\n if (isEqualCharSpec(child$1, char, negate)) {\n return child$1;\n }\n }\n };\n State.prototype.put = function (char, negate, repeat) {\n var state;\n // If the character specification already exists in a child of the current\n // state, just return that state.\n if (state = this.get(char, negate)) {\n return state;\n }\n // Make a new state for the character spec\n var states = this.states;\n state = new State(states, states.length, char, negate, repeat);\n states[states.length] = state;\n // Insert the new state as a child of the current state\n if (this.nextStates == null) {\n this.nextStates = state.id;\n } else if (isArray(this.nextStates)) {\n this.nextStates.push(state.id);\n } else {\n this.nextStates = [this.nextStates, state.id];\n }\n // Return the new state\n return state;\n };\n // Find a list of child states matching the next character\n State.prototype.match = function (ch) {\n var this$1 = this,\n i,\n child,\n child$1;\n\n var nextStates = this.nextStates;\n if (!nextStates) {\n return [];\n }\n var returned = [];\n if (isArray(nextStates)) {\n for (i = 0; i < nextStates.length; i++) {\n child = this$1.states[nextStates[i]];\n\n if (isMatch(child, ch)) {\n returned.push(child);\n }\n }\n } else {\n child$1 = this.states[nextStates];\n\n if (isMatch(child$1, ch)) {\n returned.push(child$1);\n }\n }\n return returned;\n };\n function isMatch(spec, char) {\n return spec.negate ? spec.char !== char && spec.char !== -1 /* ANY */ : spec.char === char || spec.char === -1 /* ANY */;\n }\n // This is a somewhat naive strategy, but should work in a lot of cases\n // A better strategy would properly resolve /posts/:id/new and /posts/edit/:id.\n //\n // This strategy generally prefers more static and less dynamic matching.\n // Specifically, it\n //\n // * prefers fewer stars to more, then\n // * prefers using stars for less of the match to more, then\n // * prefers fewer dynamic segments to more, then\n // * prefers more static segments to more\n function sortSolutions(states) {\n return states.sort(function (a, b) {\n var ref = a.types || [0, 0, 0];\n var astatics = ref[0];\n var adynamics = ref[1];\n var astars = ref[2];\n var ref$1 = b.types || [0, 0, 0];\n var bstatics = ref$1[0];\n var bdynamics = ref$1[1];\n var bstars = ref$1[2];\n if (astars !== bstars) {\n return astars - bstars;\n }\n if (astars) {\n if (astatics !== bstatics) {\n return bstatics - astatics;\n }\n if (adynamics !== bdynamics) {\n return bdynamics - adynamics;\n }\n }\n if (adynamics !== bdynamics) {\n return adynamics - bdynamics;\n }\n if (astatics !== bstatics) {\n return bstatics - astatics;\n }\n return 0;\n });\n }\n function recognizeChar(states, ch) {\n var nextStates = [],\n i,\n l,\n state;\n for (i = 0, l = states.length; i < l; i++) {\n state = states[i];\n\n nextStates = nextStates.concat(state.match(ch));\n }\n return nextStates;\n }\n var RecognizeResults = function (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 function findHandler(state, originalPath, queryParams) {\n var handlers = state.handlers,\n i,\n handler,\n names,\n shouldDecodes,\n params,\n isDynamic,\n j,\n name,\n capture;\n var regex = state.regex();\n if (!regex || !handlers) {\n throw new Error(\"state not initialized\");\n }\n var captures = originalPath.match(regex);\n var currentCapture = 1;\n var result = new RecognizeResults(queryParams);\n result.length = handlers.length;\n for (i = 0; i < handlers.length; i++) {\n handler = handlers[i];\n names = handler.names;\n shouldDecodes = handler.shouldDecodes;\n params = EmptyObject;\n isDynamic = false;\n\n if (names !== EmptyArray && shouldDecodes !== EmptyArray) {\n for (j = 0; j < names.length; j++) {\n isDynamic = true;\n name = names[j];\n capture = captures && captures[currentCapture++];\n\n if (params === EmptyObject) {\n params = {};\n }\n if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS && shouldDecodes[j]) {\n params[name] = capture && decodeURIComponent(capture);\n } else {\n params[name] = capture;\n }\n }\n }\n result[i] = {\n handler: handler.handler,\n params: params,\n isDynamic: isDynamic\n };\n }\n return result;\n }\n function decodeQueryParamPart(part) {\n // http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1\n part = part.replace(/\\+/gm, \"%20\");\n var result;\n try {\n result = decodeURIComponent(part);\n } catch (error) {\n result = \"\";\n }\n return result;\n }\n var RouteRecognizer = function () {\n this.names = createMap();\n var states = [];\n var state = new State(states, 0, -1 /* ANY */, true, false);\n states[0] = state;\n this.states = states;\n this.rootState = state;\n };\n RouteRecognizer.prototype.add = function (routes, options) {\n var currentState = this.rootState,\n i,\n route,\n ref,\n names,\n shouldDecodes,\n segment;\n var pattern = \"^\";\n var types = [0, 0, 0];\n var handlers = new Array(routes.length);\n var allSegments = [];\n var isEmpty = true;\n var j = 0;\n for (i = 0; i < routes.length; i++) {\n route = routes[i];\n ref = parse(allSegments, route.path, types);\n names = ref.names;\n shouldDecodes = ref.shouldDecodes;\n // preserve j so it points to the start of newly added segments\n\n for (; j < allSegments.length; j++) {\n segment = allSegments[j];\n\n if (segment.type === 4 /* Epsilon */) {\n continue;\n }\n isEmpty = false;\n // Add a \"/\" for the new segment\n currentState = currentState.put(47 /* SLASH */, false, false);\n pattern += \"/\";\n // Add a representation of the segment to the NFA and regex\n currentState = eachChar[segment.type](segment, currentState);\n pattern += regex[segment.type](segment);\n }\n handlers[i] = {\n handler: route.handler,\n names: names,\n shouldDecodes: shouldDecodes\n };\n }\n if (isEmpty) {\n currentState = currentState.put(47 /* SLASH */, false, false);\n pattern += \"/\";\n }\n currentState.handlers = handlers;\n currentState.pattern = pattern + \"$\";\n currentState.types = types;\n var name;\n if (typeof options === \"object\" && options !== null && options.as) {\n name = options.as;\n }\n if (name) {\n // if (this.names[name]) {\n // throw new Error(\"You may not add a duplicate route named `\" + name + \"`.\");\n // }\n this.names[name] = {\n segments: allSegments,\n handlers: handlers\n };\n }\n };\n RouteRecognizer.prototype.handlersFor = function (name) {\n var route = this.names[name],\n i,\n handler;\n if (!route) {\n throw new Error(\"There is no route named \" + name);\n }\n var result = new Array(route.handlers.length);\n for (i = 0; i < route.handlers.length; i++) {\n handler = route.handlers[i];\n\n result[i] = handler;\n }\n return result;\n };\n RouteRecognizer.prototype.hasRoute = function (name) {\n return !!this.names[name];\n };\n RouteRecognizer.prototype.generate = function (name, params) {\n var route = this.names[name],\n i,\n segment;\n var output = \"\";\n if (!route) {\n throw new Error(\"There is no route named \" + name);\n }\n var segments = route.segments;\n for (i = 0; i < segments.length; i++) {\n segment = segments[i];\n\n if (segment.type === 4 /* Epsilon */) {\n continue;\n }\n output += \"/\";\n output += generate[segment.type](segment, params);\n }\n if (output.charAt(0) !== \"/\") {\n output = \"/\" + output;\n }\n if (params && params.queryParams) {\n output += this.generateQueryString(params.queryParams);\n }\n return output;\n };\n RouteRecognizer.prototype.generateQueryString = function (params) {\n var pairs = [],\n i,\n key,\n value,\n pair,\n j,\n arrayPair;\n var keys = Object.keys(params);\n keys.sort();\n for (i = 0; i < keys.length; i++) {\n key = keys[i];\n value = params[key];\n\n if (value == null) {\n continue;\n }\n pair = encodeURIComponent(key);\n\n if (isArray(value)) {\n for (j = 0; j < value.length; j++) {\n arrayPair = key + \"[]\" + \"=\" + encodeURIComponent(value[j]);\n\n pairs.push(arrayPair);\n }\n } else {\n pair += \"=\" + encodeURIComponent(value);\n pairs.push(pair);\n }\n }\n if (pairs.length === 0) {\n return \"\";\n }\n return \"?\" + pairs.join(\"&\");\n };\n RouteRecognizer.prototype.parseQueryString = function (queryString) {\n var pairs = queryString.split(\"&\"),\n i,\n pair,\n key,\n keyLength,\n isArray,\n value;\n var queryParams = {};\n for (i = 0; i < pairs.length; i++) {\n pair = pairs[i].split(\"=\"), key = decodeQueryParamPart(pair[0]), keyLength = key.length, isArray = false, 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 if (!queryParams[key]) {\n queryParams[key] = [];\n }\n }\n value = pair[1] ? decodeQueryParamPart(pair[1]) : \"\";\n }\n if (isArray) {\n queryParams[key].push(value);\n } else {\n queryParams[key] = value;\n }\n }\n return queryParams;\n };\n RouteRecognizer.prototype.recognize = function (path) {\n var results, queryString, i, i$1;\n var states = [this.rootState];\n var queryParams = {};\n var isSlashDropped = false;\n var hashStart = path.indexOf(\"#\");\n if (hashStart !== -1) {\n path = path.substr(0, hashStart);\n }\n var queryStart = path.indexOf(\"?\");\n if (queryStart !== -1) {\n queryString = path.substr(queryStart + 1, path.length);\n\n path = path.substr(0, queryStart);\n queryParams = this.parseQueryString(queryString);\n }\n if (path.charAt(0) !== \"/\") {\n path = \"/\" + path;\n }\n var originalPath = path;\n if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n path = normalizePath(path);\n } else {\n path = decodeURI(path);\n originalPath = decodeURI(originalPath);\n }\n var pathLen = path.length;\n if (pathLen > 1 && path.charAt(pathLen - 1) === \"/\") {\n path = path.substr(0, pathLen - 1);\n originalPath = originalPath.substr(0, originalPath.length - 1);\n isSlashDropped = true;\n }\n for (i = 0; i < path.length; i++) {\n states = recognizeChar(states, path.charCodeAt(i));\n if (!states.length) {\n break;\n }\n }\n var solutions = [];\n for (i$1 = 0; i$1 < states.length; i$1++) {\n if (states[i$1].handlers) {\n solutions.push(states[i$1]);\n }\n }\n states = sortSolutions(solutions);\n var state = solutions[0];\n if (state && state.handlers) {\n // if a trailing slash was dropped and a star segment is the last segment\n // specified, put the trailing slash back\n if (isSlashDropped && state.pattern && state.pattern.slice(-5) === \"(.+)$\") {\n originalPath = originalPath + \"/\";\n }\n results = findHandler(state, originalPath, queryParams);\n }\n return results;\n };\n RouteRecognizer.VERSION = \"0.3.3\";\n // Set to false to opt-out of encoding and decoding path segments.\n // See https://github.com/tildeio/route-recognizer/pull/55\n RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS = true;\n RouteRecognizer.Normalizer = {\n normalizeSegment: normalizeSegment, normalizePath: normalizePath, encodePathSegment: encodePathSegment\n };\n RouteRecognizer.prototype.map = function (callback, addRouteCallback) {\n var matcher = new Matcher();\n callback(generateMatch(\"\", matcher, this.delegate));\n eachRoute([], matcher, function (routes) {\n if (addRouteCallback) {\n addRouteCallback(this, routes);\n } else {\n this.add(routes);\n }\n }, this);\n };\n\n exports.default = RouteRecognizer;\n});","enifed('router', ['exports', 'ember-babel', 'rsvp', 'route-recognizer'], function (exports, _emberBabel, _rsvp, _routeRecognizer) {\n 'use strict';\n\n exports.Transition = undefined;\n\n var slice = Array.prototype.slice;\n var hasOwnProperty = Object.prototype.hasOwnProperty;\n\n /**\n Determines if an object is Promise by checking if it is \"thenable\".\n **/\n function isPromise(obj) {\n return (typeof obj === 'object' && obj !== null || typeof obj === 'function') && typeof obj.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 /**\n @private\n \n Extracts query params from the end of an array\n **/\n function extractQueryParams(array) {\n var len = array && array.length,\n head = void 0,\n queryParams = void 0;\n\n if (len && len > 0 && array[len - 1] && hasOwnProperty.call(array[len - 1], 'queryParams')) {\n queryParams = array[len - 1].queryParams;\n head = slice.call(array, 0, len - 1);\n return [head, queryParams];\n } else {\n return [array, null];\n }\n }\n\n /**\n @private\n \n Coerces query param properties and array elements into strings.\n **/\n function coerceQueryParamsToString(queryParams) {\n var val, i, l;\n\n for (var key in queryParams) {\n val = queryParams[key];\n\n if (typeof val === 'number') {\n queryParams[key] = '' + val;\n } else if (Array.isArray(val)) {\n for (i = 0, l = val.length; i < l; i++) {\n val[i] = '' + val[i];\n }\n }\n }\n }\n /**\n @private\n */\n function _log(router, sequence, msg) {\n if (!router.log) {\n return;\n }\n\n if (arguments.length === 3) {\n router.log('Transition #' + sequence + ': ' + msg);\n } else {\n msg = sequence;\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 var i, l;\n\n for (i = 0, l = array.length; i < l && false !== callback(array[i]); i++) {\n // empty intentionally\n }\n }\n\n function _trigger(router, handlerInfos, ignoreFailure, args) {\n if (router.triggerEvent) {\n router.triggerEvent(handlerInfos, ignoreFailure, args);\n return;\n }\n\n var name = args.shift(),\n i,\n handlerInfo,\n handler;\n\n if (!handlerInfos) {\n if (ignoreFailure) {\n return;\n }\n throw new Error(\"Could not trigger event '\" + name + \"'. There are no active handlers\");\n }\n\n var eventWasHandled = false;\n\n function delayedEvent(name, args, handler) {\n handler.events[name].apply(handler, args);\n }\n\n for (i = handlerInfos.length - 1; i >= 0; i--) {\n handlerInfo = handlerInfos[i], handler = handlerInfo.handler;\n\n // If there is no handler, it means the handler hasn't resolved yet which\n // means that we should trigger the event later when the handler is available\n\n if (!handler) {\n handlerInfo.handlerPromise.then(delayedEvent.bind(null, name, args));\n continue;\n }\n\n if (handler.events && handler.events[name]) {\n if (handler.events[name].apply(handler, args) === true) {\n eventWasHandled = true;\n } else {\n return;\n }\n }\n }\n\n // In the case that we got an UnrecognizedURLError as an event with no handler,\n // let it bubble up\n if (name === 'error' && args[0].name === 'UnrecognizedURLError') {\n throw args[0];\n } else if (!eventWasHandled && !ignoreFailure) {\n throw new Error(\"Nothing handled the event '\" + name + \"'.\");\n }\n }\n\n function getChangelist(oldObject, newObject) {\n var key = void 0,\n i,\n l;\n var results = {\n all: {},\n changed: {},\n removed: {}\n };\n\n merge(results.all, newObject);\n\n var didChange = false;\n coerceQueryParamsToString(oldObject);\n coerceQueryParamsToString(newObject);\n\n // Calculate removals\n for (key in oldObject) {\n if (hasOwnProperty.call(oldObject, key)) {\n if (!hasOwnProperty.call(newObject, key)) {\n didChange = true;\n results.removed[key] = oldObject[key];\n }\n }\n }\n\n // Calculate changes\n for (key in newObject) {\n if (hasOwnProperty.call(newObject, key)) {\n if (Array.isArray(oldObject[key]) && Array.isArray(newObject[key])) {\n if (oldObject[key].length !== newObject[key].length) {\n results.changed[key] = newObject[key];\n didChange = true;\n } else {\n for (i = 0, l = oldObject[key].length; i < l; i++) {\n if (oldObject[key][i] !== newObject[key][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 _promiseLabel(label) {\n return 'Router: ' + label;\n }\n\n function resolveHook(obj, hookName) {\n if (!obj) {\n return;\n }\n var underscored = '_' + hookName;\n return obj[underscored] && underscored || obj[hookName] && hookName;\n }\n\n function callHook(obj, _hookName, arg1, arg2) {\n var hookName = resolveHook(obj, _hookName);\n return hookName && obj[hookName].call(obj, arg1, arg2);\n }\n\n function applyHook(obj, _hookName, args) {\n var hookName = resolveHook(obj, _hookName);\n if (hookName) {\n if (args.length === 0) {\n return obj[hookName].call(obj);\n } else if (args.length === 1) {\n return obj[hookName].call(obj, args[0]);\n } else if (args.length === 2) {\n return obj[hookName].call(obj, args[0], args[1]);\n } else {\n return obj[hookName].apply(obj, args);\n }\n }\n }\n\n var TransitionState = function () {\n function TransitionState() {\n\n this.handlerInfos = [];\n this.queryParams = {};\n this.params = {};\n }\n\n TransitionState.prototype.promiseLabel = function (label) {\n var targetName = '';\n forEach(this.handlerInfos, function (handlerInfo) {\n if (targetName !== '') {\n targetName += '.';\n }\n targetName += handlerInfo.name;\n });\n return _promiseLabel(\"'\" + targetName + \"': \" + label);\n };\n\n TransitionState.prototype.resolve = function (shouldContinue) {\n var payload = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\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.handlerInfos, function (handlerInfo) {\n params[handlerInfo.name] = handlerInfo.params || {};\n });\n\n payload.resolveIndex = 0;\n\n var currentState = this;\n var wasAborted = false;\n\n // The prelude RSVP.resolve() asyncs us into the promise land.\n return _rsvp.Promise.resolve(null, this.promiseLabel('Start transition')).then(resolveOneHandlerInfo, null, this.promiseLabel('Resolve handler')).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 handlerInfos = currentState.handlerInfos;\n var errorHandlerIndex = payload.resolveIndex >= handlerInfos.length ? handlerInfos.length - 1 : payload.resolveIndex;\n return _rsvp.Promise.reject({\n error: error,\n handlerWithError: currentState.handlerInfos[errorHandlerIndex].handler,\n wasAborted: wasAborted,\n state: currentState\n });\n }\n\n function proceed(resolvedHandlerInfo) {\n var wasAlreadyResolved = currentState.handlerInfos[payload.resolveIndex].isResolved,\n handler;\n\n // Swap the previously unresolved handlerInfo with\n // the resolved handlerInfo\n currentState.handlerInfos[payload.resolveIndex++] = resolvedHandlerInfo;\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 handler = resolvedHandlerInfo.handler;\n\n callHook(handler, 'redirect', resolvedHandlerInfo.context, payload);\n }\n\n // Proceed after ensuring that the redirect hook\n // didn't abort this transition by transitioning elsewhere.\n return innerShouldContinue().then(resolveOneHandlerInfo, null, currentState.promiseLabel('Resolve handler'));\n }\n\n function resolveOneHandlerInfo() {\n if (payload.resolveIndex === currentState.handlerInfos.length) {\n // This is is the only possible\n // fulfill value of TransitionState#resolve\n return {\n error: null,\n state: currentState\n };\n }\n\n var handlerInfo = currentState.handlerInfos[payload.resolveIndex];\n\n return handlerInfo.resolve(innerShouldContinue, payload).then(proceed, null, currentState.promiseLabel('Proceed'));\n }\n };\n\n return TransitionState;\n }();\n\n function TransitionAbortedError(message) {\n if (!(this instanceof TransitionAbortedError)) {\n return new TransitionAbortedError(message);\n }\n\n var error = Error.call(this, message);\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, TransitionAbortedError);\n } else {\n this.stack = error.stack;\n }\n\n this.description = error.description;\n this.fileName = error.fileName;\n this.lineNumber = error.lineNumber;\n this.message = error.message || 'TransitionAborted';\n this.name = 'TransitionAborted';\n this.number = error.number;\n this.code = error.code;\n }\n\n TransitionAbortedError.prototype = Object.create(Error.prototype);\n\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 var Transition = function () {\n function Transition(router, intent, state, error, previousTransition) {\n var _this = this,\n len,\n i,\n handlerInfo;\n\n this.state = state || router.state;\n this.intent = intent;\n this.router = router;\n this.data = this.intent && this.intent.data || {};\n this.resolvedModels = {};\n this.queryParams = {};\n this.promise = undefined;\n this.error = undefined;\n this.params = undefined;\n this.handlerInfos = undefined;\n this.targetName = undefined;\n this.pivotHandler = undefined;\n this.sequence = 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\n if (error) {\n this.promise = _rsvp.Promise.reject(error);\n this.error = error;\n return;\n }\n\n // if you're doing multiple redirects, need the new transition to know if it\n // is actually part of the first transition or not. Any further redirects\n // in the initial transition also need to know if they are part of the\n // initial transition\n this.isCausedByAbortingTransition = !!previousTransition;\n this.isCausedByInitialTransition = previousTransition && (previousTransition.isCausedByInitialTransition || previousTransition.sequence === 0);\n // Every transition in the chain is a replace\n this.isCausedByAbortingReplaceTransition = previousTransition && previousTransition.urlMethod == 'replace' && (!previousTransition.isCausedByAbortingTransition || previousTransition.isCausedByAbortingReplaceTransition);\n\n if (state) {\n this.params = state.params;\n this.queryParams = state.queryParams;\n this.handlerInfos = state.handlerInfos;\n\n len = state.handlerInfos.length;\n\n if (len) {\n this.targetName = state.handlerInfos[len - 1].name;\n }\n\n for (i = 0; i < len; ++i) {\n handlerInfo = state.handlerInfos[i];\n\n // TODO: this all seems hacky\n\n if (!handlerInfo.isResolved) {\n break;\n }\n this.pivotHandler = handlerInfo.handler;\n }\n\n this.sequence = router.currentSequence++;\n this.promise = state.resolve(function () {\n if (_this.isAborted) {\n return _rsvp.Promise.reject(undefined, _promiseLabel('Transition aborted - reject'));\n }\n }, this).catch(function (result) {\n if (result.wasAborted || _this.isAborted) {\n return _rsvp.Promise.reject(logAbort(_this));\n } else {\n _this.trigger('error', result.error, _this, result.handlerWithError);\n _this.abort();\n return _rsvp.Promise.reject(result.error);\n }\n }, _promiseLabel('Handle Abort'));\n } else {\n this.promise = _rsvp.Promise.resolve(this.state);\n this.params = {};\n }\n }\n\n Transition.prototype.isExiting = function (handler) {\n var handlerInfos = this.handlerInfos,\n i,\n len,\n handlerInfo;\n for (i = 0, len = handlerInfos.length; i < len; ++i) {\n handlerInfo = handlerInfos[i];\n\n if (handlerInfo.name === handler || handlerInfo.handler === handler) {\n return false;\n }\n }\n return true;\n };\n\n Transition.prototype.then = function (onFulfilled, onRejected, label) {\n return this.promise.then(onFulfilled, onRejected, label);\n };\n\n Transition.prototype.catch = function (onRejection, label) {\n return this.promise.catch(onRejection, label);\n };\n\n Transition.prototype.finally = function (callback, label) {\n return this.promise.finally(callback, label);\n };\n\n Transition.prototype.abort = function () {\n if (this.isAborted) {\n return this;\n }\n _log(this.router, this.sequence, this.targetName + ': transition was aborted');\n this.intent.preTransitionState = this.router.state;\n this.isAborted = true;\n this.isActive = false;\n this.router.activeTransition = null;\n return this;\n };\n\n Transition.prototype.retry = function () {\n // TODO: add tests for merged state retry()s\n this.abort();\n var newTransition = this.router.transitionByIntent(this.intent, false);\n\n // inheriting a `null` urlMethod is not valid\n // the urlMethod is only set to `null` when\n // the transition is initiated *after* the url\n // has been updated (i.e. `router.handleURL`)\n //\n // in that scenario, the url method cannot be\n // inherited for a new transition because then\n // the url would not update even though it should\n if (this.urlMethod !== null) {\n newTransition.method(this.urlMethod);\n }\n return newTransition;\n };\n\n Transition.prototype.method = function (_method) {\n this.urlMethod = _method;\n return this;\n };\n\n Transition.prototype.trigger = function (ignoreFailure) {\n var args = slice.call(arguments);\n if (typeof ignoreFailure === 'boolean') {\n args.shift();\n } else {\n // Throw errors on unhandled trigger events by default\n ignoreFailure = false;\n }\n _trigger(this.router, this.state.handlerInfos.slice(0, this.resolveIndex + 1), ignoreFailure, args);\n };\n\n Transition.prototype.followRedirects = function () {\n var router = this.router;\n return this.promise.catch(function (reason) {\n if (router.activeTransition) {\n return router.activeTransition.followRedirects();\n }\n return _rsvp.Promise.reject(reason);\n });\n };\n\n Transition.prototype.toString = function () {\n return 'Transition (sequence ' + this.sequence + ')';\n };\n\n Transition.prototype.log = function (message) {\n _log(this.router, this.sequence, message);\n };\n\n return Transition;\n }();\n\n // Alias 'trigger' as 'send'\n Transition.prototype.send = Transition.prototype.trigger;\n\n /**\n @private\n \n Logs and returns an instance of TransitionAborted.\n */\n function logAbort(transition) {\n _log(transition.router, transition.sequence, 'detected abort.');\n return new TransitionAbortedError();\n }\n\n var TransitionIntent = function () {\n\n this.data = this.data || {};\n };\n\n var DEFAULT_HANDLER = Object.freeze({});\n\n var HandlerInfo = function () {\n function HandlerInfo() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n\n // initialize local properties to ensure consistent object shape\n this._handler = DEFAULT_HANDLER;\n this._handlerPromise = null;\n this.factory = null; // Injected by the handler info factory\n this.name = props.name;\n\n for (var prop in props) {\n if (prop === 'handler') {\n this._processHandler(props.handler);\n } else {\n this[prop] = props[prop];\n }\n }\n }\n\n HandlerInfo.prototype.getHandler = function () {};\n\n HandlerInfo.prototype.fetchHandler = function () {\n var handler = this.getHandler(this.name);\n return this._processHandler(handler);\n };\n\n HandlerInfo.prototype._processHandler = function (handler) {\n var _this2 = this;\n\n // Setup a handlerPromise so that we can wait for asynchronously loaded handlers\n this.handlerPromise = _rsvp.Promise.resolve(handler);\n\n // Wait until the 'handler' property has been updated when chaining to a handler\n // that is a promise\n if (isPromise(handler)) {\n this.handlerPromise = this.handlerPromise.then(function (h) {\n return _this2.updateHandler(h);\n });\n // set to undefined to avoid recursive loop in the handler getter\n return this.handler = undefined;\n } else if (handler) {\n return this.updateHandler(handler);\n }\n };\n\n HandlerInfo.prototype.log = function (payload, message) {\n if (payload.log) {\n payload.log(this.name + ': ' + message);\n }\n };\n\n HandlerInfo.prototype.promiseLabel = function (label) {\n return _promiseLabel(\"'\" + this.name + \"' \" + label);\n };\n\n HandlerInfo.prototype.getUnresolved = function () {\n return this;\n };\n\n HandlerInfo.prototype.serialize = function () {\n return this.params || {};\n };\n\n HandlerInfo.prototype.updateHandler = function (handler) {\n // Store the name of the handler on the handler for easy checks later\n handler._handlerName = this.name;\n return this.handler = handler;\n };\n\n HandlerInfo.prototype.resolve = function (shouldContinue, payload) {\n var checkForAbort = this.checkForAbort.bind(this, shouldContinue);\n var beforeModel = this.runBeforeModelHook.bind(this, payload);\n var model = this.getModel.bind(this, payload);\n var afterModel = this.runAfterModelHook.bind(this, payload);\n var becomeResolved = this.becomeResolved.bind(this, payload);\n\n return _rsvp.Promise.resolve(this.handlerPromise, this.promiseLabel('Start handler')).then(checkForAbort, null, this.promiseLabel('Check for abort')).then(beforeModel, null, this.promiseLabel('Before model')).then(checkForAbort, null, this.promiseLabel(\"Check if aborted during 'beforeModel' hook\")).then(model, null, this.promiseLabel('Model')).then(checkForAbort, null, this.promiseLabel(\"Check if aborted in 'model' hook\")).then(afterModel, null, this.promiseLabel('After model')).then(checkForAbort, null, this.promiseLabel(\"Check if aborted in 'afterModel' hook\")).then(becomeResolved, null, this.promiseLabel('Become resolved'));\n };\n\n HandlerInfo.prototype.runBeforeModelHook = function (payload) {\n if (payload.trigger) {\n payload.trigger(true, 'willResolveModel', payload, this.handler);\n }\n return this.runSharedModelHook(payload, 'beforeModel', []);\n };\n\n HandlerInfo.prototype.runAfterModelHook = function (payload, 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(payload, resolvedModel);\n\n return this.runSharedModelHook(payload, 'afterModel', [resolvedModel]).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 payload.resolvedModels[name];\n }, null, this.promiseLabel('Ignore fulfillment value and return model value'));\n };\n\n HandlerInfo.prototype.runSharedModelHook = function (payload, hookName, args) {\n this.log(payload, 'calling ' + hookName + ' hook');\n\n if (this.queryParams) {\n args.push(this.queryParams);\n }\n args.push(payload);\n\n var result = applyHook(this.handler, hookName, args);\n\n if (result && result.isTransition) {\n result = null;\n }\n\n return _rsvp.Promise.resolve(result, this.promiseLabel('Resolve value returned from one of the model hooks'));\n };\n\n HandlerInfo.prototype.getModel = function () {};\n\n HandlerInfo.prototype.checkForAbort = function (shouldContinue, promiseValue) {\n return _rsvp.Promise.resolve(shouldContinue(), this.promiseLabel('Check for abort')).then(function () {\n // We don't care about shouldContinue's resolve value;\n // pass along the original value passed to this fn.\n return promiseValue;\n }, null, this.promiseLabel('Ignore fulfillment value and continue'));\n };\n\n HandlerInfo.prototype.stashResolvedModel = function (payload, resolvedModel) {\n payload.resolvedModels = payload.resolvedModels || {};\n payload.resolvedModels[this.name] = resolvedModel;\n };\n\n HandlerInfo.prototype.becomeResolved = function (payload, resolvedContext) {\n var params = this.serialize(resolvedContext);\n\n if (payload) {\n this.stashResolvedModel(payload, resolvedContext);\n payload.params = payload.params || {};\n payload.params[this.name] = params;\n }\n\n var resolution = {\n name: this.name,\n handler: this.handler,\n params: params\n };\n\n // Don't set a context on the resolution unless we actually have one.\n var contextsMatch = resolvedContext === this.context;\n if ('context' in this || !contextsMatch) {\n resolution.context = resolvedContext;\n }\n\n return this.factory('resolved', resolution);\n };\n\n HandlerInfo.prototype.shouldSupercede = function (other) {\n // Prefer this newer handlerInfo over `other` if:\n // 1) The other one doesn't exist\n // 2) The names don't match\n // 3) This handler has a context that doesn't match\n // the other one (or the other one doesn't have one).\n // 4) This handler has parameters that don't match the other.\n if (!other) {\n return true;\n }\n\n var contextsMatch = other.context === this.context;\n return other.name !== this.name || 'context' in this && !contextsMatch || this.hasOwnProperty('params') && !paramsMatch(this.params, other.params);\n };\n\n (0, _emberBabel.createClass)(HandlerInfo, [{\n key: 'handler',\n get: function () {\n // _handler could be set to either a handler object or undefined, so we\n // compare against a default reference to know when it's been set\n if (this._handler !== DEFAULT_HANDLER) {\n return this._handler;\n }\n\n return this.fetchHandler();\n },\n set: function (handler) {\n return this._handler = handler;\n }\n }, {\n key: 'handlerPromise',\n get: function () {\n if (this._handlerPromise !== null) {\n return this._handlerPromise;\n }\n\n this.fetchHandler();\n\n return this._handlerPromise;\n },\n set: function (handlerPromise) {\n this._handlerPromise = handlerPromise;\n\n return handlerPromise;\n }\n }]);\n return HandlerInfo;\n }();\n\n function paramsMatch(a, b) {\n if (!a ^ !b) {\n // Only one is null.\n return false;\n }\n\n if (!a) {\n // Both must be null.\n return true;\n }\n\n // Note: this assumes that both params have the same\n // number of keys, but since we're comparing the\n // same handlers, they should.\n for (var k in a) {\n if (a.hasOwnProperty(k) && a[k] !== b[k]) {\n return false;\n }\n }\n return true;\n }\n\n var ResolvedHandlerInfo = function (_HandlerInfo) {\n (0, _emberBabel.inherits)(ResolvedHandlerInfo, _HandlerInfo);\n\n function ResolvedHandlerInfo(props) {\n\n var _this3 = (0, _emberBabel.possibleConstructorReturn)(this, _HandlerInfo.call(this, props));\n\n _this3.isResolved = true;\n return _this3;\n }\n\n ResolvedHandlerInfo.prototype.resolve = function (shouldContinue, payload) {\n // A ResolvedHandlerInfo just resolved with itself.\n if (payload && payload.resolvedModels) {\n payload.resolvedModels[this.name] = this.context;\n }\n return _rsvp.Promise.resolve(this, this.promiseLabel('Resolve'));\n };\n\n ResolvedHandlerInfo.prototype.getUnresolved = function () {\n return this.factory('param', {\n name: this.name,\n handler: this.handler,\n params: this.params\n });\n };\n\n return ResolvedHandlerInfo;\n }(HandlerInfo);\n\n var UnresolvedHandlerInfoByObject = function (_HandlerInfo2) {\n (0, _emberBabel.inherits)(UnresolvedHandlerInfoByObject, _HandlerInfo2);\n\n function UnresolvedHandlerInfoByObject(props) {\n\n var _this4 = (0, _emberBabel.possibleConstructorReturn)(this, _HandlerInfo2.call(this, props));\n\n _this4.names = _this4.names || [];\n return _this4;\n }\n\n UnresolvedHandlerInfoByObject.prototype.getModel = function (payload) {\n this.log(payload, this.name + ': resolving provided model');\n return _rsvp.Promise.resolve(this.context);\n };\n\n UnresolvedHandlerInfoByObject.prototype.serialize = function (_model) {\n var model = _model || this.context,\n names = this.names;\n\n var object = {};\n if (isParam(model)) {\n object[names[0]] = model;\n return object;\n }\n\n // Use custom serialize if it exists.\n if (this.serializer) {\n // invoke this.serializer unbound (getSerializer returns a stateless function)\n return this.serializer.call(null, model, names);\n } else if (this.handler && this.handler.serialize) {\n return this.handler.serialize(model, names);\n }\n\n if (names.length !== 1) {\n return;\n }\n\n var name = names[0];\n\n if (/_id$/.test(name)) {\n object[name] = model.id;\n } else {\n object[name] = model;\n }\n return object;\n };\n\n return UnresolvedHandlerInfoByObject;\n }(HandlerInfo);\n\n var UnresolvedHandlerInfoByParam = function (_HandlerInfo3) {\n (0, _emberBabel.inherits)(UnresolvedHandlerInfoByParam, _HandlerInfo3);\n\n function UnresolvedHandlerInfoByParam(props) {\n\n var _this5 = (0, _emberBabel.possibleConstructorReturn)(this, _HandlerInfo3.call(this, props));\n\n _this5.params = _this5.params || {};\n return _this5;\n }\n\n UnresolvedHandlerInfoByParam.prototype.getModel = function (payload) {\n var fullParams = this.params;\n if (payload && payload.queryParams) {\n fullParams = {};\n merge(fullParams, this.params);\n fullParams.queryParams = payload.queryParams;\n }\n\n var handler = this.handler;\n var hookName = resolveHook(handler, 'deserialize') || resolveHook(handler, 'model');\n\n return this.runSharedModelHook(payload, hookName, [fullParams]);\n };\n\n return UnresolvedHandlerInfoByParam;\n }(HandlerInfo);\n\n handlerInfoFactory.klasses = {\n resolved: ResolvedHandlerInfo,\n param: UnresolvedHandlerInfoByParam,\n object: UnresolvedHandlerInfoByObject\n };\n\n function handlerInfoFactory(name, props) {\n var klass = handlerInfoFactory.klasses[name];\n var handlerInfo = new klass(props || {});\n handlerInfo.factory = handlerInfoFactory;\n return handlerInfo;\n }\n\n var NamedTransitionIntent = function (_TransitionIntent) {\n (0, _emberBabel.inherits)(NamedTransitionIntent, _TransitionIntent);\n\n function NamedTransitionIntent(props) {\n\n var _this6 = (0, _emberBabel.possibleConstructorReturn)(this, _TransitionIntent.call(this, props));\n\n _this6.name = props.name;\n _this6.pivotHandler = props.pivotHandler;\n _this6.contexts = props.contexts || [];\n _this6.queryParams = props.queryParams;\n return _this6;\n }\n\n NamedTransitionIntent.prototype.applyToState = function (oldState, recognizer, getHandler, isIntermediate, getSerializer) {\n var partitionedArgs = extractQueryParams([this.name].concat(this.contexts)),\n pureArgs = partitionedArgs[0],\n handlers = recognizer.handlersFor(pureArgs[0]);\n\n var targetRouteName = handlers[handlers.length - 1].handler;\n\n return this.applyToHandlers(oldState, handlers, getHandler, targetRouteName, isIntermediate, null, getSerializer);\n };\n\n NamedTransitionIntent.prototype.applyToHandlers = function (oldState, handlers, getHandler, targetRouteName, isIntermediate, checkingIfActive, getSerializer) {\n var i, len, result, name, oldHandlerInfo, newHandlerInfo, serializer, oldContext, handlerToUse;\n var newState = new TransitionState();\n var objects = this.contexts.slice(0);\n\n var invalidateIndex = handlers.length;\n\n // Pivot handlers are provided for refresh transitions\n if (this.pivotHandler) {\n for (i = 0, len = handlers.length; i < len; ++i) {\n if (handlers[i].handler === this.pivotHandler._handlerName) {\n invalidateIndex = i;\n break;\n }\n }\n }\n\n for (i = handlers.length - 1; i >= 0; --i) {\n result = handlers[i];\n name = result.handler;\n oldHandlerInfo = oldState.handlerInfos[i];\n newHandlerInfo = null;\n\n\n if (result.names.length > 0) {\n if (i >= invalidateIndex) {\n newHandlerInfo = this.createParamHandlerInfo(name, getHandler, result.names, objects, oldHandlerInfo);\n } else {\n serializer = getSerializer(name);\n\n newHandlerInfo = this.getHandlerInfoForDynamicSegment(name, getHandler, result.names, objects, oldHandlerInfo, targetRouteName, i, serializer);\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, getHandler, 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 oldContext = oldHandlerInfo && oldHandlerInfo.context;\n\n if (result.names.length > 0 && 'context' in oldHandlerInfo && newHandlerInfo.context === oldContext) {\n // If contexts match in isActive test, assume params also match.\n // This allows for flexibility in not requiring that every last\n // handler provide a `serialize` method\n newHandlerInfo.params = oldHandlerInfo && oldHandlerInfo.params;\n }\n newHandlerInfo.context = oldContext;\n }\n\n 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.handlerInfos.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.handlerInfos, invalidateIndex);\n }\n\n merge(newState.queryParams, this.queryParams || {});\n\n return newState;\n };\n\n NamedTransitionIntent.prototype.invalidateChildren = function (handlerInfos, invalidateIndex) {\n var i, l, handlerInfo;\n\n for (i = invalidateIndex, l = handlerInfos.length; i < l; ++i) {\n handlerInfo = handlerInfos[i];\n\n handlerInfos[i] = handlerInfo.getUnresolved();\n }\n };\n\n NamedTransitionIntent.prototype.getHandlerInfoForDynamicSegment = function (name, getHandler, names, objects, oldHandlerInfo, targetRouteName, i, serializer) {\n var objectToUse, preTransitionHandlerInfo;\n if (objects.length > 0) {\n // Use the objects provided for this transition.\n objectToUse = objects[objects.length - 1];\n if (isParam(objectToUse)) {\n return this.createParamHandlerInfo(name, getHandler, 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 preTransitionHandlerInfo = this.preTransitionState.handlerInfos[i];\n\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 handlerInfoFactory('object', {\n name: name,\n getHandler: getHandler,\n serializer: serializer,\n context: objectToUse,\n names: names\n });\n };\n\n NamedTransitionIntent.prototype.createParamHandlerInfo = function (name, getHandler, names, objects, oldHandlerInfo) {\n var params = {},\n oldParams,\n peek,\n paramName;\n\n // Soak up all the provided string/numbers\n var numNames = names.length;\n while (numNames--) {\n // Only use old params if the names match with the new handler\n oldParams = oldHandlerInfo && name === oldHandlerInfo.name && oldHandlerInfo.params || {};\n peek = objects[objects.length - 1];\n 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 throw new Error(\"You didn't provide enough string/numeric parameters to satisfy all of the dynamic segments for route \" + name);\n }\n }\n }\n\n return handlerInfoFactory('param', {\n name: name,\n getHandler: getHandler,\n params: params\n });\n };\n\n return NamedTransitionIntent;\n }(TransitionIntent);\n\n function UnrecognizedURLError(message) {\n if (!(this instanceof UnrecognizedURLError)) {\n return new UnrecognizedURLError(message);\n }\n\n var error = Error.call(this, message);\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, UnrecognizedURLError);\n } else {\n this.stack = error.stack;\n }\n\n this.description = error.description;\n this.fileName = error.fileName;\n this.lineNumber = error.lineNumber;\n this.message = error.message || 'UnrecognizedURL';\n this.name = 'UnrecognizedURLError';\n this.number = error.number;\n this.code = error.code;\n }\n\n UnrecognizedURLError.prototype = Object.create(Error.prototype);\n\n var URLTransitionIntent = function (_TransitionIntent2) {\n (0, _emberBabel.inherits)(URLTransitionIntent, _TransitionIntent2);\n\n function URLTransitionIntent(props) {\n\n var _this7 = (0, _emberBabel.possibleConstructorReturn)(this, _TransitionIntent2.call(this, props));\n\n _this7.url = props.url;\n return _this7;\n }\n\n URLTransitionIntent.prototype.applyToState = function (oldState, recognizer, getHandler) {\n var newState = new TransitionState(),\n result,\n name,\n newHandlerInfo,\n handler,\n oldHandlerInfo;\n\n var results = 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;\n\n // Checks if a handler is accessible by URL. If it is not, an error is thrown.\n // For the case where the handler is loaded asynchronously, the error will be\n // thrown once it is loaded.\n function checkHandlerAccessibility(handler) {\n if (handler && handler.inaccessibleByURL) {\n throw new UnrecognizedURLError(url);\n }\n\n return handler;\n }\n\n for (i = 0, len = results.length; i < len; ++i) {\n result = results[i];\n name = result.handler;\n newHandlerInfo = handlerInfoFactory('param', {\n name: name,\n getHandler: getHandler,\n params: result.params\n });\n handler = newHandlerInfo.handler;\n\n\n if (handler) {\n checkHandlerAccessibility(handler);\n } else {\n // If the hanlder is being loaded asynchronously, check if we can\n // access it after it has resolved\n newHandlerInfo.handlerPromise = newHandlerInfo.handlerPromise.then(checkHandlerAccessibility);\n }\n\n oldHandlerInfo = oldState.handlerInfos[i];\n\n if (statesDiffer || newHandlerInfo.shouldSupercede(oldHandlerInfo)) {\n statesDiffer = true;\n newState.handlerInfos[i] = newHandlerInfo;\n } else {\n newState.handlerInfos[i] = oldHandlerInfo;\n }\n }\n\n merge(newState.queryParams, results.queryParams);\n\n return newState;\n };\n\n return URLTransitionIntent;\n }(TransitionIntent);\n\n var pop = Array.prototype.pop;\n\n var Router = function () {\n function Router() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n\n this.getHandler = options.getHandler || this.getHandler;\n this.getSerializer = options.getSerializer || this.getSerializer;\n this.updateURL = options.updateURL || this.updateURL;\n this.replaceURL = options.replaceURL || this.replaceURL;\n this.didTransition = options.didTransition || this.didTransition;\n this.willTransition = options.willTransition || this.willTransition;\n this.delegate = options.delegate || this.delegate;\n this.triggerEvent = options.triggerEvent || this.triggerEvent;\n this.log = options.log || this.log;\n this.dslCallBacks = []; // NOTE: set by Ember\n\n this.state = undefined;\n this.activeTransition = undefined;\n this._changedQueryParams = undefined;\n this.oldState = undefined;\n this.currentHandlerInfos = undefined;\n this.currentSequence = 0;\n\n this.recognizer = new _routeRecognizer.default();\n this.reset();\n }\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 Router.prototype.map = function (callback) {\n this.recognizer.delegate = this.delegate;\n\n this.recognizer.map(callback, function (recognizer, routes) {\n var i, proceed, route;\n\n for (i = routes.length - 1, proceed = true; i >= 0 && proceed; --i) {\n route = routes[i];\n\n recognizer.add(routes, { as: route.handler });\n proceed = route.path === '/' || route.path === '' || route.handler.slice(-6) === '.index';\n }\n });\n };\n\n Router.prototype.hasRoute = function (route) {\n return this.recognizer.hasRoute(route);\n };\n\n Router.prototype.getHandler = function () {};\n\n Router.prototype.getSerializer = function () {};\n\n Router.prototype.queryParamsTransition = function (changelist, wasTransitioning, oldState, newState) {\n var router = this,\n newTransition;\n\n fireQueryParamDidChange(this, newState, changelist);\n\n if (!wasTransitioning && this.activeTransition) {\n // One of the handlers 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\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 newTransition = new Transition(this);\n\n newTransition.queryParamsOnly = true;\n\n oldState.queryParams = finalizeQueryParamChange(this, newState.handlerInfos, newState.queryParams, newTransition);\n\n newTransition.promise = newTransition.promise.then(function (result) {\n updateURL(newTransition, oldState, true);\n if (router.didTransition) {\n router.didTransition(router.currentHandlerInfos);\n }\n return result;\n }, null, _promiseLabel('Transition complete'));\n return newTransition;\n }\n };\n\n Router.prototype.transitionByIntent = function (intent /*, isIntermediate*/) {\n try {\n return getTransitionByIntent.apply(this, arguments);\n } catch (e) {\n return new Transition(this, intent, null, e);\n }\n };\n\n Router.prototype.reset = function () {\n if (this.state) {\n forEach(this.state.handlerInfos.slice().reverse(), function (handlerInfo) {\n var handler = handlerInfo.handler;\n callHook(handler, 'exit');\n });\n }\n\n this.oldState = undefined;\n this.state = new TransitionState();\n this.currentHandlerInfos = null;\n };\n\n Router.prototype.handleURL = function () {\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n // Perform a URL-based transition, but don't change\n // the URL afterward, since it already happened.\n var url = args[0],\n _len,\n args,\n _key;\n if (url.charAt(0) !== '/') {\n args[0] = '/' + url;\n }\n\n return doTransition(this, args).method(null);\n };\n\n Router.prototype.updateURL = function () {\n throw new Error('updateURL is not implemented');\n };\n\n Router.prototype.replaceURL = function (url) {\n this.updateURL(url);\n };\n\n Router.prototype.transitionTo = function () /*name*/{\n return doTransition(this, arguments);\n };\n\n Router.prototype.intermediateTransitionTo = function () /*name*/{\n return doTransition(this, arguments, true);\n };\n\n Router.prototype.refresh = function (pivotHandler) {\n var previousTransition = this.activeTransition;\n var state = previousTransition ? previousTransition.state : this.state;\n var handlerInfos = state.handlerInfos;\n\n _log(this, 'Starting a refresh transition');\n var intent = new NamedTransitionIntent({\n name: handlerInfos[handlerInfos.length - 1].name,\n pivotHandler: pivotHandler || handlerInfos[0].handler,\n contexts: [], // TODO collect contexts...?\n queryParams: this._changedQueryParams || state.queryParams || {}\n });\n\n var newTransition = this.transitionByIntent(intent, false);\n\n // if the previous transition is a replace transition, that needs to be preserved\n if (previousTransition && previousTransition.urlMethod === 'replace') {\n newTransition.method(previousTransition.urlMethod);\n }\n\n return newTransition;\n };\n\n Router.prototype.replaceWith = function () /*name*/{\n return doTransition(this, arguments).method('replace');\n };\n\n Router.prototype.generate = function (handlerName) {\n var partitionedArgs = extractQueryParams(slice.call(arguments, 1)),\n suppliedParams = partitionedArgs[0],\n queryParams = partitionedArgs[1],\n i,\n len,\n handlerInfo,\n handlerParams;\n\n // Construct a TransitionIntent with the provided params\n // and apply it to the present state of the router.\n var intent = new NamedTransitionIntent({\n name: handlerName,\n contexts: suppliedParams\n });\n var state = intent.applyToState(this.state, this.recognizer, this.getHandler, null, this.getSerializer);\n\n var params = {};\n for (i = 0, len = state.handlerInfos.length; i < len; ++i) {\n handlerInfo = state.handlerInfos[i];\n handlerParams = handlerInfo.serialize();\n\n merge(params, handlerParams);\n }\n params.queryParams = queryParams;\n\n return this.recognizer.generate(handlerName, params);\n };\n\n Router.prototype.applyIntent = function (handlerName, contexts) {\n var intent = new NamedTransitionIntent({\n name: handlerName,\n contexts: contexts\n });\n\n var state = this.activeTransition && this.activeTransition.state || this.state;\n\n return intent.applyToState(state, this.recognizer, this.getHandler, null, this.getSerializer);\n };\n\n Router.prototype.isActiveIntent = function (handlerName, contexts, queryParams, _state) {\n var state = _state || this.state,\n targetHandlerInfos = state.handlerInfos,\n handlerInfo = void 0,\n len = void 0;\n\n if (!targetHandlerInfos.length) {\n return false;\n }\n\n var targetHandler = targetHandlerInfos[targetHandlerInfos.length - 1].name;\n var recogHandlers = this.recognizer.handlersFor(targetHandler);\n\n var index = 0;\n for (len = recogHandlers.length; index < len; ++index) {\n handlerInfo = targetHandlerInfos[index];\n if (handlerInfo.name === handlerName) {\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.handlerInfos = targetHandlerInfos.slice(0, index + 1);\n recogHandlers = recogHandlers.slice(0, index + 1);\n\n var intent = new NamedTransitionIntent({\n name: targetHandler,\n contexts: contexts\n });\n\n var newState = intent.applyToHandlers(testState, recogHandlers, this.getHandler, targetHandler, true, true, this.getSerializer);\n\n var handlersEqual = handlerInfosEqual(newState.handlerInfos, testState.handlerInfos);\n if (!queryParams || !handlersEqual) {\n return handlersEqual;\n }\n\n // Get a hash of QPs that will still be active on new route\n var activeQPsOnNewHandler = {};\n merge(activeQPsOnNewHandler, queryParams);\n\n var activeQueryParams = state.queryParams;\n for (var key in activeQueryParams) {\n if (activeQueryParams.hasOwnProperty(key) && activeQPsOnNewHandler.hasOwnProperty(key)) {\n activeQPsOnNewHandler[key] = activeQueryParams[key];\n }\n }\n\n return handlersEqual && !getChangelist(activeQPsOnNewHandler, queryParams);\n };\n\n Router.prototype.isActive = function (handlerName) {\n for (_len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n var partitionedArgs = extractQueryParams(args),\n _len2,\n args,\n _key2;\n return this.isActiveIntent(handlerName, partitionedArgs[0], partitionedArgs[1]);\n };\n\n Router.prototype.trigger = function () {\n var _len3, args, _key3;\n\n for (_len3 = arguments.length, args = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n _trigger(this, this.currentHandlerInfos, false, args);\n };\n\n return Router;\n }();\n\n function getTransitionByIntent(intent, isIntermediate) {\n var wasTransitioning = !!this.activeTransition;\n var oldState = wasTransitioning ? this.activeTransition.state : this.state;\n var newTransition;\n\n var newState = intent.applyToState(oldState, this.recognizer, this.getHandler, isIntermediate, this.getSerializer);\n var queryParamChangelist = getChangelist(oldState.queryParams, newState.queryParams);\n\n if (handlerInfosEqual(newState.handlerInfos, oldState.handlerInfos)) {\n // This is a no-op transition. See if query params changed.\n if (queryParamChangelist) {\n newTransition = this.queryParamsTransition(queryParamChangelist, wasTransitioning, oldState, newState);\n if (newTransition) {\n newTransition.queryParamsOnly = true;\n return newTransition;\n }\n }\n\n // No-op. No need to create a new transition.\n return this.activeTransition || new Transition(this);\n }\n\n if (isIntermediate) {\n setupContexts(this, newState);\n return;\n }\n\n // Create a new transition to the destination route.\n newTransition = new Transition(this, intent, newState, undefined, this.activeTransition);\n\n // transition is to same route with same params, only query params differ.\n // not caught above probably because refresh() has been used\n if (handlerInfosSameExceptQueryParams(newState.handlerInfos, oldState.handlerInfos)) {\n newTransition.queryParamsOnly = true;\n }\n\n // Abort and usurp any previously active transition.\n if (this.activeTransition) {\n this.activeTransition.abort();\n }\n this.activeTransition = newTransition;\n\n // Transition promises by default resolve with resolved state.\n // For our purposes, swap out the promise to resolve\n // after the transition has been finalized.\n newTransition.promise = newTransition.promise.then(function (result) {\n return finalizeTransition(newTransition, result.state);\n }, null, _promiseLabel('Settle transition promise when transition is finalized'));\n\n if (!wasTransitioning) {\n notifyExistingHandlers(this, newState, newTransition);\n }\n\n fireQueryParamDidChange(this, newState, queryParamChangelist);\n\n return newTransition;\n }\n\n /**\n @private\n \n Fires queryParamsDidChange event\n */\n function fireQueryParamDidChange(router, 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 router._changedQueryParams = queryParamChangelist.all;\n _trigger(router, newState.handlerInfos, true, ['queryParamsDidChange', queryParamChangelist.changed, queryParamChangelist.all, queryParamChangelist.removed]);\n router._changedQueryParams = null;\n }\n }\n\n /**\n @private\n \n Takes an Array of `HandlerInfo`s, figures out which ones are\n exiting, entering, or changing contexts, and calls the\n proper handler hooks.\n \n For example, consider the following tree of handlers. Each handler is\n followed by the URL segment it handles.\n \n ```\n |~index (\"/\")\n | |~posts (\"/posts\")\n | | |-showPost (\"/:id\")\n | | |-newPost (\"/new\")\n | | |-editPost (\"/edit\")\n | |~about (\"/about/:id\")\n ```\n \n Consider the following transitions:\n \n 1. A URL transition to `/posts/1`.\n 1. Triggers the `*model` callbacks on the\n `index`, `posts`, and `showPost` handlers\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 \n @param {Router} transition\n @param {TransitionState} newState\n */\n function setupContexts(router, newState, transition) {\n var partition = partitionHandlers(router.state, newState);\n var i, l, handler;\n\n for (i = 0, l = partition.exited.length; i < l; i++) {\n handler = partition.exited[i].handler;\n delete handler.context;\n\n callHook(handler, 'reset', true, transition);\n callHook(handler, 'exit', transition);\n }\n\n var oldState = router.oldState = router.state;\n router.state = newState;\n var currentHandlerInfos = router.currentHandlerInfos = partition.unchanged.slice();\n\n try {\n for (i = 0, l = partition.reset.length; i < l; i++) {\n handler = partition.reset[i].handler;\n callHook(handler, 'reset', false, transition);\n }\n\n for (i = 0, l = partition.updatedContext.length; i < l; i++) {\n handlerEnteredOrUpdated(currentHandlerInfos, partition.updatedContext[i], false, transition);\n }\n\n for (i = 0, l = partition.entered.length; i < l; i++) {\n handlerEnteredOrUpdated(currentHandlerInfos, partition.entered[i], true, transition);\n }\n } catch (e) {\n router.state = oldState;\n router.currentHandlerInfos = oldState.handlerInfos;\n throw e;\n }\n\n router.state.queryParams = finalizeQueryParamChange(router, currentHandlerInfos, newState.queryParams, transition);\n }\n\n /**\n @private\n \n Helper method used by setupContexts. Handles errors or redirects\n that may happen in enter/setup.\n */\n function handlerEnteredOrUpdated(currentHandlerInfos, handlerInfo, enter, transition) {\n var handler = handlerInfo.handler,\n context = handlerInfo.context;\n\n function _handlerEnteredOrUpdated(handler) {\n if (enter) {\n callHook(handler, 'enter', transition);\n }\n\n if (transition && transition.isAborted) {\n throw new TransitionAbortedError();\n }\n\n handler.context = context;\n callHook(handler, 'contextDidChange');\n\n callHook(handler, 'setup', context, transition);\n if (transition && transition.isAborted) {\n throw new TransitionAbortedError();\n }\n\n currentHandlerInfos.push(handlerInfo);\n }\n\n // If the handler doesn't exist, it means we haven't resolved the handler promise yet\n if (!handler) {\n handlerInfo.handlerPromise = handlerInfo.handlerPromise.then(_handlerEnteredOrUpdated);\n } else {\n _handlerEnteredOrUpdated(handler);\n }\n\n return true;\n }\n\n /**\n @private\n \n This function is called when transitioning from one URL to\n another to determine which handlers are no longer active,\n which handlers are newly active, and which handlers remain\n active but have their context changed.\n \n Take a list of old handlers and new handlers and partition\n them into four buckets:\n \n * unchanged: the handler was active in both the old and\n new URL, and its context remains the same\n * updated context: the handler was active in both the\n old and new URL, but its context changed. The handler's\n `setup` method, if any, will be called with the new\n context.\n * exited: the handler was active in the old URL, but is\n no longer active.\n * entered: the handler was not active in the old URL, but\n is now active.\n \n The PartitionedHandlers structure has four fields:\n \n * `updatedContext`: a list of `HandlerInfo` objects that\n represent handlers that remain active but have a changed\n context\n * `entered`: a list of `HandlerInfo` objects that represent\n handlers that are newly active\n * `exited`: a list of `HandlerInfo` objects that are no\n longer active.\n * `unchanged`: a list of `HanderInfo` objects that remain active.\n \n @param {Array[HandlerInfo]} oldHandlers a list of the handler\n information for the previous URL (or `[]` if this is the\n first handled transition)\n @param {Array[HandlerInfo]} newHandlers a list of the handler\n information for the new URL\n \n @return {Partition}\n */\n function partitionHandlers(oldState, newState) {\n var oldHandlers = oldState.handlerInfos,\n oldHandler,\n newHandler;\n var newHandlers = newState.handlerInfos;\n\n var handlers = {\n updatedContext: [],\n exited: [],\n entered: [],\n unchanged: [],\n reset: undefined\n };\n\n var handlerChanged,\n contextChanged = false,\n i,\n l;\n\n for (i = 0, l = newHandlers.length; i < l; i++) {\n oldHandler = oldHandlers[i], newHandler = newHandlers[i];\n\n\n if (!oldHandler || oldHandler.handler !== newHandler.handler) {\n handlerChanged = true;\n }\n\n if (handlerChanged) {\n handlers.entered.push(newHandler);\n if (oldHandler) {\n handlers.exited.unshift(oldHandler);\n }\n } else if (contextChanged || oldHandler.context !== newHandler.context) {\n contextChanged = true;\n handlers.updatedContext.push(newHandler);\n } else {\n handlers.unchanged.push(oldHandler);\n }\n }\n\n for (i = newHandlers.length, l = oldHandlers.length; i < l; i++) {\n handlers.exited.unshift(oldHandlers[i]);\n }\n\n handlers.reset = handlers.updatedContext.slice();\n handlers.reset.reverse();\n\n return handlers;\n }\n\n function updateURL(transition, state /*, inputUrl*/) {\n var urlMethod = transition.urlMethod,\n i,\n handlerInfo,\n url,\n initial,\n replaceAndNotAborting,\n isQueryParamsRefreshTransition,\n replacingReplace;\n\n if (!urlMethod) {\n return;\n }\n\n var router = transition.router,\n handlerInfos = state.handlerInfos,\n handlerName = handlerInfos[handlerInfos.length - 1].name,\n params = {};\n\n for (i = handlerInfos.length - 1; i >= 0; --i) {\n handlerInfo = handlerInfos[i];\n\n merge(params, handlerInfo.params);\n if (handlerInfo.handler.inaccessibleByURL) {\n urlMethod = null;\n }\n }\n\n if (urlMethod) {\n params.queryParams = transition._visibleQueryParams || state.queryParams;\n url = router.recognizer.generate(handlerName, params);\n\n // transitions during the initial transition must always use replaceURL.\n // When the app boots, you are at a url, e.g. /foo. If some handler\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 initial = transition.isCausedByInitialTransition;\n\n // say you are at / and you click a link to route /foo. In /foo's\n // handler, 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 replaceAndNotAborting = urlMethod === 'replace' && !transition.isCausedByAbortingTransition;\n\n // because calling refresh causes an aborted transition, this needs to be\n // special cased - if the initial transition is a replace transition, the\n // urlMethod should be honored here.\n\n isQueryParamsRefreshTransition = transition.queryParamsOnly && urlMethod === 'replace';\n\n // say you are at / and you a `replaceWith(/foo)` is called. Then, that\n // transition is aborted with `replaceWith(/bar)`. At the end, we should\n // end up with /bar replacing /. We are replacing the replace. We only\n // will replace the initial route if all subsequent aborts are also\n // replaces. However, there is some ambiguity around the correct behavior\n // here.\n\n replacingReplace = urlMethod === 'replace' && transition.isCausedByAbortingReplaceTransition;\n\n\n if (initial || replaceAndNotAborting || isQueryParamsRefreshTransition || replacingReplace) {\n router.replaceURL(url);\n } else {\n router.updateURL(url);\n }\n }\n }\n\n /**\n @private\n \n Updates the URL (if necessary) and calls `setupContexts`\n to update the router's array of `currentHandlerInfos`.\n */\n function finalizeTransition(transition, newState) {\n var router, handlerInfos, infos;\n\n try {\n _log(transition.router, transition.sequence, 'Resolved all models on destination route; finalizing transition.');\n\n router = transition.router, handlerInfos = newState.handlerInfos;\n\n // Run all the necessary enter/setup/exit hooks\n\n setupContexts(router, newState, transition);\n\n // Check if a redirect occurred in enter/setup\n if (transition.isAborted) {\n // TODO: cleaner way? distinguish b/w targetHandlerInfos?\n router.state.handlerInfos = router.currentHandlerInfos;\n return _rsvp.Promise.reject(logAbort(transition));\n }\n\n updateURL(transition, newState, transition.intent.url);\n\n transition.isActive = false;\n router.activeTransition = null;\n\n _trigger(router, router.currentHandlerInfos, true, ['didTransition']);\n\n if (router.didTransition) {\n router.didTransition(router.currentHandlerInfos);\n }\n\n _log(router, transition.sequence, 'TRANSITION COMPLETE.');\n\n // Resolve with the final handler.\n return handlerInfos[handlerInfos.length - 1].handler;\n } catch (e) {\n if (!(e instanceof TransitionAbortedError)) {\n //var erroneousHandler = handlerInfos.pop();\n infos = transition.state.handlerInfos;\n\n transition.trigger(true, 'error', e, transition, infos[infos.length - 1].handler);\n transition.abort();\n }\n\n throw e;\n }\n }\n\n /**\n @private\n \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 \n @param {Router} router\n @param {Array[Object]} args arguments passed to transitionTo,\n replaceWith, or handleURL\n */\n function doTransition(router, args, isIntermediate) {\n // Normalize blank transitions to root URL transitions.\n var name = args[0] || '/',\n handlerInfos;\n\n var lastArg = args[args.length - 1];\n var queryParams = {};\n if (lastArg && lastArg.hasOwnProperty('queryParams')) {\n queryParams = pop.call(args).queryParams;\n }\n\n var intent;\n if (args.length === 0) {\n _log(router, 'Updating query params');\n\n // A query param update is really just a transition\n // into the route you're already on.\n handlerInfos = router.state.handlerInfos;\n\n intent = new NamedTransitionIntent({\n name: handlerInfos[handlerInfos.length - 1].name,\n contexts: [],\n queryParams: queryParams\n });\n } else if (name.charAt(0) === '/') {\n _log(router, 'Attempting URL transition to ' + name);\n intent = new URLTransitionIntent({ url: name });\n } else {\n _log(router, 'Attempting transition to ' + name);\n intent = new NamedTransitionIntent({\n name: args[0],\n contexts: slice.call(args, 1),\n queryParams: queryParams\n });\n }\n\n return router.transitionByIntent(intent, isIntermediate);\n }\n\n function handlerInfosEqual(handlerInfos, otherHandlerInfos) {\n var i, len;\n\n if (handlerInfos.length !== otherHandlerInfos.length) {\n return false;\n }\n\n for (i = 0, len = handlerInfos.length; i < len; ++i) {\n if (handlerInfos[i] !== otherHandlerInfos[i]) {\n return false;\n }\n }\n return true;\n }\n\n function handlerInfosSameExceptQueryParams(handlerInfos, otherHandlerInfos) {\n var i, len;\n\n if (handlerInfos.length !== otherHandlerInfos.length) {\n return false;\n }\n\n for (i = 0, len = handlerInfos.length; i < len; ++i) {\n if (handlerInfos[i].name !== otherHandlerInfos[i].name) {\n return false;\n }\n\n if (!paramsEqual(handlerInfos[i].params, otherHandlerInfos[i].params)) {\n return false;\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 var keys = Object.keys(params),\n i,\n len,\n key;\n var otherKeys = Object.keys(otherParams);\n\n if (keys.length !== otherKeys.length) {\n return false;\n }\n\n for (i = 0, len = keys.length; i < len; ++i) {\n key = keys[i];\n\n\n if (params[key] !== otherParams[key]) {\n return false;\n }\n }\n\n return true;\n }\n\n function finalizeQueryParamChange(router, 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\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 i,\n len,\n qp;\n _trigger(router, resolvedHandlers, true, ['finalizeQueryParamChange', newQueryParams, finalQueryParamsArray, transition]);\n\n if (transition) {\n transition._visibleQueryParams = {};\n }\n\n var finalQueryParams = {};\n for (i = 0, len = finalQueryParamsArray.length; i < len; ++i) {\n qp = finalQueryParamsArray[i];\n\n finalQueryParams[qp.key] = qp.value;\n if (transition && qp.visible !== false) {\n transition._visibleQueryParams[qp.key] = qp.value;\n }\n }\n return finalQueryParams;\n }\n\n function notifyExistingHandlers(router, newState, newTransition) {\n var oldHandlers = router.state.handlerInfos,\n i,\n oldHandlerLen,\n oldHandler,\n newHandler;\n\n oldHandlerLen = oldHandlers.length;\n for (i = 0; i < oldHandlerLen; i++) {\n oldHandler = oldHandlers[i];\n newHandler = newState.handlerInfos[i];\n\n if (!newHandler || oldHandler.name !== newHandler.name) {\n break;\n }\n\n if (!newHandler.isResolved) {}\n }\n\n _trigger(router, oldHandlers, true, ['willTransition', newTransition]);\n\n if (router.willTransition) {\n router.willTransition(oldHandlers, newState.handlerInfos, newTransition);\n }\n }\n\n exports.default = Router;\n exports.Transition = Transition;\n});","enifed('rsvp', ['exports', 'ember-babel', 'node-module'], function (exports, _emberBabel, _nodeModule) {\n 'use strict';\n\n exports.filter = exports.async = exports.map = exports.reject = exports.resolve = exports.off = exports.on = exports.configure = exports.denodeify = exports.defer = exports.rethrow = exports.hashSettled = exports.hash = exports.race = exports.allSettled = exports.all = exports.EventTarget = exports.Promise = exports.cast = exports.asap = undefined;\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 /**\n @class RSVP.EventTarget\n */\n var EventTarget = {\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 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 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 trigger: function (eventName, options, label) {\n var allCallbacks = callbacksFor(this),\n callback,\n i;\n\n var callbacks = allCallbacks[eventName];\n if (callbacks) {\n // Don't cache the callbacks.length since it may grow\n callback = void 0;\n\n for (i = 0; i < callbacks.length; i++) {\n callback = callbacks[i];\n callback(options, label);\n }\n }\n }\n },\n callbacks;\n\n var config = {\n instrument: false\n };\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 var i, entry, payload;\n\n for (i = 0; i < queue.length; i++) {\n entry = queue[i];\n payload = entry.payload;\n\n\n payload.guid = payload.key + payload.id;\n payload.childGuid = payload.key + payload.childId;\n if (payload.error) {\n payload.stack = payload.error.stack;\n }\n\n config['trigger'](entry.name, entry.payload);\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 scheduleFlush();\n }\n }\n\n /**\n `RSVP.Promise.resolve` returns a promise that will become resolved with the\n passed `value`. It is shorthand for the following:\n \n ```javascript\n let promise = new RSVP.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 let promise = RSVP.Promise.resolve(1);\n \n promise.then(function(value){\n // value === 1\n });\n ```\n \n @method resolve\n @static\n @param {*} object value that the returned promise will be resolved with\n @param {String} label optional string for identifying the returned promise.\n Useful for tooling.\n @return {Promise} a promise that will become fulfilled with the given\n `value`\n */\n function resolve$$1(object, label) {\n /*jshint validthis:true */\n var Constructor = this;\n\n if (object && typeof object === 'object' && object.constructor === Constructor) {\n return object;\n }\n\n var promise = new Constructor(noop, label);\n resolve$1(promise, object);\n return promise;\n }\n\n function withOwnPromise() {\n return new TypeError('A promises callback cannot return that same promise.');\n }\n\n function objectOrFunction(x) {\n var type = typeof x;\n return x !== null && (type === 'object' || type === 'function');\n }\n\n function noop() {}\n\n var PENDING = void 0;\n var FULFILLED = 1;\n var REJECTED = 2;\n\n var TRY_CATCH_ERROR = { error: null };\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 = void 0;\n function tryCatcher() {\n var target;\n\n try {\n target = tryCatchCallback;\n\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 error;\n var result = tryCatch(then$$1).call(thenable, function (value) {\n if (sealed) {\n return;\n }\n sealed = true;\n if (thenable === value) {\n fulfill(promise, value);\n } else {\n resolve$1(promise, value);\n }\n }, function (reason) {\n if (sealed) {\n return;\n }\n sealed = true;\n\n reject(promise, reason);\n }, 'Settle: ' + (promise._label || ' unknown promise'));\n\n if (!sealed && result === TRY_CATCH_ERROR) {\n sealed = true;\n error = TRY_CATCH_ERROR.error;\n\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 error;\n\n if (isOwnThenable) {\n handleOwnThenable(promise, maybeThenable);\n } else if (then$$1 === TRY_CATCH_ERROR) {\n error = TRY_CATCH_ERROR.error;\n\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 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\n parent._onError = null;\n\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 i;\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 = void 0,\n callback = void 0,\n result = promise._result;\n\n for (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 error;\n var value = void 0;\n\n if (hasCallback) {\n value = tryCatch(callback)(result);\n } else {\n value = result;\n }\n\n if (promise._state !== PENDING) {\n // noop\n } else if (value === promise) {\n reject(promise, withOwnPromise());\n } else if (value === TRY_CATCH_ERROR) {\n error = TRY_CATCH_ERROR.error;\n\n TRY_CATCH_ERROR.error = null; // release\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 try {\n resolver(function (value) {\n if (resolved) {\n return;\n }\n resolved = true;\n resolve$1(promise, value);\n }, function (reason) {\n if (resolved) {\n return;\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 callback;\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\n var child = new parent.constructor(noop, label);\n var result = parent._result;\n\n config.instrument && instrument('chained', parent, child);\n\n if (state === PENDING) {\n subscribe(parent, child, onFulfillment, onRejection);\n } else {\n callback = state === FULFILLED ? onFulfillment : onRejection;\n\n config.async(function () {\n return invokeCallback(state, child, callback, result);\n });\n }\n\n return child;\n }\n\n var Enumerator = function () {\n function Enumerator(Constructor, input, abortOnReject, label) {\n\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 Enumerator.prototype._init = function (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 Enumerator.prototype._enumerate = function (input) {\n var length = this.length,\n i;\n var promise = this.promise;\n\n for (i = 0; promise._state === PENDING && i < length; i++) {\n this._eachEntry(input[i], i, true);\n }\n this._checkFullfillment();\n };\n\n Enumerator.prototype._checkFullfillment = function () {\n var result;\n\n if (this._remaining === 0) {\n result = this._result;\n\n fulfill(this.promise, result);\n this._result = null;\n }\n };\n\n Enumerator.prototype._settleMaybeThenable = function (entry, i, firstPass) {\n var c = this._instanceConstructor,\n then$$1,\n promise;\n\n if (this._isUsingOwnResolve) {\n then$$1 = getThen(entry);\n\n\n if (then$$1 === then && entry._state !== PENDING) {\n entry._onError = null;\n this._settledAt(entry._state, i, entry._result, firstPass);\n } else if (typeof then$$1 !== 'function') {\n this._settledAt(FULFILLED, i, entry, firstPass);\n } else if (this._isUsingOwnPromise) {\n promise = new c(noop);\n\n handleMaybeThenable(promise, entry, then$$1);\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 Enumerator.prototype._eachEntry = function (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 Enumerator.prototype._settledAt = function (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 this._checkFullfillment();\n }\n }\n };\n\n Enumerator.prototype._setResultAt = function (state, i, value) {\n this._remaining--;\n this._result[i] = value;\n };\n\n Enumerator.prototype._willSettleAt = function (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 if (state === FULFILLED) {\n this._result[i] = {\n state: 'fulfilled',\n value: value\n };\n } else {\n this._result[i] = {\n state: 'rejected',\n reason: value\n };\n }\n }\n\n /**\n `RSVP.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 let promise1 = RSVP.resolve(1);\n let promise2 = RSVP.resolve(2);\n let promise3 = RSVP.resolve(3);\n let promises = [ promise1, promise2, promise3 ];\n \n RSVP.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 let promise1 = RSVP.resolve(1);\n let promise2 = RSVP.reject(new Error(\"2\"));\n let promise3 = RSVP.reject(new Error(\"3\"));\n let promises = [ promise1, promise2, promise3 ];\n \n RSVP.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 @static\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 /**\n `RSVP.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 let promise1 = new RSVP.Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 1');\n }, 200);\n });\n \n let promise2 = new RSVP.Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 2');\n }, 100);\n });\n \n RSVP.Promise.race([promise1, promise2]).then(function(result){\n // result === 'promise 2' because it was resolved before promise1\n // was resolved.\n });\n ```\n \n `RSVP.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 let promise1 = new RSVP.Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 1');\n }, 200);\n });\n \n let promise2 = new RSVP.Promise(function(resolve, reject){\n setTimeout(function(){\n reject(new Error('promise 2'));\n }, 100);\n });\n \n RSVP.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 RSVP.Promise.race([ajax('foo.json'), timeout(5000)])\n ```\n \n @method race\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 /**\n `RSVP.Promise.reject` returns a promise rejected with the passed `reason`.\n It is shorthand for the following:\n \n ```javascript\n let promise = new RSVP.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 let promise = RSVP.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 @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 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 /**\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 RSVP.Promise\n @param {function} resolver\n @param {String} label optional string for labeling the promise.\n Useful for tooling.\n @constructor\n */\n\n var Promise = function () {\n function Promise(resolver, label) {\n\n this._id = counter++;\n this._label = label;\n this._state = undefined;\n this._result = undefined;\n this._subscribers = [];\n\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 Promise.prototype._onError = function (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 Promise.prototype.catch = function (onRejection, label) {\n return this.then(undefined, onRejection, label);\n };\n\n Promise.prototype.finally = function (callback, label) {\n var promise = this;\n var constructor = promise.constructor;\n\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 }, label);\n };\n\n return Promise;\n }();\n\n Promise.cast = resolve$$1; // deprecated\n Promise.all = function (entries, label) {\n if (!Array.isArray(entries)) {\n return this.reject(new TypeError(\"Promise.all must be called with an array\"), label);\n }\n return new Enumerator(this, entries, true /* abort on reject */, label).promise;\n };\n Promise.race = function (entries, label) {\n /*jshint validthis:true */\n var Constructor = this,\n i;\n\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 (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 Promise.resolve = resolve$$1;\n Promise.reject = function (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 Promise.prototype._guidKey = guidKey;\n\n /**\n The primary way of interacting with a promise is through its `then` method,\n which registers callbacks to receive either a promise's eventual value or the\n reason why the promise cannot be fulfilled.\n \n ```js\n findUser().then(function(user){\n // user is available\n }, function(reason){\n // user is unavailable, and you are given the reason why\n });\n ```\n \n Chaining\n --------\n \n The return value of `then` is itself a promise. This second, 'downstream'\n promise is resolved with the return value of the first promise's fulfillment\n or rejection handler, or rejected if the handler throws an exception.\n \n ```js\n findUser().then(function (user) {\n return user.name;\n }, function (reason) {\n return 'default name';\n }).then(function (userName) {\n // If `findUser` fulfilled, `userName` will be the user's name, otherwise it\n // will be `'default name'`\n });\n \n findUser().then(function (user) {\n throw new Error('Found user, but still unhappy');\n }, function (reason) {\n throw new Error('`findUser` rejected and we\\'re unhappy');\n }).then(function (value) {\n // never reached\n }, function (reason) {\n // if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'.\n // If `findUser` rejected, `reason` will be '`findUser` rejected and we\\'re unhappy'.\n });\n ```\n If the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream.\n \n ```js\n findUser().then(function (user) {\n throw new PedagogicalException('Upstream error');\n }).then(function (value) {\n // never reached\n }).then(function (value) {\n // never reached\n }, function (reason) {\n // The `PedgagocialException` is propagated all the way down to here\n });\n ```\n \n Assimilation\n ------------\n \n Sometimes the value you want to propagate to a downstream promise can only be\n retrieved asynchronously. This can be achieved by returning a promise in the\n fulfillment or rejection handler. The downstream promise will then be pending\n until the returned promise is settled. This is called *assimilation*.\n \n ```js\n findUser().then(function (user) {\n return findCommentsByAuthor(user);\n }).then(function (comments) {\n // The user's comments are now available\n });\n ```\n \n If the assimliated promise rejects, then the downstream promise will also reject.\n \n ```js\n findUser().then(function (user) {\n return findCommentsByAuthor(user);\n }).then(function (comments) {\n // If `findCommentsByAuthor` fulfills, we'll have the value here\n }, function (reason) {\n // If `findCommentsByAuthor` rejects, we'll have the reason here\n });\n ```\n \n Simple Example\n --------------\n \n Synchronous Example\n \n ```javascript\n let result;\n \n try {\n result = findResult();\n // success\n } catch(reason) {\n // failure\n }\n ```\n \n Errback Example\n \n ```js\n findResult(function(result, err){\n if (err) {\n // failure\n } else {\n // success\n }\n });\n ```\n \n Promise Example;\n \n ```javascript\n findResult().then(function(result){\n // success\n }, function(reason){\n // failure\n });\n ```\n \n Advanced Example\n --------------\n \n Synchronous Example\n \n ```javascript\n let author, books;\n \n try {\n author = findAuthor();\n books = findBooksByAuthor(author);\n // success\n } catch(reason) {\n // failure\n }\n ```\n \n Errback Example\n \n ```js\n \n function foundBooks(books) {\n \n }\n \n function failure(reason) {\n \n }\n \n findAuthor(function(author, err){\n if (err) {\n failure(err);\n // failure\n } else {\n try {\n findBoooksByAuthor(author, function(books, err) {\n if (err) {\n failure(err);\n } else {\n try {\n foundBooks(books);\n } catch(reason) {\n failure(reason);\n }\n }\n });\n } catch(error) {\n failure(err);\n }\n // success\n }\n });\n ```\n \n Promise Example;\n \n ```javascript\n findAuthor().\n then(findBooksByAuthor).\n then(function(books){\n // found books\n }).catch(function(reason){\n // something went wrong\n });\n ```\n \n @method then\n @param {Function} onFulfillment\n @param {Function} onRejection\n @param {String} label optional string for labeling the promise.\n Useful for tooling.\n @return {Promise}\n */\n Promise.prototype.then = then;\n\n function makeObject(_, argumentNames) {\n var obj = {},\n x,\n i,\n name;\n var length = _.length;\n var args = new Array(length);\n\n for (x = 0; x < length; x++) {\n args[x] = _[x];\n }\n\n for (i = 0; i < argumentNames.length; i++) {\n name = argumentNames[i];\n\n obj[name] = args[i + 1];\n }\n\n return obj;\n }\n\n function arrayResult(_) {\n var length = _.length,\n i;\n var args = new Array(length - 1);\n\n for (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 /**\n `RSVP.denodeify` takes a 'node-style' function and returns a function that\n will return an `RSVP.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 = RSVP.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 = RSVP.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 = RSVP.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 = RSVP.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 = RSVP.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 = RSVP.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 = RSVP.denodeify(fs.readFile);\n let writeFile = RSVP.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 @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 an\n `RSVP.Promise`\n @static\n */\n function denodeify(nodeFunc, options) {\n var fn = function () {\n var l = arguments.length,\n i,\n arg,\n error,\n p;\n var args = new Array(l + 1);\n var promiseInput = false;\n\n for (i = 0; i < l; ++i) {\n arg = arguments[i];\n\n\n if (!promiseInput) {\n // TODO: clean this up\n promiseInput = needsPromiseInput(arg);\n if (promiseInput === TRY_CATCH_ERROR) {\n error = TRY_CATCH_ERROR.error;\n\n TRY_CATCH_ERROR.error = null;\n p = new Promise(noop);\n\n reject(p, error);\n return p;\n } else if (promiseInput && promiseInput !== true) {\n arg = wrapThenable(promiseInput, arg);\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\n return fn;\n }\n\n function handleValueInput(promise, args, nodeFunc, self) {\n var result = tryCatch(nodeFunc).apply(self, args),\n error;\n if (result === TRY_CATCH_ERROR) {\n error = TRY_CATCH_ERROR.error;\n\n TRY_CATCH_ERROR.error = null;\n reject(promise, error);\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 /**\n This is a convenient alias for `RSVP.Promise.all`.\n \n @method all\n @static\n @for RSVP\n @param {Array} array Array of promises.\n @param {String} label An optional label. This is useful\n for tooling.\n */\n function all$1(array, label) {\n return Promise.all(array, label);\n }\n\n var AllSettled = function (_Enumerator) {\n (0, _emberBabel.inherits)(AllSettled, _Enumerator);\n\n function AllSettled(Constructor, entries, label) {\n return (0, _emberBabel.possibleConstructorReturn)(this, _Enumerator.call(this, Constructor, entries, false /* don't abort on reject */, label));\n }\n\n return AllSettled;\n }(Enumerator);\n\n AllSettled.prototype._setResultAt = setSettledResult;\n\n /**\n `RSVP.allSettled` is similar to `RSVP.all`, but instead of implementing\n a fail-fast method, it waits until all the promises have returned and\n shows you all the results. This is useful if you want to handle multiple\n promises' failure states together as a set.\n Returns a promise that is fulfilled when all the given promises have been\n settled. The return promise is fulfilled with an array of the states of\n the promises passed into the `promises` array argument.\n Each state object will either indicate fulfillment or rejection, and\n provide the corresponding value or reason. The states will take one of\n the following formats:\n ```javascript\n { state: 'fulfilled', value: value }\n or\n { state: 'rejected', reason: reason }\n ```\n Example:\n ```javascript\n let promise1 = RSVP.Promise.resolve(1);\n let promise2 = RSVP.Promise.reject(new Error('2'));\n let promise3 = RSVP.Promise.reject(new Error('3'));\n let promises = [ promise1, promise2, promise3 ];\n RSVP.allSettled(promises).then(function(array){\n // array == [\n // { state: 'fulfilled', value: 1 },\n // { state: 'rejected', reason: Error },\n // { state: 'rejected', reason: Error }\n // ]\n // Note that for the second item, reason.message will be '2', and for the\n // third item, reason.message will be '3'.\n }, function(error) {\n // Not run. (This block would only be called if allSettled had failed,\n // for instance if passed an incorrect argument type.)\n });\n ```\n @method allSettled\n @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 /**\n This is a convenient alias for `RSVP.Promise.race`.\n \n @method race\n @static\n @for RSVP\n @param {Array} array Array of promises.\n @param {String} label An optional label. This is useful\n for tooling.\n */\n function race$1(array, label) {\n return Promise.race(array, label);\n }\n\n var PromiseHash = function (_Enumerator2) {\n (0, _emberBabel.inherits)(PromiseHash, _Enumerator2);\n\n function PromiseHash(Constructor, object) {\n var abortOnReject = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n var label = arguments[3];\n\n return (0, _emberBabel.possibleConstructorReturn)(this, _Enumerator2.call(this, Constructor, object, abortOnReject, label));\n }\n\n PromiseHash.prototype._init = function (Constructor, object) {\n this._result = {};\n this._enumerate(object);\n };\n\n PromiseHash.prototype._enumerate = function (input) {\n var keys = Object.keys(input),\n i;\n\n var length = keys.length;\n var promise = this.promise;\n this._remaining = length;\n\n var key = void 0,\n val = void 0;\n for (i = 0; promise._state === PENDING && i < length; i++) {\n key = keys[i];\n val = input[key];\n this._eachEntry(val, key, true);\n }\n\n this._checkFullfillment();\n };\n\n return PromiseHash;\n }(Enumerator);\n\n /**\n `RSVP.hash` is similar to `RSVP.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: RSVP.resolve(1),\n yourPromise: RSVP.resolve(2),\n theirPromise: RSVP.resolve(3),\n notAPromise: 4\n };\n \n RSVP.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 `RSVP.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: RSVP.resolve(1),\n rejectedPromise: RSVP.reject(new Error('rejectedPromise')),\n anotherRejectedPromise: RSVP.reject(new Error('anotherRejectedPromise')),\n };\n \n RSVP.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: `RSVP.hash` is intended for plain JavaScript objects that\n are just a set of keys and values. `RSVP.hash` will NOT preserve prototype\n chains.\n \n Example:\n \n ```javascript\n function MyConstructor(){\n this.example = RSVP.resolve('Example');\n }\n \n MyConstructor.prototype = {\n protoProperty: RSVP.resolve('Proto Property')\n };\n \n let myObject = new MyConstructor();\n \n RSVP.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 @static\n @for RSVP\n @param {Object} object\n @param {String} label optional string that describes the promise.\n Useful for tooling.\n @return {Promise} promise that is fulfilled when all properties of `promises`\n have been fulfilled, or rejected if any of them become rejected.\n */\n function hash(object, label) {\n if (object === null || typeof object !== 'object') {\n return Promise.reject(new TypeError(\"Promise.hash must be called with an object\"), label);\n }\n\n return new PromiseHash(Promise, object, label).promise;\n }\n\n var HashSettled = function (_PromiseHash) {\n (0, _emberBabel.inherits)(HashSettled, _PromiseHash);\n\n function HashSettled(Constructor, object, label) {\n return (0, _emberBabel.possibleConstructorReturn)(this, _PromiseHash.call(this, Constructor, object, false, label));\n }\n\n return HashSettled;\n }(PromiseHash);\n\n HashSettled.prototype._setResultAt = setSettledResult;\n\n /**\n `RSVP.hashSettled` is similar to `RSVP.allSettled`, but takes an object\n instead of an array for its `promises` argument.\n \n Unlike `RSVP.all` or `RSVP.hash`, which implement a fail-fast method,\n but like `RSVP.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 let promises = {\n myPromise: RSVP.Promise.resolve(1),\n yourPromise: RSVP.Promise.resolve(2),\n theirPromise: RSVP.Promise.resolve(3),\n notAPromise: 4\n };\n \n RSVP.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 `RSVP.hash` are rejected, the state will\n be set to 'rejected' and the reason for rejection provided.\n \n Example:\n \n ```javascript\n let promises = {\n myPromise: RSVP.Promise.resolve(1),\n rejectedPromise: RSVP.Promise.reject(new Error('rejection')),\n anotherRejectedPromise: RSVP.Promise.reject(new Error('more rejection')),\n };\n \n RSVP.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: `RSVP.hashSettled` is intended for plain JavaScript objects that\n are just a set of keys and values. `RSVP.hashSettled` will NOT preserve prototype\n chains.\n \n Example:\n \n ```javascript\n function MyConstructor(){\n this.example = RSVP.Promise.resolve('Example');\n }\n \n MyConstructor.prototype = {\n protoProperty: RSVP.Promise.resolve('Proto Property')\n };\n \n let myObject = new MyConstructor();\n \n RSVP.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 @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 if (object === null || typeof object !== 'object') {\n return Promise.reject(new TypeError(\"RSVP.hashSettled must be called with an object\"), label);\n }\n\n return new HashSettled(Promise, object, false, label).promise;\n }\n\n /**\n `RSVP.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, `RSVP.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 function throws(){\n throw new Error('Whoops!');\n }\n \n let promise = new RSVP.Promise(function(resolve, reject){\n throws();\n });\n \n promise.catch(RSVP.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 @static\n @for RSVP\n @param {Error} reason reason the promise became rejected.\n @throws Error\n @static\n */\n function rethrow(reason) {\n setTimeout(function () {\n throw reason;\n });\n throw reason;\n }\n\n /**\n `RSVP.defer` returns an object similar to jQuery's `$.Deferred`.\n `RSVP.defer` should be used when porting over code reliant on `$.Deferred`'s\n interface. New code should use the `RSVP.Promise` constructor instead.\n \n The object returned from `RSVP.defer` is a plain object with three properties:\n \n * promise - an `RSVP.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 = RSVP.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 @static\n @for RSVP\n @param {String} label optional string for labeling the promise.\n Useful for tooling.\n @return {Object}\n */\n\n function defer(label) {\n var deferred = { resolve: undefined, reject: undefined };\n\n deferred.promise = new Promise(function (resolve, reject) {\n deferred.resolve = resolve;\n deferred.reject = reject;\n }, label);\n\n return deferred;\n }\n\n var MapEnumerator = function (_Enumerator3) {\n (0, _emberBabel.inherits)(MapEnumerator, _Enumerator3);\n\n function MapEnumerator(Constructor, entries, mapFn, label) {\n return (0, _emberBabel.possibleConstructorReturn)(this, _Enumerator3.call(this, Constructor, entries, true, label, mapFn));\n }\n\n MapEnumerator.prototype._init = function (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 MapEnumerator.prototype._setResultAt = function (state, i, value, firstPass) {\n var val;\n\n if (firstPass) {\n 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 /**\n `RSVP.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 `RSVP.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 \n let promise1 = RSVP.resolve(1);\n let promise2 = RSVP.resolve(2);\n let promise3 = RSVP.resolve(3);\n let promises = [ promise1, promise2, promise3 ];\n \n let mapFn = function(item){\n return item + 1;\n };\n \n RSVP.map(promises, mapFn).then(function(result){\n // result is [ 2, 3, 4 ]\n });\n ```\n \n If any of the `promises` given to `RSVP.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 let promise1 = RSVP.resolve(1);\n let promise2 = RSVP.reject(new Error('2'));\n let promise3 = RSVP.reject(new Error('3'));\n let promises = [ promise1, promise2, promise3 ];\n \n let mapFn = function(item){\n return item + 1;\n };\n \n RSVP.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 `RSVP.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 \n let mapFn = function(blogPost){\n // getComments does some ajax and returns an RSVP.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 RSVP.Promise that is fulfilled\n // with some blog post data\n RSVP.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 @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 @static\n */\n function map(promises, mapFn, label) {\n if (!Array.isArray(promises)) {\n return Promise.reject(new TypeError(\"RSVP.map must be called with an array\"), label);\n }\n\n if (typeof mapFn !== 'function') {\n return Promise.reject(new TypeError(\"RSVP.map expects a function as a second argument\"), label);\n }\n\n return new MapEnumerator(Promise, promises, mapFn, label).promise;\n }\n\n /**\n This is a convenient alias for `RSVP.Promise.resolve`.\n \n @method resolve\n @static\n @for RSVP\n @param {*} value value that the returned promise will be resolved with\n @param {String} label optional string for identifying the returned promise.\n Useful for tooling.\n @return {Promise} a promise that will become fulfilled with the given\n `value`\n */\n function resolve$2(value, label) {\n return Promise.resolve(value, label);\n }\n\n /**\n This is a convenient alias for `RSVP.Promise.reject`.\n \n @method reject\n @static\n @for RSVP\n @param {*} reason value that the returned promise will be rejected with.\n @param {String} label optional string for identifying the returned promise.\n Useful for tooling.\n @return {Promise} a promise rejected with the given `reason`.\n */\n function reject$2(reason, label) {\n return Promise.reject(reason, label);\n }\n\n var EMPTY_OBJECT = {};\n\n var FilterEnumerator = function (_MapEnumerator) {\n (0, _emberBabel.inherits)(FilterEnumerator, _MapEnumerator);\n\n function FilterEnumerator() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _MapEnumerator.apply(this, arguments));\n }\n\n FilterEnumerator.prototype._checkFullfillment = function () {\n var result;\n\n if (this._remaining === 0 && this._result !== null) {\n 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 FilterEnumerator.prototype._setResultAt = function (state, i, value, firstPass) {\n var val;\n\n if (firstPass) {\n this._result[i] = value;\n 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 if (!value) {\n this._result[i] = EMPTY_OBJECT;\n }\n }\n };\n\n return FilterEnumerator;\n }(MapEnumerator);\n\n /**\n `RSVP.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`. `RSVP.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 \n let promise1 = RSVP.resolve(1);\n let promise2 = RSVP.resolve(2);\n let promise3 = RSVP.resolve(3);\n \n let promises = [promise1, promise2, promise3];\n \n let filterFn = function(item){\n return item > 1;\n };\n \n RSVP.filter(promises, filterFn).then(function(result){\n // result is [ 2, 3 ]\n });\n ```\n \n If any of the `promises` given to `RSVP.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 let promise1 = RSVP.resolve(1);\n let promise2 = RSVP.reject(new Error('2'));\n let promise3 = RSVP.reject(new Error('3'));\n let promises = [ promise1, promise2, promise3 ];\n \n let filterFn = function(item){\n return item > 1;\n };\n \n RSVP.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 `RSVP.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 \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 RSVP.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 RSVP.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 @static\n @for RSVP\n @param {Array} promises\n @param {Function} filterFn - function to be called on each resolved value to\n filter the final results.\n @param {String} label optional string describing the promise. Useful for\n tooling.\n @return {Promise}\n */\n\n function filter(promises, filterFn, label) {\n if (typeof filterFn !== 'function') {\n return Promise.reject(new TypeError(\"RSVP.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(\"RSVP.filter must be called with an array\");\n }\n return new FilterEnumerator(Promise, promises, filterFn, label).promise;\n });\n }\n\n var len = 0;\n var vertxNext = void 0;\n function asap(callback, arg) {\n queue$1[len] = callback;\n queue$1[len + 1] = arg;\n len += 2;\n if (len === 2) {\n // If len is 1, that means that we need to schedule an async flush.\n // If additional callbacks are queued before the queue is flushed, they\n // will be processed by this flush that we are scheduling.\n scheduleFlush$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]';\n\n // test for web worker but not in IE10\n var isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined';\n\n // node\n function useNextTick() {\n var nextTick = process.nextTick;\n // node version 0.10.x displays a deprecation warning when nextTick is used recursively\n // setImmediate should be used instead instead\n var version = process.versions.node.match(/^(?:(\\d+)\\.)?(?:(\\d+)\\.)?(\\*|\\d+)$/);\n if (Array.isArray(version) && version[1] === '0' && version[2] === '10') {\n nextTick = setImmediate;\n }\n return function () {\n return nextTick(flush);\n };\n }\n\n // vertx\n function useVertxTimer() {\n if (typeof vertxNext !== 'undefined') {\n return function () {\n vertxNext(flush);\n };\n }\n return useSetTimeout();\n }\n\n function useMutationObserver() {\n var iterations = 0;\n var observer = new BrowserMutationObserver(flush);\n var node = document.createTextNode('');\n observer.observe(node, { characterData: true });\n\n return function () {\n return node.data = iterations = ++iterations % 2;\n };\n }\n\n // web worker\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 var i, callback, arg;\n\n for (i = 0; i < len; i += 2) {\n callback = queue$1[i];\n arg = queue$1[i + 1];\n\n\n callback(arg);\n\n queue$1[i] = undefined;\n queue$1[i + 1] = undefined;\n }\n\n len = 0;\n }\n\n function attemptVertex() {\n var vertx;\n\n try {\n 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 = void 0;\n // Decide what async method to use to triggering processing of queued callbacks:\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 }\n\n // defaults\n config.async = asap;\n config.after = function (cb) {\n return setTimeout(cb, 0);\n };\n var cast = resolve$2;\n\n var async = function (callback, arg) {\n return config.async(callback, arg);\n };\n\n function on() {\n config.on.apply(config, arguments);\n }\n\n function off() {\n config.off.apply(config, arguments);\n }\n\n // Set up instrumentation through `window.__PROMISE_INTRUMENTATION__`\n if (typeof window !== 'undefined' && typeof window['__PROMISE_INSTRUMENTATION__'] === 'object') {\n callbacks = window['__PROMISE_INSTRUMENTATION__'];\n\n configure('instrument', true);\n for (var eventName in callbacks) {\n if (callbacks.hasOwnProperty(eventName)) {\n on(eventName, callbacks[eventName]);\n }\n }\n }\n\n // the default export here is for backwards compat:\n // https://github.com/tildeio/rsvp.js/issues/434\n\n\n exports.default = {\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 exports.asap = asap;\n exports.cast = cast;\n exports.Promise = Promise;\n exports.EventTarget = EventTarget;\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.async = async;\n exports.filter = filter;\n});","requireModule('ember')"],"names":[],"mappings":";AAAA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACxZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3kBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACt5BA;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;;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;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5zEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACziBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9sBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACz2KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AClEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9jCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9vBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACrGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AC5BA;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;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/wOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChoBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/xHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACrHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACjFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACz5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACrPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;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;;ACvFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/qBA;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;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;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;;ACrGA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC9JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9XA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;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;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9oBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1KA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;;ACHA;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;;ACxKA;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;;ACnFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvZA;AACA;AACA;AACA;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;;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;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;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;;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;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9fA;AACA;AACA;AACA;;ACHA;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;;ACpuBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9xEA;;;","file":"ember.prod.js"}