{"version":3,"sources":["vendor/ember-cli/vendor-prefix.js","vendor/loader/loader.js","vendor/regenerator-runtime/runtime.js","vendor/moment/moment.js","vendor/ember/jquery/jquery.js","vendor/ember/ember.debug.js","vendor/shims/jquery.js","vendor/anti-clickjacking.js","vendor/Chart.js","vendor/ember-weakmap-polyfill.js","bower_components/raven-js/dist/raven.js","vendor/ember-cli-shims/app-shims.js","vendor/swiper/js/swiper.min.js","bower_components/node-uuid/uuid.js","vendor/semver.browser.js","vendor/ember-resolver/legacy-shims.js","vendor/tether/js/tether.js","vendor/disable-scroll/disable-scroll.js","vendor/tether-shepherd/js/shepherd.js","vendor/ember-fetch.js","vendor/ember-simple-auth/register-version.js","vendor/base64.js","vendor/ua-parser-js/ua-parser.js","progressbar.min.js","addon-tree-output/ember-ajax/-private/promise.js","addon-tree-output/ember-ajax/-private/types.js","addon-tree-output/ember-ajax/-private/utils/get-header.js","addon-tree-output/ember-ajax/-private/utils/is-string.js","addon-tree-output/ember-ajax/-private/utils/parse-response-headers.js","addon-tree-output/ember-ajax/-private/utils/url-helpers.js","addon-tree-output/ember-ajax/ajax-request.js","addon-tree-output/ember-ajax/errors.js","addon-tree-output/ember-ajax/index.js","addon-tree-output/ember-ajax/mixins/ajax-request.js","addon-tree-output/ember-ajax/mixins/ajax-support.js","addon-tree-output/ember-ajax/mixins/legacy/normalize-error-response.js","addon-tree-output/ember-ajax/raw.js","addon-tree-output/ember-ajax/request.js","addon-tree-output/ember-ajax/services/ajax.js","addon-tree-output/ember-ajax/utils/ajax.js","addon-tree-output/ember-api-actions/index.js","addon-tree-output/ember-api-actions/utils/build-url.js","addon-tree-output/ember-api-actions/utils/collection-action.js","addon-tree-output/ember-api-actions/utils/member-action.js","addon-tree-output/ember-assign-helper/helpers/assign.js","addon-tree-output/ember-can/ability.js","addon-tree-output/ember-can/can-mixin.js","addon-tree-output/ember-can/computed.js","addon-tree-output/ember-can/helpers/can.js","addon-tree-output/ember-can/helpers/cannot.js","addon-tree-output/ember-can/index.js","addon-tree-output/ember-can/services/can.js","addon-tree-output/ember-can/utils/normalize.js","addon-tree-output/ember-cli-app-version/initializer-factory.js","addon-tree-output/ember-cli-app-version/utils/regexp.js","addon-tree-output/ember-cli-autocomplete-input/components/autocomplete-input.js","addon-tree-output/ember-cli-autocomplete-input/components/autocomplete-result-item.js","addon-tree-output/ember-cli-autocomplete-input/templates/components/autocomplete-input.js","addon-tree-output/ember-cli-autocomplete-input/templates/components/autocomplete-result-item.js","addon-tree-output/ember-cli-chart/components/ember-chart.js","addon-tree-output/ember-cli-file-picker/components/file-picker.js","addon-tree-output/ember-cli-file-picker/lib/helpers.js","addon-tree-output/ember-cli-flash/components/flash-message.js","addon-tree-output/ember-cli-flash/flash/object.js","addon-tree-output/ember-cli-flash/services/flash-messages.js","addon-tree-output/ember-cli-flash/templates/components/flash-message.js","addon-tree-output/ember-cli-flash/utils/computed.js","addon-tree-output/ember-cli-flash/utils/object-compact.js","addon-tree-output/ember-cli-flash/utils/object-only.js","addon-tree-output/ember-cli-flash/utils/object-without.js","addon-tree-output/ember-cli-keyboard-nav/mixins/keyboard-nav.js","addon-tree-output/ember-cli-sentry/services/raven.js","addon-tree-output/ember-cli-sentry/utils/parse-regex-errors.js","addon-tree-output/ember-cli-swiper/components/swiper-container.js","addon-tree-output/ember-cli-swiper/components/swiper-slide.js","addon-tree-output/ember-cli-swiper/templates/components/swiper-container.js","addon-tree-output/ember-cli-swiper/templates/components/swiper-slide.js","addon-tree-output/ember-cli-uuid/configuration.js","addon-tree-output/ember-cli-uuid/index.js","addon-tree-output/ember-cli-uuid/utils/uuid-helpers.js","addon-tree-output/ember-concurrency/-buffer-policy.js","addon-tree-output/ember-concurrency/-cancelable-promise-helpers.js","addon-tree-output/ember-concurrency/-encapsulated-task.js","addon-tree-output/ember-concurrency/-evented-observable.js","addon-tree-output/ember-concurrency/-helpers.js","addon-tree-output/ember-concurrency/-property-modifiers-mixin.js","addon-tree-output/ember-concurrency/-scheduler.js","addon-tree-output/ember-concurrency/-task-group.js","addon-tree-output/ember-concurrency/-task-instance.js","addon-tree-output/ember-concurrency/-task-property.js","addon-tree-output/ember-concurrency/-task-state-mixin.js","addon-tree-output/ember-concurrency/-wait-for.js","addon-tree-output/ember-concurrency/index.js","addon-tree-output/ember-concurrency/utils.js","addon-tree-output/ember-cookies/services/cookies.js","addon-tree-output/ember-cp-validations/-private/ember-validator.js","addon-tree-output/ember-cp-validations/-private/internal-result-object.js","addon-tree-output/ember-cp-validations/-private/options.js","addon-tree-output/ember-cp-validations/-private/result.js","addon-tree-output/ember-cp-validations/index.js","addon-tree-output/ember-cp-validations/utils/assign.js","addon-tree-output/ember-cp-validations/utils/cycle-breaker.js","addon-tree-output/ember-cp-validations/utils/flatten.js","addon-tree-output/ember-cp-validations/utils/meta-data.js","addon-tree-output/ember-cp-validations/utils/should-call-super.js","addon-tree-output/ember-cp-validations/utils/utils.js","addon-tree-output/ember-cp-validations/validations/error.js","addon-tree-output/ember-cp-validations/validations/factory.js","addon-tree-output/ember-cp-validations/validations/result-collection.js","addon-tree-output/ember-cp-validations/validations/validator.js","addon-tree-output/ember-cp-validations/validators/alias.js","addon-tree-output/ember-cp-validations/validators/base.js","addon-tree-output/ember-cp-validations/validators/belongs-to.js","addon-tree-output/ember-cp-validations/validators/collection.js","addon-tree-output/ember-cp-validations/validators/confirmation.js","addon-tree-output/ember-cp-validations/validators/date.js","addon-tree-output/ember-cp-validations/validators/dependent.js","addon-tree-output/ember-cp-validations/validators/ds-error.js","addon-tree-output/ember-cp-validations/validators/exclusion.js","addon-tree-output/ember-cp-validations/validators/format.js","addon-tree-output/ember-cp-validations/validators/has-many.js","addon-tree-output/ember-cp-validations/validators/inclusion.js","addon-tree-output/ember-cp-validations/validators/length.js","addon-tree-output/ember-cp-validations/validators/messages.js","addon-tree-output/ember-cp-validations/validators/number.js","addon-tree-output/ember-cp-validations/validators/presence.js","addon-tree-output/ember-data-save-relationships/index.js","addon-tree-output/ember-feature-flags/services/features.js","addon-tree-output/ember-fetch/ajax.js","addon-tree-output/ember-fetch/mixins/adapter-fetch.js","addon-tree-output/ember-getowner-polyfill/index.js","addon-tree-output/ember-i18n/config/ar.js","addon-tree-output/ember-i18n/config/bn.js","addon-tree-output/ember-i18n/config/constants.js","addon-tree-output/ember-i18n/config/da.js","addon-tree-output/ember-i18n/config/de.js","addon-tree-output/ember-i18n/config/en.js","addon-tree-output/ember-i18n/config/es.js","addon-tree-output/ember-i18n/config/fa.js","addon-tree-output/ember-i18n/config/fr.js","addon-tree-output/ember-i18n/config/fy.js","addon-tree-output/ember-i18n/config/he.js","addon-tree-output/ember-i18n/config/hi.js","addon-tree-output/ember-i18n/config/it.js","addon-tree-output/ember-i18n/config/iw.js","addon-tree-output/ember-i18n/config/ja.js","addon-tree-output/ember-i18n/config/jv.js","addon-tree-output/ember-i18n/config/ko.js","addon-tree-output/ember-i18n/config/mr.js","addon-tree-output/ember-i18n/config/ms.js","addon-tree-output/ember-i18n/config/nl.js","addon-tree-output/ember-i18n/config/no.js","addon-tree-output/ember-i18n/config/pa.js","addon-tree-output/ember-i18n/config/pl.js","addon-tree-output/ember-i18n/config/pt.js","addon-tree-output/ember-i18n/config/ru.js","addon-tree-output/ember-i18n/config/sv.js","addon-tree-output/ember-i18n/config/ta.js","addon-tree-output/ember-i18n/config/te.js","addon-tree-output/ember-i18n/config/tr.js","addon-tree-output/ember-i18n/config/ur.js","addon-tree-output/ember-i18n/config/vi.js","addon-tree-output/ember-i18n/config/zh.js","addon-tree-output/ember-i18n/helper.js","addon-tree-output/ember-i18n/index.js","addon-tree-output/ember-i18n/initializers/ember-i18n.js","addon-tree-output/ember-i18n/instance-initializers/ember-i18n.js","addon-tree-output/ember-i18n/legacy/helper.js","addon-tree-output/ember-i18n/legacy/initializer.js","addon-tree-output/ember-i18n/legacy/stream.js","addon-tree-output/ember-i18n/services/i18n.js","addon-tree-output/ember-i18n/utils/add-translations.js","addon-tree-output/ember-i18n/utils/get-locales.js","addon-tree-output/ember-i18n/utils/i18n/compile-template.js","addon-tree-output/ember-i18n/utils/i18n/missing-message.js","addon-tree-output/ember-i18n/utils/locale.js","addon-tree-output/ember-i18n/utils/macro.js","addon-tree-output/ember-infinity/components/infinity-loader.js","addon-tree-output/ember-infinity/mixins/route.js","addon-tree-output/ember-inflector/index.js","addon-tree-output/ember-inflector/lib/ext/string.js","addon-tree-output/ember-inflector/lib/helpers/pluralize.js","addon-tree-output/ember-inflector/lib/helpers/singularize.js","addon-tree-output/ember-inflector/lib/system.js","addon-tree-output/ember-inflector/lib/system/inflections.js","addon-tree-output/ember-inflector/lib/system/inflector.js","addon-tree-output/ember-inflector/lib/system/string.js","addon-tree-output/ember-inflector/lib/utils/make-helper.js","addon-tree-output/ember-load-initializers/index.js","addon-tree-output/ember-local-storage/adapters/adapter.js","addon-tree-output/ember-local-storage/adapters/base.js","addon-tree-output/ember-local-storage/adapters/local.js","addon-tree-output/ember-local-storage/adapters/session.js","addon-tree-output/ember-local-storage/helpers/import-export.js","addon-tree-output/ember-local-storage/helpers/storage.js","addon-tree-output/ember-local-storage/helpers/utils.js","addon-tree-output/ember-local-storage/index.js","addon-tree-output/ember-local-storage/initializers/local-storage-adapter.js","addon-tree-output/ember-local-storage/local/array.js","addon-tree-output/ember-local-storage/local/object.js","addon-tree-output/ember-local-storage/mixins/adapters/import-export.js","addon-tree-output/ember-local-storage/mixins/array.js","addon-tree-output/ember-local-storage/mixins/object.js","addon-tree-output/ember-local-storage/mixins/storage.js","addon-tree-output/ember-local-storage/serializers/serializer.js","addon-tree-output/ember-local-storage/session/array.js","addon-tree-output/ember-local-storage/session/object.js","addon-tree-output/ember-macaroni/index.js","addon-tree-output/ember-macaroni/macros/collection/collection-without-key.js","addon-tree-output/ember-macaroni/macros/collection/filter-from-collection-by-contains.js","addon-tree-output/ember-macaroni/macros/collection/filter-from-collection-by-key.js","addon-tree-output/ember-macaroni/macros/collection/find-from-collection-by-key.js","addon-tree-output/ember-macaroni/macros/collection/find-from-collection-by-value.js","addon-tree-output/ember-macaroni/macros/collection/reduce-collection-by-key.js","addon-tree-output/ember-macaroni/macros/collection/reject-from-collection-by-key.js","addon-tree-output/ember-macaroni/macros/collection/reject-from-collection-by-value.js","addon-tree-output/ember-macaroni/macros/general/get-properties-by-keys.js","addon-tree-output/ember-macaroni/macros/general/join-with.js","addon-tree-output/ember-macaroni/macros/truth/gt.js","addon-tree-output/ember-macaroni/macros/truth/gte.js","addon-tree-output/ember-macaroni/macros/truth/if-then-else-with-keys.js","addon-tree-output/ember-macaroni/macros/truth/if-then-else-with-values.js","addon-tree-output/ember-macaroni/macros/truth/is-equal-by-keys.js","addon-tree-output/ember-macaroni/macros/truth/lt.js","addon-tree-output/ember-macaroni/macros/truth/lte.js","addon-tree-output/ember-macaroni/macros/utils/compare.js","addon-tree-output/ember-macro-helpers/-build-computed.js","addon-tree-output/ember-macro-helpers/-constants.js","addon-tree-output/ember-macro-helpers/collapse-key.js","addon-tree-output/ember-macro-helpers/collapse-keys.js","addon-tree-output/ember-macro-helpers/computed-unsafe.js","addon-tree-output/ember-macro-helpers/computed.js","addon-tree-output/ember-macro-helpers/create-class-computed.js","addon-tree-output/ember-macro-helpers/curried-computed.js","addon-tree-output/ember-macro-helpers/expand-property-list.js","addon-tree-output/ember-macro-helpers/expand-property.js","addon-tree-output/ember-macro-helpers/flatten-keys-unsafe.js","addon-tree-output/ember-macro-helpers/flatten-keys.js","addon-tree-output/ember-macro-helpers/get-value-unsafe.js","addon-tree-output/ember-macro-helpers/get-value.js","addon-tree-output/ember-macro-helpers/index.js","addon-tree-output/ember-macro-helpers/is-computed.js","addon-tree-output/ember-macro-helpers/lazy-computed.js","addon-tree-output/ember-macro-helpers/lazy-curried-computed.js","addon-tree-output/ember-macro-helpers/literal.js","addon-tree-output/ember-macro-helpers/normalize-array-key.js","addon-tree-output/ember-macro-helpers/raw.js","addon-tree-output/ember-macro-helpers/reads.js","addon-tree-output/ember-macro-helpers/writable.js","addon-tree-output/ember-metrics/metrics-adapters/base.js","addon-tree-output/ember-metrics/metrics-adapters/facebook-pixel.js","addon-tree-output/ember-metrics/metrics-adapters/google-analytics.js","addon-tree-output/ember-metrics/metrics-adapters/google-tag-manager.js","addon-tree-output/ember-metrics/metrics-adapters/intercom.js","addon-tree-output/ember-metrics/metrics-adapters/mixpanel.js","addon-tree-output/ember-metrics/metrics-adapters/piwik.js","addon-tree-output/ember-metrics/metrics-adapters/segment.js","addon-tree-output/ember-metrics/services/metrics.js","addon-tree-output/ember-metrics/utils/can-use-dom.js","addon-tree-output/ember-metrics/utils/object-transforms.js","addon-tree-output/ember-moment/computeds/-base.js","addon-tree-output/ember-moment/computeds/calendar.js","addon-tree-output/ember-moment/computeds/duration.js","addon-tree-output/ember-moment/computeds/format.js","addon-tree-output/ember-moment/computeds/from-now.js","addon-tree-output/ember-moment/computeds/humanize.js","addon-tree-output/ember-moment/computeds/locale.js","addon-tree-output/ember-moment/computeds/moment.js","addon-tree-output/ember-moment/computeds/to-now.js","addon-tree-output/ember-moment/computeds/tz.js","addon-tree-output/ember-moment/computeds/utc.js","addon-tree-output/ember-moment/helpers/-base.js","addon-tree-output/ember-moment/helpers/is-after.js","addon-tree-output/ember-moment/helpers/is-before.js","addon-tree-output/ember-moment/helpers/is-between.js","addon-tree-output/ember-moment/helpers/is-same-or-after.js","addon-tree-output/ember-moment/helpers/is-same-or-before.js","addon-tree-output/ember-moment/helpers/is-same.js","addon-tree-output/ember-moment/helpers/moment-add.js","addon-tree-output/ember-moment/helpers/moment-calendar.js","addon-tree-output/ember-moment/helpers/moment-diff.js","addon-tree-output/ember-moment/helpers/moment-duration.js","addon-tree-output/ember-moment/helpers/moment-format.js","addon-tree-output/ember-moment/helpers/moment-from-now.js","addon-tree-output/ember-moment/helpers/moment-from.js","addon-tree-output/ember-moment/helpers/moment-subtract.js","addon-tree-output/ember-moment/helpers/moment-to-date.js","addon-tree-output/ember-moment/helpers/moment-to-now.js","addon-tree-output/ember-moment/helpers/moment-to.js","addon-tree-output/ember-moment/helpers/moment.js","addon-tree-output/ember-moment/helpers/now.js","addon-tree-output/ember-moment/helpers/unix.js","addon-tree-output/ember-moment/helpers/utc.js","addon-tree-output/ember-moment/services/moment.js","addon-tree-output/ember-moment/utils/helper-compute.js","addon-tree-output/ember-multiselect-checkboxes/components/multiselect-checkboxes.js","addon-tree-output/ember-power-calendar/components/power-calendar-multiple.js","addon-tree-output/ember-power-calendar/components/power-calendar-multiple/days.js","addon-tree-output/ember-power-calendar/components/power-calendar-range.js","addon-tree-output/ember-power-calendar/components/power-calendar-range/days.js","addon-tree-output/ember-power-calendar/components/power-calendar.js","addon-tree-output/ember-power-calendar/components/power-calendar/days.js","addon-tree-output/ember-power-calendar/components/power-calendar/nav.js","addon-tree-output/ember-power-calendar/services/power-calendar.js","addon-tree-output/ember-power-calendar/templates/components/power-calendar.js","addon-tree-output/ember-power-calendar/templates/components/power-calendar/days.js","addon-tree-output/ember-power-calendar/templates/components/power-calendar/nav.js","addon-tree-output/ember-power-calendar/utils/computed-fallback-if-undefined.js","addon-tree-output/ember-progress-bar/components/ember-progress-bar.js","addon-tree-output/ember-progress-bar/templates/components/ember-progress-bar.js","addon-tree-output/ember-radio-button/components/labeled-radio-button.js","addon-tree-output/ember-radio-button/components/radio-button-input.js","addon-tree-output/ember-radio-button/components/radio-button.js","addon-tree-output/ember-radio-button/templates/components/labeled-radio-button.js","addon-tree-output/ember-radio-button/templates/components/radio-button.js","addon-tree-output/ember-require-module/index.js","addon-tree-output/ember-resolver/index.js","addon-tree-output/ember-resolver/resolver.js","addon-tree-output/ember-resolver/resolvers/classic/container-debug-adapter.js","addon-tree-output/ember-resolver/resolvers/classic/index.js","addon-tree-output/ember-resolver/utils/class-factory.js","addon-tree-output/ember-resolver/utils/make-dictionary.js","addon-tree-output/ember-responsive/initializers/responsive.js","addon-tree-output/ember-responsive/media.js","addon-tree-output/ember-responsive/null-match-media.js","addon-tree-output/ember-route-action-helper/-private/internals.js","addon-tree-output/ember-route-action-helper/helpers/route-action.js","addon-tree-output/ember-shepherd/services/tour.js","addon-tree-output/ember-shepherd/utils.js","addon-tree-output/ember-simple-auth/authenticators/base.js","addon-tree-output/ember-simple-auth/authenticators/devise.js","addon-tree-output/ember-simple-auth/authenticators/oauth2-implicit-grant.js","addon-tree-output/ember-simple-auth/authenticators/oauth2-password-grant.js","addon-tree-output/ember-simple-auth/authenticators/test.js","addon-tree-output/ember-simple-auth/authenticators/torii.js","addon-tree-output/ember-simple-auth/authorizers/base.js","addon-tree-output/ember-simple-auth/authorizers/devise.js","addon-tree-output/ember-simple-auth/authorizers/oauth2-bearer.js","addon-tree-output/ember-simple-auth/configuration.js","addon-tree-output/ember-simple-auth/initializers/setup-session-service.js","addon-tree-output/ember-simple-auth/initializers/setup-session.js","addon-tree-output/ember-simple-auth/instance-initializers/setup-session-restoration.js","addon-tree-output/ember-simple-auth/internal-session.js","addon-tree-output/ember-simple-auth/mixins/application-route-mixin.js","addon-tree-output/ember-simple-auth/mixins/authenticated-route-mixin.js","addon-tree-output/ember-simple-auth/mixins/data-adapter-mixin.js","addon-tree-output/ember-simple-auth/mixins/oauth2-implicit-grant-callback-route-mixin.js","addon-tree-output/ember-simple-auth/mixins/unauthenticated-route-mixin.js","addon-tree-output/ember-simple-auth/services/session.js","addon-tree-output/ember-simple-auth/session-stores/adaptive.js","addon-tree-output/ember-simple-auth/session-stores/base.js","addon-tree-output/ember-simple-auth/session-stores/cookie.js","addon-tree-output/ember-simple-auth/session-stores/ephemeral.js","addon-tree-output/ember-simple-auth/session-stores/local-storage.js","addon-tree-output/ember-simple-auth/session-stores/session-storage.js","addon-tree-output/ember-simple-auth/utils/inject.js","addon-tree-output/ember-simple-auth/utils/lookup.js","addon-tree-output/ember-simple-auth/utils/objects-are-equal.js","addon-tree-output/ember-string-ishtmlsafe-polyfill/index.js","addon-tree-output/ember-tether/components/ember-tether.js","addon-tree-output/ember-uploader/components.js","addon-tree-output/ember-uploader/components/file-field.js","addon-tree-output/ember-uploader/core.js","addon-tree-output/ember-uploader/index.js","addon-tree-output/ember-uploader/uploaders.js","addon-tree-output/ember-uploader/uploaders/base.js","addon-tree-output/ember-uploader/uploaders/s3.js","addon-tree-output/ember-uploader/version.js","addon-tree-output/ember-useragent/initializers/user-agent.js","addon-tree-output/ember-useragent/instance-initializers/ember-useragent.js","addon-tree-output/ember-useragent/instance-initializers/fastboot/ember-useragent.js","addon-tree-output/ember-useragent/services/user-agent.js","addon-tree-output/ember-validators/collection.js","addon-tree-output/ember-validators/confirmation.js","addon-tree-output/ember-validators/date.js","addon-tree-output/ember-validators/ds-error.js","addon-tree-output/ember-validators/exclusion.js","addon-tree-output/ember-validators/format.js","addon-tree-output/ember-validators/inclusion.js","addon-tree-output/ember-validators/index.js","addon-tree-output/ember-validators/length.js","addon-tree-output/ember-validators/messages.js","addon-tree-output/ember-validators/number.js","addon-tree-output/ember-validators/presence.js","addon-tree-output/ember-validators/utils/is-promise.js","addon-tree-output/ember-validators/utils/unwrap-proxy.js","addon-tree-output/ember-validators/utils/validation-error.js","addon-tree-output/ember-version-is/index.js","addon-tree-output/ember-weakmap/index.js","addon-tree-output/ember-weakmap/weak-map.js","addon-tree-output/ember-welcome-page/components/welcome-page.js","addon-tree-output/ember-welcome-page/templates/components/welcome-page.js","addon-tree-output/emberx-select/components/x-option.js","addon-tree-output/emberx-select/components/x-select.js","addon-tree-output/emberx-select/templates/components/x-select.js","addon-tree-output/modules/ember-data/-debug/index.js","addon-tree-output/modules/ember-data/-private.js","addon-tree-output/modules/ember-data/adapter.js","addon-tree-output/modules/ember-data/adapters/errors.js","addon-tree-output/modules/ember-data/adapters/json-api.js","addon-tree-output/modules/ember-data/adapters/rest.js","addon-tree-output/modules/ember-data/attr.js","addon-tree-output/modules/ember-data/index.js","addon-tree-output/modules/ember-data/instance-initializers/initialize-store-service.js","addon-tree-output/modules/ember-data/model.js","addon-tree-output/modules/ember-data/relationships.js","addon-tree-output/modules/ember-data/serializer.js","addon-tree-output/modules/ember-data/serializers/embedded-records-mixin.js","addon-tree-output/modules/ember-data/serializers/json-api.js","addon-tree-output/modules/ember-data/serializers/json.js","addon-tree-output/modules/ember-data/serializers/rest.js","addon-tree-output/modules/ember-data/setup-container.js","addon-tree-output/modules/ember-data/store.js","addon-tree-output/modules/ember-data/transform.js","addon-tree-output/modules/ember-data/transforms/boolean.js","addon-tree-output/modules/ember-data/transforms/date.js","addon-tree-output/modules/ember-data/transforms/number.js","addon-tree-output/modules/ember-data/transforms/string.js","addon-tree-output/modules/ember-data/transforms/transform.js","addon-tree-output/modules/ember-data/version.js","addon-tree-output/moment/index.js","addon-tree-output/moment/lib.js","vendor/ember-cli/vendor-suffix.js"],"sourcesContent":["window.EmberENV = {\"FEATURES\":{},\"EXTEND_PROTOTYPES\":{\"Date\":false},\"api\":{\"host\":\"https://cleversparkybackend.staging-9495.c66.me\",\"namespace\":\"api/v1\"},\"uploadmediabucket\":\"cleversparkyusermedia\",\"branchLoginRedirectUrl\":\"https://cleversparky.test-app.link/login\",\"branchKey\":\"key_test_ogqwU9jqSii1KaIiUIJ9vlogAFlfBmx2\",\"csvTemplatePath\":\"https://s3-ap-southeast-2.amazonaws.com/cleversparky-web-assets/files/csv-upload-template.csv\"};\nvar runningTests = false;\n\n\n","var loader, define, requireModule, require, requirejs;\n\n(function (global) {\n  'use strict';\n\n  function dict() {\n    var obj = Object.create(null);\n    obj['__'] = undefined;\n    delete obj['__'];\n    return obj;\n  }\n\n  // Save off the original values of these globals, so we can restore them if someone asks us to\n  var oldGlobals = {\n    loader: loader,\n    define: define,\n    requireModule: requireModule,\n    require: require,\n    requirejs: requirejs\n  };\n\n  requirejs = require = requireModule = function (id) {\n    var pending = [];\n    var mod = findModule(id, '(require)', pending);\n\n    for (var i = pending.length - 1; i >= 0; i--) {\n      pending[i].exports();\n    }\n\n    return mod.module.exports;\n  };\n\n  loader = {\n    noConflict: function (aliases) {\n      var oldName, newName;\n\n      for (oldName in aliases) {\n        if (aliases.hasOwnProperty(oldName)) {\n          if (oldGlobals.hasOwnProperty(oldName)) {\n            newName = aliases[oldName];\n\n            global[newName] = global[oldName];\n            global[oldName] = oldGlobals[oldName];\n          }\n        }\n      }\n    },\n    // Option to enable or disable the generation of default exports\n    makeDefaultExport: true\n  };\n\n  var registry = dict();\n  var seen = dict();\n\n  var uuid = 0;\n\n  function unsupportedModule(length) {\n    throw new Error('an unsupported module was defined, expected `define(id, deps, module)` instead got: `' + length + '` arguments to define`');\n  }\n\n  var defaultDeps = ['require', 'exports', 'module'];\n\n  function Module(id, deps, callback, alias) {\n    this.uuid = uuid++;\n    this.id = id;\n    this.deps = !deps.length && callback.length ? defaultDeps : deps;\n    this.module = { exports: {} };\n    this.callback = callback;\n    this.hasExportsAsDep = false;\n    this.isAlias = alias;\n    this.reified = new Array(deps.length);\n\n    /*\n       Each module normally passes through these states, in order:\n         new       : initial state\n         pending   : this module is scheduled to be executed\n         reifying  : this module's dependencies are being executed\n         reified   : this module's dependencies finished executing successfully\n         errored   : this module's dependencies failed to execute\n         finalized : this module executed successfully\n     */\n    this.state = 'new';\n  }\n\n  Module.prototype.makeDefaultExport = function () {\n    var exports = this.module.exports;\n    if (exports !== null && (typeof exports === 'object' || typeof exports === 'function') && exports['default'] === undefined && Object.isExtensible(exports)) {\n      exports['default'] = exports;\n    }\n  };\n\n  Module.prototype.exports = function () {\n    // if finalized, there is no work to do. If reifying, there is a\n    // circular dependency so we must return our (partial) exports.\n    if (this.state === 'finalized' || this.state === 'reifying') {\n      return this.module.exports;\n    }\n\n\n    if (loader.wrapModules) {\n      this.callback = loader.wrapModules(this.id, this.callback);\n    }\n\n    this.reify();\n\n    var result = this.callback.apply(this, this.reified);\n    this.reified.length = 0;\n    this.state = 'finalized';\n\n    if (!(this.hasExportsAsDep && result === undefined)) {\n      this.module.exports = result;\n    }\n    if (loader.makeDefaultExport) {\n      this.makeDefaultExport();\n    }\n    return this.module.exports;\n  };\n\n  Module.prototype.unsee = function () {\n    this.state = 'new';\n    this.module = { exports: {} };\n  };\n\n  Module.prototype.reify = function () {\n    if (this.state === 'reified') {\n      return;\n    }\n    this.state = 'reifying';\n    try {\n      this.reified = this._reify();\n      this.state = 'reified';\n    } finally {\n      if (this.state === 'reifying') {\n        this.state = 'errored';\n      }\n    }\n  };\n\n  Module.prototype._reify = function () {\n    var reified = this.reified.slice();\n    for (var i = 0; i < reified.length; i++) {\n      var mod = reified[i];\n      reified[i] = mod.exports ? mod.exports : mod.module.exports();\n    }\n    return reified;\n  };\n\n  Module.prototype.findDeps = function (pending) {\n    if (this.state !== 'new') {\n      return;\n    }\n\n    this.state = 'pending';\n\n    var deps = this.deps;\n\n    for (var i = 0; i < deps.length; i++) {\n      var dep = deps[i];\n      var entry = this.reified[i] = { exports: undefined, module: undefined };\n      if (dep === 'exports') {\n        this.hasExportsAsDep = true;\n        entry.exports = this.module.exports;\n      } else if (dep === 'require') {\n        entry.exports = this.makeRequire();\n      } else if (dep === 'module') {\n        entry.exports = this.module;\n      } else {\n        entry.module = findModule(resolve(dep, this.id), this.id, pending);\n      }\n    }\n  };\n\n  Module.prototype.makeRequire = function () {\n    var id = this.id;\n    var r = function (dep) {\n      return require(resolve(dep, id));\n    };\n    r['default'] = r;\n    r.moduleId = id;\n    r.has = function (dep) {\n      return has(resolve(dep, id));\n    };\n    return r;\n  };\n\n  define = function (id, deps, callback) {\n    var module = registry[id];\n\n    // If a module for this id has already been defined and is in any state\n    // other than `new` (meaning it has been or is currently being required),\n    // then we return early to avoid redefinition.\n    if (module && module.state !== 'new') {\n      return;\n    }\n\n    if (arguments.length < 2) {\n      unsupportedModule(arguments.length);\n    }\n\n    if (!Array.isArray(deps)) {\n      callback = deps;\n      deps = [];\n    }\n\n    if (callback instanceof Alias) {\n      registry[id] = new Module(callback.id, deps, callback, true);\n    } else {\n      registry[id] = new Module(id, deps, callback, false);\n    }\n  };\n\n  define.exports = function (name, defaultExport) {\n    var module = registry[name];\n\n    // If a module for this name has already been defined and is in any state\n    // other than `new` (meaning it has been or is currently being required),\n    // then we return early to avoid redefinition.\n    if (module && module.state !== 'new') {\n      return;\n    }\n\n    module = new Module(name, [], noop, null);\n    module.module.exports = defaultExport;\n    module.state = 'finalized';\n    registry[name] = module;\n\n    return module;\n  };\n\n  function noop() {}\n  // we don't support all of AMD\n  // define.amd = {};\n\n  function Alias(id) {\n    this.id = id;\n  }\n\n  define.alias = function (id, target) {\n    if (arguments.length === 2) {\n      return define(target, new Alias(id));\n    }\n\n    return new Alias(id);\n  };\n\n  function missingModule(id, referrer) {\n    throw new Error('Could not find module `' + id + '` imported from `' + referrer + '`');\n  }\n\n  function findModule(id, referrer, pending) {\n    var mod = registry[id] || registry[id + '/index'];\n\n    while (mod && mod.isAlias) {\n      mod = registry[mod.id];\n    }\n\n    if (!mod) {\n      missingModule(id, referrer);\n    }\n\n    if (pending && mod.state !== 'pending' && mod.state !== 'finalized') {\n      mod.findDeps(pending);\n      pending.push(mod);\n    }\n    return mod;\n  }\n\n  function resolve(child, id) {\n    if (child.charAt(0) !== '.') {\n      return child;\n    }\n\n\n    var parts = child.split('/');\n    var nameParts = id.split('/');\n    var parentBase = nameParts.slice(0, -1);\n\n    for (var i = 0, l = parts.length; i < l; i++) {\n      var part = parts[i];\n\n      if (part === '..') {\n        if (parentBase.length === 0) {\n          throw new Error('Cannot access parent module of root');\n        }\n        parentBase.pop();\n      } else if (part === '.') {\n        continue;\n      } else {\n        parentBase.push(part);\n      }\n    }\n\n    return parentBase.join('/');\n  }\n\n  function has(id) {\n    return !!(registry[id] || registry[id + '/index']);\n  }\n\n  requirejs.entries = requirejs._eak_seen = registry;\n  requirejs.has = has;\n  requirejs.unsee = function (id) {\n    findModule(id, '(unsee)', false).unsee();\n  };\n\n  requirejs.clear = function () {\n    requirejs.entries = requirejs._eak_seen = registry = dict();\n    seen = dict();\n  };\n\n  // This code primes the JS engine for good performance by warming the\n  // JIT compiler for these functions.\n  define('foo', function () {});\n  define('foo/bar', [], function () {});\n  define('foo/asdf', ['module', 'exports', 'require'], function (module, exports, require) {\n    if (require.has('foo/bar')) {\n      require('foo/bar');\n    }\n  });\n  define('foo/baz', [], define.alias('foo'));\n  define('foo/quz', define.alias('foo'));\n  define.alias('foo', 'foo/qux');\n  define('foo/bar', ['foo', './quz', './baz', './asdf', './bar', '../foo'], function () {});\n  define('foo/main', ['foo/bar'], function () {});\n  define.exports('foo/exports', {});\n\n  require('foo/exports');\n  require('foo/main');\n  require.unsee('foo/bar');\n\n  requirejs.clear();\n\n  if (typeof exports === 'object' && typeof module === 'object' && module.exports) {\n    module.exports = { require: require, define: define };\n  }\n})(this);","/**\n * Copyright (c) 2014, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n * additional grant of patent rights can be found in the PATENTS file in\n * the same directory.\n */\n\n!(function(global) {\n  \"use strict\";\n\n  var hasOwn = Object.prototype.hasOwnProperty;\n  var undefined; // More compressible than void 0.\n  var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n  var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n  var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n  var inModule = typeof module === \"object\";\n  var runtime = global.regeneratorRuntime;\n  if (runtime) {\n    if (inModule) {\n      // If regeneratorRuntime is defined globally and we're in a module,\n      // make the exports object identical to regeneratorRuntime.\n      module.exports = runtime;\n    }\n    // Don't bother evaluating the rest of this file if the runtime was\n    // already defined globally.\n    return;\n  }\n\n  // Define the runtime globally (as expected by generated code) as either\n  // module.exports (if we're in a module) or a new, empty object.\n  runtime = global.regeneratorRuntime = inModule ? module.exports : {};\n\n  function wrap(innerFn, outerFn, self, tryLocsList) {\n    // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n    var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n    var generator = Object.create(protoGenerator.prototype);\n    var context = new Context(tryLocsList || []);\n\n    // The ._invoke method unifies the implementations of the .next,\n    // .throw, and .return methods.\n    generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n    return generator;\n  }\n  runtime.wrap = wrap;\n\n  // Try/catch helper to minimize deoptimizations. Returns a completion\n  // record like context.tryEntries[i].completion. This interface could\n  // have been (and was previously) designed to take a closure to be\n  // invoked without arguments, but in all the cases we care about we\n  // already have an existing method we want to call, so there's no need\n  // to create a new function object. We can even get away with assuming\n  // the method takes exactly one argument, since that happens to be true\n  // in every case, so we don't have to touch the arguments object. The\n  // only additional allocation required is the completion record, which\n  // has a stable shape and so hopefully should be cheap to allocate.\n  function tryCatch(fn, obj, arg) {\n    try {\n      return { type: \"normal\", arg: fn.call(obj, arg) };\n    } catch (err) {\n      return { type: \"throw\", arg: err };\n    }\n  }\n\n  var GenStateSuspendedStart = \"suspendedStart\";\n  var GenStateSuspendedYield = \"suspendedYield\";\n  var GenStateExecuting = \"executing\";\n  var GenStateCompleted = \"completed\";\n\n  // Returning this object from the innerFn has the same effect as\n  // breaking out of the dispatch switch statement.\n  var ContinueSentinel = {};\n\n  // Dummy constructor functions that we use as the .constructor and\n  // .constructor.prototype properties for functions that return Generator\n  // objects. For full spec compliance, you may wish to configure your\n  // minifier not to mangle the names of these two functions.\n  function Generator() {}\n  function GeneratorFunction() {}\n  function GeneratorFunctionPrototype() {}\n\n  var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype;\n  GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n  GeneratorFunctionPrototype.constructor = GeneratorFunction;\n  GeneratorFunctionPrototype[toStringTagSymbol] = GeneratorFunction.displayName = \"GeneratorFunction\";\n\n  // Helper for defining the .next, .throw, and .return methods of the\n  // Iterator interface in terms of a single ._invoke method.\n  function defineIteratorMethods(prototype) {\n    [\"next\", \"throw\", \"return\"].forEach(function(method) {\n      prototype[method] = function(arg) {\n        return this._invoke(method, arg);\n      };\n    });\n  }\n\n  runtime.isGeneratorFunction = function(genFun) {\n    var ctor = typeof genFun === \"function\" && genFun.constructor;\n    return ctor\n      ? ctor === GeneratorFunction ||\n        // For the native GeneratorFunction constructor, the best we can\n        // do is to check its .name property.\n        (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n      : false;\n  };\n\n  runtime.mark = function(genFun) {\n    if (Object.setPrototypeOf) {\n      Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n    } else {\n      genFun.__proto__ = GeneratorFunctionPrototype;\n      if (!(toStringTagSymbol in genFun)) {\n        genFun[toStringTagSymbol] = \"GeneratorFunction\";\n      }\n    }\n    genFun.prototype = Object.create(Gp);\n    return genFun;\n  };\n\n  // Within the body of any async function, `await x` is transformed to\n  // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n  // `value instanceof AwaitArgument` to determine if the yielded value is\n  // meant to be awaited. Some may consider the name of this method too\n  // cutesy, but they are curmudgeons.\n  runtime.awrap = function(arg) {\n    return new AwaitArgument(arg);\n  };\n\n  function AwaitArgument(arg) {\n    this.arg = arg;\n  }\n\n  function AsyncIterator(generator) {\n    function invoke(method, arg, resolve, reject) {\n      var record = tryCatch(generator[method], generator, arg);\n      if (record.type === \"throw\") {\n        reject(record.arg);\n      } else {\n        var result = record.arg;\n        var value = result.value;\n        if (value instanceof AwaitArgument) {\n          return Promise.resolve(value.arg).then(function(value) {\n            invoke(\"next\", value, resolve, reject);\n          }, function(err) {\n            invoke(\"throw\", err, resolve, reject);\n          });\n        }\n\n        return Promise.resolve(value).then(function(unwrapped) {\n          // When a yielded Promise is resolved, its final value becomes\n          // the .value of the Promise<{value,done}> result for the\n          // current iteration. If the Promise is rejected, however, the\n          // result for this iteration will be rejected with the same\n          // reason. Note that rejections of yielded Promises are not\n          // thrown back into the generator function, as is the case\n          // when an awaited Promise is rejected. This difference in\n          // behavior between yield and await is important, because it\n          // allows the consumer to decide what to do with the yielded\n          // rejection (swallow it and continue, manually .throw it back\n          // into the generator, abandon iteration, whatever). With\n          // await, by contrast, there is no opportunity to examine the\n          // rejection reason outside the generator function, so the\n          // only option is to throw it from the await expression, and\n          // let the generator function handle the exception.\n          result.value = unwrapped;\n          resolve(result);\n        }, reject);\n      }\n    }\n\n    if (typeof process === \"object\" && process.domain) {\n      invoke = process.domain.bind(invoke);\n    }\n\n    var previousPromise;\n\n    function enqueue(method, arg) {\n      function callInvokeWithMethodAndArg() {\n        return new Promise(function(resolve, reject) {\n          invoke(method, arg, resolve, reject);\n        });\n      }\n\n      return previousPromise =\n        // If enqueue has been called before, then we want to wait until\n        // all previous Promises have been resolved before calling invoke,\n        // so that results are always delivered in the correct order. If\n        // enqueue has not been called before, then it is important to\n        // call invoke immediately, without waiting on a callback to fire,\n        // so that the async generator function has the opportunity to do\n        // any necessary setup in a predictable way. This predictability\n        // is why the Promise constructor synchronously invokes its\n        // executor callback, and why async functions synchronously\n        // execute code before the first await. Since we implement simple\n        // async functions in terms of async generators, it is especially\n        // important to get this right, even though it requires care.\n        previousPromise ? previousPromise.then(\n          callInvokeWithMethodAndArg,\n          // Avoid propagating failures to Promises returned by later\n          // invocations of the iterator.\n          callInvokeWithMethodAndArg\n        ) : callInvokeWithMethodAndArg();\n    }\n\n    // Define the unified helper method that is used to implement .next,\n    // .throw, and .return (see defineIteratorMethods).\n    this._invoke = enqueue;\n  }\n\n  defineIteratorMethods(AsyncIterator.prototype);\n\n  // Note that simple async functions are implemented on top of\n  // AsyncIterator objects; they just return a Promise for the value of\n  // the final result produced by the iterator.\n  runtime.async = function(innerFn, outerFn, self, tryLocsList) {\n    var iter = new AsyncIterator(\n      wrap(innerFn, outerFn, self, tryLocsList)\n    );\n\n    return runtime.isGeneratorFunction(outerFn)\n      ? iter // If outerFn is a generator, return the full iterator.\n      : iter.next().then(function(result) {\n          return result.done ? result.value : iter.next();\n        });\n  };\n\n  function makeInvokeMethod(innerFn, self, context) {\n    var state = GenStateSuspendedStart;\n\n    return function invoke(method, arg) {\n      if (state === GenStateExecuting) {\n        throw new Error(\"Generator is already running\");\n      }\n\n      if (state === GenStateCompleted) {\n        if (method === \"throw\") {\n          throw arg;\n        }\n\n        // Be forgiving, per 25.3.3.3.3 of the spec:\n        // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n        return doneResult();\n      }\n\n      while (true) {\n        var delegate = context.delegate;\n        if (delegate) {\n          if (method === \"return\" ||\n              (method === \"throw\" && delegate.iterator[method] === undefined)) {\n            // A return or throw (when the delegate iterator has no throw\n            // method) always terminates the yield* loop.\n            context.delegate = null;\n\n            // If the delegate iterator has a return method, give it a\n            // chance to clean up.\n            var returnMethod = delegate.iterator[\"return\"];\n            if (returnMethod) {\n              var record = tryCatch(returnMethod, delegate.iterator, arg);\n              if (record.type === \"throw\") {\n                // If the return method threw an exception, let that\n                // exception prevail over the original return or throw.\n                method = \"throw\";\n                arg = record.arg;\n                continue;\n              }\n            }\n\n            if (method === \"return\") {\n              // Continue with the outer return, now that the delegate\n              // iterator has been terminated.\n              continue;\n            }\n          }\n\n          var record = tryCatch(\n            delegate.iterator[method],\n            delegate.iterator,\n            arg\n          );\n\n          if (record.type === \"throw\") {\n            context.delegate = null;\n\n            // Like returning generator.throw(uncaught), but without the\n            // overhead of an extra function call.\n            method = \"throw\";\n            arg = record.arg;\n            continue;\n          }\n\n          // Delegate generator ran and handled its own exceptions so\n          // regardless of what the method was, we continue as if it is\n          // \"next\" with an undefined arg.\n          method = \"next\";\n          arg = undefined;\n\n          var info = record.arg;\n          if (info.done) {\n            context[delegate.resultName] = info.value;\n            context.next = delegate.nextLoc;\n          } else {\n            state = GenStateSuspendedYield;\n            return info;\n          }\n\n          context.delegate = null;\n        }\n\n        if (method === \"next\") {\n          // Setting context._sent for legacy support of Babel's\n          // function.sent implementation.\n          context.sent = context._sent = arg;\n\n        } else if (method === \"throw\") {\n          if (state === GenStateSuspendedStart) {\n            state = GenStateCompleted;\n            throw arg;\n          }\n\n          if (context.dispatchException(arg)) {\n            // If the dispatched exception was caught by a catch block,\n            // then let that catch block handle the exception normally.\n            method = \"next\";\n            arg = undefined;\n          }\n\n        } else if (method === \"return\") {\n          context.abrupt(\"return\", arg);\n        }\n\n        state = GenStateExecuting;\n\n        var record = tryCatch(innerFn, self, context);\n        if (record.type === \"normal\") {\n          // If an exception is thrown from innerFn, we leave state ===\n          // GenStateExecuting and loop back for another invocation.\n          state = context.done\n            ? GenStateCompleted\n            : GenStateSuspendedYield;\n\n          var info = {\n            value: record.arg,\n            done: context.done\n          };\n\n          if (record.arg === ContinueSentinel) {\n            if (context.delegate && method === \"next\") {\n              // Deliberately forget the last sent value so that we don't\n              // accidentally pass it on to the delegate.\n              arg = undefined;\n            }\n          } else {\n            return info;\n          }\n\n        } else if (record.type === \"throw\") {\n          state = GenStateCompleted;\n          // Dispatch the exception by looping back around to the\n          // context.dispatchException(arg) call above.\n          method = \"throw\";\n          arg = record.arg;\n        }\n      }\n    };\n  }\n\n  // Define Generator.prototype.{next,throw,return} in terms of the\n  // unified ._invoke helper method.\n  defineIteratorMethods(Gp);\n\n  Gp[iteratorSymbol] = function() {\n    return this;\n  };\n\n  Gp[toStringTagSymbol] = \"Generator\";\n\n  Gp.toString = function() {\n    return \"[object Generator]\";\n  };\n\n  function pushTryEntry(locs) {\n    var entry = { tryLoc: locs[0] };\n\n    if (1 in locs) {\n      entry.catchLoc = locs[1];\n    }\n\n    if (2 in locs) {\n      entry.finallyLoc = locs[2];\n      entry.afterLoc = locs[3];\n    }\n\n    this.tryEntries.push(entry);\n  }\n\n  function resetTryEntry(entry) {\n    var record = entry.completion || {};\n    record.type = \"normal\";\n    delete record.arg;\n    entry.completion = record;\n  }\n\n  function Context(tryLocsList) {\n    // The root entry object (effectively a try statement without a catch\n    // or a finally block) gives us a place to store values thrown from\n    // locations where there is no enclosing try statement.\n    this.tryEntries = [{ tryLoc: \"root\" }];\n    tryLocsList.forEach(pushTryEntry, this);\n    this.reset(true);\n  }\n\n  runtime.keys = function(object) {\n    var keys = [];\n    for (var key in object) {\n      keys.push(key);\n    }\n    keys.reverse();\n\n    // Rather than returning an object with a next method, we keep\n    // things simple and return the next function itself.\n    return function next() {\n      while (keys.length) {\n        var key = keys.pop();\n        if (key in object) {\n          next.value = key;\n          next.done = false;\n          return next;\n        }\n      }\n\n      // To avoid creating an additional object, we just hang the .value\n      // and .done properties off the next function object itself. This\n      // also ensures that the minifier will not anonymize the function.\n      next.done = true;\n      return next;\n    };\n  };\n\n  function values(iterable) {\n    if (iterable) {\n      var iteratorMethod = iterable[iteratorSymbol];\n      if (iteratorMethod) {\n        return iteratorMethod.call(iterable);\n      }\n\n      if (typeof iterable.next === \"function\") {\n        return iterable;\n      }\n\n      if (!isNaN(iterable.length)) {\n        var i = -1, next = function next() {\n          while (++i < iterable.length) {\n            if (hasOwn.call(iterable, i)) {\n              next.value = iterable[i];\n              next.done = false;\n              return next;\n            }\n          }\n\n          next.value = undefined;\n          next.done = true;\n\n          return next;\n        };\n\n        return next.next = next;\n      }\n    }\n\n    // Return an iterator with no values.\n    return { next: doneResult };\n  }\n  runtime.values = values;\n\n  function doneResult() {\n    return { value: undefined, done: true };\n  }\n\n  Context.prototype = {\n    constructor: Context,\n\n    reset: function(skipTempReset) {\n      this.prev = 0;\n      this.next = 0;\n      // Resetting context._sent for legacy support of Babel's\n      // function.sent implementation.\n      this.sent = this._sent = undefined;\n      this.done = false;\n      this.delegate = null;\n\n      this.tryEntries.forEach(resetTryEntry);\n\n      if (!skipTempReset) {\n        for (var name in this) {\n          // Not sure about the optimal order of these conditions:\n          if (name.charAt(0) === \"t\" &&\n              hasOwn.call(this, name) &&\n              !isNaN(+name.slice(1))) {\n            this[name] = undefined;\n          }\n        }\n      }\n    },\n\n    stop: function() {\n      this.done = true;\n\n      var rootEntry = this.tryEntries[0];\n      var rootRecord = rootEntry.completion;\n      if (rootRecord.type === \"throw\") {\n        throw rootRecord.arg;\n      }\n\n      return this.rval;\n    },\n\n    dispatchException: function(exception) {\n      if (this.done) {\n        throw exception;\n      }\n\n      var context = this;\n      function handle(loc, caught) {\n        record.type = \"throw\";\n        record.arg = exception;\n        context.next = loc;\n        return !!caught;\n      }\n\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        var record = entry.completion;\n\n        if (entry.tryLoc === \"root\") {\n          // Exception thrown outside of any try block that could handle\n          // it, so set the completion value of the entire function to\n          // throw the exception.\n          return handle(\"end\");\n        }\n\n        if (entry.tryLoc <= this.prev) {\n          var hasCatch = hasOwn.call(entry, \"catchLoc\");\n          var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n          if (hasCatch && hasFinally) {\n            if (this.prev < entry.catchLoc) {\n              return handle(entry.catchLoc, true);\n            } else if (this.prev < entry.finallyLoc) {\n              return handle(entry.finallyLoc);\n            }\n\n          } else if (hasCatch) {\n            if (this.prev < entry.catchLoc) {\n              return handle(entry.catchLoc, true);\n            }\n\n          } else if (hasFinally) {\n            if (this.prev < entry.finallyLoc) {\n              return handle(entry.finallyLoc);\n            }\n\n          } else {\n            throw new Error(\"try statement without catch or finally\");\n          }\n        }\n      }\n    },\n\n    abrupt: function(type, arg) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.tryLoc <= this.prev &&\n            hasOwn.call(entry, \"finallyLoc\") &&\n            this.prev < entry.finallyLoc) {\n          var finallyEntry = entry;\n          break;\n        }\n      }\n\n      if (finallyEntry &&\n          (type === \"break\" ||\n           type === \"continue\") &&\n          finallyEntry.tryLoc <= arg &&\n          arg <= finallyEntry.finallyLoc) {\n        // Ignore the finally entry if control is not jumping to a\n        // location outside the try/catch block.\n        finallyEntry = null;\n      }\n\n      var record = finallyEntry ? finallyEntry.completion : {};\n      record.type = type;\n      record.arg = arg;\n\n      if (finallyEntry) {\n        this.next = finallyEntry.finallyLoc;\n      } else {\n        this.complete(record);\n      }\n\n      return ContinueSentinel;\n    },\n\n    complete: function(record, afterLoc) {\n      if (record.type === \"throw\") {\n        throw record.arg;\n      }\n\n      if (record.type === \"break\" ||\n          record.type === \"continue\") {\n        this.next = record.arg;\n      } else if (record.type === \"return\") {\n        this.rval = record.arg;\n        this.next = \"end\";\n      } else if (record.type === \"normal\" && afterLoc) {\n        this.next = afterLoc;\n      }\n    },\n\n    finish: function(finallyLoc) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.finallyLoc === finallyLoc) {\n          this.complete(entry.completion, entry.afterLoc);\n          resetTryEntry(entry);\n          return ContinueSentinel;\n        }\n      }\n    },\n\n    \"catch\": function(tryLoc) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.tryLoc === tryLoc) {\n          var record = entry.completion;\n          if (record.type === \"throw\") {\n            var thrown = record.arg;\n            resetTryEntry(entry);\n          }\n          return thrown;\n        }\n      }\n\n      // The context.catch method must only be called with a location\n      // argument that corresponds to a known catch block.\n      throw new Error(\"illegal catch attempt\");\n    },\n\n    delegateYield: function(iterable, resultName, nextLoc) {\n      this.delegate = {\n        iterator: values(iterable),\n        resultName: resultName,\n        nextLoc: nextLoc\n      };\n\n      return ContinueSentinel;\n    }\n  };\n})(\n  // Among the various tricks for obtaining a reference to the global\n  // object, this seems to be the most reliable technique that does not\n  // use indirect eval (which violates Content Security Policy).\n  typeof global === \"object\" ? global :\n  typeof window === \"object\" ? window :\n  typeof self === \"object\" ? self : this\n);\n","if (typeof FastBoot === 'undefined') { //! moment.js\n//! version : 2.18.1\n//! authors : Tim Wood, Iskren Chernev, Moment.js contributors\n//! license : MIT\n//! momentjs.com\n\n;(function (global, factory) {\n    typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n    typeof define === 'function' && define.amd ? define(factory) :\n    global.moment = factory()\n}(this, (function () { 'use strict';\n\nvar hookCallback;\n\nfunction hooks () {\n    return hookCallback.apply(null, arguments);\n}\n\n// This is done to register the method called with moment()\n// without creating circular dependencies.\nfunction setHookCallback (callback) {\n    hookCallback = callback;\n}\n\nfunction isArray(input) {\n    return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]';\n}\n\nfunction isObject(input) {\n    // IE8 will treat undefined and null as object if it wasn't for\n    // input != null\n    return input != null && Object.prototype.toString.call(input) === '[object Object]';\n}\n\nfunction isObjectEmpty(obj) {\n    var k;\n    for (k in obj) {\n        // even if its not own property I'd still call it non-empty\n        return false;\n    }\n    return true;\n}\n\nfunction isUndefined(input) {\n    return input === void 0;\n}\n\nfunction isNumber(input) {\n    return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]';\n}\n\nfunction isDate(input) {\n    return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]';\n}\n\nfunction map(arr, fn) {\n    var res = [], i;\n    for (i = 0; i < arr.length; ++i) {\n        res.push(fn(arr[i], i));\n    }\n    return res;\n}\n\nfunction hasOwnProp(a, b) {\n    return Object.prototype.hasOwnProperty.call(a, b);\n}\n\nfunction extend(a, b) {\n    for (var i in b) {\n        if (hasOwnProp(b, i)) {\n            a[i] = b[i];\n        }\n    }\n\n    if (hasOwnProp(b, 'toString')) {\n        a.toString = b.toString;\n    }\n\n    if (hasOwnProp(b, 'valueOf')) {\n        a.valueOf = b.valueOf;\n    }\n\n    return a;\n}\n\nfunction createUTC (input, format, locale, strict) {\n    return createLocalOrUTC(input, format, locale, strict, true).utc();\n}\n\nfunction defaultParsingFlags() {\n    // We need to deep clone this object.\n    return {\n        empty           : false,\n        unusedTokens    : [],\n        unusedInput     : [],\n        overflow        : -2,\n        charsLeftOver   : 0,\n        nullInput       : false,\n        invalidMonth    : null,\n        invalidFormat   : false,\n        userInvalidated : false,\n        iso             : false,\n        parsedDateParts : [],\n        meridiem        : null,\n        rfc2822         : false,\n        weekdayMismatch : false\n    };\n}\n\nfunction getParsingFlags(m) {\n    if (m._pf == null) {\n        m._pf = defaultParsingFlags();\n    }\n    return m._pf;\n}\n\nvar some;\nif (Array.prototype.some) {\n    some = Array.prototype.some;\n} else {\n    some = function (fun) {\n        var t = Object(this);\n        var len = t.length >>> 0;\n\n        for (var i = 0; i < len; i++) {\n            if (i in t && fun.call(this, t[i], i, t)) {\n                return true;\n            }\n        }\n\n        return false;\n    };\n}\n\nvar some$1 = some;\n\nfunction isValid(m) {\n    if (m._isValid == null) {\n        var flags = getParsingFlags(m);\n        var parsedParts = some$1.call(flags.parsedDateParts, function (i) {\n            return i != null;\n        });\n        var isNowValid = !isNaN(m._d.getTime()) &&\n            flags.overflow < 0 &&\n            !flags.empty &&\n            !flags.invalidMonth &&\n            !flags.invalidWeekday &&\n            !flags.nullInput &&\n            !flags.invalidFormat &&\n            !flags.userInvalidated &&\n            (!flags.meridiem || (flags.meridiem && parsedParts));\n\n        if (m._strict) {\n            isNowValid = isNowValid &&\n                flags.charsLeftOver === 0 &&\n                flags.unusedTokens.length === 0 &&\n                flags.bigHour === undefined;\n        }\n\n        if (Object.isFrozen == null || !Object.isFrozen(m)) {\n            m._isValid = isNowValid;\n        }\n        else {\n            return isNowValid;\n        }\n    }\n    return m._isValid;\n}\n\nfunction createInvalid (flags) {\n    var m = createUTC(NaN);\n    if (flags != null) {\n        extend(getParsingFlags(m), flags);\n    }\n    else {\n        getParsingFlags(m).userInvalidated = true;\n    }\n\n    return m;\n}\n\n// Plugins that add properties should also add the key here (null value),\n// so we can properly clone ourselves.\nvar momentProperties = hooks.momentProperties = [];\n\nfunction copyConfig(to, from) {\n    var i, prop, val;\n\n    if (!isUndefined(from._isAMomentObject)) {\n        to._isAMomentObject = from._isAMomentObject;\n    }\n    if (!isUndefined(from._i)) {\n        to._i = from._i;\n    }\n    if (!isUndefined(from._f)) {\n        to._f = from._f;\n    }\n    if (!isUndefined(from._l)) {\n        to._l = from._l;\n    }\n    if (!isUndefined(from._strict)) {\n        to._strict = from._strict;\n    }\n    if (!isUndefined(from._tzm)) {\n        to._tzm = from._tzm;\n    }\n    if (!isUndefined(from._isUTC)) {\n        to._isUTC = from._isUTC;\n    }\n    if (!isUndefined(from._offset)) {\n        to._offset = from._offset;\n    }\n    if (!isUndefined(from._pf)) {\n        to._pf = getParsingFlags(from);\n    }\n    if (!isUndefined(from._locale)) {\n        to._locale = from._locale;\n    }\n\n    if (momentProperties.length > 0) {\n        for (i = 0; i < momentProperties.length; i++) {\n            prop = momentProperties[i];\n            val = from[prop];\n            if (!isUndefined(val)) {\n                to[prop] = val;\n            }\n        }\n    }\n\n    return to;\n}\n\nvar updateInProgress = false;\n\n// Moment prototype object\nfunction Moment(config) {\n    copyConfig(this, config);\n    this._d = new Date(config._d != null ? config._d.getTime() : NaN);\n    if (!this.isValid()) {\n        this._d = new Date(NaN);\n    }\n    // Prevent infinite loop in case updateOffset creates new moment\n    // objects.\n    if (updateInProgress === false) {\n        updateInProgress = true;\n        hooks.updateOffset(this);\n        updateInProgress = false;\n    }\n}\n\nfunction isMoment (obj) {\n    return obj instanceof Moment || (obj != null && obj._isAMomentObject != null);\n}\n\nfunction absFloor (number) {\n    if (number < 0) {\n        // -0 -> 0\n        return Math.ceil(number) || 0;\n    } else {\n        return Math.floor(number);\n    }\n}\n\nfunction toInt(argumentForCoercion) {\n    var coercedNumber = +argumentForCoercion,\n        value = 0;\n\n    if (coercedNumber !== 0 && isFinite(coercedNumber)) {\n        value = absFloor(coercedNumber);\n    }\n\n    return value;\n}\n\n// compare two arrays, return the number of differences\nfunction compareArrays(array1, array2, dontConvert) {\n    var len = Math.min(array1.length, array2.length),\n        lengthDiff = Math.abs(array1.length - array2.length),\n        diffs = 0,\n        i;\n    for (i = 0; i < len; i++) {\n        if ((dontConvert && array1[i] !== array2[i]) ||\n            (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))) {\n            diffs++;\n        }\n    }\n    return diffs + lengthDiff;\n}\n\nfunction warn(msg) {\n    if (hooks.suppressDeprecationWarnings === false &&\n            (typeof console !==  'undefined') && console.warn) {\n        console.warn('Deprecation warning: ' + msg);\n    }\n}\n\nfunction deprecate(msg, fn) {\n    var firstTime = true;\n\n    return extend(function () {\n        if (hooks.deprecationHandler != null) {\n            hooks.deprecationHandler(null, msg);\n        }\n        if (firstTime) {\n            var args = [];\n            var arg;\n            for (var i = 0; i < arguments.length; i++) {\n                arg = '';\n                if (typeof arguments[i] === 'object') {\n                    arg += '\\n[' + i + '] ';\n                    for (var key in arguments[0]) {\n                        arg += key + ': ' + arguments[0][key] + ', ';\n                    }\n                    arg = arg.slice(0, -2); // Remove trailing comma and space\n                } else {\n                    arg = arguments[i];\n                }\n                args.push(arg);\n            }\n            warn(msg + '\\nArguments: ' + Array.prototype.slice.call(args).join('') + '\\n' + (new Error()).stack);\n            firstTime = false;\n        }\n        return fn.apply(this, arguments);\n    }, fn);\n}\n\nvar deprecations = {};\n\nfunction deprecateSimple(name, msg) {\n    if (hooks.deprecationHandler != null) {\n        hooks.deprecationHandler(name, msg);\n    }\n    if (!deprecations[name]) {\n        warn(msg);\n        deprecations[name] = true;\n    }\n}\n\nhooks.suppressDeprecationWarnings = false;\nhooks.deprecationHandler = null;\n\nfunction isFunction(input) {\n    return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';\n}\n\nfunction set (config) {\n    var prop, i;\n    for (i in config) {\n        prop = config[i];\n        if (isFunction(prop)) {\n            this[i] = prop;\n        } else {\n            this['_' + i] = prop;\n        }\n    }\n    this._config = config;\n    // Lenient ordinal parsing accepts just a number in addition to\n    // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.\n    // TODO: Remove \"ordinalParse\" fallback in next major release.\n    this._dayOfMonthOrdinalParseLenient = new RegExp(\n        (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +\n            '|' + (/\\d{1,2}/).source);\n}\n\nfunction mergeConfigs(parentConfig, childConfig) {\n    var res = extend({}, parentConfig), prop;\n    for (prop in childConfig) {\n        if (hasOwnProp(childConfig, prop)) {\n            if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {\n                res[prop] = {};\n                extend(res[prop], parentConfig[prop]);\n                extend(res[prop], childConfig[prop]);\n            } else if (childConfig[prop] != null) {\n                res[prop] = childConfig[prop];\n            } else {\n                delete res[prop];\n            }\n        }\n    }\n    for (prop in parentConfig) {\n        if (hasOwnProp(parentConfig, prop) &&\n                !hasOwnProp(childConfig, prop) &&\n                isObject(parentConfig[prop])) {\n            // make sure changes to properties don't modify parent config\n            res[prop] = extend({}, res[prop]);\n        }\n    }\n    return res;\n}\n\nfunction Locale(config) {\n    if (config != null) {\n        this.set(config);\n    }\n}\n\nvar keys;\n\nif (Object.keys) {\n    keys = Object.keys;\n} else {\n    keys = function (obj) {\n        var i, res = [];\n        for (i in obj) {\n            if (hasOwnProp(obj, i)) {\n                res.push(i);\n            }\n        }\n        return res;\n    };\n}\n\nvar keys$1 = keys;\n\nvar defaultCalendar = {\n    sameDay : '[Today at] LT',\n    nextDay : '[Tomorrow at] LT',\n    nextWeek : 'dddd [at] LT',\n    lastDay : '[Yesterday at] LT',\n    lastWeek : '[Last] dddd [at] LT',\n    sameElse : 'L'\n};\n\nfunction calendar (key, mom, now) {\n    var output = this._calendar[key] || this._calendar['sameElse'];\n    return isFunction(output) ? output.call(mom, now) : output;\n}\n\nvar defaultLongDateFormat = {\n    LTS  : 'h:mm:ss A',\n    LT   : 'h:mm A',\n    L    : 'MM/DD/YYYY',\n    LL   : 'MMMM D, YYYY',\n    LLL  : 'MMMM D, YYYY h:mm A',\n    LLLL : 'dddd, MMMM D, YYYY h:mm A'\n};\n\nfunction longDateFormat (key) {\n    var format = this._longDateFormat[key],\n        formatUpper = this._longDateFormat[key.toUpperCase()];\n\n    if (format || !formatUpper) {\n        return format;\n    }\n\n    this._longDateFormat[key] = formatUpper.replace(/MMMM|MM|DD|dddd/g, function (val) {\n        return val.slice(1);\n    });\n\n    return this._longDateFormat[key];\n}\n\nvar defaultInvalidDate = 'Invalid date';\n\nfunction invalidDate () {\n    return this._invalidDate;\n}\n\nvar defaultOrdinal = '%d';\nvar defaultDayOfMonthOrdinalParse = /\\d{1,2}/;\n\nfunction ordinal (number) {\n    return this._ordinal.replace('%d', number);\n}\n\nvar defaultRelativeTime = {\n    future : 'in %s',\n    past   : '%s ago',\n    s  : 'a few seconds',\n    ss : '%d seconds',\n    m  : 'a minute',\n    mm : '%d minutes',\n    h  : 'an hour',\n    hh : '%d hours',\n    d  : 'a day',\n    dd : '%d days',\n    M  : 'a month',\n    MM : '%d months',\n    y  : 'a year',\n    yy : '%d years'\n};\n\nfunction relativeTime (number, withoutSuffix, string, isFuture) {\n    var output = this._relativeTime[string];\n    return (isFunction(output)) ?\n        output(number, withoutSuffix, string, isFuture) :\n        output.replace(/%d/i, number);\n}\n\nfunction pastFuture (diff, output) {\n    var format = this._relativeTime[diff > 0 ? 'future' : 'past'];\n    return isFunction(format) ? format(output) : format.replace(/%s/i, output);\n}\n\nvar aliases = {};\n\nfunction addUnitAlias (unit, shorthand) {\n    var lowerCase = unit.toLowerCase();\n    aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit;\n}\n\nfunction normalizeUnits(units) {\n    return typeof units === 'string' ? aliases[units] || aliases[units.toLowerCase()] : undefined;\n}\n\nfunction normalizeObjectUnits(inputObject) {\n    var normalizedInput = {},\n        normalizedProp,\n        prop;\n\n    for (prop in inputObject) {\n        if (hasOwnProp(inputObject, prop)) {\n            normalizedProp = normalizeUnits(prop);\n            if (normalizedProp) {\n                normalizedInput[normalizedProp] = inputObject[prop];\n            }\n        }\n    }\n\n    return normalizedInput;\n}\n\nvar priorities = {};\n\nfunction addUnitPriority(unit, priority) {\n    priorities[unit] = priority;\n}\n\nfunction getPrioritizedUnits(unitsObj) {\n    var units = [];\n    for (var u in unitsObj) {\n        units.push({unit: u, priority: priorities[u]});\n    }\n    units.sort(function (a, b) {\n        return a.priority - b.priority;\n    });\n    return units;\n}\n\nfunction makeGetSet (unit, keepTime) {\n    return function (value) {\n        if (value != null) {\n            set$1(this, unit, value);\n            hooks.updateOffset(this, keepTime);\n            return this;\n        } else {\n            return get(this, unit);\n        }\n    };\n}\n\nfunction get (mom, unit) {\n    return mom.isValid() ?\n        mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() : NaN;\n}\n\nfunction set$1 (mom, unit, value) {\n    if (mom.isValid()) {\n        mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value);\n    }\n}\n\n// MOMENTS\n\nfunction stringGet (units) {\n    units = normalizeUnits(units);\n    if (isFunction(this[units])) {\n        return this[units]();\n    }\n    return this;\n}\n\n\nfunction stringSet (units, value) {\n    if (typeof units === 'object') {\n        units = normalizeObjectUnits(units);\n        var prioritized = getPrioritizedUnits(units);\n        for (var i = 0; i < prioritized.length; i++) {\n            this[prioritized[i].unit](units[prioritized[i].unit]);\n        }\n    } else {\n        units = normalizeUnits(units);\n        if (isFunction(this[units])) {\n            return this[units](value);\n        }\n    }\n    return this;\n}\n\nfunction zeroFill(number, targetLength, forceSign) {\n    var absNumber = '' + Math.abs(number),\n        zerosToFill = targetLength - absNumber.length,\n        sign = number >= 0;\n    return (sign ? (forceSign ? '+' : '') : '-') +\n        Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber;\n}\n\nvar formattingTokens = /(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;\n\nvar localFormattingTokens = /(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g;\n\nvar formatFunctions = {};\n\nvar formatTokenFunctions = {};\n\n// token:    'M'\n// padded:   ['MM', 2]\n// ordinal:  'Mo'\n// callback: function () { this.month() + 1 }\nfunction addFormatToken (token, padded, ordinal, callback) {\n    var func = callback;\n    if (typeof callback === 'string') {\n        func = function () {\n            return this[callback]();\n        };\n    }\n    if (token) {\n        formatTokenFunctions[token] = func;\n    }\n    if (padded) {\n        formatTokenFunctions[padded[0]] = function () {\n            return zeroFill(func.apply(this, arguments), padded[1], padded[2]);\n        };\n    }\n    if (ordinal) {\n        formatTokenFunctions[ordinal] = function () {\n            return this.localeData().ordinal(func.apply(this, arguments), token);\n        };\n    }\n}\n\nfunction removeFormattingTokens(input) {\n    if (input.match(/\\[[\\s\\S]/)) {\n        return input.replace(/^\\[|\\]$/g, '');\n    }\n    return input.replace(/\\\\/g, '');\n}\n\nfunction makeFormatFunction(format) {\n    var array = format.match(formattingTokens), i, length;\n\n    for (i = 0, length = array.length; i < length; i++) {\n        if (formatTokenFunctions[array[i]]) {\n            array[i] = formatTokenFunctions[array[i]];\n        } else {\n            array[i] = removeFormattingTokens(array[i]);\n        }\n    }\n\n    return function (mom) {\n        var output = '', i;\n        for (i = 0; i < length; i++) {\n            output += isFunction(array[i]) ? array[i].call(mom, format) : array[i];\n        }\n        return output;\n    };\n}\n\n// format date using native date object\nfunction formatMoment(m, format) {\n    if (!m.isValid()) {\n        return m.localeData().invalidDate();\n    }\n\n    format = expandFormat(format, m.localeData());\n    formatFunctions[format] = formatFunctions[format] || makeFormatFunction(format);\n\n    return formatFunctions[format](m);\n}\n\nfunction expandFormat(format, locale) {\n    var i = 5;\n\n    function replaceLongDateFormatTokens(input) {\n        return locale.longDateFormat(input) || input;\n    }\n\n    localFormattingTokens.lastIndex = 0;\n    while (i >= 0 && localFormattingTokens.test(format)) {\n        format = format.replace(localFormattingTokens, replaceLongDateFormatTokens);\n        localFormattingTokens.lastIndex = 0;\n        i -= 1;\n    }\n\n    return format;\n}\n\nvar match1         = /\\d/;            //       0 - 9\nvar match2         = /\\d\\d/;          //      00 - 99\nvar match3         = /\\d{3}/;         //     000 - 999\nvar match4         = /\\d{4}/;         //    0000 - 9999\nvar match6         = /[+-]?\\d{6}/;    // -999999 - 999999\nvar match1to2      = /\\d\\d?/;         //       0 - 99\nvar match3to4      = /\\d\\d\\d\\d?/;     //     999 - 9999\nvar match5to6      = /\\d\\d\\d\\d\\d\\d?/; //   99999 - 999999\nvar match1to3      = /\\d{1,3}/;       //       0 - 999\nvar match1to4      = /\\d{1,4}/;       //       0 - 9999\nvar match1to6      = /[+-]?\\d{1,6}/;  // -999999 - 999999\n\nvar matchUnsigned  = /\\d+/;           //       0 - inf\nvar matchSigned    = /[+-]?\\d+/;      //    -inf - inf\n\nvar matchOffset    = /Z|[+-]\\d\\d:?\\d\\d/gi; // +00:00 -00:00 +0000 -0000 or Z\nvar matchShortOffset = /Z|[+-]\\d\\d(?::?\\d\\d)?/gi; // +00 -00 +00:00 -00:00 +0000 -0000 or Z\n\nvar matchTimestamp = /[+-]?\\d+(\\.\\d{1,3})?/; // 123456789 123456789.123\n\n// any word (or two) characters or numbers including two/three word month in arabic.\n// includes scottish gaelic two word and hyphenated months\nvar matchWord = /[0-9]*['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+|[\\u0600-\\u06FF\\/]+(\\s*?[\\u0600-\\u06FF]+){1,2}/i;\n\n\nvar regexes = {};\n\nfunction addRegexToken (token, regex, strictRegex) {\n    regexes[token] = isFunction(regex) ? regex : function (isStrict, localeData) {\n        return (isStrict && strictRegex) ? strictRegex : regex;\n    };\n}\n\nfunction getParseRegexForToken (token, config) {\n    if (!hasOwnProp(regexes, token)) {\n        return new RegExp(unescapeFormat(token));\n    }\n\n    return regexes[token](config._strict, config._locale);\n}\n\n// Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript\nfunction unescapeFormat(s) {\n    return regexEscape(s.replace('\\\\', '').replace(/\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g, function (matched, p1, p2, p3, p4) {\n        return p1 || p2 || p3 || p4;\n    }));\n}\n\nfunction regexEscape(s) {\n    return s.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n}\n\nvar tokens = {};\n\nfunction addParseToken (token, callback) {\n    var i, func = callback;\n    if (typeof token === 'string') {\n        token = [token];\n    }\n    if (isNumber(callback)) {\n        func = function (input, array) {\n            array[callback] = toInt(input);\n        };\n    }\n    for (i = 0; i < token.length; i++) {\n        tokens[token[i]] = func;\n    }\n}\n\nfunction addWeekParseToken (token, callback) {\n    addParseToken(token, function (input, array, config, token) {\n        config._w = config._w || {};\n        callback(input, config._w, config, token);\n    });\n}\n\nfunction addTimeToArrayFromToken(token, input, config) {\n    if (input != null && hasOwnProp(tokens, token)) {\n        tokens[token](input, config._a, config, token);\n    }\n}\n\nvar YEAR = 0;\nvar MONTH = 1;\nvar DATE = 2;\nvar HOUR = 3;\nvar MINUTE = 4;\nvar SECOND = 5;\nvar MILLISECOND = 6;\nvar WEEK = 7;\nvar WEEKDAY = 8;\n\nvar indexOf;\n\nif (Array.prototype.indexOf) {\n    indexOf = Array.prototype.indexOf;\n} else {\n    indexOf = function (o) {\n        // I know\n        var i;\n        for (i = 0; i < this.length; ++i) {\n            if (this[i] === o) {\n                return i;\n            }\n        }\n        return -1;\n    };\n}\n\nvar indexOf$1 = indexOf;\n\nfunction daysInMonth(year, month) {\n    return new Date(Date.UTC(year, month + 1, 0)).getUTCDate();\n}\n\n// FORMATTING\n\naddFormatToken('M', ['MM', 2], 'Mo', function () {\n    return this.month() + 1;\n});\n\naddFormatToken('MMM', 0, 0, function (format) {\n    return this.localeData().monthsShort(this, format);\n});\n\naddFormatToken('MMMM', 0, 0, function (format) {\n    return this.localeData().months(this, format);\n});\n\n// ALIASES\n\naddUnitAlias('month', 'M');\n\n// PRIORITY\n\naddUnitPriority('month', 8);\n\n// PARSING\n\naddRegexToken('M',    match1to2);\naddRegexToken('MM',   match1to2, match2);\naddRegexToken('MMM',  function (isStrict, locale) {\n    return locale.monthsShortRegex(isStrict);\n});\naddRegexToken('MMMM', function (isStrict, locale) {\n    return locale.monthsRegex(isStrict);\n});\n\naddParseToken(['M', 'MM'], function (input, array) {\n    array[MONTH] = toInt(input) - 1;\n});\n\naddParseToken(['MMM', 'MMMM'], function (input, array, config, token) {\n    var month = config._locale.monthsParse(input, token, config._strict);\n    // if we didn't find a month name, mark the date as invalid.\n    if (month != null) {\n        array[MONTH] = month;\n    } else {\n        getParsingFlags(config).invalidMonth = input;\n    }\n});\n\n// LOCALES\n\nvar MONTHS_IN_FORMAT = /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?/;\nvar defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_');\nfunction localeMonths (m, format) {\n    if (!m) {\n        return isArray(this._months) ? this._months :\n            this._months['standalone'];\n    }\n    return isArray(this._months) ? this._months[m.month()] :\n        this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'format' : 'standalone'][m.month()];\n}\n\nvar defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_');\nfunction localeMonthsShort (m, format) {\n    if (!m) {\n        return isArray(this._monthsShort) ? this._monthsShort :\n            this._monthsShort['standalone'];\n    }\n    return isArray(this._monthsShort) ? this._monthsShort[m.month()] :\n        this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()];\n}\n\nfunction handleStrictParse(monthName, format, strict) {\n    var i, ii, mom, llc = monthName.toLocaleLowerCase();\n    if (!this._monthsParse) {\n        // this is not used\n        this._monthsParse = [];\n        this._longMonthsParse = [];\n        this._shortMonthsParse = [];\n        for (i = 0; i < 12; ++i) {\n            mom = createUTC([2000, i]);\n            this._shortMonthsParse[i] = this.monthsShort(mom, '').toLocaleLowerCase();\n            this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();\n        }\n    }\n\n    if (strict) {\n        if (format === 'MMM') {\n            ii = indexOf$1.call(this._shortMonthsParse, llc);\n            return ii !== -1 ? ii : null;\n        } else {\n            ii = indexOf$1.call(this._longMonthsParse, llc);\n            return ii !== -1 ? ii : null;\n        }\n    } else {\n        if (format === 'MMM') {\n            ii = indexOf$1.call(this._shortMonthsParse, llc);\n            if (ii !== -1) {\n                return ii;\n            }\n            ii = indexOf$1.call(this._longMonthsParse, llc);\n            return ii !== -1 ? ii : null;\n        } else {\n            ii = indexOf$1.call(this._longMonthsParse, llc);\n            if (ii !== -1) {\n                return ii;\n            }\n            ii = indexOf$1.call(this._shortMonthsParse, llc);\n            return ii !== -1 ? ii : null;\n        }\n    }\n}\n\nfunction localeMonthsParse (monthName, format, strict) {\n    var i, mom, regex;\n\n    if (this._monthsParseExact) {\n        return handleStrictParse.call(this, monthName, format, strict);\n    }\n\n    if (!this._monthsParse) {\n        this._monthsParse = [];\n        this._longMonthsParse = [];\n        this._shortMonthsParse = [];\n    }\n\n    // TODO: add sorting\n    // Sorting makes sure if one month (or abbr) is a prefix of another\n    // see sorting in computeMonthsParse\n    for (i = 0; i < 12; i++) {\n        // make the regex if we don't have it already\n        mom = createUTC([2000, i]);\n        if (strict && !this._longMonthsParse[i]) {\n            this._longMonthsParse[i] = new RegExp('^' + this.months(mom, '').replace('.', '') + '$', 'i');\n            this._shortMonthsParse[i] = new RegExp('^' + this.monthsShort(mom, '').replace('.', '') + '$', 'i');\n        }\n        if (!strict && !this._monthsParse[i]) {\n            regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');\n            this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');\n        }\n        // test the regex\n        if (strict && format === 'MMMM' && this._longMonthsParse[i].test(monthName)) {\n            return i;\n        } else if (strict && format === 'MMM' && this._shortMonthsParse[i].test(monthName)) {\n            return i;\n        } else if (!strict && this._monthsParse[i].test(monthName)) {\n            return i;\n        }\n    }\n}\n\n// MOMENTS\n\nfunction setMonth (mom, value) {\n    var dayOfMonth;\n\n    if (!mom.isValid()) {\n        // No op\n        return mom;\n    }\n\n    if (typeof value === 'string') {\n        if (/^\\d+$/.test(value)) {\n            value = toInt(value);\n        } else {\n            value = mom.localeData().monthsParse(value);\n            // TODO: Another silent failure?\n            if (!isNumber(value)) {\n                return mom;\n            }\n        }\n    }\n\n    dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value));\n    mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth);\n    return mom;\n}\n\nfunction getSetMonth (value) {\n    if (value != null) {\n        setMonth(this, value);\n        hooks.updateOffset(this, true);\n        return this;\n    } else {\n        return get(this, 'Month');\n    }\n}\n\nfunction getDaysInMonth () {\n    return daysInMonth(this.year(), this.month());\n}\n\nvar defaultMonthsShortRegex = matchWord;\nfunction monthsShortRegex (isStrict) {\n    if (this._monthsParseExact) {\n        if (!hasOwnProp(this, '_monthsRegex')) {\n            computeMonthsParse.call(this);\n        }\n        if (isStrict) {\n            return this._monthsShortStrictRegex;\n        } else {\n            return this._monthsShortRegex;\n        }\n    } else {\n        if (!hasOwnProp(this, '_monthsShortRegex')) {\n            this._monthsShortRegex = defaultMonthsShortRegex;\n        }\n        return this._monthsShortStrictRegex && isStrict ?\n            this._monthsShortStrictRegex : this._monthsShortRegex;\n    }\n}\n\nvar defaultMonthsRegex = matchWord;\nfunction monthsRegex (isStrict) {\n    if (this._monthsParseExact) {\n        if (!hasOwnProp(this, '_monthsRegex')) {\n            computeMonthsParse.call(this);\n        }\n        if (isStrict) {\n            return this._monthsStrictRegex;\n        } else {\n            return this._monthsRegex;\n        }\n    } else {\n        if (!hasOwnProp(this, '_monthsRegex')) {\n            this._monthsRegex = defaultMonthsRegex;\n        }\n        return this._monthsStrictRegex && isStrict ?\n            this._monthsStrictRegex : this._monthsRegex;\n    }\n}\n\nfunction computeMonthsParse () {\n    function cmpLenRev(a, b) {\n        return b.length - a.length;\n    }\n\n    var shortPieces = [], longPieces = [], mixedPieces = [],\n        i, mom;\n    for (i = 0; i < 12; i++) {\n        // make the regex if we don't have it already\n        mom = createUTC([2000, i]);\n        shortPieces.push(this.monthsShort(mom, ''));\n        longPieces.push(this.months(mom, ''));\n        mixedPieces.push(this.months(mom, ''));\n        mixedPieces.push(this.monthsShort(mom, ''));\n    }\n    // Sorting makes sure if one month (or abbr) is a prefix of another it\n    // will match the longer piece.\n    shortPieces.sort(cmpLenRev);\n    longPieces.sort(cmpLenRev);\n    mixedPieces.sort(cmpLenRev);\n    for (i = 0; i < 12; i++) {\n        shortPieces[i] = regexEscape(shortPieces[i]);\n        longPieces[i] = regexEscape(longPieces[i]);\n    }\n    for (i = 0; i < 24; i++) {\n        mixedPieces[i] = regexEscape(mixedPieces[i]);\n    }\n\n    this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n    this._monthsShortRegex = this._monthsRegex;\n    this._monthsStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i');\n    this._monthsShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');\n}\n\n// FORMATTING\n\naddFormatToken('Y', 0, 0, function () {\n    var y = this.year();\n    return y <= 9999 ? '' + y : '+' + y;\n});\n\naddFormatToken(0, ['YY', 2], 0, function () {\n    return this.year() % 100;\n});\n\naddFormatToken(0, ['YYYY',   4],       0, 'year');\naddFormatToken(0, ['YYYYY',  5],       0, 'year');\naddFormatToken(0, ['YYYYYY', 6, true], 0, 'year');\n\n// ALIASES\n\naddUnitAlias('year', 'y');\n\n// PRIORITIES\n\naddUnitPriority('year', 1);\n\n// PARSING\n\naddRegexToken('Y',      matchSigned);\naddRegexToken('YY',     match1to2, match2);\naddRegexToken('YYYY',   match1to4, match4);\naddRegexToken('YYYYY',  match1to6, match6);\naddRegexToken('YYYYYY', match1to6, match6);\n\naddParseToken(['YYYYY', 'YYYYYY'], YEAR);\naddParseToken('YYYY', function (input, array) {\n    array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);\n});\naddParseToken('YY', function (input, array) {\n    array[YEAR] = hooks.parseTwoDigitYear(input);\n});\naddParseToken('Y', function (input, array) {\n    array[YEAR] = parseInt(input, 10);\n});\n\n// HELPERS\n\nfunction daysInYear(year) {\n    return isLeapYear(year) ? 366 : 365;\n}\n\nfunction isLeapYear(year) {\n    return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;\n}\n\n// HOOKS\n\nhooks.parseTwoDigitYear = function (input) {\n    return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);\n};\n\n// MOMENTS\n\nvar getSetYear = makeGetSet('FullYear', true);\n\nfunction getIsLeapYear () {\n    return isLeapYear(this.year());\n}\n\nfunction createDate (y, m, d, h, M, s, ms) {\n    // can't just apply() to create a date:\n    // https://stackoverflow.com/q/181348\n    var date = new Date(y, m, d, h, M, s, ms);\n\n    // the date constructor remaps years 0-99 to 1900-1999\n    if (y < 100 && y >= 0 && isFinite(date.getFullYear())) {\n        date.setFullYear(y);\n    }\n    return date;\n}\n\nfunction createUTCDate (y) {\n    var date = new Date(Date.UTC.apply(null, arguments));\n\n    // the Date.UTC function remaps years 0-99 to 1900-1999\n    if (y < 100 && y >= 0 && isFinite(date.getUTCFullYear())) {\n        date.setUTCFullYear(y);\n    }\n    return date;\n}\n\n// start-of-first-week - start-of-year\nfunction firstWeekOffset(year, dow, doy) {\n    var // first-week day -- which january is always in the first week (4 for iso, 1 for other)\n        fwd = 7 + dow - doy,\n        // first-week day local weekday -- which local weekday is fwd\n        fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;\n\n    return -fwdlw + fwd - 1;\n}\n\n// https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday\nfunction dayOfYearFromWeeks(year, week, weekday, dow, doy) {\n    var localWeekday = (7 + weekday - dow) % 7,\n        weekOffset = firstWeekOffset(year, dow, doy),\n        dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,\n        resYear, resDayOfYear;\n\n    if (dayOfYear <= 0) {\n        resYear = year - 1;\n        resDayOfYear = daysInYear(resYear) + dayOfYear;\n    } else if (dayOfYear > daysInYear(year)) {\n        resYear = year + 1;\n        resDayOfYear = dayOfYear - daysInYear(year);\n    } else {\n        resYear = year;\n        resDayOfYear = dayOfYear;\n    }\n\n    return {\n        year: resYear,\n        dayOfYear: resDayOfYear\n    };\n}\n\nfunction weekOfYear(mom, dow, doy) {\n    var weekOffset = firstWeekOffset(mom.year(), dow, doy),\n        week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,\n        resWeek, resYear;\n\n    if (week < 1) {\n        resYear = mom.year() - 1;\n        resWeek = week + weeksInYear(resYear, dow, doy);\n    } else if (week > weeksInYear(mom.year(), dow, doy)) {\n        resWeek = week - weeksInYear(mom.year(), dow, doy);\n        resYear = mom.year() + 1;\n    } else {\n        resYear = mom.year();\n        resWeek = week;\n    }\n\n    return {\n        week: resWeek,\n        year: resYear\n    };\n}\n\nfunction weeksInYear(year, dow, doy) {\n    var weekOffset = firstWeekOffset(year, dow, doy),\n        weekOffsetNext = firstWeekOffset(year + 1, dow, doy);\n    return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;\n}\n\n// FORMATTING\n\naddFormatToken('w', ['ww', 2], 'wo', 'week');\naddFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');\n\n// ALIASES\n\naddUnitAlias('week', 'w');\naddUnitAlias('isoWeek', 'W');\n\n// PRIORITIES\n\naddUnitPriority('week', 5);\naddUnitPriority('isoWeek', 5);\n\n// PARSING\n\naddRegexToken('w',  match1to2);\naddRegexToken('ww', match1to2, match2);\naddRegexToken('W',  match1to2);\naddRegexToken('WW', match1to2, match2);\n\naddWeekParseToken(['w', 'ww', 'W', 'WW'], function (input, week, config, token) {\n    week[token.substr(0, 1)] = toInt(input);\n});\n\n// HELPERS\n\n// LOCALES\n\nfunction localeWeek (mom) {\n    return weekOfYear(mom, this._week.dow, this._week.doy).week;\n}\n\nvar defaultLocaleWeek = {\n    dow : 0, // Sunday is the first day of the week.\n    doy : 6  // The week that contains Jan 1st is the first week of the year.\n};\n\nfunction localeFirstDayOfWeek () {\n    return this._week.dow;\n}\n\nfunction localeFirstDayOfYear () {\n    return this._week.doy;\n}\n\n// MOMENTS\n\nfunction getSetWeek (input) {\n    var week = this.localeData().week(this);\n    return input == null ? week : this.add((input - week) * 7, 'd');\n}\n\nfunction getSetISOWeek (input) {\n    var week = weekOfYear(this, 1, 4).week;\n    return input == null ? week : this.add((input - week) * 7, 'd');\n}\n\n// FORMATTING\n\naddFormatToken('d', 0, 'do', 'day');\n\naddFormatToken('dd', 0, 0, function (format) {\n    return this.localeData().weekdaysMin(this, format);\n});\n\naddFormatToken('ddd', 0, 0, function (format) {\n    return this.localeData().weekdaysShort(this, format);\n});\n\naddFormatToken('dddd', 0, 0, function (format) {\n    return this.localeData().weekdays(this, format);\n});\n\naddFormatToken('e', 0, 0, 'weekday');\naddFormatToken('E', 0, 0, 'isoWeekday');\n\n// ALIASES\n\naddUnitAlias('day', 'd');\naddUnitAlias('weekday', 'e');\naddUnitAlias('isoWeekday', 'E');\n\n// PRIORITY\naddUnitPriority('day', 11);\naddUnitPriority('weekday', 11);\naddUnitPriority('isoWeekday', 11);\n\n// PARSING\n\naddRegexToken('d',    match1to2);\naddRegexToken('e',    match1to2);\naddRegexToken('E',    match1to2);\naddRegexToken('dd',   function (isStrict, locale) {\n    return locale.weekdaysMinRegex(isStrict);\n});\naddRegexToken('ddd',   function (isStrict, locale) {\n    return locale.weekdaysShortRegex(isStrict);\n});\naddRegexToken('dddd',   function (isStrict, locale) {\n    return locale.weekdaysRegex(isStrict);\n});\n\naddWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {\n    var weekday = config._locale.weekdaysParse(input, token, config._strict);\n    // if we didn't get a weekday name, mark the date as invalid\n    if (weekday != null) {\n        week.d = weekday;\n    } else {\n        getParsingFlags(config).invalidWeekday = input;\n    }\n});\n\naddWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {\n    week[token] = toInt(input);\n});\n\n// HELPERS\n\nfunction parseWeekday(input, locale) {\n    if (typeof input !== 'string') {\n        return input;\n    }\n\n    if (!isNaN(input)) {\n        return parseInt(input, 10);\n    }\n\n    input = locale.weekdaysParse(input);\n    if (typeof input === 'number') {\n        return input;\n    }\n\n    return null;\n}\n\nfunction parseIsoWeekday(input, locale) {\n    if (typeof input === 'string') {\n        return locale.weekdaysParse(input) % 7 || 7;\n    }\n    return isNaN(input) ? null : input;\n}\n\n// LOCALES\n\nvar defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_');\nfunction localeWeekdays (m, format) {\n    if (!m) {\n        return isArray(this._weekdays) ? this._weekdays :\n            this._weekdays['standalone'];\n    }\n    return isArray(this._weekdays) ? this._weekdays[m.day()] :\n        this._weekdays[this._weekdays.isFormat.test(format) ? 'format' : 'standalone'][m.day()];\n}\n\nvar defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_');\nfunction localeWeekdaysShort (m) {\n    return (m) ? this._weekdaysShort[m.day()] : this._weekdaysShort;\n}\n\nvar defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_');\nfunction localeWeekdaysMin (m) {\n    return (m) ? this._weekdaysMin[m.day()] : this._weekdaysMin;\n}\n\nfunction handleStrictParse$1(weekdayName, format, strict) {\n    var i, ii, mom, llc = weekdayName.toLocaleLowerCase();\n    if (!this._weekdaysParse) {\n        this._weekdaysParse = [];\n        this._shortWeekdaysParse = [];\n        this._minWeekdaysParse = [];\n\n        for (i = 0; i < 7; ++i) {\n            mom = createUTC([2000, 1]).day(i);\n            this._minWeekdaysParse[i] = this.weekdaysMin(mom, '').toLocaleLowerCase();\n            this._shortWeekdaysParse[i] = this.weekdaysShort(mom, '').toLocaleLowerCase();\n            this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();\n        }\n    }\n\n    if (strict) {\n        if (format === 'dddd') {\n            ii = indexOf$1.call(this._weekdaysParse, llc);\n            return ii !== -1 ? ii : null;\n        } else if (format === 'ddd') {\n            ii = indexOf$1.call(this._shortWeekdaysParse, llc);\n            return ii !== -1 ? ii : null;\n        } else {\n            ii = indexOf$1.call(this._minWeekdaysParse, llc);\n            return ii !== -1 ? ii : null;\n        }\n    } else {\n        if (format === 'dddd') {\n            ii = indexOf$1.call(this._weekdaysParse, llc);\n            if (ii !== -1) {\n                return ii;\n            }\n            ii = indexOf$1.call(this._shortWeekdaysParse, llc);\n            if (ii !== -1) {\n                return ii;\n            }\n            ii = indexOf$1.call(this._minWeekdaysParse, llc);\n            return ii !== -1 ? ii : null;\n        } else if (format === 'ddd') {\n            ii = indexOf$1.call(this._shortWeekdaysParse, llc);\n            if (ii !== -1) {\n                return ii;\n            }\n            ii = indexOf$1.call(this._weekdaysParse, llc);\n            if (ii !== -1) {\n                return ii;\n            }\n            ii = indexOf$1.call(this._minWeekdaysParse, llc);\n            return ii !== -1 ? ii : null;\n        } else {\n            ii = indexOf$1.call(this._minWeekdaysParse, llc);\n            if (ii !== -1) {\n                return ii;\n            }\n            ii = indexOf$1.call(this._weekdaysParse, llc);\n            if (ii !== -1) {\n                return ii;\n            }\n            ii = indexOf$1.call(this._shortWeekdaysParse, llc);\n            return ii !== -1 ? ii : null;\n        }\n    }\n}\n\nfunction localeWeekdaysParse (weekdayName, format, strict) {\n    var i, mom, regex;\n\n    if (this._weekdaysParseExact) {\n        return handleStrictParse$1.call(this, weekdayName, format, strict);\n    }\n\n    if (!this._weekdaysParse) {\n        this._weekdaysParse = [];\n        this._minWeekdaysParse = [];\n        this._shortWeekdaysParse = [];\n        this._fullWeekdaysParse = [];\n    }\n\n    for (i = 0; i < 7; i++) {\n        // make the regex if we don't have it already\n\n        mom = createUTC([2000, 1]).day(i);\n        if (strict && !this._fullWeekdaysParse[i]) {\n            this._fullWeekdaysParse[i] = new RegExp('^' + this.weekdays(mom, '').replace('.', '\\.?') + '$', 'i');\n            this._shortWeekdaysParse[i] = new RegExp('^' + this.weekdaysShort(mom, '').replace('.', '\\.?') + '$', 'i');\n            this._minWeekdaysParse[i] = new RegExp('^' + this.weekdaysMin(mom, '').replace('.', '\\.?') + '$', 'i');\n        }\n        if (!this._weekdaysParse[i]) {\n            regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, '');\n            this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');\n        }\n        // test the regex\n        if (strict && format === 'dddd' && this._fullWeekdaysParse[i].test(weekdayName)) {\n            return i;\n        } else if (strict && format === 'ddd' && this._shortWeekdaysParse[i].test(weekdayName)) {\n            return i;\n        } else if (strict && format === 'dd' && this._minWeekdaysParse[i].test(weekdayName)) {\n            return i;\n        } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {\n            return i;\n        }\n    }\n}\n\n// MOMENTS\n\nfunction getSetDayOfWeek (input) {\n    if (!this.isValid()) {\n        return input != null ? this : NaN;\n    }\n    var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay();\n    if (input != null) {\n        input = parseWeekday(input, this.localeData());\n        return this.add(input - day, 'd');\n    } else {\n        return day;\n    }\n}\n\nfunction getSetLocaleDayOfWeek (input) {\n    if (!this.isValid()) {\n        return input != null ? this : NaN;\n    }\n    var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;\n    return input == null ? weekday : this.add(input - weekday, 'd');\n}\n\nfunction getSetISODayOfWeek (input) {\n    if (!this.isValid()) {\n        return input != null ? this : NaN;\n    }\n\n    // behaves the same as moment#day except\n    // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)\n    // as a setter, sunday should belong to the previous week.\n\n    if (input != null) {\n        var weekday = parseIsoWeekday(input, this.localeData());\n        return this.day(this.day() % 7 ? weekday : weekday - 7);\n    } else {\n        return this.day() || 7;\n    }\n}\n\nvar defaultWeekdaysRegex = matchWord;\nfunction weekdaysRegex (isStrict) {\n    if (this._weekdaysParseExact) {\n        if (!hasOwnProp(this, '_weekdaysRegex')) {\n            computeWeekdaysParse.call(this);\n        }\n        if (isStrict) {\n            return this._weekdaysStrictRegex;\n        } else {\n            return this._weekdaysRegex;\n        }\n    } else {\n        if (!hasOwnProp(this, '_weekdaysRegex')) {\n            this._weekdaysRegex = defaultWeekdaysRegex;\n        }\n        return this._weekdaysStrictRegex && isStrict ?\n            this._weekdaysStrictRegex : this._weekdaysRegex;\n    }\n}\n\nvar defaultWeekdaysShortRegex = matchWord;\nfunction weekdaysShortRegex (isStrict) {\n    if (this._weekdaysParseExact) {\n        if (!hasOwnProp(this, '_weekdaysRegex')) {\n            computeWeekdaysParse.call(this);\n        }\n        if (isStrict) {\n            return this._weekdaysShortStrictRegex;\n        } else {\n            return this._weekdaysShortRegex;\n        }\n    } else {\n        if (!hasOwnProp(this, '_weekdaysShortRegex')) {\n            this._weekdaysShortRegex = defaultWeekdaysShortRegex;\n        }\n        return this._weekdaysShortStrictRegex && isStrict ?\n            this._weekdaysShortStrictRegex : this._weekdaysShortRegex;\n    }\n}\n\nvar defaultWeekdaysMinRegex = matchWord;\nfunction weekdaysMinRegex (isStrict) {\n    if (this._weekdaysParseExact) {\n        if (!hasOwnProp(this, '_weekdaysRegex')) {\n            computeWeekdaysParse.call(this);\n        }\n        if (isStrict) {\n            return this._weekdaysMinStrictRegex;\n        } else {\n            return this._weekdaysMinRegex;\n        }\n    } else {\n        if (!hasOwnProp(this, '_weekdaysMinRegex')) {\n            this._weekdaysMinRegex = defaultWeekdaysMinRegex;\n        }\n        return this._weekdaysMinStrictRegex && isStrict ?\n            this._weekdaysMinStrictRegex : this._weekdaysMinRegex;\n    }\n}\n\n\nfunction computeWeekdaysParse () {\n    function cmpLenRev(a, b) {\n        return b.length - a.length;\n    }\n\n    var minPieces = [], shortPieces = [], longPieces = [], mixedPieces = [],\n        i, mom, minp, shortp, longp;\n    for (i = 0; i < 7; i++) {\n        // make the regex if we don't have it already\n        mom = createUTC([2000, 1]).day(i);\n        minp = this.weekdaysMin(mom, '');\n        shortp = this.weekdaysShort(mom, '');\n        longp = this.weekdays(mom, '');\n        minPieces.push(minp);\n        shortPieces.push(shortp);\n        longPieces.push(longp);\n        mixedPieces.push(minp);\n        mixedPieces.push(shortp);\n        mixedPieces.push(longp);\n    }\n    // Sorting makes sure if one weekday (or abbr) is a prefix of another it\n    // will match the longer piece.\n    minPieces.sort(cmpLenRev);\n    shortPieces.sort(cmpLenRev);\n    longPieces.sort(cmpLenRev);\n    mixedPieces.sort(cmpLenRev);\n    for (i = 0; i < 7; i++) {\n        shortPieces[i] = regexEscape(shortPieces[i]);\n        longPieces[i] = regexEscape(longPieces[i]);\n        mixedPieces[i] = regexEscape(mixedPieces[i]);\n    }\n\n    this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n    this._weekdaysShortRegex = this._weekdaysRegex;\n    this._weekdaysMinRegex = this._weekdaysRegex;\n\n    this._weekdaysStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i');\n    this._weekdaysShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');\n    this._weekdaysMinStrictRegex = new RegExp('^(' + minPieces.join('|') + ')', 'i');\n}\n\n// FORMATTING\n\nfunction hFormat() {\n    return this.hours() % 12 || 12;\n}\n\nfunction kFormat() {\n    return this.hours() || 24;\n}\n\naddFormatToken('H', ['HH', 2], 0, 'hour');\naddFormatToken('h', ['hh', 2], 0, hFormat);\naddFormatToken('k', ['kk', 2], 0, kFormat);\n\naddFormatToken('hmm', 0, 0, function () {\n    return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);\n});\n\naddFormatToken('hmmss', 0, 0, function () {\n    return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2) +\n        zeroFill(this.seconds(), 2);\n});\n\naddFormatToken('Hmm', 0, 0, function () {\n    return '' + this.hours() + zeroFill(this.minutes(), 2);\n});\n\naddFormatToken('Hmmss', 0, 0, function () {\n    return '' + this.hours() + zeroFill(this.minutes(), 2) +\n        zeroFill(this.seconds(), 2);\n});\n\nfunction meridiem (token, lowercase) {\n    addFormatToken(token, 0, 0, function () {\n        return this.localeData().meridiem(this.hours(), this.minutes(), lowercase);\n    });\n}\n\nmeridiem('a', true);\nmeridiem('A', false);\n\n// ALIASES\n\naddUnitAlias('hour', 'h');\n\n// PRIORITY\naddUnitPriority('hour', 13);\n\n// PARSING\n\nfunction matchMeridiem (isStrict, locale) {\n    return locale._meridiemParse;\n}\n\naddRegexToken('a',  matchMeridiem);\naddRegexToken('A',  matchMeridiem);\naddRegexToken('H',  match1to2);\naddRegexToken('h',  match1to2);\naddRegexToken('k',  match1to2);\naddRegexToken('HH', match1to2, match2);\naddRegexToken('hh', match1to2, match2);\naddRegexToken('kk', match1to2, match2);\n\naddRegexToken('hmm', match3to4);\naddRegexToken('hmmss', match5to6);\naddRegexToken('Hmm', match3to4);\naddRegexToken('Hmmss', match5to6);\n\naddParseToken(['H', 'HH'], HOUR);\naddParseToken(['k', 'kk'], function (input, array, config) {\n    var kInput = toInt(input);\n    array[HOUR] = kInput === 24 ? 0 : kInput;\n});\naddParseToken(['a', 'A'], function (input, array, config) {\n    config._isPm = config._locale.isPM(input);\n    config._meridiem = input;\n});\naddParseToken(['h', 'hh'], function (input, array, config) {\n    array[HOUR] = toInt(input);\n    getParsingFlags(config).bigHour = true;\n});\naddParseToken('hmm', function (input, array, config) {\n    var pos = input.length - 2;\n    array[HOUR] = toInt(input.substr(0, pos));\n    array[MINUTE] = toInt(input.substr(pos));\n    getParsingFlags(config).bigHour = true;\n});\naddParseToken('hmmss', function (input, array, config) {\n    var pos1 = input.length - 4;\n    var pos2 = input.length - 2;\n    array[HOUR] = toInt(input.substr(0, pos1));\n    array[MINUTE] = toInt(input.substr(pos1, 2));\n    array[SECOND] = toInt(input.substr(pos2));\n    getParsingFlags(config).bigHour = true;\n});\naddParseToken('Hmm', function (input, array, config) {\n    var pos = input.length - 2;\n    array[HOUR] = toInt(input.substr(0, pos));\n    array[MINUTE] = toInt(input.substr(pos));\n});\naddParseToken('Hmmss', function (input, array, config) {\n    var pos1 = input.length - 4;\n    var pos2 = input.length - 2;\n    array[HOUR] = toInt(input.substr(0, pos1));\n    array[MINUTE] = toInt(input.substr(pos1, 2));\n    array[SECOND] = toInt(input.substr(pos2));\n});\n\n// LOCALES\n\nfunction localeIsPM (input) {\n    // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays\n    // Using charAt should be more compatible.\n    return ((input + '').toLowerCase().charAt(0) === 'p');\n}\n\nvar defaultLocaleMeridiemParse = /[ap]\\.?m?\\.?/i;\nfunction localeMeridiem (hours, minutes, isLower) {\n    if (hours > 11) {\n        return isLower ? 'pm' : 'PM';\n    } else {\n        return isLower ? 'am' : 'AM';\n    }\n}\n\n\n// MOMENTS\n\n// Setting the hour should keep the time, because the user explicitly\n// specified which hour he wants. So trying to maintain the same hour (in\n// a new timezone) makes sense. Adding/subtracting hours does not follow\n// this rule.\nvar getSetHour = makeGetSet('Hours', true);\n\n// months\n// week\n// weekdays\n// meridiem\nvar baseConfig = {\n    calendar: defaultCalendar,\n    longDateFormat: defaultLongDateFormat,\n    invalidDate: defaultInvalidDate,\n    ordinal: defaultOrdinal,\n    dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,\n    relativeTime: defaultRelativeTime,\n\n    months: defaultLocaleMonths,\n    monthsShort: defaultLocaleMonthsShort,\n\n    week: defaultLocaleWeek,\n\n    weekdays: defaultLocaleWeekdays,\n    weekdaysMin: defaultLocaleWeekdaysMin,\n    weekdaysShort: defaultLocaleWeekdaysShort,\n\n    meridiemParse: defaultLocaleMeridiemParse\n};\n\n// internal storage for locale config files\nvar locales = {};\nvar localeFamilies = {};\nvar globalLocale;\n\nfunction normalizeLocale(key) {\n    return key ? key.toLowerCase().replace('_', '-') : key;\n}\n\n// pick the locale from the array\n// try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each\n// substring from most specific to least, but move to the next array item if it's a more specific variant than the current root\nfunction chooseLocale(names) {\n    var i = 0, j, next, locale, split;\n\n    while (i < names.length) {\n        split = normalizeLocale(names[i]).split('-');\n        j = split.length;\n        next = normalizeLocale(names[i + 1]);\n        next = next ? next.split('-') : null;\n        while (j > 0) {\n            locale = loadLocale(split.slice(0, j).join('-'));\n            if (locale) {\n                return locale;\n            }\n            if (next && next.length >= j && compareArrays(split, next, true) >= j - 1) {\n                //the next array item is better than a shallower substring of this one\n                break;\n            }\n            j--;\n        }\n        i++;\n    }\n    return null;\n}\n\nfunction loadLocale(name) {\n    var oldLocale = null;\n    // TODO: Find a better way to register and load all the locales in Node\n    if (!locales[name] && (typeof module !== 'undefined') &&\n            module && module.exports) {\n        try {\n            oldLocale = globalLocale._abbr;\n            require('./locale/' + name);\n            // because defineLocale currently also sets the global locale, we\n            // want to undo that for lazy loaded locales\n            getSetGlobalLocale(oldLocale);\n        } catch (e) { }\n    }\n    return locales[name];\n}\n\n// This function will load locale and then set the global locale.  If\n// no arguments are passed in, it will simply return the current global\n// locale key.\nfunction getSetGlobalLocale (key, values) {\n    var data;\n    if (key) {\n        if (isUndefined(values)) {\n            data = getLocale(key);\n        }\n        else {\n            data = defineLocale(key, values);\n        }\n\n        if (data) {\n            // moment.duration._locale = moment._locale = data;\n            globalLocale = data;\n        }\n    }\n\n    return globalLocale._abbr;\n}\n\nfunction defineLocale (name, config) {\n    if (config !== null) {\n        var parentConfig = baseConfig;\n        config.abbr = name;\n        if (locales[name] != null) {\n            deprecateSimple('defineLocaleOverride',\n                    'use moment.updateLocale(localeName, config) to change ' +\n                    'an existing locale. moment.defineLocale(localeName, ' +\n                    'config) should only be used for creating a new locale ' +\n                    'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.');\n            parentConfig = locales[name]._config;\n        } else if (config.parentLocale != null) {\n            if (locales[config.parentLocale] != null) {\n                parentConfig = locales[config.parentLocale]._config;\n            } else {\n                if (!localeFamilies[config.parentLocale]) {\n                    localeFamilies[config.parentLocale] = [];\n                }\n                localeFamilies[config.parentLocale].push({\n                    name: name,\n                    config: config\n                });\n                return null;\n            }\n        }\n        locales[name] = new Locale(mergeConfigs(parentConfig, config));\n\n        if (localeFamilies[name]) {\n            localeFamilies[name].forEach(function (x) {\n                defineLocale(x.name, x.config);\n            });\n        }\n\n        // backwards compat for now: also set the locale\n        // make sure we set the locale AFTER all child locales have been\n        // created, so we won't end up with the child locale set.\n        getSetGlobalLocale(name);\n\n\n        return locales[name];\n    } else {\n        // useful for testing\n        delete locales[name];\n        return null;\n    }\n}\n\nfunction updateLocale(name, config) {\n    if (config != null) {\n        var locale, parentConfig = baseConfig;\n        // MERGE\n        if (locales[name] != null) {\n            parentConfig = locales[name]._config;\n        }\n        config = mergeConfigs(parentConfig, config);\n        locale = new Locale(config);\n        locale.parentLocale = locales[name];\n        locales[name] = locale;\n\n        // backwards compat for now: also set the locale\n        getSetGlobalLocale(name);\n    } else {\n        // pass null for config to unupdate, useful for tests\n        if (locales[name] != null) {\n            if (locales[name].parentLocale != null) {\n                locales[name] = locales[name].parentLocale;\n            } else if (locales[name] != null) {\n                delete locales[name];\n            }\n        }\n    }\n    return locales[name];\n}\n\n// returns locale data\nfunction getLocale (key) {\n    var locale;\n\n    if (key && key._locale && key._locale._abbr) {\n        key = key._locale._abbr;\n    }\n\n    if (!key) {\n        return globalLocale;\n    }\n\n    if (!isArray(key)) {\n        //short-circuit everything else\n        locale = loadLocale(key);\n        if (locale) {\n            return locale;\n        }\n        key = [key];\n    }\n\n    return chooseLocale(key);\n}\n\nfunction listLocales() {\n    return keys$1(locales);\n}\n\nfunction checkOverflow (m) {\n    var overflow;\n    var a = m._a;\n\n    if (a && getParsingFlags(m).overflow === -2) {\n        overflow =\n            a[MONTH]       < 0 || a[MONTH]       > 11  ? MONTH :\n            a[DATE]        < 1 || a[DATE]        > daysInMonth(a[YEAR], a[MONTH]) ? DATE :\n            a[HOUR]        < 0 || a[HOUR]        > 24 || (a[HOUR] === 24 && (a[MINUTE] !== 0 || a[SECOND] !== 0 || a[MILLISECOND] !== 0)) ? HOUR :\n            a[MINUTE]      < 0 || a[MINUTE]      > 59  ? MINUTE :\n            a[SECOND]      < 0 || a[SECOND]      > 59  ? SECOND :\n            a[MILLISECOND] < 0 || a[MILLISECOND] > 999 ? MILLISECOND :\n            -1;\n\n        if (getParsingFlags(m)._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) {\n            overflow = DATE;\n        }\n        if (getParsingFlags(m)._overflowWeeks && overflow === -1) {\n            overflow = WEEK;\n        }\n        if (getParsingFlags(m)._overflowWeekday && overflow === -1) {\n            overflow = WEEKDAY;\n        }\n\n        getParsingFlags(m).overflow = overflow;\n    }\n\n    return m;\n}\n\n// iso 8601 regex\n// 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)\nvar extendedIsoRegex = /^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([\\+\\-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/;\nvar basicIsoRegex = /^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([\\+\\-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/;\n\nvar tzRegex = /Z|[+-]\\d\\d(?::?\\d\\d)?/;\n\nvar isoDates = [\n    ['YYYYYY-MM-DD', /[+-]\\d{6}-\\d\\d-\\d\\d/],\n    ['YYYY-MM-DD', /\\d{4}-\\d\\d-\\d\\d/],\n    ['GGGG-[W]WW-E', /\\d{4}-W\\d\\d-\\d/],\n    ['GGGG-[W]WW', /\\d{4}-W\\d\\d/, false],\n    ['YYYY-DDD', /\\d{4}-\\d{3}/],\n    ['YYYY-MM', /\\d{4}-\\d\\d/, false],\n    ['YYYYYYMMDD', /[+-]\\d{10}/],\n    ['YYYYMMDD', /\\d{8}/],\n    // YYYYMM is NOT allowed by the standard\n    ['GGGG[W]WWE', /\\d{4}W\\d{3}/],\n    ['GGGG[W]WW', /\\d{4}W\\d{2}/, false],\n    ['YYYYDDD', /\\d{7}/]\n];\n\n// iso time formats and regexes\nvar isoTimes = [\n    ['HH:mm:ss.SSSS', /\\d\\d:\\d\\d:\\d\\d\\.\\d+/],\n    ['HH:mm:ss,SSSS', /\\d\\d:\\d\\d:\\d\\d,\\d+/],\n    ['HH:mm:ss', /\\d\\d:\\d\\d:\\d\\d/],\n    ['HH:mm', /\\d\\d:\\d\\d/],\n    ['HHmmss.SSSS', /\\d\\d\\d\\d\\d\\d\\.\\d+/],\n    ['HHmmss,SSSS', /\\d\\d\\d\\d\\d\\d,\\d+/],\n    ['HHmmss', /\\d\\d\\d\\d\\d\\d/],\n    ['HHmm', /\\d\\d\\d\\d/],\n    ['HH', /\\d\\d/]\n];\n\nvar aspNetJsonRegex = /^\\/?Date\\((\\-?\\d+)/i;\n\n// date from iso format\nfunction configFromISO(config) {\n    var i, l,\n        string = config._i,\n        match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),\n        allowTime, dateFormat, timeFormat, tzFormat;\n\n    if (match) {\n        getParsingFlags(config).iso = true;\n\n        for (i = 0, l = isoDates.length; i < l; i++) {\n            if (isoDates[i][1].exec(match[1])) {\n                dateFormat = isoDates[i][0];\n                allowTime = isoDates[i][2] !== false;\n                break;\n            }\n        }\n        if (dateFormat == null) {\n            config._isValid = false;\n            return;\n        }\n        if (match[3]) {\n            for (i = 0, l = isoTimes.length; i < l; i++) {\n                if (isoTimes[i][1].exec(match[3])) {\n                    // match[2] should be 'T' or space\n                    timeFormat = (match[2] || ' ') + isoTimes[i][0];\n                    break;\n                }\n            }\n            if (timeFormat == null) {\n                config._isValid = false;\n                return;\n            }\n        }\n        if (!allowTime && timeFormat != null) {\n            config._isValid = false;\n            return;\n        }\n        if (match[4]) {\n            if (tzRegex.exec(match[4])) {\n                tzFormat = 'Z';\n            } else {\n                config._isValid = false;\n                return;\n            }\n        }\n        config._f = dateFormat + (timeFormat || '') + (tzFormat || '');\n        configFromStringAndFormat(config);\n    } else {\n        config._isValid = false;\n    }\n}\n\n// RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3\nvar basicRfcRegex = /^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\\s)?(\\d?\\d\\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s(?:\\d\\d)?\\d\\d\\s)(\\d\\d:\\d\\d)(\\:\\d\\d)?(\\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\\d{4}))$/;\n\n// date and time from ref 2822 format\nfunction configFromRFC2822(config) {\n    var string, match, dayFormat,\n        dateFormat, timeFormat, tzFormat;\n    var timezones = {\n        ' GMT': ' +0000',\n        ' EDT': ' -0400',\n        ' EST': ' -0500',\n        ' CDT': ' -0500',\n        ' CST': ' -0600',\n        ' MDT': ' -0600',\n        ' MST': ' -0700',\n        ' PDT': ' -0700',\n        ' PST': ' -0800'\n    };\n    var military = 'YXWVUTSRQPONZABCDEFGHIKLM';\n    var timezone, timezoneIndex;\n\n    string = config._i\n        .replace(/\\([^\\)]*\\)|[\\n\\t]/g, ' ') // Remove comments and folding whitespace\n        .replace(/(\\s\\s+)/g, ' ') // Replace multiple-spaces with a single space\n        .replace(/^\\s|\\s$/g, ''); // Remove leading and trailing spaces\n    match = basicRfcRegex.exec(string);\n\n    if (match) {\n        dayFormat = match[1] ? 'ddd' + ((match[1].length === 5) ? ', ' : ' ') : '';\n        dateFormat = 'D MMM ' + ((match[2].length > 10) ? 'YYYY ' : 'YY ');\n        timeFormat = 'HH:mm' + (match[4] ? ':ss' : '');\n\n        // TODO: Replace the vanilla JS Date object with an indepentent day-of-week check.\n        if (match[1]) { // day of week given\n            var momentDate = new Date(match[2]);\n            var momentDay = ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'][momentDate.getDay()];\n\n            if (match[1].substr(0,3) !== momentDay) {\n                getParsingFlags(config).weekdayMismatch = true;\n                config._isValid = false;\n                return;\n            }\n        }\n\n        switch (match[5].length) {\n            case 2: // military\n                if (timezoneIndex === 0) {\n                    timezone = ' +0000';\n                } else {\n                    timezoneIndex = military.indexOf(match[5][1].toUpperCase()) - 12;\n                    timezone = ((timezoneIndex < 0) ? ' -' : ' +') +\n                        (('' + timezoneIndex).replace(/^-?/, '0')).match(/..$/)[0] + '00';\n                }\n                break;\n            case 4: // Zone\n                timezone = timezones[match[5]];\n                break;\n            default: // UT or +/-9999\n                timezone = timezones[' GMT'];\n        }\n        match[5] = timezone;\n        config._i = match.splice(1).join('');\n        tzFormat = ' ZZ';\n        config._f = dayFormat + dateFormat + timeFormat + tzFormat;\n        configFromStringAndFormat(config);\n        getParsingFlags(config).rfc2822 = true;\n    } else {\n        config._isValid = false;\n    }\n}\n\n// date from iso format or fallback\nfunction configFromString(config) {\n    var matched = aspNetJsonRegex.exec(config._i);\n\n    if (matched !== null) {\n        config._d = new Date(+matched[1]);\n        return;\n    }\n\n    configFromISO(config);\n    if (config._isValid === false) {\n        delete config._isValid;\n    } else {\n        return;\n    }\n\n    configFromRFC2822(config);\n    if (config._isValid === false) {\n        delete config._isValid;\n    } else {\n        return;\n    }\n\n    // Final attempt, use Input Fallback\n    hooks.createFromInputFallback(config);\n}\n\nhooks.createFromInputFallback = deprecate(\n    'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' +\n    'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' +\n    'discouraged and will be removed in an upcoming major release. Please refer to ' +\n    'http://momentjs.com/guides/#/warnings/js-date/ for more info.',\n    function (config) {\n        config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));\n    }\n);\n\n// Pick the first defined of two or three arguments.\nfunction defaults(a, b, c) {\n    if (a != null) {\n        return a;\n    }\n    if (b != null) {\n        return b;\n    }\n    return c;\n}\n\nfunction currentDateArray(config) {\n    // hooks is actually the exported moment object\n    var nowValue = new Date(hooks.now());\n    if (config._useUTC) {\n        return [nowValue.getUTCFullYear(), nowValue.getUTCMonth(), nowValue.getUTCDate()];\n    }\n    return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];\n}\n\n// convert an array to a date.\n// the array should mirror the parameters below\n// note: all values past the year are optional and will default to the lowest possible value.\n// [year, month, day , hour, minute, second, millisecond]\nfunction configFromArray (config) {\n    var i, date, input = [], currentDate, yearToUse;\n\n    if (config._d) {\n        return;\n    }\n\n    currentDate = currentDateArray(config);\n\n    //compute day of the year from weeks and weekdays\n    if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {\n        dayOfYearFromWeekInfo(config);\n    }\n\n    //if the day of the year is set, figure out what it is\n    if (config._dayOfYear != null) {\n        yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);\n\n        if (config._dayOfYear > daysInYear(yearToUse) || config._dayOfYear === 0) {\n            getParsingFlags(config)._overflowDayOfYear = true;\n        }\n\n        date = createUTCDate(yearToUse, 0, config._dayOfYear);\n        config._a[MONTH] = date.getUTCMonth();\n        config._a[DATE] = date.getUTCDate();\n    }\n\n    // Default to current date.\n    // * if no year, month, day of month are given, default to today\n    // * if day of month is given, default month and year\n    // * if month is given, default only year\n    // * if year is given, don't default anything\n    for (i = 0; i < 3 && config._a[i] == null; ++i) {\n        config._a[i] = input[i] = currentDate[i];\n    }\n\n    // Zero out whatever was not defaulted, including time\n    for (; i < 7; i++) {\n        config._a[i] = input[i] = (config._a[i] == null) ? (i === 2 ? 1 : 0) : config._a[i];\n    }\n\n    // Check for 24:00:00.000\n    if (config._a[HOUR] === 24 &&\n            config._a[MINUTE] === 0 &&\n            config._a[SECOND] === 0 &&\n            config._a[MILLISECOND] === 0) {\n        config._nextDay = true;\n        config._a[HOUR] = 0;\n    }\n\n    config._d = (config._useUTC ? createUTCDate : createDate).apply(null, input);\n    // Apply timezone offset from input. The actual utcOffset can be changed\n    // with parseZone.\n    if (config._tzm != null) {\n        config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n    }\n\n    if (config._nextDay) {\n        config._a[HOUR] = 24;\n    }\n}\n\nfunction dayOfYearFromWeekInfo(config) {\n    var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow;\n\n    w = config._w;\n    if (w.GG != null || w.W != null || w.E != null) {\n        dow = 1;\n        doy = 4;\n\n        // TODO: We need to take the current isoWeekYear, but that depends on\n        // how we interpret now (local, utc, fixed offset). So create\n        // a now version of current config (take local/utc/offset flags, and\n        // create now).\n        weekYear = defaults(w.GG, config._a[YEAR], weekOfYear(createLocal(), 1, 4).year);\n        week = defaults(w.W, 1);\n        weekday = defaults(w.E, 1);\n        if (weekday < 1 || weekday > 7) {\n            weekdayOverflow = true;\n        }\n    } else {\n        dow = config._locale._week.dow;\n        doy = config._locale._week.doy;\n\n        var curWeek = weekOfYear(createLocal(), dow, doy);\n\n        weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);\n\n        // Default to current week.\n        week = defaults(w.w, curWeek.week);\n\n        if (w.d != null) {\n            // weekday -- low day numbers are considered next week\n            weekday = w.d;\n            if (weekday < 0 || weekday > 6) {\n                weekdayOverflow = true;\n            }\n        } else if (w.e != null) {\n            // local weekday -- counting starts from begining of week\n            weekday = w.e + dow;\n            if (w.e < 0 || w.e > 6) {\n                weekdayOverflow = true;\n            }\n        } else {\n            // default to begining of week\n            weekday = dow;\n        }\n    }\n    if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {\n        getParsingFlags(config)._overflowWeeks = true;\n    } else if (weekdayOverflow != null) {\n        getParsingFlags(config)._overflowWeekday = true;\n    } else {\n        temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);\n        config._a[YEAR] = temp.year;\n        config._dayOfYear = temp.dayOfYear;\n    }\n}\n\n// constant that refers to the ISO standard\nhooks.ISO_8601 = function () {};\n\n// constant that refers to the RFC 2822 form\nhooks.RFC_2822 = function () {};\n\n// date from string and format string\nfunction configFromStringAndFormat(config) {\n    // TODO: Move this to another part of the creation flow to prevent circular deps\n    if (config._f === hooks.ISO_8601) {\n        configFromISO(config);\n        return;\n    }\n    if (config._f === hooks.RFC_2822) {\n        configFromRFC2822(config);\n        return;\n    }\n    config._a = [];\n    getParsingFlags(config).empty = true;\n\n    // This array is used to make a Date, either with `new Date` or `Date.UTC`\n    var string = '' + config._i,\n        i, parsedInput, tokens, token, skipped,\n        stringLength = string.length,\n        totalParsedInputLength = 0;\n\n    tokens = expandFormat(config._f, config._locale).match(formattingTokens) || [];\n\n    for (i = 0; i < tokens.length; i++) {\n        token = tokens[i];\n        parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0];\n        // console.log('token', token, 'parsedInput', parsedInput,\n        //         'regex', getParseRegexForToken(token, config));\n        if (parsedInput) {\n            skipped = string.substr(0, string.indexOf(parsedInput));\n            if (skipped.length > 0) {\n                getParsingFlags(config).unusedInput.push(skipped);\n            }\n            string = string.slice(string.indexOf(parsedInput) + parsedInput.length);\n            totalParsedInputLength += parsedInput.length;\n        }\n        // don't parse if it's not a known token\n        if (formatTokenFunctions[token]) {\n            if (parsedInput) {\n                getParsingFlags(config).empty = false;\n            }\n            else {\n                getParsingFlags(config).unusedTokens.push(token);\n            }\n            addTimeToArrayFromToken(token, parsedInput, config);\n        }\n        else if (config._strict && !parsedInput) {\n            getParsingFlags(config).unusedTokens.push(token);\n        }\n    }\n\n    // add remaining unparsed input length to the string\n    getParsingFlags(config).charsLeftOver = stringLength - totalParsedInputLength;\n    if (string.length > 0) {\n        getParsingFlags(config).unusedInput.push(string);\n    }\n\n    // clear _12h flag if hour is <= 12\n    if (config._a[HOUR] <= 12 &&\n        getParsingFlags(config).bigHour === true &&\n        config._a[HOUR] > 0) {\n        getParsingFlags(config).bigHour = undefined;\n    }\n\n    getParsingFlags(config).parsedDateParts = config._a.slice(0);\n    getParsingFlags(config).meridiem = config._meridiem;\n    // handle meridiem\n    config._a[HOUR] = meridiemFixWrap(config._locale, config._a[HOUR], config._meridiem);\n\n    configFromArray(config);\n    checkOverflow(config);\n}\n\n\nfunction meridiemFixWrap (locale, hour, meridiem) {\n    var isPm;\n\n    if (meridiem == null) {\n        // nothing to do\n        return hour;\n    }\n    if (locale.meridiemHour != null) {\n        return locale.meridiemHour(hour, meridiem);\n    } else if (locale.isPM != null) {\n        // Fallback\n        isPm = locale.isPM(meridiem);\n        if (isPm && hour < 12) {\n            hour += 12;\n        }\n        if (!isPm && hour === 12) {\n            hour = 0;\n        }\n        return hour;\n    } else {\n        // this is not supposed to happen\n        return hour;\n    }\n}\n\n// date from string and array of format strings\nfunction configFromStringAndArray(config) {\n    var tempConfig,\n        bestMoment,\n\n        scoreToBeat,\n        i,\n        currentScore;\n\n    if (config._f.length === 0) {\n        getParsingFlags(config).invalidFormat = true;\n        config._d = new Date(NaN);\n        return;\n    }\n\n    for (i = 0; i < config._f.length; i++) {\n        currentScore = 0;\n        tempConfig = copyConfig({}, config);\n        if (config._useUTC != null) {\n            tempConfig._useUTC = config._useUTC;\n        }\n        tempConfig._f = config._f[i];\n        configFromStringAndFormat(tempConfig);\n\n        if (!isValid(tempConfig)) {\n            continue;\n        }\n\n        // if there is any input that was not parsed add a penalty for that format\n        currentScore += getParsingFlags(tempConfig).charsLeftOver;\n\n        //or tokens\n        currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;\n\n        getParsingFlags(tempConfig).score = currentScore;\n\n        if (scoreToBeat == null || currentScore < scoreToBeat) {\n            scoreToBeat = currentScore;\n            bestMoment = tempConfig;\n        }\n    }\n\n    extend(config, bestMoment || tempConfig);\n}\n\nfunction configFromObject(config) {\n    if (config._d) {\n        return;\n    }\n\n    var i = normalizeObjectUnits(config._i);\n    config._a = map([i.year, i.month, i.day || i.date, i.hour, i.minute, i.second, i.millisecond], function (obj) {\n        return obj && parseInt(obj, 10);\n    });\n\n    configFromArray(config);\n}\n\nfunction createFromConfig (config) {\n    var res = new Moment(checkOverflow(prepareConfig(config)));\n    if (res._nextDay) {\n        // Adding is smart enough around DST\n        res.add(1, 'd');\n        res._nextDay = undefined;\n    }\n\n    return res;\n}\n\nfunction prepareConfig (config) {\n    var input = config._i,\n        format = config._f;\n\n    config._locale = config._locale || getLocale(config._l);\n\n    if (input === null || (format === undefined && input === '')) {\n        return createInvalid({nullInput: true});\n    }\n\n    if (typeof input === 'string') {\n        config._i = input = config._locale.preparse(input);\n    }\n\n    if (isMoment(input)) {\n        return new Moment(checkOverflow(input));\n    } else if (isDate(input)) {\n        config._d = input;\n    } else if (isArray(format)) {\n        configFromStringAndArray(config);\n    } else if (format) {\n        configFromStringAndFormat(config);\n    }  else {\n        configFromInput(config);\n    }\n\n    if (!isValid(config)) {\n        config._d = null;\n    }\n\n    return config;\n}\n\nfunction configFromInput(config) {\n    var input = config._i;\n    if (isUndefined(input)) {\n        config._d = new Date(hooks.now());\n    } else if (isDate(input)) {\n        config._d = new Date(input.valueOf());\n    } else if (typeof input === 'string') {\n        configFromString(config);\n    } else if (isArray(input)) {\n        config._a = map(input.slice(0), function (obj) {\n            return parseInt(obj, 10);\n        });\n        configFromArray(config);\n    } else if (isObject(input)) {\n        configFromObject(config);\n    } else if (isNumber(input)) {\n        // from milliseconds\n        config._d = new Date(input);\n    } else {\n        hooks.createFromInputFallback(config);\n    }\n}\n\nfunction createLocalOrUTC (input, format, locale, strict, isUTC) {\n    var c = {};\n\n    if (locale === true || locale === false) {\n        strict = locale;\n        locale = undefined;\n    }\n\n    if ((isObject(input) && isObjectEmpty(input)) ||\n            (isArray(input) && input.length === 0)) {\n        input = undefined;\n    }\n    // object construction must be done this way.\n    // https://github.com/moment/moment/issues/1423\n    c._isAMomentObject = true;\n    c._useUTC = c._isUTC = isUTC;\n    c._l = locale;\n    c._i = input;\n    c._f = format;\n    c._strict = strict;\n\n    return createFromConfig(c);\n}\n\nfunction createLocal (input, format, locale, strict) {\n    return createLocalOrUTC(input, format, locale, strict, false);\n}\n\nvar prototypeMin = deprecate(\n    'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/',\n    function () {\n        var other = createLocal.apply(null, arguments);\n        if (this.isValid() && other.isValid()) {\n            return other < this ? this : other;\n        } else {\n            return createInvalid();\n        }\n    }\n);\n\nvar prototypeMax = deprecate(\n    'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/',\n    function () {\n        var other = createLocal.apply(null, arguments);\n        if (this.isValid() && other.isValid()) {\n            return other > this ? this : other;\n        } else {\n            return createInvalid();\n        }\n    }\n);\n\n// Pick a moment m from moments so that m[fn](other) is true for all\n// other. This relies on the function fn to be transitive.\n//\n// moments should either be an array of moment objects or an array, whose\n// first element is an array of moment objects.\nfunction pickBy(fn, moments) {\n    var res, i;\n    if (moments.length === 1 && isArray(moments[0])) {\n        moments = moments[0];\n    }\n    if (!moments.length) {\n        return createLocal();\n    }\n    res = moments[0];\n    for (i = 1; i < moments.length; ++i) {\n        if (!moments[i].isValid() || moments[i][fn](res)) {\n            res = moments[i];\n        }\n    }\n    return res;\n}\n\n// TODO: Use [].sort instead?\nfunction min () {\n    var args = [].slice.call(arguments, 0);\n\n    return pickBy('isBefore', args);\n}\n\nfunction max () {\n    var args = [].slice.call(arguments, 0);\n\n    return pickBy('isAfter', args);\n}\n\nvar now = function () {\n    return Date.now ? Date.now() : +(new Date());\n};\n\nvar ordering = ['year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', 'millisecond'];\n\nfunction isDurationValid(m) {\n    for (var key in m) {\n        if (!(ordering.indexOf(key) !== -1 && (m[key] == null || !isNaN(m[key])))) {\n            return false;\n        }\n    }\n\n    var unitHasDecimal = false;\n    for (var i = 0; i < ordering.length; ++i) {\n        if (m[ordering[i]]) {\n            if (unitHasDecimal) {\n                return false; // only allow non-integers for smallest unit\n            }\n            if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {\n                unitHasDecimal = true;\n            }\n        }\n    }\n\n    return true;\n}\n\nfunction isValid$1() {\n    return this._isValid;\n}\n\nfunction createInvalid$1() {\n    return createDuration(NaN);\n}\n\nfunction Duration (duration) {\n    var normalizedInput = normalizeObjectUnits(duration),\n        years = normalizedInput.year || 0,\n        quarters = normalizedInput.quarter || 0,\n        months = normalizedInput.month || 0,\n        weeks = normalizedInput.week || 0,\n        days = normalizedInput.day || 0,\n        hours = normalizedInput.hour || 0,\n        minutes = normalizedInput.minute || 0,\n        seconds = normalizedInput.second || 0,\n        milliseconds = normalizedInput.millisecond || 0;\n\n    this._isValid = isDurationValid(normalizedInput);\n\n    // representation for dateAddRemove\n    this._milliseconds = +milliseconds +\n        seconds * 1e3 + // 1000\n        minutes * 6e4 + // 1000 * 60\n        hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978\n    // Because of dateAddRemove treats 24 hours as different from a\n    // day when working around DST, we need to store them separately\n    this._days = +days +\n        weeks * 7;\n    // It is impossible translate months into days without knowing\n    // which months you are are talking about, so we have to store\n    // it separately.\n    this._months = +months +\n        quarters * 3 +\n        years * 12;\n\n    this._data = {};\n\n    this._locale = getLocale();\n\n    this._bubble();\n}\n\nfunction isDuration (obj) {\n    return obj instanceof Duration;\n}\n\nfunction absRound (number) {\n    if (number < 0) {\n        return Math.round(-1 * number) * -1;\n    } else {\n        return Math.round(number);\n    }\n}\n\n// FORMATTING\n\nfunction offset (token, separator) {\n    addFormatToken(token, 0, 0, function () {\n        var offset = this.utcOffset();\n        var sign = '+';\n        if (offset < 0) {\n            offset = -offset;\n            sign = '-';\n        }\n        return sign + zeroFill(~~(offset / 60), 2) + separator + zeroFill(~~(offset) % 60, 2);\n    });\n}\n\noffset('Z', ':');\noffset('ZZ', '');\n\n// PARSING\n\naddRegexToken('Z',  matchShortOffset);\naddRegexToken('ZZ', matchShortOffset);\naddParseToken(['Z', 'ZZ'], function (input, array, config) {\n    config._useUTC = true;\n    config._tzm = offsetFromString(matchShortOffset, input);\n});\n\n// HELPERS\n\n// timezone chunker\n// '+10:00' > ['10',  '00']\n// '-1530'  > ['-15', '30']\nvar chunkOffset = /([\\+\\-]|\\d\\d)/gi;\n\nfunction offsetFromString(matcher, string) {\n    var matches = (string || '').match(matcher);\n\n    if (matches === null) {\n        return null;\n    }\n\n    var chunk   = matches[matches.length - 1] || [];\n    var parts   = (chunk + '').match(chunkOffset) || ['-', 0, 0];\n    var minutes = +(parts[1] * 60) + toInt(parts[2]);\n\n    return minutes === 0 ?\n      0 :\n      parts[0] === '+' ? minutes : -minutes;\n}\n\n// Return a moment from input, that is local/utc/zone equivalent to model.\nfunction cloneWithOffset(input, model) {\n    var res, diff;\n    if (model._isUTC) {\n        res = model.clone();\n        diff = (isMoment(input) || isDate(input) ? input.valueOf() : createLocal(input).valueOf()) - res.valueOf();\n        // Use low-level api, because this fn is low-level api.\n        res._d.setTime(res._d.valueOf() + diff);\n        hooks.updateOffset(res, false);\n        return res;\n    } else {\n        return createLocal(input).local();\n    }\n}\n\nfunction getDateOffset (m) {\n    // On Firefox.24 Date#getTimezoneOffset returns a floating point.\n    // https://github.com/moment/moment/pull/1871\n    return -Math.round(m._d.getTimezoneOffset() / 15) * 15;\n}\n\n// HOOKS\n\n// This function will be called whenever a moment is mutated.\n// It is intended to keep the offset in sync with the timezone.\nhooks.updateOffset = function () {};\n\n// MOMENTS\n\n// keepLocalTime = true means only change the timezone, without\n// affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->\n// 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset\n// +0200, so we adjust the time as needed, to be valid.\n//\n// Keeping the time actually adds/subtracts (one hour)\n// from the actual represented time. That is why we call updateOffset\n// a second time. In case it wants us to change the offset again\n// _changeInProgress == true case, then we have to adjust, because\n// there is no such time in the given timezone.\nfunction getSetOffset (input, keepLocalTime, keepMinutes) {\n    var offset = this._offset || 0,\n        localAdjust;\n    if (!this.isValid()) {\n        return input != null ? this : NaN;\n    }\n    if (input != null) {\n        if (typeof input === 'string') {\n            input = offsetFromString(matchShortOffset, input);\n            if (input === null) {\n                return this;\n            }\n        } else if (Math.abs(input) < 16 && !keepMinutes) {\n            input = input * 60;\n        }\n        if (!this._isUTC && keepLocalTime) {\n            localAdjust = getDateOffset(this);\n        }\n        this._offset = input;\n        this._isUTC = true;\n        if (localAdjust != null) {\n            this.add(localAdjust, 'm');\n        }\n        if (offset !== input) {\n            if (!keepLocalTime || this._changeInProgress) {\n                addSubtract(this, createDuration(input - offset, 'm'), 1, false);\n            } else if (!this._changeInProgress) {\n                this._changeInProgress = true;\n                hooks.updateOffset(this, true);\n                this._changeInProgress = null;\n            }\n        }\n        return this;\n    } else {\n        return this._isUTC ? offset : getDateOffset(this);\n    }\n}\n\nfunction getSetZone (input, keepLocalTime) {\n    if (input != null) {\n        if (typeof input !== 'string') {\n            input = -input;\n        }\n\n        this.utcOffset(input, keepLocalTime);\n\n        return this;\n    } else {\n        return -this.utcOffset();\n    }\n}\n\nfunction setOffsetToUTC (keepLocalTime) {\n    return this.utcOffset(0, keepLocalTime);\n}\n\nfunction setOffsetToLocal (keepLocalTime) {\n    if (this._isUTC) {\n        this.utcOffset(0, keepLocalTime);\n        this._isUTC = false;\n\n        if (keepLocalTime) {\n            this.subtract(getDateOffset(this), 'm');\n        }\n    }\n    return this;\n}\n\nfunction setOffsetToParsedOffset () {\n    if (this._tzm != null) {\n        this.utcOffset(this._tzm, false, true);\n    } else if (typeof this._i === 'string') {\n        var tZone = offsetFromString(matchOffset, this._i);\n        if (tZone != null) {\n            this.utcOffset(tZone);\n        }\n        else {\n            this.utcOffset(0, true);\n        }\n    }\n    return this;\n}\n\nfunction hasAlignedHourOffset (input) {\n    if (!this.isValid()) {\n        return false;\n    }\n    input = input ? createLocal(input).utcOffset() : 0;\n\n    return (this.utcOffset() - input) % 60 === 0;\n}\n\nfunction isDaylightSavingTime () {\n    return (\n        this.utcOffset() > this.clone().month(0).utcOffset() ||\n        this.utcOffset() > this.clone().month(5).utcOffset()\n    );\n}\n\nfunction isDaylightSavingTimeShifted () {\n    if (!isUndefined(this._isDSTShifted)) {\n        return this._isDSTShifted;\n    }\n\n    var c = {};\n\n    copyConfig(c, this);\n    c = prepareConfig(c);\n\n    if (c._a) {\n        var other = c._isUTC ? createUTC(c._a) : createLocal(c._a);\n        this._isDSTShifted = this.isValid() &&\n            compareArrays(c._a, other.toArray()) > 0;\n    } else {\n        this._isDSTShifted = false;\n    }\n\n    return this._isDSTShifted;\n}\n\nfunction isLocal () {\n    return this.isValid() ? !this._isUTC : false;\n}\n\nfunction isUtcOffset () {\n    return this.isValid() ? this._isUTC : false;\n}\n\nfunction isUtc () {\n    return this.isValid() ? this._isUTC && this._offset === 0 : false;\n}\n\n// ASP.NET json date format regex\nvar aspNetRegex = /^(\\-)?(?:(\\d*)[. ])?(\\d+)\\:(\\d+)(?:\\:(\\d+)(\\.\\d*)?)?$/;\n\n// from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html\n// somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere\n// and further modified to allow for strings containing both week and day\nvar isoRegex = /^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;\n\nfunction createDuration (input, key) {\n    var duration = input,\n        // matching against regexp is expensive, do it on demand\n        match = null,\n        sign,\n        ret,\n        diffRes;\n\n    if (isDuration(input)) {\n        duration = {\n            ms : input._milliseconds,\n            d  : input._days,\n            M  : input._months\n        };\n    } else if (isNumber(input)) {\n        duration = {};\n        if (key) {\n            duration[key] = input;\n        } else {\n            duration.milliseconds = input;\n        }\n    } else if (!!(match = aspNetRegex.exec(input))) {\n        sign = (match[1] === '-') ? -1 : 1;\n        duration = {\n            y  : 0,\n            d  : toInt(match[DATE])                         * sign,\n            h  : toInt(match[HOUR])                         * sign,\n            m  : toInt(match[MINUTE])                       * sign,\n            s  : toInt(match[SECOND])                       * sign,\n            ms : toInt(absRound(match[MILLISECOND] * 1000)) * sign // the millisecond decimal point is included in the match\n        };\n    } else if (!!(match = isoRegex.exec(input))) {\n        sign = (match[1] === '-') ? -1 : 1;\n        duration = {\n            y : parseIso(match[2], sign),\n            M : parseIso(match[3], sign),\n            w : parseIso(match[4], sign),\n            d : parseIso(match[5], sign),\n            h : parseIso(match[6], sign),\n            m : parseIso(match[7], sign),\n            s : parseIso(match[8], sign)\n        };\n    } else if (duration == null) {// checks for null or undefined\n        duration = {};\n    } else if (typeof duration === 'object' && ('from' in duration || 'to' in duration)) {\n        diffRes = momentsDifference(createLocal(duration.from), createLocal(duration.to));\n\n        duration = {};\n        duration.ms = diffRes.milliseconds;\n        duration.M = diffRes.months;\n    }\n\n    ret = new Duration(duration);\n\n    if (isDuration(input) && hasOwnProp(input, '_locale')) {\n        ret._locale = input._locale;\n    }\n\n    return ret;\n}\n\ncreateDuration.fn = Duration.prototype;\ncreateDuration.invalid = createInvalid$1;\n\nfunction parseIso (inp, sign) {\n    // We'd normally use ~~inp for this, but unfortunately it also\n    // converts floats to ints.\n    // inp may be undefined, so careful calling replace on it.\n    var res = inp && parseFloat(inp.replace(',', '.'));\n    // apply sign while we're at it\n    return (isNaN(res) ? 0 : res) * sign;\n}\n\nfunction positiveMomentsDifference(base, other) {\n    var res = {milliseconds: 0, months: 0};\n\n    res.months = other.month() - base.month() +\n        (other.year() - base.year()) * 12;\n    if (base.clone().add(res.months, 'M').isAfter(other)) {\n        --res.months;\n    }\n\n    res.milliseconds = +other - +(base.clone().add(res.months, 'M'));\n\n    return res;\n}\n\nfunction momentsDifference(base, other) {\n    var res;\n    if (!(base.isValid() && other.isValid())) {\n        return {milliseconds: 0, months: 0};\n    }\n\n    other = cloneWithOffset(other, base);\n    if (base.isBefore(other)) {\n        res = positiveMomentsDifference(base, other);\n    } else {\n        res = positiveMomentsDifference(other, base);\n        res.milliseconds = -res.milliseconds;\n        res.months = -res.months;\n    }\n\n    return res;\n}\n\n// TODO: remove 'name' arg after deprecation is removed\nfunction createAdder(direction, name) {\n    return function (val, period) {\n        var dur, tmp;\n        //invert the arguments, but complain about it\n        if (period !== null && !isNaN(+period)) {\n            deprecateSimple(name, 'moment().' + name  + '(period, number) is deprecated. Please use moment().' + name + '(number, period). ' +\n            'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.');\n            tmp = val; val = period; period = tmp;\n        }\n\n        val = typeof val === 'string' ? +val : val;\n        dur = createDuration(val, period);\n        addSubtract(this, dur, direction);\n        return this;\n    };\n}\n\nfunction addSubtract (mom, duration, isAdding, updateOffset) {\n    var milliseconds = duration._milliseconds,\n        days = absRound(duration._days),\n        months = absRound(duration._months);\n\n    if (!mom.isValid()) {\n        // No op\n        return;\n    }\n\n    updateOffset = updateOffset == null ? true : updateOffset;\n\n    if (milliseconds) {\n        mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);\n    }\n    if (days) {\n        set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);\n    }\n    if (months) {\n        setMonth(mom, get(mom, 'Month') + months * isAdding);\n    }\n    if (updateOffset) {\n        hooks.updateOffset(mom, days || months);\n    }\n}\n\nvar add      = createAdder(1, 'add');\nvar subtract = createAdder(-1, 'subtract');\n\nfunction getCalendarFormat(myMoment, now) {\n    var diff = myMoment.diff(now, 'days', true);\n    return diff < -6 ? 'sameElse' :\n            diff < -1 ? 'lastWeek' :\n            diff < 0 ? 'lastDay' :\n            diff < 1 ? 'sameDay' :\n            diff < 2 ? 'nextDay' :\n            diff < 7 ? 'nextWeek' : 'sameElse';\n}\n\nfunction calendar$1 (time, formats) {\n    // We want to compare the start of today, vs this.\n    // Getting start-of-today depends on whether we're local/utc/offset or not.\n    var now = time || createLocal(),\n        sod = cloneWithOffset(now, this).startOf('day'),\n        format = hooks.calendarFormat(this, sod) || 'sameElse';\n\n    var output = formats && (isFunction(formats[format]) ? formats[format].call(this, now) : formats[format]);\n\n    return this.format(output || this.localeData().calendar(format, this, createLocal(now)));\n}\n\nfunction clone () {\n    return new Moment(this);\n}\n\nfunction isAfter (input, units) {\n    var localInput = isMoment(input) ? input : createLocal(input);\n    if (!(this.isValid() && localInput.isValid())) {\n        return false;\n    }\n    units = normalizeUnits(!isUndefined(units) ? units : 'millisecond');\n    if (units === 'millisecond') {\n        return this.valueOf() > localInput.valueOf();\n    } else {\n        return localInput.valueOf() < this.clone().startOf(units).valueOf();\n    }\n}\n\nfunction isBefore (input, units) {\n    var localInput = isMoment(input) ? input : createLocal(input);\n    if (!(this.isValid() && localInput.isValid())) {\n        return false;\n    }\n    units = normalizeUnits(!isUndefined(units) ? units : 'millisecond');\n    if (units === 'millisecond') {\n        return this.valueOf() < localInput.valueOf();\n    } else {\n        return this.clone().endOf(units).valueOf() < localInput.valueOf();\n    }\n}\n\nfunction isBetween (from, to, units, inclusivity) {\n    inclusivity = inclusivity || '()';\n    return (inclusivity[0] === '(' ? this.isAfter(from, units) : !this.isBefore(from, units)) &&\n        (inclusivity[1] === ')' ? this.isBefore(to, units) : !this.isAfter(to, units));\n}\n\nfunction isSame (input, units) {\n    var localInput = isMoment(input) ? input : createLocal(input),\n        inputMs;\n    if (!(this.isValid() && localInput.isValid())) {\n        return false;\n    }\n    units = normalizeUnits(units || 'millisecond');\n    if (units === 'millisecond') {\n        return this.valueOf() === localInput.valueOf();\n    } else {\n        inputMs = localInput.valueOf();\n        return this.clone().startOf(units).valueOf() <= inputMs && inputMs <= this.clone().endOf(units).valueOf();\n    }\n}\n\nfunction isSameOrAfter (input, units) {\n    return this.isSame(input, units) || this.isAfter(input,units);\n}\n\nfunction isSameOrBefore (input, units) {\n    return this.isSame(input, units) || this.isBefore(input,units);\n}\n\nfunction diff (input, units, asFloat) {\n    var that,\n        zoneDelta,\n        delta, output;\n\n    if (!this.isValid()) {\n        return NaN;\n    }\n\n    that = cloneWithOffset(input, this);\n\n    if (!that.isValid()) {\n        return NaN;\n    }\n\n    zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;\n\n    units = normalizeUnits(units);\n\n    if (units === 'year' || units === 'month' || units === 'quarter') {\n        output = monthDiff(this, that);\n        if (units === 'quarter') {\n            output = output / 3;\n        } else if (units === 'year') {\n            output = output / 12;\n        }\n    } else {\n        delta = this - that;\n        output = units === 'second' ? delta / 1e3 : // 1000\n            units === 'minute' ? delta / 6e4 : // 1000 * 60\n            units === 'hour' ? delta / 36e5 : // 1000 * 60 * 60\n            units === 'day' ? (delta - zoneDelta) / 864e5 : // 1000 * 60 * 60 * 24, negate dst\n            units === 'week' ? (delta - zoneDelta) / 6048e5 : // 1000 * 60 * 60 * 24 * 7, negate dst\n            delta;\n    }\n    return asFloat ? output : absFloor(output);\n}\n\nfunction monthDiff (a, b) {\n    // difference in months\n    var wholeMonthDiff = ((b.year() - a.year()) * 12) + (b.month() - a.month()),\n        // b is in (anchor - 1 month, anchor + 1 month)\n        anchor = a.clone().add(wholeMonthDiff, 'months'),\n        anchor2, adjust;\n\n    if (b - anchor < 0) {\n        anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');\n        // linear across the month\n        adjust = (b - anchor) / (anchor - anchor2);\n    } else {\n        anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');\n        // linear across the month\n        adjust = (b - anchor) / (anchor2 - anchor);\n    }\n\n    //check for negative zero, return zero if negative zero\n    return -(wholeMonthDiff + adjust) || 0;\n}\n\nhooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';\nhooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';\n\nfunction toString () {\n    return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');\n}\n\nfunction toISOString() {\n    if (!this.isValid()) {\n        return null;\n    }\n    var m = this.clone().utc();\n    if (m.year() < 0 || m.year() > 9999) {\n        return formatMoment(m, 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]');\n    }\n    if (isFunction(Date.prototype.toISOString)) {\n        // native implementation is ~50x faster, use it when we can\n        return this.toDate().toISOString();\n    }\n    return formatMoment(m, 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]');\n}\n\n/**\n * Return a human readable representation of a moment that can\n * also be evaluated to get a new moment which is the same\n *\n * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects\n */\nfunction inspect () {\n    if (!this.isValid()) {\n        return 'moment.invalid(/* ' + this._i + ' */)';\n    }\n    var func = 'moment';\n    var zone = '';\n    if (!this.isLocal()) {\n        func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';\n        zone = 'Z';\n    }\n    var prefix = '[' + func + '(\"]';\n    var year = (0 <= this.year() && this.year() <= 9999) ? 'YYYY' : 'YYYYYY';\n    var datetime = '-MM-DD[T]HH:mm:ss.SSS';\n    var suffix = zone + '[\")]';\n\n    return this.format(prefix + year + datetime + suffix);\n}\n\nfunction format (inputString) {\n    if (!inputString) {\n        inputString = this.isUtc() ? hooks.defaultFormatUtc : hooks.defaultFormat;\n    }\n    var output = formatMoment(this, inputString);\n    return this.localeData().postformat(output);\n}\n\nfunction from (time, withoutSuffix) {\n    if (this.isValid() &&\n            ((isMoment(time) && time.isValid()) ||\n             createLocal(time).isValid())) {\n        return createDuration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix);\n    } else {\n        return this.localeData().invalidDate();\n    }\n}\n\nfunction fromNow (withoutSuffix) {\n    return this.from(createLocal(), withoutSuffix);\n}\n\nfunction to (time, withoutSuffix) {\n    if (this.isValid() &&\n            ((isMoment(time) && time.isValid()) ||\n             createLocal(time).isValid())) {\n        return createDuration({from: this, to: time}).locale(this.locale()).humanize(!withoutSuffix);\n    } else {\n        return this.localeData().invalidDate();\n    }\n}\n\nfunction toNow (withoutSuffix) {\n    return this.to(createLocal(), withoutSuffix);\n}\n\n// If passed a locale key, it will set the locale for this\n// instance.  Otherwise, it will return the locale configuration\n// variables for this instance.\nfunction locale (key) {\n    var newLocaleData;\n\n    if (key === undefined) {\n        return this._locale._abbr;\n    } else {\n        newLocaleData = getLocale(key);\n        if (newLocaleData != null) {\n            this._locale = newLocaleData;\n        }\n        return this;\n    }\n}\n\nvar lang = deprecate(\n    'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.',\n    function (key) {\n        if (key === undefined) {\n            return this.localeData();\n        } else {\n            return this.locale(key);\n        }\n    }\n);\n\nfunction localeData () {\n    return this._locale;\n}\n\nfunction startOf (units) {\n    units = normalizeUnits(units);\n    // the following switch intentionally omits break keywords\n    // to utilize falling through the cases.\n    switch (units) {\n        case 'year':\n            this.month(0);\n            /* falls through */\n        case 'quarter':\n        case 'month':\n            this.date(1);\n            /* falls through */\n        case 'week':\n        case 'isoWeek':\n        case 'day':\n        case 'date':\n            this.hours(0);\n            /* falls through */\n        case 'hour':\n            this.minutes(0);\n            /* falls through */\n        case 'minute':\n            this.seconds(0);\n            /* falls through */\n        case 'second':\n            this.milliseconds(0);\n    }\n\n    // weeks are a special case\n    if (units === 'week') {\n        this.weekday(0);\n    }\n    if (units === 'isoWeek') {\n        this.isoWeekday(1);\n    }\n\n    // quarters are also special\n    if (units === 'quarter') {\n        this.month(Math.floor(this.month() / 3) * 3);\n    }\n\n    return this;\n}\n\nfunction endOf (units) {\n    units = normalizeUnits(units);\n    if (units === undefined || units === 'millisecond') {\n        return this;\n    }\n\n    // 'date' is an alias for 'day', so it should be considered as such.\n    if (units === 'date') {\n        units = 'day';\n    }\n\n    return this.startOf(units).add(1, (units === 'isoWeek' ? 'week' : units)).subtract(1, 'ms');\n}\n\nfunction valueOf () {\n    return this._d.valueOf() - ((this._offset || 0) * 60000);\n}\n\nfunction unix () {\n    return Math.floor(this.valueOf() / 1000);\n}\n\nfunction toDate () {\n    return new Date(this.valueOf());\n}\n\nfunction toArray () {\n    var m = this;\n    return [m.year(), m.month(), m.date(), m.hour(), m.minute(), m.second(), m.millisecond()];\n}\n\nfunction toObject () {\n    var m = this;\n    return {\n        years: m.year(),\n        months: m.month(),\n        date: m.date(),\n        hours: m.hours(),\n        minutes: m.minutes(),\n        seconds: m.seconds(),\n        milliseconds: m.milliseconds()\n    };\n}\n\nfunction toJSON () {\n    // new Date(NaN).toJSON() === null\n    return this.isValid() ? this.toISOString() : null;\n}\n\nfunction isValid$2 () {\n    return isValid(this);\n}\n\nfunction parsingFlags () {\n    return extend({}, getParsingFlags(this));\n}\n\nfunction invalidAt () {\n    return getParsingFlags(this).overflow;\n}\n\nfunction creationData() {\n    return {\n        input: this._i,\n        format: this._f,\n        locale: this._locale,\n        isUTC: this._isUTC,\n        strict: this._strict\n    };\n}\n\n// FORMATTING\n\naddFormatToken(0, ['gg', 2], 0, function () {\n    return this.weekYear() % 100;\n});\n\naddFormatToken(0, ['GG', 2], 0, function () {\n    return this.isoWeekYear() % 100;\n});\n\nfunction addWeekYearFormatToken (token, getter) {\n    addFormatToken(0, [token, token.length], 0, getter);\n}\n\naddWeekYearFormatToken('gggg',     'weekYear');\naddWeekYearFormatToken('ggggg',    'weekYear');\naddWeekYearFormatToken('GGGG',  'isoWeekYear');\naddWeekYearFormatToken('GGGGG', 'isoWeekYear');\n\n// ALIASES\n\naddUnitAlias('weekYear', 'gg');\naddUnitAlias('isoWeekYear', 'GG');\n\n// PRIORITY\n\naddUnitPriority('weekYear', 1);\naddUnitPriority('isoWeekYear', 1);\n\n\n// PARSING\n\naddRegexToken('G',      matchSigned);\naddRegexToken('g',      matchSigned);\naddRegexToken('GG',     match1to2, match2);\naddRegexToken('gg',     match1to2, match2);\naddRegexToken('GGGG',   match1to4, match4);\naddRegexToken('gggg',   match1to4, match4);\naddRegexToken('GGGGG',  match1to6, match6);\naddRegexToken('ggggg',  match1to6, match6);\n\naddWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (input, week, config, token) {\n    week[token.substr(0, 2)] = toInt(input);\n});\n\naddWeekParseToken(['gg', 'GG'], function (input, week, config, token) {\n    week[token] = hooks.parseTwoDigitYear(input);\n});\n\n// MOMENTS\n\nfunction getSetWeekYear (input) {\n    return getSetWeekYearHelper.call(this,\n            input,\n            this.week(),\n            this.weekday(),\n            this.localeData()._week.dow,\n            this.localeData()._week.doy);\n}\n\nfunction getSetISOWeekYear (input) {\n    return getSetWeekYearHelper.call(this,\n            input, this.isoWeek(), this.isoWeekday(), 1, 4);\n}\n\nfunction getISOWeeksInYear () {\n    return weeksInYear(this.year(), 1, 4);\n}\n\nfunction getWeeksInYear () {\n    var weekInfo = this.localeData()._week;\n    return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);\n}\n\nfunction getSetWeekYearHelper(input, week, weekday, dow, doy) {\n    var weeksTarget;\n    if (input == null) {\n        return weekOfYear(this, dow, doy).year;\n    } else {\n        weeksTarget = weeksInYear(input, dow, doy);\n        if (week > weeksTarget) {\n            week = weeksTarget;\n        }\n        return setWeekAll.call(this, input, week, weekday, dow, doy);\n    }\n}\n\nfunction setWeekAll(weekYear, week, weekday, dow, doy) {\n    var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),\n        date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);\n\n    this.year(date.getUTCFullYear());\n    this.month(date.getUTCMonth());\n    this.date(date.getUTCDate());\n    return this;\n}\n\n// FORMATTING\n\naddFormatToken('Q', 0, 'Qo', 'quarter');\n\n// ALIASES\n\naddUnitAlias('quarter', 'Q');\n\n// PRIORITY\n\naddUnitPriority('quarter', 7);\n\n// PARSING\n\naddRegexToken('Q', match1);\naddParseToken('Q', function (input, array) {\n    array[MONTH] = (toInt(input) - 1) * 3;\n});\n\n// MOMENTS\n\nfunction getSetQuarter (input) {\n    return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3);\n}\n\n// FORMATTING\n\naddFormatToken('D', ['DD', 2], 'Do', 'date');\n\n// ALIASES\n\naddUnitAlias('date', 'D');\n\n// PRIOROITY\naddUnitPriority('date', 9);\n\n// PARSING\n\naddRegexToken('D',  match1to2);\naddRegexToken('DD', match1to2, match2);\naddRegexToken('Do', function (isStrict, locale) {\n    // TODO: Remove \"ordinalParse\" fallback in next major release.\n    return isStrict ?\n      (locale._dayOfMonthOrdinalParse || locale._ordinalParse) :\n      locale._dayOfMonthOrdinalParseLenient;\n});\n\naddParseToken(['D', 'DD'], DATE);\naddParseToken('Do', function (input, array) {\n    array[DATE] = toInt(input.match(match1to2)[0], 10);\n});\n\n// MOMENTS\n\nvar getSetDayOfMonth = makeGetSet('Date', true);\n\n// FORMATTING\n\naddFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');\n\n// ALIASES\n\naddUnitAlias('dayOfYear', 'DDD');\n\n// PRIORITY\naddUnitPriority('dayOfYear', 4);\n\n// PARSING\n\naddRegexToken('DDD',  match1to3);\naddRegexToken('DDDD', match3);\naddParseToken(['DDD', 'DDDD'], function (input, array, config) {\n    config._dayOfYear = toInt(input);\n});\n\n// HELPERS\n\n// MOMENTS\n\nfunction getSetDayOfYear (input) {\n    var dayOfYear = Math.round((this.clone().startOf('day') - this.clone().startOf('year')) / 864e5) + 1;\n    return input == null ? dayOfYear : this.add((input - dayOfYear), 'd');\n}\n\n// FORMATTING\n\naddFormatToken('m', ['mm', 2], 0, 'minute');\n\n// ALIASES\n\naddUnitAlias('minute', 'm');\n\n// PRIORITY\n\naddUnitPriority('minute', 14);\n\n// PARSING\n\naddRegexToken('m',  match1to2);\naddRegexToken('mm', match1to2, match2);\naddParseToken(['m', 'mm'], MINUTE);\n\n// MOMENTS\n\nvar getSetMinute = makeGetSet('Minutes', false);\n\n// FORMATTING\n\naddFormatToken('s', ['ss', 2], 0, 'second');\n\n// ALIASES\n\naddUnitAlias('second', 's');\n\n// PRIORITY\n\naddUnitPriority('second', 15);\n\n// PARSING\n\naddRegexToken('s',  match1to2);\naddRegexToken('ss', match1to2, match2);\naddParseToken(['s', 'ss'], SECOND);\n\n// MOMENTS\n\nvar getSetSecond = makeGetSet('Seconds', false);\n\n// FORMATTING\n\naddFormatToken('S', 0, 0, function () {\n    return ~~(this.millisecond() / 100);\n});\n\naddFormatToken(0, ['SS', 2], 0, function () {\n    return ~~(this.millisecond() / 10);\n});\n\naddFormatToken(0, ['SSS', 3], 0, 'millisecond');\naddFormatToken(0, ['SSSS', 4], 0, function () {\n    return this.millisecond() * 10;\n});\naddFormatToken(0, ['SSSSS', 5], 0, function () {\n    return this.millisecond() * 100;\n});\naddFormatToken(0, ['SSSSSS', 6], 0, function () {\n    return this.millisecond() * 1000;\n});\naddFormatToken(0, ['SSSSSSS', 7], 0, function () {\n    return this.millisecond() * 10000;\n});\naddFormatToken(0, ['SSSSSSSS', 8], 0, function () {\n    return this.millisecond() * 100000;\n});\naddFormatToken(0, ['SSSSSSSSS', 9], 0, function () {\n    return this.millisecond() * 1000000;\n});\n\n\n// ALIASES\n\naddUnitAlias('millisecond', 'ms');\n\n// PRIORITY\n\naddUnitPriority('millisecond', 16);\n\n// PARSING\n\naddRegexToken('S',    match1to3, match1);\naddRegexToken('SS',   match1to3, match2);\naddRegexToken('SSS',  match1to3, match3);\n\nvar token;\nfor (token = 'SSSS'; token.length <= 9; token += 'S') {\n    addRegexToken(token, matchUnsigned);\n}\n\nfunction parseMs(input, array) {\n    array[MILLISECOND] = toInt(('0.' + input) * 1000);\n}\n\nfor (token = 'S'; token.length <= 9; token += 'S') {\n    addParseToken(token, parseMs);\n}\n// MOMENTS\n\nvar getSetMillisecond = makeGetSet('Milliseconds', false);\n\n// FORMATTING\n\naddFormatToken('z',  0, 0, 'zoneAbbr');\naddFormatToken('zz', 0, 0, 'zoneName');\n\n// MOMENTS\n\nfunction getZoneAbbr () {\n    return this._isUTC ? 'UTC' : '';\n}\n\nfunction getZoneName () {\n    return this._isUTC ? 'Coordinated Universal Time' : '';\n}\n\nvar proto = Moment.prototype;\n\nproto.add               = add;\nproto.calendar          = calendar$1;\nproto.clone             = clone;\nproto.diff              = diff;\nproto.endOf             = endOf;\nproto.format            = format;\nproto.from              = from;\nproto.fromNow           = fromNow;\nproto.to                = to;\nproto.toNow             = toNow;\nproto.get               = stringGet;\nproto.invalidAt         = invalidAt;\nproto.isAfter           = isAfter;\nproto.isBefore          = isBefore;\nproto.isBetween         = isBetween;\nproto.isSame            = isSame;\nproto.isSameOrAfter     = isSameOrAfter;\nproto.isSameOrBefore    = isSameOrBefore;\nproto.isValid           = isValid$2;\nproto.lang              = lang;\nproto.locale            = locale;\nproto.localeData        = localeData;\nproto.max               = prototypeMax;\nproto.min               = prototypeMin;\nproto.parsingFlags      = parsingFlags;\nproto.set               = stringSet;\nproto.startOf           = startOf;\nproto.subtract          = subtract;\nproto.toArray           = toArray;\nproto.toObject          = toObject;\nproto.toDate            = toDate;\nproto.toISOString       = toISOString;\nproto.inspect           = inspect;\nproto.toJSON            = toJSON;\nproto.toString          = toString;\nproto.unix              = unix;\nproto.valueOf           = valueOf;\nproto.creationData      = creationData;\n\n// Year\nproto.year       = getSetYear;\nproto.isLeapYear = getIsLeapYear;\n\n// Week Year\nproto.weekYear    = getSetWeekYear;\nproto.isoWeekYear = getSetISOWeekYear;\n\n// Quarter\nproto.quarter = proto.quarters = getSetQuarter;\n\n// Month\nproto.month       = getSetMonth;\nproto.daysInMonth = getDaysInMonth;\n\n// Week\nproto.week           = proto.weeks        = getSetWeek;\nproto.isoWeek        = proto.isoWeeks     = getSetISOWeek;\nproto.weeksInYear    = getWeeksInYear;\nproto.isoWeeksInYear = getISOWeeksInYear;\n\n// Day\nproto.date       = getSetDayOfMonth;\nproto.day        = proto.days             = getSetDayOfWeek;\nproto.weekday    = getSetLocaleDayOfWeek;\nproto.isoWeekday = getSetISODayOfWeek;\nproto.dayOfYear  = getSetDayOfYear;\n\n// Hour\nproto.hour = proto.hours = getSetHour;\n\n// Minute\nproto.minute = proto.minutes = getSetMinute;\n\n// Second\nproto.second = proto.seconds = getSetSecond;\n\n// Millisecond\nproto.millisecond = proto.milliseconds = getSetMillisecond;\n\n// Offset\nproto.utcOffset            = getSetOffset;\nproto.utc                  = setOffsetToUTC;\nproto.local                = setOffsetToLocal;\nproto.parseZone            = setOffsetToParsedOffset;\nproto.hasAlignedHourOffset = hasAlignedHourOffset;\nproto.isDST                = isDaylightSavingTime;\nproto.isLocal              = isLocal;\nproto.isUtcOffset          = isUtcOffset;\nproto.isUtc                = isUtc;\nproto.isUTC                = isUtc;\n\n// Timezone\nproto.zoneAbbr = getZoneAbbr;\nproto.zoneName = getZoneName;\n\n// Deprecations\nproto.dates  = deprecate('dates accessor is deprecated. Use date instead.', getSetDayOfMonth);\nproto.months = deprecate('months accessor is deprecated. Use month instead', getSetMonth);\nproto.years  = deprecate('years accessor is deprecated. Use year instead', getSetYear);\nproto.zone   = deprecate('moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', getSetZone);\nproto.isDSTShifted = deprecate('isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', isDaylightSavingTimeShifted);\n\nfunction createUnix (input) {\n    return createLocal(input * 1000);\n}\n\nfunction createInZone () {\n    return createLocal.apply(null, arguments).parseZone();\n}\n\nfunction preParsePostFormat (string) {\n    return string;\n}\n\nvar proto$1 = Locale.prototype;\n\nproto$1.calendar        = calendar;\nproto$1.longDateFormat  = longDateFormat;\nproto$1.invalidDate     = invalidDate;\nproto$1.ordinal         = ordinal;\nproto$1.preparse        = preParsePostFormat;\nproto$1.postformat      = preParsePostFormat;\nproto$1.relativeTime    = relativeTime;\nproto$1.pastFuture      = pastFuture;\nproto$1.set             = set;\n\n// Month\nproto$1.months            =        localeMonths;\nproto$1.monthsShort       =        localeMonthsShort;\nproto$1.monthsParse       =        localeMonthsParse;\nproto$1.monthsRegex       = monthsRegex;\nproto$1.monthsShortRegex  = monthsShortRegex;\n\n// Week\nproto$1.week = localeWeek;\nproto$1.firstDayOfYear = localeFirstDayOfYear;\nproto$1.firstDayOfWeek = localeFirstDayOfWeek;\n\n// Day of Week\nproto$1.weekdays       =        localeWeekdays;\nproto$1.weekdaysMin    =        localeWeekdaysMin;\nproto$1.weekdaysShort  =        localeWeekdaysShort;\nproto$1.weekdaysParse  =        localeWeekdaysParse;\n\nproto$1.weekdaysRegex       =        weekdaysRegex;\nproto$1.weekdaysShortRegex  =        weekdaysShortRegex;\nproto$1.weekdaysMinRegex    =        weekdaysMinRegex;\n\n// Hours\nproto$1.isPM = localeIsPM;\nproto$1.meridiem = localeMeridiem;\n\nfunction get$1 (format, index, field, setter) {\n    var locale = getLocale();\n    var utc = createUTC().set(setter, index);\n    return locale[field](utc, format);\n}\n\nfunction listMonthsImpl (format, index, field) {\n    if (isNumber(format)) {\n        index = format;\n        format = undefined;\n    }\n\n    format = format || '';\n\n    if (index != null) {\n        return get$1(format, index, field, 'month');\n    }\n\n    var i;\n    var out = [];\n    for (i = 0; i < 12; i++) {\n        out[i] = get$1(format, i, field, 'month');\n    }\n    return out;\n}\n\n// ()\n// (5)\n// (fmt, 5)\n// (fmt)\n// (true)\n// (true, 5)\n// (true, fmt, 5)\n// (true, fmt)\nfunction listWeekdaysImpl (localeSorted, format, index, field) {\n    if (typeof localeSorted === 'boolean') {\n        if (isNumber(format)) {\n            index = format;\n            format = undefined;\n        }\n\n        format = format || '';\n    } else {\n        format = localeSorted;\n        index = format;\n        localeSorted = false;\n\n        if (isNumber(format)) {\n            index = format;\n            format = undefined;\n        }\n\n        format = format || '';\n    }\n\n    var locale = getLocale(),\n        shift = localeSorted ? locale._week.dow : 0;\n\n    if (index != null) {\n        return get$1(format, (index + shift) % 7, field, 'day');\n    }\n\n    var i;\n    var out = [];\n    for (i = 0; i < 7; i++) {\n        out[i] = get$1(format, (i + shift) % 7, field, 'day');\n    }\n    return out;\n}\n\nfunction listMonths (format, index) {\n    return listMonthsImpl(format, index, 'months');\n}\n\nfunction listMonthsShort (format, index) {\n    return listMonthsImpl(format, index, 'monthsShort');\n}\n\nfunction listWeekdays (localeSorted, format, index) {\n    return listWeekdaysImpl(localeSorted, format, index, 'weekdays');\n}\n\nfunction listWeekdaysShort (localeSorted, format, index) {\n    return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');\n}\n\nfunction listWeekdaysMin (localeSorted, format, index) {\n    return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');\n}\n\ngetSetGlobalLocale('en', {\n    dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n    ordinal : function (number) {\n        var b = number % 10,\n            output = (toInt(number % 100 / 10) === 1) ? 'th' :\n            (b === 1) ? 'st' :\n            (b === 2) ? 'nd' :\n            (b === 3) ? 'rd' : 'th';\n        return number + output;\n    }\n});\n\n// Side effect imports\nhooks.lang = deprecate('moment.lang is deprecated. Use moment.locale instead.', getSetGlobalLocale);\nhooks.langData = deprecate('moment.langData is deprecated. Use moment.localeData instead.', getLocale);\n\nvar mathAbs = Math.abs;\n\nfunction abs () {\n    var data           = this._data;\n\n    this._milliseconds = mathAbs(this._milliseconds);\n    this._days         = mathAbs(this._days);\n    this._months       = mathAbs(this._months);\n\n    data.milliseconds  = mathAbs(data.milliseconds);\n    data.seconds       = mathAbs(data.seconds);\n    data.minutes       = mathAbs(data.minutes);\n    data.hours         = mathAbs(data.hours);\n    data.months        = mathAbs(data.months);\n    data.years         = mathAbs(data.years);\n\n    return this;\n}\n\nfunction addSubtract$1 (duration, input, value, direction) {\n    var other = createDuration(input, value);\n\n    duration._milliseconds += direction * other._milliseconds;\n    duration._days         += direction * other._days;\n    duration._months       += direction * other._months;\n\n    return duration._bubble();\n}\n\n// supports only 2.0-style add(1, 's') or add(duration)\nfunction add$1 (input, value) {\n    return addSubtract$1(this, input, value, 1);\n}\n\n// supports only 2.0-style subtract(1, 's') or subtract(duration)\nfunction subtract$1 (input, value) {\n    return addSubtract$1(this, input, value, -1);\n}\n\nfunction absCeil (number) {\n    if (number < 0) {\n        return Math.floor(number);\n    } else {\n        return Math.ceil(number);\n    }\n}\n\nfunction bubble () {\n    var milliseconds = this._milliseconds;\n    var days         = this._days;\n    var months       = this._months;\n    var data         = this._data;\n    var seconds, minutes, hours, years, monthsFromDays;\n\n    // if we have a mix of positive and negative values, bubble down first\n    // check: https://github.com/moment/moment/issues/2166\n    if (!((milliseconds >= 0 && days >= 0 && months >= 0) ||\n            (milliseconds <= 0 && days <= 0 && months <= 0))) {\n        milliseconds += absCeil(monthsToDays(months) + days) * 864e5;\n        days = 0;\n        months = 0;\n    }\n\n    // The following code bubbles up values, see the tests for\n    // examples of what that means.\n    data.milliseconds = milliseconds % 1000;\n\n    seconds           = absFloor(milliseconds / 1000);\n    data.seconds      = seconds % 60;\n\n    minutes           = absFloor(seconds / 60);\n    data.minutes      = minutes % 60;\n\n    hours             = absFloor(minutes / 60);\n    data.hours        = hours % 24;\n\n    days += absFloor(hours / 24);\n\n    // convert days to months\n    monthsFromDays = absFloor(daysToMonths(days));\n    months += monthsFromDays;\n    days -= absCeil(monthsToDays(monthsFromDays));\n\n    // 12 months -> 1 year\n    years = absFloor(months / 12);\n    months %= 12;\n\n    data.days   = days;\n    data.months = months;\n    data.years  = years;\n\n    return this;\n}\n\nfunction daysToMonths (days) {\n    // 400 years have 146097 days (taking into account leap year rules)\n    // 400 years have 12 months === 4800\n    return days * 4800 / 146097;\n}\n\nfunction monthsToDays (months) {\n    // the reverse of daysToMonths\n    return months * 146097 / 4800;\n}\n\nfunction as (units) {\n    if (!this.isValid()) {\n        return NaN;\n    }\n    var days;\n    var months;\n    var milliseconds = this._milliseconds;\n\n    units = normalizeUnits(units);\n\n    if (units === 'month' || units === 'year') {\n        days   = this._days   + milliseconds / 864e5;\n        months = this._months + daysToMonths(days);\n        return units === 'month' ? months : months / 12;\n    } else {\n        // handle milliseconds separately because of floating point math errors (issue #1867)\n        days = this._days + Math.round(monthsToDays(this._months));\n        switch (units) {\n            case 'week'   : return days / 7     + milliseconds / 6048e5;\n            case 'day'    : return days         + milliseconds / 864e5;\n            case 'hour'   : return days * 24    + milliseconds / 36e5;\n            case 'minute' : return days * 1440  + milliseconds / 6e4;\n            case 'second' : return days * 86400 + milliseconds / 1000;\n            // Math.floor prevents floating point math errors here\n            case 'millisecond': return Math.floor(days * 864e5) + milliseconds;\n            default: throw new Error('Unknown unit ' + units);\n        }\n    }\n}\n\n// TODO: Use this.as('ms')?\nfunction valueOf$1 () {\n    if (!this.isValid()) {\n        return NaN;\n    }\n    return (\n        this._milliseconds +\n        this._days * 864e5 +\n        (this._months % 12) * 2592e6 +\n        toInt(this._months / 12) * 31536e6\n    );\n}\n\nfunction makeAs (alias) {\n    return function () {\n        return this.as(alias);\n    };\n}\n\nvar asMilliseconds = makeAs('ms');\nvar asSeconds      = makeAs('s');\nvar asMinutes      = makeAs('m');\nvar asHours        = makeAs('h');\nvar asDays         = makeAs('d');\nvar asWeeks        = makeAs('w');\nvar asMonths       = makeAs('M');\nvar asYears        = makeAs('y');\n\nfunction get$2 (units) {\n    units = normalizeUnits(units);\n    return this.isValid() ? this[units + 's']() : NaN;\n}\n\nfunction makeGetter(name) {\n    return function () {\n        return this.isValid() ? this._data[name] : NaN;\n    };\n}\n\nvar milliseconds = makeGetter('milliseconds');\nvar seconds      = makeGetter('seconds');\nvar minutes      = makeGetter('minutes');\nvar hours        = makeGetter('hours');\nvar days         = makeGetter('days');\nvar months       = makeGetter('months');\nvar years        = makeGetter('years');\n\nfunction weeks () {\n    return absFloor(this.days() / 7);\n}\n\nvar round = Math.round;\nvar thresholds = {\n    ss: 44,         // a few seconds to seconds\n    s : 45,         // seconds to minute\n    m : 45,         // minutes to hour\n    h : 22,         // hours to day\n    d : 26,         // days to month\n    M : 11          // months to year\n};\n\n// helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize\nfunction substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {\n    return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);\n}\n\nfunction relativeTime$1 (posNegDuration, withoutSuffix, locale) {\n    var duration = createDuration(posNegDuration).abs();\n    var seconds  = round(duration.as('s'));\n    var minutes  = round(duration.as('m'));\n    var hours    = round(duration.as('h'));\n    var days     = round(duration.as('d'));\n    var months   = round(duration.as('M'));\n    var years    = round(duration.as('y'));\n\n    var a = seconds <= thresholds.ss && ['s', seconds]  ||\n            seconds < thresholds.s   && ['ss', seconds] ||\n            minutes <= 1             && ['m']           ||\n            minutes < thresholds.m   && ['mm', minutes] ||\n            hours   <= 1             && ['h']           ||\n            hours   < thresholds.h   && ['hh', hours]   ||\n            days    <= 1             && ['d']           ||\n            days    < thresholds.d   && ['dd', days]    ||\n            months  <= 1             && ['M']           ||\n            months  < thresholds.M   && ['MM', months]  ||\n            years   <= 1             && ['y']           || ['yy', years];\n\n    a[2] = withoutSuffix;\n    a[3] = +posNegDuration > 0;\n    a[4] = locale;\n    return substituteTimeAgo.apply(null, a);\n}\n\n// This function allows you to set the rounding function for relative time strings\nfunction getSetRelativeTimeRounding (roundingFunction) {\n    if (roundingFunction === undefined) {\n        return round;\n    }\n    if (typeof(roundingFunction) === 'function') {\n        round = roundingFunction;\n        return true;\n    }\n    return false;\n}\n\n// This function allows you to set a threshold for relative time strings\nfunction getSetRelativeTimeThreshold (threshold, limit) {\n    if (thresholds[threshold] === undefined) {\n        return false;\n    }\n    if (limit === undefined) {\n        return thresholds[threshold];\n    }\n    thresholds[threshold] = limit;\n    if (threshold === 's') {\n        thresholds.ss = limit - 1;\n    }\n    return true;\n}\n\nfunction humanize (withSuffix) {\n    if (!this.isValid()) {\n        return this.localeData().invalidDate();\n    }\n\n    var locale = this.localeData();\n    var output = relativeTime$1(this, !withSuffix, locale);\n\n    if (withSuffix) {\n        output = locale.pastFuture(+this, output);\n    }\n\n    return locale.postformat(output);\n}\n\nvar abs$1 = Math.abs;\n\nfunction toISOString$1() {\n    // for ISO strings we do not use the normal bubbling rules:\n    //  * milliseconds bubble up until they become hours\n    //  * days do not bubble at all\n    //  * months bubble up until they become years\n    // This is because there is no context-free conversion between hours and days\n    // (think of clock changes)\n    // and also not between days and months (28-31 days per month)\n    if (!this.isValid()) {\n        return this.localeData().invalidDate();\n    }\n\n    var seconds = abs$1(this._milliseconds) / 1000;\n    var days         = abs$1(this._days);\n    var months       = abs$1(this._months);\n    var minutes, hours, years;\n\n    // 3600 seconds -> 60 minutes -> 1 hour\n    minutes           = absFloor(seconds / 60);\n    hours             = absFloor(minutes / 60);\n    seconds %= 60;\n    minutes %= 60;\n\n    // 12 months -> 1 year\n    years  = absFloor(months / 12);\n    months %= 12;\n\n\n    // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js\n    var Y = years;\n    var M = months;\n    var D = days;\n    var h = hours;\n    var m = minutes;\n    var s = seconds;\n    var total = this.asSeconds();\n\n    if (!total) {\n        // this is the same as C#'s (Noda) and python (isodate)...\n        // but not other JS (goog.date)\n        return 'P0D';\n    }\n\n    return (total < 0 ? '-' : '') +\n        'P' +\n        (Y ? Y + 'Y' : '') +\n        (M ? M + 'M' : '') +\n        (D ? D + 'D' : '') +\n        ((h || m || s) ? 'T' : '') +\n        (h ? h + 'H' : '') +\n        (m ? m + 'M' : '') +\n        (s ? s + 'S' : '');\n}\n\nvar proto$2 = Duration.prototype;\n\nproto$2.isValid        = isValid$1;\nproto$2.abs            = abs;\nproto$2.add            = add$1;\nproto$2.subtract       = subtract$1;\nproto$2.as             = as;\nproto$2.asMilliseconds = asMilliseconds;\nproto$2.asSeconds      = asSeconds;\nproto$2.asMinutes      = asMinutes;\nproto$2.asHours        = asHours;\nproto$2.asDays         = asDays;\nproto$2.asWeeks        = asWeeks;\nproto$2.asMonths       = asMonths;\nproto$2.asYears        = asYears;\nproto$2.valueOf        = valueOf$1;\nproto$2._bubble        = bubble;\nproto$2.get            = get$2;\nproto$2.milliseconds   = milliseconds;\nproto$2.seconds        = seconds;\nproto$2.minutes        = minutes;\nproto$2.hours          = hours;\nproto$2.days           = days;\nproto$2.weeks          = weeks;\nproto$2.months         = months;\nproto$2.years          = years;\nproto$2.humanize       = humanize;\nproto$2.toISOString    = toISOString$1;\nproto$2.toString       = toISOString$1;\nproto$2.toJSON         = toISOString$1;\nproto$2.locale         = locale;\nproto$2.localeData     = localeData;\n\n// Deprecations\nproto$2.toIsoString = deprecate('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', toISOString$1);\nproto$2.lang = lang;\n\n// Side effect imports\n\n// FORMATTING\n\naddFormatToken('X', 0, 0, 'unix');\naddFormatToken('x', 0, 0, 'valueOf');\n\n// PARSING\n\naddRegexToken('x', matchSigned);\naddRegexToken('X', matchTimestamp);\naddParseToken('X', function (input, array, config) {\n    config._d = new Date(parseFloat(input, 10) * 1000);\n});\naddParseToken('x', function (input, array, config) {\n    config._d = new Date(toInt(input));\n});\n\n// Side effect imports\n\n\nhooks.version = '2.18.1';\n\nsetHookCallback(createLocal);\n\nhooks.fn                    = proto;\nhooks.min                   = min;\nhooks.max                   = max;\nhooks.now                   = now;\nhooks.utc                   = createUTC;\nhooks.unix                  = createUnix;\nhooks.months                = listMonths;\nhooks.isDate                = isDate;\nhooks.locale                = getSetGlobalLocale;\nhooks.invalid               = createInvalid;\nhooks.duration              = createDuration;\nhooks.isMoment              = isMoment;\nhooks.weekdays              = listWeekdays;\nhooks.parseZone             = createInZone;\nhooks.localeData            = getLocale;\nhooks.isDuration            = isDuration;\nhooks.monthsShort           = listMonthsShort;\nhooks.weekdaysMin           = listWeekdaysMin;\nhooks.defineLocale          = defineLocale;\nhooks.updateLocale          = updateLocale;\nhooks.locales               = listLocales;\nhooks.weekdaysShort         = listWeekdaysShort;\nhooks.normalizeUnits        = normalizeUnits;\nhooks.relativeTimeRounding = getSetRelativeTimeRounding;\nhooks.relativeTimeThreshold = getSetRelativeTimeThreshold;\nhooks.calendarFormat        = getCalendarFormat;\nhooks.prototype             = proto;\n\nreturn hooks;\n\n})));\n }","/*!\n * jQuery JavaScript Library v3.2.1\n * https://jquery.com/\n *\n * Includes Sizzle.js\n * https://sizzlejs.com/\n *\n * Copyright JS Foundation and other contributors\n * Released under the MIT license\n * https://jquery.org/license\n *\n * Date: 2017-03-20T18:59Z\n */\n( function( global, factory ) {\n\n\t\"use strict\";\n\n\tif ( typeof module === \"object\" && typeof module.exports === \"object\" ) {\n\n\t\t// For CommonJS and CommonJS-like environments where a proper `window`\n\t\t// is present, execute the factory and get jQuery.\n\t\t// For environments that do not have a `window` with a `document`\n\t\t// (such as Node.js), expose a factory as module.exports.\n\t\t// This accentuates the need for the creation of a real `window`.\n\t\t// e.g. var jQuery = require(\"jquery\")(window);\n\t\t// See ticket #14549 for more info.\n\t\tmodule.exports = global.document ?\n\t\t\tfactory( global, true ) :\n\t\t\tfunction( w ) {\n\t\t\t\tif ( !w.document ) {\n\t\t\t\t\tthrow new Error( \"jQuery requires a window with a document\" );\n\t\t\t\t}\n\t\t\t\treturn factory( w );\n\t\t\t};\n\t} else {\n\t\tfactory( global );\n\t}\n\n// Pass this if window is not defined yet\n} )( typeof window !== \"undefined\" ? window : this, function( window, noGlobal ) {\n\n// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1\n// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode\n// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common\n// enough that all such attempts are guarded in a try block.\n\"use strict\";\n\nvar arr = [];\n\nvar document = window.document;\n\nvar getProto = Object.getPrototypeOf;\n\nvar slice = arr.slice;\n\nvar concat = arr.concat;\n\nvar push = arr.push;\n\nvar indexOf = arr.indexOf;\n\nvar class2type = {};\n\nvar toString = class2type.toString;\n\nvar hasOwn = class2type.hasOwnProperty;\n\nvar fnToString = hasOwn.toString;\n\nvar ObjectFunctionString = fnToString.call( Object );\n\nvar support = {};\n\n\n\n\tfunction DOMEval( code, doc ) {\n\t\tdoc = doc || document;\n\n\t\tvar script = doc.createElement( \"script\" );\n\n\t\tscript.text = code;\n\t\tdoc.head.appendChild( script ).parentNode.removeChild( script );\n\t}\n/* global Symbol */\n// Defining this global in .eslintrc.json would create a danger of using the global\n// unguarded in another place, it seems safer to define global only for this module\n\n\n\nvar\n\tversion = \"3.2.1\",\n\n\t// Define a local copy of jQuery\n\tjQuery = function( selector, context ) {\n\n\t\t// The jQuery object is actually just the init constructor 'enhanced'\n\t\t// Need init if jQuery is called (just allow error to be thrown if not included)\n\t\treturn new jQuery.fn.init( selector, context );\n\t},\n\n\t// Support: Android <=4.0 only\n\t// Make sure we trim BOM and NBSP\n\trtrim = /^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,\n\n\t// Matches dashed string for camelizing\n\trmsPrefix = /^-ms-/,\n\trdashAlpha = /-([a-z])/g,\n\n\t// Used by jQuery.camelCase as callback to replace()\n\tfcamelCase = function( all, letter ) {\n\t\treturn letter.toUpperCase();\n\t};\n\njQuery.fn = jQuery.prototype = {\n\n\t// The current version of jQuery being used\n\tjquery: version,\n\n\tconstructor: jQuery,\n\n\t// The default length of a jQuery object is 0\n\tlength: 0,\n\n\ttoArray: function() {\n\t\treturn slice.call( this );\n\t},\n\n\t// Get the Nth element in the matched element set OR\n\t// Get the whole matched element set as a clean array\n\tget: function( num ) {\n\n\t\t// Return all the elements in a clean array\n\t\tif ( num == null ) {\n\t\t\treturn slice.call( this );\n\t\t}\n\n\t\t// Return just the one element from the set\n\t\treturn num < 0 ? this[ num + this.length ] : this[ num ];\n\t},\n\n\t// Take an array of elements and push it onto the stack\n\t// (returning the new matched element set)\n\tpushStack: function( elems ) {\n\n\t\t// Build a new jQuery matched element set\n\t\tvar ret = jQuery.merge( this.constructor(), elems );\n\n\t\t// Add the old object onto the stack (as a reference)\n\t\tret.prevObject = this;\n\n\t\t// Return the newly-formed element set\n\t\treturn ret;\n\t},\n\n\t// Execute a callback for every element in the matched set.\n\teach: function( callback ) {\n\t\treturn jQuery.each( this, callback );\n\t},\n\n\tmap: function( callback ) {\n\t\treturn this.pushStack( jQuery.map( this, function( elem, i ) {\n\t\t\treturn callback.call( elem, i, elem );\n\t\t} ) );\n\t},\n\n\tslice: function() {\n\t\treturn this.pushStack( slice.apply( this, arguments ) );\n\t},\n\n\tfirst: function() {\n\t\treturn this.eq( 0 );\n\t},\n\n\tlast: function() {\n\t\treturn this.eq( -1 );\n\t},\n\n\teq: function( i ) {\n\t\tvar len = this.length,\n\t\t\tj = +i + ( i < 0 ? len : 0 );\n\t\treturn this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );\n\t},\n\n\tend: function() {\n\t\treturn this.prevObject || this.constructor();\n\t},\n\n\t// For internal use only.\n\t// Behaves like an Array's method, not like a jQuery method.\n\tpush: push,\n\tsort: arr.sort,\n\tsplice: arr.splice\n};\n\njQuery.extend = jQuery.fn.extend = function() {\n\tvar options, name, src, copy, copyIsArray, clone,\n\t\ttarget = arguments[ 0 ] || {},\n\t\ti = 1,\n\t\tlength = arguments.length,\n\t\tdeep = false;\n\n\t// Handle a deep copy situation\n\tif ( typeof target === \"boolean\" ) {\n\t\tdeep = target;\n\n\t\t// Skip the boolean and the target\n\t\ttarget = arguments[ i ] || {};\n\t\ti++;\n\t}\n\n\t// Handle case when target is a string or something (possible in deep copy)\n\tif ( typeof target !== \"object\" && !jQuery.isFunction( target ) ) {\n\t\ttarget = {};\n\t}\n\n\t// Extend jQuery itself if only one argument is passed\n\tif ( i === length ) {\n\t\ttarget = this;\n\t\ti--;\n\t}\n\n\tfor ( ; i < length; i++ ) {\n\n\t\t// Only deal with non-null/undefined values\n\t\tif ( ( options = arguments[ i ] ) != null ) {\n\n\t\t\t// Extend the base object\n\t\t\tfor ( name in options ) {\n\t\t\t\tsrc = target[ name ];\n\t\t\t\tcopy = options[ name ];\n\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif ( target === copy ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\tif ( deep && copy && ( jQuery.isPlainObject( copy ) ||\n\t\t\t\t\t( copyIsArray = Array.isArray( copy ) ) ) ) {\n\n\t\t\t\t\tif ( copyIsArray ) {\n\t\t\t\t\t\tcopyIsArray = false;\n\t\t\t\t\t\tclone = src && Array.isArray( src ) ? src : [];\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tclone = src && jQuery.isPlainObject( src ) ? src : {};\n\t\t\t\t\t}\n\n\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\ttarget[ name ] = jQuery.extend( deep, clone, copy );\n\n\t\t\t\t// Don't bring in undefined values\n\t\t\t\t} else if ( copy !== undefined ) {\n\t\t\t\t\ttarget[ name ] = copy;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n\njQuery.extend( {\n\n\t// Unique for each copy of jQuery on the page\n\texpando: \"jQuery\" + ( version + Math.random() ).replace( /\\D/g, \"\" ),\n\n\t// Assume jQuery is ready without the ready module\n\tisReady: true,\n\n\terror: function( msg ) {\n\t\tthrow new Error( msg );\n\t},\n\n\tnoop: function() {},\n\n\tisFunction: function( obj ) {\n\t\treturn jQuery.type( obj ) === \"function\";\n\t},\n\n\tisWindow: function( obj ) {\n\t\treturn obj != null && obj === obj.window;\n\t},\n\n\tisNumeric: function( obj ) {\n\n\t\t// As of jQuery 3.0, isNumeric is limited to\n\t\t// strings and numbers (primitives or objects)\n\t\t// that can be coerced to finite numbers (gh-2662)\n\t\tvar type = jQuery.type( obj );\n\t\treturn ( type === \"number\" || type === \"string\" ) &&\n\n\t\t\t// parseFloat NaNs numeric-cast false positives (\"\")\n\t\t\t// ...but misinterprets leading-number strings, particularly hex literals (\"0x...\")\n\t\t\t// subtraction forces infinities to NaN\n\t\t\t!isNaN( obj - parseFloat( obj ) );\n\t},\n\n\tisPlainObject: function( obj ) {\n\t\tvar proto, Ctor;\n\n\t\t// Detect obvious negatives\n\t\t// Use toString instead of jQuery.type to catch host objects\n\t\tif ( !obj || toString.call( obj ) !== \"[object Object]\" ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tproto = getProto( obj );\n\n\t\t// Objects with no prototype (e.g., `Object.create( null )`) are plain\n\t\tif ( !proto ) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Objects with prototype are plain iff they were constructed by a global Object function\n\t\tCtor = hasOwn.call( proto, \"constructor\" ) && proto.constructor;\n\t\treturn typeof Ctor === \"function\" && fnToString.call( Ctor ) === ObjectFunctionString;\n\t},\n\n\tisEmptyObject: function( obj ) {\n\n\t\t/* eslint-disable no-unused-vars */\n\t\t// See https://github.com/eslint/eslint/issues/6125\n\t\tvar name;\n\n\t\tfor ( name in obj ) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t},\n\n\ttype: function( obj ) {\n\t\tif ( obj == null ) {\n\t\t\treturn obj + \"\";\n\t\t}\n\n\t\t// Support: Android <=2.3 only (functionish RegExp)\n\t\treturn typeof obj === \"object\" || typeof obj === \"function\" ?\n\t\t\tclass2type[ toString.call( obj ) ] || \"object\" :\n\t\t\ttypeof obj;\n\t},\n\n\t// Evaluates a script in a global context\n\tglobalEval: function( code ) {\n\t\tDOMEval( code );\n\t},\n\n\t// Convert dashed to camelCase; used by the css and data modules\n\t// Support: IE <=9 - 11, Edge 12 - 13\n\t// Microsoft forgot to hump their vendor prefix (#9572)\n\tcamelCase: function( string ) {\n\t\treturn string.replace( rmsPrefix, \"ms-\" ).replace( rdashAlpha, fcamelCase );\n\t},\n\n\teach: function( obj, callback ) {\n\t\tvar length, i = 0;\n\n\t\tif ( isArrayLike( obj ) ) {\n\t\t\tlength = obj.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor ( i in obj ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn obj;\n\t},\n\n\t// Support: Android <=4.0 only\n\ttrim: function( text ) {\n\t\treturn text == null ?\n\t\t\t\"\" :\n\t\t\t( text + \"\" ).replace( rtrim, \"\" );\n\t},\n\n\t// results is for internal usage only\n\tmakeArray: function( arr, results ) {\n\t\tvar ret = results || [];\n\n\t\tif ( arr != null ) {\n\t\t\tif ( isArrayLike( Object( arr ) ) ) {\n\t\t\t\tjQuery.merge( ret,\n\t\t\t\t\ttypeof arr === \"string\" ?\n\t\t\t\t\t[ arr ] : arr\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tpush.call( ret, arr );\n\t\t\t}\n\t\t}\n\n\t\treturn ret;\n\t},\n\n\tinArray: function( elem, arr, i ) {\n\t\treturn arr == null ? -1 : indexOf.call( arr, elem, i );\n\t},\n\n\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t// push.apply(_, arraylike) throws on ancient WebKit\n\tmerge: function( first, second ) {\n\t\tvar len = +second.length,\n\t\t\tj = 0,\n\t\t\ti = first.length;\n\n\t\tfor ( ; j < len; j++ ) {\n\t\t\tfirst[ i++ ] = second[ j ];\n\t\t}\n\n\t\tfirst.length = i;\n\n\t\treturn first;\n\t},\n\n\tgrep: function( elems, callback, invert ) {\n\t\tvar callbackInverse,\n\t\t\tmatches = [],\n\t\t\ti = 0,\n\t\t\tlength = elems.length,\n\t\t\tcallbackExpect = !invert;\n\n\t\t// Go through the array, only saving the items\n\t\t// that pass the validator function\n\t\tfor ( ; i < length; i++ ) {\n\t\t\tcallbackInverse = !callback( elems[ i ], i );\n\t\t\tif ( callbackInverse !== callbackExpect ) {\n\t\t\t\tmatches.push( elems[ i ] );\n\t\t\t}\n\t\t}\n\n\t\treturn matches;\n\t},\n\n\t// arg is for internal usage only\n\tmap: function( elems, callback, arg ) {\n\t\tvar length, value,\n\t\t\ti = 0,\n\t\t\tret = [];\n\n\t\t// Go through the array, translating each of the items to their new values\n\t\tif ( isArrayLike( elems ) ) {\n\t\t\tlength = elems.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Go through every key on the object,\n\t\t} else {\n\t\t\tfor ( i in elems ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Flatten any nested arrays\n\t\treturn concat.apply( [], ret );\n\t},\n\n\t// A global GUID counter for objects\n\tguid: 1,\n\n\t// Bind a function to a context, optionally partially applying any\n\t// arguments.\n\tproxy: function( fn, context ) {\n\t\tvar tmp, args, proxy;\n\n\t\tif ( typeof context === \"string\" ) {\n\t\t\ttmp = fn[ context ];\n\t\t\tcontext = fn;\n\t\t\tfn = tmp;\n\t\t}\n\n\t\t// Quick check to determine if target is callable, in the spec\n\t\t// this throws a TypeError, but we will just return undefined.\n\t\tif ( !jQuery.isFunction( fn ) ) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\t// Simulated bind\n\t\targs = slice.call( arguments, 2 );\n\t\tproxy = function() {\n\t\t\treturn fn.apply( context || this, args.concat( slice.call( arguments ) ) );\n\t\t};\n\n\t\t// Set the guid of unique handler to the same of original handler, so it can be removed\n\t\tproxy.guid = fn.guid = fn.guid || jQuery.guid++;\n\n\t\treturn proxy;\n\t},\n\n\tnow: Date.now,\n\n\t// jQuery.support is not used in Core but other projects attach their\n\t// properties to it so it needs to exist.\n\tsupport: support\n} );\n\nif ( typeof Symbol === \"function\" ) {\n\tjQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ];\n}\n\n// Populate the class2type map\njQuery.each( \"Boolean Number String Function Array Date RegExp Object Error Symbol\".split( \" \" ),\nfunction( i, name ) {\n\tclass2type[ \"[object \" + name + \"]\" ] = name.toLowerCase();\n} );\n\nfunction isArrayLike( obj ) {\n\n\t// Support: real iOS 8.2 only (not reproducible in simulator)\n\t// `in` check used to prevent JIT error (gh-2145)\n\t// hasOwn isn't used here due to false negatives\n\t// regarding Nodelist length in IE\n\tvar length = !!obj && \"length\" in obj && obj.length,\n\t\ttype = jQuery.type( obj );\n\n\tif ( type === \"function\" || jQuery.isWindow( obj ) ) {\n\t\treturn false;\n\t}\n\n\treturn type === \"array\" || length === 0 ||\n\t\ttypeof length === \"number\" && length > 0 && ( length - 1 ) in obj;\n}\nvar Sizzle =\n/*!\n * Sizzle CSS Selector Engine v2.3.3\n * https://sizzlejs.com/\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license\n * http://jquery.org/license\n *\n * Date: 2016-08-08\n */\n(function( window ) {\n\nvar i,\n\tsupport,\n\tExpr,\n\tgetText,\n\tisXML,\n\ttokenize,\n\tcompile,\n\tselect,\n\toutermostContext,\n\tsortInput,\n\thasDuplicate,\n\n\t// Local document vars\n\tsetDocument,\n\tdocument,\n\tdocElem,\n\tdocumentIsHTML,\n\trbuggyQSA,\n\trbuggyMatches,\n\tmatches,\n\tcontains,\n\n\t// Instance-specific data\n\texpando = \"sizzle\" + 1 * new Date(),\n\tpreferredDoc = window.document,\n\tdirruns = 0,\n\tdone = 0,\n\tclassCache = createCache(),\n\ttokenCache = createCache(),\n\tcompilerCache = createCache(),\n\tsortOrder = function( a, b ) {\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t}\n\t\treturn 0;\n\t},\n\n\t// Instance methods\n\thasOwn = ({}).hasOwnProperty,\n\tarr = [],\n\tpop = arr.pop,\n\tpush_native = arr.push,\n\tpush = arr.push,\n\tslice = arr.slice,\n\t// Use a stripped-down indexOf as it's faster than native\n\t// https://jsperf.com/thor-indexof-vs-for/5\n\tindexOf = function( list, elem ) {\n\t\tvar i = 0,\n\t\t\tlen = list.length;\n\t\tfor ( ; i < len; i++ ) {\n\t\t\tif ( list[i] === elem ) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t},\n\n\tbooleans = \"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped\",\n\n\t// Regular expressions\n\n\t// http://www.w3.org/TR/css3-selectors/#whitespace\n\twhitespace = \"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\",\n\n\t// http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier\n\tidentifier = \"(?:\\\\\\\\.|[\\\\w-]|[^\\0-\\\\xa0])+\",\n\n\t// Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors\n\tattributes = \"\\\\[\" + whitespace + \"*(\" + identifier + \")(?:\" + whitespace +\n\t\t// Operator (capture 2)\n\t\t\"*([*^$|!~]?=)\" + whitespace +\n\t\t// \"Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]\"\n\t\t\"*(?:'((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\"|(\" + identifier + \"))|)\" + whitespace +\n\t\t\"*\\\\]\",\n\n\tpseudos = \":(\" + identifier + \")(?:\\\\((\" +\n\t\t// To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:\n\t\t// 1. quoted (capture 3; capture 4 or capture 5)\n\t\t\"('((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\")|\" +\n\t\t// 2. simple (capture 6)\n\t\t\"((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\" + attributes + \")*)|\" +\n\t\t// 3. anything else (capture 2)\n\t\t\".*\" +\n\t\t\")\\\\)|)\",\n\n\t// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter\n\trwhitespace = new RegExp( whitespace + \"+\", \"g\" ),\n\trtrim = new RegExp( \"^\" + whitespace + \"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\" + whitespace + \"+$\", \"g\" ),\n\n\trcomma = new RegExp( \"^\" + whitespace + \"*,\" + whitespace + \"*\" ),\n\trcombinators = new RegExp( \"^\" + whitespace + \"*([>+~]|\" + whitespace + \")\" + whitespace + \"*\" ),\n\n\trattributeQuotes = new RegExp( \"=\" + whitespace + \"*([^\\\\]'\\\"]*?)\" + whitespace + \"*\\\\]\", \"g\" ),\n\n\trpseudo = new RegExp( pseudos ),\n\tridentifier = new RegExp( \"^\" + identifier + \"$\" ),\n\n\tmatchExpr = {\n\t\t\"ID\": new RegExp( \"^#(\" + identifier + \")\" ),\n\t\t\"CLASS\": new RegExp( \"^\\\\.(\" + identifier + \")\" ),\n\t\t\"TAG\": new RegExp( \"^(\" + identifier + \"|[*])\" ),\n\t\t\"ATTR\": new RegExp( \"^\" + attributes ),\n\t\t\"PSEUDO\": new RegExp( \"^\" + pseudos ),\n\t\t\"CHILD\": new RegExp( \"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\" + whitespace +\n\t\t\t\"*(even|odd|(([+-]|)(\\\\d*)n|)\" + whitespace + \"*(?:([+-]|)\" + whitespace +\n\t\t\t\"*(\\\\d+)|))\" + whitespace + \"*\\\\)|)\", \"i\" ),\n\t\t\"bool\": new RegExp( \"^(?:\" + booleans + \")$\", \"i\" ),\n\t\t// For use in libraries implementing .is()\n\t\t// We use this for POS matching in `select`\n\t\t\"needsContext\": new RegExp( \"^\" + whitespace + \"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\" +\n\t\t\twhitespace + \"*((?:-\\\\d)?\\\\d*)\" + whitespace + \"*\\\\)|)(?=[^-]|$)\", \"i\" )\n\t},\n\n\trinputs = /^(?:input|select|textarea|button)$/i,\n\trheader = /^h\\d$/i,\n\n\trnative = /^[^{]+\\{\\s*\\[native \\w/,\n\n\t// Easily-parseable/retrievable ID or TAG or CLASS selectors\n\trquickExpr = /^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,\n\n\trsibling = /[+~]/,\n\n\t// CSS escapes\n\t// http://www.w3.org/TR/CSS21/syndata.html#escaped-characters\n\trunescape = new RegExp( \"\\\\\\\\([\\\\da-f]{1,6}\" + whitespace + \"?|(\" + whitespace + \")|.)\", \"ig\" ),\n\tfunescape = function( _, escaped, escapedWhitespace ) {\n\t\tvar high = \"0x\" + escaped - 0x10000;\n\t\t// NaN means non-codepoint\n\t\t// Support: Firefox<24\n\t\t// Workaround erroneous numeric interpretation of +\"0x\"\n\t\treturn high !== high || escapedWhitespace ?\n\t\t\tescaped :\n\t\t\thigh < 0 ?\n\t\t\t\t// BMP codepoint\n\t\t\t\tString.fromCharCode( high + 0x10000 ) :\n\t\t\t\t// Supplemental Plane codepoint (surrogate pair)\n\t\t\t\tString.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );\n\t},\n\n\t// CSS string/identifier serialization\n\t// https://drafts.csswg.org/cssom/#common-serializing-idioms\n\trcssescape = /([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,\n\tfcssescape = function( ch, asCodePoint ) {\n\t\tif ( asCodePoint ) {\n\n\t\t\t// U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER\n\t\t\tif ( ch === \"\\0\" ) {\n\t\t\t\treturn \"\\uFFFD\";\n\t\t\t}\n\n\t\t\t// Control characters and (dependent upon position) numbers get escaped as code points\n\t\t\treturn ch.slice( 0, -1 ) + \"\\\\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + \" \";\n\t\t}\n\n\t\t// Other potentially-special ASCII characters get backslash-escaped\n\t\treturn \"\\\\\" + ch;\n\t},\n\n\t// Used for iframes\n\t// See setDocument()\n\t// Removing the function wrapper causes a \"Permission Denied\"\n\t// error in IE\n\tunloadHandler = function() {\n\t\tsetDocument();\n\t},\n\n\tdisabledAncestor = addCombinator(\n\t\tfunction( elem ) {\n\t\t\treturn elem.disabled === true && (\"form\" in elem || \"label\" in elem);\n\t\t},\n\t\t{ dir: \"parentNode\", next: \"legend\" }\n\t);\n\n// Optimize for push.apply( _, NodeList )\ntry {\n\tpush.apply(\n\t\t(arr = slice.call( preferredDoc.childNodes )),\n\t\tpreferredDoc.childNodes\n\t);\n\t// Support: Android<4.0\n\t// Detect silently failing push.apply\n\tarr[ preferredDoc.childNodes.length ].nodeType;\n} catch ( e ) {\n\tpush = { apply: arr.length ?\n\n\t\t// Leverage slice if possible\n\t\tfunction( target, els ) {\n\t\t\tpush_native.apply( target, slice.call(els) );\n\t\t} :\n\n\t\t// Support: IE<9\n\t\t// Otherwise append directly\n\t\tfunction( target, els ) {\n\t\t\tvar j = target.length,\n\t\t\t\ti = 0;\n\t\t\t// Can't trust NodeList.length\n\t\t\twhile ( (target[j++] = els[i++]) ) {}\n\t\t\ttarget.length = j - 1;\n\t\t}\n\t};\n}\n\nfunction Sizzle( selector, context, results, seed ) {\n\tvar m, i, elem, nid, match, groups, newSelector,\n\t\tnewContext = context && context.ownerDocument,\n\n\t\t// nodeType defaults to 9, since context defaults to document\n\t\tnodeType = context ? context.nodeType : 9;\n\n\tresults = results || [];\n\n\t// Return early from calls with invalid selector or context\n\tif ( typeof selector !== \"string\" || !selector ||\n\t\tnodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {\n\n\t\treturn results;\n\t}\n\n\t// Try to shortcut find operations (as opposed to filters) in HTML documents\n\tif ( !seed ) {\n\n\t\tif ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) {\n\t\t\tsetDocument( context );\n\t\t}\n\t\tcontext = context || document;\n\n\t\tif ( documentIsHTML ) {\n\n\t\t\t// If the selector is sufficiently simple, try using a \"get*By*\" DOM method\n\t\t\t// (excepting DocumentFragment context, where the methods don't exist)\n\t\t\tif ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) {\n\n\t\t\t\t// ID selector\n\t\t\t\tif ( (m = match[1]) ) {\n\n\t\t\t\t\t// Document context\n\t\t\t\t\tif ( nodeType === 9 ) {\n\t\t\t\t\t\tif ( (elem = context.getElementById( m )) ) {\n\n\t\t\t\t\t\t\t// Support: IE, Opera, Webkit\n\t\t\t\t\t\t\t// TODO: identify versions\n\t\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\t\tif ( elem.id === m ) {\n\t\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t// Element context\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\t// Support: IE, Opera, Webkit\n\t\t\t\t\t\t// TODO: identify versions\n\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\tif ( newContext && (elem = newContext.getElementById( m )) &&\n\t\t\t\t\t\t\tcontains( context, elem ) &&\n\t\t\t\t\t\t\telem.id === m ) {\n\n\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t// Type selector\n\t\t\t\t} else if ( match[2] ) {\n\t\t\t\t\tpush.apply( results, context.getElementsByTagName( selector ) );\n\t\t\t\t\treturn results;\n\n\t\t\t\t// Class selector\n\t\t\t\t} else if ( (m = match[3]) && support.getElementsByClassName &&\n\t\t\t\t\tcontext.getElementsByClassName ) {\n\n\t\t\t\t\tpush.apply( results, context.getElementsByClassName( m ) );\n\t\t\t\t\treturn results;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Take advantage of querySelectorAll\n\t\t\tif ( support.qsa &&\n\t\t\t\t!compilerCache[ selector + \" \" ] &&\n\t\t\t\t(!rbuggyQSA || !rbuggyQSA.test( selector )) ) {\n\n\t\t\t\tif ( nodeType !== 1 ) {\n\t\t\t\t\tnewContext = context;\n\t\t\t\t\tnewSelector = selector;\n\n\t\t\t\t// qSA looks outside Element context, which is not what we want\n\t\t\t\t// Thanks to Andrew Dupont for this workaround technique\n\t\t\t\t// Support: IE <=8\n\t\t\t\t// Exclude object elements\n\t\t\t\t} else if ( context.nodeName.toLowerCase() !== \"object\" ) {\n\n\t\t\t\t\t// Capture the context ID, setting it first if necessary\n\t\t\t\t\tif ( (nid = context.getAttribute( \"id\" )) ) {\n\t\t\t\t\t\tnid = nid.replace( rcssescape, fcssescape );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcontext.setAttribute( \"id\", (nid = expando) );\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prefix every selector in the list\n\t\t\t\t\tgroups = tokenize( selector );\n\t\t\t\t\ti = groups.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tgroups[i] = \"#\" + nid + \" \" + toSelector( groups[i] );\n\t\t\t\t\t}\n\t\t\t\t\tnewSelector = groups.join( \",\" );\n\n\t\t\t\t\t// Expand context for sibling selectors\n\t\t\t\t\tnewContext = rsibling.test( selector ) && testContext( context.parentNode ) ||\n\t\t\t\t\t\tcontext;\n\t\t\t\t}\n\n\t\t\t\tif ( newSelector ) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tpush.apply( results,\n\t\t\t\t\t\t\tnewContext.querySelectorAll( newSelector )\n\t\t\t\t\t\t);\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t} catch ( qsaError ) {\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tif ( nid === expando ) {\n\t\t\t\t\t\t\tcontext.removeAttribute( \"id\" );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// All others\n\treturn select( selector.replace( rtrim, \"$1\" ), context, results, seed );\n}\n\n/**\n * Create key-value caches of limited size\n * @returns {function(string, object)} Returns the Object data after storing it on itself with\n *\tproperty name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)\n *\tdeleting the oldest entry\n */\nfunction createCache() {\n\tvar keys = [];\n\n\tfunction cache( key, value ) {\n\t\t// Use (key + \" \") to avoid collision with native prototype properties (see Issue #157)\n\t\tif ( keys.push( key + \" \" ) > Expr.cacheLength ) {\n\t\t\t// Only keep the most recent entries\n\t\t\tdelete cache[ keys.shift() ];\n\t\t}\n\t\treturn (cache[ key + \" \" ] = value);\n\t}\n\treturn cache;\n}\n\n/**\n * Mark a function for special use by Sizzle\n * @param {Function} fn The function to mark\n */\nfunction markFunction( fn ) {\n\tfn[ expando ] = true;\n\treturn fn;\n}\n\n/**\n * Support testing using an element\n * @param {Function} fn Passed the created element and returns a boolean result\n */\nfunction assert( fn ) {\n\tvar el = document.createElement(\"fieldset\");\n\n\ttry {\n\t\treturn !!fn( el );\n\t} catch (e) {\n\t\treturn false;\n\t} finally {\n\t\t// Remove from its parent by default\n\t\tif ( el.parentNode ) {\n\t\t\tel.parentNode.removeChild( el );\n\t\t}\n\t\t// release memory in IE\n\t\tel = null;\n\t}\n}\n\n/**\n * Adds the same handler for all of the specified attrs\n * @param {String} attrs Pipe-separated list of attributes\n * @param {Function} handler The method that will be applied\n */\nfunction addHandle( attrs, handler ) {\n\tvar arr = attrs.split(\"|\"),\n\t\ti = arr.length;\n\n\twhile ( i-- ) {\n\t\tExpr.attrHandle[ arr[i] ] = handler;\n\t}\n}\n\n/**\n * Checks document order of two siblings\n * @param {Element} a\n * @param {Element} b\n * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b\n */\nfunction siblingCheck( a, b ) {\n\tvar cur = b && a,\n\t\tdiff = cur && a.nodeType === 1 && b.nodeType === 1 &&\n\t\t\ta.sourceIndex - b.sourceIndex;\n\n\t// Use IE sourceIndex if available on both nodes\n\tif ( diff ) {\n\t\treturn diff;\n\t}\n\n\t// Check if b follows a\n\tif ( cur ) {\n\t\twhile ( (cur = cur.nextSibling) ) {\n\t\t\tif ( cur === b ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t}\n\n\treturn a ? 1 : -1;\n}\n\n/**\n * Returns a function to use in pseudos for input types\n * @param {String} type\n */\nfunction createInputPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn name === \"input\" && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for buttons\n * @param {String} type\n */\nfunction createButtonPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn (name === \"input\" || name === \"button\") && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for :enabled/:disabled\n * @param {Boolean} disabled true for :disabled; false for :enabled\n */\nfunction createDisabledPseudo( disabled ) {\n\n\t// Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable\n\treturn function( elem ) {\n\n\t\t// Only certain elements can match :enabled or :disabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled\n\t\tif ( \"form\" in elem ) {\n\n\t\t\t// Check for inherited disabledness on relevant non-disabled elements:\n\t\t\t// * listed form-associated elements in a disabled fieldset\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#category-listed\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled\n\t\t\t// * option elements in a disabled optgroup\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled\n\t\t\t// All such elements have a \"form\" property.\n\t\t\tif ( elem.parentNode && elem.disabled === false ) {\n\n\t\t\t\t// Option elements defer to a parent optgroup if present\n\t\t\t\tif ( \"label\" in elem ) {\n\t\t\t\t\tif ( \"label\" in elem.parentNode ) {\n\t\t\t\t\t\treturn elem.parentNode.disabled === disabled;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn elem.disabled === disabled;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Support: IE 6 - 11\n\t\t\t\t// Use the isDisabled shortcut property to check for disabled fieldset ancestors\n\t\t\t\treturn elem.isDisabled === disabled ||\n\n\t\t\t\t\t// Where there is no isDisabled, check manually\n\t\t\t\t\t/* jshint -W018 */\n\t\t\t\t\telem.isDisabled !== !disabled &&\n\t\t\t\t\t\tdisabledAncestor( elem ) === disabled;\n\t\t\t}\n\n\t\t\treturn elem.disabled === disabled;\n\n\t\t// Try to winnow out elements that can't be disabled before trusting the disabled property.\n\t\t// Some victims get caught in our net (label, legend, menu, track), but it shouldn't\n\t\t// even exist on them, let alone have a boolean value.\n\t\t} else if ( \"label\" in elem ) {\n\t\t\treturn elem.disabled === disabled;\n\t\t}\n\n\t\t// Remaining elements are neither :enabled nor :disabled\n\t\treturn false;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for positionals\n * @param {Function} fn\n */\nfunction createPositionalPseudo( fn ) {\n\treturn markFunction(function( argument ) {\n\t\targument = +argument;\n\t\treturn markFunction(function( seed, matches ) {\n\t\t\tvar j,\n\t\t\t\tmatchIndexes = fn( [], seed.length, argument ),\n\t\t\t\ti = matchIndexes.length;\n\n\t\t\t// Match elements found at the specified indexes\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( seed[ (j = matchIndexes[i]) ] ) {\n\t\t\t\t\tseed[j] = !(matches[j] = seed[j]);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t});\n}\n\n/**\n * Checks a node for validity as a Sizzle context\n * @param {Element|Object=} context\n * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value\n */\nfunction testContext( context ) {\n\treturn context && typeof context.getElementsByTagName !== \"undefined\" && context;\n}\n\n// Expose support vars for convenience\nsupport = Sizzle.support = {};\n\n/**\n * Detects XML nodes\n * @param {Element|Object} elem An element or a document\n * @returns {Boolean} True iff elem is a non-HTML XML node\n */\nisXML = Sizzle.isXML = function( elem ) {\n\t// documentElement is verified for cases where it doesn't yet exist\n\t// (such as loading iframes in IE - #4833)\n\tvar documentElement = elem && (elem.ownerDocument || elem).documentElement;\n\treturn documentElement ? documentElement.nodeName !== \"HTML\" : false;\n};\n\n/**\n * Sets document-related variables once based on the current document\n * @param {Element|Object} [doc] An element or document object to use to set the document\n * @returns {Object} Returns the current document\n */\nsetDocument = Sizzle.setDocument = function( node ) {\n\tvar hasCompare, subWindow,\n\t\tdoc = node ? node.ownerDocument || node : preferredDoc;\n\n\t// Return early if doc is invalid or already selected\n\tif ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) {\n\t\treturn document;\n\t}\n\n\t// Update global variables\n\tdocument = doc;\n\tdocElem = document.documentElement;\n\tdocumentIsHTML = !isXML( document );\n\n\t// Support: IE 9-11, Edge\n\t// Accessing iframe documents after unload throws \"permission denied\" errors (jQuery #13936)\n\tif ( preferredDoc !== document &&\n\t\t(subWindow = document.defaultView) && subWindow.top !== subWindow ) {\n\n\t\t// Support: IE 11, Edge\n\t\tif ( subWindow.addEventListener ) {\n\t\t\tsubWindow.addEventListener( \"unload\", unloadHandler, false );\n\n\t\t// Support: IE 9 - 10 only\n\t\t} else if ( subWindow.attachEvent ) {\n\t\t\tsubWindow.attachEvent( \"onunload\", unloadHandler );\n\t\t}\n\t}\n\n\t/* Attributes\n\t---------------------------------------------------------------------- */\n\n\t// Support: IE<8\n\t// Verify that getAttribute really returns attributes and not properties\n\t// (excepting IE8 booleans)\n\tsupport.attributes = assert(function( el ) {\n\t\tel.className = \"i\";\n\t\treturn !el.getAttribute(\"className\");\n\t});\n\n\t/* getElement(s)By*\n\t---------------------------------------------------------------------- */\n\n\t// Check if getElementsByTagName(\"*\") returns only elements\n\tsupport.getElementsByTagName = assert(function( el ) {\n\t\tel.appendChild( document.createComment(\"\") );\n\t\treturn !el.getElementsByTagName(\"*\").length;\n\t});\n\n\t// Support: IE<9\n\tsupport.getElementsByClassName = rnative.test( document.getElementsByClassName );\n\n\t// Support: IE<10\n\t// Check if getElementById returns elements by name\n\t// The broken getElementById methods don't pick up programmatically-set names,\n\t// so use a roundabout getElementsByName test\n\tsupport.getById = assert(function( el ) {\n\t\tdocElem.appendChild( el ).id = expando;\n\t\treturn !document.getElementsByName || !document.getElementsByName( expando ).length;\n\t});\n\n\t// ID filter and find\n\tif ( support.getById ) {\n\t\tExpr.filter[\"ID\"] = function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn elem.getAttribute(\"id\") === attrId;\n\t\t\t};\n\t\t};\n\t\tExpr.find[\"ID\"] = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar elem = context.getElementById( id );\n\t\t\t\treturn elem ? [ elem ] : [];\n\t\t\t}\n\t\t};\n\t} else {\n\t\tExpr.filter[\"ID\"] =  function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\tvar node = typeof elem.getAttributeNode !== \"undefined\" &&\n\t\t\t\t\telem.getAttributeNode(\"id\");\n\t\t\t\treturn node && node.value === attrId;\n\t\t\t};\n\t\t};\n\n\t\t// Support: IE 6 - 7 only\n\t\t// getElementById is not reliable as a find shortcut\n\t\tExpr.find[\"ID\"] = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar node, i, elems,\n\t\t\t\t\telem = context.getElementById( id );\n\n\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t// Verify the id attribute\n\t\t\t\t\tnode = elem.getAttributeNode(\"id\");\n\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t}\n\n\t\t\t\t\t// Fall back on getElementsByName\n\t\t\t\t\telems = context.getElementsByName( id );\n\t\t\t\t\ti = 0;\n\t\t\t\t\twhile ( (elem = elems[i++]) ) {\n\t\t\t\t\t\tnode = elem.getAttributeNode(\"id\");\n\t\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn [];\n\t\t\t}\n\t\t};\n\t}\n\n\t// Tag\n\tExpr.find[\"TAG\"] = support.getElementsByTagName ?\n\t\tfunction( tag, context ) {\n\t\t\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\t\t\treturn context.getElementsByTagName( tag );\n\n\t\t\t// DocumentFragment nodes don't have gEBTN\n\t\t\t} else if ( support.qsa ) {\n\t\t\t\treturn context.querySelectorAll( tag );\n\t\t\t}\n\t\t} :\n\n\t\tfunction( tag, context ) {\n\t\t\tvar elem,\n\t\t\t\ttmp = [],\n\t\t\t\ti = 0,\n\t\t\t\t// By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too\n\t\t\t\tresults = context.getElementsByTagName( tag );\n\n\t\t\t// Filter out possible comments\n\t\t\tif ( tag === \"*\" ) {\n\t\t\t\twhile ( (elem = results[i++]) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\ttmp.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn tmp;\n\t\t\t}\n\t\t\treturn results;\n\t\t};\n\n\t// Class\n\tExpr.find[\"CLASS\"] = support.getElementsByClassName && function( className, context ) {\n\t\tif ( typeof context.getElementsByClassName !== \"undefined\" && documentIsHTML ) {\n\t\t\treturn context.getElementsByClassName( className );\n\t\t}\n\t};\n\n\t/* QSA/matchesSelector\n\t---------------------------------------------------------------------- */\n\n\t// QSA and matchesSelector support\n\n\t// matchesSelector(:active) reports false when true (IE9/Opera 11.5)\n\trbuggyMatches = [];\n\n\t// qSa(:focus) reports false when true (Chrome 21)\n\t// We allow this because of a bug in IE8/9 that throws an error\n\t// whenever `document.activeElement` is accessed on an iframe\n\t// So, we allow :focus to pass through QSA all the time to avoid the IE error\n\t// See https://bugs.jquery.com/ticket/13378\n\trbuggyQSA = [];\n\n\tif ( (support.qsa = rnative.test( document.querySelectorAll )) ) {\n\t\t// Build QSA regex\n\t\t// Regex strategy adopted from Diego Perini\n\t\tassert(function( el ) {\n\t\t\t// Select is set to empty string on purpose\n\t\t\t// This is to test IE's treatment of not explicitly\n\t\t\t// setting a boolean content attribute,\n\t\t\t// since its presence should be enough\n\t\t\t// https://bugs.jquery.com/ticket/12359\n\t\t\tdocElem.appendChild( el ).innerHTML = \"<a id='\" + expando + \"'></a>\" +\n\t\t\t\t\"<select id='\" + expando + \"-\\r\\\\' msallowcapture=''>\" +\n\t\t\t\t\"<option selected=''></option></select>\";\n\n\t\t\t// Support: IE8, Opera 11-12.16\n\t\t\t// Nothing should be selected when empty strings follow ^= or $= or *=\n\t\t\t// The test attribute must be unknown in Opera but \"safe\" for WinRT\n\t\t\t// https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section\n\t\t\tif ( el.querySelectorAll(\"[msallowcapture^='']\").length ) {\n\t\t\t\trbuggyQSA.push( \"[*^$]=\" + whitespace + \"*(?:''|\\\"\\\")\" );\n\t\t\t}\n\n\t\t\t// Support: IE8\n\t\t\t// Boolean attributes and \"value\" are not treated correctly\n\t\t\tif ( !el.querySelectorAll(\"[selected]\").length ) {\n\t\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*(?:value|\" + booleans + \")\" );\n\t\t\t}\n\n\t\t\t// Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+\n\t\t\tif ( !el.querySelectorAll( \"[id~=\" + expando + \"-]\" ).length ) {\n\t\t\t\trbuggyQSA.push(\"~=\");\n\t\t\t}\n\n\t\t\t// Webkit/Opera - :checked should return selected option elements\n\t\t\t// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( !el.querySelectorAll(\":checked\").length ) {\n\t\t\t\trbuggyQSA.push(\":checked\");\n\t\t\t}\n\n\t\t\t// Support: Safari 8+, iOS 8+\n\t\t\t// https://bugs.webkit.org/show_bug.cgi?id=136851\n\t\t\t// In-page `selector#id sibling-combinator selector` fails\n\t\t\tif ( !el.querySelectorAll( \"a#\" + expando + \"+*\" ).length ) {\n\t\t\t\trbuggyQSA.push(\".#.+[+~]\");\n\t\t\t}\n\t\t});\n\n\t\tassert(function( el ) {\n\t\t\tel.innerHTML = \"<a href='' disabled='disabled'></a>\" +\n\t\t\t\t\"<select disabled='disabled'><option/></select>\";\n\n\t\t\t// Support: Windows 8 Native Apps\n\t\t\t// The type and name attributes are restricted during .innerHTML assignment\n\t\t\tvar input = document.createElement(\"input\");\n\t\t\tinput.setAttribute( \"type\", \"hidden\" );\n\t\t\tel.appendChild( input ).setAttribute( \"name\", \"D\" );\n\n\t\t\t// Support: IE8\n\t\t\t// Enforce case-sensitivity of name attribute\n\t\t\tif ( el.querySelectorAll(\"[name=d]\").length ) {\n\t\t\t\trbuggyQSA.push( \"name\" + whitespace + \"*[*^$|!~]?=\" );\n\t\t\t}\n\n\t\t\t// FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( el.querySelectorAll(\":enabled\").length !== 2 ) {\n\t\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t\t}\n\n\t\t\t// Support: IE9-11+\n\t\t\t// IE's :disabled selector does not pick up the children of disabled fieldsets\n\t\t\tdocElem.appendChild( el ).disabled = true;\n\t\t\tif ( el.querySelectorAll(\":disabled\").length !== 2 ) {\n\t\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t\t}\n\n\t\t\t// Opera 10-11 does not throw on post-comma invalid pseudos\n\t\t\tel.querySelectorAll(\"*,:x\");\n\t\t\trbuggyQSA.push(\",.*:\");\n\t\t});\n\t}\n\n\tif ( (support.matchesSelector = rnative.test( (matches = docElem.matches ||\n\t\tdocElem.webkitMatchesSelector ||\n\t\tdocElem.mozMatchesSelector ||\n\t\tdocElem.oMatchesSelector ||\n\t\tdocElem.msMatchesSelector) )) ) {\n\n\t\tassert(function( el ) {\n\t\t\t// Check to see if it's possible to do matchesSelector\n\t\t\t// on a disconnected node (IE 9)\n\t\t\tsupport.disconnectedMatch = matches.call( el, \"*\" );\n\n\t\t\t// This should fail with an exception\n\t\t\t// Gecko does not error, returns false instead\n\t\t\tmatches.call( el, \"[s!='']:x\" );\n\t\t\trbuggyMatches.push( \"!=\", pseudos );\n\t\t});\n\t}\n\n\trbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join(\"|\") );\n\trbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join(\"|\") );\n\n\t/* Contains\n\t---------------------------------------------------------------------- */\n\thasCompare = rnative.test( docElem.compareDocumentPosition );\n\n\t// Element contains another\n\t// Purposefully self-exclusive\n\t// As in, an element does not contain itself\n\tcontains = hasCompare || rnative.test( docElem.contains ) ?\n\t\tfunction( a, b ) {\n\t\t\tvar adown = a.nodeType === 9 ? a.documentElement : a,\n\t\t\t\tbup = b && b.parentNode;\n\t\t\treturn a === bup || !!( bup && bup.nodeType === 1 && (\n\t\t\t\tadown.contains ?\n\t\t\t\t\tadown.contains( bup ) :\n\t\t\t\t\ta.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16\n\t\t\t));\n\t\t} :\n\t\tfunction( a, b ) {\n\t\t\tif ( b ) {\n\t\t\t\twhile ( (b = b.parentNode) ) {\n\t\t\t\t\tif ( b === a ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\n\t/* Sorting\n\t---------------------------------------------------------------------- */\n\n\t// Document order sorting\n\tsortOrder = hasCompare ?\n\tfunction( a, b ) {\n\n\t\t// Flag for duplicate removal\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\t// Sort on method existence if only one input has compareDocumentPosition\n\t\tvar compare = !a.compareDocumentPosition - !b.compareDocumentPosition;\n\t\tif ( compare ) {\n\t\t\treturn compare;\n\t\t}\n\n\t\t// Calculate position if both inputs belong to the same document\n\t\tcompare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ?\n\t\t\ta.compareDocumentPosition( b ) :\n\n\t\t\t// Otherwise we know they are disconnected\n\t\t\t1;\n\n\t\t// Disconnected nodes\n\t\tif ( compare & 1 ||\n\t\t\t(!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) {\n\n\t\t\t// Choose the first element that is related to our preferred document\n\t\t\tif ( a === document || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif ( b === document || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\t// Maintain original order\n\t\t\treturn sortInput ?\n\t\t\t\t( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :\n\t\t\t\t0;\n\t\t}\n\n\t\treturn compare & 4 ? -1 : 1;\n\t} :\n\tfunction( a, b ) {\n\t\t// Exit early if the nodes are identical\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\taup = a.parentNode,\n\t\t\tbup = b.parentNode,\n\t\t\tap = [ a ],\n\t\t\tbp = [ b ];\n\n\t\t// Parentless nodes are either documents or disconnected\n\t\tif ( !aup || !bup ) {\n\t\t\treturn a === document ? -1 :\n\t\t\t\tb === document ? 1 :\n\t\t\t\taup ? -1 :\n\t\t\t\tbup ? 1 :\n\t\t\t\tsortInput ?\n\t\t\t\t( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :\n\t\t\t\t0;\n\n\t\t// If the nodes are siblings, we can do a quick check\n\t\t} else if ( aup === bup ) {\n\t\t\treturn siblingCheck( a, b );\n\t\t}\n\n\t\t// Otherwise we need full lists of their ancestors for comparison\n\t\tcur = a;\n\t\twhile ( (cur = cur.parentNode) ) {\n\t\t\tap.unshift( cur );\n\t\t}\n\t\tcur = b;\n\t\twhile ( (cur = cur.parentNode) ) {\n\t\t\tbp.unshift( cur );\n\t\t}\n\n\t\t// Walk down the tree looking for a discrepancy\n\t\twhile ( ap[i] === bp[i] ) {\n\t\t\ti++;\n\t\t}\n\n\t\treturn i ?\n\t\t\t// Do a sibling check if the nodes have a common ancestor\n\t\t\tsiblingCheck( ap[i], bp[i] ) :\n\n\t\t\t// Otherwise nodes in our document sort first\n\t\t\tap[i] === preferredDoc ? -1 :\n\t\t\tbp[i] === preferredDoc ? 1 :\n\t\t\t0;\n\t};\n\n\treturn document;\n};\n\nSizzle.matches = function( expr, elements ) {\n\treturn Sizzle( expr, null, null, elements );\n};\n\nSizzle.matchesSelector = function( elem, expr ) {\n\t// Set document vars if needed\n\tif ( ( elem.ownerDocument || elem ) !== document ) {\n\t\tsetDocument( elem );\n\t}\n\n\t// Make sure that attribute selectors are quoted\n\texpr = expr.replace( rattributeQuotes, \"='$1']\" );\n\n\tif ( support.matchesSelector && documentIsHTML &&\n\t\t!compilerCache[ expr + \" \" ] &&\n\t\t( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&\n\t\t( !rbuggyQSA     || !rbuggyQSA.test( expr ) ) ) {\n\n\t\ttry {\n\t\t\tvar ret = matches.call( elem, expr );\n\n\t\t\t// IE 9's matchesSelector returns false on disconnected nodes\n\t\t\tif ( ret || support.disconnectedMatch ||\n\t\t\t\t\t// As well, disconnected nodes are said to be in a document\n\t\t\t\t\t// fragment in IE 9\n\t\t\t\t\telem.document && elem.document.nodeType !== 11 ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\t\t} catch (e) {}\n\t}\n\n\treturn Sizzle( expr, document, null, [ elem ] ).length > 0;\n};\n\nSizzle.contains = function( context, elem ) {\n\t// Set document vars if needed\n\tif ( ( context.ownerDocument || context ) !== document ) {\n\t\tsetDocument( context );\n\t}\n\treturn contains( context, elem );\n};\n\nSizzle.attr = function( elem, name ) {\n\t// Set document vars if needed\n\tif ( ( elem.ownerDocument || elem ) !== document ) {\n\t\tsetDocument( elem );\n\t}\n\n\tvar fn = Expr.attrHandle[ name.toLowerCase() ],\n\t\t// Don't get fooled by Object.prototype properties (jQuery #13807)\n\t\tval = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?\n\t\t\tfn( elem, name, !documentIsHTML ) :\n\t\t\tundefined;\n\n\treturn val !== undefined ?\n\t\tval :\n\t\tsupport.attributes || !documentIsHTML ?\n\t\t\telem.getAttribute( name ) :\n\t\t\t(val = elem.getAttributeNode(name)) && val.specified ?\n\t\t\t\tval.value :\n\t\t\t\tnull;\n};\n\nSizzle.escape = function( sel ) {\n\treturn (sel + \"\").replace( rcssescape, fcssescape );\n};\n\nSizzle.error = function( msg ) {\n\tthrow new Error( \"Syntax error, unrecognized expression: \" + msg );\n};\n\n/**\n * Document sorting and removing duplicates\n * @param {ArrayLike} results\n */\nSizzle.uniqueSort = function( results ) {\n\tvar elem,\n\t\tduplicates = [],\n\t\tj = 0,\n\t\ti = 0;\n\n\t// Unless we *know* we can detect duplicates, assume their presence\n\thasDuplicate = !support.detectDuplicates;\n\tsortInput = !support.sortStable && results.slice( 0 );\n\tresults.sort( sortOrder );\n\n\tif ( hasDuplicate ) {\n\t\twhile ( (elem = results[i++]) ) {\n\t\t\tif ( elem === results[ i ] ) {\n\t\t\t\tj = duplicates.push( i );\n\t\t\t}\n\t\t}\n\t\twhile ( j-- ) {\n\t\t\tresults.splice( duplicates[ j ], 1 );\n\t\t}\n\t}\n\n\t// Clear input after sorting to release objects\n\t// See https://github.com/jquery/sizzle/pull/225\n\tsortInput = null;\n\n\treturn results;\n};\n\n/**\n * Utility function for retrieving the text value of an array of DOM nodes\n * @param {Array|Element} elem\n */\ngetText = Sizzle.getText = function( elem ) {\n\tvar node,\n\t\tret = \"\",\n\t\ti = 0,\n\t\tnodeType = elem.nodeType;\n\n\tif ( !nodeType ) {\n\t\t// If no nodeType, this is expected to be an array\n\t\twhile ( (node = elem[i++]) ) {\n\t\t\t// Do not traverse comment nodes\n\t\t\tret += getText( node );\n\t\t}\n\t} else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {\n\t\t// Use textContent for elements\n\t\t// innerText usage removed for consistency of new lines (jQuery #11153)\n\t\tif ( typeof elem.textContent === \"string\" ) {\n\t\t\treturn elem.textContent;\n\t\t} else {\n\t\t\t// Traverse its children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tret += getText( elem );\n\t\t\t}\n\t\t}\n\t} else if ( nodeType === 3 || nodeType === 4 ) {\n\t\treturn elem.nodeValue;\n\t}\n\t// Do not include comment or processing instruction nodes\n\n\treturn ret;\n};\n\nExpr = Sizzle.selectors = {\n\n\t// Can be adjusted by the user\n\tcacheLength: 50,\n\n\tcreatePseudo: markFunction,\n\n\tmatch: matchExpr,\n\n\tattrHandle: {},\n\n\tfind: {},\n\n\trelative: {\n\t\t\">\": { dir: \"parentNode\", first: true },\n\t\t\" \": { dir: \"parentNode\" },\n\t\t\"+\": { dir: \"previousSibling\", first: true },\n\t\t\"~\": { dir: \"previousSibling\" }\n\t},\n\n\tpreFilter: {\n\t\t\"ATTR\": function( match ) {\n\t\t\tmatch[1] = match[1].replace( runescape, funescape );\n\n\t\t\t// Move the given value to match[3] whether quoted or unquoted\n\t\t\tmatch[3] = ( match[3] || match[4] || match[5] || \"\" ).replace( runescape, funescape );\n\n\t\t\tif ( match[2] === \"~=\" ) {\n\t\t\t\tmatch[3] = \" \" + match[3] + \" \";\n\t\t\t}\n\n\t\t\treturn match.slice( 0, 4 );\n\t\t},\n\n\t\t\"CHILD\": function( match ) {\n\t\t\t/* matches from matchExpr[\"CHILD\"]\n\t\t\t\t1 type (only|nth|...)\n\t\t\t\t2 what (child|of-type)\n\t\t\t\t3 argument (even|odd|\\d*|\\d*n([+-]\\d+)?|...)\n\t\t\t\t4 xn-component of xn+y argument ([+-]?\\d*n|)\n\t\t\t\t5 sign of xn-component\n\t\t\t\t6 x of xn-component\n\t\t\t\t7 sign of y-component\n\t\t\t\t8 y of y-component\n\t\t\t*/\n\t\t\tmatch[1] = match[1].toLowerCase();\n\n\t\t\tif ( match[1].slice( 0, 3 ) === \"nth\" ) {\n\t\t\t\t// nth-* requires argument\n\t\t\t\tif ( !match[3] ) {\n\t\t\t\t\tSizzle.error( match[0] );\n\t\t\t\t}\n\n\t\t\t\t// numeric x and y parameters for Expr.filter.CHILD\n\t\t\t\t// remember that false/true cast respectively to 0/1\n\t\t\t\tmatch[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === \"even\" || match[3] === \"odd\" ) );\n\t\t\t\tmatch[5] = +( ( match[7] + match[8] ) || match[3] === \"odd\" );\n\n\t\t\t// other types prohibit arguments\n\t\t\t} else if ( match[3] ) {\n\t\t\t\tSizzle.error( match[0] );\n\t\t\t}\n\n\t\t\treturn match;\n\t\t},\n\n\t\t\"PSEUDO\": function( match ) {\n\t\t\tvar excess,\n\t\t\t\tunquoted = !match[6] && match[2];\n\n\t\t\tif ( matchExpr[\"CHILD\"].test( match[0] ) ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t// Accept quoted arguments as-is\n\t\t\tif ( match[3] ) {\n\t\t\t\tmatch[2] = match[4] || match[5] || \"\";\n\n\t\t\t// Strip excess characters from unquoted arguments\n\t\t\t} else if ( unquoted && rpseudo.test( unquoted ) &&\n\t\t\t\t// Get excess from tokenize (recursively)\n\t\t\t\t(excess = tokenize( unquoted, true )) &&\n\t\t\t\t// advance to the next closing parenthesis\n\t\t\t\t(excess = unquoted.indexOf( \")\", unquoted.length - excess ) - unquoted.length) ) {\n\n\t\t\t\t// excess is a negative index\n\t\t\t\tmatch[0] = match[0].slice( 0, excess );\n\t\t\t\tmatch[2] = unquoted.slice( 0, excess );\n\t\t\t}\n\n\t\t\t// Return only captures needed by the pseudo filter method (type and argument)\n\t\t\treturn match.slice( 0, 3 );\n\t\t}\n\t},\n\n\tfilter: {\n\n\t\t\"TAG\": function( nodeNameSelector ) {\n\t\t\tvar nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn nodeNameSelector === \"*\" ?\n\t\t\t\tfunction() { return true; } :\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn elem.nodeName && elem.nodeName.toLowerCase() === nodeName;\n\t\t\t\t};\n\t\t},\n\n\t\t\"CLASS\": function( className ) {\n\t\t\tvar pattern = classCache[ className + \" \" ];\n\n\t\t\treturn pattern ||\n\t\t\t\t(pattern = new RegExp( \"(^|\" + whitespace + \")\" + className + \"(\" + whitespace + \"|$)\" )) &&\n\t\t\t\tclassCache( className, function( elem ) {\n\t\t\t\t\treturn pattern.test( typeof elem.className === \"string\" && elem.className || typeof elem.getAttribute !== \"undefined\" && elem.getAttribute(\"class\") || \"\" );\n\t\t\t\t});\n\t\t},\n\n\t\t\"ATTR\": function( name, operator, check ) {\n\t\t\treturn function( elem ) {\n\t\t\t\tvar result = Sizzle.attr( elem, name );\n\n\t\t\t\tif ( result == null ) {\n\t\t\t\t\treturn operator === \"!=\";\n\t\t\t\t}\n\t\t\t\tif ( !operator ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tresult += \"\";\n\n\t\t\t\treturn operator === \"=\" ? result === check :\n\t\t\t\t\toperator === \"!=\" ? result !== check :\n\t\t\t\t\toperator === \"^=\" ? check && result.indexOf( check ) === 0 :\n\t\t\t\t\toperator === \"*=\" ? check && result.indexOf( check ) > -1 :\n\t\t\t\t\toperator === \"$=\" ? check && result.slice( -check.length ) === check :\n\t\t\t\t\toperator === \"~=\" ? ( \" \" + result.replace( rwhitespace, \" \" ) + \" \" ).indexOf( check ) > -1 :\n\t\t\t\t\toperator === \"|=\" ? result === check || result.slice( 0, check.length + 1 ) === check + \"-\" :\n\t\t\t\t\tfalse;\n\t\t\t};\n\t\t},\n\n\t\t\"CHILD\": function( type, what, argument, first, last ) {\n\t\t\tvar simple = type.slice( 0, 3 ) !== \"nth\",\n\t\t\t\tforward = type.slice( -4 ) !== \"last\",\n\t\t\t\tofType = what === \"of-type\";\n\n\t\t\treturn first === 1 && last === 0 ?\n\n\t\t\t\t// Shortcut for :nth-*(n)\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn !!elem.parentNode;\n\t\t\t\t} :\n\n\t\t\t\tfunction( elem, context, xml ) {\n\t\t\t\t\tvar cache, uniqueCache, outerCache, node, nodeIndex, start,\n\t\t\t\t\t\tdir = simple !== forward ? \"nextSibling\" : \"previousSibling\",\n\t\t\t\t\t\tparent = elem.parentNode,\n\t\t\t\t\t\tname = ofType && elem.nodeName.toLowerCase(),\n\t\t\t\t\t\tuseCache = !xml && !ofType,\n\t\t\t\t\t\tdiff = false;\n\n\t\t\t\t\tif ( parent ) {\n\n\t\t\t\t\t\t// :(first|last|only)-(child|of-type)\n\t\t\t\t\t\tif ( simple ) {\n\t\t\t\t\t\t\twhile ( dir ) {\n\t\t\t\t\t\t\t\tnode = elem;\n\t\t\t\t\t\t\t\twhile ( (node = node[ dir ]) ) {\n\t\t\t\t\t\t\t\t\tif ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnode.nodeName.toLowerCase() === name :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) {\n\n\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// Reverse direction for :only-* (if we haven't yet done so)\n\t\t\t\t\t\t\t\tstart = dir = type === \"only\" && !start && \"nextSibling\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tstart = [ forward ? parent.firstChild : parent.lastChild ];\n\n\t\t\t\t\t\t// non-xml :nth-child(...) stores cache data on `parent`\n\t\t\t\t\t\tif ( forward && useCache ) {\n\n\t\t\t\t\t\t\t// Seek `elem` from a previously-cached index\n\n\t\t\t\t\t\t\t// ...in a gzip-friendly way\n\t\t\t\t\t\t\tnode = parent;\n\t\t\t\t\t\t\touterCache = node[ expando ] || (node[ expando ] = {});\n\n\t\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\t\tuniqueCache = outerCache[ node.uniqueID ] ||\n\t\t\t\t\t\t\t\t(outerCache[ node.uniqueID ] = {});\n\n\t\t\t\t\t\t\tcache = uniqueCache[ type ] || [];\n\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\tdiff = nodeIndex && cache[ 2 ];\n\t\t\t\t\t\t\tnode = nodeIndex && parent.childNodes[ nodeIndex ];\n\n\t\t\t\t\t\t\twhile ( (node = ++nodeIndex && node && node[ dir ] ||\n\n\t\t\t\t\t\t\t\t// Fallback to seeking `elem` from the start\n\t\t\t\t\t\t\t\t(diff = nodeIndex = 0) || start.pop()) ) {\n\n\t\t\t\t\t\t\t\t// When found, cache indexes on `parent` and break\n\t\t\t\t\t\t\t\tif ( node.nodeType === 1 && ++diff && node === elem ) {\n\t\t\t\t\t\t\t\t\tuniqueCache[ type ] = [ dirruns, nodeIndex, diff ];\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Use previously-cached element index if available\n\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\t// ...in a gzip-friendly way\n\t\t\t\t\t\t\t\tnode = elem;\n\t\t\t\t\t\t\t\touterCache = node[ expando ] || (node[ expando ] = {});\n\n\t\t\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\t\t\tuniqueCache = outerCache[ node.uniqueID ] ||\n\t\t\t\t\t\t\t\t\t(outerCache[ node.uniqueID ] = {});\n\n\t\t\t\t\t\t\t\tcache = uniqueCache[ type ] || [];\n\t\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\t\tdiff = nodeIndex;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// xml :nth-child(...)\n\t\t\t\t\t\t\t// or :nth-last-child(...) or :nth(-last)?-of-type(...)\n\t\t\t\t\t\t\tif ( diff === false ) {\n\t\t\t\t\t\t\t\t// Use the same loop as above to seek `elem` from the start\n\t\t\t\t\t\t\t\twhile ( (node = ++nodeIndex && node && node[ dir ] ||\n\t\t\t\t\t\t\t\t\t(diff = nodeIndex = 0) || start.pop()) ) {\n\n\t\t\t\t\t\t\t\t\tif ( ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnode.nodeName.toLowerCase() === name :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) &&\n\t\t\t\t\t\t\t\t\t\t++diff ) {\n\n\t\t\t\t\t\t\t\t\t\t// Cache the index of each encountered element\n\t\t\t\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\t\t\t\touterCache = node[ expando ] || (node[ expando ] = {});\n\n\t\t\t\t\t\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\t\t\t\t\t\tuniqueCache = outerCache[ node.uniqueID ] ||\n\t\t\t\t\t\t\t\t\t\t\t\t(outerCache[ node.uniqueID ] = {});\n\n\t\t\t\t\t\t\t\t\t\t\tuniqueCache[ type ] = [ dirruns, diff ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\tif ( node === elem ) {\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Incorporate the offset, then check against cycle size\n\t\t\t\t\t\tdiff -= last;\n\t\t\t\t\t\treturn diff === first || ( diff % first === 0 && diff / first >= 0 );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t},\n\n\t\t\"PSEUDO\": function( pseudo, argument ) {\n\t\t\t// pseudo-class names are case-insensitive\n\t\t\t// http://www.w3.org/TR/selectors/#pseudo-classes\n\t\t\t// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters\n\t\t\t// Remember that setFilters inherits from pseudos\n\t\t\tvar args,\n\t\t\t\tfn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||\n\t\t\t\t\tSizzle.error( \"unsupported pseudo: \" + pseudo );\n\n\t\t\t// The user may use createPseudo to indicate that\n\t\t\t// arguments are needed to create the filter function\n\t\t\t// just as Sizzle does\n\t\t\tif ( fn[ expando ] ) {\n\t\t\t\treturn fn( argument );\n\t\t\t}\n\n\t\t\t// But maintain support for old signatures\n\t\t\tif ( fn.length > 1 ) {\n\t\t\t\targs = [ pseudo, pseudo, \"\", argument ];\n\t\t\t\treturn Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?\n\t\t\t\t\tmarkFunction(function( seed, matches ) {\n\t\t\t\t\t\tvar idx,\n\t\t\t\t\t\t\tmatched = fn( seed, argument ),\n\t\t\t\t\t\t\ti = matched.length;\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tidx = indexOf( seed, matched[i] );\n\t\t\t\t\t\t\tseed[ idx ] = !( matches[ idx ] = matched[i] );\n\t\t\t\t\t\t}\n\t\t\t\t\t}) :\n\t\t\t\t\tfunction( elem ) {\n\t\t\t\t\t\treturn fn( elem, 0, args );\n\t\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn fn;\n\t\t}\n\t},\n\n\tpseudos: {\n\t\t// Potentially complex pseudos\n\t\t\"not\": markFunction(function( selector ) {\n\t\t\t// Trim the selector passed to compile\n\t\t\t// to avoid treating leading and trailing\n\t\t\t// spaces as combinators\n\t\t\tvar input = [],\n\t\t\t\tresults = [],\n\t\t\t\tmatcher = compile( selector.replace( rtrim, \"$1\" ) );\n\n\t\t\treturn matcher[ expando ] ?\n\t\t\t\tmarkFunction(function( seed, matches, context, xml ) {\n\t\t\t\t\tvar elem,\n\t\t\t\t\t\tunmatched = matcher( seed, null, xml, [] ),\n\t\t\t\t\t\ti = seed.length;\n\n\t\t\t\t\t// Match elements unmatched by `matcher`\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( (elem = unmatched[i]) ) {\n\t\t\t\t\t\t\tseed[i] = !(matches[i] = elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}) :\n\t\t\t\tfunction( elem, context, xml ) {\n\t\t\t\t\tinput[0] = elem;\n\t\t\t\t\tmatcher( input, null, xml, results );\n\t\t\t\t\t// Don't keep the element (issue #299)\n\t\t\t\t\tinput[0] = null;\n\t\t\t\t\treturn !results.pop();\n\t\t\t\t};\n\t\t}),\n\n\t\t\"has\": markFunction(function( selector ) {\n\t\t\treturn function( elem ) {\n\t\t\t\treturn Sizzle( selector, elem ).length > 0;\n\t\t\t};\n\t\t}),\n\n\t\t\"contains\": markFunction(function( text ) {\n\t\t\ttext = text.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1;\n\t\t\t};\n\t\t}),\n\n\t\t// \"Whether an element is represented by a :lang() selector\n\t\t// is based solely on the element's language value\n\t\t// being equal to the identifier C,\n\t\t// or beginning with the identifier C immediately followed by \"-\".\n\t\t// The matching of C against the element's language value is performed case-insensitively.\n\t\t// The identifier C does not have to be a valid language name.\"\n\t\t// http://www.w3.org/TR/selectors/#lang-pseudo\n\t\t\"lang\": markFunction( function( lang ) {\n\t\t\t// lang value must be a valid identifier\n\t\t\tif ( !ridentifier.test(lang || \"\") ) {\n\t\t\t\tSizzle.error( \"unsupported lang: \" + lang );\n\t\t\t}\n\t\t\tlang = lang.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn function( elem ) {\n\t\t\t\tvar elemLang;\n\t\t\t\tdo {\n\t\t\t\t\tif ( (elemLang = documentIsHTML ?\n\t\t\t\t\t\telem.lang :\n\t\t\t\t\t\telem.getAttribute(\"xml:lang\") || elem.getAttribute(\"lang\")) ) {\n\n\t\t\t\t\t\telemLang = elemLang.toLowerCase();\n\t\t\t\t\t\treturn elemLang === lang || elemLang.indexOf( lang + \"-\" ) === 0;\n\t\t\t\t\t}\n\t\t\t\t} while ( (elem = elem.parentNode) && elem.nodeType === 1 );\n\t\t\t\treturn false;\n\t\t\t};\n\t\t}),\n\n\t\t// Miscellaneous\n\t\t\"target\": function( elem ) {\n\t\t\tvar hash = window.location && window.location.hash;\n\t\t\treturn hash && hash.slice( 1 ) === elem.id;\n\t\t},\n\n\t\t\"root\": function( elem ) {\n\t\t\treturn elem === docElem;\n\t\t},\n\n\t\t\"focus\": function( elem ) {\n\t\t\treturn elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex);\n\t\t},\n\n\t\t// Boolean properties\n\t\t\"enabled\": createDisabledPseudo( false ),\n\t\t\"disabled\": createDisabledPseudo( true ),\n\n\t\t\"checked\": function( elem ) {\n\t\t\t// In CSS3, :checked should return both checked and selected elements\n\t\t\t// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\tvar nodeName = elem.nodeName.toLowerCase();\n\t\t\treturn (nodeName === \"input\" && !!elem.checked) || (nodeName === \"option\" && !!elem.selected);\n\t\t},\n\n\t\t\"selected\": function( elem ) {\n\t\t\t// Accessing this property makes selected-by-default\n\t\t\t// options in Safari work properly\n\t\t\tif ( elem.parentNode ) {\n\t\t\t\telem.parentNode.selectedIndex;\n\t\t\t}\n\n\t\t\treturn elem.selected === true;\n\t\t},\n\n\t\t// Contents\n\t\t\"empty\": function( elem ) {\n\t\t\t// http://www.w3.org/TR/selectors/#empty-pseudo\n\t\t\t// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),\n\t\t\t//   but not by others (comment: 8; processing instruction: 7; etc.)\n\t\t\t// nodeType < 6 works because attributes (2) do not appear as children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tif ( elem.nodeType < 6 ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t},\n\n\t\t\"parent\": function( elem ) {\n\t\t\treturn !Expr.pseudos[\"empty\"]( elem );\n\t\t},\n\n\t\t// Element/input types\n\t\t\"header\": function( elem ) {\n\t\t\treturn rheader.test( elem.nodeName );\n\t\t},\n\n\t\t\"input\": function( elem ) {\n\t\t\treturn rinputs.test( elem.nodeName );\n\t\t},\n\n\t\t\"button\": function( elem ) {\n\t\t\tvar name = elem.nodeName.toLowerCase();\n\t\t\treturn name === \"input\" && elem.type === \"button\" || name === \"button\";\n\t\t},\n\n\t\t\"text\": function( elem ) {\n\t\t\tvar attr;\n\t\t\treturn elem.nodeName.toLowerCase() === \"input\" &&\n\t\t\t\telem.type === \"text\" &&\n\n\t\t\t\t// Support: IE<8\n\t\t\t\t// New HTML5 attribute values (e.g., \"search\") appear with elem.type === \"text\"\n\t\t\t\t( (attr = elem.getAttribute(\"type\")) == null || attr.toLowerCase() === \"text\" );\n\t\t},\n\n\t\t// Position-in-collection\n\t\t\"first\": createPositionalPseudo(function() {\n\t\t\treturn [ 0 ];\n\t\t}),\n\n\t\t\"last\": createPositionalPseudo(function( matchIndexes, length ) {\n\t\t\treturn [ length - 1 ];\n\t\t}),\n\n\t\t\"eq\": createPositionalPseudo(function( matchIndexes, length, argument ) {\n\t\t\treturn [ argument < 0 ? argument + length : argument ];\n\t\t}),\n\n\t\t\"even\": createPositionalPseudo(function( matchIndexes, length ) {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t}),\n\n\t\t\"odd\": createPositionalPseudo(function( matchIndexes, length ) {\n\t\t\tvar i = 1;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t}),\n\n\t\t\"lt\": createPositionalPseudo(function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ? argument + length : argument;\n\t\t\tfor ( ; --i >= 0; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t}),\n\n\t\t\"gt\": createPositionalPseudo(function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ? argument + length : argument;\n\t\t\tfor ( ; ++i < length; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t})\n\t}\n};\n\nExpr.pseudos[\"nth\"] = Expr.pseudos[\"eq\"];\n\n// Add button/input type pseudos\nfor ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {\n\tExpr.pseudos[ i ] = createInputPseudo( i );\n}\nfor ( i in { submit: true, reset: true } ) {\n\tExpr.pseudos[ i ] = createButtonPseudo( i );\n}\n\n// Easy API for creating new setFilters\nfunction setFilters() {}\nsetFilters.prototype = Expr.filters = Expr.pseudos;\nExpr.setFilters = new setFilters();\n\ntokenize = Sizzle.tokenize = function( selector, parseOnly ) {\n\tvar matched, match, tokens, type,\n\t\tsoFar, groups, preFilters,\n\t\tcached = tokenCache[ selector + \" \" ];\n\n\tif ( cached ) {\n\t\treturn parseOnly ? 0 : cached.slice( 0 );\n\t}\n\n\tsoFar = selector;\n\tgroups = [];\n\tpreFilters = Expr.preFilter;\n\n\twhile ( soFar ) {\n\n\t\t// Comma and first run\n\t\tif ( !matched || (match = rcomma.exec( soFar )) ) {\n\t\t\tif ( match ) {\n\t\t\t\t// Don't consume trailing commas as valid\n\t\t\t\tsoFar = soFar.slice( match[0].length ) || soFar;\n\t\t\t}\n\t\t\tgroups.push( (tokens = []) );\n\t\t}\n\n\t\tmatched = false;\n\n\t\t// Combinators\n\t\tif ( (match = rcombinators.exec( soFar )) ) {\n\t\t\tmatched = match.shift();\n\t\t\ttokens.push({\n\t\t\t\tvalue: matched,\n\t\t\t\t// Cast descendant combinators to space\n\t\t\t\ttype: match[0].replace( rtrim, \" \" )\n\t\t\t});\n\t\t\tsoFar = soFar.slice( matched.length );\n\t\t}\n\n\t\t// Filters\n\t\tfor ( type in Expr.filter ) {\n\t\t\tif ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] ||\n\t\t\t\t(match = preFilters[ type ]( match ))) ) {\n\t\t\t\tmatched = match.shift();\n\t\t\t\ttokens.push({\n\t\t\t\t\tvalue: matched,\n\t\t\t\t\ttype: type,\n\t\t\t\t\tmatches: match\n\t\t\t\t});\n\t\t\t\tsoFar = soFar.slice( matched.length );\n\t\t\t}\n\t\t}\n\n\t\tif ( !matched ) {\n\t\t\tbreak;\n\t\t}\n\t}\n\n\t// Return the length of the invalid excess\n\t// if we're just parsing\n\t// Otherwise, throw an error or return tokens\n\treturn parseOnly ?\n\t\tsoFar.length :\n\t\tsoFar ?\n\t\t\tSizzle.error( selector ) :\n\t\t\t// Cache the tokens\n\t\t\ttokenCache( selector, groups ).slice( 0 );\n};\n\nfunction toSelector( tokens ) {\n\tvar i = 0,\n\t\tlen = tokens.length,\n\t\tselector = \"\";\n\tfor ( ; i < len; i++ ) {\n\t\tselector += tokens[i].value;\n\t}\n\treturn selector;\n}\n\nfunction addCombinator( matcher, combinator, base ) {\n\tvar dir = combinator.dir,\n\t\tskip = combinator.next,\n\t\tkey = skip || dir,\n\t\tcheckNonElements = base && key === \"parentNode\",\n\t\tdoneName = done++;\n\n\treturn combinator.first ?\n\t\t// Check against closest ancestor/preceding element\n\t\tfunction( elem, context, xml ) {\n\t\t\twhile ( (elem = elem[ dir ]) ) {\n\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\treturn matcher( elem, context, xml );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t} :\n\n\t\t// Check against all ancestor/preceding elements\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar oldCache, uniqueCache, outerCache,\n\t\t\t\tnewCache = [ dirruns, doneName ];\n\n\t\t\t// We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching\n\t\t\tif ( xml ) {\n\t\t\t\twhile ( (elem = elem[ dir ]) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\tif ( matcher( elem, context, xml ) ) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\twhile ( (elem = elem[ dir ]) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\touterCache = elem[ expando ] || (elem[ expando ] = {});\n\n\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\tuniqueCache = outerCache[ elem.uniqueID ] || (outerCache[ elem.uniqueID ] = {});\n\n\t\t\t\t\t\tif ( skip && skip === elem.nodeName.toLowerCase() ) {\n\t\t\t\t\t\t\telem = elem[ dir ] || elem;\n\t\t\t\t\t\t} else if ( (oldCache = uniqueCache[ key ]) &&\n\t\t\t\t\t\t\toldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {\n\n\t\t\t\t\t\t\t// Assign to newCache so results back-propagate to previous elements\n\t\t\t\t\t\t\treturn (newCache[ 2 ] = oldCache[ 2 ]);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Reuse newcache so results back-propagate to previous elements\n\t\t\t\t\t\t\tuniqueCache[ key ] = newCache;\n\n\t\t\t\t\t\t\t// A match means we're done; a fail means we have to keep checking\n\t\t\t\t\t\t\tif ( (newCache[ 2 ] = matcher( elem, context, xml )) ) {\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n}\n\nfunction elementMatcher( matchers ) {\n\treturn matchers.length > 1 ?\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar i = matchers.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( !matchers[i]( elem, context, xml ) ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t} :\n\t\tmatchers[0];\n}\n\nfunction multipleContexts( selector, contexts, results ) {\n\tvar i = 0,\n\t\tlen = contexts.length;\n\tfor ( ; i < len; i++ ) {\n\t\tSizzle( selector, contexts[i], results );\n\t}\n\treturn results;\n}\n\nfunction condense( unmatched, map, filter, context, xml ) {\n\tvar elem,\n\t\tnewUnmatched = [],\n\t\ti = 0,\n\t\tlen = unmatched.length,\n\t\tmapped = map != null;\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( (elem = unmatched[i]) ) {\n\t\t\tif ( !filter || filter( elem, context, xml ) ) {\n\t\t\t\tnewUnmatched.push( elem );\n\t\t\t\tif ( mapped ) {\n\t\t\t\t\tmap.push( i );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn newUnmatched;\n}\n\nfunction setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {\n\tif ( postFilter && !postFilter[ expando ] ) {\n\t\tpostFilter = setMatcher( postFilter );\n\t}\n\tif ( postFinder && !postFinder[ expando ] ) {\n\t\tpostFinder = setMatcher( postFinder, postSelector );\n\t}\n\treturn markFunction(function( seed, results, context, xml ) {\n\t\tvar temp, i, elem,\n\t\t\tpreMap = [],\n\t\t\tpostMap = [],\n\t\t\tpreexisting = results.length,\n\n\t\t\t// Get initial elements from seed or context\n\t\t\telems = seed || multipleContexts( selector || \"*\", context.nodeType ? [ context ] : context, [] ),\n\n\t\t\t// Prefilter to get matcher input, preserving a map for seed-results synchronization\n\t\t\tmatcherIn = preFilter && ( seed || !selector ) ?\n\t\t\t\tcondense( elems, preMap, preFilter, context, xml ) :\n\t\t\t\telems,\n\n\t\t\tmatcherOut = matcher ?\n\t\t\t\t// If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,\n\t\t\t\tpostFinder || ( seed ? preFilter : preexisting || postFilter ) ?\n\n\t\t\t\t\t// ...intermediate processing is necessary\n\t\t\t\t\t[] :\n\n\t\t\t\t\t// ...otherwise use results directly\n\t\t\t\t\tresults :\n\t\t\t\tmatcherIn;\n\n\t\t// Find primary matches\n\t\tif ( matcher ) {\n\t\t\tmatcher( matcherIn, matcherOut, context, xml );\n\t\t}\n\n\t\t// Apply postFilter\n\t\tif ( postFilter ) {\n\t\t\ttemp = condense( matcherOut, postMap );\n\t\t\tpostFilter( temp, [], context, xml );\n\n\t\t\t// Un-match failing elements by moving them back to matcherIn\n\t\t\ti = temp.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( (elem = temp[i]) ) {\n\t\t\t\t\tmatcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ( seed ) {\n\t\t\tif ( postFinder || preFilter ) {\n\t\t\t\tif ( postFinder ) {\n\t\t\t\t\t// Get the final matcherOut by condensing this intermediate into postFinder contexts\n\t\t\t\t\ttemp = [];\n\t\t\t\t\ti = matcherOut.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( (elem = matcherOut[i]) ) {\n\t\t\t\t\t\t\t// Restore matcherIn since elem is not yet a final match\n\t\t\t\t\t\t\ttemp.push( (matcherIn[i] = elem) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpostFinder( null, (matcherOut = []), temp, xml );\n\t\t\t\t}\n\n\t\t\t\t// Move matched elements from seed to results to keep them synchronized\n\t\t\t\ti = matcherOut.length;\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\tif ( (elem = matcherOut[i]) &&\n\t\t\t\t\t\t(temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) {\n\n\t\t\t\t\t\tseed[temp] = !(results[temp] = elem);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Add elements to results, through postFinder if defined\n\t\t} else {\n\t\t\tmatcherOut = condense(\n\t\t\t\tmatcherOut === results ?\n\t\t\t\t\tmatcherOut.splice( preexisting, matcherOut.length ) :\n\t\t\t\t\tmatcherOut\n\t\t\t);\n\t\t\tif ( postFinder ) {\n\t\t\t\tpostFinder( null, results, matcherOut, xml );\n\t\t\t} else {\n\t\t\t\tpush.apply( results, matcherOut );\n\t\t\t}\n\t\t}\n\t});\n}\n\nfunction matcherFromTokens( tokens ) {\n\tvar checkContext, matcher, j,\n\t\tlen = tokens.length,\n\t\tleadingRelative = Expr.relative[ tokens[0].type ],\n\t\timplicitRelative = leadingRelative || Expr.relative[\" \"],\n\t\ti = leadingRelative ? 1 : 0,\n\n\t\t// The foundational matcher ensures that elements are reachable from top-level context(s)\n\t\tmatchContext = addCombinator( function( elem ) {\n\t\t\treturn elem === checkContext;\n\t\t}, implicitRelative, true ),\n\t\tmatchAnyContext = addCombinator( function( elem ) {\n\t\t\treturn indexOf( checkContext, elem ) > -1;\n\t\t}, implicitRelative, true ),\n\t\tmatchers = [ function( elem, context, xml ) {\n\t\t\tvar ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || (\n\t\t\t\t(checkContext = context).nodeType ?\n\t\t\t\t\tmatchContext( elem, context, xml ) :\n\t\t\t\t\tmatchAnyContext( elem, context, xml ) );\n\t\t\t// Avoid hanging onto element (issue #299)\n\t\t\tcheckContext = null;\n\t\t\treturn ret;\n\t\t} ];\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( (matcher = Expr.relative[ tokens[i].type ]) ) {\n\t\t\tmatchers = [ addCombinator(elementMatcher( matchers ), matcher) ];\n\t\t} else {\n\t\t\tmatcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches );\n\n\t\t\t// Return special upon seeing a positional matcher\n\t\t\tif ( matcher[ expando ] ) {\n\t\t\t\t// Find the next relative operator (if any) for proper handling\n\t\t\t\tj = ++i;\n\t\t\t\tfor ( ; j < len; j++ ) {\n\t\t\t\t\tif ( Expr.relative[ tokens[j].type ] ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn setMatcher(\n\t\t\t\t\ti > 1 && elementMatcher( matchers ),\n\t\t\t\t\ti > 1 && toSelector(\n\t\t\t\t\t\t// If the preceding token was a descendant combinator, insert an implicit any-element `*`\n\t\t\t\t\t\ttokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === \" \" ? \"*\" : \"\" })\n\t\t\t\t\t).replace( rtrim, \"$1\" ),\n\t\t\t\t\tmatcher,\n\t\t\t\t\ti < j && matcherFromTokens( tokens.slice( i, j ) ),\n\t\t\t\t\tj < len && matcherFromTokens( (tokens = tokens.slice( j )) ),\n\t\t\t\t\tj < len && toSelector( tokens )\n\t\t\t\t);\n\t\t\t}\n\t\t\tmatchers.push( matcher );\n\t\t}\n\t}\n\n\treturn elementMatcher( matchers );\n}\n\nfunction matcherFromGroupMatchers( elementMatchers, setMatchers ) {\n\tvar bySet = setMatchers.length > 0,\n\t\tbyElement = elementMatchers.length > 0,\n\t\tsuperMatcher = function( seed, context, xml, results, outermost ) {\n\t\t\tvar elem, j, matcher,\n\t\t\t\tmatchedCount = 0,\n\t\t\t\ti = \"0\",\n\t\t\t\tunmatched = seed && [],\n\t\t\t\tsetMatched = [],\n\t\t\t\tcontextBackup = outermostContext,\n\t\t\t\t// We must always have either seed elements or outermost context\n\t\t\t\telems = seed || byElement && Expr.find[\"TAG\"]( \"*\", outermost ),\n\t\t\t\t// Use integer dirruns iff this is the outermost matcher\n\t\t\t\tdirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1),\n\t\t\t\tlen = elems.length;\n\n\t\t\tif ( outermost ) {\n\t\t\t\toutermostContext = context === document || context || outermost;\n\t\t\t}\n\n\t\t\t// Add elements passing elementMatchers directly to results\n\t\t\t// Support: IE<9, Safari\n\t\t\t// Tolerate NodeList properties (IE: \"length\"; Safari: <number>) matching elements by id\n\t\t\tfor ( ; i !== len && (elem = elems[i]) != null; i++ ) {\n\t\t\t\tif ( byElement && elem ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\tif ( !context && elem.ownerDocument !== document ) {\n\t\t\t\t\t\tsetDocument( elem );\n\t\t\t\t\t\txml = !documentIsHTML;\n\t\t\t\t\t}\n\t\t\t\t\twhile ( (matcher = elementMatchers[j++]) ) {\n\t\t\t\t\t\tif ( matcher( elem, context || document, xml) ) {\n\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( outermost ) {\n\t\t\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Track unmatched elements for set filters\n\t\t\t\tif ( bySet ) {\n\t\t\t\t\t// They will have gone through all possible matchers\n\t\t\t\t\tif ( (elem = !matcher && elem) ) {\n\t\t\t\t\t\tmatchedCount--;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Lengthen the array for every element, matched or not\n\t\t\t\t\tif ( seed ) {\n\t\t\t\t\t\tunmatched.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// `i` is now the count of elements visited above, and adding it to `matchedCount`\n\t\t\t// makes the latter nonnegative.\n\t\t\tmatchedCount += i;\n\n\t\t\t// Apply set filters to unmatched elements\n\t\t\t// NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount`\n\t\t\t// equals `i`), unless we didn't visit _any_ elements in the above loop because we have\n\t\t\t// no element matchers and no seed.\n\t\t\t// Incrementing an initially-string \"0\" `i` allows `i` to remain a string only in that\n\t\t\t// case, which will result in a \"00\" `matchedCount` that differs from `i` but is also\n\t\t\t// numerically zero.\n\t\t\tif ( bySet && i !== matchedCount ) {\n\t\t\t\tj = 0;\n\t\t\t\twhile ( (matcher = setMatchers[j++]) ) {\n\t\t\t\t\tmatcher( unmatched, setMatched, context, xml );\n\t\t\t\t}\n\n\t\t\t\tif ( seed ) {\n\t\t\t\t\t// Reintegrate element matches to eliminate the need for sorting\n\t\t\t\t\tif ( matchedCount > 0 ) {\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tif ( !(unmatched[i] || setMatched[i]) ) {\n\t\t\t\t\t\t\t\tsetMatched[i] = pop.call( results );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Discard index placeholder values to get only actual matches\n\t\t\t\t\tsetMatched = condense( setMatched );\n\t\t\t\t}\n\n\t\t\t\t// Add matches to results\n\t\t\t\tpush.apply( results, setMatched );\n\n\t\t\t\t// Seedless set matches succeeding multiple successful matchers stipulate sorting\n\t\t\t\tif ( outermost && !seed && setMatched.length > 0 &&\n\t\t\t\t\t( matchedCount + setMatchers.length ) > 1 ) {\n\n\t\t\t\t\tSizzle.uniqueSort( results );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Override manipulation of globals by nested matchers\n\t\t\tif ( outermost ) {\n\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\toutermostContext = contextBackup;\n\t\t\t}\n\n\t\t\treturn unmatched;\n\t\t};\n\n\treturn bySet ?\n\t\tmarkFunction( superMatcher ) :\n\t\tsuperMatcher;\n}\n\ncompile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) {\n\tvar i,\n\t\tsetMatchers = [],\n\t\telementMatchers = [],\n\t\tcached = compilerCache[ selector + \" \" ];\n\n\tif ( !cached ) {\n\t\t// Generate a function of recursive functions that can be used to check each element\n\t\tif ( !match ) {\n\t\t\tmatch = tokenize( selector );\n\t\t}\n\t\ti = match.length;\n\t\twhile ( i-- ) {\n\t\t\tcached = matcherFromTokens( match[i] );\n\t\t\tif ( cached[ expando ] ) {\n\t\t\t\tsetMatchers.push( cached );\n\t\t\t} else {\n\t\t\t\telementMatchers.push( cached );\n\t\t\t}\n\t\t}\n\n\t\t// Cache the compiled function\n\t\tcached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) );\n\n\t\t// Save selector and tokenization\n\t\tcached.selector = selector;\n\t}\n\treturn cached;\n};\n\n/**\n * A low-level selection function that works with Sizzle's compiled\n *  selector functions\n * @param {String|Function} selector A selector or a pre-compiled\n *  selector function built with Sizzle.compile\n * @param {Element} context\n * @param {Array} [results]\n * @param {Array} [seed] A set of elements to match against\n */\nselect = Sizzle.select = function( selector, context, results, seed ) {\n\tvar i, tokens, token, type, find,\n\t\tcompiled = typeof selector === \"function\" && selector,\n\t\tmatch = !seed && tokenize( (selector = compiled.selector || selector) );\n\n\tresults = results || [];\n\n\t// Try to minimize operations if there is only one selector in the list and no seed\n\t// (the latter of which guarantees us context)\n\tif ( match.length === 1 ) {\n\n\t\t// Reduce context if the leading compound selector is an ID\n\t\ttokens = match[0] = match[0].slice( 0 );\n\t\tif ( tokens.length > 2 && (token = tokens[0]).type === \"ID\" &&\n\t\t\t\tcontext.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[1].type ] ) {\n\n\t\t\tcontext = ( Expr.find[\"ID\"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];\n\t\t\tif ( !context ) {\n\t\t\t\treturn results;\n\n\t\t\t// Precompiled matchers will still verify ancestry, so step up a level\n\t\t\t} else if ( compiled ) {\n\t\t\t\tcontext = context.parentNode;\n\t\t\t}\n\n\t\t\tselector = selector.slice( tokens.shift().value.length );\n\t\t}\n\n\t\t// Fetch a seed set for right-to-left matching\n\t\ti = matchExpr[\"needsContext\"].test( selector ) ? 0 : tokens.length;\n\t\twhile ( i-- ) {\n\t\t\ttoken = tokens[i];\n\n\t\t\t// Abort if we hit a combinator\n\t\t\tif ( Expr.relative[ (type = token.type) ] ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( (find = Expr.find[ type ]) ) {\n\t\t\t\t// Search, expanding context for leading sibling combinators\n\t\t\t\tif ( (seed = find(\n\t\t\t\t\ttoken.matches[0].replace( runescape, funescape ),\n\t\t\t\t\trsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context\n\t\t\t\t)) ) {\n\n\t\t\t\t\t// If seed is empty or no tokens remain, we can return early\n\t\t\t\t\ttokens.splice( i, 1 );\n\t\t\t\t\tselector = seed.length && toSelector( tokens );\n\t\t\t\t\tif ( !selector ) {\n\t\t\t\t\t\tpush.apply( results, seed );\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Compile and execute a filtering function if one is not provided\n\t// Provide `match` to avoid retokenization if we modified the selector above\n\t( compiled || compile( selector, match ) )(\n\t\tseed,\n\t\tcontext,\n\t\t!documentIsHTML,\n\t\tresults,\n\t\t!context || rsibling.test( selector ) && testContext( context.parentNode ) || context\n\t);\n\treturn results;\n};\n\n// One-time assignments\n\n// Sort stability\nsupport.sortStable = expando.split(\"\").sort( sortOrder ).join(\"\") === expando;\n\n// Support: Chrome 14-35+\n// Always assume duplicates if they aren't passed to the comparison function\nsupport.detectDuplicates = !!hasDuplicate;\n\n// Initialize against the default document\nsetDocument();\n\n// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)\n// Detached nodes confoundingly follow *each other*\nsupport.sortDetached = assert(function( el ) {\n\t// Should return 1, but returns 4 (following)\n\treturn el.compareDocumentPosition( document.createElement(\"fieldset\") ) & 1;\n});\n\n// Support: IE<8\n// Prevent attribute/property \"interpolation\"\n// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx\nif ( !assert(function( el ) {\n\tel.innerHTML = \"<a href='#'></a>\";\n\treturn el.firstChild.getAttribute(\"href\") === \"#\" ;\n}) ) {\n\taddHandle( \"type|href|height|width\", function( elem, name, isXML ) {\n\t\tif ( !isXML ) {\n\t\t\treturn elem.getAttribute( name, name.toLowerCase() === \"type\" ? 1 : 2 );\n\t\t}\n\t});\n}\n\n// Support: IE<9\n// Use defaultValue in place of getAttribute(\"value\")\nif ( !support.attributes || !assert(function( el ) {\n\tel.innerHTML = \"<input/>\";\n\tel.firstChild.setAttribute( \"value\", \"\" );\n\treturn el.firstChild.getAttribute( \"value\" ) === \"\";\n}) ) {\n\taddHandle( \"value\", function( elem, name, isXML ) {\n\t\tif ( !isXML && elem.nodeName.toLowerCase() === \"input\" ) {\n\t\t\treturn elem.defaultValue;\n\t\t}\n\t});\n}\n\n// Support: IE<9\n// Use getAttributeNode to fetch booleans when getAttribute lies\nif ( !assert(function( el ) {\n\treturn el.getAttribute(\"disabled\") == null;\n}) ) {\n\taddHandle( booleans, function( elem, name, isXML ) {\n\t\tvar val;\n\t\tif ( !isXML ) {\n\t\t\treturn elem[ name ] === true ? name.toLowerCase() :\n\t\t\t\t\t(val = elem.getAttributeNode( name )) && val.specified ?\n\t\t\t\t\tval.value :\n\t\t\t\tnull;\n\t\t}\n\t});\n}\n\nreturn Sizzle;\n\n})( window );\n\n\n\njQuery.find = Sizzle;\njQuery.expr = Sizzle.selectors;\n\n// Deprecated\njQuery.expr[ \":\" ] = jQuery.expr.pseudos;\njQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort;\njQuery.text = Sizzle.getText;\njQuery.isXMLDoc = Sizzle.isXML;\njQuery.contains = Sizzle.contains;\njQuery.escapeSelector = Sizzle.escape;\n\n\n\n\nvar dir = function( elem, dir, until ) {\n\tvar matched = [],\n\t\ttruncate = until !== undefined;\n\n\twhile ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) {\n\t\tif ( elem.nodeType === 1 ) {\n\t\t\tif ( truncate && jQuery( elem ).is( until ) ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmatched.push( elem );\n\t\t}\n\t}\n\treturn matched;\n};\n\n\nvar siblings = function( n, elem ) {\n\tvar matched = [];\n\n\tfor ( ; n; n = n.nextSibling ) {\n\t\tif ( n.nodeType === 1 && n !== elem ) {\n\t\t\tmatched.push( n );\n\t\t}\n\t}\n\n\treturn matched;\n};\n\n\nvar rneedsContext = jQuery.expr.match.needsContext;\n\n\n\nfunction nodeName( elem, name ) {\n\n  return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();\n\n};\nvar rsingleTag = ( /^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i );\n\n\n\nvar risSimple = /^.[^:#\\[\\.,]*$/;\n\n// Implement the identical functionality for filter and not\nfunction winnow( elements, qualifier, not ) {\n\tif ( jQuery.isFunction( qualifier ) ) {\n\t\treturn jQuery.grep( elements, function( elem, i ) {\n\t\t\treturn !!qualifier.call( elem, i, elem ) !== not;\n\t\t} );\n\t}\n\n\t// Single element\n\tif ( qualifier.nodeType ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( elem === qualifier ) !== not;\n\t\t} );\n\t}\n\n\t// Arraylike of elements (jQuery, arguments, Array)\n\tif ( typeof qualifier !== \"string\" ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( indexOf.call( qualifier, elem ) > -1 ) !== not;\n\t\t} );\n\t}\n\n\t// Simple selector that can be filtered directly, removing non-Elements\n\tif ( risSimple.test( qualifier ) ) {\n\t\treturn jQuery.filter( qualifier, elements, not );\n\t}\n\n\t// Complex selector, compare the two sets, removing non-Elements\n\tqualifier = jQuery.filter( qualifier, elements );\n\treturn jQuery.grep( elements, function( elem ) {\n\t\treturn ( indexOf.call( qualifier, elem ) > -1 ) !== not && elem.nodeType === 1;\n\t} );\n}\n\njQuery.filter = function( expr, elems, not ) {\n\tvar elem = elems[ 0 ];\n\n\tif ( not ) {\n\t\texpr = \":not(\" + expr + \")\";\n\t}\n\n\tif ( elems.length === 1 && elem.nodeType === 1 ) {\n\t\treturn jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [];\n\t}\n\n\treturn jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {\n\t\treturn elem.nodeType === 1;\n\t} ) );\n};\n\njQuery.fn.extend( {\n\tfind: function( selector ) {\n\t\tvar i, ret,\n\t\t\tlen = this.length,\n\t\t\tself = this;\n\n\t\tif ( typeof selector !== \"string\" ) {\n\t\t\treturn this.pushStack( jQuery( selector ).filter( function() {\n\t\t\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\t\t\tif ( jQuery.contains( self[ i ], this ) ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} ) );\n\t\t}\n\n\t\tret = this.pushStack( [] );\n\n\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\tjQuery.find( selector, self[ i ], ret );\n\t\t}\n\n\t\treturn len > 1 ? jQuery.uniqueSort( ret ) : ret;\n\t},\n\tfilter: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], false ) );\n\t},\n\tnot: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], true ) );\n\t},\n\tis: function( selector ) {\n\t\treturn !!winnow(\n\t\t\tthis,\n\n\t\t\t// If this is a positional/relative selector, check membership in the returned set\n\t\t\t// so $(\"p:first\").is(\"p:last\") won't return true for a doc with two \"p\".\n\t\t\ttypeof selector === \"string\" && rneedsContext.test( selector ) ?\n\t\t\t\tjQuery( selector ) :\n\t\t\t\tselector || [],\n\t\t\tfalse\n\t\t).length;\n\t}\n} );\n\n\n// Initialize a jQuery object\n\n\n// A central reference to the root jQuery(document)\nvar rootjQuery,\n\n\t// A simple way to check for HTML strings\n\t// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)\n\t// Strict HTML recognition (#11290: must start with <)\n\t// Shortcut simple #id case for speed\n\trquickExpr = /^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,\n\n\tinit = jQuery.fn.init = function( selector, context, root ) {\n\t\tvar match, elem;\n\n\t\t// HANDLE: $(\"\"), $(null), $(undefined), $(false)\n\t\tif ( !selector ) {\n\t\t\treturn this;\n\t\t}\n\n\t\t// Method init() accepts an alternate rootjQuery\n\t\t// so migrate can support jQuery.sub (gh-2101)\n\t\troot = root || rootjQuery;\n\n\t\t// Handle HTML strings\n\t\tif ( typeof selector === \"string\" ) {\n\t\t\tif ( selector[ 0 ] === \"<\" &&\n\t\t\t\tselector[ selector.length - 1 ] === \">\" &&\n\t\t\t\tselector.length >= 3 ) {\n\n\t\t\t\t// Assume that strings that start and end with <> are HTML and skip the regex check\n\t\t\t\tmatch = [ null, selector, null ];\n\n\t\t\t} else {\n\t\t\t\tmatch = rquickExpr.exec( selector );\n\t\t\t}\n\n\t\t\t// Match html or make sure no context is specified for #id\n\t\t\tif ( match && ( match[ 1 ] || !context ) ) {\n\n\t\t\t\t// HANDLE: $(html) -> $(array)\n\t\t\t\tif ( match[ 1 ] ) {\n\t\t\t\t\tcontext = context instanceof jQuery ? context[ 0 ] : context;\n\n\t\t\t\t\t// Option to run scripts is true for back-compat\n\t\t\t\t\t// Intentionally let the error be thrown if parseHTML is not present\n\t\t\t\t\tjQuery.merge( this, jQuery.parseHTML(\n\t\t\t\t\t\tmatch[ 1 ],\n\t\t\t\t\t\tcontext && context.nodeType ? context.ownerDocument || context : document,\n\t\t\t\t\t\ttrue\n\t\t\t\t\t) );\n\n\t\t\t\t\t// HANDLE: $(html, props)\n\t\t\t\t\tif ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) {\n\t\t\t\t\t\tfor ( match in context ) {\n\n\t\t\t\t\t\t\t// Properties of context are called as methods if possible\n\t\t\t\t\t\t\tif ( jQuery.isFunction( this[ match ] ) ) {\n\t\t\t\t\t\t\t\tthis[ match ]( context[ match ] );\n\n\t\t\t\t\t\t\t// ...and otherwise set as attributes\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.attr( match, context[ match ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn this;\n\n\t\t\t\t// HANDLE: $(#id)\n\t\t\t\t} else {\n\t\t\t\t\telem = document.getElementById( match[ 2 ] );\n\n\t\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t\t// Inject the element directly into the jQuery object\n\t\t\t\t\t\tthis[ 0 ] = elem;\n\t\t\t\t\t\tthis.length = 1;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\n\t\t\t// HANDLE: $(expr, $(...))\n\t\t\t} else if ( !context || context.jquery ) {\n\t\t\t\treturn ( context || root ).find( selector );\n\n\t\t\t// HANDLE: $(expr, context)\n\t\t\t// (which is just equivalent to: $(context).find(expr)\n\t\t\t} else {\n\t\t\t\treturn this.constructor( context ).find( selector );\n\t\t\t}\n\n\t\t// HANDLE: $(DOMElement)\n\t\t} else if ( selector.nodeType ) {\n\t\t\tthis[ 0 ] = selector;\n\t\t\tthis.length = 1;\n\t\t\treturn this;\n\n\t\t// HANDLE: $(function)\n\t\t// Shortcut for document ready\n\t\t} else if ( jQuery.isFunction( selector ) ) {\n\t\t\treturn root.ready !== undefined ?\n\t\t\t\troot.ready( selector ) :\n\n\t\t\t\t// Execute immediately if ready is not present\n\t\t\t\tselector( jQuery );\n\t\t}\n\n\t\treturn jQuery.makeArray( selector, this );\n\t};\n\n// Give the init function the jQuery prototype for later instantiation\ninit.prototype = jQuery.fn;\n\n// Initialize central reference\nrootjQuery = jQuery( document );\n\n\nvar rparentsprev = /^(?:parents|prev(?:Until|All))/,\n\n\t// Methods guaranteed to produce a unique set when starting from a unique set\n\tguaranteedUnique = {\n\t\tchildren: true,\n\t\tcontents: true,\n\t\tnext: true,\n\t\tprev: true\n\t};\n\njQuery.fn.extend( {\n\thas: function( target ) {\n\t\tvar targets = jQuery( target, this ),\n\t\t\tl = targets.length;\n\n\t\treturn this.filter( function() {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tif ( jQuery.contains( this, targets[ i ] ) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\tclosest: function( selectors, context ) {\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\tl = this.length,\n\t\t\tmatched = [],\n\t\t\ttargets = typeof selectors !== \"string\" && jQuery( selectors );\n\n\t\t// Positional selectors never match, since there's no _selection_ context\n\t\tif ( !rneedsContext.test( selectors ) ) {\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tfor ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) {\n\n\t\t\t\t\t// Always skip document fragments\n\t\t\t\t\tif ( cur.nodeType < 11 && ( targets ?\n\t\t\t\t\t\ttargets.index( cur ) > -1 :\n\n\t\t\t\t\t\t// Don't pass non-elements to Sizzle\n\t\t\t\t\t\tcur.nodeType === 1 &&\n\t\t\t\t\t\t\tjQuery.find.matchesSelector( cur, selectors ) ) ) {\n\n\t\t\t\t\t\tmatched.push( cur );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched );\n\t},\n\n\t// Determine the position of an element within the set\n\tindex: function( elem ) {\n\n\t\t// No argument, return index in parent\n\t\tif ( !elem ) {\n\t\t\treturn ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1;\n\t\t}\n\n\t\t// Index in selector\n\t\tif ( typeof elem === \"string\" ) {\n\t\t\treturn indexOf.call( jQuery( elem ), this[ 0 ] );\n\t\t}\n\n\t\t// Locate the position of the desired element\n\t\treturn indexOf.call( this,\n\n\t\t\t// If it receives a jQuery object, the first element is used\n\t\t\telem.jquery ? elem[ 0 ] : elem\n\t\t);\n\t},\n\n\tadd: function( selector, context ) {\n\t\treturn this.pushStack(\n\t\t\tjQuery.uniqueSort(\n\t\t\t\tjQuery.merge( this.get(), jQuery( selector, context ) )\n\t\t\t)\n\t\t);\n\t},\n\n\taddBack: function( selector ) {\n\t\treturn this.add( selector == null ?\n\t\t\tthis.prevObject : this.prevObject.filter( selector )\n\t\t);\n\t}\n} );\n\nfunction sibling( cur, dir ) {\n\twhile ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {}\n\treturn cur;\n}\n\njQuery.each( {\n\tparent: function( elem ) {\n\t\tvar parent = elem.parentNode;\n\t\treturn parent && parent.nodeType !== 11 ? parent : null;\n\t},\n\tparents: function( elem ) {\n\t\treturn dir( elem, \"parentNode\" );\n\t},\n\tparentsUntil: function( elem, i, until ) {\n\t\treturn dir( elem, \"parentNode\", until );\n\t},\n\tnext: function( elem ) {\n\t\treturn sibling( elem, \"nextSibling\" );\n\t},\n\tprev: function( elem ) {\n\t\treturn sibling( elem, \"previousSibling\" );\n\t},\n\tnextAll: function( elem ) {\n\t\treturn dir( elem, \"nextSibling\" );\n\t},\n\tprevAll: function( elem ) {\n\t\treturn dir( elem, \"previousSibling\" );\n\t},\n\tnextUntil: function( elem, i, until ) {\n\t\treturn dir( elem, \"nextSibling\", until );\n\t},\n\tprevUntil: function( elem, i, until ) {\n\t\treturn dir( elem, \"previousSibling\", until );\n\t},\n\tsiblings: function( elem ) {\n\t\treturn siblings( ( elem.parentNode || {} ).firstChild, elem );\n\t},\n\tchildren: function( elem ) {\n\t\treturn siblings( elem.firstChild );\n\t},\n\tcontents: function( elem ) {\n        if ( nodeName( elem, \"iframe\" ) ) {\n            return elem.contentDocument;\n        }\n\n        // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only\n        // Treat the template element as a regular one in browsers that\n        // don't support it.\n        if ( nodeName( elem, \"template\" ) ) {\n            elem = elem.content || elem;\n        }\n\n        return jQuery.merge( [], elem.childNodes );\n\t}\n}, function( name, fn ) {\n\tjQuery.fn[ name ] = function( until, selector ) {\n\t\tvar matched = jQuery.map( this, fn, until );\n\n\t\tif ( name.slice( -5 ) !== \"Until\" ) {\n\t\t\tselector = until;\n\t\t}\n\n\t\tif ( selector && typeof selector === \"string\" ) {\n\t\t\tmatched = jQuery.filter( selector, matched );\n\t\t}\n\n\t\tif ( this.length > 1 ) {\n\n\t\t\t// Remove duplicates\n\t\t\tif ( !guaranteedUnique[ name ] ) {\n\t\t\t\tjQuery.uniqueSort( matched );\n\t\t\t}\n\n\t\t\t// Reverse order for parents* and prev-derivatives\n\t\t\tif ( rparentsprev.test( name ) ) {\n\t\t\t\tmatched.reverse();\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched );\n\t};\n} );\nvar rnothtmlwhite = ( /[^\\x20\\t\\r\\n\\f]+/g );\n\n\n\n// Convert String-formatted options into Object-formatted ones\nfunction createOptions( options ) {\n\tvar object = {};\n\tjQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) {\n\t\tobject[ flag ] = true;\n\t} );\n\treturn object;\n}\n\n/*\n * Create a callback list using the following parameters:\n *\n *\toptions: an optional list of space-separated options that will change how\n *\t\t\tthe callback list behaves or a more traditional option object\n *\n * By default a callback list will act like an event callback list and can be\n * \"fired\" multiple times.\n *\n * Possible options:\n *\n *\tonce:\t\t\twill ensure the callback list can only be fired once (like a Deferred)\n *\n *\tmemory:\t\t\twill keep track of previous values and will call any callback added\n *\t\t\t\t\tafter the list has been fired right away with the latest \"memorized\"\n *\t\t\t\t\tvalues (like a Deferred)\n *\n *\tunique:\t\t\twill ensure a callback can only be added once (no duplicate in the list)\n *\n *\tstopOnFalse:\tinterrupt callings when a callback returns false\n *\n */\njQuery.Callbacks = function( options ) {\n\n\t// Convert options from String-formatted to Object-formatted if needed\n\t// (we check in cache first)\n\toptions = typeof options === \"string\" ?\n\t\tcreateOptions( options ) :\n\t\tjQuery.extend( {}, options );\n\n\tvar // Flag to know if list is currently firing\n\t\tfiring,\n\n\t\t// Last fire value for non-forgettable lists\n\t\tmemory,\n\n\t\t// Flag to know if list was already fired\n\t\tfired,\n\n\t\t// Flag to prevent firing\n\t\tlocked,\n\n\t\t// Actual callback list\n\t\tlist = [],\n\n\t\t// Queue of execution data for repeatable lists\n\t\tqueue = [],\n\n\t\t// Index of currently firing callback (modified by add/remove as needed)\n\t\tfiringIndex = -1,\n\n\t\t// Fire callbacks\n\t\tfire = function() {\n\n\t\t\t// Enforce single-firing\n\t\t\tlocked = locked || options.once;\n\n\t\t\t// Execute callbacks for all pending executions,\n\t\t\t// respecting firingIndex overrides and runtime changes\n\t\t\tfired = firing = true;\n\t\t\tfor ( ; queue.length; firingIndex = -1 ) {\n\t\t\t\tmemory = queue.shift();\n\t\t\t\twhile ( ++firingIndex < list.length ) {\n\n\t\t\t\t\t// Run callback and check for early termination\n\t\t\t\t\tif ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false &&\n\t\t\t\t\t\toptions.stopOnFalse ) {\n\n\t\t\t\t\t\t// Jump to end and forget the data so .add doesn't re-fire\n\t\t\t\t\t\tfiringIndex = list.length;\n\t\t\t\t\t\tmemory = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Forget the data if we're done with it\n\t\t\tif ( !options.memory ) {\n\t\t\t\tmemory = false;\n\t\t\t}\n\n\t\t\tfiring = false;\n\n\t\t\t// Clean up if we're done firing for good\n\t\t\tif ( locked ) {\n\n\t\t\t\t// Keep an empty list if we have data for future add calls\n\t\t\t\tif ( memory ) {\n\t\t\t\t\tlist = [];\n\n\t\t\t\t// Otherwise, this object is spent\n\t\t\t\t} else {\n\t\t\t\t\tlist = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\t// Actual Callbacks object\n\t\tself = {\n\n\t\t\t// Add a callback or a collection of callbacks to the list\n\t\t\tadd: function() {\n\t\t\t\tif ( list ) {\n\n\t\t\t\t\t// If we have memory from a past run, we should fire after adding\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfiringIndex = list.length - 1;\n\t\t\t\t\t\tqueue.push( memory );\n\t\t\t\t\t}\n\n\t\t\t\t\t( function add( args ) {\n\t\t\t\t\t\tjQuery.each( args, function( _, arg ) {\n\t\t\t\t\t\t\tif ( jQuery.isFunction( arg ) ) {\n\t\t\t\t\t\t\t\tif ( !options.unique || !self.has( arg ) ) {\n\t\t\t\t\t\t\t\t\tlist.push( arg );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if ( arg && arg.length && jQuery.type( arg ) !== \"string\" ) {\n\n\t\t\t\t\t\t\t\t// Inspect recursively\n\t\t\t\t\t\t\t\tadd( arg );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t} )( arguments );\n\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Remove a callback from the list\n\t\t\tremove: function() {\n\t\t\t\tjQuery.each( arguments, function( _, arg ) {\n\t\t\t\t\tvar index;\n\t\t\t\t\twhile ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {\n\t\t\t\t\t\tlist.splice( index, 1 );\n\n\t\t\t\t\t\t// Handle firing indexes\n\t\t\t\t\t\tif ( index <= firingIndex ) {\n\t\t\t\t\t\t\tfiringIndex--;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Check if a given callback is in the list.\n\t\t\t// If no argument is given, return whether or not list has callbacks attached.\n\t\t\thas: function( fn ) {\n\t\t\t\treturn fn ?\n\t\t\t\t\tjQuery.inArray( fn, list ) > -1 :\n\t\t\t\t\tlist.length > 0;\n\t\t\t},\n\n\t\t\t// Remove all callbacks from the list\n\t\t\tempty: function() {\n\t\t\t\tif ( list ) {\n\t\t\t\t\tlist = [];\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Disable .fire and .add\n\t\t\t// Abort any current/pending executions\n\t\t\t// Clear all callbacks and values\n\t\t\tdisable: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tlist = memory = \"\";\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tdisabled: function() {\n\t\t\t\treturn !list;\n\t\t\t},\n\n\t\t\t// Disable .fire\n\t\t\t// Also disable .add unless we have memory (since it would have no effect)\n\t\t\t// Abort any pending executions\n\t\t\tlock: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tif ( !memory && !firing ) {\n\t\t\t\t\tlist = memory = \"\";\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tlocked: function() {\n\t\t\t\treturn !!locked;\n\t\t\t},\n\n\t\t\t// Call all callbacks with the given context and arguments\n\t\t\tfireWith: function( context, args ) {\n\t\t\t\tif ( !locked ) {\n\t\t\t\t\targs = args || [];\n\t\t\t\t\targs = [ context, args.slice ? args.slice() : args ];\n\t\t\t\t\tqueue.push( args );\n\t\t\t\t\tif ( !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Call all the callbacks with the given arguments\n\t\t\tfire: function() {\n\t\t\t\tself.fireWith( this, arguments );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// To know if the callbacks have already been called at least once\n\t\t\tfired: function() {\n\t\t\t\treturn !!fired;\n\t\t\t}\n\t\t};\n\n\treturn self;\n};\n\n\nfunction Identity( v ) {\n\treturn v;\n}\nfunction Thrower( ex ) {\n\tthrow ex;\n}\n\nfunction adoptValue( value, resolve, reject, noValue ) {\n\tvar method;\n\n\ttry {\n\n\t\t// Check for promise aspect first to privilege synchronous behavior\n\t\tif ( value && jQuery.isFunction( ( method = value.promise ) ) ) {\n\t\t\tmethod.call( value ).done( resolve ).fail( reject );\n\n\t\t// Other thenables\n\t\t} else if ( value && jQuery.isFunction( ( method = value.then ) ) ) {\n\t\t\tmethod.call( value, resolve, reject );\n\n\t\t// Other non-thenables\n\t\t} else {\n\n\t\t\t// Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:\n\t\t\t// * false: [ value ].slice( 0 ) => resolve( value )\n\t\t\t// * true: [ value ].slice( 1 ) => resolve()\n\t\t\tresolve.apply( undefined, [ value ].slice( noValue ) );\n\t\t}\n\n\t// For Promises/A+, convert exceptions into rejections\n\t// Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in\n\t// Deferred#then to conditionally suppress rejection.\n\t} catch ( value ) {\n\n\t\t// Support: Android 4.0 only\n\t\t// Strict mode functions invoked without .call/.apply get global-object context\n\t\treject.apply( undefined, [ value ] );\n\t}\n}\n\njQuery.extend( {\n\n\tDeferred: function( func ) {\n\t\tvar tuples = [\n\n\t\t\t\t// action, add listener, callbacks,\n\t\t\t\t// ... .then handlers, argument index, [final state]\n\t\t\t\t[ \"notify\", \"progress\", jQuery.Callbacks( \"memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"memory\" ), 2 ],\n\t\t\t\t[ \"resolve\", \"done\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 0, \"resolved\" ],\n\t\t\t\t[ \"reject\", \"fail\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 1, \"rejected\" ]\n\t\t\t],\n\t\t\tstate = \"pending\",\n\t\t\tpromise = {\n\t\t\t\tstate: function() {\n\t\t\t\t\treturn state;\n\t\t\t\t},\n\t\t\t\talways: function() {\n\t\t\t\t\tdeferred.done( arguments ).fail( arguments );\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\t\t\t\t\"catch\": function( fn ) {\n\t\t\t\t\treturn promise.then( null, fn );\n\t\t\t\t},\n\n\t\t\t\t// Keep pipe for back-compat\n\t\t\t\tpipe: function( /* fnDone, fnFail, fnProgress */ ) {\n\t\t\t\t\tvar fns = arguments;\n\n\t\t\t\t\treturn jQuery.Deferred( function( newDefer ) {\n\t\t\t\t\t\tjQuery.each( tuples, function( i, tuple ) {\n\n\t\t\t\t\t\t\t// Map tuples (progress, done, fail) to arguments (done, fail, progress)\n\t\t\t\t\t\t\tvar fn = jQuery.isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ];\n\n\t\t\t\t\t\t\t// deferred.progress(function() { bind to newDefer or newDefer.notify })\n\t\t\t\t\t\t\t// deferred.done(function() { bind to newDefer or newDefer.resolve })\n\t\t\t\t\t\t\t// deferred.fail(function() { bind to newDefer or newDefer.reject })\n\t\t\t\t\t\t\tdeferred[ tuple[ 1 ] ]( function() {\n\t\t\t\t\t\t\t\tvar returned = fn && fn.apply( this, arguments );\n\t\t\t\t\t\t\t\tif ( returned && jQuery.isFunction( returned.promise ) ) {\n\t\t\t\t\t\t\t\t\treturned.promise()\n\t\t\t\t\t\t\t\t\t\t.progress( newDefer.notify )\n\t\t\t\t\t\t\t\t\t\t.done( newDefer.resolve )\n\t\t\t\t\t\t\t\t\t\t.fail( newDefer.reject );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tnewDefer[ tuple[ 0 ] + \"With\" ](\n\t\t\t\t\t\t\t\t\t\tthis,\n\t\t\t\t\t\t\t\t\t\tfn ? [ returned ] : arguments\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} );\n\t\t\t\t\t\tfns = null;\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\t\t\t\tthen: function( onFulfilled, onRejected, onProgress ) {\n\t\t\t\t\tvar maxDepth = 0;\n\t\t\t\t\tfunction resolve( depth, deferred, handler, special ) {\n\t\t\t\t\t\treturn function() {\n\t\t\t\t\t\t\tvar that = this,\n\t\t\t\t\t\t\t\targs = arguments,\n\t\t\t\t\t\t\t\tmightThrow = function() {\n\t\t\t\t\t\t\t\t\tvar returned, then;\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.3\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-59\n\t\t\t\t\t\t\t\t\t// Ignore double-resolution attempts\n\t\t\t\t\t\t\t\t\tif ( depth < maxDepth ) {\n\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\treturned = handler.apply( that, args );\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.1\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-48\n\t\t\t\t\t\t\t\t\tif ( returned === deferred.promise() ) {\n\t\t\t\t\t\t\t\t\t\tthrow new TypeError( \"Thenable self-resolution\" );\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ sections 2.3.3.1, 3.5\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-54\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-75\n\t\t\t\t\t\t\t\t\t// Retrieve `then` only once\n\t\t\t\t\t\t\t\t\tthen = returned &&\n\n\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.4\n\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-64\n\t\t\t\t\t\t\t\t\t\t// Only check objects and functions for thenability\n\t\t\t\t\t\t\t\t\t\t( typeof returned === \"object\" ||\n\t\t\t\t\t\t\t\t\t\t\ttypeof returned === \"function\" ) &&\n\t\t\t\t\t\t\t\t\t\treturned.then;\n\n\t\t\t\t\t\t\t\t\t// Handle a returned thenable\n\t\t\t\t\t\t\t\t\tif ( jQuery.isFunction( then ) ) {\n\n\t\t\t\t\t\t\t\t\t\t// Special processors (notify) just wait for resolution\n\t\t\t\t\t\t\t\t\t\tif ( special ) {\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special )\n\t\t\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\t\t// Normal processors (resolve) also hook into progress\n\t\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t\t// ...and disregard older resolution values\n\t\t\t\t\t\t\t\t\t\t\tmaxDepth++;\n\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdeferred.notifyWith )\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Handle all other returned values\n\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\tif ( handler !== Identity ) {\n\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\targs = [ returned ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t// Process the value(s)\n\t\t\t\t\t\t\t\t\t\t// Default process is resolve\n\t\t\t\t\t\t\t\t\t\t( special || deferred.resolveWith )( that, args );\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\n\t\t\t\t\t\t\t\t// Only normal processors (resolve) catch and reject exceptions\n\t\t\t\t\t\t\t\tprocess = special ?\n\t\t\t\t\t\t\t\t\tmightThrow :\n\t\t\t\t\t\t\t\t\tfunction() {\n\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\tmightThrow();\n\t\t\t\t\t\t\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t\t\t\t\t\t\tif ( jQuery.Deferred.exceptionHook ) {\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery.Deferred.exceptionHook( e,\n\t\t\t\t\t\t\t\t\t\t\t\t\tprocess.stackTrace );\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.4.1\n\t\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-61\n\t\t\t\t\t\t\t\t\t\t\t// Ignore post-resolution exceptions\n\t\t\t\t\t\t\t\t\t\t\tif ( depth + 1 >= maxDepth ) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\t\t\tif ( handler !== Thrower ) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\t\t\targs = [ e ];\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\tdeferred.rejectWith( that, args );\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.1\n\t\t\t\t\t\t\t// https://promisesaplus.com/#point-57\n\t\t\t\t\t\t\t// Re-resolve promises immediately to dodge false rejection from\n\t\t\t\t\t\t\t// subsequent errors\n\t\t\t\t\t\t\tif ( depth ) {\n\t\t\t\t\t\t\t\tprocess();\n\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t// Call an optional hook to record the stack, in case of exception\n\t\t\t\t\t\t\t\t// since it's otherwise lost when execution goes async\n\t\t\t\t\t\t\t\tif ( jQuery.Deferred.getStackHook ) {\n\t\t\t\t\t\t\t\t\tprocess.stackTrace = jQuery.Deferred.getStackHook();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\twindow.setTimeout( process );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\n\t\t\t\t\treturn jQuery.Deferred( function( newDefer ) {\n\n\t\t\t\t\t\t// progress_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 0 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tjQuery.isFunction( onProgress ) ?\n\t\t\t\t\t\t\t\t\tonProgress :\n\t\t\t\t\t\t\t\t\tIdentity,\n\t\t\t\t\t\t\t\tnewDefer.notifyWith\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// fulfilled_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 1 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tjQuery.isFunction( onFulfilled ) ?\n\t\t\t\t\t\t\t\t\tonFulfilled :\n\t\t\t\t\t\t\t\t\tIdentity\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// rejected_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 2 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tjQuery.isFunction( onRejected ) ?\n\t\t\t\t\t\t\t\t\tonRejected :\n\t\t\t\t\t\t\t\t\tThrower\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\n\t\t\t\t// Get a promise for this deferred\n\t\t\t\t// If obj is provided, the promise aspect is added to the object\n\t\t\t\tpromise: function( obj ) {\n\t\t\t\t\treturn obj != null ? jQuery.extend( obj, promise ) : promise;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdeferred = {};\n\n\t\t// Add list-specific methods\n\t\tjQuery.each( tuples, function( i, tuple ) {\n\t\t\tvar list = tuple[ 2 ],\n\t\t\t\tstateString = tuple[ 5 ];\n\n\t\t\t// promise.progress = list.add\n\t\t\t// promise.done = list.add\n\t\t\t// promise.fail = list.add\n\t\t\tpromise[ tuple[ 1 ] ] = list.add;\n\n\t\t\t// Handle state\n\t\t\tif ( stateString ) {\n\t\t\t\tlist.add(\n\t\t\t\t\tfunction() {\n\n\t\t\t\t\t\t// state = \"resolved\" (i.e., fulfilled)\n\t\t\t\t\t\t// state = \"rejected\"\n\t\t\t\t\t\tstate = stateString;\n\t\t\t\t\t},\n\n\t\t\t\t\t// rejected_callbacks.disable\n\t\t\t\t\t// fulfilled_callbacks.disable\n\t\t\t\t\ttuples[ 3 - i ][ 2 ].disable,\n\n\t\t\t\t\t// progress_callbacks.lock\n\t\t\t\t\ttuples[ 0 ][ 2 ].lock\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// progress_handlers.fire\n\t\t\t// fulfilled_handlers.fire\n\t\t\t// rejected_handlers.fire\n\t\t\tlist.add( tuple[ 3 ].fire );\n\n\t\t\t// deferred.notify = function() { deferred.notifyWith(...) }\n\t\t\t// deferred.resolve = function() { deferred.resolveWith(...) }\n\t\t\t// deferred.reject = function() { deferred.rejectWith(...) }\n\t\t\tdeferred[ tuple[ 0 ] ] = function() {\n\t\t\t\tdeferred[ tuple[ 0 ] + \"With\" ]( this === deferred ? undefined : this, arguments );\n\t\t\t\treturn this;\n\t\t\t};\n\n\t\t\t// deferred.notifyWith = list.fireWith\n\t\t\t// deferred.resolveWith = list.fireWith\n\t\t\t// deferred.rejectWith = list.fireWith\n\t\t\tdeferred[ tuple[ 0 ] + \"With\" ] = list.fireWith;\n\t\t} );\n\n\t\t// Make the deferred a promise\n\t\tpromise.promise( deferred );\n\n\t\t// Call given func if any\n\t\tif ( func ) {\n\t\t\tfunc.call( deferred, deferred );\n\t\t}\n\n\t\t// All done!\n\t\treturn deferred;\n\t},\n\n\t// Deferred helper\n\twhen: function( singleValue ) {\n\t\tvar\n\n\t\t\t// count of uncompleted subordinates\n\t\t\tremaining = arguments.length,\n\n\t\t\t// count of unprocessed arguments\n\t\t\ti = remaining,\n\n\t\t\t// subordinate fulfillment data\n\t\t\tresolveContexts = Array( i ),\n\t\t\tresolveValues = slice.call( arguments ),\n\n\t\t\t// the master Deferred\n\t\t\tmaster = jQuery.Deferred(),\n\n\t\t\t// subordinate callback factory\n\t\t\tupdateFunc = function( i ) {\n\t\t\t\treturn function( value ) {\n\t\t\t\t\tresolveContexts[ i ] = this;\n\t\t\t\t\tresolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;\n\t\t\t\t\tif ( !( --remaining ) ) {\n\t\t\t\t\t\tmaster.resolveWith( resolveContexts, resolveValues );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t};\n\n\t\t// Single- and empty arguments are adopted like Promise.resolve\n\t\tif ( remaining <= 1 ) {\n\t\t\tadoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject,\n\t\t\t\t!remaining );\n\n\t\t\t// Use .then() to unwrap secondary thenables (cf. gh-3000)\n\t\t\tif ( master.state() === \"pending\" ||\n\t\t\t\tjQuery.isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) {\n\n\t\t\t\treturn master.then();\n\t\t\t}\n\t\t}\n\n\t\t// Multiple arguments are aggregated like Promise.all array elements\n\t\twhile ( i-- ) {\n\t\t\tadoptValue( resolveValues[ i ], updateFunc( i ), master.reject );\n\t\t}\n\n\t\treturn master.promise();\n\t}\n} );\n\n\n// These usually indicate a programmer mistake during development,\n// warn about them ASAP rather than swallowing them by default.\nvar rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;\n\njQuery.Deferred.exceptionHook = function( error, stack ) {\n\n\t// Support: IE 8 - 9 only\n\t// Console exists when dev tools are open, which can happen at any time\n\tif ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) {\n\t\twindow.console.warn( \"jQuery.Deferred exception: \" + error.message, error.stack, stack );\n\t}\n};\n\n\n\n\njQuery.readyException = function( error ) {\n\twindow.setTimeout( function() {\n\t\tthrow error;\n\t} );\n};\n\n\n\n\n// The deferred used on DOM ready\nvar readyList = jQuery.Deferred();\n\njQuery.fn.ready = function( fn ) {\n\n\treadyList\n\t\t.then( fn )\n\n\t\t// Wrap jQuery.readyException in a function so that the lookup\n\t\t// happens at the time of error handling instead of callback\n\t\t// registration.\n\t\t.catch( function( error ) {\n\t\t\tjQuery.readyException( error );\n\t\t} );\n\n\treturn this;\n};\n\njQuery.extend( {\n\n\t// Is the DOM ready to be used? Set to true once it occurs.\n\tisReady: false,\n\n\t// A counter to track how many items to wait for before\n\t// the ready event fires. See #6781\n\treadyWait: 1,\n\n\t// Handle when the DOM is ready\n\tready: function( wait ) {\n\n\t\t// Abort if there are pending holds or we're already ready\n\t\tif ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Remember that the DOM is ready\n\t\tjQuery.isReady = true;\n\n\t\t// If a normal DOM Ready event fired, decrement, and wait if need be\n\t\tif ( wait !== true && --jQuery.readyWait > 0 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If there are functions bound, to execute\n\t\treadyList.resolveWith( document, [ jQuery ] );\n\t}\n} );\n\njQuery.ready.then = readyList.then;\n\n// The ready event handler and self cleanup method\nfunction completed() {\n\tdocument.removeEventListener( \"DOMContentLoaded\", completed );\n\twindow.removeEventListener( \"load\", completed );\n\tjQuery.ready();\n}\n\n// Catch cases where $(document).ready() is called\n// after the browser event has already occurred.\n// Support: IE <=9 - 10 only\n// Older IE sometimes signals \"interactive\" too soon\nif ( document.readyState === \"complete\" ||\n\t( document.readyState !== \"loading\" && !document.documentElement.doScroll ) ) {\n\n\t// Handle it asynchronously to allow scripts the opportunity to delay ready\n\twindow.setTimeout( jQuery.ready );\n\n} else {\n\n\t// Use the handy event callback\n\tdocument.addEventListener( \"DOMContentLoaded\", completed );\n\n\t// A fallback to window.onload, that will always work\n\twindow.addEventListener( \"load\", completed );\n}\n\n\n\n\n// Multifunctional method to get and set values of a collection\n// The value/s can optionally be executed if it's a function\nvar access = function( elems, fn, key, value, chainable, emptyGet, raw ) {\n\tvar i = 0,\n\t\tlen = elems.length,\n\t\tbulk = key == null;\n\n\t// Sets many values\n\tif ( jQuery.type( key ) === \"object\" ) {\n\t\tchainable = true;\n\t\tfor ( i in key ) {\n\t\t\taccess( elems, fn, i, key[ i ], true, emptyGet, raw );\n\t\t}\n\n\t// Sets one value\n\t} else if ( value !== undefined ) {\n\t\tchainable = true;\n\n\t\tif ( !jQuery.isFunction( value ) ) {\n\t\t\traw = true;\n\t\t}\n\n\t\tif ( bulk ) {\n\n\t\t\t// Bulk operations run against the entire set\n\t\t\tif ( raw ) {\n\t\t\t\tfn.call( elems, value );\n\t\t\t\tfn = null;\n\n\t\t\t// ...except when executing function values\n\t\t\t} else {\n\t\t\t\tbulk = fn;\n\t\t\t\tfn = function( elem, key, value ) {\n\t\t\t\t\treturn bulk.call( jQuery( elem ), value );\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\tif ( fn ) {\n\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\tfn(\n\t\t\t\t\telems[ i ], key, raw ?\n\t\t\t\t\tvalue :\n\t\t\t\t\tvalue.call( elems[ i ], i, fn( elems[ i ], key ) )\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( chainable ) {\n\t\treturn elems;\n\t}\n\n\t// Gets\n\tif ( bulk ) {\n\t\treturn fn.call( elems );\n\t}\n\n\treturn len ? fn( elems[ 0 ], key ) : emptyGet;\n};\nvar acceptData = function( owner ) {\n\n\t// Accepts only:\n\t//  - Node\n\t//    - Node.ELEMENT_NODE\n\t//    - Node.DOCUMENT_NODE\n\t//  - Object\n\t//    - Any\n\treturn owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );\n};\n\n\n\n\nfunction Data() {\n\tthis.expando = jQuery.expando + Data.uid++;\n}\n\nData.uid = 1;\n\nData.prototype = {\n\n\tcache: function( owner ) {\n\n\t\t// Check if the owner object already has a cache\n\t\tvar value = owner[ this.expando ];\n\n\t\t// If not, create one\n\t\tif ( !value ) {\n\t\t\tvalue = {};\n\n\t\t\t// We can accept data for non-element nodes in modern browsers,\n\t\t\t// but we should not, see #8335.\n\t\t\t// Always return an empty object.\n\t\t\tif ( acceptData( owner ) ) {\n\n\t\t\t\t// If it is a node unlikely to be stringify-ed or looped over\n\t\t\t\t// use plain assignment\n\t\t\t\tif ( owner.nodeType ) {\n\t\t\t\t\towner[ this.expando ] = value;\n\n\t\t\t\t// Otherwise secure it in a non-enumerable property\n\t\t\t\t// configurable must be true to allow the property to be\n\t\t\t\t// deleted when data is removed\n\t\t\t\t} else {\n\t\t\t\t\tObject.defineProperty( owner, this.expando, {\n\t\t\t\t\t\tvalue: value,\n\t\t\t\t\t\tconfigurable: true\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn value;\n\t},\n\tset: function( owner, data, value ) {\n\t\tvar prop,\n\t\t\tcache = this.cache( owner );\n\n\t\t// Handle: [ owner, key, value ] args\n\t\t// Always use camelCase key (gh-2257)\n\t\tif ( typeof data === \"string\" ) {\n\t\t\tcache[ jQuery.camelCase( data ) ] = value;\n\n\t\t// Handle: [ owner, { properties } ] args\n\t\t} else {\n\n\t\t\t// Copy the properties one-by-one to the cache object\n\t\t\tfor ( prop in data ) {\n\t\t\t\tcache[ jQuery.camelCase( prop ) ] = data[ prop ];\n\t\t\t}\n\t\t}\n\t\treturn cache;\n\t},\n\tget: function( owner, key ) {\n\t\treturn key === undefined ?\n\t\t\tthis.cache( owner ) :\n\n\t\t\t// Always use camelCase key (gh-2257)\n\t\t\towner[ this.expando ] && owner[ this.expando ][ jQuery.camelCase( key ) ];\n\t},\n\taccess: function( owner, key, value ) {\n\n\t\t// In cases where either:\n\t\t//\n\t\t//   1. No key was specified\n\t\t//   2. A string key was specified, but no value provided\n\t\t//\n\t\t// Take the \"read\" path and allow the get method to determine\n\t\t// which value to return, respectively either:\n\t\t//\n\t\t//   1. The entire cache object\n\t\t//   2. The data stored at the key\n\t\t//\n\t\tif ( key === undefined ||\n\t\t\t\t( ( key && typeof key === \"string\" ) && value === undefined ) ) {\n\n\t\t\treturn this.get( owner, key );\n\t\t}\n\n\t\t// When the key is not a string, or both a key and value\n\t\t// are specified, set or extend (existing objects) with either:\n\t\t//\n\t\t//   1. An object of properties\n\t\t//   2. A key and value\n\t\t//\n\t\tthis.set( owner, key, value );\n\n\t\t// Since the \"set\" path can have two possible entry points\n\t\t// return the expected data based on which path was taken[*]\n\t\treturn value !== undefined ? value : key;\n\t},\n\tremove: function( owner, key ) {\n\t\tvar i,\n\t\t\tcache = owner[ this.expando ];\n\n\t\tif ( cache === undefined ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( key !== undefined ) {\n\n\t\t\t// Support array or space separated string of keys\n\t\t\tif ( Array.isArray( key ) ) {\n\n\t\t\t\t// If key is an array of keys...\n\t\t\t\t// We always set camelCase keys, so remove that.\n\t\t\t\tkey = key.map( jQuery.camelCase );\n\t\t\t} else {\n\t\t\t\tkey = jQuery.camelCase( key );\n\n\t\t\t\t// If a key with the spaces exists, use it.\n\t\t\t\t// Otherwise, create an array by matching non-whitespace\n\t\t\t\tkey = key in cache ?\n\t\t\t\t\t[ key ] :\n\t\t\t\t\t( key.match( rnothtmlwhite ) || [] );\n\t\t\t}\n\n\t\t\ti = key.length;\n\n\t\t\twhile ( i-- ) {\n\t\t\t\tdelete cache[ key[ i ] ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove the expando if there's no more data\n\t\tif ( key === undefined || jQuery.isEmptyObject( cache ) ) {\n\n\t\t\t// Support: Chrome <=35 - 45\n\t\t\t// Webkit & Blink performance suffers when deleting properties\n\t\t\t// from DOM nodes, so set to undefined instead\n\t\t\t// https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted)\n\t\t\tif ( owner.nodeType ) {\n\t\t\t\towner[ this.expando ] = undefined;\n\t\t\t} else {\n\t\t\t\tdelete owner[ this.expando ];\n\t\t\t}\n\t\t}\n\t},\n\thasData: function( owner ) {\n\t\tvar cache = owner[ this.expando ];\n\t\treturn cache !== undefined && !jQuery.isEmptyObject( cache );\n\t}\n};\nvar dataPriv = new Data();\n\nvar dataUser = new Data();\n\n\n\n//\tImplementation Summary\n//\n//\t1. Enforce API surface and semantic compatibility with 1.9.x branch\n//\t2. Improve the module's maintainability by reducing the storage\n//\t\tpaths to a single mechanism.\n//\t3. Use the same single mechanism to support \"private\" and \"user\" data.\n//\t4. _Never_ expose \"private\" data to user code (TODO: Drop _data, _removeData)\n//\t5. Avoid exposing implementation details on user objects (eg. expando properties)\n//\t6. Provide a clear path for implementation upgrade to WeakMap in 2014\n\nvar rbrace = /^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,\n\trmultiDash = /[A-Z]/g;\n\nfunction getData( data ) {\n\tif ( data === \"true\" ) {\n\t\treturn true;\n\t}\n\n\tif ( data === \"false\" ) {\n\t\treturn false;\n\t}\n\n\tif ( data === \"null\" ) {\n\t\treturn null;\n\t}\n\n\t// Only convert to a number if it doesn't change the string\n\tif ( data === +data + \"\" ) {\n\t\treturn +data;\n\t}\n\n\tif ( rbrace.test( data ) ) {\n\t\treturn JSON.parse( data );\n\t}\n\n\treturn data;\n}\n\nfunction dataAttr( elem, key, data ) {\n\tvar name;\n\n\t// If nothing was found internally, try to fetch any\n\t// data from the HTML5 data-* attribute\n\tif ( data === undefined && elem.nodeType === 1 ) {\n\t\tname = \"data-\" + key.replace( rmultiDash, \"-$&\" ).toLowerCase();\n\t\tdata = elem.getAttribute( name );\n\n\t\tif ( typeof data === \"string\" ) {\n\t\t\ttry {\n\t\t\t\tdata = getData( data );\n\t\t\t} catch ( e ) {}\n\n\t\t\t// Make sure we set the data so it isn't changed later\n\t\t\tdataUser.set( elem, key, data );\n\t\t} else {\n\t\t\tdata = undefined;\n\t\t}\n\t}\n\treturn data;\n}\n\njQuery.extend( {\n\thasData: function( elem ) {\n\t\treturn dataUser.hasData( elem ) || dataPriv.hasData( elem );\n\t},\n\n\tdata: function( elem, name, data ) {\n\t\treturn dataUser.access( elem, name, data );\n\t},\n\n\tremoveData: function( elem, name ) {\n\t\tdataUser.remove( elem, name );\n\t},\n\n\t// TODO: Now that all calls to _data and _removeData have been replaced\n\t// with direct calls to dataPriv methods, these can be deprecated.\n\t_data: function( elem, name, data ) {\n\t\treturn dataPriv.access( elem, name, data );\n\t},\n\n\t_removeData: function( elem, name ) {\n\t\tdataPriv.remove( elem, name );\n\t}\n} );\n\njQuery.fn.extend( {\n\tdata: function( key, value ) {\n\t\tvar i, name, data,\n\t\t\telem = this[ 0 ],\n\t\t\tattrs = elem && elem.attributes;\n\n\t\t// Gets all values\n\t\tif ( key === undefined ) {\n\t\t\tif ( this.length ) {\n\t\t\t\tdata = dataUser.get( elem );\n\n\t\t\t\tif ( elem.nodeType === 1 && !dataPriv.get( elem, \"hasDataAttrs\" ) ) {\n\t\t\t\t\ti = attrs.length;\n\t\t\t\t\twhile ( i-- ) {\n\n\t\t\t\t\t\t// Support: IE 11 only\n\t\t\t\t\t\t// The attrs elements can be null (#14894)\n\t\t\t\t\t\tif ( attrs[ i ] ) {\n\t\t\t\t\t\t\tname = attrs[ i ].name;\n\t\t\t\t\t\t\tif ( name.indexOf( \"data-\" ) === 0 ) {\n\t\t\t\t\t\t\t\tname = jQuery.camelCase( name.slice( 5 ) );\n\t\t\t\t\t\t\t\tdataAttr( elem, name, data[ name ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tdataPriv.set( elem, \"hasDataAttrs\", true );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t\t// Sets multiple values\n\t\tif ( typeof key === \"object\" ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tdataUser.set( this, key );\n\t\t\t} );\n\t\t}\n\n\t\treturn access( this, function( value ) {\n\t\t\tvar data;\n\n\t\t\t// The calling jQuery object (element matches) is not empty\n\t\t\t// (and therefore has an element appears at this[ 0 ]) and the\n\t\t\t// `value` parameter was not undefined. An empty jQuery object\n\t\t\t// will result in `undefined` for elem = this[ 0 ] which will\n\t\t\t// throw an exception if an attempt to read a data cache is made.\n\t\t\tif ( elem && value === undefined ) {\n\n\t\t\t\t// Attempt to get data from the cache\n\t\t\t\t// The key will always be camelCased in Data\n\t\t\t\tdata = dataUser.get( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// Attempt to \"discover\" the data in\n\t\t\t\t// HTML5 custom data-* attrs\n\t\t\t\tdata = dataAttr( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// We tried really hard, but the data doesn't exist.\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Set the data...\n\t\t\tthis.each( function() {\n\n\t\t\t\t// We always store the camelCased key\n\t\t\t\tdataUser.set( this, key, value );\n\t\t\t} );\n\t\t}, null, value, arguments.length > 1, null, true );\n\t},\n\n\tremoveData: function( key ) {\n\t\treturn this.each( function() {\n\t\t\tdataUser.remove( this, key );\n\t\t} );\n\t}\n} );\n\n\njQuery.extend( {\n\tqueue: function( elem, type, data ) {\n\t\tvar queue;\n\n\t\tif ( elem ) {\n\t\t\ttype = ( type || \"fx\" ) + \"queue\";\n\t\t\tqueue = dataPriv.get( elem, type );\n\n\t\t\t// Speed up dequeue by getting out quickly if this is just a lookup\n\t\t\tif ( data ) {\n\t\t\t\tif ( !queue || Array.isArray( data ) ) {\n\t\t\t\t\tqueue = dataPriv.access( elem, type, jQuery.makeArray( data ) );\n\t\t\t\t} else {\n\t\t\t\t\tqueue.push( data );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn queue || [];\n\t\t}\n\t},\n\n\tdequeue: function( elem, type ) {\n\t\ttype = type || \"fx\";\n\n\t\tvar queue = jQuery.queue( elem, type ),\n\t\t\tstartLength = queue.length,\n\t\t\tfn = queue.shift(),\n\t\t\thooks = jQuery._queueHooks( elem, type ),\n\t\t\tnext = function() {\n\t\t\t\tjQuery.dequeue( elem, type );\n\t\t\t};\n\n\t\t// If the fx queue is dequeued, always remove the progress sentinel\n\t\tif ( fn === \"inprogress\" ) {\n\t\t\tfn = queue.shift();\n\t\t\tstartLength--;\n\t\t}\n\n\t\tif ( fn ) {\n\n\t\t\t// Add a progress sentinel to prevent the fx queue from being\n\t\t\t// automatically dequeued\n\t\t\tif ( type === \"fx\" ) {\n\t\t\t\tqueue.unshift( \"inprogress\" );\n\t\t\t}\n\n\t\t\t// Clear up the last queue stop function\n\t\t\tdelete hooks.stop;\n\t\t\tfn.call( elem, next, hooks );\n\t\t}\n\n\t\tif ( !startLength && hooks ) {\n\t\t\thooks.empty.fire();\n\t\t}\n\t},\n\n\t// Not public - generate a queueHooks object, or return the current one\n\t_queueHooks: function( elem, type ) {\n\t\tvar key = type + \"queueHooks\";\n\t\treturn dataPriv.get( elem, key ) || dataPriv.access( elem, key, {\n\t\t\tempty: jQuery.Callbacks( \"once memory\" ).add( function() {\n\t\t\t\tdataPriv.remove( elem, [ type + \"queue\", key ] );\n\t\t\t} )\n\t\t} );\n\t}\n} );\n\njQuery.fn.extend( {\n\tqueue: function( type, data ) {\n\t\tvar setter = 2;\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tdata = type;\n\t\t\ttype = \"fx\";\n\t\t\tsetter--;\n\t\t}\n\n\t\tif ( arguments.length < setter ) {\n\t\t\treturn jQuery.queue( this[ 0 ], type );\n\t\t}\n\n\t\treturn data === undefined ?\n\t\t\tthis :\n\t\t\tthis.each( function() {\n\t\t\t\tvar queue = jQuery.queue( this, type, data );\n\n\t\t\t\t// Ensure a hooks for this queue\n\t\t\t\tjQuery._queueHooks( this, type );\n\n\t\t\t\tif ( type === \"fx\" && queue[ 0 ] !== \"inprogress\" ) {\n\t\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t\t}\n\t\t\t} );\n\t},\n\tdequeue: function( type ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.dequeue( this, type );\n\t\t} );\n\t},\n\tclearQueue: function( type ) {\n\t\treturn this.queue( type || \"fx\", [] );\n\t},\n\n\t// Get a promise resolved when queues of a certain type\n\t// are emptied (fx is the type by default)\n\tpromise: function( type, obj ) {\n\t\tvar tmp,\n\t\t\tcount = 1,\n\t\t\tdefer = jQuery.Deferred(),\n\t\t\telements = this,\n\t\t\ti = this.length,\n\t\t\tresolve = function() {\n\t\t\t\tif ( !( --count ) ) {\n\t\t\t\t\tdefer.resolveWith( elements, [ elements ] );\n\t\t\t\t}\n\t\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tobj = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\ttype = type || \"fx\";\n\n\t\twhile ( i-- ) {\n\t\t\ttmp = dataPriv.get( elements[ i ], type + \"queueHooks\" );\n\t\t\tif ( tmp && tmp.empty ) {\n\t\t\t\tcount++;\n\t\t\t\ttmp.empty.add( resolve );\n\t\t\t}\n\t\t}\n\t\tresolve();\n\t\treturn defer.promise( obj );\n\t}\n} );\nvar pnum = ( /[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/ ).source;\n\nvar rcssNum = new RegExp( \"^(?:([+-])=|)(\" + pnum + \")([a-z%]*)$\", \"i\" );\n\n\nvar cssExpand = [ \"Top\", \"Right\", \"Bottom\", \"Left\" ];\n\nvar isHiddenWithinTree = function( elem, el ) {\n\n\t\t// isHiddenWithinTree might be called from jQuery#filter function;\n\t\t// in that case, element will be second argument\n\t\telem = el || elem;\n\n\t\t// Inline style trumps all\n\t\treturn elem.style.display === \"none\" ||\n\t\t\telem.style.display === \"\" &&\n\n\t\t\t// Otherwise, check computed style\n\t\t\t// Support: Firefox <=43 - 45\n\t\t\t// Disconnected elements can have computed display: none, so first confirm that elem is\n\t\t\t// in the document.\n\t\t\tjQuery.contains( elem.ownerDocument, elem ) &&\n\n\t\t\tjQuery.css( elem, \"display\" ) === \"none\";\n\t};\n\nvar swap = function( elem, options, callback, args ) {\n\tvar ret, name,\n\t\told = {};\n\n\t// Remember the old values, and insert the new ones\n\tfor ( name in options ) {\n\t\told[ name ] = elem.style[ name ];\n\t\telem.style[ name ] = options[ name ];\n\t}\n\n\tret = callback.apply( elem, args || [] );\n\n\t// Revert the old values\n\tfor ( name in options ) {\n\t\telem.style[ name ] = old[ name ];\n\t}\n\n\treturn ret;\n};\n\n\n\n\nfunction adjustCSS( elem, prop, valueParts, tween ) {\n\tvar adjusted,\n\t\tscale = 1,\n\t\tmaxIterations = 20,\n\t\tcurrentValue = tween ?\n\t\t\tfunction() {\n\t\t\t\treturn tween.cur();\n\t\t\t} :\n\t\t\tfunction() {\n\t\t\t\treturn jQuery.css( elem, prop, \"\" );\n\t\t\t},\n\t\tinitial = currentValue(),\n\t\tunit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" ),\n\n\t\t// Starting value computation is required for potential unit mismatches\n\t\tinitialInUnit = ( jQuery.cssNumber[ prop ] || unit !== \"px\" && +initial ) &&\n\t\t\trcssNum.exec( jQuery.css( elem, prop ) );\n\n\tif ( initialInUnit && initialInUnit[ 3 ] !== unit ) {\n\n\t\t// Trust units reported by jQuery.css\n\t\tunit = unit || initialInUnit[ 3 ];\n\n\t\t// Make sure we update the tween properties later on\n\t\tvalueParts = valueParts || [];\n\n\t\t// Iteratively approximate from a nonzero starting point\n\t\tinitialInUnit = +initial || 1;\n\n\t\tdo {\n\n\t\t\t// If previous iteration zeroed out, double until we get *something*.\n\t\t\t// Use string for doubling so we don't accidentally see scale as unchanged below\n\t\t\tscale = scale || \".5\";\n\n\t\t\t// Adjust and apply\n\t\t\tinitialInUnit = initialInUnit / scale;\n\t\t\tjQuery.style( elem, prop, initialInUnit + unit );\n\n\t\t// Update scale, tolerating zero or NaN from tween.cur()\n\t\t// Break the loop if scale is unchanged or perfect, or if we've just had enough.\n\t\t} while (\n\t\t\tscale !== ( scale = currentValue() / initial ) && scale !== 1 && --maxIterations\n\t\t);\n\t}\n\n\tif ( valueParts ) {\n\t\tinitialInUnit = +initialInUnit || +initial || 0;\n\n\t\t// Apply relative offset (+=/-=) if specified\n\t\tadjusted = valueParts[ 1 ] ?\n\t\t\tinitialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] :\n\t\t\t+valueParts[ 2 ];\n\t\tif ( tween ) {\n\t\t\ttween.unit = unit;\n\t\t\ttween.start = initialInUnit;\n\t\t\ttween.end = adjusted;\n\t\t}\n\t}\n\treturn adjusted;\n}\n\n\nvar defaultDisplayMap = {};\n\nfunction getDefaultDisplay( elem ) {\n\tvar temp,\n\t\tdoc = elem.ownerDocument,\n\t\tnodeName = elem.nodeName,\n\t\tdisplay = defaultDisplayMap[ nodeName ];\n\n\tif ( display ) {\n\t\treturn display;\n\t}\n\n\ttemp = doc.body.appendChild( doc.createElement( nodeName ) );\n\tdisplay = jQuery.css( temp, \"display\" );\n\n\ttemp.parentNode.removeChild( temp );\n\n\tif ( display === \"none\" ) {\n\t\tdisplay = \"block\";\n\t}\n\tdefaultDisplayMap[ nodeName ] = display;\n\n\treturn display;\n}\n\nfunction showHide( elements, show ) {\n\tvar display, elem,\n\t\tvalues = [],\n\t\tindex = 0,\n\t\tlength = elements.length;\n\n\t// Determine new display value for elements that need to change\n\tfor ( ; index < length; index++ ) {\n\t\telem = elements[ index ];\n\t\tif ( !elem.style ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tdisplay = elem.style.display;\n\t\tif ( show ) {\n\n\t\t\t// Since we force visibility upon cascade-hidden elements, an immediate (and slow)\n\t\t\t// check is required in this first loop unless we have a nonempty display value (either\n\t\t\t// inline or about-to-be-restored)\n\t\t\tif ( display === \"none\" ) {\n\t\t\t\tvalues[ index ] = dataPriv.get( elem, \"display\" ) || null;\n\t\t\t\tif ( !values[ index ] ) {\n\t\t\t\t\telem.style.display = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( elem.style.display === \"\" && isHiddenWithinTree( elem ) ) {\n\t\t\t\tvalues[ index ] = getDefaultDisplay( elem );\n\t\t\t}\n\t\t} else {\n\t\t\tif ( display !== \"none\" ) {\n\t\t\t\tvalues[ index ] = \"none\";\n\n\t\t\t\t// Remember what we're overwriting\n\t\t\t\tdataPriv.set( elem, \"display\", display );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Set the display of the elements in a second loop to avoid constant reflow\n\tfor ( index = 0; index < length; index++ ) {\n\t\tif ( values[ index ] != null ) {\n\t\t\telements[ index ].style.display = values[ index ];\n\t\t}\n\t}\n\n\treturn elements;\n}\n\njQuery.fn.extend( {\n\tshow: function() {\n\t\treturn showHide( this, true );\n\t},\n\thide: function() {\n\t\treturn showHide( this );\n\t},\n\ttoggle: function( state ) {\n\t\tif ( typeof state === \"boolean\" ) {\n\t\t\treturn state ? this.show() : this.hide();\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tif ( isHiddenWithinTree( this ) ) {\n\t\t\t\tjQuery( this ).show();\n\t\t\t} else {\n\t\t\t\tjQuery( this ).hide();\n\t\t\t}\n\t\t} );\n\t}\n} );\nvar rcheckableType = ( /^(?:checkbox|radio)$/i );\n\nvar rtagName = ( /<([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]+)/i );\n\nvar rscriptType = ( /^$|\\/(?:java|ecma)script/i );\n\n\n\n// We have to close these tags to support XHTML (#13200)\nvar wrapMap = {\n\n\t// Support: IE <=9 only\n\toption: [ 1, \"<select multiple='multiple'>\", \"</select>\" ],\n\n\t// XHTML parsers do not magically insert elements in the\n\t// same way that tag soup parsers do. So we cannot shorten\n\t// this by omitting <tbody> or other required elements.\n\tthead: [ 1, \"<table>\", \"</table>\" ],\n\tcol: [ 2, \"<table><colgroup>\", \"</colgroup></table>\" ],\n\ttr: [ 2, \"<table><tbody>\", \"</tbody></table>\" ],\n\ttd: [ 3, \"<table><tbody><tr>\", \"</tr></tbody></table>\" ],\n\n\t_default: [ 0, \"\", \"\" ]\n};\n\n// Support: IE <=9 only\nwrapMap.optgroup = wrapMap.option;\n\nwrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;\nwrapMap.th = wrapMap.td;\n\n\nfunction getAll( context, tag ) {\n\n\t// Support: IE <=9 - 11 only\n\t// Use typeof to avoid zero-argument method invocation on host objects (#15151)\n\tvar ret;\n\n\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\tret = context.getElementsByTagName( tag || \"*\" );\n\n\t} else if ( typeof context.querySelectorAll !== \"undefined\" ) {\n\t\tret = context.querySelectorAll( tag || \"*\" );\n\n\t} else {\n\t\tret = [];\n\t}\n\n\tif ( tag === undefined || tag && nodeName( context, tag ) ) {\n\t\treturn jQuery.merge( [ context ], ret );\n\t}\n\n\treturn ret;\n}\n\n\n// Mark scripts as having already been evaluated\nfunction setGlobalEval( elems, refElements ) {\n\tvar i = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\tdataPriv.set(\n\t\t\telems[ i ],\n\t\t\t\"globalEval\",\n\t\t\t!refElements || dataPriv.get( refElements[ i ], \"globalEval\" )\n\t\t);\n\t}\n}\n\n\nvar rhtml = /<|&#?\\w+;/;\n\nfunction buildFragment( elems, context, scripts, selection, ignored ) {\n\tvar elem, tmp, tag, wrap, contains, j,\n\t\tfragment = context.createDocumentFragment(),\n\t\tnodes = [],\n\t\ti = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\telem = elems[ i ];\n\n\t\tif ( elem || elem === 0 ) {\n\n\t\t\t// Add nodes directly\n\t\t\tif ( jQuery.type( elem ) === \"object\" ) {\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );\n\n\t\t\t// Convert non-html into a text node\n\t\t\t} else if ( !rhtml.test( elem ) ) {\n\t\t\t\tnodes.push( context.createTextNode( elem ) );\n\n\t\t\t// Convert html into DOM nodes\n\t\t\t} else {\n\t\t\t\ttmp = tmp || fragment.appendChild( context.createElement( \"div\" ) );\n\n\t\t\t\t// Deserialize a standard representation\n\t\t\t\ttag = ( rtagName.exec( elem ) || [ \"\", \"\" ] )[ 1 ].toLowerCase();\n\t\t\t\twrap = wrapMap[ tag ] || wrapMap._default;\n\t\t\t\ttmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ];\n\n\t\t\t\t// Descend through wrappers to the right content\n\t\t\t\tj = wrap[ 0 ];\n\t\t\t\twhile ( j-- ) {\n\t\t\t\t\ttmp = tmp.lastChild;\n\t\t\t\t}\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, tmp.childNodes );\n\n\t\t\t\t// Remember the top-level container\n\t\t\t\ttmp = fragment.firstChild;\n\n\t\t\t\t// Ensure the created nodes are orphaned (#12392)\n\t\t\t\ttmp.textContent = \"\";\n\t\t\t}\n\t\t}\n\t}\n\n\t// Remove wrapper from fragment\n\tfragment.textContent = \"\";\n\n\ti = 0;\n\twhile ( ( elem = nodes[ i++ ] ) ) {\n\n\t\t// Skip elements already in the context collection (trac-4087)\n\t\tif ( selection && jQuery.inArray( elem, selection ) > -1 ) {\n\t\t\tif ( ignored ) {\n\t\t\t\tignored.push( elem );\n\t\t\t}\n\t\t\tcontinue;\n\t\t}\n\n\t\tcontains = jQuery.contains( elem.ownerDocument, elem );\n\n\t\t// Append to fragment\n\t\ttmp = getAll( fragment.appendChild( elem ), \"script\" );\n\n\t\t// Preserve script evaluation history\n\t\tif ( contains ) {\n\t\t\tsetGlobalEval( tmp );\n\t\t}\n\n\t\t// Capture executables\n\t\tif ( scripts ) {\n\t\t\tj = 0;\n\t\t\twhile ( ( elem = tmp[ j++ ] ) ) {\n\t\t\t\tif ( rscriptType.test( elem.type || \"\" ) ) {\n\t\t\t\t\tscripts.push( elem );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn fragment;\n}\n\n\n( function() {\n\tvar fragment = document.createDocumentFragment(),\n\t\tdiv = fragment.appendChild( document.createElement( \"div\" ) ),\n\t\tinput = document.createElement( \"input\" );\n\n\t// Support: Android 4.0 - 4.3 only\n\t// Check state lost if the name is set (#11217)\n\t// Support: Windows Web Apps (WWA)\n\t// `name` and `type` must use .setAttribute for WWA (#14901)\n\tinput.setAttribute( \"type\", \"radio\" );\n\tinput.setAttribute( \"checked\", \"checked\" );\n\tinput.setAttribute( \"name\", \"t\" );\n\n\tdiv.appendChild( input );\n\n\t// Support: Android <=4.1 only\n\t// Older WebKit doesn't clone checked state correctly in fragments\n\tsupport.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;\n\n\t// Support: IE <=11 only\n\t// Make sure textarea (and checkbox) defaultValue is properly cloned\n\tdiv.innerHTML = \"<textarea>x</textarea>\";\n\tsupport.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;\n} )();\nvar documentElement = document.documentElement;\n\n\n\nvar\n\trkeyEvent = /^key/,\n\trmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/,\n\trtypenamespace = /^([^.]*)(?:\\.(.+)|)/;\n\nfunction returnTrue() {\n\treturn true;\n}\n\nfunction returnFalse() {\n\treturn false;\n}\n\n// Support: IE <=9 only\n// See #13393 for more info\nfunction safeActiveElement() {\n\ttry {\n\t\treturn document.activeElement;\n\t} catch ( err ) { }\n}\n\nfunction on( elem, types, selector, data, fn, one ) {\n\tvar origFn, type;\n\n\t// Types can be a map of types/handlers\n\tif ( typeof types === \"object\" ) {\n\n\t\t// ( types-Object, selector, data )\n\t\tif ( typeof selector !== \"string\" ) {\n\n\t\t\t// ( types-Object, data )\n\t\t\tdata = data || selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tfor ( type in types ) {\n\t\t\ton( elem, type, selector, data, types[ type ], one );\n\t\t}\n\t\treturn elem;\n\t}\n\n\tif ( data == null && fn == null ) {\n\n\t\t// ( types, fn )\n\t\tfn = selector;\n\t\tdata = selector = undefined;\n\t} else if ( fn == null ) {\n\t\tif ( typeof selector === \"string\" ) {\n\n\t\t\t// ( types, selector, fn )\n\t\t\tfn = data;\n\t\t\tdata = undefined;\n\t\t} else {\n\n\t\t\t// ( types, data, fn )\n\t\t\tfn = data;\n\t\t\tdata = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t}\n\tif ( fn === false ) {\n\t\tfn = returnFalse;\n\t} else if ( !fn ) {\n\t\treturn elem;\n\t}\n\n\tif ( one === 1 ) {\n\t\torigFn = fn;\n\t\tfn = function( event ) {\n\n\t\t\t// Can use an empty set, since event contains the info\n\t\t\tjQuery().off( event );\n\t\t\treturn origFn.apply( this, arguments );\n\t\t};\n\n\t\t// Use same guid so caller can remove using origFn\n\t\tfn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );\n\t}\n\treturn elem.each( function() {\n\t\tjQuery.event.add( this, types, fn, data, selector );\n\t} );\n}\n\n/*\n * Helper functions for managing events -- not part of the public interface.\n * Props to Dean Edwards' addEvent library for many of the ideas.\n */\njQuery.event = {\n\n\tglobal: {},\n\n\tadd: function( elem, types, handler, data, selector ) {\n\n\t\tvar handleObjIn, eventHandle, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.get( elem );\n\n\t\t// Don't attach events to noData or text/comment nodes (but allow plain objects)\n\t\tif ( !elemData ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Caller can pass in an object of custom data in lieu of the handler\n\t\tif ( handler.handler ) {\n\t\t\thandleObjIn = handler;\n\t\t\thandler = handleObjIn.handler;\n\t\t\tselector = handleObjIn.selector;\n\t\t}\n\n\t\t// Ensure that invalid selectors throw exceptions at attach time\n\t\t// Evaluate against documentElement in case elem is a non-element node (e.g., document)\n\t\tif ( selector ) {\n\t\t\tjQuery.find.matchesSelector( documentElement, selector );\n\t\t}\n\n\t\t// Make sure that the handler has a unique ID, used to find/remove it later\n\t\tif ( !handler.guid ) {\n\t\t\thandler.guid = jQuery.guid++;\n\t\t}\n\n\t\t// Init the element's event structure and main handler, if this is the first\n\t\tif ( !( events = elemData.events ) ) {\n\t\t\tevents = elemData.events = {};\n\t\t}\n\t\tif ( !( eventHandle = elemData.handle ) ) {\n\t\t\teventHandle = elemData.handle = function( e ) {\n\n\t\t\t\t// Discard the second event of a jQuery.event.trigger() and\n\t\t\t\t// when an event is called after a page has unloaded\n\t\t\t\treturn typeof jQuery !== \"undefined\" && jQuery.event.triggered !== e.type ?\n\t\t\t\t\tjQuery.event.dispatch.apply( elem, arguments ) : undefined;\n\t\t\t};\n\t\t}\n\n\t\t// Handle multiple events separated by a space\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// There *must* be a type, no attaching namespace-only handlers\n\t\t\tif ( !type ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// If event changes its type, use the special event handlers for the changed type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// If selector defined, determine special event api type, otherwise given type\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\n\t\t\t// Update special based on newly reset type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// handleObj is passed to all event handlers\n\t\t\thandleObj = jQuery.extend( {\n\t\t\t\ttype: type,\n\t\t\t\torigType: origType,\n\t\t\t\tdata: data,\n\t\t\t\thandler: handler,\n\t\t\t\tguid: handler.guid,\n\t\t\t\tselector: selector,\n\t\t\t\tneedsContext: selector && jQuery.expr.match.needsContext.test( selector ),\n\t\t\t\tnamespace: namespaces.join( \".\" )\n\t\t\t}, handleObjIn );\n\n\t\t\t// Init the event handler queue if we're the first\n\t\t\tif ( !( handlers = events[ type ] ) ) {\n\t\t\t\thandlers = events[ type ] = [];\n\t\t\t\thandlers.delegateCount = 0;\n\n\t\t\t\t// Only use addEventListener if the special events handler returns false\n\t\t\t\tif ( !special.setup ||\n\t\t\t\t\tspecial.setup.call( elem, data, namespaces, eventHandle ) === false ) {\n\n\t\t\t\t\tif ( elem.addEventListener ) {\n\t\t\t\t\t\telem.addEventListener( type, eventHandle );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( special.add ) {\n\t\t\t\tspecial.add.call( elem, handleObj );\n\n\t\t\t\tif ( !handleObj.handler.guid ) {\n\t\t\t\t\thandleObj.handler.guid = handler.guid;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Add to the element's handler list, delegates in front\n\t\t\tif ( selector ) {\n\t\t\t\thandlers.splice( handlers.delegateCount++, 0, handleObj );\n\t\t\t} else {\n\t\t\t\thandlers.push( handleObj );\n\t\t\t}\n\n\t\t\t// Keep track of which events have ever been used, for event optimization\n\t\t\tjQuery.event.global[ type ] = true;\n\t\t}\n\n\t},\n\n\t// Detach an event or set of events from an element\n\tremove: function( elem, types, handler, selector, mappedTypes ) {\n\n\t\tvar j, origCount, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.hasData( elem ) && dataPriv.get( elem );\n\n\t\tif ( !elemData || !( events = elemData.events ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Once for each type.namespace in types; type may be omitted\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// Unbind all events (on this namespace, if provided) for the element\n\t\t\tif ( !type ) {\n\t\t\t\tfor ( type in events ) {\n\t\t\t\t\tjQuery.event.remove( elem, type + types[ t ], handler, selector, true );\n\t\t\t\t}\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\t\t\thandlers = events[ type ] || [];\n\t\t\ttmp = tmp[ 2 ] &&\n\t\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" );\n\n\t\t\t// Remove matching events\n\t\t\torigCount = j = handlers.length;\n\t\t\twhile ( j-- ) {\n\t\t\t\thandleObj = handlers[ j ];\n\n\t\t\t\tif ( ( mappedTypes || origType === handleObj.origType ) &&\n\t\t\t\t\t( !handler || handler.guid === handleObj.guid ) &&\n\t\t\t\t\t( !tmp || tmp.test( handleObj.namespace ) ) &&\n\t\t\t\t\t( !selector || selector === handleObj.selector ||\n\t\t\t\t\t\tselector === \"**\" && handleObj.selector ) ) {\n\t\t\t\t\thandlers.splice( j, 1 );\n\n\t\t\t\t\tif ( handleObj.selector ) {\n\t\t\t\t\t\thandlers.delegateCount--;\n\t\t\t\t\t}\n\t\t\t\t\tif ( special.remove ) {\n\t\t\t\t\t\tspecial.remove.call( elem, handleObj );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Remove generic event handler if we removed something and no more handlers exist\n\t\t\t// (avoids potential for endless recursion during removal of special event handlers)\n\t\t\tif ( origCount && !handlers.length ) {\n\t\t\t\tif ( !special.teardown ||\n\t\t\t\t\tspecial.teardown.call( elem, namespaces, elemData.handle ) === false ) {\n\n\t\t\t\t\tjQuery.removeEvent( elem, type, elemData.handle );\n\t\t\t\t}\n\n\t\t\t\tdelete events[ type ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove data and the expando if it's no longer used\n\t\tif ( jQuery.isEmptyObject( events ) ) {\n\t\t\tdataPriv.remove( elem, \"handle events\" );\n\t\t}\n\t},\n\n\tdispatch: function( nativeEvent ) {\n\n\t\t// Make a writable jQuery.Event from the native event object\n\t\tvar event = jQuery.event.fix( nativeEvent );\n\n\t\tvar i, j, ret, matched, handleObj, handlerQueue,\n\t\t\targs = new Array( arguments.length ),\n\t\t\thandlers = ( dataPriv.get( this, \"events\" ) || {} )[ event.type ] || [],\n\t\t\tspecial = jQuery.event.special[ event.type ] || {};\n\n\t\t// Use the fix-ed jQuery.Event rather than the (read-only) native event\n\t\targs[ 0 ] = event;\n\n\t\tfor ( i = 1; i < arguments.length; i++ ) {\n\t\t\targs[ i ] = arguments[ i ];\n\t\t}\n\n\t\tevent.delegateTarget = this;\n\n\t\t// Call the preDispatch hook for the mapped type, and let it bail if desired\n\t\tif ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine handlers\n\t\thandlerQueue = jQuery.event.handlers.call( this, event, handlers );\n\n\t\t// Run delegates first; they may want to stop propagation beneath us\n\t\ti = 0;\n\t\twhile ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) {\n\t\t\tevent.currentTarget = matched.elem;\n\n\t\t\tj = 0;\n\t\t\twhile ( ( handleObj = matched.handlers[ j++ ] ) &&\n\t\t\t\t!event.isImmediatePropagationStopped() ) {\n\n\t\t\t\t// Triggered event must either 1) have no namespace, or 2) have namespace(s)\n\t\t\t\t// a subset or equal to those in the bound event (both can have no namespace).\n\t\t\t\tif ( !event.rnamespace || event.rnamespace.test( handleObj.namespace ) ) {\n\n\t\t\t\t\tevent.handleObj = handleObj;\n\t\t\t\t\tevent.data = handleObj.data;\n\n\t\t\t\t\tret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle ||\n\t\t\t\t\t\thandleObj.handler ).apply( matched.elem, args );\n\n\t\t\t\t\tif ( ret !== undefined ) {\n\t\t\t\t\t\tif ( ( event.result = ret ) === false ) {\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Call the postDispatch hook for the mapped type\n\t\tif ( special.postDispatch ) {\n\t\t\tspecial.postDispatch.call( this, event );\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\thandlers: function( event, handlers ) {\n\t\tvar i, handleObj, sel, matchedHandlers, matchedSelectors,\n\t\t\thandlerQueue = [],\n\t\t\tdelegateCount = handlers.delegateCount,\n\t\t\tcur = event.target;\n\n\t\t// Find delegate handlers\n\t\tif ( delegateCount &&\n\n\t\t\t// Support: IE <=9\n\t\t\t// Black-hole SVG <use> instance trees (trac-13180)\n\t\t\tcur.nodeType &&\n\n\t\t\t// Support: Firefox <=42\n\t\t\t// Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)\n\t\t\t// https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click\n\t\t\t// Support: IE 11 only\n\t\t\t// ...but not arrow key \"clicks\" of radio inputs, which can have `button` -1 (gh-2343)\n\t\t\t!( event.type === \"click\" && event.button >= 1 ) ) {\n\n\t\t\tfor ( ; cur !== this; cur = cur.parentNode || this ) {\n\n\t\t\t\t// Don't check non-elements (#13208)\n\t\t\t\t// Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)\n\t\t\t\tif ( cur.nodeType === 1 && !( event.type === \"click\" && cur.disabled === true ) ) {\n\t\t\t\t\tmatchedHandlers = [];\n\t\t\t\t\tmatchedSelectors = {};\n\t\t\t\t\tfor ( i = 0; i < delegateCount; i++ ) {\n\t\t\t\t\t\thandleObj = handlers[ i ];\n\n\t\t\t\t\t\t// Don't conflict with Object.prototype properties (#13203)\n\t\t\t\t\t\tsel = handleObj.selector + \" \";\n\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] === undefined ) {\n\t\t\t\t\t\t\tmatchedSelectors[ sel ] = handleObj.needsContext ?\n\t\t\t\t\t\t\t\tjQuery( sel, this ).index( cur ) > -1 :\n\t\t\t\t\t\t\t\tjQuery.find( sel, this, null, [ cur ] ).length;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] ) {\n\t\t\t\t\t\t\tmatchedHandlers.push( handleObj );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( matchedHandlers.length ) {\n\t\t\t\t\t\thandlerQueue.push( { elem: cur, handlers: matchedHandlers } );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Add the remaining (directly-bound) handlers\n\t\tcur = this;\n\t\tif ( delegateCount < handlers.length ) {\n\t\t\thandlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } );\n\t\t}\n\n\t\treturn handlerQueue;\n\t},\n\n\taddProp: function( name, hook ) {\n\t\tObject.defineProperty( jQuery.Event.prototype, name, {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\n\t\t\tget: jQuery.isFunction( hook ) ?\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\t\treturn hook( this.originalEvent );\n\t\t\t\t\t}\n\t\t\t\t} :\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\t\treturn this.originalEvent[ name ];\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\tset: function( value ) {\n\t\t\t\tObject.defineProperty( this, name, {\n\t\t\t\t\tenumerable: true,\n\t\t\t\t\tconfigurable: true,\n\t\t\t\t\twritable: true,\n\t\t\t\t\tvalue: value\n\t\t\t\t} );\n\t\t\t}\n\t\t} );\n\t},\n\n\tfix: function( originalEvent ) {\n\t\treturn originalEvent[ jQuery.expando ] ?\n\t\t\toriginalEvent :\n\t\t\tnew jQuery.Event( originalEvent );\n\t},\n\n\tspecial: {\n\t\tload: {\n\n\t\t\t// Prevent triggered image.load events from bubbling to window.load\n\t\t\tnoBubble: true\n\t\t},\n\t\tfocus: {\n\n\t\t\t// Fire native event if possible so blur/focus sequence is correct\n\t\t\ttrigger: function() {\n\t\t\t\tif ( this !== safeActiveElement() && this.focus ) {\n\t\t\t\t\tthis.focus();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdelegateType: \"focusin\"\n\t\t},\n\t\tblur: {\n\t\t\ttrigger: function() {\n\t\t\t\tif ( this === safeActiveElement() && this.blur ) {\n\t\t\t\t\tthis.blur();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdelegateType: \"focusout\"\n\t\t},\n\t\tclick: {\n\n\t\t\t// For checkbox, fire native event so checked state will be right\n\t\t\ttrigger: function() {\n\t\t\t\tif ( this.type === \"checkbox\" && this.click && nodeName( this, \"input\" ) ) {\n\t\t\t\t\tthis.click();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t// For cross-browser consistency, don't fire native .click() on links\n\t\t\t_default: function( event ) {\n\t\t\t\treturn nodeName( event.target, \"a\" );\n\t\t\t}\n\t\t},\n\n\t\tbeforeunload: {\n\t\t\tpostDispatch: function( event ) {\n\n\t\t\t\t// Support: Firefox 20+\n\t\t\t\t// Firefox doesn't alert if the returnValue field is not set.\n\t\t\t\tif ( event.result !== undefined && event.originalEvent ) {\n\t\t\t\t\tevent.originalEvent.returnValue = event.result;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n};\n\njQuery.removeEvent = function( elem, type, handle ) {\n\n\t// This \"if\" is needed for plain objects\n\tif ( elem.removeEventListener ) {\n\t\telem.removeEventListener( type, handle );\n\t}\n};\n\njQuery.Event = function( src, props ) {\n\n\t// Allow instantiation without the 'new' keyword\n\tif ( !( this instanceof jQuery.Event ) ) {\n\t\treturn new jQuery.Event( src, props );\n\t}\n\n\t// Event object\n\tif ( src && src.type ) {\n\t\tthis.originalEvent = src;\n\t\tthis.type = src.type;\n\n\t\t// Events bubbling up the document may have been marked as prevented\n\t\t// by a handler lower down the tree; reflect the correct value.\n\t\tthis.isDefaultPrevented = src.defaultPrevented ||\n\t\t\t\tsrc.defaultPrevented === undefined &&\n\n\t\t\t\t// Support: Android <=2.3 only\n\t\t\t\tsrc.returnValue === false ?\n\t\t\treturnTrue :\n\t\t\treturnFalse;\n\n\t\t// Create target properties\n\t\t// Support: Safari <=6 - 7 only\n\t\t// Target should not be a text node (#504, #13143)\n\t\tthis.target = ( src.target && src.target.nodeType === 3 ) ?\n\t\t\tsrc.target.parentNode :\n\t\t\tsrc.target;\n\n\t\tthis.currentTarget = src.currentTarget;\n\t\tthis.relatedTarget = src.relatedTarget;\n\n\t// Event type\n\t} else {\n\t\tthis.type = src;\n\t}\n\n\t// Put explicitly provided properties onto the event object\n\tif ( props ) {\n\t\tjQuery.extend( this, props );\n\t}\n\n\t// Create a timestamp if incoming event doesn't have one\n\tthis.timeStamp = src && src.timeStamp || jQuery.now();\n\n\t// Mark it as fixed\n\tthis[ jQuery.expando ] = true;\n};\n\n// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding\n// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html\njQuery.Event.prototype = {\n\tconstructor: jQuery.Event,\n\tisDefaultPrevented: returnFalse,\n\tisPropagationStopped: returnFalse,\n\tisImmediatePropagationStopped: returnFalse,\n\tisSimulated: false,\n\n\tpreventDefault: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isDefaultPrevented = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.preventDefault();\n\t\t}\n\t},\n\tstopPropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isPropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopPropagation();\n\t\t}\n\t},\n\tstopImmediatePropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isImmediatePropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopImmediatePropagation();\n\t\t}\n\n\t\tthis.stopPropagation();\n\t}\n};\n\n// Includes all common event props including KeyEvent and MouseEvent specific props\njQuery.each( {\n\taltKey: true,\n\tbubbles: true,\n\tcancelable: true,\n\tchangedTouches: true,\n\tctrlKey: true,\n\tdetail: true,\n\teventPhase: true,\n\tmetaKey: true,\n\tpageX: true,\n\tpageY: true,\n\tshiftKey: true,\n\tview: true,\n\t\"char\": true,\n\tcharCode: true,\n\tkey: true,\n\tkeyCode: true,\n\tbutton: true,\n\tbuttons: true,\n\tclientX: true,\n\tclientY: true,\n\toffsetX: true,\n\toffsetY: true,\n\tpointerId: true,\n\tpointerType: true,\n\tscreenX: true,\n\tscreenY: true,\n\ttargetTouches: true,\n\ttoElement: true,\n\ttouches: true,\n\n\twhich: function( event ) {\n\t\tvar button = event.button;\n\n\t\t// Add which for key events\n\t\tif ( event.which == null && rkeyEvent.test( event.type ) ) {\n\t\t\treturn event.charCode != null ? event.charCode : event.keyCode;\n\t\t}\n\n\t\t// Add which for click: 1 === left; 2 === middle; 3 === right\n\t\tif ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) {\n\t\t\tif ( button & 1 ) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\tif ( button & 2 ) {\n\t\t\t\treturn 3;\n\t\t\t}\n\n\t\t\tif ( button & 4 ) {\n\t\t\t\treturn 2;\n\t\t\t}\n\n\t\t\treturn 0;\n\t\t}\n\n\t\treturn event.which;\n\t}\n}, jQuery.event.addProp );\n\n// Create mouseenter/leave events using mouseover/out and event-time checks\n// so that event delegation works in jQuery.\n// Do the same for pointerenter/pointerleave and pointerover/pointerout\n//\n// Support: Safari 7 only\n// Safari sends mouseenter too often; see:\n// https://bugs.chromium.org/p/chromium/issues/detail?id=470258\n// for the description of the bug (it existed in older Chrome versions as well).\njQuery.each( {\n\tmouseenter: \"mouseover\",\n\tmouseleave: \"mouseout\",\n\tpointerenter: \"pointerover\",\n\tpointerleave: \"pointerout\"\n}, function( orig, fix ) {\n\tjQuery.event.special[ orig ] = {\n\t\tdelegateType: fix,\n\t\tbindType: fix,\n\n\t\thandle: function( event ) {\n\t\t\tvar ret,\n\t\t\t\ttarget = this,\n\t\t\t\trelated = event.relatedTarget,\n\t\t\t\thandleObj = event.handleObj;\n\n\t\t\t// For mouseenter/leave call the handler if related is outside the target.\n\t\t\t// NB: No relatedTarget if the mouse left/entered the browser window\n\t\t\tif ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) {\n\t\t\t\tevent.type = handleObj.origType;\n\t\t\t\tret = handleObj.handler.apply( this, arguments );\n\t\t\t\tevent.type = fix;\n\t\t\t}\n\t\t\treturn ret;\n\t\t}\n\t};\n} );\n\njQuery.fn.extend( {\n\n\ton: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn );\n\t},\n\tone: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn, 1 );\n\t},\n\toff: function( types, selector, fn ) {\n\t\tvar handleObj, type;\n\t\tif ( types && types.preventDefault && types.handleObj ) {\n\n\t\t\t// ( event )  dispatched jQuery.Event\n\t\t\thandleObj = types.handleObj;\n\t\t\tjQuery( types.delegateTarget ).off(\n\t\t\t\thandleObj.namespace ?\n\t\t\t\t\thandleObj.origType + \".\" + handleObj.namespace :\n\t\t\t\t\thandleObj.origType,\n\t\t\t\thandleObj.selector,\n\t\t\t\thandleObj.handler\n\t\t\t);\n\t\t\treturn this;\n\t\t}\n\t\tif ( typeof types === \"object\" ) {\n\n\t\t\t// ( types-object [, selector] )\n\t\t\tfor ( type in types ) {\n\t\t\t\tthis.off( type, selector, types[ type ] );\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\t\tif ( selector === false || typeof selector === \"function\" ) {\n\n\t\t\t// ( types [, fn] )\n\t\t\tfn = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tif ( fn === false ) {\n\t\t\tfn = returnFalse;\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.remove( this, types, fn, selector );\n\t\t} );\n\t}\n} );\n\n\nvar\n\n\t/* eslint-disable max-len */\n\n\t// See https://github.com/eslint/eslint/issues/3229\n\trxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]*)[^>]*)\\/>/gi,\n\n\t/* eslint-enable */\n\n\t// Support: IE <=10 - 11, Edge 12 - 13\n\t// In IE/Edge using regex groups here causes severe slowdowns.\n\t// See https://connect.microsoft.com/IE/feedback/details/1736512/\n\trnoInnerhtml = /<script|<style|<link/i,\n\n\t// checked=\"checked\" or checked\n\trchecked = /checked\\s*(?:[^=]|=\\s*.checked.)/i,\n\trscriptTypeMasked = /^true\\/(.*)/,\n\trcleanScript = /^\\s*<!(?:\\[CDATA\\[|--)|(?:\\]\\]|--)>\\s*$/g;\n\n// Prefer a tbody over its parent table for containing new rows\nfunction manipulationTarget( elem, content ) {\n\tif ( nodeName( elem, \"table\" ) &&\n\t\tnodeName( content.nodeType !== 11 ? content : content.firstChild, \"tr\" ) ) {\n\n\t\treturn jQuery( \">tbody\", elem )[ 0 ] || elem;\n\t}\n\n\treturn elem;\n}\n\n// Replace/restore the type attribute of script elements for safe DOM manipulation\nfunction disableScript( elem ) {\n\telem.type = ( elem.getAttribute( \"type\" ) !== null ) + \"/\" + elem.type;\n\treturn elem;\n}\nfunction restoreScript( elem ) {\n\tvar match = rscriptTypeMasked.exec( elem.type );\n\n\tif ( match ) {\n\t\telem.type = match[ 1 ];\n\t} else {\n\t\telem.removeAttribute( \"type\" );\n\t}\n\n\treturn elem;\n}\n\nfunction cloneCopyEvent( src, dest ) {\n\tvar i, l, type, pdataOld, pdataCur, udataOld, udataCur, events;\n\n\tif ( dest.nodeType !== 1 ) {\n\t\treturn;\n\t}\n\n\t// 1. Copy private data: events, handlers, etc.\n\tif ( dataPriv.hasData( src ) ) {\n\t\tpdataOld = dataPriv.access( src );\n\t\tpdataCur = dataPriv.set( dest, pdataOld );\n\t\tevents = pdataOld.events;\n\n\t\tif ( events ) {\n\t\t\tdelete pdataCur.handle;\n\t\t\tpdataCur.events = {};\n\n\t\t\tfor ( type in events ) {\n\t\t\t\tfor ( i = 0, l = events[ type ].length; i < l; i++ ) {\n\t\t\t\t\tjQuery.event.add( dest, type, events[ type ][ i ] );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// 2. Copy user data\n\tif ( dataUser.hasData( src ) ) {\n\t\tudataOld = dataUser.access( src );\n\t\tudataCur = jQuery.extend( {}, udataOld );\n\n\t\tdataUser.set( dest, udataCur );\n\t}\n}\n\n// Fix IE bugs, see support tests\nfunction fixInput( src, dest ) {\n\tvar nodeName = dest.nodeName.toLowerCase();\n\n\t// Fails to persist the checked state of a cloned checkbox or radio button.\n\tif ( nodeName === \"input\" && rcheckableType.test( src.type ) ) {\n\t\tdest.checked = src.checked;\n\n\t// Fails to return the selected option to the default selected state when cloning options\n\t} else if ( nodeName === \"input\" || nodeName === \"textarea\" ) {\n\t\tdest.defaultValue = src.defaultValue;\n\t}\n}\n\nfunction domManip( collection, args, callback, ignored ) {\n\n\t// Flatten any nested arrays\n\targs = concat.apply( [], args );\n\n\tvar fragment, first, scripts, hasScripts, node, doc,\n\t\ti = 0,\n\t\tl = collection.length,\n\t\tiNoClone = l - 1,\n\t\tvalue = args[ 0 ],\n\t\tisFunction = jQuery.isFunction( value );\n\n\t// We can't cloneNode fragments that contain checked, in WebKit\n\tif ( isFunction ||\n\t\t\t( l > 1 && typeof value === \"string\" &&\n\t\t\t\t!support.checkClone && rchecked.test( value ) ) ) {\n\t\treturn collection.each( function( index ) {\n\t\t\tvar self = collection.eq( index );\n\t\t\tif ( isFunction ) {\n\t\t\t\targs[ 0 ] = value.call( this, index, self.html() );\n\t\t\t}\n\t\t\tdomManip( self, args, callback, ignored );\n\t\t} );\n\t}\n\n\tif ( l ) {\n\t\tfragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored );\n\t\tfirst = fragment.firstChild;\n\n\t\tif ( fragment.childNodes.length === 1 ) {\n\t\t\tfragment = first;\n\t\t}\n\n\t\t// Require either new content or an interest in ignored elements to invoke the callback\n\t\tif ( first || ignored ) {\n\t\t\tscripts = jQuery.map( getAll( fragment, \"script\" ), disableScript );\n\t\t\thasScripts = scripts.length;\n\n\t\t\t// Use the original fragment for the last item\n\t\t\t// instead of the first because it can end up\n\t\t\t// being emptied incorrectly in certain situations (#8070).\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tnode = fragment;\n\n\t\t\t\tif ( i !== iNoClone ) {\n\t\t\t\t\tnode = jQuery.clone( node, true, true );\n\n\t\t\t\t\t// Keep references to cloned scripts for later restoration\n\t\t\t\t\tif ( hasScripts ) {\n\n\t\t\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\t\t\tjQuery.merge( scripts, getAll( node, \"script\" ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tcallback.call( collection[ i ], node, i );\n\t\t\t}\n\n\t\t\tif ( hasScripts ) {\n\t\t\t\tdoc = scripts[ scripts.length - 1 ].ownerDocument;\n\n\t\t\t\t// Reenable scripts\n\t\t\t\tjQuery.map( scripts, restoreScript );\n\n\t\t\t\t// Evaluate executable scripts on first document insertion\n\t\t\t\tfor ( i = 0; i < hasScripts; i++ ) {\n\t\t\t\t\tnode = scripts[ i ];\n\t\t\t\t\tif ( rscriptType.test( node.type || \"\" ) &&\n\t\t\t\t\t\t!dataPriv.access( node, \"globalEval\" ) &&\n\t\t\t\t\t\tjQuery.contains( doc, node ) ) {\n\n\t\t\t\t\t\tif ( node.src ) {\n\n\t\t\t\t\t\t\t// Optional AJAX dependency, but won't run scripts if not present\n\t\t\t\t\t\t\tif ( jQuery._evalUrl ) {\n\t\t\t\t\t\t\t\tjQuery._evalUrl( node.src );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tDOMEval( node.textContent.replace( rcleanScript, \"\" ), doc );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn collection;\n}\n\nfunction remove( elem, selector, keepData ) {\n\tvar node,\n\t\tnodes = selector ? jQuery.filter( selector, elem ) : elem,\n\t\ti = 0;\n\n\tfor ( ; ( node = nodes[ i ] ) != null; i++ ) {\n\t\tif ( !keepData && node.nodeType === 1 ) {\n\t\t\tjQuery.cleanData( getAll( node ) );\n\t\t}\n\n\t\tif ( node.parentNode ) {\n\t\t\tif ( keepData && jQuery.contains( node.ownerDocument, node ) ) {\n\t\t\t\tsetGlobalEval( getAll( node, \"script\" ) );\n\t\t\t}\n\t\t\tnode.parentNode.removeChild( node );\n\t\t}\n\t}\n\n\treturn elem;\n}\n\njQuery.extend( {\n\thtmlPrefilter: function( html ) {\n\t\treturn html.replace( rxhtmlTag, \"<$1></$2>\" );\n\t},\n\n\tclone: function( elem, dataAndEvents, deepDataAndEvents ) {\n\t\tvar i, l, srcElements, destElements,\n\t\t\tclone = elem.cloneNode( true ),\n\t\t\tinPage = jQuery.contains( elem.ownerDocument, elem );\n\n\t\t// Fix IE cloning issues\n\t\tif ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) &&\n\t\t\t\t!jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2\n\t\t\tdestElements = getAll( clone );\n\t\t\tsrcElements = getAll( elem );\n\n\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\tfixInput( srcElements[ i ], destElements[ i ] );\n\t\t\t}\n\t\t}\n\n\t\t// Copy the events from the original to the clone\n\t\tif ( dataAndEvents ) {\n\t\t\tif ( deepDataAndEvents ) {\n\t\t\t\tsrcElements = srcElements || getAll( elem );\n\t\t\t\tdestElements = destElements || getAll( clone );\n\n\t\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\t\tcloneCopyEvent( srcElements[ i ], destElements[ i ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcloneCopyEvent( elem, clone );\n\t\t\t}\n\t\t}\n\n\t\t// Preserve script evaluation history\n\t\tdestElements = getAll( clone, \"script\" );\n\t\tif ( destElements.length > 0 ) {\n\t\t\tsetGlobalEval( destElements, !inPage && getAll( elem, \"script\" ) );\n\t\t}\n\n\t\t// Return the cloned set\n\t\treturn clone;\n\t},\n\n\tcleanData: function( elems ) {\n\t\tvar data, elem, type,\n\t\t\tspecial = jQuery.event.special,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = elems[ i ] ) !== undefined; i++ ) {\n\t\t\tif ( acceptData( elem ) ) {\n\t\t\t\tif ( ( data = elem[ dataPriv.expando ] ) ) {\n\t\t\t\t\tif ( data.events ) {\n\t\t\t\t\t\tfor ( type in data.events ) {\n\t\t\t\t\t\t\tif ( special[ type ] ) {\n\t\t\t\t\t\t\t\tjQuery.event.remove( elem, type );\n\n\t\t\t\t\t\t\t// This is a shortcut to avoid jQuery.event.remove's overhead\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery.removeEvent( elem, type, data.handle );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataPriv.expando ] = undefined;\n\t\t\t\t}\n\t\t\t\tif ( elem[ dataUser.expando ] ) {\n\n\t\t\t\t\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataUser.expando ] = undefined;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n} );\n\njQuery.fn.extend( {\n\tdetach: function( selector ) {\n\t\treturn remove( this, selector, true );\n\t},\n\n\tremove: function( selector ) {\n\t\treturn remove( this, selector );\n\t},\n\n\ttext: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\treturn value === undefined ?\n\t\t\t\tjQuery.text( this ) :\n\t\t\t\tthis.empty().each( function() {\n\t\t\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\t\t\tthis.textContent = value;\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t}, null, value, arguments.length );\n\t},\n\n\tappend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.appendChild( elem );\n\t\t\t}\n\t\t} );\n\t},\n\n\tprepend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.insertBefore( elem, target.firstChild );\n\t\t\t}\n\t\t} );\n\t},\n\n\tbefore: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this );\n\t\t\t}\n\t\t} );\n\t},\n\n\tafter: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this.nextSibling );\n\t\t\t}\n\t\t} );\n\t},\n\n\tempty: function() {\n\t\tvar elem,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = this[ i ] ) != null; i++ ) {\n\t\t\tif ( elem.nodeType === 1 ) {\n\n\t\t\t\t// Prevent memory leaks\n\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\n\t\t\t\t// Remove any remaining nodes\n\t\t\t\telem.textContent = \"\";\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tclone: function( dataAndEvents, deepDataAndEvents ) {\n\t\tdataAndEvents = dataAndEvents == null ? false : dataAndEvents;\n\t\tdeepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;\n\n\t\treturn this.map( function() {\n\t\t\treturn jQuery.clone( this, dataAndEvents, deepDataAndEvents );\n\t\t} );\n\t},\n\n\thtml: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\tvar elem = this[ 0 ] || {},\n\t\t\t\ti = 0,\n\t\t\t\tl = this.length;\n\n\t\t\tif ( value === undefined && elem.nodeType === 1 ) {\n\t\t\t\treturn elem.innerHTML;\n\t\t\t}\n\n\t\t\t// See if we can take a shortcut and just use innerHTML\n\t\t\tif ( typeof value === \"string\" && !rnoInnerhtml.test( value ) &&\n\t\t\t\t!wrapMap[ ( rtagName.exec( value ) || [ \"\", \"\" ] )[ 1 ].toLowerCase() ] ) {\n\n\t\t\t\tvalue = jQuery.htmlPrefilter( value );\n\n\t\t\t\ttry {\n\t\t\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\t\t\telem = this[ i ] || {};\n\n\t\t\t\t\t\t// Remove element nodes and prevent memory leaks\n\t\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\t\t\t\t\t\t\telem.innerHTML = value;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\telem = 0;\n\n\t\t\t\t// If using innerHTML throws an exception, use the fallback method\n\t\t\t\t} catch ( e ) {}\n\t\t\t}\n\n\t\t\tif ( elem ) {\n\t\t\t\tthis.empty().append( value );\n\t\t\t}\n\t\t}, null, value, arguments.length );\n\t},\n\n\treplaceWith: function() {\n\t\tvar ignored = [];\n\n\t\t// Make the changes, replacing each non-ignored context element with the new content\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tvar parent = this.parentNode;\n\n\t\t\tif ( jQuery.inArray( this, ignored ) < 0 ) {\n\t\t\t\tjQuery.cleanData( getAll( this ) );\n\t\t\t\tif ( parent ) {\n\t\t\t\t\tparent.replaceChild( elem, this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Force callback invocation\n\t\t}, ignored );\n\t}\n} );\n\njQuery.each( {\n\tappendTo: \"append\",\n\tprependTo: \"prepend\",\n\tinsertBefore: \"before\",\n\tinsertAfter: \"after\",\n\treplaceAll: \"replaceWith\"\n}, function( name, original ) {\n\tjQuery.fn[ name ] = function( selector ) {\n\t\tvar elems,\n\t\t\tret = [],\n\t\t\tinsert = jQuery( selector ),\n\t\t\tlast = insert.length - 1,\n\t\t\ti = 0;\n\n\t\tfor ( ; i <= last; i++ ) {\n\t\t\telems = i === last ? this : this.clone( true );\n\t\t\tjQuery( insert[ i ] )[ original ]( elems );\n\n\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t// .get() because push.apply(_, arraylike) throws on ancient WebKit\n\t\t\tpush.apply( ret, elems.get() );\n\t\t}\n\n\t\treturn this.pushStack( ret );\n\t};\n} );\nvar rmargin = ( /^margin/ );\n\nvar rnumnonpx = new RegExp( \"^(\" + pnum + \")(?!px)[a-z%]+$\", \"i\" );\n\nvar getStyles = function( elem ) {\n\n\t\t// Support: IE <=11 only, Firefox <=30 (#15098, #14150)\n\t\t// IE throws on elements created in popups\n\t\t// FF meanwhile throws on frame elements through \"defaultView.getComputedStyle\"\n\t\tvar view = elem.ownerDocument.defaultView;\n\n\t\tif ( !view || !view.opener ) {\n\t\t\tview = window;\n\t\t}\n\n\t\treturn view.getComputedStyle( elem );\n\t};\n\n\n\n( function() {\n\n\t// Executing both pixelPosition & boxSizingReliable tests require only one layout\n\t// so they're executed at the same time to save the second computation.\n\tfunction computeStyleTests() {\n\n\t\t// This is a singleton, we need to execute it only once\n\t\tif ( !div ) {\n\t\t\treturn;\n\t\t}\n\n\t\tdiv.style.cssText =\n\t\t\t\"box-sizing:border-box;\" +\n\t\t\t\"position:relative;display:block;\" +\n\t\t\t\"margin:auto;border:1px;padding:1px;\" +\n\t\t\t\"top:1%;width:50%\";\n\t\tdiv.innerHTML = \"\";\n\t\tdocumentElement.appendChild( container );\n\n\t\tvar divStyle = window.getComputedStyle( div );\n\t\tpixelPositionVal = divStyle.top !== \"1%\";\n\n\t\t// Support: Android 4.0 - 4.3 only, Firefox <=3 - 44\n\t\treliableMarginLeftVal = divStyle.marginLeft === \"2px\";\n\t\tboxSizingReliableVal = divStyle.width === \"4px\";\n\n\t\t// Support: Android 4.0 - 4.3 only\n\t\t// Some styles come back with percentage values, even though they shouldn't\n\t\tdiv.style.marginRight = \"50%\";\n\t\tpixelMarginRightVal = divStyle.marginRight === \"4px\";\n\n\t\tdocumentElement.removeChild( container );\n\n\t\t// Nullify the div so it wouldn't be stored in the memory and\n\t\t// it will also be a sign that checks already performed\n\t\tdiv = null;\n\t}\n\n\tvar pixelPositionVal, boxSizingReliableVal, pixelMarginRightVal, reliableMarginLeftVal,\n\t\tcontainer = document.createElement( \"div\" ),\n\t\tdiv = document.createElement( \"div\" );\n\n\t// Finish early in limited (non-browser) environments\n\tif ( !div.style ) {\n\t\treturn;\n\t}\n\n\t// Support: IE <=9 - 11 only\n\t// Style of cloned element affects source element cloned (#8908)\n\tdiv.style.backgroundClip = \"content-box\";\n\tdiv.cloneNode( true ).style.backgroundClip = \"\";\n\tsupport.clearCloneStyle = div.style.backgroundClip === \"content-box\";\n\n\tcontainer.style.cssText = \"border:0;width:8px;height:0;top:0;left:-9999px;\" +\n\t\t\"padding:0;margin-top:1px;position:absolute\";\n\tcontainer.appendChild( div );\n\n\tjQuery.extend( support, {\n\t\tpixelPosition: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelPositionVal;\n\t\t},\n\t\tboxSizingReliable: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn boxSizingReliableVal;\n\t\t},\n\t\tpixelMarginRight: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelMarginRightVal;\n\t\t},\n\t\treliableMarginLeft: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn reliableMarginLeftVal;\n\t\t}\n\t} );\n} )();\n\n\nfunction curCSS( elem, name, computed ) {\n\tvar width, minWidth, maxWidth, ret,\n\n\t\t// Support: Firefox 51+\n\t\t// Retrieving style before computed somehow\n\t\t// fixes an issue with getting wrong values\n\t\t// on detached elements\n\t\tstyle = elem.style;\n\n\tcomputed = computed || getStyles( elem );\n\n\t// getPropertyValue is needed for:\n\t//   .css('filter') (IE 9 only, #12537)\n\t//   .css('--customProperty) (#3144)\n\tif ( computed ) {\n\t\tret = computed.getPropertyValue( name ) || computed[ name ];\n\n\t\tif ( ret === \"\" && !jQuery.contains( elem.ownerDocument, elem ) ) {\n\t\t\tret = jQuery.style( elem, name );\n\t\t}\n\n\t\t// A tribute to the \"awesome hack by Dean Edwards\"\n\t\t// Android Browser returns percentage for some values,\n\t\t// but width seems to be reliably pixels.\n\t\t// This is against the CSSOM draft spec:\n\t\t// https://drafts.csswg.org/cssom/#resolved-values\n\t\tif ( !support.pixelMarginRight() && rnumnonpx.test( ret ) && rmargin.test( name ) ) {\n\n\t\t\t// Remember the original values\n\t\t\twidth = style.width;\n\t\t\tminWidth = style.minWidth;\n\t\t\tmaxWidth = style.maxWidth;\n\n\t\t\t// Put in the new values to get a computed value out\n\t\t\tstyle.minWidth = style.maxWidth = style.width = ret;\n\t\t\tret = computed.width;\n\n\t\t\t// Revert the changed values\n\t\t\tstyle.width = width;\n\t\t\tstyle.minWidth = minWidth;\n\t\t\tstyle.maxWidth = maxWidth;\n\t\t}\n\t}\n\n\treturn ret !== undefined ?\n\n\t\t// Support: IE <=9 - 11 only\n\t\t// IE returns zIndex value as an integer.\n\t\tret + \"\" :\n\t\tret;\n}\n\n\nfunction addGetHookIf( conditionFn, hookFn ) {\n\n\t// Define the hook, we'll check on the first run if it's really needed.\n\treturn {\n\t\tget: function() {\n\t\t\tif ( conditionFn() ) {\n\n\t\t\t\t// Hook not needed (or it's not possible to use it due\n\t\t\t\t// to missing dependency), remove it.\n\t\t\t\tdelete this.get;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Hook needed; redefine it so that the support test is not executed again.\n\t\t\treturn ( this.get = hookFn ).apply( this, arguments );\n\t\t}\n\t};\n}\n\n\nvar\n\n\t// Swappable if display is none or starts with table\n\t// except \"table\", \"table-cell\", or \"table-caption\"\n\t// See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display\n\trdisplayswap = /^(none|table(?!-c[ea]).+)/,\n\trcustomProp = /^--/,\n\tcssShow = { position: \"absolute\", visibility: \"hidden\", display: \"block\" },\n\tcssNormalTransform = {\n\t\tletterSpacing: \"0\",\n\t\tfontWeight: \"400\"\n\t},\n\n\tcssPrefixes = [ \"Webkit\", \"Moz\", \"ms\" ],\n\temptyStyle = document.createElement( \"div\" ).style;\n\n// Return a css property mapped to a potentially vendor prefixed property\nfunction vendorPropName( name ) {\n\n\t// Shortcut for names that are not vendor prefixed\n\tif ( name in emptyStyle ) {\n\t\treturn name;\n\t}\n\n\t// Check for vendor prefixed names\n\tvar capName = name[ 0 ].toUpperCase() + name.slice( 1 ),\n\t\ti = cssPrefixes.length;\n\n\twhile ( i-- ) {\n\t\tname = cssPrefixes[ i ] + capName;\n\t\tif ( name in emptyStyle ) {\n\t\t\treturn name;\n\t\t}\n\t}\n}\n\n// Return a property mapped along what jQuery.cssProps suggests or to\n// a vendor prefixed property.\nfunction finalPropName( name ) {\n\tvar ret = jQuery.cssProps[ name ];\n\tif ( !ret ) {\n\t\tret = jQuery.cssProps[ name ] = vendorPropName( name ) || name;\n\t}\n\treturn ret;\n}\n\nfunction setPositiveNumber( elem, value, subtract ) {\n\n\t// Any relative (+/-) values have already been\n\t// normalized at this point\n\tvar matches = rcssNum.exec( value );\n\treturn matches ?\n\n\t\t// Guard against undefined \"subtract\", e.g., when used as in cssHooks\n\t\tMath.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || \"px\" ) :\n\t\tvalue;\n}\n\nfunction augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {\n\tvar i,\n\t\tval = 0;\n\n\t// If we already have the right measurement, avoid augmentation\n\tif ( extra === ( isBorderBox ? \"border\" : \"content\" ) ) {\n\t\ti = 4;\n\n\t// Otherwise initialize for horizontal or vertical properties\n\t} else {\n\t\ti = name === \"width\" ? 1 : 0;\n\t}\n\n\tfor ( ; i < 4; i += 2 ) {\n\n\t\t// Both box models exclude margin, so add it if we want it\n\t\tif ( extra === \"margin\" ) {\n\t\t\tval += jQuery.css( elem, extra + cssExpand[ i ], true, styles );\n\t\t}\n\n\t\tif ( isBorderBox ) {\n\n\t\t\t// border-box includes padding, so remove it if we want content\n\t\t\tif ( extra === \"content\" ) {\n\t\t\t\tval -= jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\t\t\t}\n\n\t\t\t// At this point, extra isn't border nor margin, so remove border\n\t\t\tif ( extra !== \"margin\" ) {\n\t\t\t\tval -= jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\t\t} else {\n\n\t\t\t// At this point, extra isn't content, so add padding\n\t\t\tval += jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\n\t\t\t// At this point, extra isn't content nor padding, so add border\n\t\t\tif ( extra !== \"padding\" ) {\n\t\t\t\tval += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\t\t}\n\t}\n\n\treturn val;\n}\n\nfunction getWidthOrHeight( elem, name, extra ) {\n\n\t// Start with computed style\n\tvar valueIsBorderBox,\n\t\tstyles = getStyles( elem ),\n\t\tval = curCSS( elem, name, styles ),\n\t\tisBorderBox = jQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\";\n\n\t// Computed unit is not pixels. Stop here and return.\n\tif ( rnumnonpx.test( val ) ) {\n\t\treturn val;\n\t}\n\n\t// Check for style in case a browser which returns unreliable values\n\t// for getComputedStyle silently falls back to the reliable elem.style\n\tvalueIsBorderBox = isBorderBox &&\n\t\t( support.boxSizingReliable() || val === elem.style[ name ] );\n\n\t// Fall back to offsetWidth/Height when value is \"auto\"\n\t// This happens for inline elements with no explicit setting (gh-3571)\n\tif ( val === \"auto\" ) {\n\t\tval = elem[ \"offset\" + name[ 0 ].toUpperCase() + name.slice( 1 ) ];\n\t}\n\n\t// Normalize \"\", auto, and prepare for extra\n\tval = parseFloat( val ) || 0;\n\n\t// Use the active box-sizing model to add/subtract irrelevant styles\n\treturn ( val +\n\t\taugmentWidthOrHeight(\n\t\t\telem,\n\t\t\tname,\n\t\t\textra || ( isBorderBox ? \"border\" : \"content\" ),\n\t\t\tvalueIsBorderBox,\n\t\t\tstyles\n\t\t)\n\t) + \"px\";\n}\n\njQuery.extend( {\n\n\t// Add in style property hooks for overriding the default\n\t// behavior of getting and setting a style property\n\tcssHooks: {\n\t\topacity: {\n\t\t\tget: function( elem, computed ) {\n\t\t\t\tif ( computed ) {\n\n\t\t\t\t\t// We should always get a number back from opacity\n\t\t\t\t\tvar ret = curCSS( elem, \"opacity\" );\n\t\t\t\t\treturn ret === \"\" ? \"1\" : ret;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\t// Don't automatically add \"px\" to these possibly-unitless properties\n\tcssNumber: {\n\t\t\"animationIterationCount\": true,\n\t\t\"columnCount\": true,\n\t\t\"fillOpacity\": true,\n\t\t\"flexGrow\": true,\n\t\t\"flexShrink\": true,\n\t\t\"fontWeight\": true,\n\t\t\"lineHeight\": true,\n\t\t\"opacity\": true,\n\t\t\"order\": true,\n\t\t\"orphans\": true,\n\t\t\"widows\": true,\n\t\t\"zIndex\": true,\n\t\t\"zoom\": true\n\t},\n\n\t// Add in properties whose names you wish to fix before\n\t// setting or getting the value\n\tcssProps: {\n\t\t\"float\": \"cssFloat\"\n\t},\n\n\t// Get and set the style property on a DOM Node\n\tstyle: function( elem, name, value, extra ) {\n\n\t\t// Don't set styles on text and comment nodes\n\t\tif ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make sure that we're working with the right name\n\t\tvar ret, type, hooks,\n\t\t\torigName = jQuery.camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name ),\n\t\t\tstyle = elem.style;\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to query the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Gets hook for the prefixed version, then unprefixed version\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// Check if we're setting a value\n\t\tif ( value !== undefined ) {\n\t\t\ttype = typeof value;\n\n\t\t\t// Convert \"+=\" or \"-=\" to relative numbers (#7345)\n\t\t\tif ( type === \"string\" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) {\n\t\t\t\tvalue = adjustCSS( elem, name, ret );\n\n\t\t\t\t// Fixes bug #9237\n\t\t\t\ttype = \"number\";\n\t\t\t}\n\n\t\t\t// Make sure that null and NaN values aren't set (#7116)\n\t\t\tif ( value == null || value !== value ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// If a number was passed in, add the unit (except for certain CSS properties)\n\t\t\tif ( type === \"number\" ) {\n\t\t\t\tvalue += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? \"\" : \"px\" );\n\t\t\t}\n\n\t\t\t// background-* props affect original clone's values\n\t\t\tif ( !support.clearCloneStyle && value === \"\" && name.indexOf( \"background\" ) === 0 ) {\n\t\t\t\tstyle[ name ] = \"inherit\";\n\t\t\t}\n\n\t\t\t// If a hook was provided, use that value, otherwise just set the specified value\n\t\t\tif ( !hooks || !( \"set\" in hooks ) ||\n\t\t\t\t( value = hooks.set( elem, value, extra ) ) !== undefined ) {\n\n\t\t\t\tif ( isCustomProp ) {\n\t\t\t\t\tstyle.setProperty( name, value );\n\t\t\t\t} else {\n\t\t\t\t\tstyle[ name ] = value;\n\t\t\t\t}\n\t\t\t}\n\n\t\t} else {\n\n\t\t\t// If a hook was provided get the non-computed value from there\n\t\t\tif ( hooks && \"get\" in hooks &&\n\t\t\t\t( ret = hooks.get( elem, false, extra ) ) !== undefined ) {\n\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\t// Otherwise just get the value from the style object\n\t\t\treturn style[ name ];\n\t\t}\n\t},\n\n\tcss: function( elem, name, extra, styles ) {\n\t\tvar val, num, hooks,\n\t\t\torigName = jQuery.camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name );\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to modify the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Try prefixed name followed by the unprefixed name\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// If a hook was provided get the computed value from there\n\t\tif ( hooks && \"get\" in hooks ) {\n\t\t\tval = hooks.get( elem, true, extra );\n\t\t}\n\n\t\t// Otherwise, if a way to get the computed value exists, use that\n\t\tif ( val === undefined ) {\n\t\t\tval = curCSS( elem, name, styles );\n\t\t}\n\n\t\t// Convert \"normal\" to computed value\n\t\tif ( val === \"normal\" && name in cssNormalTransform ) {\n\t\t\tval = cssNormalTransform[ name ];\n\t\t}\n\n\t\t// Make numeric if forced or a qualifier was provided and val looks numeric\n\t\tif ( extra === \"\" || extra ) {\n\t\t\tnum = parseFloat( val );\n\t\t\treturn extra === true || isFinite( num ) ? num || 0 : val;\n\t\t}\n\n\t\treturn val;\n\t}\n} );\n\njQuery.each( [ \"height\", \"width\" ], function( i, name ) {\n\tjQuery.cssHooks[ name ] = {\n\t\tget: function( elem, computed, extra ) {\n\t\t\tif ( computed ) {\n\n\t\t\t\t// Certain elements can have dimension info if we invisibly show them\n\t\t\t\t// but it must have a current display style that would benefit\n\t\t\t\treturn rdisplayswap.test( jQuery.css( elem, \"display\" ) ) &&\n\n\t\t\t\t\t// Support: Safari 8+\n\t\t\t\t\t// Table columns in Safari have non-zero offsetWidth & zero\n\t\t\t\t\t// getBoundingClientRect().width unless display is changed.\n\t\t\t\t\t// Support: IE <=11 only\n\t\t\t\t\t// Running getBoundingClientRect on a disconnected node\n\t\t\t\t\t// in IE throws an error.\n\t\t\t\t\t( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ?\n\t\t\t\t\t\tswap( elem, cssShow, function() {\n\t\t\t\t\t\t\treturn getWidthOrHeight( elem, name, extra );\n\t\t\t\t\t\t} ) :\n\t\t\t\t\t\tgetWidthOrHeight( elem, name, extra );\n\t\t\t}\n\t\t},\n\n\t\tset: function( elem, value, extra ) {\n\t\t\tvar matches,\n\t\t\t\tstyles = extra && getStyles( elem ),\n\t\t\t\tsubtract = extra && augmentWidthOrHeight(\n\t\t\t\t\telem,\n\t\t\t\t\tname,\n\t\t\t\t\textra,\n\t\t\t\t\tjQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\t\t\t\tstyles\n\t\t\t\t);\n\n\t\t\t// Convert to pixels if value adjustment is needed\n\t\t\tif ( subtract && ( matches = rcssNum.exec( value ) ) &&\n\t\t\t\t( matches[ 3 ] || \"px\" ) !== \"px\" ) {\n\n\t\t\t\telem.style[ name ] = value;\n\t\t\t\tvalue = jQuery.css( elem, name );\n\t\t\t}\n\n\t\t\treturn setPositiveNumber( elem, value, subtract );\n\t\t}\n\t};\n} );\n\njQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft,\n\tfunction( elem, computed ) {\n\t\tif ( computed ) {\n\t\t\treturn ( parseFloat( curCSS( elem, \"marginLeft\" ) ) ||\n\t\t\t\telem.getBoundingClientRect().left -\n\t\t\t\t\tswap( elem, { marginLeft: 0 }, function() {\n\t\t\t\t\t\treturn elem.getBoundingClientRect().left;\n\t\t\t\t\t} )\n\t\t\t\t) + \"px\";\n\t\t}\n\t}\n);\n\n// These hooks are used by animate to expand properties\njQuery.each( {\n\tmargin: \"\",\n\tpadding: \"\",\n\tborder: \"Width\"\n}, function( prefix, suffix ) {\n\tjQuery.cssHooks[ prefix + suffix ] = {\n\t\texpand: function( value ) {\n\t\t\tvar i = 0,\n\t\t\t\texpanded = {},\n\n\t\t\t\t// Assumes a single number if not a string\n\t\t\t\tparts = typeof value === \"string\" ? value.split( \" \" ) : [ value ];\n\n\t\t\tfor ( ; i < 4; i++ ) {\n\t\t\t\texpanded[ prefix + cssExpand[ i ] + suffix ] =\n\t\t\t\t\tparts[ i ] || parts[ i - 2 ] || parts[ 0 ];\n\t\t\t}\n\n\t\t\treturn expanded;\n\t\t}\n\t};\n\n\tif ( !rmargin.test( prefix ) ) {\n\t\tjQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;\n\t}\n} );\n\njQuery.fn.extend( {\n\tcss: function( name, value ) {\n\t\treturn access( this, function( elem, name, value ) {\n\t\t\tvar styles, len,\n\t\t\t\tmap = {},\n\t\t\t\ti = 0;\n\n\t\t\tif ( Array.isArray( name ) ) {\n\t\t\t\tstyles = getStyles( elem );\n\t\t\t\tlen = name.length;\n\n\t\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\t\tmap[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );\n\t\t\t\t}\n\n\t\t\t\treturn map;\n\t\t\t}\n\n\t\t\treturn value !== undefined ?\n\t\t\t\tjQuery.style( elem, name, value ) :\n\t\t\t\tjQuery.css( elem, name );\n\t\t}, name, value, arguments.length > 1 );\n\t}\n} );\n\n\nfunction Tween( elem, options, prop, end, easing ) {\n\treturn new Tween.prototype.init( elem, options, prop, end, easing );\n}\njQuery.Tween = Tween;\n\nTween.prototype = {\n\tconstructor: Tween,\n\tinit: function( elem, options, prop, end, easing, unit ) {\n\t\tthis.elem = elem;\n\t\tthis.prop = prop;\n\t\tthis.easing = easing || jQuery.easing._default;\n\t\tthis.options = options;\n\t\tthis.start = this.now = this.cur();\n\t\tthis.end = end;\n\t\tthis.unit = unit || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" );\n\t},\n\tcur: function() {\n\t\tvar hooks = Tween.propHooks[ this.prop ];\n\n\t\treturn hooks && hooks.get ?\n\t\t\thooks.get( this ) :\n\t\t\tTween.propHooks._default.get( this );\n\t},\n\trun: function( percent ) {\n\t\tvar eased,\n\t\t\thooks = Tween.propHooks[ this.prop ];\n\n\t\tif ( this.options.duration ) {\n\t\t\tthis.pos = eased = jQuery.easing[ this.easing ](\n\t\t\t\tpercent, this.options.duration * percent, 0, 1, this.options.duration\n\t\t\t);\n\t\t} else {\n\t\t\tthis.pos = eased = percent;\n\t\t}\n\t\tthis.now = ( this.end - this.start ) * eased + this.start;\n\n\t\tif ( this.options.step ) {\n\t\t\tthis.options.step.call( this.elem, this.now, this );\n\t\t}\n\n\t\tif ( hooks && hooks.set ) {\n\t\t\thooks.set( this );\n\t\t} else {\n\t\t\tTween.propHooks._default.set( this );\n\t\t}\n\t\treturn this;\n\t}\n};\n\nTween.prototype.init.prototype = Tween.prototype;\n\nTween.propHooks = {\n\t_default: {\n\t\tget: function( tween ) {\n\t\t\tvar result;\n\n\t\t\t// Use a property on the element directly when it is not a DOM element,\n\t\t\t// or when there is no matching style property that exists.\n\t\t\tif ( tween.elem.nodeType !== 1 ||\n\t\t\t\ttween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) {\n\t\t\t\treturn tween.elem[ tween.prop ];\n\t\t\t}\n\n\t\t\t// Passing an empty string as a 3rd parameter to .css will automatically\n\t\t\t// attempt a parseFloat and fallback to a string if the parse fails.\n\t\t\t// Simple values such as \"10px\" are parsed to Float;\n\t\t\t// complex values such as \"rotate(1rad)\" are returned as-is.\n\t\t\tresult = jQuery.css( tween.elem, tween.prop, \"\" );\n\n\t\t\t// Empty strings, null, undefined and \"auto\" are converted to 0.\n\t\t\treturn !result || result === \"auto\" ? 0 : result;\n\t\t},\n\t\tset: function( tween ) {\n\n\t\t\t// Use step hook for back compat.\n\t\t\t// Use cssHook if its there.\n\t\t\t// Use .style if available and use plain properties where available.\n\t\t\tif ( jQuery.fx.step[ tween.prop ] ) {\n\t\t\t\tjQuery.fx.step[ tween.prop ]( tween );\n\t\t\t} else if ( tween.elem.nodeType === 1 &&\n\t\t\t\t( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null ||\n\t\t\t\t\tjQuery.cssHooks[ tween.prop ] ) ) {\n\t\t\t\tjQuery.style( tween.elem, tween.prop, tween.now + tween.unit );\n\t\t\t} else {\n\t\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Support: IE <=9 only\n// Panic based approach to setting things on disconnected nodes\nTween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {\n\tset: function( tween ) {\n\t\tif ( tween.elem.nodeType && tween.elem.parentNode ) {\n\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t}\n\t}\n};\n\njQuery.easing = {\n\tlinear: function( p ) {\n\t\treturn p;\n\t},\n\tswing: function( p ) {\n\t\treturn 0.5 - Math.cos( p * Math.PI ) / 2;\n\t},\n\t_default: \"swing\"\n};\n\njQuery.fx = Tween.prototype.init;\n\n// Back compat <1.8 extension point\njQuery.fx.step = {};\n\n\n\n\nvar\n\tfxNow, inProgress,\n\trfxtypes = /^(?:toggle|show|hide)$/,\n\trrun = /queueHooks$/;\n\nfunction schedule() {\n\tif ( inProgress ) {\n\t\tif ( document.hidden === false && window.requestAnimationFrame ) {\n\t\t\twindow.requestAnimationFrame( schedule );\n\t\t} else {\n\t\t\twindow.setTimeout( schedule, jQuery.fx.interval );\n\t\t}\n\n\t\tjQuery.fx.tick();\n\t}\n}\n\n// Animations created synchronously will run synchronously\nfunction createFxNow() {\n\twindow.setTimeout( function() {\n\t\tfxNow = undefined;\n\t} );\n\treturn ( fxNow = jQuery.now() );\n}\n\n// Generate parameters to create a standard animation\nfunction genFx( type, includeWidth ) {\n\tvar which,\n\t\ti = 0,\n\t\tattrs = { height: type };\n\n\t// If we include width, step value is 1 to do all cssExpand values,\n\t// otherwise step value is 2 to skip over Left and Right\n\tincludeWidth = includeWidth ? 1 : 0;\n\tfor ( ; i < 4; i += 2 - includeWidth ) {\n\t\twhich = cssExpand[ i ];\n\t\tattrs[ \"margin\" + which ] = attrs[ \"padding\" + which ] = type;\n\t}\n\n\tif ( includeWidth ) {\n\t\tattrs.opacity = attrs.width = type;\n\t}\n\n\treturn attrs;\n}\n\nfunction createTween( value, prop, animation ) {\n\tvar tween,\n\t\tcollection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ \"*\" ] ),\n\t\tindex = 0,\n\t\tlength = collection.length;\n\tfor ( ; index < length; index++ ) {\n\t\tif ( ( tween = collection[ index ].call( animation, prop, value ) ) ) {\n\n\t\t\t// We're done with this property\n\t\t\treturn tween;\n\t\t}\n\t}\n}\n\nfunction defaultPrefilter( elem, props, opts ) {\n\tvar prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display,\n\t\tisBox = \"width\" in props || \"height\" in props,\n\t\tanim = this,\n\t\torig = {},\n\t\tstyle = elem.style,\n\t\thidden = elem.nodeType && isHiddenWithinTree( elem ),\n\t\tdataShow = dataPriv.get( elem, \"fxshow\" );\n\n\t// Queue-skipping animations hijack the fx hooks\n\tif ( !opts.queue ) {\n\t\thooks = jQuery._queueHooks( elem, \"fx\" );\n\t\tif ( hooks.unqueued == null ) {\n\t\t\thooks.unqueued = 0;\n\t\t\toldfire = hooks.empty.fire;\n\t\t\thooks.empty.fire = function() {\n\t\t\t\tif ( !hooks.unqueued ) {\n\t\t\t\t\toldfire();\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\thooks.unqueued++;\n\n\t\tanim.always( function() {\n\n\t\t\t// Ensure the complete handler is called before this completes\n\t\t\tanim.always( function() {\n\t\t\t\thooks.unqueued--;\n\t\t\t\tif ( !jQuery.queue( elem, \"fx\" ).length ) {\n\t\t\t\t\thooks.empty.fire();\n\t\t\t\t}\n\t\t\t} );\n\t\t} );\n\t}\n\n\t// Detect show/hide animations\n\tfor ( prop in props ) {\n\t\tvalue = props[ prop ];\n\t\tif ( rfxtypes.test( value ) ) {\n\t\t\tdelete props[ prop ];\n\t\t\ttoggle = toggle || value === \"toggle\";\n\t\t\tif ( value === ( hidden ? \"hide\" : \"show\" ) ) {\n\n\t\t\t\t// Pretend to be hidden if this is a \"show\" and\n\t\t\t\t// there is still data from a stopped show/hide\n\t\t\t\tif ( value === \"show\" && dataShow && dataShow[ prop ] !== undefined ) {\n\t\t\t\t\thidden = true;\n\n\t\t\t\t// Ignore all other no-op show/hide data\n\t\t\t\t} else {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\torig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );\n\t\t}\n\t}\n\n\t// Bail out if this is a no-op like .hide().hide()\n\tpropTween = !jQuery.isEmptyObject( props );\n\tif ( !propTween && jQuery.isEmptyObject( orig ) ) {\n\t\treturn;\n\t}\n\n\t// Restrict \"overflow\" and \"display\" styles during box animations\n\tif ( isBox && elem.nodeType === 1 ) {\n\n\t\t// Support: IE <=9 - 11, Edge 12 - 13\n\t\t// Record all 3 overflow attributes because IE does not infer the shorthand\n\t\t// from identically-valued overflowX and overflowY\n\t\topts.overflow = [ style.overflow, style.overflowX, style.overflowY ];\n\n\t\t// Identify a display type, preferring old show/hide data over the CSS cascade\n\t\trestoreDisplay = dataShow && dataShow.display;\n\t\tif ( restoreDisplay == null ) {\n\t\t\trestoreDisplay = dataPriv.get( elem, \"display\" );\n\t\t}\n\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\tif ( display === \"none\" ) {\n\t\t\tif ( restoreDisplay ) {\n\t\t\t\tdisplay = restoreDisplay;\n\t\t\t} else {\n\n\t\t\t\t// Get nonempty value(s) by temporarily forcing visibility\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t\trestoreDisplay = elem.style.display || restoreDisplay;\n\t\t\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\t\t\tshowHide( [ elem ] );\n\t\t\t}\n\t\t}\n\n\t\t// Animate inline elements as inline-block\n\t\tif ( display === \"inline\" || display === \"inline-block\" && restoreDisplay != null ) {\n\t\t\tif ( jQuery.css( elem, \"float\" ) === \"none\" ) {\n\n\t\t\t\t// Restore the original display value at the end of pure show/hide animations\n\t\t\t\tif ( !propTween ) {\n\t\t\t\t\tanim.done( function() {\n\t\t\t\t\t\tstyle.display = restoreDisplay;\n\t\t\t\t\t} );\n\t\t\t\t\tif ( restoreDisplay == null ) {\n\t\t\t\t\t\tdisplay = style.display;\n\t\t\t\t\t\trestoreDisplay = display === \"none\" ? \"\" : display;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tstyle.display = \"inline-block\";\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( opts.overflow ) {\n\t\tstyle.overflow = \"hidden\";\n\t\tanim.always( function() {\n\t\t\tstyle.overflow = opts.overflow[ 0 ];\n\t\t\tstyle.overflowX = opts.overflow[ 1 ];\n\t\t\tstyle.overflowY = opts.overflow[ 2 ];\n\t\t} );\n\t}\n\n\t// Implement show/hide animations\n\tpropTween = false;\n\tfor ( prop in orig ) {\n\n\t\t// General show/hide setup for this element animation\n\t\tif ( !propTween ) {\n\t\t\tif ( dataShow ) {\n\t\t\t\tif ( \"hidden\" in dataShow ) {\n\t\t\t\t\thidden = dataShow.hidden;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdataShow = dataPriv.access( elem, \"fxshow\", { display: restoreDisplay } );\n\t\t\t}\n\n\t\t\t// Store hidden/visible for toggle so `.stop().toggle()` \"reverses\"\n\t\t\tif ( toggle ) {\n\t\t\t\tdataShow.hidden = !hidden;\n\t\t\t}\n\n\t\t\t// Show elements before animating them\n\t\t\tif ( hidden ) {\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t}\n\n\t\t\t/* eslint-disable no-loop-func */\n\n\t\t\tanim.done( function() {\n\n\t\t\t/* eslint-enable no-loop-func */\n\n\t\t\t\t// The final step of a \"hide\" animation is actually hiding the element\n\t\t\t\tif ( !hidden ) {\n\t\t\t\t\tshowHide( [ elem ] );\n\t\t\t\t}\n\t\t\t\tdataPriv.remove( elem, \"fxshow\" );\n\t\t\t\tfor ( prop in orig ) {\n\t\t\t\t\tjQuery.style( elem, prop, orig[ prop ] );\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\t// Per-property setup\n\t\tpropTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );\n\t\tif ( !( prop in dataShow ) ) {\n\t\t\tdataShow[ prop ] = propTween.start;\n\t\t\tif ( hidden ) {\n\t\t\t\tpropTween.end = propTween.start;\n\t\t\t\tpropTween.start = 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction propFilter( props, specialEasing ) {\n\tvar index, name, easing, value, hooks;\n\n\t// camelCase, specialEasing and expand cssHook pass\n\tfor ( index in props ) {\n\t\tname = jQuery.camelCase( index );\n\t\teasing = specialEasing[ name ];\n\t\tvalue = props[ index ];\n\t\tif ( Array.isArray( value ) ) {\n\t\t\teasing = value[ 1 ];\n\t\t\tvalue = props[ index ] = value[ 0 ];\n\t\t}\n\n\t\tif ( index !== name ) {\n\t\t\tprops[ name ] = value;\n\t\t\tdelete props[ index ];\n\t\t}\n\n\t\thooks = jQuery.cssHooks[ name ];\n\t\tif ( hooks && \"expand\" in hooks ) {\n\t\t\tvalue = hooks.expand( value );\n\t\t\tdelete props[ name ];\n\n\t\t\t// Not quite $.extend, this won't overwrite existing keys.\n\t\t\t// Reusing 'index' because we have the correct \"name\"\n\t\t\tfor ( index in value ) {\n\t\t\t\tif ( !( index in props ) ) {\n\t\t\t\t\tprops[ index ] = value[ index ];\n\t\t\t\t\tspecialEasing[ index ] = easing;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tspecialEasing[ name ] = easing;\n\t\t}\n\t}\n}\n\nfunction Animation( elem, properties, options ) {\n\tvar result,\n\t\tstopped,\n\t\tindex = 0,\n\t\tlength = Animation.prefilters.length,\n\t\tdeferred = jQuery.Deferred().always( function() {\n\n\t\t\t// Don't match elem in the :animated selector\n\t\t\tdelete tick.elem;\n\t\t} ),\n\t\ttick = function() {\n\t\t\tif ( stopped ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tvar currentTime = fxNow || createFxNow(),\n\t\t\t\tremaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),\n\n\t\t\t\t// Support: Android 2.3 only\n\t\t\t\t// Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497)\n\t\t\t\ttemp = remaining / animation.duration || 0,\n\t\t\t\tpercent = 1 - temp,\n\t\t\t\tindex = 0,\n\t\t\t\tlength = animation.tweens.length;\n\n\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\tanimation.tweens[ index ].run( percent );\n\t\t\t}\n\n\t\t\tdeferred.notifyWith( elem, [ animation, percent, remaining ] );\n\n\t\t\t// If there's more to do, yield\n\t\t\tif ( percent < 1 && length ) {\n\t\t\t\treturn remaining;\n\t\t\t}\n\n\t\t\t// If this was an empty animation, synthesize a final progress notification\n\t\t\tif ( !length ) {\n\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t}\n\n\t\t\t// Resolve the animation and report its conclusion\n\t\t\tdeferred.resolveWith( elem, [ animation ] );\n\t\t\treturn false;\n\t\t},\n\t\tanimation = deferred.promise( {\n\t\t\telem: elem,\n\t\t\tprops: jQuery.extend( {}, properties ),\n\t\t\topts: jQuery.extend( true, {\n\t\t\t\tspecialEasing: {},\n\t\t\t\teasing: jQuery.easing._default\n\t\t\t}, options ),\n\t\t\toriginalProperties: properties,\n\t\t\toriginalOptions: options,\n\t\t\tstartTime: fxNow || createFxNow(),\n\t\t\tduration: options.duration,\n\t\t\ttweens: [],\n\t\t\tcreateTween: function( prop, end ) {\n\t\t\t\tvar tween = jQuery.Tween( elem, animation.opts, prop, end,\n\t\t\t\t\t\tanimation.opts.specialEasing[ prop ] || animation.opts.easing );\n\t\t\t\tanimation.tweens.push( tween );\n\t\t\t\treturn tween;\n\t\t\t},\n\t\t\tstop: function( gotoEnd ) {\n\t\t\t\tvar index = 0,\n\n\t\t\t\t\t// If we are going to the end, we want to run all the tweens\n\t\t\t\t\t// otherwise we skip this part\n\t\t\t\t\tlength = gotoEnd ? animation.tweens.length : 0;\n\t\t\t\tif ( stopped ) {\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t\tstopped = true;\n\t\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\t\tanimation.tweens[ index ].run( 1 );\n\t\t\t\t}\n\n\t\t\t\t// Resolve when we played the last frame; otherwise, reject\n\t\t\t\tif ( gotoEnd ) {\n\t\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t\t\tdeferred.resolveWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t} else {\n\t\t\t\t\tdeferred.rejectWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t}\n\t\t} ),\n\t\tprops = animation.props;\n\n\tpropFilter( props, animation.opts.specialEasing );\n\n\tfor ( ; index < length; index++ ) {\n\t\tresult = Animation.prefilters[ index ].call( animation, elem, props, animation.opts );\n\t\tif ( result ) {\n\t\t\tif ( jQuery.isFunction( result.stop ) ) {\n\t\t\t\tjQuery._queueHooks( animation.elem, animation.opts.queue ).stop =\n\t\t\t\t\tjQuery.proxy( result.stop, result );\n\t\t\t}\n\t\t\treturn result;\n\t\t}\n\t}\n\n\tjQuery.map( props, createTween, animation );\n\n\tif ( jQuery.isFunction( animation.opts.start ) ) {\n\t\tanimation.opts.start.call( elem, animation );\n\t}\n\n\t// Attach callbacks from options\n\tanimation\n\t\t.progress( animation.opts.progress )\n\t\t.done( animation.opts.done, animation.opts.complete )\n\t\t.fail( animation.opts.fail )\n\t\t.always( animation.opts.always );\n\n\tjQuery.fx.timer(\n\t\tjQuery.extend( tick, {\n\t\t\telem: elem,\n\t\t\tanim: animation,\n\t\t\tqueue: animation.opts.queue\n\t\t} )\n\t);\n\n\treturn animation;\n}\n\njQuery.Animation = jQuery.extend( Animation, {\n\n\ttweeners: {\n\t\t\"*\": [ function( prop, value ) {\n\t\t\tvar tween = this.createTween( prop, value );\n\t\t\tadjustCSS( tween.elem, prop, rcssNum.exec( value ), tween );\n\t\t\treturn tween;\n\t\t} ]\n\t},\n\n\ttweener: function( props, callback ) {\n\t\tif ( jQuery.isFunction( props ) ) {\n\t\t\tcallback = props;\n\t\t\tprops = [ \"*\" ];\n\t\t} else {\n\t\t\tprops = props.match( rnothtmlwhite );\n\t\t}\n\n\t\tvar prop,\n\t\t\tindex = 0,\n\t\t\tlength = props.length;\n\n\t\tfor ( ; index < length; index++ ) {\n\t\t\tprop = props[ index ];\n\t\t\tAnimation.tweeners[ prop ] = Animation.tweeners[ prop ] || [];\n\t\t\tAnimation.tweeners[ prop ].unshift( callback );\n\t\t}\n\t},\n\n\tprefilters: [ defaultPrefilter ],\n\n\tprefilter: function( callback, prepend ) {\n\t\tif ( prepend ) {\n\t\t\tAnimation.prefilters.unshift( callback );\n\t\t} else {\n\t\t\tAnimation.prefilters.push( callback );\n\t\t}\n\t}\n} );\n\njQuery.speed = function( speed, easing, fn ) {\n\tvar opt = speed && typeof speed === \"object\" ? jQuery.extend( {}, speed ) : {\n\t\tcomplete: fn || !fn && easing ||\n\t\t\tjQuery.isFunction( speed ) && speed,\n\t\tduration: speed,\n\t\teasing: fn && easing || easing && !jQuery.isFunction( easing ) && easing\n\t};\n\n\t// Go to the end state if fx are off\n\tif ( jQuery.fx.off ) {\n\t\topt.duration = 0;\n\n\t} else {\n\t\tif ( typeof opt.duration !== \"number\" ) {\n\t\t\tif ( opt.duration in jQuery.fx.speeds ) {\n\t\t\t\topt.duration = jQuery.fx.speeds[ opt.duration ];\n\n\t\t\t} else {\n\t\t\t\topt.duration = jQuery.fx.speeds._default;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Normalize opt.queue - true/undefined/null -> \"fx\"\n\tif ( opt.queue == null || opt.queue === true ) {\n\t\topt.queue = \"fx\";\n\t}\n\n\t// Queueing\n\topt.old = opt.complete;\n\n\topt.complete = function() {\n\t\tif ( jQuery.isFunction( opt.old ) ) {\n\t\t\topt.old.call( this );\n\t\t}\n\n\t\tif ( opt.queue ) {\n\t\t\tjQuery.dequeue( this, opt.queue );\n\t\t}\n\t};\n\n\treturn opt;\n};\n\njQuery.fn.extend( {\n\tfadeTo: function( speed, to, easing, callback ) {\n\n\t\t// Show any hidden elements after setting opacity to 0\n\t\treturn this.filter( isHiddenWithinTree ).css( \"opacity\", 0 ).show()\n\n\t\t\t// Animate to the value specified\n\t\t\t.end().animate( { opacity: to }, speed, easing, callback );\n\t},\n\tanimate: function( prop, speed, easing, callback ) {\n\t\tvar empty = jQuery.isEmptyObject( prop ),\n\t\t\toptall = jQuery.speed( speed, easing, callback ),\n\t\t\tdoAnimation = function() {\n\n\t\t\t\t// Operate on a copy of prop so per-property easing won't be lost\n\t\t\t\tvar anim = Animation( this, jQuery.extend( {}, prop ), optall );\n\n\t\t\t\t// Empty animations, or finishing resolves immediately\n\t\t\t\tif ( empty || dataPriv.get( this, \"finish\" ) ) {\n\t\t\t\t\tanim.stop( true );\n\t\t\t\t}\n\t\t\t};\n\t\t\tdoAnimation.finish = doAnimation;\n\n\t\treturn empty || optall.queue === false ?\n\t\t\tthis.each( doAnimation ) :\n\t\t\tthis.queue( optall.queue, doAnimation );\n\t},\n\tstop: function( type, clearQueue, gotoEnd ) {\n\t\tvar stopQueue = function( hooks ) {\n\t\t\tvar stop = hooks.stop;\n\t\t\tdelete hooks.stop;\n\t\t\tstop( gotoEnd );\n\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tgotoEnd = clearQueue;\n\t\t\tclearQueue = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\tif ( clearQueue && type !== false ) {\n\t\t\tthis.queue( type || \"fx\", [] );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar dequeue = true,\n\t\t\t\tindex = type != null && type + \"queueHooks\",\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tdata = dataPriv.get( this );\n\n\t\t\tif ( index ) {\n\t\t\t\tif ( data[ index ] && data[ index ].stop ) {\n\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( index in data ) {\n\t\t\t\t\tif ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {\n\t\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this &&\n\t\t\t\t\t( type == null || timers[ index ].queue === type ) ) {\n\n\t\t\t\t\ttimers[ index ].anim.stop( gotoEnd );\n\t\t\t\t\tdequeue = false;\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Start the next in the queue if the last step wasn't forced.\n\t\t\t// Timers currently will call their complete callbacks, which\n\t\t\t// will dequeue but only if they were gotoEnd.\n\t\t\tif ( dequeue || !gotoEnd ) {\n\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t}\n\t\t} );\n\t},\n\tfinish: function( type ) {\n\t\tif ( type !== false ) {\n\t\t\ttype = type || \"fx\";\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tvar index,\n\t\t\t\tdata = dataPriv.get( this ),\n\t\t\t\tqueue = data[ type + \"queue\" ],\n\t\t\t\thooks = data[ type + \"queueHooks\" ],\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tlength = queue ? queue.length : 0;\n\n\t\t\t// Enable finishing flag on private data\n\t\t\tdata.finish = true;\n\n\t\t\t// Empty the queue first\n\t\t\tjQuery.queue( this, type, [] );\n\n\t\t\tif ( hooks && hooks.stop ) {\n\t\t\t\thooks.stop.call( this, true );\n\t\t\t}\n\n\t\t\t// Look for any active animations, and finish them\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this && timers[ index ].queue === type ) {\n\t\t\t\t\ttimers[ index ].anim.stop( true );\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Look for any animations in the old queue and finish them\n\t\t\tfor ( index = 0; index < length; index++ ) {\n\t\t\t\tif ( queue[ index ] && queue[ index ].finish ) {\n\t\t\t\t\tqueue[ index ].finish.call( this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Turn off finishing flag\n\t\t\tdelete data.finish;\n\t\t} );\n\t}\n} );\n\njQuery.each( [ \"toggle\", \"show\", \"hide\" ], function( i, name ) {\n\tvar cssFn = jQuery.fn[ name ];\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn speed == null || typeof speed === \"boolean\" ?\n\t\t\tcssFn.apply( this, arguments ) :\n\t\t\tthis.animate( genFx( name, true ), speed, easing, callback );\n\t};\n} );\n\n// Generate shortcuts for custom animations\njQuery.each( {\n\tslideDown: genFx( \"show\" ),\n\tslideUp: genFx( \"hide\" ),\n\tslideToggle: genFx( \"toggle\" ),\n\tfadeIn: { opacity: \"show\" },\n\tfadeOut: { opacity: \"hide\" },\n\tfadeToggle: { opacity: \"toggle\" }\n}, function( name, props ) {\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn this.animate( props, speed, easing, callback );\n\t};\n} );\n\njQuery.timers = [];\njQuery.fx.tick = function() {\n\tvar timer,\n\t\ti = 0,\n\t\ttimers = jQuery.timers;\n\n\tfxNow = jQuery.now();\n\n\tfor ( ; i < timers.length; i++ ) {\n\t\ttimer = timers[ i ];\n\n\t\t// Run the timer and safely remove it when done (allowing for external removal)\n\t\tif ( !timer() && timers[ i ] === timer ) {\n\t\t\ttimers.splice( i--, 1 );\n\t\t}\n\t}\n\n\tif ( !timers.length ) {\n\t\tjQuery.fx.stop();\n\t}\n\tfxNow = undefined;\n};\n\njQuery.fx.timer = function( timer ) {\n\tjQuery.timers.push( timer );\n\tjQuery.fx.start();\n};\n\njQuery.fx.interval = 13;\njQuery.fx.start = function() {\n\tif ( inProgress ) {\n\t\treturn;\n\t}\n\n\tinProgress = true;\n\tschedule();\n};\n\njQuery.fx.stop = function() {\n\tinProgress = null;\n};\n\njQuery.fx.speeds = {\n\tslow: 600,\n\tfast: 200,\n\n\t// Default speed\n\t_default: 400\n};\n\n\n// Based off of the plugin by Clint Helfers, with permission.\n// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/\njQuery.fn.delay = function( time, type ) {\n\ttime = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;\n\ttype = type || \"fx\";\n\n\treturn this.queue( type, function( next, hooks ) {\n\t\tvar timeout = window.setTimeout( next, time );\n\t\thooks.stop = function() {\n\t\t\twindow.clearTimeout( timeout );\n\t\t};\n\t} );\n};\n\n\n( function() {\n\tvar input = document.createElement( \"input\" ),\n\t\tselect = document.createElement( \"select\" ),\n\t\topt = select.appendChild( document.createElement( \"option\" ) );\n\n\tinput.type = \"checkbox\";\n\n\t// Support: Android <=4.3 only\n\t// Default value for a checkbox should be \"on\"\n\tsupport.checkOn = input.value !== \"\";\n\n\t// Support: IE <=11 only\n\t// Must access selectedIndex to make default options select\n\tsupport.optSelected = opt.selected;\n\n\t// Support: IE <=11 only\n\t// An input loses its value after becoming a radio\n\tinput = document.createElement( \"input\" );\n\tinput.value = \"t\";\n\tinput.type = \"radio\";\n\tsupport.radioValue = input.value === \"t\";\n} )();\n\n\nvar boolHook,\n\tattrHandle = jQuery.expr.attrHandle;\n\njQuery.fn.extend( {\n\tattr: function( name, value ) {\n\t\treturn access( this, jQuery.attr, name, value, arguments.length > 1 );\n\t},\n\n\tremoveAttr: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.removeAttr( this, name );\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tattr: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set attributes on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Fallback to prop when attributes are not supported\n\t\tif ( typeof elem.getAttribute === \"undefined\" ) {\n\t\t\treturn jQuery.prop( elem, name, value );\n\t\t}\n\n\t\t// Attribute hooks are determined by the lowercase version\n\t\t// Grab necessary hook if one is defined\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\t\t\thooks = jQuery.attrHooks[ name.toLowerCase() ] ||\n\t\t\t\t( jQuery.expr.match.bool.test( name ) ? boolHook : undefined );\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( value === null ) {\n\t\t\t\tjQuery.removeAttr( elem, name );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\telem.setAttribute( name, value + \"\" );\n\t\t\treturn value;\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\tret = jQuery.find.attr( elem, name );\n\n\t\t// Non-existent attributes return null, we normalize to undefined\n\t\treturn ret == null ? undefined : ret;\n\t},\n\n\tattrHooks: {\n\t\ttype: {\n\t\t\tset: function( elem, value ) {\n\t\t\t\tif ( !support.radioValue && value === \"radio\" &&\n\t\t\t\t\tnodeName( elem, \"input\" ) ) {\n\t\t\t\t\tvar val = elem.value;\n\t\t\t\t\telem.setAttribute( \"type\", value );\n\t\t\t\t\tif ( val ) {\n\t\t\t\t\t\telem.value = val;\n\t\t\t\t\t}\n\t\t\t\t\treturn value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\tremoveAttr: function( elem, value ) {\n\t\tvar name,\n\t\t\ti = 0,\n\n\t\t\t// Attribute names can contain non-HTML whitespace characters\n\t\t\t// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n\t\t\tattrNames = value && value.match( rnothtmlwhite );\n\n\t\tif ( attrNames && elem.nodeType === 1 ) {\n\t\t\twhile ( ( name = attrNames[ i++ ] ) ) {\n\t\t\t\telem.removeAttribute( name );\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Hooks for boolean attributes\nboolHook = {\n\tset: function( elem, value, name ) {\n\t\tif ( value === false ) {\n\n\t\t\t// Remove boolean attributes when set to false\n\t\t\tjQuery.removeAttr( elem, name );\n\t\t} else {\n\t\t\telem.setAttribute( name, name );\n\t\t}\n\t\treturn name;\n\t}\n};\n\njQuery.each( jQuery.expr.match.bool.source.match( /\\w+/g ), function( i, name ) {\n\tvar getter = attrHandle[ name ] || jQuery.find.attr;\n\n\tattrHandle[ name ] = function( elem, name, isXML ) {\n\t\tvar ret, handle,\n\t\t\tlowercaseName = name.toLowerCase();\n\n\t\tif ( !isXML ) {\n\n\t\t\t// Avoid an infinite loop by temporarily removing this function from the getter\n\t\t\thandle = attrHandle[ lowercaseName ];\n\t\t\tattrHandle[ lowercaseName ] = ret;\n\t\t\tret = getter( elem, name, isXML ) != null ?\n\t\t\t\tlowercaseName :\n\t\t\t\tnull;\n\t\t\tattrHandle[ lowercaseName ] = handle;\n\t\t}\n\t\treturn ret;\n\t};\n} );\n\n\n\n\nvar rfocusable = /^(?:input|select|textarea|button)$/i,\n\trclickable = /^(?:a|area)$/i;\n\njQuery.fn.extend( {\n\tprop: function( name, value ) {\n\t\treturn access( this, jQuery.prop, name, value, arguments.length > 1 );\n\t},\n\n\tremoveProp: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tdelete this[ jQuery.propFix[ name ] || name ];\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tprop: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set properties on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// Fix name and attach hooks\n\t\t\tname = jQuery.propFix[ name ] || name;\n\t\t\thooks = jQuery.propHooks[ name ];\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\treturn ( elem[ name ] = value );\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\treturn elem[ name ];\n\t},\n\n\tpropHooks: {\n\t\ttabIndex: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\t// Support: IE <=9 - 11 only\n\t\t\t\t// elem.tabIndex doesn't always return the\n\t\t\t\t// correct value when it hasn't been explicitly set\n\t\t\t\t// https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/\n\t\t\t\t// Use proper attribute retrieval(#12072)\n\t\t\t\tvar tabindex = jQuery.find.attr( elem, \"tabindex\" );\n\n\t\t\t\tif ( tabindex ) {\n\t\t\t\t\treturn parseInt( tabindex, 10 );\n\t\t\t\t}\n\n\t\t\t\tif (\n\t\t\t\t\trfocusable.test( elem.nodeName ) ||\n\t\t\t\t\trclickable.test( elem.nodeName ) &&\n\t\t\t\t\telem.href\n\t\t\t\t) {\n\t\t\t\t\treturn 0;\n\t\t\t\t}\n\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t},\n\n\tpropFix: {\n\t\t\"for\": \"htmlFor\",\n\t\t\"class\": \"className\"\n\t}\n} );\n\n// Support: IE <=11 only\n// Accessing the selectedIndex property\n// forces the browser to respect setting selected\n// on the option\n// The getter ensures a default option is selected\n// when in an optgroup\n// eslint rule \"no-unused-expressions\" is disabled for this code\n// since it considers such accessions noop\nif ( !support.optSelected ) {\n\tjQuery.propHooks.selected = {\n\t\tget: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent && parent.parentNode ) {\n\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t}\n\t\t\treturn null;\n\t\t},\n\t\tset: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent ) {\n\t\t\t\tparent.selectedIndex;\n\n\t\t\t\tif ( parent.parentNode ) {\n\t\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\njQuery.each( [\n\t\"tabIndex\",\n\t\"readOnly\",\n\t\"maxLength\",\n\t\"cellSpacing\",\n\t\"cellPadding\",\n\t\"rowSpan\",\n\t\"colSpan\",\n\t\"useMap\",\n\t\"frameBorder\",\n\t\"contentEditable\"\n], function() {\n\tjQuery.propFix[ this.toLowerCase() ] = this;\n} );\n\n\n\n\n\t// Strip and collapse whitespace according to HTML spec\n\t// https://html.spec.whatwg.org/multipage/infrastructure.html#strip-and-collapse-whitespace\n\tfunction stripAndCollapse( value ) {\n\t\tvar tokens = value.match( rnothtmlwhite ) || [];\n\t\treturn tokens.join( \" \" );\n\t}\n\n\nfunction getClass( elem ) {\n\treturn elem.getAttribute && elem.getAttribute( \"class\" ) || \"\";\n}\n\njQuery.fn.extend( {\n\taddClass: function( value ) {\n\t\tvar classes, elem, cur, curValue, clazz, j, finalValue,\n\t\t\ti = 0;\n\n\t\tif ( jQuery.isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).addClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tif ( typeof value === \"string\" && value ) {\n\t\t\tclasses = value.match( rnothtmlwhite ) || [];\n\n\t\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\t\tcurValue = getClass( elem );\n\t\t\t\tcur = elem.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( ( clazz = classes[ j++ ] ) ) {\n\t\t\t\t\t\tif ( cur.indexOf( \" \" + clazz + \" \" ) < 0 ) {\n\t\t\t\t\t\t\tcur += clazz + \" \";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\telem.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tremoveClass: function( value ) {\n\t\tvar classes, elem, cur, curValue, clazz, j, finalValue,\n\t\t\ti = 0;\n\n\t\tif ( jQuery.isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).removeClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tif ( !arguments.length ) {\n\t\t\treturn this.attr( \"class\", \"\" );\n\t\t}\n\n\t\tif ( typeof value === \"string\" && value ) {\n\t\t\tclasses = value.match( rnothtmlwhite ) || [];\n\n\t\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\t\tcurValue = getClass( elem );\n\n\t\t\t\t// This expression is here for better compressibility (see addClass)\n\t\t\t\tcur = elem.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( ( clazz = classes[ j++ ] ) ) {\n\n\t\t\t\t\t\t// Remove *all* instances\n\t\t\t\t\t\twhile ( cur.indexOf( \" \" + clazz + \" \" ) > -1 ) {\n\t\t\t\t\t\t\tcur = cur.replace( \" \" + clazz + \" \", \" \" );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\telem.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\ttoggleClass: function( value, stateVal ) {\n\t\tvar type = typeof value;\n\n\t\tif ( typeof stateVal === \"boolean\" && type === \"string\" ) {\n\t\t\treturn stateVal ? this.addClass( value ) : this.removeClass( value );\n\t\t}\n\n\t\tif ( jQuery.isFunction( value ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).toggleClass(\n\t\t\t\t\tvalue.call( this, i, getClass( this ), stateVal ),\n\t\t\t\t\tstateVal\n\t\t\t\t);\n\t\t\t} );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar className, i, self, classNames;\n\n\t\t\tif ( type === \"string\" ) {\n\n\t\t\t\t// Toggle individual class names\n\t\t\t\ti = 0;\n\t\t\t\tself = jQuery( this );\n\t\t\t\tclassNames = value.match( rnothtmlwhite ) || [];\n\n\t\t\t\twhile ( ( className = classNames[ i++ ] ) ) {\n\n\t\t\t\t\t// Check each className given, space separated list\n\t\t\t\t\tif ( self.hasClass( className ) ) {\n\t\t\t\t\t\tself.removeClass( className );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.addClass( className );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t// Toggle whole class name\n\t\t\t} else if ( value === undefined || type === \"boolean\" ) {\n\t\t\t\tclassName = getClass( this );\n\t\t\t\tif ( className ) {\n\n\t\t\t\t\t// Store className if set\n\t\t\t\t\tdataPriv.set( this, \"__className__\", className );\n\t\t\t\t}\n\n\t\t\t\t// If the element has a class name or if we're passed `false`,\n\t\t\t\t// then remove the whole classname (if there was one, the above saved it).\n\t\t\t\t// Otherwise bring back whatever was previously saved (if anything),\n\t\t\t\t// falling back to the empty string if nothing was stored.\n\t\t\t\tif ( this.setAttribute ) {\n\t\t\t\t\tthis.setAttribute( \"class\",\n\t\t\t\t\t\tclassName || value === false ?\n\t\t\t\t\t\t\"\" :\n\t\t\t\t\t\tdataPriv.get( this, \"__className__\" ) || \"\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\thasClass: function( selector ) {\n\t\tvar className, elem,\n\t\t\ti = 0;\n\n\t\tclassName = \" \" + selector + \" \";\n\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\tif ( elem.nodeType === 1 &&\n\t\t\t\t( \" \" + stripAndCollapse( getClass( elem ) ) + \" \" ).indexOf( className ) > -1 ) {\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n} );\n\n\n\n\nvar rreturn = /\\r/g;\n\njQuery.fn.extend( {\n\tval: function( value ) {\n\t\tvar hooks, ret, isFunction,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !arguments.length ) {\n\t\t\tif ( elem ) {\n\t\t\t\thooks = jQuery.valHooks[ elem.type ] ||\n\t\t\t\t\tjQuery.valHooks[ elem.nodeName.toLowerCase() ];\n\n\t\t\t\tif ( hooks &&\n\t\t\t\t\t\"get\" in hooks &&\n\t\t\t\t\t( ret = hooks.get( elem, \"value\" ) ) !== undefined\n\t\t\t\t) {\n\t\t\t\t\treturn ret;\n\t\t\t\t}\n\n\t\t\t\tret = elem.value;\n\n\t\t\t\t// Handle most common string cases\n\t\t\t\tif ( typeof ret === \"string\" ) {\n\t\t\t\t\treturn ret.replace( rreturn, \"\" );\n\t\t\t\t}\n\n\t\t\t\t// Handle cases where value is null/undef or number\n\t\t\t\treturn ret == null ? \"\" : ret;\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tisFunction = jQuery.isFunction( value );\n\n\t\treturn this.each( function( i ) {\n\t\t\tvar val;\n\n\t\t\tif ( this.nodeType !== 1 ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( isFunction ) {\n\t\t\t\tval = value.call( this, i, jQuery( this ).val() );\n\t\t\t} else {\n\t\t\t\tval = value;\n\t\t\t}\n\n\t\t\t// Treat null/undefined as \"\"; convert numbers to string\n\t\t\tif ( val == null ) {\n\t\t\t\tval = \"\";\n\n\t\t\t} else if ( typeof val === \"number\" ) {\n\t\t\t\tval += \"\";\n\n\t\t\t} else if ( Array.isArray( val ) ) {\n\t\t\t\tval = jQuery.map( val, function( value ) {\n\t\t\t\t\treturn value == null ? \"\" : value + \"\";\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\thooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];\n\n\t\t\t// If set returns undefined, fall back to normal setting\n\t\t\tif ( !hooks || !( \"set\" in hooks ) || hooks.set( this, val, \"value\" ) === undefined ) {\n\t\t\t\tthis.value = val;\n\t\t\t}\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tvalHooks: {\n\t\toption: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\tvar val = jQuery.find.attr( elem, \"value\" );\n\t\t\t\treturn val != null ?\n\t\t\t\t\tval :\n\n\t\t\t\t\t// Support: IE <=10 - 11 only\n\t\t\t\t\t// option.text throws exceptions (#14686, #14858)\n\t\t\t\t\t// Strip and collapse whitespace\n\t\t\t\t\t// https://html.spec.whatwg.org/#strip-and-collapse-whitespace\n\t\t\t\t\tstripAndCollapse( jQuery.text( elem ) );\n\t\t\t}\n\t\t},\n\t\tselect: {\n\t\t\tget: function( elem ) {\n\t\t\t\tvar value, option, i,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tindex = elem.selectedIndex,\n\t\t\t\t\tone = elem.type === \"select-one\",\n\t\t\t\t\tvalues = one ? null : [],\n\t\t\t\t\tmax = one ? index + 1 : options.length;\n\n\t\t\t\tif ( index < 0 ) {\n\t\t\t\t\ti = max;\n\n\t\t\t\t} else {\n\t\t\t\t\ti = one ? index : 0;\n\t\t\t\t}\n\n\t\t\t\t// Loop through all the selected options\n\t\t\t\tfor ( ; i < max; i++ ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t// IE8-9 doesn't update selected after form reset (#2551)\n\t\t\t\t\tif ( ( option.selected || i === index ) &&\n\n\t\t\t\t\t\t\t// Don't return options that are disabled or in a disabled optgroup\n\t\t\t\t\t\t\t!option.disabled &&\n\t\t\t\t\t\t\t( !option.parentNode.disabled ||\n\t\t\t\t\t\t\t\t!nodeName( option.parentNode, \"optgroup\" ) ) ) {\n\n\t\t\t\t\t\t// Get the specific value for the option\n\t\t\t\t\t\tvalue = jQuery( option ).val();\n\n\t\t\t\t\t\t// We don't need an array for one selects\n\t\t\t\t\t\tif ( one ) {\n\t\t\t\t\t\t\treturn value;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Multi-Selects return an array\n\t\t\t\t\t\tvalues.push( value );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn values;\n\t\t\t},\n\n\t\t\tset: function( elem, value ) {\n\t\t\t\tvar optionSet, option,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tvalues = jQuery.makeArray( value ),\n\t\t\t\t\ti = options.length;\n\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t/* eslint-disable no-cond-assign */\n\n\t\t\t\t\tif ( option.selected =\n\t\t\t\t\t\tjQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1\n\t\t\t\t\t) {\n\t\t\t\t\t\toptionSet = true;\n\t\t\t\t\t}\n\n\t\t\t\t\t/* eslint-enable no-cond-assign */\n\t\t\t\t}\n\n\t\t\t\t// Force browsers to behave consistently when non-matching value is set\n\t\t\t\tif ( !optionSet ) {\n\t\t\t\t\telem.selectedIndex = -1;\n\t\t\t\t}\n\t\t\t\treturn values;\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Radios and checkboxes getter/setter\njQuery.each( [ \"radio\", \"checkbox\" ], function() {\n\tjQuery.valHooks[ this ] = {\n\t\tset: function( elem, value ) {\n\t\t\tif ( Array.isArray( value ) ) {\n\t\t\t\treturn ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 );\n\t\t\t}\n\t\t}\n\t};\n\tif ( !support.checkOn ) {\n\t\tjQuery.valHooks[ this ].get = function( elem ) {\n\t\t\treturn elem.getAttribute( \"value\" ) === null ? \"on\" : elem.value;\n\t\t};\n\t}\n} );\n\n\n\n\n// Return jQuery for attributes-only inclusion\n\n\nvar rfocusMorph = /^(?:focusinfocus|focusoutblur)$/;\n\njQuery.extend( jQuery.event, {\n\n\ttrigger: function( event, data, elem, onlyHandlers ) {\n\n\t\tvar i, cur, tmp, bubbleType, ontype, handle, special,\n\t\t\teventPath = [ elem || document ],\n\t\t\ttype = hasOwn.call( event, \"type\" ) ? event.type : event,\n\t\t\tnamespaces = hasOwn.call( event, \"namespace\" ) ? event.namespace.split( \".\" ) : [];\n\n\t\tcur = tmp = elem = elem || document;\n\n\t\t// Don't do events on text and comment nodes\n\t\tif ( elem.nodeType === 3 || elem.nodeType === 8 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// focus/blur morphs to focusin/out; ensure we're not firing them right now\n\t\tif ( rfocusMorph.test( type + jQuery.event.triggered ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( type.indexOf( \".\" ) > -1 ) {\n\n\t\t\t// Namespaced trigger; create a regexp to match event type in handle()\n\t\t\tnamespaces = type.split( \".\" );\n\t\t\ttype = namespaces.shift();\n\t\t\tnamespaces.sort();\n\t\t}\n\t\tontype = type.indexOf( \":\" ) < 0 && \"on\" + type;\n\n\t\t// Caller can pass in a jQuery.Event object, Object, or just an event type string\n\t\tevent = event[ jQuery.expando ] ?\n\t\t\tevent :\n\t\t\tnew jQuery.Event( type, typeof event === \"object\" && event );\n\n\t\t// Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)\n\t\tevent.isTrigger = onlyHandlers ? 2 : 3;\n\t\tevent.namespace = namespaces.join( \".\" );\n\t\tevent.rnamespace = event.namespace ?\n\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" ) :\n\t\t\tnull;\n\n\t\t// Clean up the event in case it is being reused\n\t\tevent.result = undefined;\n\t\tif ( !event.target ) {\n\t\t\tevent.target = elem;\n\t\t}\n\n\t\t// Clone any incoming data and prepend the event, creating the handler arg list\n\t\tdata = data == null ?\n\t\t\t[ event ] :\n\t\t\tjQuery.makeArray( data, [ event ] );\n\n\t\t// Allow special events to draw outside the lines\n\t\tspecial = jQuery.event.special[ type ] || {};\n\t\tif ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine event propagation path in advance, per W3C events spec (#9951)\n\t\t// Bubble up to document, then to window; watch for a global ownerDocument var (#9724)\n\t\tif ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) {\n\n\t\t\tbubbleType = special.delegateType || type;\n\t\t\tif ( !rfocusMorph.test( bubbleType + type ) ) {\n\t\t\t\tcur = cur.parentNode;\n\t\t\t}\n\t\t\tfor ( ; cur; cur = cur.parentNode ) {\n\t\t\t\teventPath.push( cur );\n\t\t\t\ttmp = cur;\n\t\t\t}\n\n\t\t\t// Only add window if we got to document (e.g., not plain obj or detached DOM)\n\t\t\tif ( tmp === ( elem.ownerDocument || document ) ) {\n\t\t\t\teventPath.push( tmp.defaultView || tmp.parentWindow || window );\n\t\t\t}\n\t\t}\n\n\t\t// Fire handlers on the event path\n\t\ti = 0;\n\t\twhile ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) {\n\n\t\t\tevent.type = i > 1 ?\n\t\t\t\tbubbleType :\n\t\t\t\tspecial.bindType || type;\n\n\t\t\t// jQuery handler\n\t\t\thandle = ( dataPriv.get( cur, \"events\" ) || {} )[ event.type ] &&\n\t\t\t\tdataPriv.get( cur, \"handle\" );\n\t\t\tif ( handle ) {\n\t\t\t\thandle.apply( cur, data );\n\t\t\t}\n\n\t\t\t// Native handler\n\t\t\thandle = ontype && cur[ ontype ];\n\t\t\tif ( handle && handle.apply && acceptData( cur ) ) {\n\t\t\t\tevent.result = handle.apply( cur, data );\n\t\t\t\tif ( event.result === false ) {\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tevent.type = type;\n\n\t\t// If nobody prevented the default action, do it now\n\t\tif ( !onlyHandlers && !event.isDefaultPrevented() ) {\n\n\t\t\tif ( ( !special._default ||\n\t\t\t\tspecial._default.apply( eventPath.pop(), data ) === false ) &&\n\t\t\t\tacceptData( elem ) ) {\n\n\t\t\t\t// Call a native DOM method on the target with the same name as the event.\n\t\t\t\t// Don't do default actions on window, that's where global variables be (#6170)\n\t\t\t\tif ( ontype && jQuery.isFunction( elem[ type ] ) && !jQuery.isWindow( elem ) ) {\n\n\t\t\t\t\t// Don't re-trigger an onFOO event when we call its FOO() method\n\t\t\t\t\ttmp = elem[ ontype ];\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = null;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prevent re-triggering of the same event, since we already bubbled it above\n\t\t\t\t\tjQuery.event.triggered = type;\n\t\t\t\t\telem[ type ]();\n\t\t\t\t\tjQuery.event.triggered = undefined;\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = tmp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\t// Piggyback on a donor event to simulate a different one\n\t// Used only for `focus(in | out)` events\n\tsimulate: function( type, elem, event ) {\n\t\tvar e = jQuery.extend(\n\t\t\tnew jQuery.Event(),\n\t\t\tevent,\n\t\t\t{\n\t\t\t\ttype: type,\n\t\t\t\tisSimulated: true\n\t\t\t}\n\t\t);\n\n\t\tjQuery.event.trigger( e, null, elem );\n\t}\n\n} );\n\njQuery.fn.extend( {\n\n\ttrigger: function( type, data ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.trigger( type, data, this );\n\t\t} );\n\t},\n\ttriggerHandler: function( type, data ) {\n\t\tvar elem = this[ 0 ];\n\t\tif ( elem ) {\n\t\t\treturn jQuery.event.trigger( type, data, elem, true );\n\t\t}\n\t}\n} );\n\n\njQuery.each( ( \"blur focus focusin focusout resize scroll click dblclick \" +\n\t\"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave \" +\n\t\"change select submit keydown keypress keyup contextmenu\" ).split( \" \" ),\n\tfunction( i, name ) {\n\n\t// Handle event binding\n\tjQuery.fn[ name ] = function( data, fn ) {\n\t\treturn arguments.length > 0 ?\n\t\t\tthis.on( name, null, data, fn ) :\n\t\t\tthis.trigger( name );\n\t};\n} );\n\njQuery.fn.extend( {\n\thover: function( fnOver, fnOut ) {\n\t\treturn this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );\n\t}\n} );\n\n\n\n\nsupport.focusin = \"onfocusin\" in window;\n\n\n// Support: Firefox <=44\n// Firefox doesn't have focus(in | out) events\n// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787\n//\n// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1\n// focus(in | out) events fire after focus & blur events,\n// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order\n// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857\nif ( !support.focusin ) {\n\tjQuery.each( { focus: \"focusin\", blur: \"focusout\" }, function( orig, fix ) {\n\n\t\t// Attach a single capturing handler on the document while someone wants focusin/focusout\n\t\tvar handler = function( event ) {\n\t\t\tjQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) );\n\t\t};\n\n\t\tjQuery.event.special[ fix ] = {\n\t\t\tsetup: function() {\n\t\t\t\tvar doc = this.ownerDocument || this,\n\t\t\t\t\tattaches = dataPriv.access( doc, fix );\n\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tdoc.addEventListener( orig, handler, true );\n\t\t\t\t}\n\t\t\t\tdataPriv.access( doc, fix, ( attaches || 0 ) + 1 );\n\t\t\t},\n\t\t\tteardown: function() {\n\t\t\t\tvar doc = this.ownerDocument || this,\n\t\t\t\t\tattaches = dataPriv.access( doc, fix ) - 1;\n\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tdoc.removeEventListener( orig, handler, true );\n\t\t\t\t\tdataPriv.remove( doc, fix );\n\n\t\t\t\t} else {\n\t\t\t\t\tdataPriv.access( doc, fix, attaches );\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t} );\n}\nvar location = window.location;\n\nvar nonce = jQuery.now();\n\nvar rquery = ( /\\?/ );\n\n\n\n// Cross-browser xml parsing\njQuery.parseXML = function( data ) {\n\tvar xml;\n\tif ( !data || typeof data !== \"string\" ) {\n\t\treturn null;\n\t}\n\n\t// Support: IE 9 - 11 only\n\t// IE throws on parseFromString with invalid input.\n\ttry {\n\t\txml = ( new window.DOMParser() ).parseFromString( data, \"text/xml\" );\n\t} catch ( e ) {\n\t\txml = undefined;\n\t}\n\n\tif ( !xml || xml.getElementsByTagName( \"parsererror\" ).length ) {\n\t\tjQuery.error( \"Invalid XML: \" + data );\n\t}\n\treturn xml;\n};\n\n\nvar\n\trbracket = /\\[\\]$/,\n\trCRLF = /\\r?\\n/g,\n\trsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,\n\trsubmittable = /^(?:input|select|textarea|keygen)/i;\n\nfunction buildParams( prefix, obj, traditional, add ) {\n\tvar name;\n\n\tif ( Array.isArray( obj ) ) {\n\n\t\t// Serialize array item.\n\t\tjQuery.each( obj, function( i, v ) {\n\t\t\tif ( traditional || rbracket.test( prefix ) ) {\n\n\t\t\t\t// Treat each array item as a scalar.\n\t\t\t\tadd( prefix, v );\n\n\t\t\t} else {\n\n\t\t\t\t// Item is non-scalar (array or object), encode its numeric index.\n\t\t\t\tbuildParams(\n\t\t\t\t\tprefix + \"[\" + ( typeof v === \"object\" && v != null ? i : \"\" ) + \"]\",\n\t\t\t\t\tv,\n\t\t\t\t\ttraditional,\n\t\t\t\t\tadd\n\t\t\t\t);\n\t\t\t}\n\t\t} );\n\n\t} else if ( !traditional && jQuery.type( obj ) === \"object\" ) {\n\n\t\t// Serialize object item.\n\t\tfor ( name in obj ) {\n\t\t\tbuildParams( prefix + \"[\" + name + \"]\", obj[ name ], traditional, add );\n\t\t}\n\n\t} else {\n\n\t\t// Serialize scalar item.\n\t\tadd( prefix, obj );\n\t}\n}\n\n// Serialize an array of form elements or a set of\n// key/values into a query string\njQuery.param = function( a, traditional ) {\n\tvar prefix,\n\t\ts = [],\n\t\tadd = function( key, valueOrFunction ) {\n\n\t\t\t// If value is a function, invoke it and use its return value\n\t\t\tvar value = jQuery.isFunction( valueOrFunction ) ?\n\t\t\t\tvalueOrFunction() :\n\t\t\t\tvalueOrFunction;\n\n\t\t\ts[ s.length ] = encodeURIComponent( key ) + \"=\" +\n\t\t\t\tencodeURIComponent( value == null ? \"\" : value );\n\t\t};\n\n\t// If an array was passed in, assume that it is an array of form elements.\n\tif ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {\n\n\t\t// Serialize the form elements\n\t\tjQuery.each( a, function() {\n\t\t\tadd( this.name, this.value );\n\t\t} );\n\n\t} else {\n\n\t\t// If traditional, encode the \"old\" way (the way 1.3.2 or older\n\t\t// did it), otherwise encode params recursively.\n\t\tfor ( prefix in a ) {\n\t\t\tbuildParams( prefix, a[ prefix ], traditional, add );\n\t\t}\n\t}\n\n\t// Return the resulting serialization\n\treturn s.join( \"&\" );\n};\n\njQuery.fn.extend( {\n\tserialize: function() {\n\t\treturn jQuery.param( this.serializeArray() );\n\t},\n\tserializeArray: function() {\n\t\treturn this.map( function() {\n\n\t\t\t// Can add propHook for \"elements\" to filter or add form elements\n\t\t\tvar elements = jQuery.prop( this, \"elements\" );\n\t\t\treturn elements ? jQuery.makeArray( elements ) : this;\n\t\t} )\n\t\t.filter( function() {\n\t\t\tvar type = this.type;\n\n\t\t\t// Use .is( \":disabled\" ) so that fieldset[disabled] works\n\t\t\treturn this.name && !jQuery( this ).is( \":disabled\" ) &&\n\t\t\t\trsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&\n\t\t\t\t( this.checked || !rcheckableType.test( type ) );\n\t\t} )\n\t\t.map( function( i, elem ) {\n\t\t\tvar val = jQuery( this ).val();\n\n\t\t\tif ( val == null ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tif ( Array.isArray( val ) ) {\n\t\t\t\treturn jQuery.map( val, function( val ) {\n\t\t\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t} ).get();\n\t}\n} );\n\n\nvar\n\tr20 = /%20/g,\n\trhash = /#.*$/,\n\trantiCache = /([?&])_=[^&]*/,\n\trheaders = /^(.*?):[ \\t]*([^\\r\\n]*)$/mg,\n\n\t// #7653, #8125, #8152: local protocol detection\n\trlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,\n\trnoContent = /^(?:GET|HEAD)$/,\n\trprotocol = /^\\/\\//,\n\n\t/* Prefilters\n\t * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)\n\t * 2) These are called:\n\t *    - BEFORE asking for a transport\n\t *    - AFTER param serialization (s.data is a string if s.processData is true)\n\t * 3) key is the dataType\n\t * 4) the catchall symbol \"*\" can be used\n\t * 5) execution will start with transport dataType and THEN continue down to \"*\" if needed\n\t */\n\tprefilters = {},\n\n\t/* Transports bindings\n\t * 1) key is the dataType\n\t * 2) the catchall symbol \"*\" can be used\n\t * 3) selection will start with transport dataType and THEN go to \"*\" if needed\n\t */\n\ttransports = {},\n\n\t// Avoid comment-prolog char sequence (#10098); must appease lint and evade compression\n\tallTypes = \"*/\".concat( \"*\" ),\n\n\t// Anchor tag for parsing the document origin\n\toriginAnchor = document.createElement( \"a\" );\n\toriginAnchor.href = location.href;\n\n// Base \"constructor\" for jQuery.ajaxPrefilter and jQuery.ajaxTransport\nfunction addToPrefiltersOrTransports( structure ) {\n\n\t// dataTypeExpression is optional and defaults to \"*\"\n\treturn function( dataTypeExpression, func ) {\n\n\t\tif ( typeof dataTypeExpression !== \"string\" ) {\n\t\t\tfunc = dataTypeExpression;\n\t\t\tdataTypeExpression = \"*\";\n\t\t}\n\n\t\tvar dataType,\n\t\t\ti = 0,\n\t\t\tdataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || [];\n\n\t\tif ( jQuery.isFunction( func ) ) {\n\n\t\t\t// For each dataType in the dataTypeExpression\n\t\t\twhile ( ( dataType = dataTypes[ i++ ] ) ) {\n\n\t\t\t\t// Prepend if requested\n\t\t\t\tif ( dataType[ 0 ] === \"+\" ) {\n\t\t\t\t\tdataType = dataType.slice( 1 ) || \"*\";\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func );\n\n\t\t\t\t// Otherwise append\n\t\t\t\t} else {\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).push( func );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\n// Base inspection function for prefilters and transports\nfunction inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {\n\n\tvar inspected = {},\n\t\tseekingTransport = ( structure === transports );\n\n\tfunction inspect( dataType ) {\n\t\tvar selected;\n\t\tinspected[ dataType ] = true;\n\t\tjQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {\n\t\t\tvar dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );\n\t\t\tif ( typeof dataTypeOrTransport === \"string\" &&\n\t\t\t\t!seekingTransport && !inspected[ dataTypeOrTransport ] ) {\n\n\t\t\t\toptions.dataTypes.unshift( dataTypeOrTransport );\n\t\t\t\tinspect( dataTypeOrTransport );\n\t\t\t\treturn false;\n\t\t\t} else if ( seekingTransport ) {\n\t\t\t\treturn !( selected = dataTypeOrTransport );\n\t\t\t}\n\t\t} );\n\t\treturn selected;\n\t}\n\n\treturn inspect( options.dataTypes[ 0 ] ) || !inspected[ \"*\" ] && inspect( \"*\" );\n}\n\n// A special extend for ajax options\n// that takes \"flat\" options (not to be deep extended)\n// Fixes #9887\nfunction ajaxExtend( target, src ) {\n\tvar key, deep,\n\t\tflatOptions = jQuery.ajaxSettings.flatOptions || {};\n\n\tfor ( key in src ) {\n\t\tif ( src[ key ] !== undefined ) {\n\t\t\t( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ];\n\t\t}\n\t}\n\tif ( deep ) {\n\t\tjQuery.extend( true, target, deep );\n\t}\n\n\treturn target;\n}\n\n/* Handles responses to an ajax request:\n * - finds the right dataType (mediates between content-type and expected dataType)\n * - returns the corresponding response\n */\nfunction ajaxHandleResponses( s, jqXHR, responses ) {\n\n\tvar ct, type, finalDataType, firstDataType,\n\t\tcontents = s.contents,\n\t\tdataTypes = s.dataTypes;\n\n\t// Remove auto dataType and get content-type in the process\n\twhile ( dataTypes[ 0 ] === \"*\" ) {\n\t\tdataTypes.shift();\n\t\tif ( ct === undefined ) {\n\t\t\tct = s.mimeType || jqXHR.getResponseHeader( \"Content-Type\" );\n\t\t}\n\t}\n\n\t// Check if we're dealing with a known content-type\n\tif ( ct ) {\n\t\tfor ( type in contents ) {\n\t\t\tif ( contents[ type ] && contents[ type ].test( ct ) ) {\n\t\t\t\tdataTypes.unshift( type );\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Check to see if we have a response for the expected dataType\n\tif ( dataTypes[ 0 ] in responses ) {\n\t\tfinalDataType = dataTypes[ 0 ];\n\t} else {\n\n\t\t// Try convertible dataTypes\n\t\tfor ( type in responses ) {\n\t\t\tif ( !dataTypes[ 0 ] || s.converters[ type + \" \" + dataTypes[ 0 ] ] ) {\n\t\t\t\tfinalDataType = type;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( !firstDataType ) {\n\t\t\t\tfirstDataType = type;\n\t\t\t}\n\t\t}\n\n\t\t// Or just use first one\n\t\tfinalDataType = finalDataType || firstDataType;\n\t}\n\n\t// If we found a dataType\n\t// We add the dataType to the list if needed\n\t// and return the corresponding response\n\tif ( finalDataType ) {\n\t\tif ( finalDataType !== dataTypes[ 0 ] ) {\n\t\t\tdataTypes.unshift( finalDataType );\n\t\t}\n\t\treturn responses[ finalDataType ];\n\t}\n}\n\n/* Chain conversions given the request and the original response\n * Also sets the responseXXX fields on the jqXHR instance\n */\nfunction ajaxConvert( s, response, jqXHR, isSuccess ) {\n\tvar conv2, current, conv, tmp, prev,\n\t\tconverters = {},\n\n\t\t// Work with a copy of dataTypes in case we need to modify it for conversion\n\t\tdataTypes = s.dataTypes.slice();\n\n\t// Create converters map with lowercased keys\n\tif ( dataTypes[ 1 ] ) {\n\t\tfor ( conv in s.converters ) {\n\t\t\tconverters[ conv.toLowerCase() ] = s.converters[ conv ];\n\t\t}\n\t}\n\n\tcurrent = dataTypes.shift();\n\n\t// Convert to each sequential dataType\n\twhile ( current ) {\n\n\t\tif ( s.responseFields[ current ] ) {\n\t\t\tjqXHR[ s.responseFields[ current ] ] = response;\n\t\t}\n\n\t\t// Apply the dataFilter if provided\n\t\tif ( !prev && isSuccess && s.dataFilter ) {\n\t\t\tresponse = s.dataFilter( response, s.dataType );\n\t\t}\n\n\t\tprev = current;\n\t\tcurrent = dataTypes.shift();\n\n\t\tif ( current ) {\n\n\t\t\t// There's only work to do if current dataType is non-auto\n\t\t\tif ( current === \"*\" ) {\n\n\t\t\t\tcurrent = prev;\n\n\t\t\t// Convert response if prev dataType is non-auto and differs from current\n\t\t\t} else if ( prev !== \"*\" && prev !== current ) {\n\n\t\t\t\t// Seek a direct converter\n\t\t\t\tconv = converters[ prev + \" \" + current ] || converters[ \"* \" + current ];\n\n\t\t\t\t// If none found, seek a pair\n\t\t\t\tif ( !conv ) {\n\t\t\t\t\tfor ( conv2 in converters ) {\n\n\t\t\t\t\t\t// If conv2 outputs current\n\t\t\t\t\t\ttmp = conv2.split( \" \" );\n\t\t\t\t\t\tif ( tmp[ 1 ] === current ) {\n\n\t\t\t\t\t\t\t// If prev can be converted to accepted input\n\t\t\t\t\t\t\tconv = converters[ prev + \" \" + tmp[ 0 ] ] ||\n\t\t\t\t\t\t\t\tconverters[ \"* \" + tmp[ 0 ] ];\n\t\t\t\t\t\t\tif ( conv ) {\n\n\t\t\t\t\t\t\t\t// Condense equivalence converters\n\t\t\t\t\t\t\t\tif ( conv === true ) {\n\t\t\t\t\t\t\t\t\tconv = converters[ conv2 ];\n\n\t\t\t\t\t\t\t\t// Otherwise, insert the intermediate dataType\n\t\t\t\t\t\t\t\t} else if ( converters[ conv2 ] !== true ) {\n\t\t\t\t\t\t\t\t\tcurrent = tmp[ 0 ];\n\t\t\t\t\t\t\t\t\tdataTypes.unshift( tmp[ 1 ] );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Apply converter (if not an equivalence)\n\t\t\t\tif ( conv !== true ) {\n\n\t\t\t\t\t// Unless errors are allowed to bubble, catch and return them\n\t\t\t\t\tif ( conv && s.throws ) {\n\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t\t} catch ( e ) {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\tstate: \"parsererror\",\n\t\t\t\t\t\t\t\terror: conv ? e : \"No conversion from \" + prev + \" to \" + current\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn { state: \"success\", data: response };\n}\n\njQuery.extend( {\n\n\t// Counter for holding the number of active queries\n\tactive: 0,\n\n\t// Last-Modified header cache for next request\n\tlastModified: {},\n\tetag: {},\n\n\tajaxSettings: {\n\t\turl: location.href,\n\t\ttype: \"GET\",\n\t\tisLocal: rlocalProtocol.test( location.protocol ),\n\t\tglobal: true,\n\t\tprocessData: true,\n\t\tasync: true,\n\t\tcontentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\n\n\t\t/*\n\t\ttimeout: 0,\n\t\tdata: null,\n\t\tdataType: null,\n\t\tusername: null,\n\t\tpassword: null,\n\t\tcache: null,\n\t\tthrows: false,\n\t\ttraditional: false,\n\t\theaders: {},\n\t\t*/\n\n\t\taccepts: {\n\t\t\t\"*\": allTypes,\n\t\t\ttext: \"text/plain\",\n\t\t\thtml: \"text/html\",\n\t\t\txml: \"application/xml, text/xml\",\n\t\t\tjson: \"application/json, text/javascript\"\n\t\t},\n\n\t\tcontents: {\n\t\t\txml: /\\bxml\\b/,\n\t\t\thtml: /\\bhtml/,\n\t\t\tjson: /\\bjson\\b/\n\t\t},\n\n\t\tresponseFields: {\n\t\t\txml: \"responseXML\",\n\t\t\ttext: \"responseText\",\n\t\t\tjson: \"responseJSON\"\n\t\t},\n\n\t\t// Data converters\n\t\t// Keys separate source (or catchall \"*\") and destination types with a single space\n\t\tconverters: {\n\n\t\t\t// Convert anything to text\n\t\t\t\"* text\": String,\n\n\t\t\t// Text to html (true = no transformation)\n\t\t\t\"text html\": true,\n\n\t\t\t// Evaluate text as a json expression\n\t\t\t\"text json\": JSON.parse,\n\n\t\t\t// Parse text as xml\n\t\t\t\"text xml\": jQuery.parseXML\n\t\t},\n\n\t\t// For options that shouldn't be deep extended:\n\t\t// you can add your own custom options here if\n\t\t// and when you create one that shouldn't be\n\t\t// deep extended (see ajaxExtend)\n\t\tflatOptions: {\n\t\t\turl: true,\n\t\t\tcontext: true\n\t\t}\n\t},\n\n\t// Creates a full fledged settings object into target\n\t// with both ajaxSettings and settings fields.\n\t// If target is omitted, writes into ajaxSettings.\n\tajaxSetup: function( target, settings ) {\n\t\treturn settings ?\n\n\t\t\t// Building a settings object\n\t\t\tajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :\n\n\t\t\t// Extending ajaxSettings\n\t\t\tajaxExtend( jQuery.ajaxSettings, target );\n\t},\n\n\tajaxPrefilter: addToPrefiltersOrTransports( prefilters ),\n\tajaxTransport: addToPrefiltersOrTransports( transports ),\n\n\t// Main method\n\tajax: function( url, options ) {\n\n\t\t// If url is an object, simulate pre-1.5 signature\n\t\tif ( typeof url === \"object\" ) {\n\t\t\toptions = url;\n\t\t\turl = undefined;\n\t\t}\n\n\t\t// Force options to be an object\n\t\toptions = options || {};\n\n\t\tvar transport,\n\n\t\t\t// URL without anti-cache param\n\t\t\tcacheURL,\n\n\t\t\t// Response headers\n\t\t\tresponseHeadersString,\n\t\t\tresponseHeaders,\n\n\t\t\t// timeout handle\n\t\t\ttimeoutTimer,\n\n\t\t\t// Url cleanup var\n\t\t\turlAnchor,\n\n\t\t\t// Request state (becomes false upon send and true upon completion)\n\t\t\tcompleted,\n\n\t\t\t// To know if global events are to be dispatched\n\t\t\tfireGlobals,\n\n\t\t\t// Loop variable\n\t\t\ti,\n\n\t\t\t// uncached part of the url\n\t\t\tuncached,\n\n\t\t\t// Create the final options object\n\t\t\ts = jQuery.ajaxSetup( {}, options ),\n\n\t\t\t// Callbacks context\n\t\t\tcallbackContext = s.context || s,\n\n\t\t\t// Context for global events is callbackContext if it is a DOM node or jQuery collection\n\t\t\tglobalEventContext = s.context &&\n\t\t\t\t( callbackContext.nodeType || callbackContext.jquery ) ?\n\t\t\t\t\tjQuery( callbackContext ) :\n\t\t\t\t\tjQuery.event,\n\n\t\t\t// Deferreds\n\t\t\tdeferred = jQuery.Deferred(),\n\t\t\tcompleteDeferred = jQuery.Callbacks( \"once memory\" ),\n\n\t\t\t// Status-dependent callbacks\n\t\t\tstatusCode = s.statusCode || {},\n\n\t\t\t// Headers (they are sent all at once)\n\t\t\trequestHeaders = {},\n\t\t\trequestHeadersNames = {},\n\n\t\t\t// Default abort message\n\t\t\tstrAbort = \"canceled\",\n\n\t\t\t// Fake xhr\n\t\t\tjqXHR = {\n\t\t\t\treadyState: 0,\n\n\t\t\t\t// Builds headers hashtable if needed\n\t\t\t\tgetResponseHeader: function( key ) {\n\t\t\t\t\tvar match;\n\t\t\t\t\tif ( completed ) {\n\t\t\t\t\t\tif ( !responseHeaders ) {\n\t\t\t\t\t\t\tresponseHeaders = {};\n\t\t\t\t\t\t\twhile ( ( match = rheaders.exec( responseHeadersString ) ) ) {\n\t\t\t\t\t\t\t\tresponseHeaders[ match[ 1 ].toLowerCase() ] = match[ 2 ];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmatch = responseHeaders[ key.toLowerCase() ];\n\t\t\t\t\t}\n\t\t\t\t\treturn match == null ? null : match;\n\t\t\t\t},\n\n\t\t\t\t// Raw string\n\t\t\t\tgetAllResponseHeaders: function() {\n\t\t\t\t\treturn completed ? responseHeadersString : null;\n\t\t\t\t},\n\n\t\t\t\t// Caches the header\n\t\t\t\tsetRequestHeader: function( name, value ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\tname = requestHeadersNames[ name.toLowerCase() ] =\n\t\t\t\t\t\t\trequestHeadersNames[ name.toLowerCase() ] || name;\n\t\t\t\t\t\trequestHeaders[ name ] = value;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Overrides response content-type header\n\t\t\t\toverrideMimeType: function( type ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\ts.mimeType = type;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Status-dependent callbacks\n\t\t\t\tstatusCode: function( map ) {\n\t\t\t\t\tvar code;\n\t\t\t\t\tif ( map ) {\n\t\t\t\t\t\tif ( completed ) {\n\n\t\t\t\t\t\t\t// Execute the appropriate callbacks\n\t\t\t\t\t\t\tjqXHR.always( map[ jqXHR.status ] );\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Lazy-add the new callbacks in a way that preserves old ones\n\t\t\t\t\t\t\tfor ( code in map ) {\n\t\t\t\t\t\t\t\tstatusCode[ code ] = [ statusCode[ code ], map[ code ] ];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Cancel the request\n\t\t\t\tabort: function( statusText ) {\n\t\t\t\t\tvar finalText = statusText || strAbort;\n\t\t\t\t\tif ( transport ) {\n\t\t\t\t\t\ttransport.abort( finalText );\n\t\t\t\t\t}\n\t\t\t\t\tdone( 0, finalText );\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t};\n\n\t\t// Attach deferreds\n\t\tdeferred.promise( jqXHR );\n\n\t\t// Add protocol if not provided (prefilters might expect it)\n\t\t// Handle falsy url in the settings object (#10093: consistency with old signature)\n\t\t// We also use the url parameter if available\n\t\ts.url = ( ( url || s.url || location.href ) + \"\" )\n\t\t\t.replace( rprotocol, location.protocol + \"//\" );\n\n\t\t// Alias method option to type as per ticket #12004\n\t\ts.type = options.method || options.type || s.method || s.type;\n\n\t\t// Extract dataTypes list\n\t\ts.dataTypes = ( s.dataType || \"*\" ).toLowerCase().match( rnothtmlwhite ) || [ \"\" ];\n\n\t\t// A cross-domain request is in order when the origin doesn't match the current origin.\n\t\tif ( s.crossDomain == null ) {\n\t\t\turlAnchor = document.createElement( \"a\" );\n\n\t\t\t// Support: IE <=8 - 11, Edge 12 - 13\n\t\t\t// IE throws exception on accessing the href property if url is malformed,\n\t\t\t// e.g. http://example.com:80x/\n\t\t\ttry {\n\t\t\t\turlAnchor.href = s.url;\n\n\t\t\t\t// Support: IE <=8 - 11 only\n\t\t\t\t// Anchor's host property isn't correctly set when s.url is relative\n\t\t\t\turlAnchor.href = urlAnchor.href;\n\t\t\t\ts.crossDomain = originAnchor.protocol + \"//\" + originAnchor.host !==\n\t\t\t\t\turlAnchor.protocol + \"//\" + urlAnchor.host;\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// If there is an error parsing the URL, assume it is crossDomain,\n\t\t\t\t// it can be rejected by the transport if it is invalid\n\t\t\t\ts.crossDomain = true;\n\t\t\t}\n\t\t}\n\n\t\t// Convert data if not already a string\n\t\tif ( s.data && s.processData && typeof s.data !== \"string\" ) {\n\t\t\ts.data = jQuery.param( s.data, s.traditional );\n\t\t}\n\n\t\t// Apply prefilters\n\t\tinspectPrefiltersOrTransports( prefilters, s, options, jqXHR );\n\n\t\t// If request was aborted inside a prefilter, stop there\n\t\tif ( completed ) {\n\t\t\treturn jqXHR;\n\t\t}\n\n\t\t// We can fire global events as of now if asked to\n\t\t// Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118)\n\t\tfireGlobals = jQuery.event && s.global;\n\n\t\t// Watch for a new set of requests\n\t\tif ( fireGlobals && jQuery.active++ === 0 ) {\n\t\t\tjQuery.event.trigger( \"ajaxStart\" );\n\t\t}\n\n\t\t// Uppercase the type\n\t\ts.type = s.type.toUpperCase();\n\n\t\t// Determine if request has content\n\t\ts.hasContent = !rnoContent.test( s.type );\n\n\t\t// Save the URL in case we're toying with the If-Modified-Since\n\t\t// and/or If-None-Match header later on\n\t\t// Remove hash to simplify url manipulation\n\t\tcacheURL = s.url.replace( rhash, \"\" );\n\n\t\t// More options handling for requests with no content\n\t\tif ( !s.hasContent ) {\n\n\t\t\t// Remember the hash so we can put it back\n\t\t\tuncached = s.url.slice( cacheURL.length );\n\n\t\t\t// If data is available, append data to url\n\t\t\tif ( s.data ) {\n\t\t\t\tcacheURL += ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + s.data;\n\n\t\t\t\t// #9682: remove data so that it's not used in an eventual retry\n\t\t\t\tdelete s.data;\n\t\t\t}\n\n\t\t\t// Add or update anti-cache param if needed\n\t\t\tif ( s.cache === false ) {\n\t\t\t\tcacheURL = cacheURL.replace( rantiCache, \"$1\" );\n\t\t\t\tuncached = ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + \"_=\" + ( nonce++ ) + uncached;\n\t\t\t}\n\n\t\t\t// Put hash and anti-cache on the URL that will be requested (gh-1732)\n\t\t\ts.url = cacheURL + uncached;\n\n\t\t// Change '%20' to '+' if this is encoded form body content (gh-2658)\n\t\t} else if ( s.data && s.processData &&\n\t\t\t( s.contentType || \"\" ).indexOf( \"application/x-www-form-urlencoded\" ) === 0 ) {\n\t\t\ts.data = s.data.replace( r20, \"+\" );\n\t\t}\n\n\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\tif ( s.ifModified ) {\n\t\t\tif ( jQuery.lastModified[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-Modified-Since\", jQuery.lastModified[ cacheURL ] );\n\t\t\t}\n\t\t\tif ( jQuery.etag[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-None-Match\", jQuery.etag[ cacheURL ] );\n\t\t\t}\n\t\t}\n\n\t\t// Set the correct header, if data is being sent\n\t\tif ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {\n\t\t\tjqXHR.setRequestHeader( \"Content-Type\", s.contentType );\n\t\t}\n\n\t\t// Set the Accepts header for the server, depending on the dataType\n\t\tjqXHR.setRequestHeader(\n\t\t\t\"Accept\",\n\t\t\ts.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ?\n\t\t\t\ts.accepts[ s.dataTypes[ 0 ] ] +\n\t\t\t\t\t( s.dataTypes[ 0 ] !== \"*\" ? \", \" + allTypes + \"; q=0.01\" : \"\" ) :\n\t\t\t\ts.accepts[ \"*\" ]\n\t\t);\n\n\t\t// Check for headers option\n\t\tfor ( i in s.headers ) {\n\t\t\tjqXHR.setRequestHeader( i, s.headers[ i ] );\n\t\t}\n\n\t\t// Allow custom headers/mimetypes and early abort\n\t\tif ( s.beforeSend &&\n\t\t\t( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) {\n\n\t\t\t// Abort if not done already and return\n\t\t\treturn jqXHR.abort();\n\t\t}\n\n\t\t// Aborting is no longer a cancellation\n\t\tstrAbort = \"abort\";\n\n\t\t// Install callbacks on deferreds\n\t\tcompleteDeferred.add( s.complete );\n\t\tjqXHR.done( s.success );\n\t\tjqXHR.fail( s.error );\n\n\t\t// Get transport\n\t\ttransport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );\n\n\t\t// If no transport, we auto-abort\n\t\tif ( !transport ) {\n\t\t\tdone( -1, \"No Transport\" );\n\t\t} else {\n\t\t\tjqXHR.readyState = 1;\n\n\t\t\t// Send global event\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxSend\", [ jqXHR, s ] );\n\t\t\t}\n\n\t\t\t// If request was aborted inside ajaxSend, stop there\n\t\t\tif ( completed ) {\n\t\t\t\treturn jqXHR;\n\t\t\t}\n\n\t\t\t// Timeout\n\t\t\tif ( s.async && s.timeout > 0 ) {\n\t\t\t\ttimeoutTimer = window.setTimeout( function() {\n\t\t\t\t\tjqXHR.abort( \"timeout\" );\n\t\t\t\t}, s.timeout );\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tcompleted = false;\n\t\t\t\ttransport.send( requestHeaders, done );\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// Rethrow post-completion exceptions\n\t\t\t\tif ( completed ) {\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\n\t\t\t\t// Propagate others as results\n\t\t\t\tdone( -1, e );\n\t\t\t}\n\t\t}\n\n\t\t// Callback for when everything is done\n\t\tfunction done( status, nativeStatusText, responses, headers ) {\n\t\t\tvar isSuccess, success, error, response, modified,\n\t\t\t\tstatusText = nativeStatusText;\n\n\t\t\t// Ignore repeat invocations\n\t\t\tif ( completed ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tcompleted = true;\n\n\t\t\t// Clear timeout if it exists\n\t\t\tif ( timeoutTimer ) {\n\t\t\t\twindow.clearTimeout( timeoutTimer );\n\t\t\t}\n\n\t\t\t// Dereference transport for early garbage collection\n\t\t\t// (no matter how long the jqXHR object will be used)\n\t\t\ttransport = undefined;\n\n\t\t\t// Cache response headers\n\t\t\tresponseHeadersString = headers || \"\";\n\n\t\t\t// Set readyState\n\t\t\tjqXHR.readyState = status > 0 ? 4 : 0;\n\n\t\t\t// Determine if successful\n\t\t\tisSuccess = status >= 200 && status < 300 || status === 304;\n\n\t\t\t// Get response data\n\t\t\tif ( responses ) {\n\t\t\t\tresponse = ajaxHandleResponses( s, jqXHR, responses );\n\t\t\t}\n\n\t\t\t// Convert no matter what (that way responseXXX fields are always set)\n\t\t\tresponse = ajaxConvert( s, response, jqXHR, isSuccess );\n\n\t\t\t// If successful, handle type chaining\n\t\t\tif ( isSuccess ) {\n\n\t\t\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\t\t\tif ( s.ifModified ) {\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"Last-Modified\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.lastModified[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"etag\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.etag[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// if no content\n\t\t\t\tif ( status === 204 || s.type === \"HEAD\" ) {\n\t\t\t\t\tstatusText = \"nocontent\";\n\n\t\t\t\t// if not modified\n\t\t\t\t} else if ( status === 304 ) {\n\t\t\t\t\tstatusText = \"notmodified\";\n\n\t\t\t\t// If we have data, let's convert it\n\t\t\t\t} else {\n\t\t\t\t\tstatusText = response.state;\n\t\t\t\t\tsuccess = response.data;\n\t\t\t\t\terror = response.error;\n\t\t\t\t\tisSuccess = !error;\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\t// Extract error from statusText and normalize for non-aborts\n\t\t\t\terror = statusText;\n\t\t\t\tif ( status || !statusText ) {\n\t\t\t\t\tstatusText = \"error\";\n\t\t\t\t\tif ( status < 0 ) {\n\t\t\t\t\t\tstatus = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Set data for the fake xhr object\n\t\t\tjqXHR.status = status;\n\t\t\tjqXHR.statusText = ( nativeStatusText || statusText ) + \"\";\n\n\t\t\t// Success/Error\n\t\t\tif ( isSuccess ) {\n\t\t\t\tdeferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );\n\t\t\t} else {\n\t\t\t\tdeferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );\n\t\t\t}\n\n\t\t\t// Status-dependent callbacks\n\t\t\tjqXHR.statusCode( statusCode );\n\t\t\tstatusCode = undefined;\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( isSuccess ? \"ajaxSuccess\" : \"ajaxError\",\n\t\t\t\t\t[ jqXHR, s, isSuccess ? success : error ] );\n\t\t\t}\n\n\t\t\t// Complete\n\t\t\tcompleteDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxComplete\", [ jqXHR, s ] );\n\n\t\t\t\t// Handle the global AJAX counter\n\t\t\t\tif ( !( --jQuery.active ) ) {\n\t\t\t\t\tjQuery.event.trigger( \"ajaxStop\" );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn jqXHR;\n\t},\n\n\tgetJSON: function( url, data, callback ) {\n\t\treturn jQuery.get( url, data, callback, \"json\" );\n\t},\n\n\tgetScript: function( url, callback ) {\n\t\treturn jQuery.get( url, undefined, callback, \"script\" );\n\t}\n} );\n\njQuery.each( [ \"get\", \"post\" ], function( i, method ) {\n\tjQuery[ method ] = function( url, data, callback, type ) {\n\n\t\t// Shift arguments if data argument was omitted\n\t\tif ( jQuery.isFunction( data ) ) {\n\t\t\ttype = type || callback;\n\t\t\tcallback = data;\n\t\t\tdata = undefined;\n\t\t}\n\n\t\t// The url can be an options object (which then must have .url)\n\t\treturn jQuery.ajax( jQuery.extend( {\n\t\t\turl: url,\n\t\t\ttype: method,\n\t\t\tdataType: type,\n\t\t\tdata: data,\n\t\t\tsuccess: callback\n\t\t}, jQuery.isPlainObject( url ) && url ) );\n\t};\n} );\n\n\njQuery._evalUrl = function( url ) {\n\treturn jQuery.ajax( {\n\t\turl: url,\n\n\t\t// Make this explicit, since user can override this through ajaxSetup (#11264)\n\t\ttype: \"GET\",\n\t\tdataType: \"script\",\n\t\tcache: true,\n\t\tasync: false,\n\t\tglobal: false,\n\t\t\"throws\": true\n\t} );\n};\n\n\njQuery.fn.extend( {\n\twrapAll: function( html ) {\n\t\tvar wrap;\n\n\t\tif ( this[ 0 ] ) {\n\t\t\tif ( jQuery.isFunction( html ) ) {\n\t\t\t\thtml = html.call( this[ 0 ] );\n\t\t\t}\n\n\t\t\t// The elements to wrap the target around\n\t\t\twrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true );\n\n\t\t\tif ( this[ 0 ].parentNode ) {\n\t\t\t\twrap.insertBefore( this[ 0 ] );\n\t\t\t}\n\n\t\t\twrap.map( function() {\n\t\t\t\tvar elem = this;\n\n\t\t\t\twhile ( elem.firstElementChild ) {\n\t\t\t\t\telem = elem.firstElementChild;\n\t\t\t\t}\n\n\t\t\t\treturn elem;\n\t\t\t} ).append( this );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\twrapInner: function( html ) {\n\t\tif ( jQuery.isFunction( html ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).wrapInner( html.call( this, i ) );\n\t\t\t} );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar self = jQuery( this ),\n\t\t\t\tcontents = self.contents();\n\n\t\t\tif ( contents.length ) {\n\t\t\t\tcontents.wrapAll( html );\n\n\t\t\t} else {\n\t\t\t\tself.append( html );\n\t\t\t}\n\t\t} );\n\t},\n\n\twrap: function( html ) {\n\t\tvar isFunction = jQuery.isFunction( html );\n\n\t\treturn this.each( function( i ) {\n\t\t\tjQuery( this ).wrapAll( isFunction ? html.call( this, i ) : html );\n\t\t} );\n\t},\n\n\tunwrap: function( selector ) {\n\t\tthis.parent( selector ).not( \"body\" ).each( function() {\n\t\t\tjQuery( this ).replaceWith( this.childNodes );\n\t\t} );\n\t\treturn this;\n\t}\n} );\n\n\njQuery.expr.pseudos.hidden = function( elem ) {\n\treturn !jQuery.expr.pseudos.visible( elem );\n};\njQuery.expr.pseudos.visible = function( elem ) {\n\treturn !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length );\n};\n\n\n\n\njQuery.ajaxSettings.xhr = function() {\n\ttry {\n\t\treturn new window.XMLHttpRequest();\n\t} catch ( e ) {}\n};\n\nvar xhrSuccessStatus = {\n\n\t\t// File protocol always yields status code 0, assume 200\n\t\t0: 200,\n\n\t\t// Support: IE <=9 only\n\t\t// #1450: sometimes IE returns 1223 when it should be 204\n\t\t1223: 204\n\t},\n\txhrSupported = jQuery.ajaxSettings.xhr();\n\nsupport.cors = !!xhrSupported && ( \"withCredentials\" in xhrSupported );\nsupport.ajax = xhrSupported = !!xhrSupported;\n\njQuery.ajaxTransport( function( options ) {\n\tvar callback, errorCallback;\n\n\t// Cross domain only allowed if supported through XMLHttpRequest\n\tif ( support.cors || xhrSupported && !options.crossDomain ) {\n\t\treturn {\n\t\t\tsend: function( headers, complete ) {\n\t\t\t\tvar i,\n\t\t\t\t\txhr = options.xhr();\n\n\t\t\t\txhr.open(\n\t\t\t\t\toptions.type,\n\t\t\t\t\toptions.url,\n\t\t\t\t\toptions.async,\n\t\t\t\t\toptions.username,\n\t\t\t\t\toptions.password\n\t\t\t\t);\n\n\t\t\t\t// Apply custom fields if provided\n\t\t\t\tif ( options.xhrFields ) {\n\t\t\t\t\tfor ( i in options.xhrFields ) {\n\t\t\t\t\t\txhr[ i ] = options.xhrFields[ i ];\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Override mime type if needed\n\t\t\t\tif ( options.mimeType && xhr.overrideMimeType ) {\n\t\t\t\t\txhr.overrideMimeType( options.mimeType );\n\t\t\t\t}\n\n\t\t\t\t// X-Requested-With header\n\t\t\t\t// For cross-domain requests, seeing as conditions for a preflight are\n\t\t\t\t// akin to a jigsaw puzzle, we simply never set it to be sure.\n\t\t\t\t// (it can always be set on a per-request basis or even using ajaxSetup)\n\t\t\t\t// For same-domain requests, won't change header if already provided.\n\t\t\t\tif ( !options.crossDomain && !headers[ \"X-Requested-With\" ] ) {\n\t\t\t\t\theaders[ \"X-Requested-With\" ] = \"XMLHttpRequest\";\n\t\t\t\t}\n\n\t\t\t\t// Set headers\n\t\t\t\tfor ( i in headers ) {\n\t\t\t\t\txhr.setRequestHeader( i, headers[ i ] );\n\t\t\t\t}\n\n\t\t\t\t// Callback\n\t\t\t\tcallback = function( type ) {\n\t\t\t\t\treturn function() {\n\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\tcallback = errorCallback = xhr.onload =\n\t\t\t\t\t\t\t\txhr.onerror = xhr.onabort = xhr.onreadystatechange = null;\n\n\t\t\t\t\t\t\tif ( type === \"abort\" ) {\n\t\t\t\t\t\t\t\txhr.abort();\n\t\t\t\t\t\t\t} else if ( type === \"error\" ) {\n\n\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t// On a manual native abort, IE9 throws\n\t\t\t\t\t\t\t\t// errors on any property access that is not readyState\n\t\t\t\t\t\t\t\tif ( typeof xhr.status !== \"number\" ) {\n\t\t\t\t\t\t\t\t\tcomplete( 0, \"error\" );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tcomplete(\n\n\t\t\t\t\t\t\t\t\t\t// File: protocol always yields status 0; see #8605, #14207\n\t\t\t\t\t\t\t\t\t\txhr.status,\n\t\t\t\t\t\t\t\t\t\txhr.statusText\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcomplete(\n\t\t\t\t\t\t\t\t\txhrSuccessStatus[ xhr.status ] || xhr.status,\n\t\t\t\t\t\t\t\t\txhr.statusText,\n\n\t\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t\t// IE9 has no XHR2 but throws on binary (trac-11426)\n\t\t\t\t\t\t\t\t\t// For XHR2 non-text, let the caller handle it (gh-2498)\n\t\t\t\t\t\t\t\t\t( xhr.responseType || \"text\" ) !== \"text\"  ||\n\t\t\t\t\t\t\t\t\ttypeof xhr.responseText !== \"string\" ?\n\t\t\t\t\t\t\t\t\t\t{ binary: xhr.response } :\n\t\t\t\t\t\t\t\t\t\t{ text: xhr.responseText },\n\t\t\t\t\t\t\t\t\txhr.getAllResponseHeaders()\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t};\n\n\t\t\t\t// Listen to events\n\t\t\t\txhr.onload = callback();\n\t\t\t\terrorCallback = xhr.onerror = callback( \"error\" );\n\n\t\t\t\t// Support: IE 9 only\n\t\t\t\t// Use onreadystatechange to replace onabort\n\t\t\t\t// to handle uncaught aborts\n\t\t\t\tif ( xhr.onabort !== undefined ) {\n\t\t\t\t\txhr.onabort = errorCallback;\n\t\t\t\t} else {\n\t\t\t\t\txhr.onreadystatechange = function() {\n\n\t\t\t\t\t\t// Check readyState before timeout as it changes\n\t\t\t\t\t\tif ( xhr.readyState === 4 ) {\n\n\t\t\t\t\t\t\t// Allow onerror to be called first,\n\t\t\t\t\t\t\t// but that will not handle a native abort\n\t\t\t\t\t\t\t// Also, save errorCallback to a variable\n\t\t\t\t\t\t\t// as xhr.onerror cannot be accessed\n\t\t\t\t\t\t\twindow.setTimeout( function() {\n\t\t\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\t\t\terrorCallback();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\t// Create the abort callback\n\t\t\t\tcallback = callback( \"abort\" );\n\n\t\t\t\ttry {\n\n\t\t\t\t\t// Do send the request (this may raise an exception)\n\t\t\t\t\txhr.send( options.hasContent && options.data || null );\n\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t// #14683: Only rethrow if this hasn't been notified as an error yet\n\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\tthrow e;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\n// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)\njQuery.ajaxPrefilter( function( s ) {\n\tif ( s.crossDomain ) {\n\t\ts.contents.script = false;\n\t}\n} );\n\n// Install script dataType\njQuery.ajaxSetup( {\n\taccepts: {\n\t\tscript: \"text/javascript, application/javascript, \" +\n\t\t\t\"application/ecmascript, application/x-ecmascript\"\n\t},\n\tcontents: {\n\t\tscript: /\\b(?:java|ecma)script\\b/\n\t},\n\tconverters: {\n\t\t\"text script\": function( text ) {\n\t\t\tjQuery.globalEval( text );\n\t\t\treturn text;\n\t\t}\n\t}\n} );\n\n// Handle cache's special case and crossDomain\njQuery.ajaxPrefilter( \"script\", function( s ) {\n\tif ( s.cache === undefined ) {\n\t\ts.cache = false;\n\t}\n\tif ( s.crossDomain ) {\n\t\ts.type = \"GET\";\n\t}\n} );\n\n// Bind script tag hack transport\njQuery.ajaxTransport( \"script\", function( s ) {\n\n\t// This transport only deals with cross domain requests\n\tif ( s.crossDomain ) {\n\t\tvar script, callback;\n\t\treturn {\n\t\t\tsend: function( _, complete ) {\n\t\t\t\tscript = jQuery( \"<script>\" ).prop( {\n\t\t\t\t\tcharset: s.scriptCharset,\n\t\t\t\t\tsrc: s.url\n\t\t\t\t} ).on(\n\t\t\t\t\t\"load error\",\n\t\t\t\t\tcallback = function( evt ) {\n\t\t\t\t\t\tscript.remove();\n\t\t\t\t\t\tcallback = null;\n\t\t\t\t\t\tif ( evt ) {\n\t\t\t\t\t\t\tcomplete( evt.type === \"error\" ? 404 : 200, evt.type );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\n\t\t\t\t// Use native DOM manipulation to avoid our domManip AJAX trickery\n\t\t\t\tdocument.head.appendChild( script[ 0 ] );\n\t\t\t},\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\nvar oldCallbacks = [],\n\trjsonp = /(=)\\?(?=&|$)|\\?\\?/;\n\n// Default jsonp settings\njQuery.ajaxSetup( {\n\tjsonp: \"callback\",\n\tjsonpCallback: function() {\n\t\tvar callback = oldCallbacks.pop() || ( jQuery.expando + \"_\" + ( nonce++ ) );\n\t\tthis[ callback ] = true;\n\t\treturn callback;\n\t}\n} );\n\n// Detect, normalize options and install callbacks for jsonp requests\njQuery.ajaxPrefilter( \"json jsonp\", function( s, originalSettings, jqXHR ) {\n\n\tvar callbackName, overwritten, responseContainer,\n\t\tjsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?\n\t\t\t\"url\" :\n\t\t\ttypeof s.data === \"string\" &&\n\t\t\t\t( s.contentType || \"\" )\n\t\t\t\t\t.indexOf( \"application/x-www-form-urlencoded\" ) === 0 &&\n\t\t\t\trjsonp.test( s.data ) && \"data\"\n\t\t);\n\n\t// Handle iff the expected data type is \"jsonp\" or we have a parameter to set\n\tif ( jsonProp || s.dataTypes[ 0 ] === \"jsonp\" ) {\n\n\t\t// Get callback name, remembering preexisting value associated with it\n\t\tcallbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ?\n\t\t\ts.jsonpCallback() :\n\t\t\ts.jsonpCallback;\n\n\t\t// Insert callback into url or form data\n\t\tif ( jsonProp ) {\n\t\t\ts[ jsonProp ] = s[ jsonProp ].replace( rjsonp, \"$1\" + callbackName );\n\t\t} else if ( s.jsonp !== false ) {\n\t\t\ts.url += ( rquery.test( s.url ) ? \"&\" : \"?\" ) + s.jsonp + \"=\" + callbackName;\n\t\t}\n\n\t\t// Use data converter to retrieve json after script execution\n\t\ts.converters[ \"script json\" ] = function() {\n\t\t\tif ( !responseContainer ) {\n\t\t\t\tjQuery.error( callbackName + \" was not called\" );\n\t\t\t}\n\t\t\treturn responseContainer[ 0 ];\n\t\t};\n\n\t\t// Force json dataType\n\t\ts.dataTypes[ 0 ] = \"json\";\n\n\t\t// Install callback\n\t\toverwritten = window[ callbackName ];\n\t\twindow[ callbackName ] = function() {\n\t\t\tresponseContainer = arguments;\n\t\t};\n\n\t\t// Clean-up function (fires after converters)\n\t\tjqXHR.always( function() {\n\n\t\t\t// If previous value didn't exist - remove it\n\t\t\tif ( overwritten === undefined ) {\n\t\t\t\tjQuery( window ).removeProp( callbackName );\n\n\t\t\t// Otherwise restore preexisting value\n\t\t\t} else {\n\t\t\t\twindow[ callbackName ] = overwritten;\n\t\t\t}\n\n\t\t\t// Save back as free\n\t\t\tif ( s[ callbackName ] ) {\n\n\t\t\t\t// Make sure that re-using the options doesn't screw things around\n\t\t\t\ts.jsonpCallback = originalSettings.jsonpCallback;\n\n\t\t\t\t// Save the callback name for future use\n\t\t\t\toldCallbacks.push( callbackName );\n\t\t\t}\n\n\t\t\t// Call if it was a function and we have a response\n\t\t\tif ( responseContainer && jQuery.isFunction( overwritten ) ) {\n\t\t\t\toverwritten( responseContainer[ 0 ] );\n\t\t\t}\n\n\t\t\tresponseContainer = overwritten = undefined;\n\t\t} );\n\n\t\t// Delegate to script\n\t\treturn \"script\";\n\t}\n} );\n\n\n\n\n// Support: Safari 8 only\n// In Safari 8 documents created via document.implementation.createHTMLDocument\n// collapse sibling forms: the second one becomes a child of the first one.\n// Because of that, this security measure has to be disabled in Safari 8.\n// https://bugs.webkit.org/show_bug.cgi?id=137337\nsupport.createHTMLDocument = ( function() {\n\tvar body = document.implementation.createHTMLDocument( \"\" ).body;\n\tbody.innerHTML = \"<form></form><form></form>\";\n\treturn body.childNodes.length === 2;\n} )();\n\n\n// Argument \"data\" should be string of html\n// context (optional): If specified, the fragment will be created in this context,\n// defaults to document\n// keepScripts (optional): If true, will include scripts passed in the html string\njQuery.parseHTML = function( data, context, keepScripts ) {\n\tif ( typeof data !== \"string\" ) {\n\t\treturn [];\n\t}\n\tif ( typeof context === \"boolean\" ) {\n\t\tkeepScripts = context;\n\t\tcontext = false;\n\t}\n\n\tvar base, parsed, scripts;\n\n\tif ( !context ) {\n\n\t\t// Stop scripts or inline event handlers from being executed immediately\n\t\t// by using document.implementation\n\t\tif ( support.createHTMLDocument ) {\n\t\t\tcontext = document.implementation.createHTMLDocument( \"\" );\n\n\t\t\t// Set the base href for the created document\n\t\t\t// so any parsed elements with URLs\n\t\t\t// are based on the document's URL (gh-2965)\n\t\t\tbase = context.createElement( \"base\" );\n\t\t\tbase.href = document.location.href;\n\t\t\tcontext.head.appendChild( base );\n\t\t} else {\n\t\t\tcontext = document;\n\t\t}\n\t}\n\n\tparsed = rsingleTag.exec( data );\n\tscripts = !keepScripts && [];\n\n\t// Single tag\n\tif ( parsed ) {\n\t\treturn [ context.createElement( parsed[ 1 ] ) ];\n\t}\n\n\tparsed = buildFragment( [ data ], context, scripts );\n\n\tif ( scripts && scripts.length ) {\n\t\tjQuery( scripts ).remove();\n\t}\n\n\treturn jQuery.merge( [], parsed.childNodes );\n};\n\n\n/**\n * Load a url into a page\n */\njQuery.fn.load = function( url, params, callback ) {\n\tvar selector, type, response,\n\t\tself = this,\n\t\toff = url.indexOf( \" \" );\n\n\tif ( off > -1 ) {\n\t\tselector = stripAndCollapse( url.slice( off ) );\n\t\turl = url.slice( 0, off );\n\t}\n\n\t// If it's a function\n\tif ( jQuery.isFunction( params ) ) {\n\n\t\t// We assume that it's the callback\n\t\tcallback = params;\n\t\tparams = undefined;\n\n\t// Otherwise, build a param string\n\t} else if ( params && typeof params === \"object\" ) {\n\t\ttype = \"POST\";\n\t}\n\n\t// If we have elements to modify, make the request\n\tif ( self.length > 0 ) {\n\t\tjQuery.ajax( {\n\t\t\turl: url,\n\n\t\t\t// If \"type\" variable is undefined, then \"GET\" method will be used.\n\t\t\t// Make value of this field explicit since\n\t\t\t// user can override it through ajaxSetup method\n\t\t\ttype: type || \"GET\",\n\t\t\tdataType: \"html\",\n\t\t\tdata: params\n\t\t} ).done( function( responseText ) {\n\n\t\t\t// Save response for use in complete callback\n\t\t\tresponse = arguments;\n\n\t\t\tself.html( selector ?\n\n\t\t\t\t// If a selector was specified, locate the right elements in a dummy div\n\t\t\t\t// Exclude scripts to avoid IE 'Permission Denied' errors\n\t\t\t\tjQuery( \"<div>\" ).append( jQuery.parseHTML( responseText ) ).find( selector ) :\n\n\t\t\t\t// Otherwise use the full result\n\t\t\t\tresponseText );\n\n\t\t// If the request succeeds, this function gets \"data\", \"status\", \"jqXHR\"\n\t\t// but they are ignored because response was set above.\n\t\t// If it fails, this function gets \"jqXHR\", \"status\", \"error\"\n\t\t} ).always( callback && function( jqXHR, status ) {\n\t\t\tself.each( function() {\n\t\t\t\tcallback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] );\n\t\t\t} );\n\t\t} );\n\t}\n\n\treturn this;\n};\n\n\n\n\n// Attach a bunch of functions for handling common AJAX events\njQuery.each( [\n\t\"ajaxStart\",\n\t\"ajaxStop\",\n\t\"ajaxComplete\",\n\t\"ajaxError\",\n\t\"ajaxSuccess\",\n\t\"ajaxSend\"\n], function( i, type ) {\n\tjQuery.fn[ type ] = function( fn ) {\n\t\treturn this.on( type, fn );\n\t};\n} );\n\n\n\n\njQuery.expr.pseudos.animated = function( elem ) {\n\treturn jQuery.grep( jQuery.timers, function( fn ) {\n\t\treturn elem === fn.elem;\n\t} ).length;\n};\n\n\n\n\njQuery.offset = {\n\tsetOffset: function( elem, options, i ) {\n\t\tvar curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,\n\t\t\tposition = jQuery.css( elem, \"position\" ),\n\t\t\tcurElem = jQuery( elem ),\n\t\t\tprops = {};\n\n\t\t// Set position first, in-case top/left are set even on static elem\n\t\tif ( position === \"static\" ) {\n\t\t\telem.style.position = \"relative\";\n\t\t}\n\n\t\tcurOffset = curElem.offset();\n\t\tcurCSSTop = jQuery.css( elem, \"top\" );\n\t\tcurCSSLeft = jQuery.css( elem, \"left\" );\n\t\tcalculatePosition = ( position === \"absolute\" || position === \"fixed\" ) &&\n\t\t\t( curCSSTop + curCSSLeft ).indexOf( \"auto\" ) > -1;\n\n\t\t// Need to be able to calculate position if either\n\t\t// top or left is auto and position is either absolute or fixed\n\t\tif ( calculatePosition ) {\n\t\t\tcurPosition = curElem.position();\n\t\t\tcurTop = curPosition.top;\n\t\t\tcurLeft = curPosition.left;\n\n\t\t} else {\n\t\t\tcurTop = parseFloat( curCSSTop ) || 0;\n\t\t\tcurLeft = parseFloat( curCSSLeft ) || 0;\n\t\t}\n\n\t\tif ( jQuery.isFunction( options ) ) {\n\n\t\t\t// Use jQuery.extend here to allow modification of coordinates argument (gh-1848)\n\t\t\toptions = options.call( elem, i, jQuery.extend( {}, curOffset ) );\n\t\t}\n\n\t\tif ( options.top != null ) {\n\t\t\tprops.top = ( options.top - curOffset.top ) + curTop;\n\t\t}\n\t\tif ( options.left != null ) {\n\t\t\tprops.left = ( options.left - curOffset.left ) + curLeft;\n\t\t}\n\n\t\tif ( \"using\" in options ) {\n\t\t\toptions.using.call( elem, props );\n\n\t\t} else {\n\t\t\tcurElem.css( props );\n\t\t}\n\t}\n};\n\njQuery.fn.extend( {\n\toffset: function( options ) {\n\n\t\t// Preserve chaining for setter\n\t\tif ( arguments.length ) {\n\t\t\treturn options === undefined ?\n\t\t\t\tthis :\n\t\t\t\tthis.each( function( i ) {\n\t\t\t\t\tjQuery.offset.setOffset( this, options, i );\n\t\t\t\t} );\n\t\t}\n\n\t\tvar doc, docElem, rect, win,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !elem ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Return zeros for disconnected and hidden (display: none) elements (gh-2310)\n\t\t// Support: IE <=11 only\n\t\t// Running getBoundingClientRect on a\n\t\t// disconnected node in IE throws an error\n\t\tif ( !elem.getClientRects().length ) {\n\t\t\treturn { top: 0, left: 0 };\n\t\t}\n\n\t\trect = elem.getBoundingClientRect();\n\n\t\tdoc = elem.ownerDocument;\n\t\tdocElem = doc.documentElement;\n\t\twin = doc.defaultView;\n\n\t\treturn {\n\t\t\ttop: rect.top + win.pageYOffset - docElem.clientTop,\n\t\t\tleft: rect.left + win.pageXOffset - docElem.clientLeft\n\t\t};\n\t},\n\n\tposition: function() {\n\t\tif ( !this[ 0 ] ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar offsetParent, offset,\n\t\t\telem = this[ 0 ],\n\t\t\tparentOffset = { top: 0, left: 0 };\n\n\t\t// Fixed elements are offset from window (parentOffset = {top:0, left: 0},\n\t\t// because it is its only offset parent\n\t\tif ( jQuery.css( elem, \"position\" ) === \"fixed\" ) {\n\n\t\t\t// Assume getBoundingClientRect is there when computed position is fixed\n\t\t\toffset = elem.getBoundingClientRect();\n\n\t\t} else {\n\n\t\t\t// Get *real* offsetParent\n\t\t\toffsetParent = this.offsetParent();\n\n\t\t\t// Get correct offsets\n\t\t\toffset = this.offset();\n\t\t\tif ( !nodeName( offsetParent[ 0 ], \"html\" ) ) {\n\t\t\t\tparentOffset = offsetParent.offset();\n\t\t\t}\n\n\t\t\t// Add offsetParent borders\n\t\t\tparentOffset = {\n\t\t\t\ttop: parentOffset.top + jQuery.css( offsetParent[ 0 ], \"borderTopWidth\", true ),\n\t\t\t\tleft: parentOffset.left + jQuery.css( offsetParent[ 0 ], \"borderLeftWidth\", true )\n\t\t\t};\n\t\t}\n\n\t\t// Subtract parent offsets and element margins\n\t\treturn {\n\t\t\ttop: offset.top - parentOffset.top - jQuery.css( elem, \"marginTop\", true ),\n\t\t\tleft: offset.left - parentOffset.left - jQuery.css( elem, \"marginLeft\", true )\n\t\t};\n\t},\n\n\t// This method will return documentElement in the following cases:\n\t// 1) For the element inside the iframe without offsetParent, this method will return\n\t//    documentElement of the parent window\n\t// 2) For the hidden or detached element\n\t// 3) For body or html element, i.e. in case of the html node - it will return itself\n\t//\n\t// but those exceptions were never presented as a real life use-cases\n\t// and might be considered as more preferable results.\n\t//\n\t// This logic, however, is not guaranteed and can change at any point in the future\n\toffsetParent: function() {\n\t\treturn this.map( function() {\n\t\t\tvar offsetParent = this.offsetParent;\n\n\t\t\twhile ( offsetParent && jQuery.css( offsetParent, \"position\" ) === \"static\" ) {\n\t\t\t\toffsetParent = offsetParent.offsetParent;\n\t\t\t}\n\n\t\t\treturn offsetParent || documentElement;\n\t\t} );\n\t}\n} );\n\n// Create scrollLeft and scrollTop methods\njQuery.each( { scrollLeft: \"pageXOffset\", scrollTop: \"pageYOffset\" }, function( method, prop ) {\n\tvar top = \"pageYOffset\" === prop;\n\n\tjQuery.fn[ method ] = function( val ) {\n\t\treturn access( this, function( elem, method, val ) {\n\n\t\t\t// Coalesce documents and windows\n\t\t\tvar win;\n\t\t\tif ( jQuery.isWindow( elem ) ) {\n\t\t\t\twin = elem;\n\t\t\t} else if ( elem.nodeType === 9 ) {\n\t\t\t\twin = elem.defaultView;\n\t\t\t}\n\n\t\t\tif ( val === undefined ) {\n\t\t\t\treturn win ? win[ prop ] : elem[ method ];\n\t\t\t}\n\n\t\t\tif ( win ) {\n\t\t\t\twin.scrollTo(\n\t\t\t\t\t!top ? val : win.pageXOffset,\n\t\t\t\t\ttop ? val : win.pageYOffset\n\t\t\t\t);\n\n\t\t\t} else {\n\t\t\t\telem[ method ] = val;\n\t\t\t}\n\t\t}, method, val, arguments.length );\n\t};\n} );\n\n// Support: Safari <=7 - 9.1, Chrome <=37 - 49\n// Add the top/left cssHooks using jQuery.fn.position\n// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084\n// Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347\n// getComputedStyle returns percent when specified for top/left/bottom/right;\n// rather than make the css module depend on the offset module, just check for it here\njQuery.each( [ \"top\", \"left\" ], function( i, prop ) {\n\tjQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,\n\t\tfunction( elem, computed ) {\n\t\t\tif ( computed ) {\n\t\t\t\tcomputed = curCSS( elem, prop );\n\n\t\t\t\t// If curCSS returns percentage, fallback to offset\n\t\t\t\treturn rnumnonpx.test( computed ) ?\n\t\t\t\t\tjQuery( elem ).position()[ prop ] + \"px\" :\n\t\t\t\t\tcomputed;\n\t\t\t}\n\t\t}\n\t);\n} );\n\n\n// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods\njQuery.each( { Height: \"height\", Width: \"width\" }, function( name, type ) {\n\tjQuery.each( { padding: \"inner\" + name, content: type, \"\": \"outer\" + name },\n\t\tfunction( defaultExtra, funcName ) {\n\n\t\t// Margin is only for outerHeight, outerWidth\n\t\tjQuery.fn[ funcName ] = function( margin, value ) {\n\t\t\tvar chainable = arguments.length && ( defaultExtra || typeof margin !== \"boolean\" ),\n\t\t\t\textra = defaultExtra || ( margin === true || value === true ? \"margin\" : \"border\" );\n\n\t\t\treturn access( this, function( elem, type, value ) {\n\t\t\t\tvar doc;\n\n\t\t\t\tif ( jQuery.isWindow( elem ) ) {\n\n\t\t\t\t\t// $( window ).outerWidth/Height return w/h including scrollbars (gh-1729)\n\t\t\t\t\treturn funcName.indexOf( \"outer\" ) === 0 ?\n\t\t\t\t\t\telem[ \"inner\" + name ] :\n\t\t\t\t\t\telem.document.documentElement[ \"client\" + name ];\n\t\t\t\t}\n\n\t\t\t\t// Get document width or height\n\t\t\t\tif ( elem.nodeType === 9 ) {\n\t\t\t\t\tdoc = elem.documentElement;\n\n\t\t\t\t\t// Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],\n\t\t\t\t\t// whichever is greatest\n\t\t\t\t\treturn Math.max(\n\t\t\t\t\t\telem.body[ \"scroll\" + name ], doc[ \"scroll\" + name ],\n\t\t\t\t\t\telem.body[ \"offset\" + name ], doc[ \"offset\" + name ],\n\t\t\t\t\t\tdoc[ \"client\" + name ]\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\treturn value === undefined ?\n\n\t\t\t\t\t// Get width or height on the element, requesting but not forcing parseFloat\n\t\t\t\t\tjQuery.css( elem, type, extra ) :\n\n\t\t\t\t\t// Set width or height on the element\n\t\t\t\t\tjQuery.style( elem, type, value, extra );\n\t\t\t}, type, chainable ? margin : undefined, chainable );\n\t\t};\n\t} );\n} );\n\n\njQuery.fn.extend( {\n\n\tbind: function( types, data, fn ) {\n\t\treturn this.on( types, null, data, fn );\n\t},\n\tunbind: function( types, fn ) {\n\t\treturn this.off( types, null, fn );\n\t},\n\n\tdelegate: function( selector, types, data, fn ) {\n\t\treturn this.on( types, selector, data, fn );\n\t},\n\tundelegate: function( selector, types, fn ) {\n\n\t\t// ( namespace ) or ( selector, types [, fn] )\n\t\treturn arguments.length === 1 ?\n\t\t\tthis.off( selector, \"**\" ) :\n\t\t\tthis.off( types, selector || \"**\", fn );\n\t}\n} );\n\njQuery.holdReady = function( hold ) {\n\tif ( hold ) {\n\t\tjQuery.readyWait++;\n\t} else {\n\t\tjQuery.ready( true );\n\t}\n};\njQuery.isArray = Array.isArray;\njQuery.parseJSON = JSON.parse;\njQuery.nodeName = nodeName;\n\n\n\n\n// Register as a named AMD module, since jQuery can be concatenated with other\n// files that may use define, but not via a proper concatenation script that\n// understands anonymous AMD modules. A named AMD is safest and most robust\n// way to register. Lowercase jquery is used because AMD module names are\n// derived from file names, and jQuery is normally delivered in a lowercase\n// file name. Do this after creating the global so that if an AMD module wants\n// to call noConflict to hide this version of jQuery, it will work.\n\n// Note that for maximum portability, libraries that are not jQuery should\n// declare themselves as anonymous modules, and avoid setting a global if an\n// AMD loader is present. jQuery is a special case. For more information, see\n// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon\n\nif ( typeof define === \"function\" && define.amd ) {\n\tdefine( \"jquery\", [], function() {\n\t\treturn jQuery;\n\t} );\n}\n\n\n\n\nvar\n\n\t// Map over jQuery in case of overwrite\n\t_jQuery = window.jQuery,\n\n\t// Map over the $ in case of overwrite\n\t_$ = window.$;\n\njQuery.noConflict = function( deep ) {\n\tif ( window.$ === jQuery ) {\n\t\twindow.$ = _$;\n\t}\n\n\tif ( deep && window.jQuery === jQuery ) {\n\t\twindow.jQuery = _jQuery;\n\t}\n\n\treturn jQuery;\n};\n\n// Expose jQuery and $ identifiers, even in AMD\n// (#7102#comment:10, https://github.com/jquery/jquery/pull/557)\n// and CommonJS for browser emulators (#13566)\nif ( !noGlobal ) {\n\twindow.jQuery = window.$ = jQuery;\n}\n\n\n\n\nreturn jQuery;\n} );\n",";(function() {\n/*!\n * @overview  Ember - JavaScript Application Framework\n * @copyright Copyright 2011-2017 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   2.13.4\n */\n\nvar enifed, requireModule, Ember;\nvar mainContext = this; // Used in ember-environment/lib/global.js\n\n(function() {\n  var isNode = typeof window === 'undefined' &&\n    typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';\n\n  if (!isNode) {\n    Ember = this.Ember = this.Ember || {};\n  }\n\n  if (typeof Ember === 'undefined') { Ember = {}; }\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    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    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\nfunction classCallCheck(instance, Constructor) {\n  if (!(instance instanceof Constructor)) {\n    throw new TypeError('Cannot call a class as a function');\n  }\n}\n\nfunction inherits(subClass, superClass) {\n  if (typeof superClass !== 'function' && superClass !== null) {\n    throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass);\n  }\n\n  subClass.prototype = Object.create(superClass && superClass.prototype, {\n    constructor: {\n      value: subClass,\n      enumerable: false,\n      writable: true,\n      configurable: true\n    }\n  });\n\n  if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : defaults(subClass, superClass);\n}\n\nfunction taggedTemplateLiteralLoose(strings, raw) {\n  strings.raw = raw;\n  return strings;\n}\n\nfunction defineProperties(target, props) {\n  for (var i = 0; i < props.length; i++) {\n    var descriptor = props[i];\n    descriptor.enumerable = descriptor.enumerable || false;\n    descriptor.configurable = true;\n    if ('value' in descriptor) descriptor.writable = true;\n    Object.defineProperty(target, descriptor.key, descriptor);\n  }\n}\n\nfunction createClass(Constructor, protoProps, staticProps) {\n  if (protoProps) defineProperties(Constructor.prototype, protoProps);\n  if (staticProps) defineProperties(Constructor, staticProps);\n  return Constructor;\n}\n\nfunction interopExportWildcard(obj, defaults) {\n  var newObj = defaults({}, obj);\n  delete newObj['default'];\n  return newObj;\n}\n\nfunction defaults(obj, defaults) {\n  var keys = Object.getOwnPropertyNames(defaults);\n  for (var i = 0; i < keys.length; i++) {\n    var key = keys[i];\n    var value = Object.getOwnPropertyDescriptor(defaults, key);\n    if (value && value.configurable && obj[key] === undefined) {\n      Object.defineProperty(obj, key, value);\n    }\n  }\n  return obj;\n}\n\nvar babelHelpers = {\n  classCallCheck: classCallCheck,\n  inherits: inherits,\n  taggedTemplateLiteralLoose: taggedTemplateLiteralLoose,\n  slice: Array.prototype.slice,\n  createClass: createClass,\n  interopExportWildcard: interopExportWildcard,\n  defaults: defaults\n};\n\nenifed('@glimmer/di', ['exports', '@glimmer/util'], function (exports, _glimmerUtil) {\n    'use strict';\n\n    var Container = (function () {\n        function Container(registry) {\n            var resolver = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];\n\n            this._registry = registry;\n            this._resolver = resolver;\n            this._lookups = _glimmerUtil.dict();\n            this._factoryLookups = _glimmerUtil.dict();\n        }\n\n        Container.prototype.factoryFor = function factoryFor(specifier) {\n            var factory = this._factoryLookups[specifier];\n            if (!factory) {\n                if (this._resolver) {\n                    factory = this._resolver.retrieve(specifier);\n                }\n                if (!factory) {\n                    factory = this._registry.registration(specifier);\n                }\n                if (factory) {\n                    this._factoryLookups[specifier] = factory;\n                }\n            }\n            return factory;\n        };\n\n        Container.prototype.lookup = function lookup(specifier) {\n            var singleton = this._registry.registeredOption(specifier, 'singleton') !== false;\n            if (singleton && this._lookups[specifier]) {\n                return this._lookups[specifier];\n            }\n            var factory = this.factoryFor(specifier);\n            if (!factory) {\n                return;\n            }\n            if (this._registry.registeredOption(specifier, 'instantiate') === false) {\n                return factory;\n            }\n            var injections = this.buildInjections(specifier);\n            var object = factory.create(injections);\n            if (singleton && object) {\n                this._lookups[specifier] = object;\n            }\n            return object;\n        };\n\n        Container.prototype.defaultInjections = function defaultInjections(specifier) {\n            return {};\n        };\n\n        Container.prototype.buildInjections = function buildInjections(specifier) {\n            var hash = this.defaultInjections(specifier);\n            var injections = this._registry.registeredInjections(specifier);\n            var injection = undefined;\n            for (var i = 0; i < injections.length; i++) {\n                injection = injections[i];\n                hash[injection.property] = this.lookup(injection.source);\n            }\n            return hash;\n        };\n\n        return Container;\n    })();\n\n    var Registry = (function () {\n        function Registry() {\n            this._registrations = _glimmerUtil.dict();\n            this._registeredOptions = _glimmerUtil.dict();\n            this._registeredInjections = _glimmerUtil.dict();\n        }\n\n        // TODO - use symbol\n\n        Registry.prototype.register = function register(specifier, factory, options) {\n            this._registrations[specifier] = factory;\n            if (options) {\n                this._registeredOptions[specifier] = options;\n            }\n        };\n\n        Registry.prototype.registration = function registration(specifier) {\n            return this._registrations[specifier];\n        };\n\n        Registry.prototype.unregister = function unregister(specifier) {\n            delete this._registrations[specifier];\n            delete this._registeredOptions[specifier];\n            delete this._registeredInjections[specifier];\n        };\n\n        Registry.prototype.registerOption = function registerOption(specifier, option, value) {\n            var options = this._registeredOptions[specifier];\n            if (!options) {\n                options = {};\n                this._registeredOptions[specifier] = options;\n            }\n            options[option] = value;\n        };\n\n        Registry.prototype.registeredOption = function registeredOption(specifier, option) {\n            var options = this.registeredOptions(specifier);\n            if (options) {\n                return options[option];\n            }\n        };\n\n        Registry.prototype.registeredOptions = function registeredOptions(specifier) {\n            var options = this._registeredOptions[specifier];\n            if (options === undefined) {\n                var _specifier$split = specifier.split(':');\n\n                var type = _specifier$split[0];\n\n                options = this._registeredOptions[type];\n            }\n            return options;\n        };\n\n        Registry.prototype.unregisterOption = function unregisterOption(specifier, option) {\n            var options = this._registeredOptions[specifier];\n            if (options) {\n                delete options[option];\n            }\n        };\n\n        Registry.prototype.registerInjection = function registerInjection(specifier, property, source) {\n            var injections = this._registeredInjections[specifier];\n            if (injections === undefined) {\n                this._registeredInjections[specifier] = injections = [];\n            }\n            injections.push({\n                property: property,\n                source: source\n            });\n        };\n\n        Registry.prototype.registeredInjections = function registeredInjections(specifier) {\n            var _specifier$split2 = specifier.split(':');\n\n            var type = _specifier$split2[0];\n\n            var injections = [];\n            Array.prototype.push.apply(injections, this._registeredInjections[type]);\n            Array.prototype.push.apply(injections, this._registeredInjections[specifier]);\n            return injections;\n        };\n\n        return Registry;\n    })();\n\n    var OWNER = '__owner__';\n    function getOwner(object) {\n        return object[OWNER];\n    }\n    function setOwner(object, owner) {\n        object[OWNER] = owner;\n    }\n\n    function isSpecifierStringAbsolute(specifier) {\n        var _specifier$split3 = specifier.split(':');\n\n        var type = _specifier$split3[0];\n        var path = _specifier$split3[1];\n\n        return !!(type && path && path.indexOf('/') === 0 && path.split('/').length > 3);\n    }\n    function isSpecifierObjectAbsolute(specifier) {\n        return specifier.rootName !== undefined && specifier.collection !== undefined && specifier.name !== undefined && specifier.type !== undefined;\n    }\n    function serializeSpecifier(specifier) {\n        var type = specifier.type;\n        var path = serializeSpecifierPath(specifier);\n        if (path) {\n            return type + ':' + path;\n        } else {\n            return type;\n        }\n    }\n    function serializeSpecifierPath(specifier) {\n        var path = [];\n        if (specifier.rootName) {\n            path.push(specifier.rootName);\n        }\n        if (specifier.collection) {\n            path.push(specifier.collection);\n        }\n        if (specifier.namespace) {\n            path.push(specifier.namespace);\n        }\n        if (specifier.name) {\n            path.push(specifier.name);\n        }\n        if (path.length > 0) {\n            var fullPath = path.join('/');\n            if (isSpecifierObjectAbsolute(specifier)) {\n                fullPath = '/' + fullPath;\n            }\n            return fullPath;\n        }\n    }\n    function deserializeSpecifier(specifier) {\n        var obj = {};\n        if (specifier.indexOf(':') > -1) {\n            var _specifier$split4 = specifier.split(':');\n\n            var type = _specifier$split4[0];\n            var path = _specifier$split4[1];\n\n            obj.type = type;\n            var pathSegments = undefined;\n            if (path.indexOf('/') === 0) {\n                pathSegments = path.substr(1).split('/');\n                obj.rootName = pathSegments.shift();\n                obj.collection = pathSegments.shift();\n            } else {\n                pathSegments = path.split('/');\n            }\n            if (pathSegments.length > 0) {\n                obj.name = pathSegments.pop();\n                if (pathSegments.length > 0) {\n                    obj.namespace = pathSegments.join('/');\n                }\n            }\n        } else {\n            obj.type = specifier;\n        }\n        return obj;\n    }\n\n    exports.Container = Container;\n    exports.Registry = Registry;\n    exports.getOwner = getOwner;\n    exports.setOwner = setOwner;\n    exports.OWNER = OWNER;\n    exports.isSpecifierStringAbsolute = isSpecifierStringAbsolute;\n    exports.isSpecifierObjectAbsolute = isSpecifierObjectAbsolute;\n    exports.serializeSpecifier = serializeSpecifier;\n    exports.deserializeSpecifier = deserializeSpecifier;\n});\nenifed('@glimmer/node', ['exports', '@glimmer/runtime'], function (exports, _glimmerRuntime) {\n    'use strict';\n\n    var NodeDOMTreeConstruction = (function (_DOMTreeConstruction) {\n        babelHelpers.inherits(NodeDOMTreeConstruction, _DOMTreeConstruction);\n\n        function NodeDOMTreeConstruction(doc) {\n            _DOMTreeConstruction.call(this, doc);\n        }\n\n        // override to prevent usage of `this.document` until after the constructor\n\n        NodeDOMTreeConstruction.prototype.setupUselessElement = function setupUselessElement() {};\n\n        NodeDOMTreeConstruction.prototype.insertHTMLBefore = function insertHTMLBefore(parent, html, reference) {\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 _glimmerRuntime.ConcreteBounds(parent, first, last);\n        };\n\n        // override to avoid SVG detection/work when in node (this is not needed in SSR)\n\n        NodeDOMTreeConstruction.prototype.createElement = function createElement(tag) {\n            return this.document.createElement(tag);\n        };\n\n        // override to avoid namespace shenanigans when in node (this is not needed in SSR)\n\n        NodeDOMTreeConstruction.prototype.setAttribute = function setAttribute(element, name, value) {\n            element.setAttribute(name, value);\n        };\n\n        return NodeDOMTreeConstruction;\n    })(_glimmerRuntime.DOMTreeConstruction);\n\n    exports.NodeDOMTreeConstruction = NodeDOMTreeConstruction;\n});\nenifed(\"@glimmer/reference\", [\"exports\", \"@glimmer/util\"], function (exports, _glimmerUtil) {\n    \"use strict\";\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 validate(snapshot) {\n            return this.value() === snapshot;\n        };\n\n        return RevisionTag;\n    })();\n\n    var $REVISION = INITIAL;\n\n    var DirtyableTag = (function (_RevisionTag) {\n        babelHelpers.inherits(DirtyableTag, _RevisionTag);\n\n        function DirtyableTag() {\n            var revision = arguments.length <= 0 || arguments[0] === undefined ? $REVISION : arguments[0];\n\n            _RevisionTag.call(this);\n            this.revision = revision;\n        }\n\n        DirtyableTag.prototype.value = function value() {\n            return this.revision;\n        };\n\n        DirtyableTag.prototype.dirty = function dirty() {\n            this.revision = ++$REVISION;\n        };\n\n        return DirtyableTag;\n    })(RevisionTag);\n\n    function combineTagged(tagged) {\n        var optimized = [];\n        for (var i = 0, l = tagged.length; i < l; i++) {\n            var tag = tagged[i].tag;\n            if (tag === VOLATILE_TAG) return VOLATILE_TAG;\n            if (tag === CONSTANT_TAG) continue;\n            optimized.push(tag);\n        }\n        return _combine(optimized);\n    }\n    function combineSlice(slice) {\n        var optimized = [];\n        var node = slice.head();\n        while (node !== null) {\n            var tag = node.tag;\n            if (tag === VOLATILE_TAG) return VOLATILE_TAG;\n            if (tag !== CONSTANT_TAG) optimized.push(tag);\n            node = slice.nextNode(node);\n        }\n        return _combine(optimized);\n    }\n    function combine(tags) {\n        var optimized = [];\n        for (var i = 0, l = tags.length; i < l; i++) {\n            var tag = tags[i];\n            if (tag === VOLATILE_TAG) return VOLATILE_TAG;\n            if (tag === CONSTANT_TAG) continue;\n            optimized.push(tag);\n        }\n        return _combine(optimized);\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 new TagsPair(tags[0], tags[1]);\n            default:\n                return new TagsCombinator(tags);\n        }\n        ;\n    }\n\n    var CachedTag = (function (_RevisionTag2) {\n        babelHelpers.inherits(CachedTag, _RevisionTag2);\n\n        function CachedTag() {\n            _RevisionTag2.apply(this, arguments);\n            this.lastChecked = null;\n            this.lastValue = null;\n        }\n\n        CachedTag.prototype.value = function value() {\n            var lastChecked = this.lastChecked;\n            var 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 invalidate() {\n            this.lastChecked = null;\n        };\n\n        return CachedTag;\n    })(RevisionTag);\n\n    var TagsPair = (function (_CachedTag) {\n        babelHelpers.inherits(TagsPair, _CachedTag);\n\n        function TagsPair(first, second) {\n            _CachedTag.call(this);\n            this.first = first;\n            this.second = second;\n        }\n\n        TagsPair.prototype.compute = function compute() {\n            return Math.max(this.first.value(), this.second.value());\n        };\n\n        return TagsPair;\n    })(CachedTag);\n\n    var TagsCombinator = (function (_CachedTag2) {\n        babelHelpers.inherits(TagsCombinator, _CachedTag2);\n\n        function TagsCombinator(tags) {\n            _CachedTag2.call(this);\n            this.tags = tags;\n        }\n\n        TagsCombinator.prototype.compute = function compute() {\n            var tags = this.tags;\n\n            var max = -1;\n            for (var i = 0; i < tags.length; i++) {\n                var value = tags[i].value();\n                max = Math.max(value, max);\n            }\n            return max;\n        };\n\n        return TagsCombinator;\n    })(CachedTag);\n\n    var UpdatableTag = (function (_CachedTag3) {\n        babelHelpers.inherits(UpdatableTag, _CachedTag3);\n\n        function UpdatableTag(tag) {\n            _CachedTag3.call(this);\n            this.tag = tag;\n            this.lastUpdated = INITIAL;\n        }\n\n        //////////\n\n        UpdatableTag.prototype.compute = function compute() {\n            return Math.max(this.lastUpdated, this.tag.value());\n        };\n\n        UpdatableTag.prototype.update = function update(tag) {\n            if (tag !== this.tag) {\n                this.tag = tag;\n                this.lastUpdated = $REVISION;\n                this.invalidate();\n            }\n        };\n\n        return UpdatableTag;\n    })(CachedTag);\n\n    var CONSTANT_TAG = new ((function (_RevisionTag3) {\n        babelHelpers.inherits(ConstantTag, _RevisionTag3);\n\n        function ConstantTag() {\n            _RevisionTag3.apply(this, arguments);\n        }\n\n        ConstantTag.prototype.value = function value() {\n            return CONSTANT;\n        };\n\n        return ConstantTag;\n    })(RevisionTag))();\n    var VOLATILE_TAG = new ((function (_RevisionTag4) {\n        babelHelpers.inherits(VolatileTag, _RevisionTag4);\n\n        function VolatileTag() {\n            _RevisionTag4.apply(this, arguments);\n        }\n\n        VolatileTag.prototype.value = function value() {\n            return VOLATILE;\n        };\n\n        return VolatileTag;\n    })(RevisionTag))();\n    var CURRENT_TAG = new ((function (_DirtyableTag) {\n        babelHelpers.inherits(CurrentTag, _DirtyableTag);\n\n        function CurrentTag() {\n            _DirtyableTag.apply(this, arguments);\n        }\n\n        CurrentTag.prototype.value = function value() {\n            return $REVISION;\n        };\n\n        return CurrentTag;\n    })(DirtyableTag))();\n\n    var CachedReference = (function () {\n        function CachedReference() {\n            this.lastRevision = null;\n            this.lastValue = null;\n        }\n\n        CachedReference.prototype.value = function value() {\n            var tag = this.tag;\n            var lastRevision = this.lastRevision;\n            var lastValue = this.lastValue;\n\n            if (!lastRevision || !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 invalidate() {\n            this.lastRevision = null;\n        };\n\n        return CachedReference;\n    })();\n\n    var MapperReference = (function (_CachedReference) {\n        babelHelpers.inherits(MapperReference, _CachedReference);\n\n        function MapperReference(reference, mapper) {\n            _CachedReference.call(this);\n            this.tag = reference.tag;\n            this.reference = reference;\n            this.mapper = mapper;\n        }\n\n        MapperReference.prototype.compute = function compute() {\n            var reference = this.reference;\n            var mapper = this.mapper;\n\n            return mapper(reference.value());\n        };\n\n        return MapperReference;\n    })(CachedReference);\n\n    function map(reference, mapper) {\n        return new MapperReference(reference, mapper);\n    }\n    //////////\n\n    var ReferenceCache = (function () {\n        function ReferenceCache(reference) {\n            this.lastValue = null;\n            this.lastRevision = null;\n            this.initialized = false;\n            this.tag = reference.tag;\n            this.reference = reference;\n        }\n\n        ReferenceCache.prototype.peek = function peek() {\n            if (!this.initialized) {\n                return this.initialize();\n            }\n            return this.lastValue;\n        };\n\n        ReferenceCache.prototype.revalidate = function revalidate() {\n            if (!this.initialized) {\n                return this.initialize();\n            }\n            var reference = this.reference;\n            var 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 initialize() {\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    function isModified(value) {\n        return value !== NOT_MODIFIED;\n    }\n\n    var ConstReference = (function () {\n        function ConstReference(inner) {\n            this.inner = inner;\n            this.tag = CONSTANT_TAG;\n        }\n\n        ConstReference.prototype.value = function value() {\n            return this.inner;\n        };\n\n        return ConstReference;\n    })();\n\n    function isConst(reference) {\n        return reference.tag === CONSTANT_TAG;\n    }\n\n    var ListItem = (function (_ListNode) {\n        babelHelpers.inherits(ListItem, _ListNode);\n\n        function ListItem(iterable, result) {\n            _ListNode.call(this, iterable.valueReferenceFor(result));\n            this.retained = false;\n            this.seen = false;\n            this.key = result.key;\n            this.iterable = iterable;\n            this.memo = iterable.memoReferenceFor(result);\n        }\n\n        ListItem.prototype.update = function update(item) {\n            this.retained = true;\n            this.iterable.updateValueReference(this.value, item);\n            this.iterable.updateMemoReference(this.memo, item);\n        };\n\n        ListItem.prototype.shouldRemove = function shouldRemove() {\n            return !this.retained;\n        };\n\n        ListItem.prototype.reset = function reset() {\n            this.retained = false;\n            this.seen = false;\n        };\n\n        return ListItem;\n    })(_glimmerUtil.ListNode);\n\n    var IterationArtifacts = (function () {\n        function IterationArtifacts(iterable) {\n            this.map = _glimmerUtil.dict();\n            this.list = new _glimmerUtil.LinkedList();\n            this.tag = iterable.tag;\n            this.iterable = iterable;\n        }\n\n        IterationArtifacts.prototype.isEmpty = function isEmpty() {\n            var iterator = this.iterator = this.iterable.iterate();\n            return iterator.isEmpty();\n        };\n\n        IterationArtifacts.prototype.iterate = function iterate() {\n            var iterator = this.iterator || this.iterable.iterate();\n            this.iterator = null;\n            return iterator;\n        };\n\n        IterationArtifacts.prototype.has = function has(key) {\n            return !!this.map[key];\n        };\n\n        IterationArtifacts.prototype.get = function get(key) {\n            return this.map[key];\n        };\n\n        IterationArtifacts.prototype.wasSeen = function wasSeen(key) {\n            var node = this.map[key];\n            return node && node.seen;\n        };\n\n        IterationArtifacts.prototype.append = function append(item) {\n            var map = this.map;\n            var list = this.list;\n            var 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 insertBefore(item, reference) {\n            var map = this.map;\n            var list = this.list;\n            var 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 move(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 remove(item) {\n            var list = this.list;\n\n            list.remove(item);\n            delete this.map[item.key];\n        };\n\n        IterationArtifacts.prototype.nextNode = function nextNode(item) {\n            return this.list.nextNode(item);\n        };\n\n        IterationArtifacts.prototype.head = function head() {\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\n        function ReferenceIterator(iterable) {\n            this.iterator = null;\n            var artifacts = new IterationArtifacts(iterable);\n            this.artifacts = artifacts;\n        }\n\n        ReferenceIterator.prototype.next = function next() {\n            var artifacts = this.artifacts;\n\n            var iterator = this.iterator = this.iterator || artifacts.iterate();\n            var item = iterator.next();\n            if (!item) 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(_ref) {\n            var target = _ref.target;\n            var artifacts = _ref.artifacts;\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 sync() {\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 advanceToKey(key) {\n            var current = this.current;\n            var artifacts = this.artifacts;\n\n            var seek = current;\n            while (seek && seek.key !== key) {\n                seek.seen = true;\n                seek = artifacts.nextNode(seek);\n            }\n            this.current = seek && artifacts.nextNode(seek);\n        };\n\n        IteratorSynchronizer.prototype.nextAppend = function nextAppend() {\n            var iterator = this.iterator;\n            var current = this.current;\n            var 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 && 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 nextRetain(item) {\n            var artifacts = this.artifacts;\n            var current = this.current;\n\n            current = _glimmerUtil.expect(current, 'BUG: current is empty');\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 nextMove(item) {\n            var current = this.current;\n            var artifacts = this.artifacts;\n            var 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 nextInsert(item) {\n            var artifacts = this.artifacts;\n            var target = this.target;\n            var 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 startPrune() {\n            this.current = this.artifacts.head();\n            return Phase.Prune;\n        };\n\n        IteratorSynchronizer.prototype.nextPrune = function nextPrune() {\n            var artifacts = this.artifacts;\n            var target = this.target;\n            var 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 nextDone() {\n            this.target.done();\n        };\n\n        return IteratorSynchronizer;\n    })();\n\n    function referenceFromParts(root, parts) {\n        var reference = root;\n        for (var i = 0; i < parts.length; i++) {\n            reference = reference.get(parts[i]);\n        }\n        return reference;\n    }\n\n    exports.ConstReference = ConstReference;\n    exports.isConst = isConst;\n    exports.ListItem = ListItem;\n    exports.referenceFromParts = referenceFromParts;\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.DirtyableTag = DirtyableTag;\n    exports.combineTagged = combineTagged;\n    exports.combineSlice = combineSlice;\n    exports.combine = combine;\n    exports.CachedTag = CachedTag;\n    exports.UpdatableTag = UpdatableTag;\n    exports.CONSTANT_TAG = CONSTANT_TAG;\n    exports.VOLATILE_TAG = VOLATILE_TAG;\n    exports.CURRENT_TAG = CURRENT_TAG;\n    exports.CachedReference = CachedReference;\n    exports.map = map;\n    exports.ReferenceCache = ReferenceCache;\n    exports.isModified = isModified;\n});\nenifed('@glimmer/runtime',['exports','@glimmer/util','@glimmer/reference','@glimmer/wire-format'],function(exports,_glimmerUtil,_glimmerReference,_glimmerWireFormat){'use strict';var PrimitiveReference=(function(_ConstReference){babelHelpers.inherits(PrimitiveReference,_ConstReference);function PrimitiveReference(value){_ConstReference.call(this,value);}PrimitiveReference.create = function create(value){if(value === undefined){return UNDEFINED_REFERENCE;}else if(value === null){return NULL_REFERENCE;}else if(value === true){return TRUE_REFERENCE;}else if(value === false){return FALSE_REFERENCE;}else if(typeof value === 'number'){return new ValueReference(value);}else {return new StringReference(value);}};PrimitiveReference.prototype.get = function get(_key){return UNDEFINED_REFERENCE;};return PrimitiveReference;})(_glimmerReference.ConstReference);var StringReference=(function(_PrimitiveReference){babelHelpers.inherits(StringReference,_PrimitiveReference);function StringReference(){_PrimitiveReference.apply(this,arguments);this.lengthReference = null;}StringReference.prototype.get = function get(key){if(key === 'length'){var lengthReference=this.lengthReference;if(lengthReference === null){lengthReference = this.lengthReference = new ValueReference(this.inner.length);}return lengthReference;}else {return _PrimitiveReference.prototype.get.call(this,key);}};return StringReference;})(PrimitiveReference);var ValueReference=(function(_PrimitiveReference2){babelHelpers.inherits(ValueReference,_PrimitiveReference2);function ValueReference(value){_PrimitiveReference2.call(this,value);}return ValueReference;})(PrimitiveReference);var UNDEFINED_REFERENCE=new ValueReference(undefined);var NULL_REFERENCE=new ValueReference(null);var TRUE_REFERENCE=new ValueReference(true);var FALSE_REFERENCE=new ValueReference(false);var ConditionalReference=(function(){function ConditionalReference(inner){this.inner = inner;this.tag = inner.tag;}ConditionalReference.prototype.value = function value(){return this.toBool(this.inner.value());};ConditionalReference.prototype.toBool = function toBool(value){return !!value;};return ConditionalReference;})();var Constants=(function(){function Constants(){ // `0` means NULL\nthis.references = [];this.strings = [];this.expressions = [];this.arrays = [];this.blocks = [];this.functions = [];this.others = [];this.NULL_REFERENCE = this.reference(NULL_REFERENCE);this.UNDEFINED_REFERENCE = this.reference(UNDEFINED_REFERENCE);}Constants.prototype.getReference = function getReference(value){return this.references[value - 1];};Constants.prototype.reference = function reference(value){var index=this.references.length;this.references.push(value);return index + 1;};Constants.prototype.getString = function getString(value){return this.strings[value - 1];};Constants.prototype.string = function string(value){var index=this.strings.length;this.strings.push(value);return index + 1;};Constants.prototype.getExpression = function getExpression(value){return this.expressions[value - 1];};Constants.prototype.expression = function expression(value){var index=this.expressions.length;this.expressions.push(value);return index + 1;};Constants.prototype.getArray = function getArray(value){return this.arrays[value - 1];};Constants.prototype.array = function array(values){var index=this.arrays.length;this.arrays.push(values);return index + 1;};Constants.prototype.getBlock = function getBlock(value){return this.blocks[value - 1];};Constants.prototype.block = function block(_block2){var index=this.blocks.length;this.blocks.push(_block2);return index + 1;};Constants.prototype.getFunction = function getFunction(value){return this.functions[value - 1];};Constants.prototype.function = function _function(f){var index=this.functions.length;this.functions.push(f);return index + 1;};Constants.prototype.getOther = function getOther(value){return this.others[value - 1];};Constants.prototype.other = function other(_other){var index=this.others.length;this.others.push(_other);return index + 1;};return Constants;})();var AppendOpcodes=(function(){function AppendOpcodes(){this.evaluateOpcode = _glimmerUtil.fillNulls(51 /* EvaluatePartial */ + 1);}AppendOpcodes.prototype.add = function add(name,evaluate){this.evaluateOpcode[name] = evaluate;};AppendOpcodes.prototype.evaluate = function evaluate(vm,opcode){var func=this.evaluateOpcode[opcode.type];func(vm,opcode);};return AppendOpcodes;})();var APPEND_OPCODES=new AppendOpcodes();var AbstractOpcode=(function(){function AbstractOpcode(){_glimmerUtil.initializeGuid(this);}AbstractOpcode.prototype.toJSON = function toJSON(){return {guid:this._guid,type:this.type};};return AbstractOpcode;})();var UpdatingOpcode=(function(_AbstractOpcode){babelHelpers.inherits(UpdatingOpcode,_AbstractOpcode);function UpdatingOpcode(){_AbstractOpcode.apply(this,arguments);this.next = null;this.prev = null;}return UpdatingOpcode;})(AbstractOpcode);APPEND_OPCODES.add(20, /* OpenBlock */function(vm,_ref){var _getBlock=_ref.op1;var _args=_ref.op2;var inner=vm.constants.getOther(_getBlock);var rawArgs=vm.constants.getExpression(_args);var args=null;var block=inner.evaluate(vm);if(block){args = rawArgs.evaluate(vm);} // FIXME: can we avoid doing this when we don't have a block?\nvm.pushCallerScope();if(block){vm.invokeBlock(block,args || null);}});APPEND_OPCODES.add(21, /* CloseBlock */function(vm){return vm.popScope();});APPEND_OPCODES.add(0, /* PushChildScope */function(vm){return vm.pushChildScope();});APPEND_OPCODES.add(1, /* PopScope */function(vm){return vm.popScope();});APPEND_OPCODES.add(2, /* PushDynamicScope */function(vm){return vm.pushDynamicScope();});APPEND_OPCODES.add(3, /* PopDynamicScope */function(vm){return vm.popDynamicScope();});APPEND_OPCODES.add(4, /* Put */function(vm,_ref2){var reference=_ref2.op1;vm.frame.setOperand(vm.constants.getReference(reference));});APPEND_OPCODES.add(5, /* EvaluatePut */function(vm,_ref3){var expression=_ref3.op1;var expr=vm.constants.getExpression(expression);vm.evaluateOperand(expr);});APPEND_OPCODES.add(6, /* PutArgs */function(vm,_ref4){var args=_ref4.op1;vm.evaluateArgs(vm.constants.getExpression(args));});APPEND_OPCODES.add(7, /* BindPositionalArgs */function(vm,_ref5){var _symbols=_ref5.op1;var symbols=vm.constants.getArray(_symbols);vm.bindPositionalArgs(symbols);});APPEND_OPCODES.add(8, /* BindNamedArgs */function(vm,_ref6){var _names=_ref6.op1;var _symbols=_ref6.op2;var names=vm.constants.getArray(_names);var symbols=vm.constants.getArray(_symbols);vm.bindNamedArgs(names,symbols);});APPEND_OPCODES.add(9, /* BindBlocks */function(vm,_ref7){var _names=_ref7.op1;var _symbols=_ref7.op2;var names=vm.constants.getArray(_names);var symbols=vm.constants.getArray(_symbols);vm.bindBlocks(names,symbols);});APPEND_OPCODES.add(10, /* BindPartialArgs */function(vm,_ref8){var symbol=_ref8.op1;vm.bindPartialArgs(symbol);});APPEND_OPCODES.add(11, /* BindCallerScope */function(vm){return vm.bindCallerScope();});APPEND_OPCODES.add(12, /* BindDynamicScope */function(vm,_ref9){var _names=_ref9.op1;var names=vm.constants.getArray(_names);vm.bindDynamicScope(names);});APPEND_OPCODES.add(13, /* Enter */function(vm,_ref10){var start=_ref10.op1;var end=_ref10.op2;return vm.enter(start,end);});APPEND_OPCODES.add(14, /* Exit */function(vm){return vm.exit();});APPEND_OPCODES.add(15, /* Evaluate */function(vm,_ref11){var _block=_ref11.op1;var block=vm.constants.getBlock(_block);var args=vm.frame.getArgs();vm.invokeBlock(block,args);});APPEND_OPCODES.add(16, /* Jump */function(vm,_ref12){var target=_ref12.op1;return vm.goto(target);});APPEND_OPCODES.add(17, /* JumpIf */function(vm,_ref13){var target=_ref13.op1;var reference=vm.frame.getCondition();if(_glimmerReference.isConst(reference)){if(reference.value()){vm.goto(target);}}else {var cache=new _glimmerReference.ReferenceCache(reference);if(cache.peek()){vm.goto(target);}vm.updateWith(new Assert(cache));}});APPEND_OPCODES.add(18, /* JumpUnless */function(vm,_ref14){var target=_ref14.op1;var reference=vm.frame.getCondition();if(_glimmerReference.isConst(reference)){if(!reference.value()){vm.goto(target);}}else {var cache=new _glimmerReference.ReferenceCache(reference);if(!cache.peek()){vm.goto(target);}vm.updateWith(new Assert(cache));}});var ConstTest=function(ref,_env){return new _glimmerReference.ConstReference(!!ref.value());};var SimpleTest=function(ref,_env){return ref;};var EnvironmentTest=function(ref,env){return env.toConditionalReference(ref);};APPEND_OPCODES.add(19, /* Test */function(vm,_ref15){var _func=_ref15.op1;var operand=vm.frame.getOperand();var func=vm.constants.getFunction(_func);vm.frame.setCondition(func(operand,vm.env));});var Assert=(function(_UpdatingOpcode){babelHelpers.inherits(Assert,_UpdatingOpcode);function Assert(cache){_UpdatingOpcode.call(this);this.type = \"assert\";this.tag = cache.tag;this.cache = cache;}Assert.prototype.evaluate = function evaluate(vm){var cache=this.cache;if(_glimmerReference.isModified(cache.revalidate())){vm.throw();}};Assert.prototype.toJSON = function toJSON(){var type=this.type;var _guid=this._guid;var cache=this.cache;var expected=undefined;try{expected = JSON.stringify(cache.peek());}catch(e) {expected = String(cache.peek());}return {guid:_guid,type:type,args:[],details:{expected:expected}};};return Assert;})(UpdatingOpcode);var JumpIfNotModifiedOpcode=(function(_UpdatingOpcode2){babelHelpers.inherits(JumpIfNotModifiedOpcode,_UpdatingOpcode2);function JumpIfNotModifiedOpcode(tag,target){_UpdatingOpcode2.call(this);this.target = target;this.type = \"jump-if-not-modified\";this.tag = tag;this.lastRevision = tag.value();}JumpIfNotModifiedOpcode.prototype.evaluate = function evaluate(vm){var tag=this.tag;var target=this.target;var lastRevision=this.lastRevision;if(!vm.alwaysRevalidate && tag.validate(lastRevision)){vm.goto(target);}};JumpIfNotModifiedOpcode.prototype.didModify = function didModify(){this.lastRevision = this.tag.value();};JumpIfNotModifiedOpcode.prototype.toJSON = function toJSON(){return {guid:this._guid,type:this.type,args:[JSON.stringify(this.target.inspect())]};};return JumpIfNotModifiedOpcode;})(UpdatingOpcode);var DidModifyOpcode=(function(_UpdatingOpcode3){babelHelpers.inherits(DidModifyOpcode,_UpdatingOpcode3);function DidModifyOpcode(target){_UpdatingOpcode3.call(this);this.target = target;this.type = \"did-modify\";this.tag = _glimmerReference.CONSTANT_TAG;}DidModifyOpcode.prototype.evaluate = function evaluate(){this.target.didModify();};return DidModifyOpcode;})(UpdatingOpcode);var LabelOpcode=(function(){function LabelOpcode(label){this.tag = _glimmerReference.CONSTANT_TAG;this.type = \"label\";this.label = null;this.prev = null;this.next = null;_glimmerUtil.initializeGuid(this);if(label)this.label = label;}LabelOpcode.prototype.evaluate = function evaluate(){};LabelOpcode.prototype.inspect = function inspect(){return this.label + ' [' + this._guid + ']';};LabelOpcode.prototype.toJSON = function toJSON(){return {guid:this._guid,type:this.type,args:[JSON.stringify(this.inspect())]};};return LabelOpcode;})();var EMPTY_ARRAY=_glimmerUtil.HAS_NATIVE_WEAKMAP?Object.freeze([]):[];var EMPTY_DICT=_glimmerUtil.HAS_NATIVE_WEAKMAP?Object.freeze(_glimmerUtil.dict()):_glimmerUtil.dict();var CompiledPositionalArgs=(function(){function CompiledPositionalArgs(values){this.values = values;this.length = values.length;}CompiledPositionalArgs.create = function create(values){if(values.length){return new this(values);}else {return COMPILED_EMPTY_POSITIONAL_ARGS;}};CompiledPositionalArgs.empty = function empty(){return COMPILED_EMPTY_POSITIONAL_ARGS;};CompiledPositionalArgs.prototype.evaluate = function evaluate(vm){var values=this.values;var length=this.length;var references=new Array(length);for(var i=0;i < length;i++) {references[i] = values[i].evaluate(vm);}return EvaluatedPositionalArgs.create(references);};CompiledPositionalArgs.prototype.toJSON = function toJSON(){return '[' + this.values.map(function(value){return value.toJSON();}).join(\", \") + ']';};return CompiledPositionalArgs;})();var COMPILED_EMPTY_POSITIONAL_ARGS=new ((function(_CompiledPositionalArgs){babelHelpers.inherits(_class,_CompiledPositionalArgs);function _class(){_CompiledPositionalArgs.call(this,EMPTY_ARRAY);}_class.prototype.evaluate = function evaluate(_vm){return EVALUATED_EMPTY_POSITIONAL_ARGS;};_class.prototype.toJSON = function toJSON(){return '<EMPTY>';};return _class;})(CompiledPositionalArgs))();var EvaluatedPositionalArgs=(function(){function EvaluatedPositionalArgs(values){this.values = values;this.tag = _glimmerReference.combineTagged(values);this.length = values.length;}EvaluatedPositionalArgs.create = function create(values){return new this(values);};EvaluatedPositionalArgs.empty = function empty(){return EVALUATED_EMPTY_POSITIONAL_ARGS;};EvaluatedPositionalArgs.prototype.at = function at(index){var values=this.values;var length=this.length;return index < length?values[index]:UNDEFINED_REFERENCE;};EvaluatedPositionalArgs.prototype.value = function value(){var values=this.values;var length=this.length;var ret=new Array(length);for(var i=0;i < length;i++) {ret[i] = values[i].value();}return ret;};return EvaluatedPositionalArgs;})();var EVALUATED_EMPTY_POSITIONAL_ARGS=new ((function(_EvaluatedPositionalArgs){babelHelpers.inherits(_class2,_EvaluatedPositionalArgs);function _class2(){_EvaluatedPositionalArgs.call(this,EMPTY_ARRAY);}_class2.prototype.at = function at(){return UNDEFINED_REFERENCE;};_class2.prototype.value = function value(){return this.values;};return _class2;})(EvaluatedPositionalArgs))();var CompiledNamedArgs=(function(){function CompiledNamedArgs(keys,values){this.keys = keys;this.values = values;this.length = keys.length;_glimmerUtil.assert(keys.length === values.length,'Keys and values do not have the same length');}CompiledNamedArgs.empty = function empty(){return COMPILED_EMPTY_NAMED_ARGS;};CompiledNamedArgs.create = function create(map){var keys=Object.keys(map);var length=keys.length;if(length > 0){var values=[];for(var i=0;i < length;i++) {values[i] = map[keys[i]];}return new this(keys,values);}else {return COMPILED_EMPTY_NAMED_ARGS;}};CompiledNamedArgs.prototype.evaluate = function evaluate(vm){var keys=this.keys;var values=this.values;var length=this.length;var evaluated=new Array(length);for(var i=0;i < length;i++) {evaluated[i] = values[i].evaluate(vm);}return new EvaluatedNamedArgs(keys,evaluated);};CompiledNamedArgs.prototype.toJSON = function toJSON(){var keys=this.keys;var values=this.values;var inner=keys.map(function(key,i){return key + ': ' + values[i].toJSON();}).join(\", \");return '{' + inner + '}';};return CompiledNamedArgs;})();var COMPILED_EMPTY_NAMED_ARGS=new ((function(_CompiledNamedArgs){babelHelpers.inherits(_class3,_CompiledNamedArgs);function _class3(){_CompiledNamedArgs.call(this,EMPTY_ARRAY,EMPTY_ARRAY);}_class3.prototype.evaluate = function evaluate(_vm){return EVALUATED_EMPTY_NAMED_ARGS;};_class3.prototype.toJSON = function toJSON(){return '<EMPTY>';};return _class3;})(CompiledNamedArgs))();var EvaluatedNamedArgs=(function(){function EvaluatedNamedArgs(keys,values){var _map=arguments.length <= 2 || arguments[2] === undefined?null:arguments[2];this.keys = keys;this.values = values;this._map = _map;this.tag = _glimmerReference.combineTagged(values);this.length = keys.length;_glimmerUtil.assert(keys.length === values.length,'Keys and values do not have the same length');}EvaluatedNamedArgs.create = function create(map){var keys=Object.keys(map);var length=keys.length;if(length > 0){var values=new Array(length);for(var i=0;i < length;i++) {values[i] = map[keys[i]];}return new this(keys,values,map);}else {return EVALUATED_EMPTY_NAMED_ARGS;}};EvaluatedNamedArgs.empty = function empty(){return EVALUATED_EMPTY_NAMED_ARGS;};EvaluatedNamedArgs.prototype.get = function get(key){var keys=this.keys;var values=this.values;var index=keys.indexOf(key);return index === -1?UNDEFINED_REFERENCE:values[index];};EvaluatedNamedArgs.prototype.has = function has(key){return this.keys.indexOf(key) !== -1;};EvaluatedNamedArgs.prototype.value = function value(){var keys=this.keys;var values=this.values;var out=_glimmerUtil.dict();for(var i=0;i < keys.length;i++) {var key=keys[i];var ref=values[i];out[key] = ref.value();}return out;};babelHelpers.createClass(EvaluatedNamedArgs,[{key:'map',get:function(){var map=this._map;if(map){return map;}map = this._map = _glimmerUtil.dict();var keys=this.keys;var values=this.values;var length=this.length;for(var i=0;i < length;i++) {map[keys[i]] = values[i];}return map;}}]);return EvaluatedNamedArgs;})();var EVALUATED_EMPTY_NAMED_ARGS=new ((function(_EvaluatedNamedArgs){babelHelpers.inherits(_class4,_EvaluatedNamedArgs);function _class4(){_EvaluatedNamedArgs.call(this,EMPTY_ARRAY,EMPTY_ARRAY,EMPTY_DICT);}_class4.prototype.get = function get(){return UNDEFINED_REFERENCE;};_class4.prototype.has = function has(_key){return false;};_class4.prototype.value = function value(){return EMPTY_DICT;};return _class4;})(EvaluatedNamedArgs))();var EMPTY_BLOCKS={default:null,inverse:null};var CompiledArgs=(function(){function CompiledArgs(positional,named,blocks){this.positional = positional;this.named = named;this.blocks = blocks;this.type = \"compiled-args\";}CompiledArgs.create = function create(positional,named,blocks){if(positional === COMPILED_EMPTY_POSITIONAL_ARGS && named === COMPILED_EMPTY_NAMED_ARGS && blocks === EMPTY_BLOCKS){return this.empty();}else {return new this(positional,named,blocks);}};CompiledArgs.empty = function empty(){return COMPILED_EMPTY_ARGS;};CompiledArgs.prototype.evaluate = function evaluate(vm){var positional=this.positional;var named=this.named;var blocks=this.blocks;return EvaluatedArgs.create(positional.evaluate(vm),named.evaluate(vm),blocks);};return CompiledArgs;})();var COMPILED_EMPTY_ARGS=new ((function(_CompiledArgs){babelHelpers.inherits(_class5,_CompiledArgs);function _class5(){_CompiledArgs.call(this,COMPILED_EMPTY_POSITIONAL_ARGS,COMPILED_EMPTY_NAMED_ARGS,EMPTY_BLOCKS);}_class5.prototype.evaluate = function evaluate(_vm){return EMPTY_EVALUATED_ARGS;};return _class5;})(CompiledArgs))();var EvaluatedArgs=(function(){function EvaluatedArgs(positional,named,blocks){this.positional = positional;this.named = named;this.blocks = blocks;this.tag = _glimmerReference.combineTagged([positional,named]);}EvaluatedArgs.empty = function empty(){return EMPTY_EVALUATED_ARGS;};EvaluatedArgs.create = function create(positional,named,blocks){return new this(positional,named,blocks);};EvaluatedArgs.positional = function positional(values){var blocks=arguments.length <= 1 || arguments[1] === undefined?EMPTY_BLOCKS:arguments[1];return new this(EvaluatedPositionalArgs.create(values),EVALUATED_EMPTY_NAMED_ARGS,blocks);};EvaluatedArgs.named = function named(map){var blocks=arguments.length <= 1 || arguments[1] === undefined?EMPTY_BLOCKS:arguments[1];return new this(EVALUATED_EMPTY_POSITIONAL_ARGS,EvaluatedNamedArgs.create(map),blocks);};return EvaluatedArgs;})();var EMPTY_EVALUATED_ARGS=new EvaluatedArgs(EVALUATED_EMPTY_POSITIONAL_ARGS,EVALUATED_EMPTY_NAMED_ARGS,EMPTY_BLOCKS);APPEND_OPCODES.add(22, /* PutDynamicComponent */function(vm){var reference=vm.frame.getOperand();var cache=_glimmerReference.isConst(reference)?undefined:new _glimmerReference.ReferenceCache(reference);var definition=cache?cache.peek():reference.value();vm.frame.setImmediate(definition);if(cache){vm.updateWith(new Assert(cache));}});APPEND_OPCODES.add(23, /* PutComponent */function(vm,_ref16){var _component=_ref16.op1;var definition=vm.constants.getOther(_component);vm.frame.setImmediate(definition);});APPEND_OPCODES.add(24, /* OpenComponent */function(vm,_ref17){var _args=_ref17.op1;var _shadow=_ref17.op2;var rawArgs=vm.constants.getExpression(_args);var shadow=vm.constants.getBlock(_shadow);var definition=vm.frame.getImmediate();var dynamicScope=vm.pushDynamicScope();var callerScope=vm.scope();var manager=definition.manager;var args=manager.prepareArgs(definition,rawArgs.evaluate(vm),dynamicScope);var hasDefaultBlock=!!args.blocks.default; // TODO Cleanup?\nvar component=manager.create(vm.env,definition,args,dynamicScope,vm.getSelf(),hasDefaultBlock);var destructor=manager.getDestructor(component);if(destructor)vm.newDestroyable(destructor);var layout=manager.layoutFor(definition,component,vm.env);var selfRef=manager.getSelf(component);vm.beginCacheGroup();vm.stack().pushSimpleBlock();vm.pushRootScope(selfRef,layout.symbols);vm.invokeLayout(args,layout,callerScope,component,manager,shadow);vm.updateWith(new UpdateComponentOpcode(definition.name,component,manager,args,dynamicScope));}); // export class DidCreateElementOpcode extends Opcode {\n//   public type = \"did-create-element\";\n//   evaluate(vm: VM) {\n//     let manager = vm.frame.getManager();\n//     let component = vm.frame.getComponent();\n//     let action = 'DidCreateElementOpcode#evaluate';\n//     manager.didCreateElement(component, vm.stack().expectConstructing(action), vm.stack().expectOperations(action));\n//   }\n//   toJSON(): OpcodeJSON {\n//     return {\n//       guid: this._guid,\n//       type: this.type,\n//       args: [\"$ARGS\"]\n//     };\n//   }\n// }\nAPPEND_OPCODES.add(25, /* DidCreateElement */function(vm){var manager=vm.frame.getManager();var component=vm.frame.getComponent();var action='DidCreateElementOpcode#evaluate';manager.didCreateElement(component,vm.stack().expectConstructing(action),vm.stack().expectOperations(action));}); // export class ShadowAttributesOpcode extends Opcode {\n//   public type = \"shadow-attributes\";\n//   evaluate(vm: VM) {\n//     let shadow = vm.frame.getShadow();\n//     vm.pushCallerScope();\n//     if (!shadow) return;\n//     vm.invokeBlock(shadow, EvaluatedArgs.empty());\n//   }\n//   toJSON(): OpcodeJSON {\n//     return {\n//       guid: this._guid,\n//       type: this.type,\n//       args: [\"$ARGS\"]\n//     };\n//   }\n// }\n// Slow path for non-specialized component invocations. Uses an internal\n// named lookup on the args.\nAPPEND_OPCODES.add(26, /* ShadowAttributes */function(vm){var shadow=vm.frame.getShadow();vm.pushCallerScope();if(!shadow)return;vm.invokeBlock(shadow,EvaluatedArgs.empty());}); // export class DidRenderLayoutOpcode extends Opcode {\n//   public type = \"did-render-layout\";\n//   evaluate(vm: VM) {\n//     let manager = vm.frame.getManager();\n//     let component = vm.frame.getComponent();\n//     let bounds = vm.stack().popBlock();\n//     manager.didRenderLayout(component, bounds);\n//     vm.env.didCreate(component, manager);\n//     vm.updateWith(new DidUpdateLayoutOpcode(manager, component, bounds));\n//   }\n// }\nAPPEND_OPCODES.add(27, /* DidRenderLayout */function(vm){var manager=vm.frame.getManager();var component=vm.frame.getComponent();var bounds=vm.stack().popBlock();manager.didRenderLayout(component,bounds);vm.env.didCreate(component,manager);vm.updateWith(new DidUpdateLayoutOpcode(manager,component,bounds));}); // export class CloseComponentOpcode extends Opcode {\n//   public type = \"close-component\";\n//   evaluate(vm: VM) {\n//     vm.popScope();\n//     vm.popDynamicScope();\n//     vm.commitCacheGroup();\n//   }\n// }\nAPPEND_OPCODES.add(28, /* CloseComponent */function(vm){vm.popScope();vm.popDynamicScope();vm.commitCacheGroup();});var UpdateComponentOpcode=(function(_UpdatingOpcode4){babelHelpers.inherits(UpdateComponentOpcode,_UpdatingOpcode4);function UpdateComponentOpcode(name,component,manager,args,dynamicScope){_UpdatingOpcode4.call(this);this.name = name;this.component = component;this.manager = manager;this.args = args;this.dynamicScope = dynamicScope;this.type = \"update-component\";var componentTag=manager.getTag(component);if(componentTag){this.tag = _glimmerReference.combine([args.tag,componentTag]);}else {this.tag = args.tag;}}UpdateComponentOpcode.prototype.evaluate = function evaluate(_vm){var component=this.component;var manager=this.manager;var args=this.args;var dynamicScope=this.dynamicScope;manager.update(component,args,dynamicScope);};UpdateComponentOpcode.prototype.toJSON = function toJSON(){return {guid:this._guid,type:this.type,args:[JSON.stringify(this.name)]};};return UpdateComponentOpcode;})(UpdatingOpcode);var DidUpdateLayoutOpcode=(function(_UpdatingOpcode5){babelHelpers.inherits(DidUpdateLayoutOpcode,_UpdatingOpcode5);function DidUpdateLayoutOpcode(manager,component,bounds){_UpdatingOpcode5.call(this);this.manager = manager;this.component = component;this.bounds = bounds;this.type = \"did-update-layout\";this.tag = _glimmerReference.CONSTANT_TAG;}DidUpdateLayoutOpcode.prototype.evaluate = function evaluate(vm){var manager=this.manager;var component=this.component;var bounds=this.bounds;manager.didUpdateLayout(component,bounds);vm.env.didUpdate(component,manager);};return DidUpdateLayoutOpcode;})(UpdatingOpcode);var Cursor=function Cursor(element,nextSibling){this.element = element;this.nextSibling = nextSibling;};var ConcreteBounds=(function(){function ConcreteBounds(parentNode,first,last){this.parentNode = parentNode;this.first = first;this.last = last;}ConcreteBounds.prototype.parentElement = function parentElement(){return this.parentNode;};ConcreteBounds.prototype.firstNode = function firstNode(){return this.first;};ConcreteBounds.prototype.lastNode = function lastNode(){return this.last;};return ConcreteBounds;})();var SingleNodeBounds=(function(){function SingleNodeBounds(parentNode,node){this.parentNode = parentNode;this.node = node;}SingleNodeBounds.prototype.parentElement = function parentElement(){return this.parentNode;};SingleNodeBounds.prototype.firstNode = function firstNode(){return this.node;};SingleNodeBounds.prototype.lastNode = function lastNode(){return this.node;};return SingleNodeBounds;})();function single(parent,node){return new SingleNodeBounds(parent,node);}function moveBounds(bounds,reference){var parent=bounds.parentElement();var first=bounds.firstNode();var last=bounds.lastNode();var node=first;while(node) {var next=node.nextSibling;parent.insertBefore(node,reference);if(node === last)return next;node = next;}return null;}function clear(bounds){var parent=bounds.parentElement();var first=bounds.firstNode();var last=bounds.lastNode();var node=first;while(node) {var next=node.nextSibling;parent.removeChild(node);if(node === last)return next;node = next;}return null;}function isSafeString(value){return !!value && typeof value['toHTML'] === 'function';}function isNode(value){return value !== null && typeof value === 'object' && typeof value['nodeType'] === 'number';}function isString(value){return typeof value === 'string';}var Upsert=function Upsert(bounds){this.bounds = bounds;};function cautiousInsert(dom,cursor,value){if(isString(value)){return TextUpsert.insert(dom,cursor,value);}if(isSafeString(value)){return SafeStringUpsert.insert(dom,cursor,value);}if(isNode(value)){return NodeUpsert.insert(dom,cursor,value);}throw _glimmerUtil.unreachable();}function trustingInsert(dom,cursor,value){if(isString(value)){return HTMLUpsert.insert(dom,cursor,value);}if(isNode(value)){return NodeUpsert.insert(dom,cursor,value);}throw _glimmerUtil.unreachable();}var TextUpsert=(function(_Upsert){babelHelpers.inherits(TextUpsert,_Upsert);TextUpsert.insert = function insert(dom,cursor,value){var textNode=dom.createTextNode(value);dom.insertBefore(cursor.element,textNode,cursor.nextSibling);var bounds=new SingleNodeBounds(cursor.element,textNode);return new TextUpsert(bounds,textNode);};function TextUpsert(bounds,textNode){_Upsert.call(this,bounds);this.textNode = textNode;}TextUpsert.prototype.update = function update(_dom,value){if(isString(value)){var textNode=this.textNode;textNode.nodeValue = value;return true;}else {return false;}};return TextUpsert;})(Upsert);var HTMLUpsert=(function(_Upsert2){babelHelpers.inherits(HTMLUpsert,_Upsert2);function HTMLUpsert(){_Upsert2.apply(this,arguments);}HTMLUpsert.insert = function insert(dom,cursor,value){var bounds=dom.insertHTMLBefore(cursor.element,value,cursor.nextSibling);return new HTMLUpsert(bounds);};HTMLUpsert.prototype.update = function update(dom,value){if(isString(value)){var bounds=this.bounds;var parentElement=bounds.parentElement();var nextSibling=clear(bounds);this.bounds = dom.insertHTMLBefore(parentElement,nextSibling,value);return true;}else {return false;}};return HTMLUpsert;})(Upsert);var SafeStringUpsert=(function(_Upsert3){babelHelpers.inherits(SafeStringUpsert,_Upsert3);function SafeStringUpsert(bounds,lastStringValue){_Upsert3.call(this,bounds);this.lastStringValue = lastStringValue;}SafeStringUpsert.insert = function insert(dom,cursor,value){var stringValue=value.toHTML();var bounds=dom.insertHTMLBefore(cursor.element,stringValue,cursor.nextSibling);return new SafeStringUpsert(bounds,stringValue);};SafeStringUpsert.prototype.update = function update(dom,value){if(isSafeString(value)){var stringValue=value.toHTML();if(stringValue !== this.lastStringValue){var bounds=this.bounds;var parentElement=bounds.parentElement();var nextSibling=clear(bounds);this.bounds = dom.insertHTMLBefore(parentElement,nextSibling,stringValue);this.lastStringValue = stringValue;}return true;}else {return false;}};return SafeStringUpsert;})(Upsert);var NodeUpsert=(function(_Upsert4){babelHelpers.inherits(NodeUpsert,_Upsert4);function NodeUpsert(){_Upsert4.apply(this,arguments);}NodeUpsert.insert = function insert(dom,cursor,node){dom.insertBefore(cursor.element,node,cursor.nextSibling);return new NodeUpsert(single(cursor.element,node));};NodeUpsert.prototype.update = function update(dom,value){if(isNode(value)){var bounds=this.bounds;var parentElement=bounds.parentElement();var nextSibling=clear(bounds);this.bounds = dom.insertNodeBefore(parentElement,value,nextSibling);return true;}else {return false;}};return NodeUpsert;})(Upsert);var COMPONENT_DEFINITION_BRAND='COMPONENT DEFINITION [id=e59c754e-61eb-4392-8c4a-2c0ac72bfcd4]';function isComponentDefinition(obj){return typeof obj === 'object' && obj && obj[COMPONENT_DEFINITION_BRAND];}var ComponentDefinition=function ComponentDefinition(name,manager,ComponentClass){this[COMPONENT_DEFINITION_BRAND] = true;this.name = name;this.manager = manager;this.ComponentClass = ComponentClass;};var CompiledExpression=(function(){function CompiledExpression(){}CompiledExpression.prototype.toJSON = function toJSON(){return 'UNIMPL: ' + this.type.toUpperCase();};return CompiledExpression;})();APPEND_OPCODES.add(29, /* Text */function(vm,_ref18){var text=_ref18.op1;vm.stack().appendText(vm.constants.getString(text));});APPEND_OPCODES.add(30, /* Comment */function(vm,_ref19){var text=_ref19.op1;vm.stack().appendComment(vm.constants.getString(text));});APPEND_OPCODES.add(32, /* OpenElement */function(vm,_ref20){var tag=_ref20.op1;vm.stack().openElement(vm.constants.getString(tag));});APPEND_OPCODES.add(33, /* PushRemoteElement */function(vm){var reference=vm.frame.getOperand();var cache=_glimmerReference.isConst(reference)?undefined:new _glimmerReference.ReferenceCache(reference);var element=cache?cache.peek():reference.value();vm.stack().pushRemoteElement(element);if(cache){vm.updateWith(new Assert(cache));}});APPEND_OPCODES.add(34, /* PopRemoteElement */function(vm){return vm.stack().popRemoteElement();});APPEND_OPCODES.add(35, /* OpenComponentElement */function(vm,_ref21){var _tag=_ref21.op1;var tag=vm.constants.getString(_tag);vm.stack().openElement(tag,new ComponentElementOperations(vm.env));});APPEND_OPCODES.add(36, /* OpenDynamicElement */function(vm){var tagName=vm.frame.getOperand().value();vm.stack().openElement(tagName);});var ClassList=(function(){function ClassList(){this.list = null;this.isConst = true;}ClassList.prototype.append = function append(reference){var list=this.list;var isConst$$=this.isConst;if(list === null)list = this.list = [];list.push(reference);this.isConst = isConst$$ && _glimmerReference.isConst(reference);};ClassList.prototype.toReference = function toReference(){var list=this.list;var isConst$$=this.isConst;if(!list)return NULL_REFERENCE;if(isConst$$)return PrimitiveReference.create(toClassName(list));return new ClassListReference(list);};return ClassList;})();var ClassListReference=(function(_CachedReference){babelHelpers.inherits(ClassListReference,_CachedReference);function ClassListReference(list){_CachedReference.call(this);this.list = [];this.tag = _glimmerReference.combineTagged(list);this.list = list;}ClassListReference.prototype.compute = function compute(){return toClassName(this.list);};return ClassListReference;})(_glimmerReference.CachedReference);function toClassName(list){var ret=[];for(var i=0;i < list.length;i++) {var value=list[i].value();if(value !== false && value !== null && value !== undefined)ret.push(value);}return ret.length === 0?null:ret.join(' ');}var SimpleElementOperations=(function(){function SimpleElementOperations(env){this.env = env;this.opcodes = null;this.classList = null;}SimpleElementOperations.prototype.addStaticAttribute = function addStaticAttribute(element,name,value){if(name === 'class'){this.addClass(PrimitiveReference.create(value));}else {this.env.getAppendOperations().setAttribute(element,name,value);}};SimpleElementOperations.prototype.addStaticAttributeNS = function addStaticAttributeNS(element,namespace,name,value){this.env.getAppendOperations().setAttribute(element,name,value,namespace);};SimpleElementOperations.prototype.addDynamicAttribute = function addDynamicAttribute(element,name,reference,isTrusting){if(name === 'class'){this.addClass(reference);}else {var attributeManager=this.env.attributeFor(element,name,isTrusting);var attribute=new DynamicAttribute(element,attributeManager,name,reference);this.addAttribute(attribute);}};SimpleElementOperations.prototype.addDynamicAttributeNS = function addDynamicAttributeNS(element,namespace,name,reference,isTrusting){var attributeManager=this.env.attributeFor(element,name,isTrusting,namespace);var nsAttribute=new DynamicAttribute(element,attributeManager,name,reference,namespace);this.addAttribute(nsAttribute);};SimpleElementOperations.prototype.flush = function flush(element,vm){var env=vm.env;var opcodes=this.opcodes;var classList=this.classList;for(var i=0;opcodes && i < opcodes.length;i++) {vm.updateWith(opcodes[i]);}if(classList){var attributeManager=env.attributeFor(element,'class',false);var attribute=new DynamicAttribute(element,attributeManager,'class',classList.toReference());var opcode=attribute.flush(env);if(opcode){vm.updateWith(opcode);}}this.opcodes = null;this.classList = null;};SimpleElementOperations.prototype.addClass = function addClass(reference){var classList=this.classList;if(!classList){classList = this.classList = new ClassList();}classList.append(reference);};SimpleElementOperations.prototype.addAttribute = function addAttribute(attribute){var opcode=attribute.flush(this.env);if(opcode){var opcodes=this.opcodes;if(!opcodes){opcodes = this.opcodes = [];}opcodes.push(opcode);}};return SimpleElementOperations;})();var ComponentElementOperations=(function(){function ComponentElementOperations(env){this.env = env;this.attributeNames = null;this.attributes = null;this.classList = null;}ComponentElementOperations.prototype.addStaticAttribute = function addStaticAttribute(element,name,value){if(name === 'class'){this.addClass(PrimitiveReference.create(value));}else if(this.shouldAddAttribute(name)){this.addAttribute(name,new StaticAttribute(element,name,value));}};ComponentElementOperations.prototype.addStaticAttributeNS = function addStaticAttributeNS(element,namespace,name,value){if(this.shouldAddAttribute(name)){this.addAttribute(name,new StaticAttribute(element,name,value,namespace));}};ComponentElementOperations.prototype.addDynamicAttribute = function addDynamicAttribute(element,name,reference,isTrusting){if(name === 'class'){this.addClass(reference);}else if(this.shouldAddAttribute(name)){var attributeManager=this.env.attributeFor(element,name,isTrusting);var attribute=new DynamicAttribute(element,attributeManager,name,reference);this.addAttribute(name,attribute);}};ComponentElementOperations.prototype.addDynamicAttributeNS = function addDynamicAttributeNS(element,namespace,name,reference,isTrusting){if(this.shouldAddAttribute(name)){var attributeManager=this.env.attributeFor(element,name,isTrusting,namespace);var nsAttribute=new DynamicAttribute(element,attributeManager,name,reference,namespace);this.addAttribute(name,nsAttribute);}};ComponentElementOperations.prototype.flush = function flush(element,vm){var env=this.env;var attributes=this.attributes;var classList=this.classList;for(var i=0;attributes && i < attributes.length;i++) {var opcode=attributes[i].flush(env);if(opcode){vm.updateWith(opcode);}}if(classList){var attributeManager=env.attributeFor(element,'class',false);var attribute=new DynamicAttribute(element,attributeManager,'class',classList.toReference());var opcode=attribute.flush(env);if(opcode){vm.updateWith(opcode);}}};ComponentElementOperations.prototype.shouldAddAttribute = function shouldAddAttribute(name){return !this.attributeNames || this.attributeNames.indexOf(name) === -1;};ComponentElementOperations.prototype.addClass = function addClass(reference){var classList=this.classList;if(!classList){classList = this.classList = new ClassList();}classList.append(reference);};ComponentElementOperations.prototype.addAttribute = function addAttribute(name,attribute){var attributeNames=this.attributeNames;var attributes=this.attributes;if(!attributeNames){attributeNames = this.attributeNames = [];attributes = this.attributes = [];}attributeNames.push(name);_glimmerUtil.unwrap(attributes).push(attribute);};return ComponentElementOperations;})();APPEND_OPCODES.add(37, /* FlushElement */function(vm){var stack=vm.stack();var action='FlushElementOpcode#evaluate';stack.expectOperations(action).flush(stack.expectConstructing(action),vm);stack.flushElement();});APPEND_OPCODES.add(38, /* CloseElement */function(vm){return vm.stack().closeElement();});APPEND_OPCODES.add(39, /* PopElement */function(vm){return vm.stack().popElement();});APPEND_OPCODES.add(40, /* StaticAttr */function(vm,_ref22){var _name=_ref22.op1;var _value=_ref22.op2;var _namespace=_ref22.op3;var name=vm.constants.getString(_name);var value=vm.constants.getString(_value);if(_namespace){var namespace=vm.constants.getString(_namespace);vm.stack().setStaticAttributeNS(namespace,name,value);}else {vm.stack().setStaticAttribute(name,value);}});APPEND_OPCODES.add(41, /* Modifier */function(vm,_ref23){var _name=_ref23.op1;var _manager=_ref23.op2;var _args=_ref23.op3;var manager=vm.constants.getOther(_manager);var rawArgs=vm.constants.getExpression(_args);var stack=vm.stack();var element=stack.constructing;var updateOperations=stack.updateOperations;var args=rawArgs.evaluate(vm);var dynamicScope=vm.dynamicScope();var modifier=manager.create(element,args,dynamicScope,updateOperations);vm.env.scheduleInstallModifier(modifier,manager);var destructor=manager.getDestructor(modifier);if(destructor){vm.newDestroyable(destructor);}vm.updateWith(new UpdateModifierOpcode(manager,modifier,args));});var UpdateModifierOpcode=(function(_UpdatingOpcode6){babelHelpers.inherits(UpdateModifierOpcode,_UpdatingOpcode6);function UpdateModifierOpcode(manager,modifier,args){_UpdatingOpcode6.call(this);this.manager = manager;this.modifier = modifier;this.args = args;this.type = \"update-modifier\";this.tag = args.tag;this.lastUpdated = args.tag.value();}UpdateModifierOpcode.prototype.evaluate = function evaluate(vm){var manager=this.manager;var modifier=this.modifier;var tag=this.tag;var lastUpdated=this.lastUpdated;if(!tag.validate(lastUpdated)){vm.env.scheduleUpdateModifier(modifier,manager);this.lastUpdated = tag.value();}};UpdateModifierOpcode.prototype.toJSON = function toJSON(){return {guid:this._guid,type:this.type,args:[JSON.stringify(this.args)]};};return UpdateModifierOpcode;})(UpdatingOpcode);var StaticAttribute=(function(){function StaticAttribute(element,name,value,namespace){this.element = element;this.name = name;this.value = value;this.namespace = namespace;}StaticAttribute.prototype.flush = function flush(env){env.getAppendOperations().setAttribute(this.element,this.name,this.value,this.namespace);return null;};return StaticAttribute;})();var DynamicAttribute=(function(){function DynamicAttribute(element,attributeManager,name,reference,namespace){this.element = element;this.attributeManager = attributeManager;this.name = name;this.reference = reference;this.namespace = namespace;this.cache = null;this.tag = reference.tag;}DynamicAttribute.prototype.patch = function patch(env){var element=this.element;var cache=this.cache;var value=_glimmerUtil.expect(cache,'must patch after flush').revalidate();if(_glimmerReference.isModified(value)){this.attributeManager.updateAttribute(env,element,value,this.namespace);}};DynamicAttribute.prototype.flush = function flush(env){var reference=this.reference;var element=this.element;if(_glimmerReference.isConst(reference)){var value=reference.value();this.attributeManager.setAttribute(env,element,value,this.namespace);return null;}else {var cache=this.cache = new _glimmerReference.ReferenceCache(reference);var value=cache.peek();this.attributeManager.setAttribute(env,element,value,this.namespace);return new PatchElementOpcode(this);}};DynamicAttribute.prototype.toJSON = function toJSON(){var element=this.element;var namespace=this.namespace;var name=this.name;var cache=this.cache;var formattedElement=formatElement(element);var lastValue=_glimmerUtil.expect(cache,'must serialize after flush').peek();if(namespace){return {element:formattedElement,type:'attribute',namespace:namespace,name:name,lastValue:lastValue};}return {element:formattedElement,type:'attribute',namespace:namespace === undefined?null:namespace,name:name,lastValue:lastValue};};return DynamicAttribute;})();function formatElement(element){return JSON.stringify('<' + element.tagName.toLowerCase() + ' />');}APPEND_OPCODES.add(42, /* DynamicAttrNS */function(vm,_ref24){var _name=_ref24.op1;var _namespace=_ref24.op2;var trusting=_ref24.op3;var name=vm.constants.getString(_name);var namespace=vm.constants.getString(_namespace);var reference=vm.frame.getOperand();vm.stack().setDynamicAttributeNS(namespace,name,reference,!!trusting);});APPEND_OPCODES.add(43, /* DynamicAttr */function(vm,_ref25){var _name=_ref25.op1;var trusting=_ref25.op2;var name=vm.constants.getString(_name);var reference=vm.frame.getOperand();vm.stack().setDynamicAttribute(name,reference,!!trusting);});var PatchElementOpcode=(function(_UpdatingOpcode7){babelHelpers.inherits(PatchElementOpcode,_UpdatingOpcode7);function PatchElementOpcode(operation){_UpdatingOpcode7.call(this);this.type = \"patch-element\";this.tag = operation.tag;this.operation = operation;}PatchElementOpcode.prototype.evaluate = function evaluate(vm){this.operation.patch(vm.env);};PatchElementOpcode.prototype.toJSON = function toJSON(){var _guid=this._guid;var type=this.type;var operation=this.operation;return {guid:_guid,type:type,details:operation.toJSON()};};return PatchElementOpcode;})(UpdatingOpcode);var First=(function(){function First(node){this.node = node;}First.prototype.firstNode = function firstNode(){return this.node;};return First;})();var Last=(function(){function Last(node){this.node = node;}Last.prototype.lastNode = function lastNode(){return this.node;};return Last;})();var Fragment=(function(){function Fragment(bounds){this.bounds = bounds;}Fragment.prototype.parentElement = function parentElement(){return this.bounds.parentElement();};Fragment.prototype.firstNode = function firstNode(){return this.bounds.firstNode();};Fragment.prototype.lastNode = function lastNode(){return this.bounds.lastNode();};Fragment.prototype.update = function update(bounds){this.bounds = bounds;};return Fragment;})();var ElementStack=(function(){function ElementStack(env,parentNode,nextSibling){this.constructing = null;this.operations = null;this.elementStack = new _glimmerUtil.Stack();this.nextSiblingStack = new _glimmerUtil.Stack();this.blockStack = new _glimmerUtil.Stack();this.env = env;this.dom = env.getAppendOperations();this.updateOperations = env.getDOM();this.element = parentNode;this.nextSibling = nextSibling;this.defaultOperations = new SimpleElementOperations(env);this.elementStack.push(this.element);this.nextSiblingStack.push(this.nextSibling);}ElementStack.forInitialRender = function forInitialRender(env,parentNode,nextSibling){return new ElementStack(env,parentNode,nextSibling);};ElementStack.resume = function resume(env,tracker,nextSibling){var parentNode=tracker.parentElement();var stack=new ElementStack(env,parentNode,nextSibling);stack.pushBlockTracker(tracker);return stack;};ElementStack.prototype.expectConstructing = function expectConstructing(method){return _glimmerUtil.expect(this.constructing,method + ' should only be called while constructing an element');};ElementStack.prototype.expectOperations = function expectOperations(method){return _glimmerUtil.expect(this.operations,method + ' should only be called while constructing an element');};ElementStack.prototype.block = function block(){return _glimmerUtil.expect(this.blockStack.current,\"Expected a current block tracker\");};ElementStack.prototype.popElement = function popElement(){var elementStack=this.elementStack;var nextSiblingStack=this.nextSiblingStack;var topElement=elementStack.pop();nextSiblingStack.pop(); // LOGGER.debug(`-> element stack ${this.elementStack.toArray().map(e => e.tagName).join(', ')}`);\nthis.element = _glimmerUtil.expect(elementStack.current,\"can't pop past the last element\");this.nextSibling = nextSiblingStack.current;return topElement;};ElementStack.prototype.pushSimpleBlock = function pushSimpleBlock(){var tracker=new SimpleBlockTracker(this.element);this.pushBlockTracker(tracker);return tracker;};ElementStack.prototype.pushUpdatableBlock = function pushUpdatableBlock(){var tracker=new UpdatableBlockTracker(this.element);this.pushBlockTracker(tracker);return tracker;};ElementStack.prototype.pushBlockTracker = function pushBlockTracker(tracker){var isRemote=arguments.length <= 1 || arguments[1] === undefined?false:arguments[1];var current=this.blockStack.current;if(current !== null){current.newDestroyable(tracker);if(!isRemote){current.newBounds(tracker);}}this.blockStack.push(tracker);return tracker;};ElementStack.prototype.pushBlockList = function pushBlockList(list){var tracker=new BlockListTracker(this.element,list);var current=this.blockStack.current;if(current !== null){current.newDestroyable(tracker);current.newBounds(tracker);}this.blockStack.push(tracker);return tracker;};ElementStack.prototype.popBlock = function popBlock(){this.block().finalize(this);return _glimmerUtil.expect(this.blockStack.pop(),\"Expected popBlock to return a block\");};ElementStack.prototype.openElement = function openElement(tag){var operations=arguments.length <= 1 || arguments[1] === undefined?this.defaultOperations:arguments[1];var element=this.dom.createElement(tag,this.element);this.constructing = element;this.operations = operations;return element;};ElementStack.prototype.flushElement = function flushElement(){var parent=this.element;var element=_glimmerUtil.expect(this.constructing,'flushElement should only be called when constructing an element');this.dom.insertBefore(parent,element,this.nextSibling);this.constructing = null;this.operations = null;this.pushElement(element);this.block().openElement(element);};ElementStack.prototype.pushRemoteElement = function pushRemoteElement(element){this.pushElement(element);var tracker=new RemoteBlockTracker(element);this.pushBlockTracker(tracker,true);};ElementStack.prototype.popRemoteElement = function popRemoteElement(){this.popBlock();this.popElement();};ElementStack.prototype.pushElement = function pushElement(element){this.element = element;this.elementStack.push(element); // LOGGER.debug(`-> element stack ${this.elementStack.toArray().map(e => e.tagName).join(', ')}`);\nthis.nextSibling = null;this.nextSiblingStack.push(null);};ElementStack.prototype.newDestroyable = function newDestroyable(d){this.block().newDestroyable(d);};ElementStack.prototype.newBounds = function newBounds(bounds){this.block().newBounds(bounds);};ElementStack.prototype.appendText = function appendText(string){var dom=this.dom;var text=dom.createTextNode(string);dom.insertBefore(this.element,text,this.nextSibling);this.block().newNode(text);return text;};ElementStack.prototype.appendComment = function appendComment(string){var dom=this.dom;var comment=dom.createComment(string);dom.insertBefore(this.element,comment,this.nextSibling);this.block().newNode(comment);return comment;};ElementStack.prototype.setStaticAttribute = function setStaticAttribute(name,value){this.expectOperations('setStaticAttribute').addStaticAttribute(this.expectConstructing('setStaticAttribute'),name,value);};ElementStack.prototype.setStaticAttributeNS = function setStaticAttributeNS(namespace,name,value){this.expectOperations('setStaticAttributeNS').addStaticAttributeNS(this.expectConstructing('setStaticAttributeNS'),namespace,name,value);};ElementStack.prototype.setDynamicAttribute = function setDynamicAttribute(name,reference,isTrusting){this.expectOperations('setDynamicAttribute').addDynamicAttribute(this.expectConstructing('setDynamicAttribute'),name,reference,isTrusting);};ElementStack.prototype.setDynamicAttributeNS = function setDynamicAttributeNS(namespace,name,reference,isTrusting){this.expectOperations('setDynamicAttributeNS').addDynamicAttributeNS(this.expectConstructing('setDynamicAttributeNS'),namespace,name,reference,isTrusting);};ElementStack.prototype.closeElement = function closeElement(){this.block().closeElement();this.popElement();};return ElementStack;})();var SimpleBlockTracker=(function(){function SimpleBlockTracker(parent){this.parent = parent;this.first = null;this.last = null;this.destroyables = null;this.nesting = 0;}SimpleBlockTracker.prototype.destroy = function destroy(){var destroyables=this.destroyables;if(destroyables && destroyables.length){for(var i=0;i < destroyables.length;i++) {destroyables[i].destroy();}}};SimpleBlockTracker.prototype.parentElement = function parentElement(){return this.parent;};SimpleBlockTracker.prototype.firstNode = function firstNode(){return this.first && this.first.firstNode();};SimpleBlockTracker.prototype.lastNode = function lastNode(){return this.last && this.last.lastNode();};SimpleBlockTracker.prototype.openElement = function openElement(element){this.newNode(element);this.nesting++;};SimpleBlockTracker.prototype.closeElement = function closeElement(){this.nesting--;};SimpleBlockTracker.prototype.newNode = function newNode(node){if(this.nesting !== 0)return;if(!this.first){this.first = new First(node);}this.last = new Last(node);};SimpleBlockTracker.prototype.newBounds = function newBounds(bounds){if(this.nesting !== 0)return;if(!this.first){this.first = bounds;}this.last = bounds;};SimpleBlockTracker.prototype.newDestroyable = function newDestroyable(d){this.destroyables = this.destroyables || [];this.destroyables.push(d);};SimpleBlockTracker.prototype.finalize = function finalize(stack){if(!this.first){stack.appendComment('');}};return SimpleBlockTracker;})();var RemoteBlockTracker=(function(_SimpleBlockTracker){babelHelpers.inherits(RemoteBlockTracker,_SimpleBlockTracker);function RemoteBlockTracker(){_SimpleBlockTracker.apply(this,arguments);}RemoteBlockTracker.prototype.destroy = function destroy(){_SimpleBlockTracker.prototype.destroy.call(this);clear(this);};return RemoteBlockTracker;})(SimpleBlockTracker);var UpdatableBlockTracker=(function(_SimpleBlockTracker2){babelHelpers.inherits(UpdatableBlockTracker,_SimpleBlockTracker2);function UpdatableBlockTracker(){_SimpleBlockTracker2.apply(this,arguments);}UpdatableBlockTracker.prototype.reset = function reset(env){var destroyables=this.destroyables;if(destroyables && destroyables.length){for(var i=0;i < destroyables.length;i++) {env.didDestroy(destroyables[i]);}}var nextSibling=clear(this);this.destroyables = null;this.first = null;this.last = null;return nextSibling;};return UpdatableBlockTracker;})(SimpleBlockTracker);var BlockListTracker=(function(){function BlockListTracker(parent,boundList){this.parent = parent;this.boundList = boundList;this.parent = parent;this.boundList = boundList;}BlockListTracker.prototype.destroy = function destroy(){this.boundList.forEachNode(function(node){return node.destroy();});};BlockListTracker.prototype.parentElement = function parentElement(){return this.parent;};BlockListTracker.prototype.firstNode = function firstNode(){var head=this.boundList.head();return head && head.firstNode();};BlockListTracker.prototype.lastNode = function lastNode(){var tail=this.boundList.tail();return tail && tail.lastNode();};BlockListTracker.prototype.openElement = function openElement(_element){_glimmerUtil.assert(false,'Cannot openElement directly inside a block list');};BlockListTracker.prototype.closeElement = function closeElement(){_glimmerUtil.assert(false,'Cannot closeElement directly inside a block list');};BlockListTracker.prototype.newNode = function newNode(_node){_glimmerUtil.assert(false,'Cannot create a new node directly inside a block list');};BlockListTracker.prototype.newBounds = function newBounds(_bounds){};BlockListTracker.prototype.newDestroyable = function newDestroyable(_d){};BlockListTracker.prototype.finalize = function finalize(_stack){};return BlockListTracker;})();var CompiledValue=(function(_CompiledExpression){babelHelpers.inherits(CompiledValue,_CompiledExpression);function CompiledValue(value){_CompiledExpression.call(this);this.type = \"value\";this.reference = PrimitiveReference.create(value);}CompiledValue.prototype.evaluate = function evaluate(_vm){return this.reference;};CompiledValue.prototype.toJSON = function toJSON(){return JSON.stringify(this.reference.value());};return CompiledValue;})(CompiledExpression);var CompiledHasBlock=(function(_CompiledExpression2){babelHelpers.inherits(CompiledHasBlock,_CompiledExpression2);function CompiledHasBlock(inner){_CompiledExpression2.call(this);this.inner = inner;this.type = \"has-block\";}CompiledHasBlock.prototype.evaluate = function evaluate(vm){var block=this.inner.evaluate(vm);return PrimitiveReference.create(!!block);};CompiledHasBlock.prototype.toJSON = function toJSON(){return 'has-block(' + this.inner.toJSON() + ')';};return CompiledHasBlock;})(CompiledExpression);var CompiledHasBlockParams=(function(_CompiledExpression3){babelHelpers.inherits(CompiledHasBlockParams,_CompiledExpression3);function CompiledHasBlockParams(inner){_CompiledExpression3.call(this);this.inner = inner;this.type = \"has-block-params\";}CompiledHasBlockParams.prototype.evaluate = function evaluate(vm){var block=this.inner.evaluate(vm);var hasLocals=block && block.symbolTable.getSymbols().locals;return PrimitiveReference.create(!!hasLocals);};CompiledHasBlockParams.prototype.toJSON = function toJSON(){return 'has-block-params(' + this.inner.toJSON() + ')';};return CompiledHasBlockParams;})(CompiledExpression);var CompiledGetBlockBySymbol=(function(){function CompiledGetBlockBySymbol(symbol,debug){this.symbol = symbol;this.debug = debug;}CompiledGetBlockBySymbol.prototype.evaluate = function evaluate(vm){return vm.scope().getBlock(this.symbol);};CompiledGetBlockBySymbol.prototype.toJSON = function toJSON(){return 'get-block($' + this.symbol + '(' + this.debug + '))';};return CompiledGetBlockBySymbol;})();var CompiledInPartialGetBlock=(function(){function CompiledInPartialGetBlock(symbol,name){this.symbol = symbol;this.name = name;}CompiledInPartialGetBlock.prototype.evaluate = function evaluate(vm){var symbol=this.symbol;var name=this.name;var args=vm.scope().getPartialArgs(symbol);return args.blocks[name];};CompiledInPartialGetBlock.prototype.toJSON = function toJSON(){return 'get-block($' + this.symbol + '($ARGS).' + this.name + '))';};return CompiledInPartialGetBlock;})();var CompiledBlock=function CompiledBlock(start,end){this.start = start;this.end = end;};var CompiledProgram=(function(_CompiledBlock){babelHelpers.inherits(CompiledProgram,_CompiledBlock);function CompiledProgram(start,end,symbols){_CompiledBlock.call(this,start,end);this.symbols = symbols;}return CompiledProgram;})(CompiledBlock);var Labels=(function(){function Labels(){this.labels = _glimmerUtil.dict();this.jumps = [];this.ranges = [];}Labels.prototype.label = function label(name,index){this.labels[name] = index;};Labels.prototype.jump = function jump(at,Target,target){this.jumps.push({at:at,target:target,Target:Target});};Labels.prototype.range = function range(at,Range,start,end){this.ranges.push({at:at,start:start,end:end,Range:Range});};Labels.prototype.patch = function patch(opcodes){for(var i=0;i < this.jumps.length;i++) {var _jumps$i=this.jumps[i];var at=_jumps$i.at;var target=_jumps$i.target;var Target=_jumps$i.Target;opcodes.set(at,Target,this.labels[target]);}for(var i=0;i < this.ranges.length;i++) {var _ranges$i=this.ranges[i];var at=_ranges$i.at;var start=_ranges$i.start;var end=_ranges$i.end;var _Range=_ranges$i.Range;opcodes.set(at,_Range,this.labels[start],this.labels[end] - 1);}};return Labels;})();var BasicOpcodeBuilder=(function(){function BasicOpcodeBuilder(symbolTable,env,program){this.symbolTable = symbolTable;this.env = env;this.program = program;this.labelsStack = new _glimmerUtil.Stack();this.constants = env.constants;this.start = program.next;}BasicOpcodeBuilder.prototype.opcode = function opcode(name,op1,op2,op3){this.push(name,op1,op2,op3);};BasicOpcodeBuilder.prototype.push = function push(type){var op1=arguments.length <= 1 || arguments[1] === undefined?0:arguments[1];var op2=arguments.length <= 2 || arguments[2] === undefined?0:arguments[2];var op3=arguments.length <= 3 || arguments[3] === undefined?0:arguments[3];this.program.push(type,op1,op2,op3);}; // helpers\nBasicOpcodeBuilder.prototype.startLabels = function startLabels(){this.labelsStack.push(new Labels());};BasicOpcodeBuilder.prototype.stopLabels = function stopLabels(){var label=_glimmerUtil.expect(this.labelsStack.pop(),'unbalanced push and pop labels');label.patch(this.program);}; // partials\nBasicOpcodeBuilder.prototype.putPartialDefinition = function putPartialDefinition(_definition){var definition=this.constants.other(_definition);this.opcode(50, /* PutPartial */definition);};BasicOpcodeBuilder.prototype.putDynamicPartialDefinition = function putDynamicPartialDefinition(){this.opcode(49, /* PutDynamicPartial */this.constants.other(this.symbolTable));};BasicOpcodeBuilder.prototype.evaluatePartial = function evaluatePartial(){this.opcode(51, /* EvaluatePartial */this.constants.other(this.symbolTable),this.constants.other(_glimmerUtil.dict()));}; // components\nBasicOpcodeBuilder.prototype.putComponentDefinition = function putComponentDefinition(definition){this.opcode(23, /* PutComponent */this.other(definition));};BasicOpcodeBuilder.prototype.putDynamicComponentDefinition = function putDynamicComponentDefinition(){this.opcode(22 /* PutDynamicComponent */);};BasicOpcodeBuilder.prototype.openComponent = function openComponent(args,shadow){this.opcode(24, /* OpenComponent */this.args(args),shadow?this.block(shadow):0);};BasicOpcodeBuilder.prototype.didCreateElement = function didCreateElement(){this.opcode(25 /* DidCreateElement */);};BasicOpcodeBuilder.prototype.shadowAttributes = function shadowAttributes(){this.opcode(26 /* ShadowAttributes */);this.opcode(21 /* CloseBlock */);};BasicOpcodeBuilder.prototype.didRenderLayout = function didRenderLayout(){this.opcode(27 /* DidRenderLayout */);};BasicOpcodeBuilder.prototype.closeComponent = function closeComponent(){this.opcode(28 /* CloseComponent */);}; // content\nBasicOpcodeBuilder.prototype.dynamicContent = function dynamicContent(Opcode){this.opcode(31, /* DynamicContent */this.other(Opcode));};BasicOpcodeBuilder.prototype.cautiousAppend = function cautiousAppend(){this.dynamicContent(new OptimizedCautiousAppendOpcode());};BasicOpcodeBuilder.prototype.trustingAppend = function trustingAppend(){this.dynamicContent(new OptimizedTrustingAppendOpcode());};BasicOpcodeBuilder.prototype.guardedCautiousAppend = function guardedCautiousAppend(expression){this.dynamicContent(new GuardedCautiousAppendOpcode(this.compileExpression(expression),this.symbolTable));};BasicOpcodeBuilder.prototype.guardedTrustingAppend = function guardedTrustingAppend(expression){this.dynamicContent(new GuardedTrustingAppendOpcode(this.compileExpression(expression),this.symbolTable));}; // dom\nBasicOpcodeBuilder.prototype.text = function text(_text){this.opcode(29, /* Text */this.constants.string(_text));};BasicOpcodeBuilder.prototype.openPrimitiveElement = function openPrimitiveElement(tag){this.opcode(32, /* OpenElement */this.constants.string(tag));};BasicOpcodeBuilder.prototype.openComponentElement = function openComponentElement(tag){this.opcode(35, /* OpenComponentElement */this.constants.string(tag));};BasicOpcodeBuilder.prototype.openDynamicPrimitiveElement = function openDynamicPrimitiveElement(){this.opcode(36 /* OpenDynamicElement */);};BasicOpcodeBuilder.prototype.flushElement = function flushElement(){this.opcode(37 /* FlushElement */);};BasicOpcodeBuilder.prototype.closeElement = function closeElement(){this.opcode(38 /* CloseElement */);};BasicOpcodeBuilder.prototype.staticAttr = function staticAttr(_name,_namespace,_value){var name=this.constants.string(_name);var namespace=_namespace?this.constants.string(_namespace):0;var value=this.constants.string(_value);this.opcode(40, /* StaticAttr */name,value,namespace);};BasicOpcodeBuilder.prototype.dynamicAttrNS = function dynamicAttrNS(_name,_namespace,trusting){var name=this.constants.string(_name);var namespace=this.constants.string(_namespace);this.opcode(42, /* DynamicAttrNS */name,namespace,trusting | 0);};BasicOpcodeBuilder.prototype.dynamicAttr = function dynamicAttr(_name,trusting){var name=this.constants.string(_name);this.opcode(43, /* DynamicAttr */name,trusting | 0);};BasicOpcodeBuilder.prototype.comment = function comment(_comment){var comment=this.constants.string(_comment);this.opcode(30, /* Comment */comment);};BasicOpcodeBuilder.prototype.modifier = function modifier(_name,_args){var args=this.constants.expression(this.compile(_args));var _modifierManager=this.env.lookupModifier(_name,this.symbolTable);var modifierManager=this.constants.other(_modifierManager);var name=this.constants.string(_name);this.opcode(41, /* Modifier */name,modifierManager,args);}; // lists\nBasicOpcodeBuilder.prototype.putIterator = function putIterator(){this.opcode(44 /* PutIterator */);};BasicOpcodeBuilder.prototype.enterList = function enterList(start,end){this.push(45 /* EnterList */);this.labels.range(this.pos,45, /* EnterList */start,end);};BasicOpcodeBuilder.prototype.exitList = function exitList(){this.opcode(46 /* ExitList */);};BasicOpcodeBuilder.prototype.enterWithKey = function enterWithKey(start,end){this.push(47 /* EnterWithKey */);this.labels.range(this.pos,47, /* EnterWithKey */start,end);};BasicOpcodeBuilder.prototype.nextIter = function nextIter(end){this.push(48 /* NextIter */);this.labels.jump(this.pos,48, /* NextIter */end);}; // vm\nBasicOpcodeBuilder.prototype.openBlock = function openBlock(_args,_inner){var args=this.constants.expression(this.compile(_args));var inner=this.constants.other(_inner);this.opcode(20, /* OpenBlock */inner,args);};BasicOpcodeBuilder.prototype.closeBlock = function closeBlock(){this.opcode(21 /* CloseBlock */);};BasicOpcodeBuilder.prototype.pushRemoteElement = function pushRemoteElement(){this.opcode(33 /* PushRemoteElement */);};BasicOpcodeBuilder.prototype.popRemoteElement = function popRemoteElement(){this.opcode(34 /* PopRemoteElement */);};BasicOpcodeBuilder.prototype.popElement = function popElement(){this.opcode(39 /* PopElement */);};BasicOpcodeBuilder.prototype.label = function label(name){this.labels.label(name,this.nextPos);};BasicOpcodeBuilder.prototype.pushChildScope = function pushChildScope(){this.opcode(0 /* PushChildScope */);};BasicOpcodeBuilder.prototype.popScope = function popScope(){this.opcode(1 /* PopScope */);};BasicOpcodeBuilder.prototype.pushDynamicScope = function pushDynamicScope(){this.opcode(2 /* PushDynamicScope */);};BasicOpcodeBuilder.prototype.popDynamicScope = function popDynamicScope(){this.opcode(3 /* PopDynamicScope */);};BasicOpcodeBuilder.prototype.putNull = function putNull(){this.opcode(4, /* Put */this.constants.NULL_REFERENCE);};BasicOpcodeBuilder.prototype.putValue = function putValue(_expression){var expr=this.constants.expression(this.compileExpression(_expression));this.opcode(5, /* EvaluatePut */expr);};BasicOpcodeBuilder.prototype.putArgs = function putArgs(_args){var args=this.constants.expression(this.compile(_args));this.opcode(6, /* PutArgs */args);};BasicOpcodeBuilder.prototype.bindDynamicScope = function bindDynamicScope(_names){this.opcode(12, /* BindDynamicScope */this.names(_names));};BasicOpcodeBuilder.prototype.bindPositionalArgs = function bindPositionalArgs(_names,_symbols){this.opcode(7, /* BindPositionalArgs */this.names(_names),this.symbols(_symbols));};BasicOpcodeBuilder.prototype.bindNamedArgs = function bindNamedArgs(_names,_symbols){this.opcode(8, /* BindNamedArgs */this.names(_names),this.symbols(_symbols));};BasicOpcodeBuilder.prototype.bindBlocks = function bindBlocks(_names,_symbols){this.opcode(9, /* BindBlocks */this.names(_names),this.symbols(_symbols));};BasicOpcodeBuilder.prototype.enter = function enter(_enter,exit){this.push(13 /* Enter */);this.labels.range(this.pos,13, /* Enter */_enter,exit);};BasicOpcodeBuilder.prototype.exit = function exit(){this.opcode(14 /* Exit */);};BasicOpcodeBuilder.prototype.evaluate = function evaluate(_block){var block=this.constants.block(_block);this.opcode(15, /* Evaluate */block);};BasicOpcodeBuilder.prototype.test = function test(testFunc){var _func=undefined;if(testFunc === 'const'){_func = ConstTest;}else if(testFunc === 'simple'){_func = SimpleTest;}else if(testFunc === 'environment'){_func = EnvironmentTest;}else if(typeof testFunc === 'function'){_func = testFunc;}else {throw new Error('unreachable');}var func=this.constants.function(_func);this.opcode(19, /* Test */func);};BasicOpcodeBuilder.prototype.jump = function jump(target){this.push(16 /* Jump */);this.labels.jump(this.pos,16, /* Jump */target);};BasicOpcodeBuilder.prototype.jumpIf = function jumpIf(target){this.push(17 /* JumpIf */);this.labels.jump(this.pos,17, /* JumpIf */target);};BasicOpcodeBuilder.prototype.jumpUnless = function jumpUnless(target){this.push(18 /* JumpUnless */);this.labels.jump(this.pos,18, /* JumpUnless */target);};BasicOpcodeBuilder.prototype.names = function names(_names){var _this=this;var names=_names.map(function(n){return _this.constants.string(n);});return this.constants.array(names);};BasicOpcodeBuilder.prototype.symbols = function symbols(_symbols2){return this.constants.array(_symbols2);};BasicOpcodeBuilder.prototype.other = function other(value){return this.constants.other(value);};BasicOpcodeBuilder.prototype.args = function args(_args2){return this.constants.expression(this.compile(_args2));};BasicOpcodeBuilder.prototype.block = function block(_block3){return this.constants.block(_block3);};babelHelpers.createClass(BasicOpcodeBuilder,[{key:'end',get:function(){return this.program.next;}},{key:'pos',get:function(){return this.program.current;}},{key:'nextPos',get:function(){return this.program.next;}},{key:'labels',get:function(){return _glimmerUtil.expect(this.labelsStack.current,'bug: not in a label stack');}}]);return BasicOpcodeBuilder;})();function isCompilableExpression(expr){return expr && typeof expr['compile'] === 'function';}var OpcodeBuilder=(function(_BasicOpcodeBuilder){babelHelpers.inherits(OpcodeBuilder,_BasicOpcodeBuilder);function OpcodeBuilder(symbolTable,env){var program=arguments.length <= 2 || arguments[2] === undefined?env.program:arguments[2];return (function(){_BasicOpcodeBuilder.call(this,symbolTable,env,program);this.component = new ComponentBuilder(this);}).apply(this,arguments);}OpcodeBuilder.prototype.compile = function compile(expr){if(isCompilableExpression(expr)){return expr.compile(this);}else {return expr;}};OpcodeBuilder.prototype.compileExpression = function compileExpression(expression){if(expression instanceof CompiledExpression){return expression;}else {return expr(expression,this);}};OpcodeBuilder.prototype.bindPositionalArgsForLocals = function bindPositionalArgsForLocals(locals){var names=Object.keys(locals);var symbols=new Array(names.length); //Object.keys(locals).map(name => locals[name]);\nfor(var i=0;i < names.length;i++) {symbols[i] = locals[names[i]];}this.opcode(7, /* BindPositionalArgs */this.symbols(symbols));};OpcodeBuilder.prototype.preludeForLayout = function preludeForLayout(layout){var _this2=this;var symbols=layout.symbolTable.getSymbols();if(symbols.named){(function(){var named=symbols.named;var namedNames=Object.keys(named);var namedSymbols=namedNames.map(function(n){return named[n];});_this2.opcode(8, /* BindNamedArgs */_this2.names(namedNames),_this2.symbols(namedSymbols));})();}this.opcode(11 /* BindCallerScope */);if(symbols.yields){(function(){var yields=symbols.yields;var yieldNames=Object.keys(yields);var yieldSymbols=yieldNames.map(function(n){return yields[n];});_this2.opcode(9, /* BindBlocks */_this2.names(yieldNames),_this2.symbols(yieldSymbols));})();}if(symbols.partialArgs){this.opcode(10, /* BindPartialArgs */symbols.partialArgs);}};OpcodeBuilder.prototype.yield = function _yield(args,to){var yields=undefined,partial=undefined;var inner=undefined;if(yields = this.symbolTable.getSymbol('yields',to)){inner = new CompiledGetBlockBySymbol(yields,to);}else if(partial = this.symbolTable.getPartialArgs()){inner = new CompiledInPartialGetBlock(partial,to);}else {throw new Error('[BUG] ${to} is not a valid block name.');}this.openBlock(args,inner);this.closeBlock();}; // TODO\n// come back to this\nOpcodeBuilder.prototype.labelled = function labelled(args,callback){if(args)this.putArgs(args);this.startLabels();this.enter('BEGIN','END');this.label('BEGIN');callback(this,'BEGIN','END');this.label('END');this.exit();this.stopLabels();}; // TODO\n// come back to this\nOpcodeBuilder.prototype.iter = function iter(callback){this.startLabels();this.enterList('BEGIN','END');this.label('ITER');this.nextIter('BREAK');this.enterWithKey('BEGIN','END');this.label('BEGIN');callback(this,'BEGIN','END');this.label('END');this.exit();this.jump('ITER');this.label('BREAK');this.exitList();this.stopLabels();}; // TODO\n// come back to this\nOpcodeBuilder.prototype.unit = function unit(callback){this.startLabels();callback(this);this.stopLabels();};return OpcodeBuilder;})(BasicOpcodeBuilder);function compileLayout(compilable,env){var builder=new ComponentLayoutBuilder(env);compilable.compile(builder);return builder.compile();}var ComponentLayoutBuilder=(function(){function ComponentLayoutBuilder(env){this.env = env;}ComponentLayoutBuilder.prototype.wrapLayout = function wrapLayout(layout){this.inner = new WrappedBuilder(this.env,layout);};ComponentLayoutBuilder.prototype.fromLayout = function fromLayout(layout){this.inner = new UnwrappedBuilder(this.env,layout);};ComponentLayoutBuilder.prototype.compile = function compile(){return this.inner.compile();};babelHelpers.createClass(ComponentLayoutBuilder,[{key:'tag',get:function(){return this.inner.tag;}},{key:'attrs',get:function(){return this.inner.attrs;}}]);return ComponentLayoutBuilder;})();var WrappedBuilder=(function(){function WrappedBuilder(env,layout){this.env = env;this.layout = layout;this.tag = new ComponentTagBuilder();this.attrs = new ComponentAttrsBuilder();}WrappedBuilder.prototype.compile = function compile(){ //========DYNAMIC\n//        PutValue(TagExpr)\n//        Test\n//        JumpUnless(BODY)\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\nvar env=this.env;var layout=this.layout;var symbolTable=layout.symbolTable;var b=builder(env,layout.symbolTable);b.startLabels();var dynamicTag=this.tag.getDynamic();var staticTag=undefined;if(dynamicTag){b.putValue(dynamicTag);b.test('simple');b.jumpUnless('BODY');b.openDynamicPrimitiveElement();b.didCreateElement();this.attrs['buffer'].forEach(function(statement){return compileStatement(statement,b);});b.flushElement();b.label('BODY');}else if(staticTag = this.tag.getStatic()){b.openPrimitiveElement(staticTag);b.didCreateElement();this.attrs['buffer'].forEach(function(statement){return compileStatement(statement,b);});b.flushElement();}b.preludeForLayout(layout);layout.statements.forEach(function(statement){return compileStatement(statement,b);});if(dynamicTag){b.putValue(dynamicTag);b.test('simple');b.jumpUnless('END');b.closeElement();b.label('END');}else if(staticTag){b.closeElement();}b.didRenderLayout();b.stopLabels();return new CompiledProgram(b.start,b.end,symbolTable.size);};return WrappedBuilder;})();function isOpenElement(value){var type=value[0];return type === _glimmerWireFormat.Ops.OpenElement || type === _glimmerWireFormat.Ops.OpenPrimitiveElement;}var UnwrappedBuilder=(function(){function UnwrappedBuilder(env,layout){this.env = env;this.layout = layout;this.attrs = new ComponentAttrsBuilder();}UnwrappedBuilder.prototype.compile = function compile(){var env=this.env;var layout=this.layout;var b=builder(env,layout.symbolTable);b.startLabels();b.preludeForLayout(layout);var attrs=this.attrs['buffer'];var attrsInserted=false;for(var i=0;i < layout.statements.length;i++) {var statement=layout.statements[i];if(!attrsInserted && isOpenElement(statement)){b.openComponentElement(statement[1]);b.didCreateElement();b.shadowAttributes();attrs.forEach(function(statement){return compileStatement(statement,b);});attrsInserted = true;}else {compileStatement(statement,b);}}b.didRenderLayout();b.stopLabels();return new CompiledProgram(b.start,b.end,layout.symbolTable.size);};babelHelpers.createClass(UnwrappedBuilder,[{key:'tag',get:function(){throw new Error('BUG: Cannot call `tag` on an UnwrappedBuilder');}}]);return UnwrappedBuilder;})();var ComponentTagBuilder=(function(){function ComponentTagBuilder(){this.isDynamic = null;this.isStatic = null;this.staticTagName = null;this.dynamicTagName = null;}ComponentTagBuilder.prototype.getDynamic = function getDynamic(){if(this.isDynamic){return this.dynamicTagName;}};ComponentTagBuilder.prototype.getStatic = function getStatic(){if(this.isStatic){return this.staticTagName;}};ComponentTagBuilder.prototype.static = function _static(tagName){this.isStatic = true;this.staticTagName = tagName;};ComponentTagBuilder.prototype.dynamic = function dynamic(tagName){this.isDynamic = true;this.dynamicTagName = [_glimmerWireFormat.Ops.Function,tagName];};return ComponentTagBuilder;})();var ComponentAttrsBuilder=(function(){function ComponentAttrsBuilder(){this.buffer = [];}ComponentAttrsBuilder.prototype.static = function _static(name,value){this.buffer.push([_glimmerWireFormat.Ops.StaticAttr,name,value,null]);};ComponentAttrsBuilder.prototype.dynamic = function dynamic(name,value){this.buffer.push([_glimmerWireFormat.Ops.DynamicAttr,name,[_glimmerWireFormat.Ops.Function,value],null]);};return ComponentAttrsBuilder;})();var ComponentBuilder=(function(){function ComponentBuilder(builder){this.builder = builder;this.env = builder.env;}ComponentBuilder.prototype.static = function _static(definition,args,_symbolTable,shadow){this.builder.unit(function(b){b.putComponentDefinition(definition);b.openComponent(compileBaselineArgs(args,b),shadow);b.closeComponent();});};ComponentBuilder.prototype.dynamic = function dynamic(definitionArgs,definition,args,_symbolTable,shadow){this.builder.unit(function(b){b.putArgs(compileArgs(definitionArgs[0],definitionArgs[1],b));b.putValue([_glimmerWireFormat.Ops.Function,definition]);b.test('simple');b.enter('BEGIN','END');b.label('BEGIN');b.jumpUnless('END');b.putDynamicComponentDefinition();b.openComponent(compileBaselineArgs(args,b),shadow);b.closeComponent();b.label('END');b.exit();});};return ComponentBuilder;})();function builder(env,symbolTable){return new OpcodeBuilder(symbolTable,env);}function entryPoint(meta){return new ProgramSymbolTable(meta);}function layout(meta,wireNamed,wireYields,hasPartials){var _symbols3=symbols(wireNamed,wireYields,hasPartials);var named=_symbols3.named;var yields=_symbols3.yields;var partialSymbol=_symbols3.partialSymbol;var size=_symbols3.size;return new ProgramSymbolTable(meta,named,yields,partialSymbol,size);}function block(parent,locals){var localsMap=null;var program=parent['program'];if(locals.length !== 0){(function(){var map=localsMap = _glimmerUtil.dict();locals.forEach(function(l){return map[l] = program.size++;});})();}return new BlockSymbolTable(parent,program,localsMap);}function symbols(named,yields,hasPartials){var yieldsMap=null;var namedMap=null;var size=1;if(yields.length !== 0){(function(){var map=yieldsMap = _glimmerUtil.dict();yields.forEach(function(y){return map[y] = size++;});})();}if(named.length !== 0){(function(){var map=namedMap = _glimmerUtil.dict();named.forEach(function(y){return map[y] = size++;});})();}var partialSymbol=hasPartials?size++:null;return {named:namedMap,yields:yieldsMap,partialSymbol:partialSymbol,size:size};}var ProgramSymbolTable=(function(){function ProgramSymbolTable(meta){var named=arguments.length <= 1 || arguments[1] === undefined?null:arguments[1];var yields=arguments.length <= 2 || arguments[2] === undefined?null:arguments[2];var partialArgs=arguments.length <= 3 || arguments[3] === undefined?null:arguments[3];var size=arguments.length <= 4 || arguments[4] === undefined?1:arguments[4];this.meta = meta;this.named = named;this.yields = yields;this.partialArgs = partialArgs;this.size = size;this.program = this;}ProgramSymbolTable.prototype.getMeta = function getMeta(){return this.meta;};ProgramSymbolTable.prototype.getSymbols = function getSymbols(){return {named:this.named,yields:this.yields,locals:null,partialArgs:this.partialArgs};};ProgramSymbolTable.prototype.getSymbol = function getSymbol(kind,name){if(kind === 'local')return null;return this[kind] && this[kind][name];};ProgramSymbolTable.prototype.getPartialArgs = function getPartialArgs(){return this.partialArgs || 0;};return ProgramSymbolTable;})();var BlockSymbolTable=(function(){function BlockSymbolTable(parent,program,locals){this.parent = parent;this.program = program;this.locals = locals;}BlockSymbolTable.prototype.getMeta = function getMeta(){return this.program.getMeta();};BlockSymbolTable.prototype.getSymbols = function getSymbols(){return {named:null,yields:null,locals:this.locals,partialArgs:null};};BlockSymbolTable.prototype.getSymbol = function getSymbol(kind,name){if(kind === 'local'){return this.getLocal(name);}else {return this.program.getSymbol(kind,name);}};BlockSymbolTable.prototype.getLocal = function getLocal(name){var locals=this.locals;var parent=this.parent;var symbol=locals && locals[name];if(!symbol && parent){symbol = parent.getSymbol('local',name);}return symbol;};BlockSymbolTable.prototype.getPartialArgs = function getPartialArgs(){return this.program.getPartialArgs();};return BlockSymbolTable;})();var Specialize=(function(){function Specialize(){this.names = _glimmerUtil.dict();this.funcs = [];}Specialize.prototype.add = function add(name,func){this.funcs.push(func);this.names[name] = this.funcs.length - 1;};Specialize.prototype.specialize = function specialize(sexp,table){var name=sexp[0];var index=this.names[name];if(index === undefined)return sexp;var func=this.funcs[index];_glimmerUtil.assert(!!func,'expected a specialization for ' + sexp[0]);return func(sexp,table);};return Specialize;})();var SPECIALIZE=new Specialize();var E=_glimmerWireFormat.Expressions;var Ops$3=_glimmerWireFormat.Ops;SPECIALIZE.add(Ops$3.Append,function(sexp,_symbolTable){var expression=sexp[1];if(Array.isArray(expression) && E.isGet(expression)){var path=expression[1];if(path.length !== 1){return [Ops$3.UnoptimizedAppend,sexp[1],sexp[2]];}}return [Ops$3.OptimizedAppend,sexp[1],sexp[2]];});SPECIALIZE.add(Ops$3.DynamicAttr,function(sexp,_symbolTable){return [Ops$3.AnyDynamicAttr,sexp[1],sexp[2],sexp[3],false];});SPECIALIZE.add(Ops$3.TrustingAttr,function(sexp,_symbolTable){return [Ops$3.AnyDynamicAttr,sexp[1],sexp[2],sexp[3],true];});SPECIALIZE.add(Ops$3.Partial,function(sexp,_table){var expression=sexp[1];if(typeof expression === 'string'){return [Ops$3.StaticPartial,expression];}else {return [Ops$3.DynamicPartial,expression];}});function compileStatement(statement,builder){var refined=SPECIALIZE.specialize(statement,builder.symbolTable);STATEMENTS.compile(refined,builder);}var Template=function Template(statements,symbolTable){this.statements = statements;this.symbolTable = symbolTable;};var Layout=(function(_Template){babelHelpers.inherits(Layout,_Template);function Layout(){_Template.apply(this,arguments);}return Layout;})(Template);var EntryPoint=(function(_Template2){babelHelpers.inherits(EntryPoint,_Template2);function EntryPoint(){_Template2.apply(this,arguments);this.compiled = null;}EntryPoint.prototype.compile = function compile(env){var compiled=this.compiled;if(!compiled){var table=this.symbolTable;var b=builder(env,table);for(var i=0;i < this.statements.length;i++) {var statement=this.statements[i];var refined=SPECIALIZE.specialize(statement,table);STATEMENTS.compile(refined,b);}compiled = this.compiled = new CompiledProgram(b.start,b.end,this.symbolTable.size);}return compiled;};return EntryPoint;})(Template);var InlineBlock=(function(_Template3){babelHelpers.inherits(InlineBlock,_Template3);function InlineBlock(){_Template3.apply(this,arguments);this.compiled = null;}InlineBlock.prototype.splat = function splat(builder){var table=builder.symbolTable;var locals=table.getSymbols().locals;if(locals){builder.pushChildScope();builder.bindPositionalArgsForLocals(locals);}for(var i=0;i < this.statements.length;i++) {var statement=this.statements[i];var refined=SPECIALIZE.specialize(statement,table);STATEMENTS.compile(refined,builder);}if(locals){builder.popScope();}};InlineBlock.prototype.compile = function compile(env){var compiled=this.compiled;if(!compiled){var table=this.symbolTable;var b=builder(env,table);this.splat(b);compiled = this.compiled = new CompiledBlock(b.start,b.end);}return compiled;};return InlineBlock;})(Template);var PartialBlock=(function(_Template4){babelHelpers.inherits(PartialBlock,_Template4);function PartialBlock(){_Template4.apply(this,arguments);this.compiled = null;}PartialBlock.prototype.compile = function compile(env){var compiled=this.compiled;if(!compiled){var table=this.symbolTable;var b=builder(env,table);for(var i=0;i < this.statements.length;i++) {var statement=this.statements[i];var refined=SPECIALIZE.specialize(statement,table);STATEMENTS.compile(refined,b);}compiled = this.compiled = new CompiledProgram(b.start,b.end,table.size);}return compiled;};return PartialBlock;})(Template);var Scanner=(function(){function Scanner(block,meta,env){this.block = block;this.meta = meta;this.env = env;}Scanner.prototype.scanEntryPoint = function scanEntryPoint(){var block=this.block;var meta=this.meta;var symbolTable=entryPoint(meta);var child=scanBlock(block,symbolTable,this.env);return new EntryPoint(child.statements,symbolTable);};Scanner.prototype.scanLayout = function scanLayout(){var block=this.block;var meta=this.meta;var named=block.named;var yields=block.yields;var hasPartials=block.hasPartials;var symbolTable=layout(meta,named,yields,hasPartials);var child=scanBlock(block,symbolTable,this.env);return new Layout(child.statements,symbolTable);};Scanner.prototype.scanPartial = function scanPartial(symbolTable){var block=this.block;var child=scanBlock(block,symbolTable,this.env);return new PartialBlock(child.statements,symbolTable);};return Scanner;})();function scanBlock(_ref26,symbolTable,env){var statements=_ref26.statements;return new RawInlineBlock(env,symbolTable,statements).scan();}var BaselineSyntax;(function(BaselineSyntax){var Ops=_glimmerWireFormat.Ops;BaselineSyntax.isScannedComponent = _glimmerWireFormat.is(Ops.ScannedComponent);BaselineSyntax.isPrimitiveElement = _glimmerWireFormat.is(Ops.OpenPrimitiveElement);BaselineSyntax.isOptimizedAppend = _glimmerWireFormat.is(Ops.OptimizedAppend);BaselineSyntax.isUnoptimizedAppend = _glimmerWireFormat.is(Ops.UnoptimizedAppend);BaselineSyntax.isAnyAttr = _glimmerWireFormat.is(Ops.AnyDynamicAttr);BaselineSyntax.isStaticPartial = _glimmerWireFormat.is(Ops.StaticPartial);BaselineSyntax.isDynamicPartial = _glimmerWireFormat.is(Ops.DynamicPartial);BaselineSyntax.isFunctionExpression = _glimmerWireFormat.is(Ops.Function);BaselineSyntax.isNestedBlock = _glimmerWireFormat.is(Ops.NestedBlock);BaselineSyntax.isScannedBlock = _glimmerWireFormat.is(Ops.ScannedBlock);BaselineSyntax.isDebugger = _glimmerWireFormat.is(Ops.Debugger);var NestedBlock;(function(NestedBlock){function defaultBlock(sexp){return sexp[4];}NestedBlock.defaultBlock = defaultBlock;function inverseBlock(sexp){return sexp[5];}NestedBlock.inverseBlock = inverseBlock;function params(sexp){return sexp[2];}NestedBlock.params = params;function hash(sexp){return sexp[3];}NestedBlock.hash = hash;})(NestedBlock = BaselineSyntax.NestedBlock || (BaselineSyntax.NestedBlock = {}));})(BaselineSyntax || (exports.BaselineSyntax = BaselineSyntax = {}));var Ops$2=_glimmerWireFormat.Ops;var RawInlineBlock=(function(){function RawInlineBlock(env,table,statements){this.env = env;this.table = table;this.statements = statements;}RawInlineBlock.prototype.scan = function scan(){var buffer=[];this.specializeStatements(this.statements,buffer);return new InlineBlock(buffer,this.table);};RawInlineBlock.prototype.specializeStatements = function specializeStatements(statements,buffer){for(var i=0;i < statements.length;i++) {var statement=statements[i];this.specializeStatement(statement,buffer);}};RawInlineBlock.prototype.specializeStatement = function specializeStatement(statement,buffer){if(_glimmerWireFormat.Statements.isBlock(statement)){buffer.push(this.specializeBlock(statement));}else if(_glimmerWireFormat.Statements.isComponent(statement)){buffer.push.apply(buffer,this.specializeComponent(statement));}else {buffer.push(statement);}};RawInlineBlock.prototype.specializeBlock = function specializeBlock(block$$){var path=block$$[1];var params=block$$[2];var hash=block$$[3];var template=block$$[4];var inverse=block$$[5];return [Ops$2.ScannedBlock,path,params,hash,this.child(template),this.child(inverse)];};RawInlineBlock.prototype.specializeComponent = function specializeComponent(sexp){var tag=sexp[1];var component=sexp[2];if(this.env.hasComponentDefinition(tag,this.table)){var child=this.child(component);var attrs=new RawInlineBlock(this.env,this.table,component.attrs);return [[Ops$2.ScannedComponent,tag,attrs,component.args,child]];}else {var buff=[];buff.push([Ops$2.OpenElement,tag,[]]);this.specializeStatements(component.attrs,buff);buff.push([Ops$2.FlushElement]);this.specializeStatements(component.statements,buff);buff.push([Ops$2.CloseElement]);return buff;}};RawInlineBlock.prototype.child = function child(block$$){if(!block$$)return null;var table=block(this.table,block$$.locals);return new RawInlineBlock(this.env,table,block$$.statements);};return RawInlineBlock;})();var CompiledLookup=(function(_CompiledExpression4){babelHelpers.inherits(CompiledLookup,_CompiledExpression4);function CompiledLookup(base,path){_CompiledExpression4.call(this);this.base = base;this.path = path;this.type = \"lookup\";}CompiledLookup.create = function create(base,path){if(path.length === 0){return base;}else {return new this(base,path);}};CompiledLookup.prototype.evaluate = function evaluate(vm){var base=this.base;var path=this.path;return _glimmerReference.referenceFromParts(base.evaluate(vm),path);};CompiledLookup.prototype.toJSON = function toJSON(){return this.base.toJSON() + '.' + this.path.join('.');};return CompiledLookup;})(CompiledExpression);var CompiledSelf=(function(_CompiledExpression5){babelHelpers.inherits(CompiledSelf,_CompiledExpression5);function CompiledSelf(){_CompiledExpression5.apply(this,arguments);}CompiledSelf.prototype.evaluate = function evaluate(vm){return vm.getSelf();};CompiledSelf.prototype.toJSON = function toJSON(){return 'self';};return CompiledSelf;})(CompiledExpression);var CompiledSymbol=(function(_CompiledExpression6){babelHelpers.inherits(CompiledSymbol,_CompiledExpression6);function CompiledSymbol(symbol,debug){_CompiledExpression6.call(this);this.symbol = symbol;this.debug = debug;}CompiledSymbol.prototype.evaluate = function evaluate(vm){return vm.referenceForSymbol(this.symbol);};CompiledSymbol.prototype.toJSON = function toJSON(){return '$' + this.symbol + '(' + this.debug + ')';};return CompiledSymbol;})(CompiledExpression);var CompiledInPartialName=(function(_CompiledExpression7){babelHelpers.inherits(CompiledInPartialName,_CompiledExpression7);function CompiledInPartialName(symbol,name){_CompiledExpression7.call(this);this.symbol = symbol;this.name = name;}CompiledInPartialName.prototype.evaluate = function evaluate(vm){var symbol=this.symbol;var name=this.name;var args=vm.scope().getPartialArgs(symbol);return args.named.get(name);};CompiledInPartialName.prototype.toJSON = function toJSON(){return '$' + this.symbol + '($ARGS).' + this.name;};return CompiledInPartialName;})(CompiledExpression);var CompiledHelper=(function(_CompiledExpression8){babelHelpers.inherits(CompiledHelper,_CompiledExpression8);function CompiledHelper(name,helper,args,symbolTable){_CompiledExpression8.call(this);this.name = name;this.helper = helper;this.args = args;this.symbolTable = symbolTable;this.type = \"helper\";}CompiledHelper.prototype.evaluate = function evaluate(vm){var helper=this.helper;return helper(vm,this.args.evaluate(vm),this.symbolTable);};CompiledHelper.prototype.toJSON = function toJSON(){return '`' + this.name + '($ARGS)`';};return CompiledHelper;})(CompiledExpression);var CompiledConcat=(function(){function CompiledConcat(parts){this.parts = parts;this.type = \"concat\";}CompiledConcat.prototype.evaluate = function evaluate(vm){var parts=new Array(this.parts.length);for(var i=0;i < this.parts.length;i++) {parts[i] = this.parts[i].evaluate(vm);}return new ConcatReference(parts);};CompiledConcat.prototype.toJSON = function toJSON(){return 'concat(' + this.parts.map(function(expr){return expr.toJSON();}).join(\", \") + ')';};return CompiledConcat;})();var ConcatReference=(function(_CachedReference2){babelHelpers.inherits(ConcatReference,_CachedReference2);function ConcatReference(parts){_CachedReference2.call(this);this.parts = parts;this.tag = _glimmerReference.combineTagged(parts);}ConcatReference.prototype.compute = function compute(){var parts=new Array();for(var i=0;i < this.parts.length;i++) {var value=this.parts[i].value();if(value !== null && value !== undefined){parts[i] = castToString(value);}}if(parts.length > 0){return parts.join('');}return null;};return ConcatReference;})(_glimmerReference.CachedReference);function castToString(value){if(typeof value['toString'] !== 'function'){return '';}return String(value);}var CompiledFunctionExpression=(function(_CompiledExpression9){babelHelpers.inherits(CompiledFunctionExpression,_CompiledExpression9);function CompiledFunctionExpression(func,symbolTable){_CompiledExpression9.call(this);this.func = func;this.symbolTable = symbolTable;this.type = \"function\";this.func = func;}CompiledFunctionExpression.prototype.evaluate = function evaluate(vm){var func=this.func;var symbolTable=this.symbolTable;return func(vm,symbolTable);};CompiledFunctionExpression.prototype.toJSON = function toJSON(){var func=this.func;if(func.name){return '`' + func.name + '(...)`';}else {return \"`func(...)`\";}};return CompiledFunctionExpression;})(CompiledExpression);var _BaselineSyntax$NestedBlock=BaselineSyntax.NestedBlock;var defaultBlock=_BaselineSyntax$NestedBlock.defaultBlock;var params=_BaselineSyntax$NestedBlock.params;var hash=_BaselineSyntax$NestedBlock.hash;function debugCallback(context,get){console.info('Use `context`, and `get(<path>)` to debug this template.'); /* tslint:disable */debugger; /* tslint:enable */return {context:context,get:get};}function getter(vm,builder){return function(path){var parts=path.split('.');if(parts[0] === 'this'){parts[0] = null;}return compileRef(parts,builder).evaluate(vm);};}var callback=debugCallback; // For testing purposes\nfunction setDebuggerCallback(cb){callback = cb;}function resetDebuggerCallback(){callback = debugCallback;}var Compilers=(function(){function Compilers(){this.names = _glimmerUtil.dict();this.funcs = [];}Compilers.prototype.add = function add(name,func){this.funcs.push(func);this.names[name] = this.funcs.length - 1;};Compilers.prototype.compile = function compile(sexp,builder){var name=sexp[0];var index=this.names[name];var func=this.funcs[index];_glimmerUtil.assert(!!func,'expected an implementation for ' + sexp[0]);return func(sexp,builder);};return Compilers;})();var Ops$1=_glimmerWireFormat.Ops;var STATEMENTS=new Compilers();STATEMENTS.add(Ops$1.Text,function(sexp,builder){builder.text(sexp[1]);});STATEMENTS.add(Ops$1.Comment,function(sexp,builder){builder.comment(sexp[1]);});STATEMENTS.add(Ops$1.CloseElement,function(_sexp,builder){_glimmerUtil.LOGGER.trace('close-element statement');builder.closeElement();});STATEMENTS.add(Ops$1.FlushElement,function(_sexp,builder){builder.flushElement();});STATEMENTS.add(Ops$1.Modifier,function(sexp,builder){var path=sexp[1];var params=sexp[2];var hash=sexp[3];var args=compileArgs(params,hash,builder);if(builder.env.hasModifier(path[0],builder.symbolTable)){builder.modifier(path[0],args);}else {throw new Error('Compile Error ' + path.join('.') + ' is not a modifier: Helpers may not be used in the element form.');}});STATEMENTS.add(Ops$1.StaticAttr,function(sexp,builder){var name=sexp[1];var value=sexp[2];var namespace=sexp[3];builder.staticAttr(name,namespace,value);});STATEMENTS.add(Ops$1.AnyDynamicAttr,function(sexp,builder){var name=sexp[1];var value=sexp[2];var namespace=sexp[3];var trusting=sexp[4];builder.putValue(value);if(namespace){builder.dynamicAttrNS(name,namespace,trusting);}else {builder.dynamicAttr(name,trusting);}});STATEMENTS.add(Ops$1.OpenElement,function(sexp,builder){_glimmerUtil.LOGGER.trace('open-element statement');builder.openPrimitiveElement(sexp[1]);});STATEMENTS.add(Ops$1.OptimizedAppend,function(sexp,builder){var value=sexp[1];var trustingMorph=sexp[2];var _builder$env$macros=builder.env.macros();var inlines=_builder$env$macros.inlines;var returned=inlines.compile(sexp,builder) || value;if(returned === true)return;builder.putValue(returned[1]);if(trustingMorph){builder.trustingAppend();}else {builder.cautiousAppend();}});STATEMENTS.add(Ops$1.UnoptimizedAppend,function(sexp,builder){var value=sexp[1];var trustingMorph=sexp[2];var _builder$env$macros2=builder.env.macros();var inlines=_builder$env$macros2.inlines;var returned=inlines.compile(sexp,builder) || value;if(returned === true)return;if(trustingMorph){builder.guardedTrustingAppend(returned[1]);}else {builder.guardedCautiousAppend(returned[1]);}});STATEMENTS.add(Ops$1.NestedBlock,function(sexp,builder){var _builder$env$macros3=builder.env.macros();var blocks=_builder$env$macros3.blocks;blocks.compile(sexp,builder);});STATEMENTS.add(Ops$1.ScannedBlock,function(sexp,builder){var path=sexp[1];var params=sexp[2];var hash=sexp[3];var template=sexp[4];var inverse=sexp[5];var templateBlock=template && template.scan();var inverseBlock=inverse && inverse.scan();var _builder$env$macros4=builder.env.macros();var blocks=_builder$env$macros4.blocks;blocks.compile([Ops$1.NestedBlock,path,params,hash,templateBlock,inverseBlock],builder);});STATEMENTS.add(Ops$1.ScannedComponent,function(sexp,builder){var tag=sexp[1];var attrs=sexp[2];var rawArgs=sexp[3];var rawBlock=sexp[4];var block=rawBlock && rawBlock.scan();var args=compileBlockArgs(null,rawArgs,{default:block,inverse:null},builder);var definition=builder.env.getComponentDefinition(tag,builder.symbolTable);builder.putComponentDefinition(definition);builder.openComponent(args,attrs.scan());builder.closeComponent();});STATEMENTS.add(Ops$1.StaticPartial,function(sexp,builder){var name=sexp[1];if(!builder.env.hasPartial(name,builder.symbolTable)){throw new Error('Compile Error: Could not find a partial named \"' + name + '\"');}var definition=builder.env.lookupPartial(name,builder.symbolTable);builder.putPartialDefinition(definition);builder.evaluatePartial();});STATEMENTS.add(Ops$1.DynamicPartial,function(sexp,builder){var name=sexp[1];builder.startLabels();builder.putValue(name);builder.test('simple');builder.enter('BEGIN','END');builder.label('BEGIN');builder.jumpUnless('END');builder.putDynamicPartialDefinition();builder.evaluatePartial();builder.label('END');builder.exit();builder.stopLabels();});STATEMENTS.add(Ops$1.Yield,function(sexp,builder){var to=sexp[1];var params=sexp[2];var args=compileArgs(params,null,builder);builder.yield(args,to);});STATEMENTS.add(Ops$1.Debugger,function(sexp,builder){builder.putValue([Ops$1.Function,function(vm){var context=vm.getSelf().value();var get=function(path){return getter(vm,builder)(path).value();};callback(context,get);}]);return sexp;});var EXPRESSIONS=new Compilers();function expr(expression,builder){if(Array.isArray(expression)){return EXPRESSIONS.compile(expression,builder);}else {return new CompiledValue(expression);}}EXPRESSIONS.add(Ops$1.Unknown,function(sexp,builder){var path=sexp[1];var name=path[0];if(builder.env.hasHelper(name,builder.symbolTable)){return new CompiledHelper(name,builder.env.lookupHelper(name,builder.symbolTable),CompiledArgs.empty(),builder.symbolTable);}else {return compileRef(path,builder);}});EXPRESSIONS.add(Ops$1.Concat,function(sexp,builder){var params=sexp[1].map(function(p){return expr(p,builder);});return new CompiledConcat(params);});EXPRESSIONS.add(Ops$1.Function,function(sexp,builder){return new CompiledFunctionExpression(sexp[1],builder.symbolTable);});EXPRESSIONS.add(Ops$1.Helper,function(sexp,builder){var env=builder.env;var symbolTable=builder.symbolTable;var _sexp$1=sexp[1];var name=_sexp$1[0];var params=sexp[2];var hash=sexp[3];if(env.hasHelper(name,symbolTable)){var args=compileArgs(params,hash,builder);return new CompiledHelper(name,env.lookupHelper(name,symbolTable),args,symbolTable);}else {throw new Error('Compile Error: ' + name + ' is not a helper');}});EXPRESSIONS.add(Ops$1.Get,function(sexp,builder){return compileRef(sexp[1],builder);});EXPRESSIONS.add(Ops$1.Undefined,function(_sexp,_builder){return new CompiledValue(undefined);});EXPRESSIONS.add(Ops$1.Arg,function(sexp,builder){var parts=sexp[1];var head=parts[0];var named=undefined,partial=undefined;if(named = builder.symbolTable.getSymbol('named',head)){var path=parts.slice(1);var inner=new CompiledSymbol(named,head);return CompiledLookup.create(inner,path);}else if(partial = builder.symbolTable.getPartialArgs()){var path=parts.slice(1);var inner=new CompiledInPartialName(partial,head);return CompiledLookup.create(inner,path);}else {throw new Error('[BUG] @' + parts.join('.') + ' is not a valid lookup path.');}});EXPRESSIONS.add(Ops$1.HasBlock,function(sexp,builder){var blockName=sexp[1];var yields=undefined,partial=undefined;if(yields = builder.symbolTable.getSymbol('yields',blockName)){var inner=new CompiledGetBlockBySymbol(yields,blockName);return new CompiledHasBlock(inner);}else if(partial = builder.symbolTable.getPartialArgs()){var inner=new CompiledInPartialGetBlock(partial,blockName);return new CompiledHasBlock(inner);}else {throw new Error('[BUG] ${blockName} is not a valid block name.');}});EXPRESSIONS.add(Ops$1.HasBlockParams,function(sexp,builder){var blockName=sexp[1];var yields=undefined,partial=undefined;if(yields = builder.symbolTable.getSymbol('yields',blockName)){var inner=new CompiledGetBlockBySymbol(yields,blockName);return new CompiledHasBlockParams(inner);}else if(partial = builder.symbolTable.getPartialArgs()){var inner=new CompiledInPartialGetBlock(partial,blockName);return new CompiledHasBlockParams(inner);}else {throw new Error('[BUG] ${blockName} is not a valid block name.');}});function compileArgs(params,hash,builder){var compiledParams=compileParams(params,builder);var compiledHash=compileHash(hash,builder);return CompiledArgs.create(compiledParams,compiledHash,EMPTY_BLOCKS);}function compileBlockArgs(params,hash,blocks,builder){var compiledParams=compileParams(params,builder);var compiledHash=compileHash(hash,builder);return CompiledArgs.create(compiledParams,compiledHash,blocks);}function compileBaselineArgs(args,builder){var params=args[0];var hash=args[1];var _default=args[2];var inverse=args[3];return CompiledArgs.create(compileParams(params,builder),compileHash(hash,builder),{default:_default,inverse:inverse});}function compileParams(params,builder){if(!params || params.length === 0)return COMPILED_EMPTY_POSITIONAL_ARGS;var compiled=new Array(params.length);for(var i=0;i < params.length;i++) {compiled[i] = expr(params[i],builder);}return CompiledPositionalArgs.create(compiled);}function compileHash(hash,builder){if(!hash)return COMPILED_EMPTY_NAMED_ARGS;var keys=hash[0];var values=hash[1];if(keys.length === 0)return COMPILED_EMPTY_NAMED_ARGS;var compiled=new Array(values.length);for(var i=0;i < values.length;i++) {compiled[i] = expr(values[i],builder);}return new CompiledNamedArgs(keys,compiled);}function compileRef(parts,builder){var head=parts[0];var local=undefined;if(head === null){var inner=new CompiledSelf();var path=parts.slice(1);return CompiledLookup.create(inner,path);}else if(local = builder.symbolTable.getSymbol('local',head)){var path=parts.slice(1);var inner=new CompiledSymbol(local,head);return CompiledLookup.create(inner,path);}else {var inner=new CompiledSelf();return CompiledLookup.create(inner,parts);}}var Blocks=(function(){function Blocks(){this.names = _glimmerUtil.dict();this.funcs = [];}Blocks.prototype.add = function add(name,func){this.funcs.push(func);this.names[name] = this.funcs.length - 1;};Blocks.prototype.addMissing = function addMissing(func){this.missing = func;};Blocks.prototype.compile = function compile(sexp,builder){ // assert(sexp[1].length === 1, 'paths in blocks are not supported');\nvar name=sexp[1][0];var index=this.names[name];if(index === undefined){_glimmerUtil.assert(!!this.missing,name + ' not found, and no catch-all block handler was registered');var func=this.missing;var handled=func(sexp,builder);_glimmerUtil.assert(!!handled,name + ' not found, and the catch-all block handler didn\\'t handle it');}else {var func=this.funcs[index];func(sexp,builder);}};return Blocks;})();var BLOCKS=new Blocks();var Inlines=(function(){function Inlines(){this.names = _glimmerUtil.dict();this.funcs = [];}Inlines.prototype.add = function add(name,func){this.funcs.push(func);this.names[name] = this.funcs.length - 1;};Inlines.prototype.addMissing = function addMissing(func){this.missing = func;};Inlines.prototype.compile = function compile(sexp,builder){var value=sexp[1]; // TODO: Fix this so that expression macros can return\n// things like components, so that {{component foo}}\n// is the same as {{(component foo)}}\nif(!Array.isArray(value))return ['expr',value];var path=undefined;var params=undefined;var hash=undefined;if(value[0] === Ops$1.Helper){path = value[1];params = value[2];hash = value[3];}else if(value[0] === Ops$1.Unknown){path = value[1];params = hash = null;}else {return ['expr',value];}if(path.length > 1 && !params && !hash){return ['expr',value];}var name=path[0];var index=this.names[name];if(index === undefined && this.missing){var func=this.missing;var returned=func(path,params,hash,builder);return returned === false?['expr',value]:returned;}else if(index !== undefined){var func=this.funcs[index];var returned=func(path,params,hash,builder);return returned === false?['expr',value]:returned;}else {return ['expr',value];}};return Inlines;})();var INLINES=new Inlines();populateBuiltins(BLOCKS,INLINES);function populateBuiltins(){var blocks=arguments.length <= 0 || arguments[0] === undefined?new Blocks():arguments[0];var inlines=arguments.length <= 1 || arguments[1] === undefined?new Inlines():arguments[1];blocks.add('if',function(sexp,builder){ //        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\nvar params=sexp[2];var hash=sexp[3];var _default=sexp[4];var inverse=sexp[5];var args=compileArgs(params,hash,builder);builder.putArgs(args);builder.test('environment');builder.labelled(null,function(b){if(_default && inverse){b.jumpUnless('ELSE');b.evaluate(_default);b.jump('END');b.label('ELSE');b.evaluate(inverse);}else if(_default){b.jumpUnless('END');b.evaluate(_default);}else {throw _glimmerUtil.unreachable();}});});blocks.add('-in-element',function(sexp,builder){var block=defaultBlock(sexp);var args=compileArgs(params(sexp),null,builder);builder.putArgs(args);builder.test('simple');builder.labelled(null,function(b){b.jumpUnless('END');b.pushRemoteElement();b.evaluate(_glimmerUtil.unwrap(block));b.popRemoteElement();});});blocks.add('-with-dynamic-vars',function(sexp,builder){var block=defaultBlock(sexp);var args=compileArgs(params(sexp),hash(sexp),builder);builder.unit(function(b){b.putArgs(args);b.pushDynamicScope();b.bindDynamicScope(args.named.keys);b.evaluate(_glimmerUtil.unwrap(block));b.popDynamicScope();});});blocks.add('unless',function(sexp,builder){ //        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\nvar params=sexp[2];var hash=sexp[3];var _default=sexp[4];var inverse=sexp[5];var args=compileArgs(params,hash,builder);builder.putArgs(args);builder.test('environment');builder.labelled(null,function(b){if(_default && inverse){b.jumpIf('ELSE');b.evaluate(_default);b.jump('END');b.label('ELSE');b.evaluate(inverse);}else if(_default){b.jumpIf('END');b.evaluate(_default);}else {throw _glimmerUtil.unreachable();}});});blocks.add('with',function(sexp,builder){ //        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\nvar params=sexp[2];var hash=sexp[3];var _default=sexp[4];var inverse=sexp[5];var args=compileArgs(params,hash,builder);builder.putArgs(args);builder.test('environment');builder.labelled(null,function(b){if(_default && inverse){b.jumpUnless('ELSE');b.evaluate(_default);b.jump('END');b.label('ELSE');b.evaluate(inverse);}else if(_default){b.jumpUnless('END');b.evaluate(_default);}else {throw _glimmerUtil.unreachable();}});});blocks.add('each',function(sexp,builder){ //         Enter(BEGIN, END)\n// BEGIN:  Noop\n//         PutArgs\n//         PutIterable\n//         JumpUnless(ELSE)\n//         EnterList(BEGIN2, END2)\n// ITER:   Noop\n//         NextIter(BREAK)\n//         EnterWithKey(BEGIN2, END2)\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\nvar params=sexp[2];var hash=sexp[3];var _default=sexp[4];var inverse=sexp[5];var args=compileArgs(params,hash,builder);builder.labelled(args,function(b){b.putIterator();if(inverse){b.jumpUnless('ELSE');}else {b.jumpUnless('END');}b.iter(function(b){b.evaluate(_glimmerUtil.unwrap(_default));});if(inverse){b.jump('END');b.label('ELSE');b.evaluate(inverse);}});});return {blocks:blocks,inlines:inlines};}var badProtocols=['javascript:','vbscript:'];var badTags=['A','BODY','LINK','IMG','IFRAME','BASE','FORM'];var badTagsForDataURI=['EMBED'];var badAttributes=['href','src','background','action'];var badAttributesForDataURI=['src'];function has(array,item){return array.indexOf(item) !== -1;}function checkURI(tagName,attribute){return (tagName === null || has(badTags,tagName)) && has(badAttributes,attribute);}function checkDataURI(tagName,attribute){if(tagName === null)return false;return has(badTagsForDataURI,tagName) && has(badAttributesForDataURI,attribute);}function requiresSanitization(tagName,attribute){return checkURI(tagName,attribute) || checkDataURI(tagName,attribute);}function sanitizeAttributeValue(env,element,attribute,value){var tagName=null;if(value === null || value === undefined){return value;}if(isSafeString(value)){return value.toHTML();}if(!element){tagName = null;}else {tagName = element.tagName.toUpperCase();}var str=normalizeTextValue(value);if(checkURI(tagName,attribute)){var protocol=env.protocolForURL(str);if(has(badProtocols,protocol)){return 'unsafe:' + str;}}if(checkDataURI(tagName,attribute)){return 'unsafe:' + str;}return str;} /*\n * @method normalizeProperty\n * @param element {HTMLElement}\n * @param slotName {String}\n * @returns {Object} { name, type }\n */function normalizeProperty(element,slotName){var type=undefined,normalized=undefined;if(slotName in element){normalized = slotName;type = 'prop';}else {var lower=slotName.toLowerCase();if(lower in element){type = 'prop';normalized = lower;}else {type = 'attr';normalized = slotName;}}if(type === 'prop' && (normalized.toLowerCase() === 'style' || preferAttr(element.tagName,normalized))){type = 'attr';}return {normalized:normalized,type:type};} // properties that MUST be set as attributes, due to:\n// * browser bug\n// * strange spec outlier\nvar ATTR_OVERRIDES={ // phantomjs < 2.0 lets you set it as a prop but won't reflect it\n// back to the attribute. button.getAttribute('type') === null\nBUTTON:{type:true,form:true},INPUT:{ // Some version of IE (like IE9) actually throw an exception\n// if you set input.type = 'something-unknown'\ntype:true,form:true, // 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\nautocorrect:true, // Chrome 54.0.2840.98: 'list' in document.createElement('input') === true\n// Safari 9.1.3: 'list' in document.createElement('input') === false\nlist:true}, // element.form is actually a legitimate readOnly property, that is to be\n// mutated, but must be mutated by setAttribute...\nSELECT:{form:true},OPTION:{form:true},TEXTAREA:{form:true},LABEL:{form:true},FIELDSET:{form:true},LEGEND:{form:true},OBJECT:{form:true}};function preferAttr(tagName,propName){var tag=ATTR_OVERRIDES[tagName.toUpperCase()];return tag && tag[propName.toLowerCase()] || false;}var innerHTMLWrapper={colgroup:{depth:2,before:'<table><colgroup>',after:'</colgroup></table>'},table:{depth:1,before:'<table>',after:'</table>'},tbody:{depth:2,before:'<table><tbody>',after:'</tbody></table>'},tfoot:{depth:2,before:'<table><tfoot>',after:'</tfoot></table>'},thead:{depth:2,before:'<table><thead>',after:'</thead></table>'},tr:{depth:3,before:'<table><tbody><tr>',after:'</tr></tbody></table>'}}; // Patch:    innerHTML Fix\n// Browsers: IE9\n// Reason:   IE9 don't allow us to set innerHTML on col, colgroup, frameset,\n//           html, style, table, tbody, tfoot, thead, title, tr.\n// Fix:      Wrap the innerHTML we are about to set in its parents, apply the\n//           wrapped innerHTML on a div, then move the unwrapped nodes into the\n//           target position.\nfunction domChanges(document,DOMChangesClass){if(!document)return DOMChangesClass;if(!shouldApplyFix(document)){return DOMChangesClass;}var div=document.createElement('div');return (function(_DOMChangesClass){babelHelpers.inherits(DOMChangesWithInnerHTMLFix,_DOMChangesClass);function DOMChangesWithInnerHTMLFix(){_DOMChangesClass.apply(this,arguments);}DOMChangesWithInnerHTMLFix.prototype.insertHTMLBefore = function insertHTMLBefore(parent,nextSibling,html){if(html === null || html === ''){return _DOMChangesClass.prototype.insertHTMLBefore.call(this,parent,nextSibling,html);}var parentTag=parent.tagName.toLowerCase();var wrapper=innerHTMLWrapper[parentTag];if(wrapper === undefined){return _DOMChangesClass.prototype.insertHTMLBefore.call(this,parent,nextSibling,html);}return fixInnerHTML(parent,wrapper,div,html,nextSibling);};return DOMChangesWithInnerHTMLFix;})(DOMChangesClass);}function treeConstruction(document,DOMTreeConstructionClass){if(!document)return DOMTreeConstructionClass;if(!shouldApplyFix(document)){return DOMTreeConstructionClass;}var div=document.createElement('div');return (function(_DOMTreeConstructionClass){babelHelpers.inherits(DOMTreeConstructionWithInnerHTMLFix,_DOMTreeConstructionClass);function DOMTreeConstructionWithInnerHTMLFix(){_DOMTreeConstructionClass.apply(this,arguments);}DOMTreeConstructionWithInnerHTMLFix.prototype.insertHTMLBefore = function insertHTMLBefore(parent,html,reference){if(html === null || html === ''){return _DOMTreeConstructionClass.prototype.insertHTMLBefore.call(this,parent,html,reference);}var parentTag=parent.tagName.toLowerCase();var wrapper=innerHTMLWrapper[parentTag];if(wrapper === undefined){return _DOMTreeConstructionClass.prototype.insertHTMLBefore.call(this,parent,html,reference);}return fixInnerHTML(parent,wrapper,div,html,reference);};return DOMTreeConstructionWithInnerHTMLFix;})(DOMTreeConstructionClass);}function fixInnerHTML(parent,wrapper,div,html,reference){var wrappedHtml=wrapper.before + html + wrapper.after;div.innerHTML = wrappedHtml;var parentNode=div;for(var i=0;i < wrapper.depth;i++) {parentNode = parentNode.childNodes[0];}var _moveNodesBefore=moveNodesBefore(parentNode,parent,reference);var first=_moveNodesBefore[0];var last=_moveNodesBefore[1];return new ConcreteBounds(parent,first,last);}function shouldApplyFix(document){var table=document.createElement('table');try{table.innerHTML = '<tbody></tbody>';}catch(e) {}finally {if(table.childNodes.length !== 0){ // It worked as expected, no fix required\nreturn false;}}return true;}var SVG_NAMESPACE$1='http://www.w3.org/2000/svg'; // 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.\nfunction domChanges$1(document,DOMChangesClass,svgNamespace){if(!document)return DOMChangesClass;if(!shouldApplyFix$1(document,svgNamespace)){return DOMChangesClass;}var div=document.createElement('div');return (function(_DOMChangesClass2){babelHelpers.inherits(DOMChangesWithSVGInnerHTMLFix,_DOMChangesClass2);function DOMChangesWithSVGInnerHTMLFix(){_DOMChangesClass2.apply(this,arguments);}DOMChangesWithSVGInnerHTMLFix.prototype.insertHTMLBefore = function insertHTMLBefore(parent,nextSibling,html){if(html === null || html === ''){return _DOMChangesClass2.prototype.insertHTMLBefore.call(this,parent,nextSibling,html);}if(parent.namespaceURI !== svgNamespace){return _DOMChangesClass2.prototype.insertHTMLBefore.call(this,parent,nextSibling,html);}return fixSVG(parent,div,html,nextSibling);};return DOMChangesWithSVGInnerHTMLFix;})(DOMChangesClass);}function treeConstruction$1(document,TreeConstructionClass,svgNamespace){if(!document)return TreeConstructionClass;if(!shouldApplyFix$1(document,svgNamespace)){return TreeConstructionClass;}var div=document.createElement('div');return (function(_TreeConstructionClass){babelHelpers.inherits(TreeConstructionWithSVGInnerHTMLFix,_TreeConstructionClass);function TreeConstructionWithSVGInnerHTMLFix(){_TreeConstructionClass.apply(this,arguments);}TreeConstructionWithSVGInnerHTMLFix.prototype.insertHTMLBefore = function insertHTMLBefore(parent,html,reference){if(html === null || html === ''){return _TreeConstructionClass.prototype.insertHTMLBefore.call(this,parent,html,reference);}if(parent.namespaceURI !== svgNamespace){return _TreeConstructionClass.prototype.insertHTMLBefore.call(this,parent,html,reference);}return fixSVG(parent,div,html,reference);};return TreeConstructionWithSVGInnerHTMLFix;})(TreeConstructionClass);}function fixSVG(parent,div,html,reference){ // IE, Edge: also do not correctly support using `innerHTML` on SVG\n// namespaced elements. So here a wrapper is used.\nvar wrappedHtml='<svg>' + html + '</svg>';div.innerHTML = wrappedHtml;var _moveNodesBefore2=moveNodesBefore(div.firstChild,parent,reference);var first=_moveNodesBefore2[0];var last=_moveNodesBefore2[1];return new ConcreteBounds(parent,first,last);}function shouldApplyFix$1(document,svgNamespace){var svg=document.createElementNS(svgNamespace,'svg');try{svg['insertAdjacentHTML']('beforeEnd','<circle></circle>');}catch(e) { // IE, Edge: Will throw, insertAdjacentHTML is unsupported on SVG\n// Safari: Will throw, insertAdjacentHTML is not present on SVG\n}finally { // FF: Old versions will create a node in the wrong namespace\nif(svg.childNodes.length === 1 && _glimmerUtil.unwrap(svg.firstChild).namespaceURI === SVG_NAMESPACE$1){ // The test worked as expected, no fix required\nreturn false;}return true;}} // 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.\nfunction domChanges$2(document,DOMChangesClass){if(!document)return DOMChangesClass;if(!shouldApplyFix$2(document)){return DOMChangesClass;}return (function(_DOMChangesClass3){babelHelpers.inherits(DOMChangesWithTextNodeMergingFix,_DOMChangesClass3);function DOMChangesWithTextNodeMergingFix(document){_DOMChangesClass3.call(this,document);this.uselessComment = document.createComment('');}DOMChangesWithTextNodeMergingFix.prototype.insertHTMLBefore = function insertHTMLBefore(parent,nextSibling,html){if(html === null){return _DOMChangesClass3.prototype.insertHTMLBefore.call(this,parent,nextSibling,html);}var didSetUselessComment=false;var nextPrevious=nextSibling?nextSibling.previousSibling:parent.lastChild;if(nextPrevious && nextPrevious instanceof Text){didSetUselessComment = true;parent.insertBefore(this.uselessComment,nextSibling);}var bounds=_DOMChangesClass3.prototype.insertHTMLBefore.call(this,parent,nextSibling,html);if(didSetUselessComment){parent.removeChild(this.uselessComment);}return bounds;};return DOMChangesWithTextNodeMergingFix;})(DOMChangesClass);}function treeConstruction$2(document,TreeConstructionClass){if(!document)return TreeConstructionClass;if(!shouldApplyFix$2(document)){return TreeConstructionClass;}return (function(_TreeConstructionClass2){babelHelpers.inherits(TreeConstructionWithTextNodeMergingFix,_TreeConstructionClass2);function TreeConstructionWithTextNodeMergingFix(document){_TreeConstructionClass2.call(this,document);this.uselessComment = this.createComment('');}TreeConstructionWithTextNodeMergingFix.prototype.insertHTMLBefore = function insertHTMLBefore(parent,html,reference){if(html === null){return _TreeConstructionClass2.prototype.insertHTMLBefore.call(this,parent,html,reference);}var didSetUselessComment=false;var nextPrevious=reference?reference.previousSibling:parent.lastChild;if(nextPrevious && nextPrevious instanceof Text){didSetUselessComment = true;parent.insertBefore(this.uselessComment,reference);}var bounds=_TreeConstructionClass2.prototype.insertHTMLBefore.call(this,parent,html,reference);if(didSetUselessComment){parent.removeChild(this.uselessComment);}return bounds;};return TreeConstructionWithTextNodeMergingFix;})(TreeConstructionClass);}function shouldApplyFix$2(document){var mergingTextDiv=document.createElement('div');mergingTextDiv.innerHTML = 'first';mergingTextDiv.insertAdjacentHTML('beforeEnd','second');if(mergingTextDiv.childNodes.length === 2){ // It worked as expected, no fix required\nreturn false;}return true;}var SVG_NAMESPACE='http://www.w3.org/2000/svg'; // http://www.w3.org/TR/html/syntax.html#html-integration-point\nvar SVG_INTEGRATION_POINTS={foreignObject:1,desc:1,title:1}; // 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\nvar BLACKLIST_TABLE=Object.create(null);[\"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){return BLACKLIST_TABLE[tag] = 1;});var WHITESPACE=/[\\t-\\r \\xA0\\u1680\\u180E\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000\\uFEFF]/;var doc=typeof document === 'undefined'?null:document;function isWhitespace(string){return WHITESPACE.test(string);}function moveNodesBefore(source,target,nextSibling){var first=source.firstChild;var last=null;var current=first;while(current) {last = current;current = current.nextSibling;target.insertBefore(last,nextSibling);}return [first,last];}var DOM;(function(DOM){var TreeConstruction=(function(){function TreeConstruction(document){this.document = document;this.setupUselessElement();}TreeConstruction.prototype.setupUselessElement = function setupUselessElement(){this.uselessElement = this.document.createElement('div');};TreeConstruction.prototype.createElement = function createElement(tag,context){var isElementInSVGNamespace=undefined,isHTMLIntegrationPoint=undefined;if(context){isElementInSVGNamespace = context.namespaceURI === SVG_NAMESPACE || tag === 'svg';isHTMLIntegrationPoint = SVG_INTEGRATION_POINTS[context.tagName];}else {isElementInSVGNamespace = tag === 'svg';isHTMLIntegrationPoint = false;}if(isElementInSVGNamespace && !isHTMLIntegrationPoint){ // 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.\nif(BLACKLIST_TABLE[tag]){throw new Error('Cannot create a ' + tag + ' inside an SVG context');}return this.document.createElementNS(SVG_NAMESPACE,tag);}else {return this.document.createElement(tag);}};TreeConstruction.prototype.createElementNS = function createElementNS(namespace,tag){return this.document.createElementNS(namespace,tag);};TreeConstruction.prototype.setAttribute = function setAttribute(element,name,value,namespace){if(namespace){element.setAttributeNS(namespace,name,value);}else {element.setAttribute(name,value);}};TreeConstruction.prototype.createTextNode = function createTextNode(text){return this.document.createTextNode(text);};TreeConstruction.prototype.createComment = function createComment(data){return this.document.createComment(data);};TreeConstruction.prototype.insertBefore = function insertBefore(parent,node,reference){parent.insertBefore(node,reference);};TreeConstruction.prototype.insertHTMLBefore = function insertHTMLBefore(parent,html,reference){return _insertHTMLBefore(this.uselessElement,parent,reference,html);};return TreeConstruction;})();DOM.TreeConstruction = TreeConstruction;var appliedTreeContruction=TreeConstruction;appliedTreeContruction = treeConstruction$2(doc,appliedTreeContruction);appliedTreeContruction = treeConstruction(doc,appliedTreeContruction);appliedTreeContruction = treeConstruction$1(doc,appliedTreeContruction,SVG_NAMESPACE);DOM.DOMTreeConstruction = appliedTreeContruction;})(DOM || (DOM = {}));var DOMChanges=(function(){function DOMChanges(document){this.document = document;this.namespace = null;this.uselessElement = this.document.createElement('div');}DOMChanges.prototype.setAttribute = function setAttribute(element,name,value){element.setAttribute(name,value);};DOMChanges.prototype.setAttributeNS = function setAttributeNS(element,namespace,name,value){element.setAttributeNS(namespace,name,value);};DOMChanges.prototype.removeAttribute = function removeAttribute(element,name){element.removeAttribute(name);};DOMChanges.prototype.removeAttributeNS = function removeAttributeNS(element,namespace,name){element.removeAttributeNS(namespace,name);};DOMChanges.prototype.createTextNode = function createTextNode(text){return this.document.createTextNode(text);};DOMChanges.prototype.createComment = function createComment(data){return this.document.createComment(data);};DOMChanges.prototype.createElement = function createElement(tag,context){var isElementInSVGNamespace=undefined,isHTMLIntegrationPoint=undefined;if(context){isElementInSVGNamespace = context.namespaceURI === SVG_NAMESPACE || tag === 'svg';isHTMLIntegrationPoint = SVG_INTEGRATION_POINTS[context.tagName];}else {isElementInSVGNamespace = tag === 'svg';isHTMLIntegrationPoint = false;}if(isElementInSVGNamespace && !isHTMLIntegrationPoint){ // 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.\nif(BLACKLIST_TABLE[tag]){throw new Error('Cannot create a ' + tag + ' inside an SVG context');}return this.document.createElementNS(SVG_NAMESPACE,tag);}else {return this.document.createElement(tag);}};DOMChanges.prototype.insertHTMLBefore = function insertHTMLBefore(_parent,nextSibling,html){return _insertHTMLBefore(this.uselessElement,_parent,nextSibling,html);};DOMChanges.prototype.insertNodeBefore = function insertNodeBefore(parent,node,reference){if(isDocumentFragment(node)){var firstChild=node.firstChild;var lastChild=node.lastChild;this.insertBefore(parent,node,reference);return new ConcreteBounds(parent,firstChild,lastChild);}else {this.insertBefore(parent,node,reference);return new SingleNodeBounds(parent,node);}};DOMChanges.prototype.insertTextBefore = function insertTextBefore(parent,nextSibling,text){var textNode=this.createTextNode(text);this.insertBefore(parent,textNode,nextSibling);return textNode;};DOMChanges.prototype.insertBefore = function insertBefore(element,node,reference){element.insertBefore(node,reference);};DOMChanges.prototype.insertAfter = function insertAfter(element,node,reference){this.insertBefore(element,node,reference.nextSibling);};return DOMChanges;})();function _insertHTMLBefore(_useless,_parent,_nextSibling,html){ // TypeScript vendored an old version of the DOM spec where `insertAdjacentHTML`\n// only exists on `HTMLElement` but not on `Element`. We actually work with the\n// newer version of the DOM API here (and monkey-patch this method in `./compat`\n// when we detect older browsers). This is a hack to work around this limitation.\nvar parent=_parent;var useless=_useless;var nextSibling=_nextSibling;var prev=nextSibling?nextSibling.previousSibling:parent.lastChild;var last=undefined;if(html === null || html === ''){return new ConcreteBounds(parent,null,null);}if(nextSibling === null){parent.insertAdjacentHTML('beforeEnd',html);last = parent.lastChild;}else if(nextSibling instanceof HTMLElement){nextSibling.insertAdjacentHTML('beforeBegin',html);last = nextSibling.previousSibling;}else { // 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\nparent.insertBefore(useless,nextSibling);useless.insertAdjacentHTML('beforeBegin',html);last = useless.previousSibling;parent.removeChild(useless);}var first=prev?prev.nextSibling:parent.firstChild;return new ConcreteBounds(parent,first,last);}function isDocumentFragment(node){return node.nodeType === Node.DOCUMENT_FRAGMENT_NODE;}var helper=DOMChanges;helper = domChanges$2(doc,helper);helper = domChanges(doc,helper);helper = domChanges$1(doc,helper,SVG_NAMESPACE);var helper$1=helper;var DOMTreeConstruction=DOM.DOMTreeConstruction;function defaultManagers(element,attr,_isTrusting,_namespace){var tagName=element.tagName;var isSVG=element.namespaceURI === SVG_NAMESPACE;if(isSVG){return defaultAttributeManagers(tagName,attr);}var _normalizeProperty=normalizeProperty(element,attr);var type=_normalizeProperty.type;var normalized=_normalizeProperty.normalized;if(type === 'attr'){return defaultAttributeManagers(tagName,normalized);}else {return defaultPropertyManagers(tagName,normalized);}}function defaultPropertyManagers(tagName,attr){if(requiresSanitization(tagName,attr)){return new SafePropertyManager(attr);}if(isUserInputValue(tagName,attr)){return INPUT_VALUE_PROPERTY_MANAGER;}if(isOptionSelected(tagName,attr)){return OPTION_SELECTED_MANAGER;}return new PropertyManager(attr);}function defaultAttributeManagers(tagName,attr){if(requiresSanitization(tagName,attr)){return new SafeAttributeManager(attr);}return new AttributeManager(attr);}function readDOMAttr(element,attr){var isSVG=element.namespaceURI === SVG_NAMESPACE;var _normalizeProperty2=normalizeProperty(element,attr);var type=_normalizeProperty2.type;var normalized=_normalizeProperty2.normalized;if(isSVG){return element.getAttribute(normalized);}if(type === 'attr'){return element.getAttribute(normalized);}{return element[normalized];}};var AttributeManager=(function(){function AttributeManager(attr){this.attr = attr;}AttributeManager.prototype.setAttribute = function setAttribute(env,element,value,namespace){var dom=env.getAppendOperations();var normalizedValue=normalizeAttributeValue(value);if(!isAttrRemovalValue(normalizedValue)){dom.setAttribute(element,this.attr,normalizedValue,namespace);}};AttributeManager.prototype.updateAttribute = function updateAttribute(env,element,value,namespace){if(value === null || value === undefined || value === false){if(namespace){env.getDOM().removeAttributeNS(element,namespace,this.attr);}else {env.getDOM().removeAttribute(element,this.attr);}}else {this.setAttribute(env,element,value);}};return AttributeManager;})();;var PropertyManager=(function(_AttributeManager){babelHelpers.inherits(PropertyManager,_AttributeManager);function PropertyManager(){_AttributeManager.apply(this,arguments);}PropertyManager.prototype.setAttribute = function setAttribute(_env,element,value,_namespace){if(!isAttrRemovalValue(value)){element[this.attr] = value;}};PropertyManager.prototype.removeAttribute = function removeAttribute(env,element,namespace){ // TODO this sucks but to preserve properties first and to meet current\n// semantics we must do this.\nvar attr=this.attr;if(namespace){env.getDOM().removeAttributeNS(element,namespace,attr);}else {env.getDOM().removeAttribute(element,attr);}};PropertyManager.prototype.updateAttribute = function updateAttribute(env,element,value,namespace){ // ensure the property is always updated\nelement[this.attr] = value;if(isAttrRemovalValue(value)){this.removeAttribute(env,element,namespace);}};return PropertyManager;})(AttributeManager);;function normalizeAttributeValue(value){if(value === false || value === undefined || value === null){return null;}if(value === true){return '';} // onclick function etc in SSR\nif(typeof value === 'function'){return null;}return String(value);}function isAttrRemovalValue(value){return value === null || value === undefined;}var SafePropertyManager=(function(_PropertyManager){babelHelpers.inherits(SafePropertyManager,_PropertyManager);function SafePropertyManager(){_PropertyManager.apply(this,arguments);}SafePropertyManager.prototype.setAttribute = function setAttribute(env,element,value){_PropertyManager.prototype.setAttribute.call(this,env,element,sanitizeAttributeValue(env,element,this.attr,value));};SafePropertyManager.prototype.updateAttribute = function updateAttribute(env,element,value){_PropertyManager.prototype.updateAttribute.call(this,env,element,sanitizeAttributeValue(env,element,this.attr,value));};return SafePropertyManager;})(PropertyManager);function isUserInputValue(tagName,attribute){return (tagName === 'INPUT' || tagName === 'TEXTAREA') && attribute === 'value';}var InputValuePropertyManager=(function(_AttributeManager2){babelHelpers.inherits(InputValuePropertyManager,_AttributeManager2);function InputValuePropertyManager(){_AttributeManager2.apply(this,arguments);}InputValuePropertyManager.prototype.setAttribute = function setAttribute(_env,element,value){var input=element;input.value = normalizeTextValue(value);};InputValuePropertyManager.prototype.updateAttribute = function updateAttribute(_env,element,value){var input=element;var currentValue=input.value;var normalizedValue=normalizeTextValue(value);if(currentValue !== normalizedValue){input.value = normalizedValue;}};return InputValuePropertyManager;})(AttributeManager);var INPUT_VALUE_PROPERTY_MANAGER=new InputValuePropertyManager('value');function isOptionSelected(tagName,attribute){return tagName === 'OPTION' && attribute === 'selected';}var OptionSelectedManager=(function(_PropertyManager2){babelHelpers.inherits(OptionSelectedManager,_PropertyManager2);function OptionSelectedManager(){_PropertyManager2.apply(this,arguments);}OptionSelectedManager.prototype.setAttribute = function setAttribute(_env,element,value){if(value !== null && value !== undefined && value !== false){var option=element;option.selected = true;}};OptionSelectedManager.prototype.updateAttribute = function updateAttribute(_env,element,value){var option=element;if(value){option.selected = true;}else {option.selected = false;}};return OptionSelectedManager;})(PropertyManager);var OPTION_SELECTED_MANAGER=new OptionSelectedManager('selected');var SafeAttributeManager=(function(_AttributeManager3){babelHelpers.inherits(SafeAttributeManager,_AttributeManager3);function SafeAttributeManager(){_AttributeManager3.apply(this,arguments);}SafeAttributeManager.prototype.setAttribute = function setAttribute(env,element,value){_AttributeManager3.prototype.setAttribute.call(this,env,element,sanitizeAttributeValue(env,element,this.attr,value));};SafeAttributeManager.prototype.updateAttribute = function updateAttribute(env,element,value,_namespace){_AttributeManager3.prototype.updateAttribute.call(this,env,element,sanitizeAttributeValue(env,element,this.attr,value));};return SafeAttributeManager;})(AttributeManager);var Scope=(function(){function Scope(references){var callerScope=arguments.length <= 1 || arguments[1] === undefined?null:arguments[1];this.callerScope = null;this.slots = references;this.callerScope = callerScope;}Scope.root = function root(self){var size=arguments.length <= 1 || arguments[1] === undefined?0:arguments[1];var refs=new Array(size + 1);for(var i=0;i <= size;i++) {refs[i] = UNDEFINED_REFERENCE;}return new Scope(refs).init({self:self});};Scope.prototype.init = function init(_ref27){var self=_ref27.self;this.slots[0] = self;return this;};Scope.prototype.getSelf = function getSelf(){return this.slots[0];};Scope.prototype.getSymbol = function getSymbol(symbol){return this.slots[symbol];};Scope.prototype.getBlock = function getBlock(symbol){return this.slots[symbol];};Scope.prototype.getPartialArgs = function getPartialArgs(symbol){return this.slots[symbol];};Scope.prototype.bindSymbol = function bindSymbol(symbol,value){this.slots[symbol] = value;};Scope.prototype.bindBlock = function bindBlock(symbol,value){this.slots[symbol] = value;};Scope.prototype.bindPartialArgs = function bindPartialArgs(symbol,value){this.slots[symbol] = value;};Scope.prototype.bindCallerScope = function bindCallerScope(scope){this.callerScope = scope;};Scope.prototype.getCallerScope = function getCallerScope(){return this.callerScope;};Scope.prototype.child = function child(){return new Scope(this.slots.slice(),this.callerScope);};return Scope;})();var Transaction=(function(){function Transaction(){this.scheduledInstallManagers = [];this.scheduledInstallModifiers = [];this.scheduledUpdateModifierManagers = [];this.scheduledUpdateModifiers = [];this.createdComponents = [];this.createdManagers = [];this.updatedComponents = [];this.updatedManagers = [];this.destructors = [];}Transaction.prototype.didCreate = function didCreate(component,manager){this.createdComponents.push(component);this.createdManagers.push(manager);};Transaction.prototype.didUpdate = function didUpdate(component,manager){this.updatedComponents.push(component);this.updatedManagers.push(manager);};Transaction.prototype.scheduleInstallModifier = function scheduleInstallModifier(modifier,manager){this.scheduledInstallManagers.push(manager);this.scheduledInstallModifiers.push(modifier);};Transaction.prototype.scheduleUpdateModifier = function scheduleUpdateModifier(modifier,manager){this.scheduledUpdateModifierManagers.push(manager);this.scheduledUpdateModifiers.push(modifier);};Transaction.prototype.didDestroy = function didDestroy(d){this.destructors.push(d);};Transaction.prototype.commit = function commit(){var createdComponents=this.createdComponents;var createdManagers=this.createdManagers;for(var i=0;i < createdComponents.length;i++) {var component=createdComponents[i];var manager=createdManagers[i];manager.didCreate(component);}var updatedComponents=this.updatedComponents;var updatedManagers=this.updatedManagers;for(var i=0;i < updatedComponents.length;i++) {var component=updatedComponents[i];var manager=updatedManagers[i];manager.didUpdate(component);}var destructors=this.destructors;for(var i=0;i < destructors.length;i++) {destructors[i].destroy();}var scheduledInstallManagers=this.scheduledInstallManagers;var scheduledInstallModifiers=this.scheduledInstallModifiers;for(var i=0;i < scheduledInstallManagers.length;i++) {var manager=scheduledInstallManagers[i];var modifier=scheduledInstallModifiers[i];manager.install(modifier);}var scheduledUpdateModifierManagers=this.scheduledUpdateModifierManagers;var scheduledUpdateModifiers=this.scheduledUpdateModifiers;for(var i=0;i < scheduledUpdateModifierManagers.length;i++) {var manager=scheduledUpdateModifierManagers[i];var modifier=scheduledUpdateModifiers[i];manager.update(modifier);}};return Transaction;})();var Opcode=(function(){function Opcode(array){this.array = array;this.offset = 0;}babelHelpers.createClass(Opcode,[{key:'type',get:function(){return this.array[this.offset];}},{key:'op1',get:function(){return this.array[this.offset + 1];}},{key:'op2',get:function(){return this.array[this.offset + 2];}},{key:'op3',get:function(){return this.array[this.offset + 3];}}]);return Opcode;})();var Program=(function(){function Program(){this.opcodes = [];this._offset = 0;this._opcode = new Opcode(this.opcodes);}Program.prototype.opcode = function opcode(offset){this._opcode.offset = offset;return this._opcode;};Program.prototype.set = function set(pos,type){var op1=arguments.length <= 2 || arguments[2] === undefined?0:arguments[2];var op2=arguments.length <= 3 || arguments[3] === undefined?0:arguments[3];var op3=arguments.length <= 4 || arguments[4] === undefined?0:arguments[4];this.opcodes[pos] = type;this.opcodes[pos + 1] = op1;this.opcodes[pos + 2] = op2;this.opcodes[pos + 3] = op3;};Program.prototype.push = function push(type){var op1=arguments.length <= 1 || arguments[1] === undefined?0:arguments[1];var op2=arguments.length <= 2 || arguments[2] === undefined?0:arguments[2];var op3=arguments.length <= 3 || arguments[3] === undefined?0:arguments[3];var offset=this._offset;this.opcodes[this._offset++] = type;this.opcodes[this._offset++] = op1;this.opcodes[this._offset++] = op2;this.opcodes[this._offset++] = op3;return offset;};babelHelpers.createClass(Program,[{key:'next',get:function(){return this._offset;}},{key:'current',get:function(){return this._offset - 4;}}]);return Program;})();var Environment=(function(){function Environment(_ref28){var appendOperations=_ref28.appendOperations;var updateOperations=_ref28.updateOperations;this._macros = null;this._transaction = null;this.constants = new Constants();this.program = new Program();this.appendOperations = appendOperations;this.updateOperations = updateOperations;}Environment.prototype.toConditionalReference = function toConditionalReference(reference){return new ConditionalReference(reference);};Environment.prototype.getAppendOperations = function getAppendOperations(){return this.appendOperations;};Environment.prototype.getDOM = function getDOM(){return this.updateOperations;};Environment.prototype.getIdentity = function getIdentity(object){return _glimmerUtil.ensureGuid(object) + '';};Environment.prototype.begin = function begin(){this._transaction = new Transaction();};Environment.prototype.didCreate = function didCreate(component,manager){this.transaction.didCreate(component,manager);};Environment.prototype.didUpdate = function didUpdate(component,manager){this.transaction.didUpdate(component,manager);};Environment.prototype.scheduleInstallModifier = function scheduleInstallModifier(modifier,manager){this.transaction.scheduleInstallModifier(modifier,manager);};Environment.prototype.scheduleUpdateModifier = function scheduleUpdateModifier(modifier,manager){this.transaction.scheduleUpdateModifier(modifier,manager);};Environment.prototype.didDestroy = function didDestroy(d){this.transaction.didDestroy(d);};Environment.prototype.commit = function commit(){this.transaction.commit();this._transaction = null;};Environment.prototype.attributeFor = function attributeFor(element,attr,isTrusting,namespace){return defaultManagers(element,attr,isTrusting,namespace === undefined?null:namespace);};Environment.prototype.macros = function macros(){var macros=this._macros;if(!macros){this._macros = macros = populateBuiltins();}return macros;};babelHelpers.createClass(Environment,[{key:'transaction',get:function(){return _glimmerUtil.expect(this._transaction,'must be in a transaction');}}]);return Environment;})();var RenderResult=(function(){function RenderResult(env,updating,bounds){this.env = env;this.updating = updating;this.bounds = bounds;}RenderResult.prototype.rerender = function rerender(){var _ref29=arguments.length <= 0 || arguments[0] === undefined?{alwaysRevalidate:false}:arguments[0];var _ref29$alwaysRevalidate=_ref29.alwaysRevalidate;var alwaysRevalidate=_ref29$alwaysRevalidate === undefined?false:_ref29$alwaysRevalidate;var env=this.env;var updating=this.updating;var vm=new UpdatingVM(env,{alwaysRevalidate:alwaysRevalidate});vm.execute(updating,this);};RenderResult.prototype.parentElement = function parentElement(){return this.bounds.parentElement();};RenderResult.prototype.firstNode = function firstNode(){return this.bounds.firstNode();};RenderResult.prototype.lastNode = function lastNode(){return this.bounds.lastNode();};RenderResult.prototype.opcodes = function opcodes(){return this.updating;};RenderResult.prototype.handleException = function handleException(){throw \"this should never happen\";};RenderResult.prototype.destroy = function destroy(){this.bounds.destroy();clear(this.bounds);};return RenderResult;})();var CapturedFrame=function CapturedFrame(operand,args,condition){this.operand = operand;this.args = args;this.condition = condition;};var Frame=(function(){function Frame(start,end){var component=arguments.length <= 2 || arguments[2] === undefined?null:arguments[2];var manager=arguments.length <= 3 || arguments[3] === undefined?null:arguments[3];var shadow=arguments.length <= 4 || arguments[4] === undefined?null:arguments[4];this.start = start;this.end = end;this.component = component;this.manager = manager;this.shadow = shadow;this.operand = null;this.immediate = null;this.args = null;this.callerScope = null;this.blocks = null;this.condition = null;this.iterator = null;this.key = null;this.ip = start;}Frame.prototype.capture = function capture(){return new CapturedFrame(this.operand,this.args,this.condition);};Frame.prototype.restore = function restore(frame){this.operand = frame.operand;this.args = frame.args;this.condition = frame.condition;};return Frame;})();var FrameStack=(function(){function FrameStack(){this.frames = [];this.frame = -1;}FrameStack.prototype.push = function push(start,end){var component=arguments.length <= 2 || arguments[2] === undefined?null:arguments[2];var manager=arguments.length <= 3 || arguments[3] === undefined?null:arguments[3];var shadow=arguments.length <= 4 || arguments[4] === undefined?null:arguments[4];var pos=++this.frame;if(pos < this.frames.length){var frame=this.frames[pos];frame.start = frame.ip = start;frame.end = end;frame.component = component;frame.manager = manager;frame.shadow = shadow;frame.operand = null;frame.immediate = null;frame.args = null;frame.callerScope = null;frame.blocks = null;frame.condition = null;frame.iterator = null;frame.key = null;}else {this.frames[pos] = new Frame(start,end,component,manager,shadow);}};FrameStack.prototype.pop = function pop(){this.frame--;};FrameStack.prototype.capture = function capture(){return this.currentFrame.capture();};FrameStack.prototype.restore = function restore(frame){this.currentFrame.restore(frame);};FrameStack.prototype.getStart = function getStart(){return this.currentFrame.start;};FrameStack.prototype.getEnd = function getEnd(){return this.currentFrame.end;};FrameStack.prototype.getCurrent = function getCurrent(){return this.currentFrame.ip;};FrameStack.prototype.setCurrent = function setCurrent(ip){return this.currentFrame.ip = ip;};FrameStack.prototype.getOperand = function getOperand(){return _glimmerUtil.unwrap(this.currentFrame.operand);};FrameStack.prototype.setOperand = function setOperand(operand){return this.currentFrame.operand = operand;};FrameStack.prototype.getImmediate = function getImmediate(){return this.currentFrame.immediate;};FrameStack.prototype.setImmediate = function setImmediate(value){return this.currentFrame.immediate = value;}; // FIXME: These options are required in practice by the existing code, but\n// figure out why.\nFrameStack.prototype.getArgs = function getArgs(){return this.currentFrame.args;};FrameStack.prototype.setArgs = function setArgs(args){return this.currentFrame.args = args;};FrameStack.prototype.getCondition = function getCondition(){return _glimmerUtil.unwrap(this.currentFrame.condition);};FrameStack.prototype.setCondition = function setCondition(condition){return this.currentFrame.condition = condition;};FrameStack.prototype.getIterator = function getIterator(){return _glimmerUtil.unwrap(this.currentFrame.iterator);};FrameStack.prototype.setIterator = function setIterator(iterator){return this.currentFrame.iterator = iterator;};FrameStack.prototype.getKey = function getKey(){return this.currentFrame.key;};FrameStack.prototype.setKey = function setKey(key){return this.currentFrame.key = key;};FrameStack.prototype.getBlocks = function getBlocks(){return _glimmerUtil.unwrap(this.currentFrame.blocks);};FrameStack.prototype.setBlocks = function setBlocks(blocks){return this.currentFrame.blocks = blocks;};FrameStack.prototype.getCallerScope = function getCallerScope(){return _glimmerUtil.unwrap(this.currentFrame.callerScope);};FrameStack.prototype.setCallerScope = function setCallerScope(callerScope){return this.currentFrame.callerScope = callerScope;};FrameStack.prototype.getComponent = function getComponent(){return _glimmerUtil.unwrap(this.currentFrame.component);};FrameStack.prototype.getManager = function getManager(){return _glimmerUtil.unwrap(this.currentFrame.manager);};FrameStack.prototype.getShadow = function getShadow(){return this.currentFrame.shadow;};FrameStack.prototype.goto = function goto(ip){this.setCurrent(ip);};FrameStack.prototype.nextStatement = function nextStatement(env){while(this.frame !== -1) {var frame=this.frames[this.frame];var ip=frame.ip;var end=frame.end;if(ip < end){var program=env.program;frame.ip += 4;return program.opcode(ip);}else {this.pop();}}return null;};babelHelpers.createClass(FrameStack,[{key:'currentFrame',get:function(){return this.frames[this.frame];}}]);return FrameStack;})();var VM=(function(){function VM(env,scope,dynamicScope,elementStack){this.env = env;this.elementStack = elementStack;this.dynamicScopeStack = new _glimmerUtil.Stack();this.scopeStack = new _glimmerUtil.Stack();this.updatingOpcodeStack = new _glimmerUtil.Stack();this.cacheGroups = new _glimmerUtil.Stack();this.listBlockStack = new _glimmerUtil.Stack();this.frame = new FrameStack();this.env = env;this.constants = env.constants;this.elementStack = elementStack;this.scopeStack.push(scope);this.dynamicScopeStack.push(dynamicScope);}VM.initial = function initial(env,self,dynamicScope,elementStack,compiledProgram){var size=compiledProgram.symbols;var start=compiledProgram.start;var end=compiledProgram.end;var scope=Scope.root(self,size);var vm=new VM(env,scope,dynamicScope,elementStack);vm.prepare(start,end);return vm;};VM.prototype.capture = function capture(){return {env:this.env,scope:this.scope(),dynamicScope:this.dynamicScope(),frame:this.frame.capture()};};VM.prototype.goto = function goto(ip){this.frame.goto(ip);};VM.prototype.beginCacheGroup = function beginCacheGroup(){this.cacheGroups.push(this.updating().tail());};VM.prototype.commitCacheGroup = function commitCacheGroup(){ //        JumpIfNotModified(END)\n//        (head)\n//        (....)\n//        (tail)\n//        DidModify\n// END:   Noop\nvar END=new LabelOpcode(\"END\");var opcodes=this.updating();var marker=this.cacheGroups.pop();var head=marker?opcodes.nextNode(marker):opcodes.head();var tail=opcodes.tail();var tag=_glimmerReference.combineSlice(new _glimmerUtil.ListSlice(head,tail));var guard=new JumpIfNotModifiedOpcode(tag,END);opcodes.insertBefore(guard,head);opcodes.append(new DidModifyOpcode(guard));opcodes.append(END);};VM.prototype.enter = function enter(start,end){var updating=new _glimmerUtil.LinkedList();var tracker=this.stack().pushUpdatableBlock();var state=this.capture();var tryOpcode=new TryOpcode(start,end,state,tracker,updating);this.didEnter(tryOpcode,updating);};VM.prototype.enterWithKey = function enterWithKey(key,start,end){var updating=new _glimmerUtil.LinkedList();var tracker=this.stack().pushUpdatableBlock();var state=this.capture();var tryOpcode=new TryOpcode(start,end,state,tracker,updating);this.listBlock().map[key] = tryOpcode;this.didEnter(tryOpcode,updating);};VM.prototype.enterList = function enterList(start,end){var updating=new _glimmerUtil.LinkedList();var tracker=this.stack().pushBlockList(updating);var state=this.capture();var artifacts=this.frame.getIterator().artifacts;var opcode=new ListBlockOpcode(start,end,state,tracker,updating,artifacts);this.listBlockStack.push(opcode);this.didEnter(opcode,updating);};VM.prototype.didEnter = function didEnter(opcode,updating){this.updateWith(opcode);this.updatingOpcodeStack.push(updating);};VM.prototype.exit = function exit(){this.stack().popBlock();this.updatingOpcodeStack.pop();var parent=this.updating().tail();parent.didInitializeChildren();};VM.prototype.exitList = function exitList(){this.exit();this.listBlockStack.pop();};VM.prototype.updateWith = function updateWith(opcode){this.updating().append(opcode);};VM.prototype.listBlock = function listBlock(){return _glimmerUtil.expect(this.listBlockStack.current,'expected a list block');};VM.prototype.updating = function updating(){return _glimmerUtil.expect(this.updatingOpcodeStack.current,'expected updating opcode on the updating opcode stack');};VM.prototype.stack = function stack(){return this.elementStack;};VM.prototype.scope = function scope(){return _glimmerUtil.expect(this.scopeStack.current,'expected scope on the scope stack');};VM.prototype.dynamicScope = function dynamicScope(){return _glimmerUtil.expect(this.dynamicScopeStack.current,'expected dynamic scope on the dynamic scope stack');};VM.prototype.pushFrame = function pushFrame(block,args,callerScope){this.frame.push(block.start,block.end);if(args)this.frame.setArgs(args);if(args && args.blocks)this.frame.setBlocks(args.blocks);if(callerScope)this.frame.setCallerScope(callerScope);};VM.prototype.pushComponentFrame = function pushComponentFrame(layout,args,callerScope,component,manager,shadow){this.frame.push(layout.start,layout.end,component,manager,shadow);if(args)this.frame.setArgs(args);if(args && args.blocks)this.frame.setBlocks(args.blocks);if(callerScope)this.frame.setCallerScope(callerScope);};VM.prototype.pushEvalFrame = function pushEvalFrame(start,end){this.frame.push(start,end);};VM.prototype.pushChildScope = function pushChildScope(){this.scopeStack.push(this.scope().child());};VM.prototype.pushCallerScope = function pushCallerScope(){this.scopeStack.push(_glimmerUtil.expect(this.scope().getCallerScope(),'pushCallerScope is called when a caller scope is present'));};VM.prototype.pushDynamicScope = function pushDynamicScope(){var child=this.dynamicScope().child();this.dynamicScopeStack.push(child);return child;};VM.prototype.pushRootScope = function pushRootScope(self,size){var scope=Scope.root(self,size);this.scopeStack.push(scope);return scope;};VM.prototype.popScope = function popScope(){this.scopeStack.pop();};VM.prototype.popDynamicScope = function popDynamicScope(){this.dynamicScopeStack.pop();};VM.prototype.newDestroyable = function newDestroyable(d){this.stack().newDestroyable(d);}; /// SCOPE HELPERS\nVM.prototype.getSelf = function getSelf(){return this.scope().getSelf();};VM.prototype.referenceForSymbol = function referenceForSymbol(symbol){return this.scope().getSymbol(symbol);};VM.prototype.getArgs = function getArgs(){return this.frame.getArgs();}; /// EXECUTION\nVM.prototype.resume = function resume(start,end,frame){return this.execute(start,end,function(vm){return vm.frame.restore(frame);});};VM.prototype.execute = function execute(start,end,initialize){this.prepare(start,end,initialize);var result=undefined;while(true) {result = this.next();if(result.done)break;}return result.value;};VM.prototype.prepare = function prepare(start,end,initialize){var elementStack=this.elementStack;var frame=this.frame;var updatingOpcodeStack=this.updatingOpcodeStack;elementStack.pushSimpleBlock();updatingOpcodeStack.push(new _glimmerUtil.LinkedList());frame.push(start,end);if(initialize)initialize(this);};VM.prototype.next = function next(){var frame=this.frame;var env=this.env;var updatingOpcodeStack=this.updatingOpcodeStack;var elementStack=this.elementStack;var opcode=undefined;if(opcode = frame.nextStatement(env)){APPEND_OPCODES.evaluate(this,opcode);return {done:false,value:null};}return {done:true,value:new RenderResult(env,_glimmerUtil.expect(updatingOpcodeStack.pop(),'there should be a final updating opcode stack'),elementStack.popBlock())};};VM.prototype.evaluateOpcode = function evaluateOpcode(opcode){APPEND_OPCODES.evaluate(this,opcode);}; // Make sure you have opcodes that push and pop a scope around this opcode\n// if you need to change the scope.\nVM.prototype.invokeBlock = function invokeBlock(block,args){var compiled=block.compile(this.env);this.pushFrame(compiled,args);};VM.prototype.invokePartial = function invokePartial(block){var compiled=block.compile(this.env);this.pushFrame(compiled);};VM.prototype.invokeLayout = function invokeLayout(args,layout,callerScope,component,manager,shadow){this.pushComponentFrame(layout,args,callerScope,component,manager,shadow);};VM.prototype.evaluateOperand = function evaluateOperand(expr){this.frame.setOperand(expr.evaluate(this));};VM.prototype.evaluateArgs = function evaluateArgs(args){var evaledArgs=this.frame.setArgs(args.evaluate(this));this.frame.setOperand(evaledArgs.positional.at(0));};VM.prototype.bindPositionalArgs = function bindPositionalArgs(symbols){var args=_glimmerUtil.expect(this.frame.getArgs(),'bindPositionalArgs assumes a previous setArgs');var positional=args.positional;var scope=this.scope();for(var i=0;i < symbols.length;i++) {scope.bindSymbol(symbols[i],positional.at(i));}};VM.prototype.bindNamedArgs = function bindNamedArgs(names,symbols){var args=_glimmerUtil.expect(this.frame.getArgs(),'bindNamedArgs assumes a previous setArgs');var scope=this.scope();var named=args.named;for(var i=0;i < names.length;i++) {var _name2=this.constants.getString(names[i]);scope.bindSymbol(symbols[i],named.get(_name2));}};VM.prototype.bindBlocks = function bindBlocks(names,symbols){var blocks=this.frame.getBlocks();var scope=this.scope();for(var i=0;i < names.length;i++) {var _name3=this.constants.getString(names[i]);scope.bindBlock(symbols[i],blocks && blocks[_name3] || null);}};VM.prototype.bindPartialArgs = function bindPartialArgs(symbol){var args=_glimmerUtil.expect(this.frame.getArgs(),'bindPartialArgs assumes a previous setArgs');var scope=this.scope();_glimmerUtil.assert(args,\"Cannot bind named args\");scope.bindPartialArgs(symbol,args);};VM.prototype.bindCallerScope = function bindCallerScope(){var callerScope=this.frame.getCallerScope();var scope=this.scope();_glimmerUtil.assert(callerScope,\"Cannot bind caller scope\");scope.bindCallerScope(callerScope);};VM.prototype.bindDynamicScope = function bindDynamicScope(names){var args=_glimmerUtil.expect(this.frame.getArgs(),'bindDynamicScope assumes a previous setArgs');var scope=this.dynamicScope();_glimmerUtil.assert(args,\"Cannot bind dynamic scope\");for(var i=0;i < names.length;i++) {var _name4=this.constants.getString(names[i]);scope.set(_name4,args.named.get(_name4));}};return VM;})();var UpdatingVM=(function(){function UpdatingVM(env,_ref30){var _ref30$alwaysRevalidate=_ref30.alwaysRevalidate;var alwaysRevalidate=_ref30$alwaysRevalidate === undefined?false:_ref30$alwaysRevalidate;this.frameStack = new _glimmerUtil.Stack();this.env = env;this.constants = env.constants;this.dom = env.getDOM();this.alwaysRevalidate = alwaysRevalidate;}UpdatingVM.prototype.execute = function execute(opcodes,handler){var frameStack=this.frameStack;this.try(opcodes,handler);while(true) {if(frameStack.isEmpty())break;var opcode=this.frame.nextStatement();if(opcode === null){this.frameStack.pop();continue;}opcode.evaluate(this);}};UpdatingVM.prototype.goto = function goto(op){this.frame.goto(op);};UpdatingVM.prototype.try = function _try(ops,handler){this.frameStack.push(new UpdatingVMFrame(this,ops,handler));};UpdatingVM.prototype.throw = function _throw(){this.frame.handleException();this.frameStack.pop();};UpdatingVM.prototype.evaluateOpcode = function evaluateOpcode(opcode){opcode.evaluate(this);};babelHelpers.createClass(UpdatingVM,[{key:'frame',get:function(){return _glimmerUtil.expect(this.frameStack.current,'bug: expected a frame');}}]);return UpdatingVM;})();var BlockOpcode=(function(_UpdatingOpcode8){babelHelpers.inherits(BlockOpcode,_UpdatingOpcode8);function BlockOpcode(start,end,state,bounds,children){_UpdatingOpcode8.call(this);this.start = start;this.end = end;this.type = \"block\";this.next = null;this.prev = null;var env=state.env;var scope=state.scope;var dynamicScope=state.dynamicScope;var frame=state.frame;this.children = children;this.env = env;this.scope = scope;this.dynamicScope = dynamicScope;this.frame = frame;this.bounds = bounds;}BlockOpcode.prototype.parentElement = function parentElement(){return this.bounds.parentElement();};BlockOpcode.prototype.firstNode = function firstNode(){return this.bounds.firstNode();};BlockOpcode.prototype.lastNode = function lastNode(){return this.bounds.lastNode();};BlockOpcode.prototype.evaluate = function evaluate(vm){vm.try(this.children,null);};BlockOpcode.prototype.destroy = function destroy(){this.bounds.destroy();};BlockOpcode.prototype.didDestroy = function didDestroy(){this.env.didDestroy(this.bounds);};BlockOpcode.prototype.toJSON = function toJSON(){var details=_glimmerUtil.dict();details[\"guid\"] = '' + this._guid;return {guid:this._guid,type:this.type,details:details,children:this.children.toArray().map(function(op){return op.toJSON();})};};return BlockOpcode;})(UpdatingOpcode);var TryOpcode=(function(_BlockOpcode){babelHelpers.inherits(TryOpcode,_BlockOpcode);function TryOpcode(start,end,state,bounds,children){_BlockOpcode.call(this,start,end,state,bounds,children);this.type = \"try\";this.tag = this._tag = new _glimmerReference.UpdatableTag(_glimmerReference.CONSTANT_TAG);}TryOpcode.prototype.didInitializeChildren = function didInitializeChildren(){this._tag.update(_glimmerReference.combineSlice(this.children));};TryOpcode.prototype.evaluate = function evaluate(vm){vm.try(this.children,this);};TryOpcode.prototype.handleException = function handleException(){var env=this.env;var scope=this.scope;var start=this.start;var end=this.end;var dynamicScope=this.dynamicScope;var frame=this.frame;var elementStack=ElementStack.resume(this.env,this.bounds,this.bounds.reset(env));var vm=new VM(env,scope,dynamicScope,elementStack);var result=vm.resume(start,end,frame);this.children = result.opcodes();this.didInitializeChildren();};TryOpcode.prototype.toJSON = function toJSON(){var json=_BlockOpcode.prototype.toJSON.call(this);var details=json[\"details\"];if(!details){details = json[\"details\"] = {};}return _BlockOpcode.prototype.toJSON.call(this);};return TryOpcode;})(BlockOpcode);var ListRevalidationDelegate=(function(){function ListRevalidationDelegate(opcode,marker){this.opcode = opcode;this.marker = marker;this.didInsert = false;this.didDelete = false;this.map = opcode.map;this.updating = opcode['children'];}ListRevalidationDelegate.prototype.insert = function insert(key,item,memo,before){var map=this.map;var opcode=this.opcode;var updating=this.updating;var nextSibling=null;var reference=null;if(before){reference = map[before];nextSibling = reference['bounds'].firstNode();}else {nextSibling = this.marker;}var vm=opcode.vmForInsertion(nextSibling);var tryOpcode=null;vm.execute(opcode.start,opcode.end,function(vm){vm.frame.setArgs(EvaluatedArgs.positional([item,memo]));vm.frame.setOperand(item);vm.frame.setCondition(new _glimmerReference.ConstReference(true));vm.frame.setKey(key);var state=vm.capture();var tracker=vm.stack().pushUpdatableBlock();tryOpcode = new TryOpcode(opcode.start,opcode.end,state,tracker,vm.updating());});tryOpcode.didInitializeChildren();updating.insertBefore(tryOpcode,reference);map[key] = tryOpcode;this.didInsert = true;};ListRevalidationDelegate.prototype.retain = function retain(_key,_item,_memo){};ListRevalidationDelegate.prototype.move = function move(key,_item,_memo,before){var map=this.map;var updating=this.updating;var entry=map[key];var reference=map[before] || null;if(before){moveBounds(entry,reference.firstNode());}else {moveBounds(entry,this.marker);}updating.remove(entry);updating.insertBefore(entry,reference);};ListRevalidationDelegate.prototype.delete = function _delete(key){var map=this.map;var opcode=map[key];opcode.didDestroy();clear(opcode);this.updating.remove(opcode);delete map[key];this.didDelete = true;};ListRevalidationDelegate.prototype.done = function done(){this.opcode.didInitializeChildren(this.didInsert || this.didDelete);};return ListRevalidationDelegate;})();var ListBlockOpcode=(function(_BlockOpcode2){babelHelpers.inherits(ListBlockOpcode,_BlockOpcode2);function ListBlockOpcode(start,end,state,bounds,children,artifacts){_BlockOpcode2.call(this,start,end,state,bounds,children);this.type = \"list-block\";this.map = _glimmerUtil.dict();this.lastIterated = _glimmerReference.INITIAL;this.artifacts = artifacts;var _tag=this._tag = new _glimmerReference.UpdatableTag(_glimmerReference.CONSTANT_TAG);this.tag = _glimmerReference.combine([artifacts.tag,_tag]);}ListBlockOpcode.prototype.didInitializeChildren = function didInitializeChildren(){var listDidChange=arguments.length <= 0 || arguments[0] === undefined?true:arguments[0];this.lastIterated = this.artifacts.tag.value();if(listDidChange){this._tag.update(_glimmerReference.combineSlice(this.children));}};ListBlockOpcode.prototype.evaluate = function evaluate(vm){var artifacts=this.artifacts;var lastIterated=this.lastIterated;if(!artifacts.tag.validate(lastIterated)){var bounds=this.bounds;var dom=vm.dom;var marker=dom.createComment('');dom.insertAfter(bounds.parentElement(),marker,_glimmerUtil.expect(bounds.lastNode(),\"can't insert after an empty bounds\"));var target=new ListRevalidationDelegate(this,marker);var synchronizer=new _glimmerReference.IteratorSynchronizer({target:target,artifacts:artifacts});synchronizer.sync();this.parentElement().removeChild(marker);} // Run now-updated updating opcodes\n_BlockOpcode2.prototype.evaluate.call(this,vm);};ListBlockOpcode.prototype.vmForInsertion = function vmForInsertion(nextSibling){var env=this.env;var scope=this.scope;var dynamicScope=this.dynamicScope;var elementStack=ElementStack.forInitialRender(this.env,this.bounds.parentElement(),nextSibling);return new VM(env,scope,dynamicScope,elementStack);};ListBlockOpcode.prototype.toJSON = function toJSON(){var json=_BlockOpcode2.prototype.toJSON.call(this);var map=this.map;var inner=Object.keys(map).map(function(key){return JSON.stringify(key) + ': ' + map[key]._guid;}).join(\", \");var details=json[\"details\"];if(!details){details = json[\"details\"] = {};}details[\"map\"] = '{' + inner + '}';return json;};return ListBlockOpcode;})(BlockOpcode);var UpdatingVMFrame=(function(){function UpdatingVMFrame(vm,ops,exceptionHandler){this.vm = vm;this.ops = ops;this.exceptionHandler = exceptionHandler;this.vm = vm;this.ops = ops;this.current = ops.head();}UpdatingVMFrame.prototype.goto = function goto(op){this.current = op;};UpdatingVMFrame.prototype.nextStatement = function nextStatement(){var current=this.current;var ops=this.ops;if(current)this.current = ops.nextNode(current);return current;};UpdatingVMFrame.prototype.handleException = function handleException(){if(this.exceptionHandler){this.exceptionHandler.handleException();}};return UpdatingVMFrame;})();APPEND_OPCODES.add(31, /* DynamicContent */function(vm,_ref31){var append=_ref31.op1;var opcode=vm.constants.getOther(append);opcode.evaluate(vm);});function isEmpty(value){return value === null || value === undefined || typeof value['toString'] !== 'function';}function normalizeTextValue(value){if(isEmpty(value)){return '';}return String(value);}function normalizeTrustedValue(value){if(isEmpty(value)){return '';}if(isString(value)){return value;}if(isSafeString(value)){return value.toHTML();}if(isNode(value)){return value;}return String(value);}function normalizeValue(value){if(isEmpty(value)){return '';}if(isString(value)){return value;}if(isSafeString(value) || isNode(value)){return value;}return String(value);}var AppendDynamicOpcode=(function(){function AppendDynamicOpcode(){}AppendDynamicOpcode.prototype.evaluate = function evaluate(vm){var reference=vm.frame.getOperand();var normalized=this.normalize(reference);var value=undefined,cache=undefined;if(_glimmerReference.isConst(reference)){value = normalized.value();}else {cache = new _glimmerReference.ReferenceCache(normalized);value = cache.peek();}var stack=vm.stack();var upsert=this.insert(vm.env.getAppendOperations(),stack,value);var bounds=new Fragment(upsert.bounds);stack.newBounds(bounds);if(cache /* i.e. !isConst(reference) */){vm.updateWith(this.updateWith(vm,reference,cache,bounds,upsert));}};return AppendDynamicOpcode;})();var GuardedAppendOpcode=(function(_AppendDynamicOpcode){babelHelpers.inherits(GuardedAppendOpcode,_AppendDynamicOpcode);function GuardedAppendOpcode(expression,symbolTable){_AppendDynamicOpcode.call(this);this.expression = expression;this.symbolTable = symbolTable;this.start = -1;this.end = -1;}GuardedAppendOpcode.prototype.evaluate = function evaluate(vm){if(this.start === -1){vm.evaluateOperand(this.expression);var value=vm.frame.getOperand().value();if(isComponentDefinition(value)){this.deopt(vm.env);vm.pushEvalFrame(this.start,this.end);}else {_AppendDynamicOpcode.prototype.evaluate.call(this,vm);}}else {vm.pushEvalFrame(this.start,this.end);}};GuardedAppendOpcode.prototype.deopt = function deopt(env){var _this3=this; // At compile time, we determined that this append callsite might refer\n// to a local variable/property lookup that resolves to a component\n// definition at runtime.\n//\n// We could have eagerly compiled this callsite into something like this:\n//\n//   {{#if (is-component-definition foo)}}\n//     {{component foo}}\n//   {{else}}\n//     {{foo}}\n//   {{/if}}\n//\n// However, in practice, there might be a large amout of these callsites\n// and most of them would resolve to a simple value lookup. Therefore, we\n// tried to be optimistic and assumed that the callsite will resolve to\n// appending a simple value.\n//\n// However, we have reached here because at runtime, the guard conditional\n// have detected that this callsite is indeed referring to a component\n// definition object. Since this is likely going to be true for other\n// instances of the same callsite, it is now appropiate to deopt into the\n// expanded version that handles both cases. The compilation would look\n// like this:\n//\n//               PutValue(expression)\n//               Test(is-component-definition)\n//               Enter(BEGIN, END)\n//   BEGIN:      Noop\n//               JumpUnless(VALUE)\n//               PutDynamicComponentDefinitionOpcode\n//               OpenComponent\n//               CloseComponent\n//               Jump(END)\n//   VALUE:      Noop\n//               OptimizedAppend\n//   END:        Noop\n//               Exit\n//\n// Keep in mind that even if we *don't* reach here at initial render time,\n// it is still possible (although quite rare) that the simple value we\n// encounter during initial render could later change into a component\n// definition object at update time. That is handled by the \"lazy deopt\"\n// code on the update side (scroll down for the next big block of comment).\nvar dsl=new OpcodeBuilder(this.symbolTable,env);dsl.putValue(this.expression);dsl.test(IsComponentDefinitionReference.create);dsl.labelled(null,function(dsl,_BEGIN,END){dsl.jumpUnless('VALUE');dsl.putDynamicComponentDefinition();dsl.openComponent(CompiledArgs.empty());dsl.closeComponent();dsl.jump(END);dsl.label('VALUE');dsl.dynamicContent(new _this3.AppendOpcode());});this.start = dsl.start;this.end = dsl.end; // From this point on, we have essentially replaced ourselves with a new set\n// of opcodes. Since we will always be executing the new/deopted code, it's\n// a good idea (as a pattern) to null out any unneeded fields here to avoid\n// holding on to unneeded/stale objects:\n// QUESTION: Shouldn't this whole object be GCed? If not, why not?\nthis.expression = null;return dsl.start;};return GuardedAppendOpcode;})(AppendDynamicOpcode);var IsComponentDefinitionReference=(function(_ConditionalReference){babelHelpers.inherits(IsComponentDefinitionReference,_ConditionalReference);function IsComponentDefinitionReference(){_ConditionalReference.apply(this,arguments);}IsComponentDefinitionReference.create = function create(inner){return new IsComponentDefinitionReference(inner);};IsComponentDefinitionReference.prototype.toBool = function toBool(value){return isComponentDefinition(value);};return IsComponentDefinitionReference;})(ConditionalReference);var UpdateOpcode=(function(_UpdatingOpcode9){babelHelpers.inherits(UpdateOpcode,_UpdatingOpcode9);function UpdateOpcode(cache,bounds,upsert){_UpdatingOpcode9.call(this);this.cache = cache;this.bounds = bounds;this.upsert = upsert;this.tag = cache.tag;}UpdateOpcode.prototype.evaluate = function evaluate(vm){var value=this.cache.revalidate();if(_glimmerReference.isModified(value)){var bounds=this.bounds;var upsert=this.upsert;var dom=vm.dom;if(!this.upsert.update(dom,value)){var cursor=new Cursor(bounds.parentElement(),clear(bounds));upsert = this.upsert = this.insert(vm.env.getAppendOperations(),cursor,value);}bounds.update(upsert.bounds);}};UpdateOpcode.prototype.toJSON = function toJSON(){var guid=this._guid;var type=this.type;var cache=this.cache;return {guid:guid,type:type,details:{lastValue:JSON.stringify(cache.peek())}};};return UpdateOpcode;})(UpdatingOpcode);var GuardedUpdateOpcode=(function(_UpdateOpcode){babelHelpers.inherits(GuardedUpdateOpcode,_UpdateOpcode);function GuardedUpdateOpcode(reference,cache,bounds,upsert,appendOpcode,state){_UpdateOpcode.call(this,cache,bounds,upsert);this.reference = reference;this.appendOpcode = appendOpcode;this.state = state;this.deopted = null;this.tag = this._tag = new _glimmerReference.UpdatableTag(this.tag);}GuardedUpdateOpcode.prototype.evaluate = function evaluate(vm){if(this.deopted){vm.evaluateOpcode(this.deopted);}else {if(isComponentDefinition(this.reference.value())){this.lazyDeopt(vm);}else {_UpdateOpcode.prototype.evaluate.call(this,vm);}}};GuardedUpdateOpcode.prototype.lazyDeopt = function lazyDeopt(vm){ // Durign initial render, we know that the reference does not contain a\n// component definition, so we optimistically assumed that this append\n// is just a normal append. However, at update time, we discovered that\n// the reference has switched into containing a component definition, so\n// we need to do a \"lazy deopt\", simulating what would have happened if\n// we had decided to perform the deopt in the first place during initial\n// render.\n//\n// More concretely, we would have expanded the curly into a if/else, and\n// based on whether the value is a component definition or not, we would\n// have entered either the dynamic component branch or the simple value\n// branch.\n//\n// Since we rendered a simple value during initial render (and all the\n// updates up until this point), we need to pretend that the result is\n// produced by the \"VALUE\" branch of the deopted append opcode:\n//\n//   Try(BEGIN, END)\n//     Assert(IsComponentDefinition, expected=false)\n//     OptimizedUpdate\n//\n// In this case, because the reference has switched from being a simple\n// value into a component definition, what would have happened is that\n// the assert would throw, causing the Try opcode to teardown the bounds\n// and rerun the original append opcode.\n//\n// Since the Try opcode would have nuked the updating opcodes anyway, we\n// wouldn't have to worry about simulating those. All we have to do is to\n// execute the Try opcode and immediately throw.\nvar bounds=this.bounds;var appendOpcode=this.appendOpcode;var state=this.state;var env=vm.env;var deoptStart=appendOpcode.deopt(env);var enter=_glimmerUtil.expect(env.program.opcode(deoptStart + 8),'hardcoded deopt location');var start=enter.op1;var end=enter.op2;var tracker=new UpdatableBlockTracker(bounds.parentElement());tracker.newBounds(this.bounds);var children=new _glimmerUtil.LinkedList();state.frame.condition = IsComponentDefinitionReference.create(_glimmerUtil.expect(state.frame['operand'],'operand should be populated'));var deopted=this.deopted = new TryOpcode(start,end,state,tracker,children);this._tag.update(deopted.tag);vm.evaluateOpcode(deopted);vm.throw(); // From this point on, we have essentially replaced ourselve with a new\n// opcode. Since we will always be executing the new/deopted code, it's a\n// good idea (as a pattern) to null out any unneeded fields here to avoid\n// holding on to unneeded/stale objects:\n// QUESTION: Shouldn't this whole object be GCed? If not, why not?\nthis._tag = null;this.reference = null;this.cache = null;this.bounds = null;this.upsert = null;this.appendOpcode = null;this.state = null;};GuardedUpdateOpcode.prototype.toJSON = function toJSON(){var guid=this._guid;var type=this.type;var deopted=this.deopted;if(deopted){return {guid:guid,type:type,deopted:true,children:[deopted.toJSON()]};}else {return _UpdateOpcode.prototype.toJSON.call(this);}};return GuardedUpdateOpcode;})(UpdateOpcode);var OptimizedCautiousAppendOpcode=(function(_AppendDynamicOpcode2){babelHelpers.inherits(OptimizedCautiousAppendOpcode,_AppendDynamicOpcode2);function OptimizedCautiousAppendOpcode(){_AppendDynamicOpcode2.apply(this,arguments);this.type = 'optimized-cautious-append';}OptimizedCautiousAppendOpcode.prototype.normalize = function normalize(reference){return _glimmerReference.map(reference,normalizeValue);};OptimizedCautiousAppendOpcode.prototype.insert = function insert(dom,cursor,value){return cautiousInsert(dom,cursor,value);};OptimizedCautiousAppendOpcode.prototype.updateWith = function updateWith(_vm,_reference,cache,bounds,upsert){return new OptimizedCautiousUpdateOpcode(cache,bounds,upsert);};return OptimizedCautiousAppendOpcode;})(AppendDynamicOpcode);var OptimizedCautiousUpdateOpcode=(function(_UpdateOpcode2){babelHelpers.inherits(OptimizedCautiousUpdateOpcode,_UpdateOpcode2);function OptimizedCautiousUpdateOpcode(){_UpdateOpcode2.apply(this,arguments);this.type = 'optimized-cautious-update';}OptimizedCautiousUpdateOpcode.prototype.insert = function insert(dom,cursor,value){return cautiousInsert(dom,cursor,value);};return OptimizedCautiousUpdateOpcode;})(UpdateOpcode);var GuardedCautiousAppendOpcode=(function(_GuardedAppendOpcode){babelHelpers.inherits(GuardedCautiousAppendOpcode,_GuardedAppendOpcode);function GuardedCautiousAppendOpcode(){_GuardedAppendOpcode.apply(this,arguments);this.type = 'guarded-cautious-append';this.AppendOpcode = OptimizedCautiousAppendOpcode;}GuardedCautiousAppendOpcode.prototype.normalize = function normalize(reference){return _glimmerReference.map(reference,normalizeValue);};GuardedCautiousAppendOpcode.prototype.insert = function insert(dom,cursor,value){return cautiousInsert(dom,cursor,value);};GuardedCautiousAppendOpcode.prototype.updateWith = function updateWith(vm,reference,cache,bounds,upsert){return new GuardedCautiousUpdateOpcode(reference,cache,bounds,upsert,this,vm.capture());};return GuardedCautiousAppendOpcode;})(GuardedAppendOpcode);var GuardedCautiousUpdateOpcode=(function(_GuardedUpdateOpcode){babelHelpers.inherits(GuardedCautiousUpdateOpcode,_GuardedUpdateOpcode);function GuardedCautiousUpdateOpcode(){_GuardedUpdateOpcode.apply(this,arguments);this.type = 'guarded-cautious-update';}GuardedCautiousUpdateOpcode.prototype.insert = function insert(dom,cursor,value){return cautiousInsert(dom,cursor,value);};return GuardedCautiousUpdateOpcode;})(GuardedUpdateOpcode);var OptimizedTrustingAppendOpcode=(function(_AppendDynamicOpcode3){babelHelpers.inherits(OptimizedTrustingAppendOpcode,_AppendDynamicOpcode3);function OptimizedTrustingAppendOpcode(){_AppendDynamicOpcode3.apply(this,arguments);this.type = 'optimized-trusting-append';}OptimizedTrustingAppendOpcode.prototype.normalize = function normalize(reference){return _glimmerReference.map(reference,normalizeTrustedValue);};OptimizedTrustingAppendOpcode.prototype.insert = function insert(dom,cursor,value){return trustingInsert(dom,cursor,value);};OptimizedTrustingAppendOpcode.prototype.updateWith = function updateWith(_vm,_reference,cache,bounds,upsert){return new OptimizedTrustingUpdateOpcode(cache,bounds,upsert);};return OptimizedTrustingAppendOpcode;})(AppendDynamicOpcode);var OptimizedTrustingUpdateOpcode=(function(_UpdateOpcode3){babelHelpers.inherits(OptimizedTrustingUpdateOpcode,_UpdateOpcode3);function OptimizedTrustingUpdateOpcode(){_UpdateOpcode3.apply(this,arguments);this.type = 'optimized-trusting-update';}OptimizedTrustingUpdateOpcode.prototype.insert = function insert(dom,cursor,value){return trustingInsert(dom,cursor,value);};return OptimizedTrustingUpdateOpcode;})(UpdateOpcode);var GuardedTrustingAppendOpcode=(function(_GuardedAppendOpcode2){babelHelpers.inherits(GuardedTrustingAppendOpcode,_GuardedAppendOpcode2);function GuardedTrustingAppendOpcode(){_GuardedAppendOpcode2.apply(this,arguments);this.type = 'guarded-trusting-append';this.AppendOpcode = OptimizedTrustingAppendOpcode;}GuardedTrustingAppendOpcode.prototype.normalize = function normalize(reference){return _glimmerReference.map(reference,normalizeTrustedValue);};GuardedTrustingAppendOpcode.prototype.insert = function insert(dom,cursor,value){return trustingInsert(dom,cursor,value);};GuardedTrustingAppendOpcode.prototype.updateWith = function updateWith(vm,reference,cache,bounds,upsert){return new GuardedTrustingUpdateOpcode(reference,cache,bounds,upsert,this,vm.capture());};return GuardedTrustingAppendOpcode;})(GuardedAppendOpcode);var GuardedTrustingUpdateOpcode=(function(_GuardedUpdateOpcode2){babelHelpers.inherits(GuardedTrustingUpdateOpcode,_GuardedUpdateOpcode2);function GuardedTrustingUpdateOpcode(){_GuardedUpdateOpcode2.apply(this,arguments);this.type = 'trusting-update';}GuardedTrustingUpdateOpcode.prototype.insert = function insert(dom,cursor,value){return trustingInsert(dom,cursor,value);};return GuardedTrustingUpdateOpcode;})(GuardedUpdateOpcode);APPEND_OPCODES.add(49, /* PutDynamicPartial */function(vm,_ref32){var _symbolTable=_ref32.op1;var env=vm.env;var symbolTable=vm.constants.getOther(_symbolTable);function lookupPartial(name){var normalized=String(name);if(!env.hasPartial(normalized,symbolTable)){throw new Error('Could not find a partial named \"' + normalized + '\"');}return env.lookupPartial(normalized,symbolTable);}var reference=_glimmerReference.map(vm.frame.getOperand(),lookupPartial);var cache=_glimmerReference.isConst(reference)?undefined:new _glimmerReference.ReferenceCache(reference);var definition=cache?cache.peek():reference.value();vm.frame.setImmediate(definition);if(cache){vm.updateWith(new Assert(cache));}});APPEND_OPCODES.add(50, /* PutPartial */function(vm,_ref33){var _definition=_ref33.op1;var definition=vm.constants.getOther(_definition);vm.frame.setImmediate(definition);});APPEND_OPCODES.add(51, /* EvaluatePartial */function(vm,_ref34){var _symbolTable=_ref34.op1;var _cache=_ref34.op2;var symbolTable=vm.constants.getOther(_symbolTable);var cache=vm.constants.getOther(_cache);var _vm$frame$getImmediate=vm.frame.getImmediate();var template=_vm$frame$getImmediate.template;var block=cache[template.id];if(!block){block = template.asPartial(symbolTable);}vm.invokePartial(block);});var IterablePresenceReference=(function(){function IterablePresenceReference(artifacts){this.tag = artifacts.tag;this.artifacts = artifacts;}IterablePresenceReference.prototype.value = function value(){return !this.artifacts.isEmpty();};return IterablePresenceReference;})();APPEND_OPCODES.add(44, /* PutIterator */function(vm){var listRef=vm.frame.getOperand();var args=_glimmerUtil.expect(vm.frame.getArgs(),'PutIteratorOpcode expects a populated args register');var iterable=vm.env.iterableFor(listRef,args);var iterator=new _glimmerReference.ReferenceIterator(iterable);vm.frame.setIterator(iterator);vm.frame.setCondition(new IterablePresenceReference(iterator.artifacts));});APPEND_OPCODES.add(45, /* EnterList */function(vm,_ref35){var start=_ref35.op1;var end=_ref35.op2;vm.enterList(start,end);});APPEND_OPCODES.add(46, /* ExitList */function(vm){return vm.exitList();});APPEND_OPCODES.add(47, /* EnterWithKey */function(vm,_ref36){var start=_ref36.op1;var end=_ref36.op2;var key=_glimmerUtil.expect(vm.frame.getKey(),'EnterWithKeyOpcode expects a populated key register');vm.enterWithKey(key,start,end);});var TRUE_REF=new _glimmerReference.ConstReference(true);var FALSE_REF=new _glimmerReference.ConstReference(false);APPEND_OPCODES.add(48, /* NextIter */function(vm,_ref37){var end=_ref37.op1;var item=vm.frame.getIterator().next();if(item){vm.frame.setCondition(TRUE_REF);vm.frame.setKey(item.key);vm.frame.setOperand(item.value);vm.frame.setArgs(EvaluatedArgs.positional([item.value,item.memo]));}else {vm.frame.setCondition(FALSE_REF);vm.goto(end);}});var TemplateIterator=(function(){function TemplateIterator(vm){this.vm = vm;}TemplateIterator.prototype.next = function next(){return this.vm.next();};return TemplateIterator;})();var clientId=0;function templateFactory(_ref38){var templateId=_ref38.id;var meta=_ref38.meta;var block=_ref38.block;var parsedBlock=undefined;var id=templateId || 'client-' + clientId++;var create=function(env,envMeta){var newMeta=envMeta?_glimmerUtil.assign({},envMeta,meta):meta;if(!parsedBlock){parsedBlock = JSON.parse(block);}return template(parsedBlock,id,newMeta,env);};return {id:id,meta:meta,create:create};}function template(block,id,meta,env){var scanner=new Scanner(block,meta,env);var entryPoint=undefined;var asEntryPoint=function(){if(!entryPoint)entryPoint = scanner.scanEntryPoint();return entryPoint;};var layout=undefined;var asLayout=function(){if(!layout)layout = scanner.scanLayout();return layout;};var asPartial=function(symbols){return scanner.scanPartial(symbols);};var render=function(self,appendTo,dynamicScope){var elementStack=ElementStack.forInitialRender(env,appendTo,null);var compiled=asEntryPoint().compile(env);var vm=VM.initial(env,self,dynamicScope,elementStack,compiled);return new TemplateIterator(vm);};return {id:id,meta:meta,_block:block,asEntryPoint:asEntryPoint,asLayout:asLayout,asPartial:asPartial,render:render};}var DynamicVarReference=(function(){function DynamicVarReference(scope,nameRef){this.scope = scope;this.nameRef = nameRef;var varTag=this.varTag = new _glimmerReference.UpdatableTag(_glimmerReference.CONSTANT_TAG);this.tag = _glimmerReference.combine([nameRef.tag,varTag]);}DynamicVarReference.prototype.value = function value(){return this.getVar().value();};DynamicVarReference.prototype.get = function get(key){return this.getVar().get(key);};DynamicVarReference.prototype.getVar = function getVar(){var name=String(this.nameRef.value());var ref=this.scope.get(name);this.varTag.update(ref.tag);return ref;};return DynamicVarReference;})();function getDynamicVar(vm,args,_symbolTable){var scope=vm.dynamicScope();var nameRef=args.positional.at(0);return new DynamicVarReference(scope,nameRef);}var PartialDefinition=function PartialDefinition(name,template){this.name = name;this.template = template;};var NodeType;(function(NodeType){NodeType[NodeType[\"Element\"] = 0] = \"Element\";NodeType[NodeType[\"Attribute\"] = 1] = \"Attribute\";NodeType[NodeType[\"Text\"] = 2] = \"Text\";NodeType[NodeType[\"CdataSection\"] = 3] = \"CdataSection\";NodeType[NodeType[\"EntityReference\"] = 4] = \"EntityReference\";NodeType[NodeType[\"Entity\"] = 5] = \"Entity\";NodeType[NodeType[\"ProcessingInstruction\"] = 6] = \"ProcessingInstruction\";NodeType[NodeType[\"Comment\"] = 7] = \"Comment\";NodeType[NodeType[\"Document\"] = 8] = \"Document\";NodeType[NodeType[\"DocumentType\"] = 9] = \"DocumentType\";NodeType[NodeType[\"DocumentFragment\"] = 10] = \"DocumentFragment\";NodeType[NodeType[\"Notation\"] = 11] = \"Notation\";})(NodeType || (NodeType = {}));var Simple=Object.freeze({get NodeType(){return NodeType;}});exports.Simple = Simple;exports.templateFactory = templateFactory;exports.NULL_REFERENCE = NULL_REFERENCE;exports.UNDEFINED_REFERENCE = UNDEFINED_REFERENCE;exports.PrimitiveReference = PrimitiveReference;exports.ConditionalReference = ConditionalReference;exports.OpcodeBuilderDSL = OpcodeBuilder;exports.compileLayout = compileLayout;exports.CompiledBlock = CompiledBlock;exports.CompiledProgram = CompiledProgram;exports.IAttributeManager = AttributeManager;exports.AttributeManager = AttributeManager;exports.PropertyManager = PropertyManager;exports.INPUT_VALUE_PROPERTY_MANAGER = INPUT_VALUE_PROPERTY_MANAGER;exports.defaultManagers = defaultManagers;exports.defaultAttributeManagers = defaultAttributeManagers;exports.defaultPropertyManagers = defaultPropertyManagers;exports.readDOMAttr = readDOMAttr;exports.normalizeTextValue = normalizeTextValue;exports.CompiledExpression = CompiledExpression;exports.CompiledArgs = CompiledArgs;exports.CompiledNamedArgs = CompiledNamedArgs;exports.CompiledPositionalArgs = CompiledPositionalArgs;exports.EvaluatedArgs = EvaluatedArgs;exports.EvaluatedNamedArgs = EvaluatedNamedArgs;exports.EvaluatedPositionalArgs = EvaluatedPositionalArgs;exports.getDynamicVar = getDynamicVar;exports.BlockMacros = Blocks;exports.InlineMacros = Inlines;exports.compileArgs = compileArgs;exports.setDebuggerCallback = setDebuggerCallback;exports.resetDebuggerCallback = resetDebuggerCallback;exports.BaselineSyntax = BaselineSyntax;exports.Layout = Layout;exports.UpdatingVM = UpdatingVM;exports.RenderResult = RenderResult;exports.isSafeString = isSafeString;exports.Scope = Scope;exports.Environment = Environment;exports.PartialDefinition = PartialDefinition;exports.ComponentDefinition = ComponentDefinition;exports.isComponentDefinition = isComponentDefinition;exports.DOMChanges = helper$1;exports.IDOMChanges = DOMChanges;exports.DOMTreeConstruction = DOMTreeConstruction;exports.isWhitespace = isWhitespace;exports.insertHTMLBefore = _insertHTMLBefore;exports.ElementStack = ElementStack;exports.ConcreteBounds = ConcreteBounds;});\nenifed('@glimmer/util', ['exports'], function (exports) {\n    // There is a small whitelist of namespaced attributes specially\n    // enumerated in\n    // https://www.w3.org/TR/html/syntax.html#attributes-0\n    //\n    // > When a foreign element has one of the namespaced attributes given by\n    // > the local name and namespace of the first and second cells of a row\n    // > from the following table, it must be written using the name given by\n    // > the third cell from the same row.\n    //\n    // In all other cases, colons are interpreted as a regular character\n    // with no special meaning:\n    //\n    // > No other namespaced attribute can be expressed in the HTML syntax.\n    'use strict';\n\n    var XLINK = 'http://www.w3.org/1999/xlink';\n    var XML = 'http://www.w3.org/XML/1998/namespace';\n    var XMLNS = 'http://www.w3.org/2000/xmlns/';\n    var WHITELIST = {\n        'xlink:actuate': XLINK,\n        'xlink:arcrole': XLINK,\n        'xlink:href': XLINK,\n        'xlink:role': XLINK,\n        'xlink:show': XLINK,\n        'xlink:title': XLINK,\n        'xlink:type': XLINK,\n        'xml:base': XML,\n        'xml:lang': XML,\n        'xml:space': XML,\n        'xmlns': XMLNS,\n        'xmlns:xlink': XMLNS\n    };\n    function getAttrNamespace(attrName) {\n        return WHITELIST[attrName] || null;\n    }\n\n    // tslint:disable-line\n    function unwrap(val) {\n        if (val === null || val === undefined) throw new Error('Expected value to be present');\n        return val;\n    }\n    function expect(val, message) {\n        if (val === null || val === undefined) throw new Error(message);\n        return val;\n    }\n    function unreachable() {\n        return new Error('unreachable');\n    }\n\n    // import Logger from './logger';\n    // let alreadyWarned = false;\n    // import Logger from './logger';\n    function debugAssert(test, msg) {\n        // if (!alreadyWarned) {\n        //   alreadyWarned = true;\n        //   Logger.warn(\"Don't leave debug assertions on in public builds\");\n        // }\n        if (!test) {\n            throw new Error(msg || \"assertion failure\");\n        }\n    }\n\n    var LogLevel;\n    (function (LogLevel) {\n        LogLevel[LogLevel[\"Trace\"] = 0] = \"Trace\";\n        LogLevel[LogLevel[\"Debug\"] = 1] = \"Debug\";\n        LogLevel[LogLevel[\"Warn\"] = 2] = \"Warn\";\n        LogLevel[LogLevel[\"Error\"] = 3] = \"Error\";\n    })(LogLevel || (exports.LogLevel = LogLevel = {}));\n\n    var NullConsole = (function () {\n        function NullConsole() {}\n\n        NullConsole.prototype.log = function log(_message) {};\n\n        NullConsole.prototype.warn = function warn(_message) {};\n\n        NullConsole.prototype.error = function error(_message) {};\n\n        NullConsole.prototype.trace = function trace() {};\n\n        return NullConsole;\n    })();\n\n    var ALWAYS = undefined;\n\n    var Logger = (function () {\n        function Logger(_ref) {\n            var console = _ref.console;\n            var level = _ref.level;\n\n            this.f = ALWAYS;\n            this.force = ALWAYS;\n            this.console = console;\n            this.level = level;\n        }\n\n        Logger.prototype.skipped = function skipped(level) {\n            return level < this.level;\n        };\n\n        Logger.prototype.trace = function trace(message) {\n            var _ref2 = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n            var _ref2$stackTrace = _ref2.stackTrace;\n            var stackTrace = _ref2$stackTrace === undefined ? false : _ref2$stackTrace;\n\n            if (this.skipped(LogLevel.Trace)) return;\n            this.console.log(message);\n            if (stackTrace) this.console.trace();\n        };\n\n        Logger.prototype.debug = function debug(message) {\n            var _ref3 = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n            var _ref3$stackTrace = _ref3.stackTrace;\n            var stackTrace = _ref3$stackTrace === undefined ? false : _ref3$stackTrace;\n\n            if (this.skipped(LogLevel.Debug)) return;\n            this.console.log(message);\n            if (stackTrace) this.console.trace();\n        };\n\n        Logger.prototype.warn = function warn(message) {\n            var _ref4 = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n            var _ref4$stackTrace = _ref4.stackTrace;\n            var stackTrace = _ref4$stackTrace === undefined ? false : _ref4$stackTrace;\n\n            if (this.skipped(LogLevel.Warn)) return;\n            this.console.warn(message);\n            if (stackTrace) this.console.trace();\n        };\n\n        Logger.prototype.error = function error(message) {\n            if (this.skipped(LogLevel.Error)) return;\n            this.console.error(message);\n        };\n\n        return Logger;\n    })();\n\n    var _console = typeof console === 'undefined' ? new NullConsole() : console;\n    ALWAYS = new Logger({ console: _console, level: LogLevel.Trace });\n    var LOG_LEVEL = LogLevel.Warn;\n    var logger = new Logger({ console: _console, level: LOG_LEVEL });\n\n    var objKeys = Object.keys;\n\n    function assign(obj) {\n        for (var i = 1; i < arguments.length; i++) {\n            var assignment = arguments[i];\n            if (assignment === null || typeof assignment !== 'object') continue;\n            var keys = objKeys(assignment);\n            for (var j = 0; j < keys.length; j++) {\n                var key = keys[j];\n                obj[key] = assignment[key];\n            }\n        }\n        return obj;\n    }\n    function fillNulls(count) {\n        var arr = new Array(count);\n        for (var i = 0; i < count; i++) {\n            arr[i] = null;\n        }\n        return arr;\n    }\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 proto = Object.create(null, {\n        // without this, we will always still end up with (new\n        // EmptyObject()).constructor === Object\n        constructor: {\n            value: undefined,\n            enumerable: false,\n            writable: true\n        }\n    });\n    function EmptyObject() {}\n    EmptyObject.prototype = proto;\n    function dict() {\n        // let d = Object.create(null);\n        // d.x = 1;\n        // delete d.x;\n        // return d;\n        return new EmptyObject();\n    }\n\n    var DictSet = (function () {\n        function DictSet() {\n            this.dict = dict();\n        }\n\n        DictSet.prototype.add = function add(obj) {\n            if (typeof obj === 'string') this.dict[obj] = obj;else this.dict[ensureGuid(obj)] = obj;\n            return this;\n        };\n\n        DictSet.prototype.delete = function _delete(obj) {\n            if (typeof obj === 'string') delete this.dict[obj];else if (obj._guid) delete this.dict[obj._guid];\n        };\n\n        DictSet.prototype.forEach = function forEach(callback) {\n            var dict = this.dict;\n\n            Object.keys(dict).forEach(function (key) {\n                return callback(dict[key]);\n            });\n        };\n\n        DictSet.prototype.toArray = function toArray() {\n            return Object.keys(this.dict);\n        };\n\n        return DictSet;\n    })();\n\n    var Stack = (function () {\n        function Stack() {\n            this.stack = [];\n            this.current = null;\n        }\n\n        Stack.prototype.toArray = function toArray() {\n            return this.stack;\n        };\n\n        Stack.prototype.push = function push(item) {\n            this.current = item;\n            this.stack.push(item);\n        };\n\n        Stack.prototype.pop = function pop() {\n            var item = this.stack.pop();\n            var len = this.stack.length;\n            this.current = len === 0 ? null : this.stack[len - 1];\n            return item === undefined ? null : item;\n        };\n\n        Stack.prototype.isEmpty = function isEmpty() {\n            return this.stack.length === 0;\n        };\n\n        return Stack;\n    })();\n\n    var ListNode = function ListNode(value) {\n        this.next = null;\n        this.prev = null;\n        this.value = value;\n    };\n\n    var LinkedList = (function () {\n        function LinkedList() {\n            this.clear();\n        }\n\n        LinkedList.fromSlice = function fromSlice(slice) {\n            var list = new LinkedList();\n            slice.forEachNode(function (n) {\n                return list.append(n.clone());\n            });\n            return list;\n        };\n\n        LinkedList.prototype.head = function head() {\n            return this._head;\n        };\n\n        LinkedList.prototype.tail = function tail() {\n            return this._tail;\n        };\n\n        LinkedList.prototype.clear = function clear() {\n            this._head = this._tail = null;\n        };\n\n        LinkedList.prototype.isEmpty = function isEmpty() {\n            return this._head === null;\n        };\n\n        LinkedList.prototype.toArray = function toArray() {\n            var out = [];\n            this.forEachNode(function (n) {\n                return out.push(n);\n            });\n            return out;\n        };\n\n        LinkedList.prototype.splice = function splice(start, end, reference) {\n            var before = undefined;\n            if (reference === null) {\n                before = this._tail;\n                this._tail = end;\n            } else {\n                before = reference.prev;\n                end.next = reference;\n                reference.prev = end;\n            }\n            if (before) {\n                before.next = start;\n                start.prev = before;\n            }\n        };\n\n        LinkedList.prototype.nextNode = function nextNode(node) {\n            return node.next;\n        };\n\n        LinkedList.prototype.prevNode = function prevNode(node) {\n            return node.prev;\n        };\n\n        LinkedList.prototype.forEachNode = function forEachNode(callback) {\n            var node = this._head;\n            while (node !== null) {\n                callback(node);\n                node = node.next;\n            }\n        };\n\n        LinkedList.prototype.contains = function contains(needle) {\n            var node = this._head;\n            while (node !== null) {\n                if (node === needle) return true;\n                node = node.next;\n            }\n            return false;\n        };\n\n        LinkedList.prototype.insertBefore = function insertBefore(node) {\n            var reference = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];\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 append(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.pop = function pop() {\n            if (this._tail) return this.remove(this._tail);\n            return null;\n        };\n\n        LinkedList.prototype.prepend = function prepend(node) {\n            if (this._head) return this.insertBefore(node, this._head);\n            return this._head = this._tail = node;\n        };\n\n        LinkedList.prototype.remove = function remove(node) {\n            if (node.prev) node.prev.next = node.next;else this._head = node.next;\n            if (node.next) node.next.prev = node.prev;else this._tail = node.prev;\n            return node;\n        };\n\n        return LinkedList;\n    })();\n\n    var ListSlice = (function () {\n        function ListSlice(head, tail) {\n            this._head = head;\n            this._tail = tail;\n        }\n\n        ListSlice.toList = function toList(slice) {\n            var list = new LinkedList();\n            slice.forEachNode(function (n) {\n                return list.append(n.clone());\n            });\n            return list;\n        };\n\n        ListSlice.prototype.forEachNode = function forEachNode(callback) {\n            var node = this._head;\n            while (node !== null) {\n                callback(node);\n                node = this.nextNode(node);\n            }\n        };\n\n        ListSlice.prototype.contains = function contains(needle) {\n            var node = this._head;\n            while (node !== null) {\n                if (node === needle) return true;\n                node = node.next;\n            }\n            return false;\n        };\n\n        ListSlice.prototype.head = function head() {\n            return this._head;\n        };\n\n        ListSlice.prototype.tail = function tail() {\n            return this._tail;\n        };\n\n        ListSlice.prototype.toArray = function toArray() {\n            var out = [];\n            this.forEachNode(function (n) {\n                return out.push(n);\n            });\n            return out;\n        };\n\n        ListSlice.prototype.nextNode = function nextNode(node) {\n            if (node === this._tail) return null;\n            return node.next;\n        };\n\n        ListSlice.prototype.prevNode = function prevNode(node) {\n            if (node === this._head) return null;\n            return node.prev;\n        };\n\n        ListSlice.prototype.isEmpty = function isEmpty() {\n            return false;\n        };\n\n        return ListSlice;\n    })();\n\n    var EMPTY_SLICE = new ListSlice(null, null);\n\n    var HAS_TYPED_ARRAYS = typeof Uint32Array !== 'undefined';\n    var A = undefined;\n    if (HAS_TYPED_ARRAYS) {\n        A = Uint32Array;\n    } else {\n        A = Array;\n    }\n    var A$1 = A;\n\n    var HAS_NATIVE_WEAKMAP = (function () {\n        // detect if `WeakMap` is even present\n        var hasWeakMap = typeof WeakMap === 'function';\n        if (!hasWeakMap) {\n            return false;\n        }\n        var instance = new WeakMap();\n        // use `Object`'s `.toString` directly to prevent us from detecting\n        // polyfills as native weakmaps\n        return Object.prototype.toString.call(instance) === '[object WeakMap]';\n    })();\n\n    exports.getAttrNamespace = getAttrNamespace;\n    exports.assert = debugAssert;\n    exports.LOGGER = logger;\n    exports.Logger = Logger;\n    exports.LogLevel = LogLevel;\n    exports.assign = assign;\n    exports.fillNulls = fillNulls;\n    exports.ensureGuid = ensureGuid;\n    exports.initializeGuid = initializeGuid;\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 = ListNode;\n    exports.ListSlice = ListSlice;\n    exports.A = A$1;\n    exports.HAS_NATIVE_WEAKMAP = HAS_NATIVE_WEAKMAP;\n    exports.unwrap = unwrap;\n    exports.expect = expect;\n    exports.unreachable = unreachable;\n});\nenifed(\"@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[\"UnoptimizedAppend\"] = 2] = \"UnoptimizedAppend\";\n        Opcodes[Opcodes[\"OptimizedAppend\"] = 3] = \"OptimizedAppend\";\n        Opcodes[Opcodes[\"Comment\"] = 4] = \"Comment\";\n        Opcodes[Opcodes[\"Modifier\"] = 5] = \"Modifier\";\n        Opcodes[Opcodes[\"Block\"] = 6] = \"Block\";\n        Opcodes[Opcodes[\"ScannedBlock\"] = 7] = \"ScannedBlock\";\n        Opcodes[Opcodes[\"NestedBlock\"] = 8] = \"NestedBlock\";\n        Opcodes[Opcodes[\"Component\"] = 9] = \"Component\";\n        Opcodes[Opcodes[\"ScannedComponent\"] = 10] = \"ScannedComponent\";\n        Opcodes[Opcodes[\"OpenElement\"] = 11] = \"OpenElement\";\n        Opcodes[Opcodes[\"OpenPrimitiveElement\"] = 12] = \"OpenPrimitiveElement\";\n        Opcodes[Opcodes[\"FlushElement\"] = 13] = \"FlushElement\";\n        Opcodes[Opcodes[\"CloseElement\"] = 14] = \"CloseElement\";\n        Opcodes[Opcodes[\"StaticAttr\"] = 15] = \"StaticAttr\";\n        Opcodes[Opcodes[\"DynamicAttr\"] = 16] = \"DynamicAttr\";\n        Opcodes[Opcodes[\"AnyDynamicAttr\"] = 17] = \"AnyDynamicAttr\";\n        Opcodes[Opcodes[\"Yield\"] = 18] = \"Yield\";\n        Opcodes[Opcodes[\"Partial\"] = 19] = \"Partial\";\n        Opcodes[Opcodes[\"StaticPartial\"] = 20] = \"StaticPartial\";\n        Opcodes[Opcodes[\"DynamicPartial\"] = 21] = \"DynamicPartial\";\n        Opcodes[Opcodes[\"DynamicArg\"] = 22] = \"DynamicArg\";\n        Opcodes[Opcodes[\"StaticArg\"] = 23] = \"StaticArg\";\n        Opcodes[Opcodes[\"TrustingAttr\"] = 24] = \"TrustingAttr\";\n        Opcodes[Opcodes[\"Debugger\"] = 25] = \"Debugger\";\n        // Expressions\n        Opcodes[Opcodes[\"Unknown\"] = 26] = \"Unknown\";\n        Opcodes[Opcodes[\"Arg\"] = 27] = \"Arg\";\n        Opcodes[Opcodes[\"Get\"] = 28] = \"Get\";\n        Opcodes[Opcodes[\"HasBlock\"] = 29] = \"HasBlock\";\n        Opcodes[Opcodes[\"HasBlockParams\"] = 30] = \"HasBlockParams\";\n        Opcodes[Opcodes[\"Undefined\"] = 31] = \"Undefined\";\n        Opcodes[Opcodes[\"Function\"] = 32] = \"Function\";\n        Opcodes[Opcodes[\"Helper\"] = 33] = \"Helper\";\n        Opcodes[Opcodes[\"Concat\"] = 34] = \"Concat\";\n    })(Opcodes || (exports.Ops = Opcodes = {}));\n\n    function is(variant) {\n        return function (value) {\n            return value[0] === variant;\n        };\n    }\n    var Expressions;\n    (function (Expressions) {\n        Expressions.isUnknown = is(Opcodes.Unknown);\n        Expressions.isArg = is(Opcodes.Arg);\n        Expressions.isGet = is(Opcodes.Get);\n        Expressions.isConcat = is(Opcodes.Concat);\n        Expressions.isHelper = is(Opcodes.Helper);\n        Expressions.isHasBlock = is(Opcodes.HasBlock);\n        Expressions.isHasBlockParams = is(Opcodes.HasBlockParams);\n        Expressions.isUndefined = is(Opcodes.Undefined);\n        function isPrimitiveValue(value) {\n            if (value === null) {\n                return true;\n            }\n            return typeof value !== 'object';\n        }\n        Expressions.isPrimitiveValue = isPrimitiveValue;\n    })(Expressions || (exports.Expressions = Expressions = {}));\n    var Statements;\n    (function (Statements) {\n        Statements.isText = is(Opcodes.Text);\n        Statements.isAppend = is(Opcodes.Append);\n        Statements.isComment = is(Opcodes.Comment);\n        Statements.isModifier = is(Opcodes.Modifier);\n        Statements.isBlock = is(Opcodes.Block);\n        Statements.isComponent = is(Opcodes.Component);\n        Statements.isOpenElement = is(Opcodes.OpenElement);\n        Statements.isFlushElement = is(Opcodes.FlushElement);\n        Statements.isCloseElement = is(Opcodes.CloseElement);\n        Statements.isStaticAttr = is(Opcodes.StaticAttr);\n        Statements.isDynamicAttr = is(Opcodes.DynamicAttr);\n        Statements.isYield = is(Opcodes.Yield);\n        Statements.isPartial = is(Opcodes.Partial);\n        Statements.isDynamicArg = is(Opcodes.DynamicArg);\n        Statements.isStaticArg = is(Opcodes.StaticArg);\n        Statements.isTrustingAttr = is(Opcodes.TrustingAttr);\n        Statements.isDebugger = is(Opcodes.Debugger);\n        function isAttribute(val) {\n            return val[0] === Opcodes.StaticAttr || val[0] === Opcodes.DynamicAttr;\n        }\n        Statements.isAttribute = isAttribute;\n        function isArgument(val) {\n            return val[0] === Opcodes.StaticArg || val[0] === Opcodes.DynamicArg;\n        }\n        Statements.isArgument = isArgument;\n        function isParameter(val) {\n            return isAttribute(val) || isArgument(val);\n        }\n        Statements.isParameter = isParameter;\n        function getParameterName(s) {\n            return s[1];\n        }\n        Statements.getParameterName = getParameterName;\n    })(Statements || (exports.Statements = Statements = {}));\n\n    exports.is = is;\n    exports.Expressions = Expressions;\n    exports.Statements = Statements;\n    exports.Ops = Opcodes;\n});\nenifed('backburner', ['exports'], function (exports) { 'use strict';\n\nvar NUMBER = /\\d+/;\n\nfunction each(collection, callback) {\n  for (var i = 0; i < collection.length; i++) {\n    callback(collection[i]);\n  }\n}\n\nfunction isString(suspect) {\n  return typeof suspect === 'string';\n}\n\nfunction isFunction(suspect) {\n  return typeof suspect === 'function';\n}\n\nfunction isNumber(suspect) {\n  return typeof suspect === 'number';\n}\n\nfunction isCoercableNumber(number) {\n  return isNumber(number) || NUMBER.test(number);\n}\n\nfunction binarySearch(time, timers) {\n  var start = 0;\n  var end = timers.length - 2;\n  var middle, l;\n\n  while (start < end) {\n    // since timers is an array of pairs 'l' will always\n    // be an integer\n    l = (end - start) / 2;\n\n    // compensate for the index in case even number\n    // of pairs inside timers\n    middle = start + l - (l % 2);\n\n    if (time >= timers[middle]) {\n      start = middle + 2;\n    } else {\n      end = middle;\n    }\n  }\n\n  return (time >= timers[start]) ? start + 2 : start;\n}\n\nfunction Queue(name, options, globalOptions) {\n  this.name = name;\n  this.globalOptions = globalOptions || {};\n  this.options = options;\n  this._queue = [];\n  this.targetQueues = {};\n  this._queueBeingFlushed = undefined;\n}\n\nQueue.prototype = {\n  push: function(target, method, args, stack) {\n    var queue = this._queue;\n    queue.push(target, method, args, stack);\n\n    return {\n      queue: this,\n      target: target,\n      method: method\n    };\n  },\n\n  pushUniqueWithoutGuid: function(target, method, args, stack) {\n    var queue = this._queue;\n\n    for (var i = 0, l = queue.length; i < l; i += 4) {\n      var currentTarget = queue[i];\n      var currentMethod = queue[i+1];\n\n      if (currentTarget === target && currentMethod === method) {\n        queue[i+2] = args;  // replace args\n        queue[i+3] = stack; // replace stack\n        return;\n      }\n    }\n\n    queue.push(target, method, args, stack);\n  },\n\n  targetQueue: function(targetQueue, target, method, args, stack) {\n    var queue = this._queue;\n\n    for (var i = 0, l = targetQueue.length; i < l; i += 2) {\n      var currentMethod = targetQueue[i];\n      var currentIndex  = targetQueue[i + 1];\n\n      if (currentMethod === method) {\n        queue[currentIndex + 2] = args;  // replace args\n        queue[currentIndex + 3] = stack; // replace stack\n        return;\n      }\n    }\n\n    targetQueue.push(\n      method,\n      queue.push(target, method, args, stack) - 4\n    );\n  },\n\n  pushUniqueWithGuid: function(guid, target, method, args, stack) {\n    var hasLocalQueue = this.targetQueues[guid];\n\n    if (hasLocalQueue) {\n      this.targetQueue(hasLocalQueue, target, method, args, stack);\n    } else {\n      this.targetQueues[guid] = [\n        method,\n        this._queue.push(target, method, args, stack) - 4\n      ];\n    }\n\n    return {\n      queue: this,\n      target: target,\n      method: method\n    };\n  },\n\n  pushUnique: function(target, method, args, stack) {\n    var KEY = this.globalOptions.GUID_KEY;\n\n    if (target && KEY) {\n      var guid = target[KEY];\n      if (guid) {\n        return this.pushUniqueWithGuid(guid, target, method, args, stack);\n      }\n    }\n\n    this.pushUniqueWithoutGuid(target, method, args, stack);\n\n    return {\n      queue: this,\n      target: target,\n      method: method\n    };\n  },\n\n  invoke: function(target, method, args /*, onError, errorRecordedForStack */) {\n    if (args && args.length > 0) {\n      method.apply(target, args);\n    } else {\n      method.call(target);\n    }\n  },\n\n  invokeWithOnError: function(target, method, args, onError, errorRecordedForStack) {\n    try {\n      if (args && args.length > 0) {\n        method.apply(target, args);\n      } else {\n        method.call(target);\n      }\n    } catch(error) {\n      onError(error, errorRecordedForStack);\n    }\n  },\n\n  flush: function(sync) {\n    var queue = this._queue;\n    var length = queue.length;\n\n    if (length === 0) {\n      return;\n    }\n\n    var globalOptions = this.globalOptions;\n    var options = this.options;\n    var before = options && options.before;\n    var after = options && options.after;\n    var onError = globalOptions.onError || (globalOptions.onErrorTarget &&\n                                            globalOptions.onErrorTarget[globalOptions.onErrorMethod]);\n    var target, method, args, errorRecordedForStack;\n    var invoke = onError ? this.invokeWithOnError : this.invoke;\n\n    this.targetQueues = Object.create(null);\n    var queueItems = this._queueBeingFlushed = this._queue.slice();\n    this._queue = [];\n\n    if (before) {\n      before();\n    }\n\n    for (var i = 0; i < length; i += 4) {\n      target                = queueItems[i];\n      method                = queueItems[i+1];\n      args                  = queueItems[i+2];\n      errorRecordedForStack = queueItems[i+3]; // Debugging assistance\n\n      if (isString(method)) {\n        method = target[method];\n      }\n\n      // method could have been nullified / canceled during flush\n      if (method) {\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        invoke(target, method, args, onError, errorRecordedForStack);\n      }\n    }\n\n    if (after) {\n      after();\n    }\n\n    this._queueBeingFlushed = undefined;\n\n    if (sync !== false &&\n        this._queue.length > 0) {\n      // check if new items have been added\n      this.flush(true);\n    }\n  },\n\n  cancel: function(actionToCancel) {\n    var queue = this._queue, currentTarget, currentMethod, i, l;\n    var target = actionToCancel.target;\n    var method = actionToCancel.method;\n    var GUID_KEY = this.globalOptions.GUID_KEY;\n\n    if (GUID_KEY && this.targetQueues && target) {\n      var targetQueue = this.targetQueues[target[GUID_KEY]];\n\n      if (targetQueue) {\n        for (i = 0, l = targetQueue.length; i < l; i++) {\n          if (targetQueue[i] === method) {\n            targetQueue.splice(i, 1);\n          }\n        }\n      }\n    }\n\n    for (i = 0, l = queue.length; i < l; i += 4) {\n      currentTarget = queue[i];\n      currentMethod = queue[i+1];\n\n      if (currentTarget === target &&\n          currentMethod === method) {\n        queue.splice(i, 4);\n        return true;\n      }\n    }\n\n    // if not found in current queue\n    // could be in the queue that is being flushed\n    queue = this._queueBeingFlushed;\n\n    if (!queue) {\n      return;\n    }\n\n    for (i = 0, l = queue.length; i < l; i += 4) {\n      currentTarget = queue[i];\n      currentMethod = queue[i+1];\n\n      if (currentTarget === target &&\n          currentMethod === method) {\n        // don't mess with array during flush\n        // just nullify the method\n        queue[i+1] = null;\n        return true;\n      }\n    }\n  }\n};\n\nfunction DeferredActionQueues(queueNames, options) {\n  var queues = this.queues = {};\n  this.queueNames = queueNames = queueNames || [];\n\n  this.options = options;\n\n  each(queueNames, function(queueName) {\n    queues[queueName] = new Queue(queueName, options[queueName], options);\n  });\n}\n\nfunction noSuchQueue(name) {\n  throw new Error('You attempted to schedule an action in a queue (' + name + ') that doesn\\'t exist');\n}\n\nfunction noSuchMethod(name) {\n  throw new Error('You attempted to schedule an action in a queue (' + name + ') for a method that doesn\\'t exist');\n}\n\nDeferredActionQueues.prototype = {\n  schedule: function(name, target, method, args, onceFlag, stack) {\n    var queues = this.queues;\n    var queue = queues[name];\n\n    if (!queue) {\n      noSuchQueue(name);\n    }\n\n    if (!method) {\n      noSuchMethod(name);\n    }\n\n    if (onceFlag) {\n      return queue.pushUnique(target, method, args, stack);\n    } else {\n      return queue.push(target, method, args, stack);\n    }\n  },\n\n  flush: function() {\n    var queues = this.queues;\n    var queueNames = this.queueNames;\n    var queueName, queue;\n    var queueNameIndex = 0;\n    var numberOfQueues = queueNames.length;\n\n    while (queueNameIndex < numberOfQueues) {\n      queueName = queueNames[queueNameIndex];\n      queue = queues[queueName];\n\n      var numberOfQueueItems = queue._queue.length;\n\n      if (numberOfQueueItems === 0) {\n        queueNameIndex++;\n      } else {\n        queue.flush(false /* async */);\n        queueNameIndex = 0;\n      }\n    }\n  }\n};\n\nfunction Backburner(queueNames, options) {\n  this.queueNames = queueNames;\n  this.options = options || {};\n  if (!this.options.defaultQueue) {\n    this.options.defaultQueue = queueNames[0];\n  }\n  this.instanceStack = [];\n  this._debouncees = [];\n  this._throttlers = [];\n  this._eventCallbacks = {\n    end: [],\n    begin: []\n  };\n\n  var _this = this;\n  this._boundClearItems = function() {\n    clearItems();\n  };\n\n  this._timerTimeoutId = undefined;\n  this._timers = [];\n\n  this._platform = this.options._platform || {\n    setTimeout: function (fn, ms) {\n      return setTimeout(fn, ms);\n    },\n    clearTimeout: function (id) {\n      clearTimeout(id);\n    }\n  };\n\n  this._boundRunExpiredTimers = function () {\n    _this._runExpiredTimers();\n  };\n}\n\nBackburner.prototype = {\n  begin: function() {\n    var options = this.options;\n    var onBegin = options && options.onBegin;\n    var previousInstance = this.currentInstance;\n\n    if (previousInstance) {\n      this.instanceStack.push(previousInstance);\n    }\n\n    this.currentInstance = new DeferredActionQueues(this.queueNames, options);\n    this._trigger('begin', this.currentInstance, previousInstance);\n    if (onBegin) {\n      onBegin(this.currentInstance, previousInstance);\n    }\n  },\n\n  end: function() {\n    var options = this.options;\n    var onEnd = options && options.onEnd;\n    var currentInstance = this.currentInstance;\n    var nextInstance = null;\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    try {\n      currentInstance.flush();\n    } finally {\n      if (!finallyAlreadyCalled) {\n        finallyAlreadyCalled = true;\n\n        this.currentInstance = null;\n\n        if (this.instanceStack.length) {\n          nextInstance = this.instanceStack.pop();\n          this.currentInstance = nextInstance;\n        }\n        this._trigger('end', currentInstance, nextInstance);\n        if (onEnd) {\n          onEnd(currentInstance, nextInstance);\n        }\n      }\n    }\n  },\n\n  /**\n   Trigger an event. Supports up to two arguments. Designed around\n   triggering transition events from one run loop instance to the\n   next, which requires an argument for the first instance and then\n   an argument for the next instance.\n\n   @private\n   @method _trigger\n   @param {String} eventName\n   @param {any} arg1\n   @param {any} arg2\n   */\n  _trigger: function(eventName, arg1, arg2) {\n    var callbacks = this._eventCallbacks[eventName];\n    if (callbacks) {\n      for (var i = 0; i < callbacks.length; i++) {\n        callbacks[i](arg1, arg2);\n      }\n    }\n  },\n\n  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) {\n      callbacks.push(callback);\n    } else {\n      throw new TypeError('Cannot on() event \"' + eventName + '\" because it does not exist');\n    }\n  },\n\n  off: function(eventName, callback) {\n    if (eventName) {\n      var callbacks = this._eventCallbacks[eventName];\n      var callbackFound = false;\n      if (!callbacks) return;\n      if (callback) {\n        for (var i = 0; i < callbacks.length; i++) {\n          if (callbacks[i] === callback) {\n            callbackFound = true;\n            callbacks.splice(i, 1);\n            i--;\n          }\n        }\n      }\n      if (!callbackFound) {\n        throw new TypeError('Cannot off() callback that does not exist');\n      }\n    } else {\n      throw new TypeError('Cannot off() event \"' + eventName + '\" because it does not exist');\n    }\n  },\n\n  run: function(/* target, method, args */) {\n    var length = arguments.length;\n    var method, target, args;\n\n    if (length === 1) {\n      method = arguments[0];\n      target = null;\n    } else {\n      target = arguments[0];\n      method = arguments[1];\n    }\n\n    if (isString(method)) {\n      method = target[method];\n    }\n\n    if (length > 2) {\n      args = new Array(length - 2);\n      for (var i = 0, l = length - 2; i < l; i++) {\n        args[i] = arguments[i + 2];\n      }\n    } else {\n      args = [];\n    }\n\n    var onError = getOnError(this.options);\n\n    this.begin();\n\n    // guard against Safari 6's double-finally bug\n    var didFinally = false;\n\n    if (onError) {\n      try {\n        return method.apply(target, args);\n      } catch(error) {\n        onError(error);\n      } finally {\n        if (!didFinally) {\n          didFinally = true;\n          this.end();\n        }\n      }\n    } else {\n      try {\n        return method.apply(target, args);\n      } finally {\n        if (!didFinally) {\n          didFinally = true;\n          this.end();\n        }\n      }\n    }\n  },\n\n  /*\n    Join the passed method with an existing queue and execute immediately,\n    if there isn't one use `Backburner#run`.\n\n    The join method is like the run method except that it will schedule into\n    an existing queue if one already exists. In either case, the join method will\n    immediately execute the passed in function and return its result.\n\n    @method join\n    @param {Object} target\n    @param {Function} method The method to be executed\n    @param {any} args The method arguments\n    @return method result\n  */\n  join: function(/* target, method, args */) {\n    if (!this.currentInstance) {\n      return this.run.apply(this, arguments);\n    }\n\n    var length = arguments.length;\n    var method, target;\n\n    if (length === 1) {\n      method = arguments[0];\n      target = null;\n    } else {\n      target = arguments[0];\n      method = arguments[1];\n    }\n\n    if (isString(method)) {\n      method = target[method];\n    }\n\n    if (length === 1) {\n      return method();\n    } else if (length === 2) {\n      return method.call(target);\n    } else {\n      var args = new Array(length - 2);\n      for (var i = 0, l = length - 2; i < l; i++) {\n        args[i] = arguments[i + 2];\n      }\n      return method.apply(target, args);\n    }\n  },\n\n\n  /*\n    Defer the passed function to run inside the specified queue.\n\n    @method defer\n    @param {String} queueName\n    @param {Object} target\n    @param {Function|String} method The method or method name to be executed\n    @param {any} args The method arguments\n    @return method result\n  */\n  defer: function(queueName /* , target, method, args */) {\n    var length = arguments.length;\n    var method, target, args;\n\n    if (length === 2) {\n      method = arguments[1];\n      target = null;\n    } else {\n      target = arguments[1];\n      method = arguments[2];\n    }\n\n    if (isString(method)) {\n      method = target[method];\n    }\n\n    var stack = this.DEBUG ? new Error() : undefined;\n\n    if (length > 3) {\n      args = new Array(length - 3);\n      for (var i = 3; i < length; i++) {\n        args[i-3] = arguments[i];\n      }\n    } else {\n      args = undefined;\n    }\n\n    if (!this.currentInstance) { createAutorun(this); }\n    return this.currentInstance.schedule(queueName, target, method, args, false, stack);\n  },\n\n  deferOnce: function(queueName /* , target, method, args */) {\n    var length = arguments.length;\n    var method, target, args;\n\n    if (length === 2) {\n      method = arguments[1];\n      target = null;\n    } else {\n      target = arguments[1];\n      method = arguments[2];\n    }\n\n    if (isString(method)) {\n      method = target[method];\n    }\n\n    var stack = this.DEBUG ? new Error() : undefined;\n\n    if (length > 3) {\n      args = new Array(length - 3);\n      for (var i = 3; i < length; i++) {\n        args[i-3] = arguments[i];\n      }\n    } else {\n      args = undefined;\n    }\n\n    if (!this.currentInstance) {\n      createAutorun(this);\n    }\n    return this.currentInstance.schedule(queueName, target, method, args, true, stack);\n  },\n\n  setTimeout: function() {\n    var l = arguments.length;\n    var args = new Array(l);\n\n    for (var x = 0; x < l; x++) {\n      args[x] = arguments[x];\n    }\n\n    var length = args.length,\n        method, wait, target,\n        methodOrTarget, methodOrWait, methodOrArgs;\n\n    if (length === 0) {\n      return;\n    } else if (length === 1) {\n      method = args.shift();\n      wait = 0;\n    } else if (length === 2) {\n      methodOrTarget = args[0];\n      methodOrWait = args[1];\n\n      if (isFunction(methodOrWait) || isFunction(methodOrTarget[methodOrWait])) {\n        target = args.shift();\n        method = args.shift();\n        wait = 0;\n      } else if (isCoercableNumber(methodOrWait)) {\n        method = args.shift();\n        wait = args.shift();\n      } else {\n        method = args.shift();\n        wait =  0;\n      }\n    } else {\n      var last = args[args.length - 1];\n\n      if (isCoercableNumber(last)) {\n        wait = args.pop();\n      } else {\n        wait = 0;\n      }\n\n      methodOrTarget = args[0];\n      methodOrArgs = args[1];\n\n      if (isFunction(methodOrArgs) || (isString(methodOrArgs) &&\n                                      methodOrTarget !== null &&\n                                      methodOrArgs in methodOrTarget)) {\n        target = args.shift();\n        method = args.shift();\n      } else {\n        method = args.shift();\n      }\n    }\n\n    var executeAt = Date.now() + parseInt(wait !== wait ? 0 : wait, 10);\n\n    if (isString(method)) {\n      method = target[method];\n    }\n\n    var onError = getOnError(this.options);\n\n    function fn() {\n      if (onError) {\n        try {\n          method.apply(target, args);\n        } catch (e) {\n          onError(e);\n        }\n      } else {\n        method.apply(target, args);\n      }\n    }\n\n    return this._setTimeout(fn, executeAt);\n  },\n\n  _setTimeout: function (fn, executeAt) {\n    if (this._timers.length === 0) {\n      this._timers.push(executeAt, fn);\n      this._installTimerTimeout();\n      return fn;\n    }\n\n    // find position to insert\n    var i = binarySearch(executeAt, this._timers);\n\n    this._timers.splice(i, 0, executeAt, fn);\n\n    // we should be the new earliest timer if i == 0\n    if (i === 0) {\n      this._reinstallTimerTimeout();\n    }\n\n    return fn;\n  },\n\n  throttle: function(target, method /* , args, wait, [immediate] */) {\n    var backburner = this;\n    var args = new Array(arguments.length);\n    for (var i = 0; i < arguments.length; i++) {\n      args[i] = arguments[i];\n    }\n    var immediate = args.pop();\n    var wait, throttler, index, timer;\n\n    if (isNumber(immediate) || isString(immediate)) {\n      wait = immediate;\n      immediate = true;\n    } else {\n      wait = args.pop();\n    }\n\n    wait = parseInt(wait, 10);\n\n    index = findThrottler(target, method, this._throttlers);\n    if (index > -1) { return this._throttlers[index]; } // throttled\n\n    timer = this._platform.setTimeout(function() {\n      if (!immediate) {\n        backburner.run.apply(backburner, args);\n      }\n      var index = findThrottler(target, method, backburner._throttlers);\n      if (index > -1) {\n        backburner._throttlers.splice(index, 1);\n      }\n    }, wait);\n\n    if (immediate) {\n      this.run.apply(this, args);\n    }\n\n    throttler = [target, method, timer];\n\n    this._throttlers.push(throttler);\n\n    return throttler;\n  },\n\n  debounce: function(target, method /* , args, wait, [immediate] */) {\n    var backburner = this;\n    var args = new Array(arguments.length);\n    for (var i = 0; i < arguments.length; i++) {\n      args[i] = arguments[i];\n    }\n\n    var immediate = args.pop();\n    var wait, index, debouncee, timer;\n\n    if (isNumber(immediate) || isString(immediate)) {\n      wait = immediate;\n      immediate = false;\n    } else {\n      wait = args.pop();\n    }\n\n    wait = parseInt(wait, 10);\n    // Remove debouncee\n    index = findDebouncee(target, method, this._debouncees);\n\n    if (index > -1) {\n      debouncee = this._debouncees[index];\n      this._debouncees.splice(index, 1);\n      this._platform.clearTimeout(debouncee[2]);\n    }\n\n    timer = this._platform.setTimeout(function() {\n      if (!immediate) {\n        backburner.run.apply(backburner, args);\n      }\n      var index = findDebouncee(target, method, backburner._debouncees);\n      if (index > -1) {\n        backburner._debouncees.splice(index, 1);\n      }\n    }, wait);\n\n    if (immediate && index === -1) {\n      backburner.run.apply(backburner, args);\n    }\n\n    debouncee = [\n      target,\n      method,\n      timer\n    ];\n\n    backburner._debouncees.push(debouncee);\n\n    return debouncee;\n  },\n\n  cancelTimers: function() {\n    each(this._throttlers, this._boundClearItems);\n    this._throttlers = [];\n\n    each(this._debouncees, this._boundClearItems);\n    this._debouncees = [];\n\n    this._clearTimerTimeout();\n    this._timers = [];\n\n    if (this._autorun) {\n      this._platform.clearTimeout(this._autorun);\n      this._autorun = null;\n    }\n  },\n\n  hasTimers: function() {\n    return !!this._timers.length || !!this._debouncees.length || !!this._throttlers.length || this._autorun;\n  },\n\n  cancel: function (timer) {\n    var timerType = typeof timer;\n\n    if (timer && timerType === 'object' && timer.queue && timer.method) { // we're cancelling a deferOnce\n      return timer.queue.cancel(timer);\n    } else if (timerType === 'function') { // we're cancelling a setTimeout\n      for (var i = 0, l = this._timers.length; i < l; i += 2) {\n        if (this._timers[i + 1] === timer) {\n          this._timers.splice(i, 2); // remove the two elements\n          if (i === 0) {\n            this._reinstallTimerTimeout();\n          }\n          return true;\n        }\n      }\n    } else if (Object.prototype.toString.call(timer) === '[object Array]'){ // we're cancelling a throttle or debounce\n      return this._cancelItem(findThrottler, this._throttlers, timer) ||\n               this._cancelItem(findDebouncee, this._debouncees, timer);\n    } else {\n      return; // timer was null or not a timer\n    }\n  },\n\n  _cancelItem: function(findMethod, array, timer){\n    var item, index;\n\n    if (timer.length < 3) { return false; }\n\n    index = findMethod(timer[0], timer[1], array);\n\n    if (index > -1) {\n\n      item = array[index];\n\n      if (item[2] === timer[2]) {\n        array.splice(index, 1);\n        this._platform.clearTimeout(timer[2]);\n        return true;\n      }\n    }\n\n    return false;\n  },\n\n  _runExpiredTimers: function () {\n    this._timerTimeoutId = undefined;\n    this.run(this, this._scheduleExpiredTimers);\n  },\n\n  _scheduleExpiredTimers: function () {\n    var n = Date.now();\n    var timers = this._timers;\n    var i = 0;\n    var l = timers.length;\n    for (; i < l; i += 2) {\n      var executeAt = timers[i];\n      var fn = timers[i+1];\n      if (executeAt <= n) {\n        this.schedule(this.options.defaultQueue, null, fn);\n      } else {\n        break;\n      }\n    }\n    timers.splice(0, i);\n    this._installTimerTimeout();\n  },\n\n  _reinstallTimerTimeout: function () {\n    this._clearTimerTimeout();\n    this._installTimerTimeout();\n  },\n\n  _clearTimerTimeout: function () {\n    if (!this._timerTimeoutId) {\n      return;\n    }\n    this._platform.clearTimeout(this._timerTimeoutId);\n    this._timerTimeoutId = undefined;\n  },\n\n  _installTimerTimeout: function () {\n    if (!this._timers.length) {\n      return;\n    }\n    var minExpiresAt = this._timers[0];\n    var n = Date.now();\n    var wait = Math.max(0, minExpiresAt - n);\n    this._timerTimeoutId = this._platform.setTimeout(this._boundRunExpiredTimers, wait);\n  }\n};\n\nBackburner.prototype.schedule = Backburner.prototype.defer;\nBackburner.prototype.scheduleOnce = Backburner.prototype.deferOnce;\nBackburner.prototype.later = Backburner.prototype.setTimeout;\n\nfunction getOnError(options) {\n  return options.onError || (options.onErrorTarget && options.onErrorTarget[options.onErrorMethod]);\n}\n\nfunction createAutorun(backburner) {\n  var setTimeout = backburner._platform.setTimeout;\n  backburner.begin();\n  backburner._autorun = setTimeout(function() {\n    backburner._autorun = null;\n    backburner.end();\n  }, 0);\n}\n\nfunction findDebouncee(target, method, debouncees) {\n  return findItem(target, method, debouncees);\n}\n\nfunction findThrottler(target, method, throttlers) {\n  return findItem(target, method, throttlers);\n}\n\nfunction findItem(target, method, collection) {\n  var item;\n  var index = -1;\n\n  for (var i = 0, l = collection.length; i < l; i++) {\n    item = collection[i];\n    if (item[0] === target && item[1] === method) {\n      index = i;\n      break;\n    }\n  }\n\n  return index;\n}\n\nfunction clearItems(item) {\n  this._platform.clearTimeout(item[2]);\n}\n\nexports['default'] = Backburner;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n});\nenifed('container/container', ['exports', 'ember-debug', 'ember-utils', 'ember-environment'], function (exports, _emberDebug, _emberUtils, _emberEnvironment) {\n  'use strict';\n\n  var _Container$prototype;\n\n  exports.default = Container;\n  exports.buildFakeContainerWithDeprecations = buildFakeContainerWithDeprecations;\n\n  var CONTAINER_OVERRIDE = _emberUtils.symbol('CONTAINER_OVERRIDE');\n  var FACTORY_FOR = _emberUtils.symbol('FACTORY_FOR');\n  exports.FACTORY_FOR = FACTORY_FOR;\n  var LOOKUP_FACTORY = _emberUtils.symbol('LOOKUP_FACTORY');\n\n  exports.LOOKUP_FACTORY = LOOKUP_FACTORY;\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  function Container(registry, options) {\n    this.registry = registry;\n    this.owner = options && options.owner ? options.owner : null;\n    this.cache = _emberUtils.dictionary(options && options.cache ? options.cache : null);\n    this.factoryCache = _emberUtils.dictionary(options && options.factoryCache ? options.factoryCache : null);\n    this.factoryManagerCache = _emberUtils.dictionary(options && options.factoryManagerCache ? options.factoryManagerCache : null);\n    this.validationCache = _emberUtils.dictionary(options && options.validationCache ? options.validationCache : null);\n    this._fakeContainerToInject = buildFakeContainerWithDeprecations(this);\n    this[CONTAINER_OVERRIDE] = undefined;\n    this.isDestroyed = false;\n  }\n\n  Container.prototype = (_Container$prototype = {\n    /**\n     @private\n     @property owner\n     @type Object\n     */\n    owner: null,\n\n    /**\n     @private\n     @property registry\n     @type Registry\n     @since 1.11.0\n     */\n    registry: null,\n\n    /**\n     @private\n     @property cache\n     @type InheritingDict\n     */\n    cache: null,\n\n    /**\n     @private\n     @property factoryCache\n     @type InheritingDict\n     */\n    factoryCache: null,\n\n    /**\n     @private\n     @property validationCache\n     @type InheritingDict\n     */\n    validationCache: null,\n\n    /**\n     Given a fullName return a corresponding instance.\n      The default behaviour 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    lookup: function (fullName, options) {\n      _emberDebug.assert('fullName must be a proper full name', this.registry.validateFullName(fullName));\n      return lookup(this, this.registry.normalize(fullName), options);\n    },\n\n    /**\n     Given a fullName, return the corresponding factory.\n      @private\n     @method lookupFactory\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    lookupFactory: function (fullName, options) {\n      _emberDebug.assert('fullName must be a proper full name', this.registry.validateFullName(fullName));\n\n      _emberDebug.deprecate('Using \"_lookupFactory\" is deprecated. Please use container.factoryFor instead.', !true, { id: 'container-lookupFactory', until: '2.13.0', url: 'http://emberjs.com/deprecations/v2.x/#toc_migrating-from-_lookupfactory-to-factoryfor' });\n\n      return deprecatedFactoryFor(this, this.registry.normalize(fullName), options);\n    }\n\n  }, _Container$prototype[LOOKUP_FACTORY] = function (fullName, options) {\n    _emberDebug.assert('fullName must be a proper full name', this.registry.validateFullName(fullName));\n    return deprecatedFactoryFor(this, this.registry.normalize(fullName), options);\n  }, _Container$prototype[FACTORY_FOR] = function (fullName) {\n    var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n    if (true) {\n      if (true) {\n        return this.factoryFor(fullName, options);\n      } else {\n        /* This throws in case of a poorly designed build */\n        throw new Error('If ember-no-double-extend is enabled, ember-factory-for must also be enabled');\n      }\n    }\n    var factory = this[LOOKUP_FACTORY](fullName, options);\n    if (factory === undefined) {\n      return;\n    }\n    var manager = new DeprecatedFactoryManager(this, factory, fullName);\n\n    _emberDebug.runInDebug(function () {\n      manager = wrapManagerInDeprecationProxy(manager);\n    });\n\n    return manager;\n  }, _Container$prototype.destroy = function () {\n    destroyDestroyables(this);\n    this.isDestroyed = true;\n  }, _Container$prototype.reset = function (fullName) {\n    if (arguments.length > 0) {\n      resetMember(this, this.registry.normalize(fullName));\n    } else {\n      resetCache(this);\n    }\n  }, _Container$prototype.ownerInjection = function () {\n    var _ref;\n\n    return _ref = {}, _ref[_emberUtils.OWNER] = this.owner, _ref;\n  }, _Container$prototype);\n\n  /*\n   * Wrap a factory manager in a proxy which will not permit properties to be\n   * set on the manager.\n   */\n  function wrapManagerInDeprecationProxy(manager) {\n    if (_emberUtils.HAS_NATIVE_PROXY) {\n      var _ret = (function () {\n        var validator = {\n          get: function (obj, prop) {\n            if (typeof prop === 'symbol') {\n              return obj[prop];\n            }\n            if (prop === 'inspect') {\n              return undefined; /* for nodes formatter */\n            }\n\n            if (prop !== 'class' && prop !== 'create' && prop !== 'toString') {\n              throw new Error('You attempted to access \"' + prop + '\" on a factory manager created by container#factoryFor. \"' + prop + '\" is not a member of a factory manager.\"');\n            }\n\n            return obj[prop];\n          },\n          set: function (obj, prop, value) {\n            throw new Error('You attempted to set \"' + prop + '\" on a factory manager created by container#factoryFor. A factory manager is a read-only construct.');\n          }\n        };\n\n        // Note:\n        // We have to proxy access to the manager here so that private property\n        // access doesn't cause the above errors to occur.\n        var m = manager;\n        var proxiedManager = {\n          class: m.class,\n          create: function (props) {\n            return m.create(props);\n          }\n        };\n\n        return {\n          v: new Proxy(proxiedManager, validator)\n        };\n      })();\n\n      if (typeof _ret === 'object') return _ret.v;\n    }\n\n    return manager;\n  }\n\n  if (true) {\n    /**\n     Given a fullName, return the corresponding factory. The consumer of the factory\n     is responsible for the destruction of any factory instances, as there is no\n     way for the container to ensure instances are destroyed when it itself is\n     destroyed.\n      @public\n     @method factoryFor\n     @param {String} fullName\n     @param {Object} [options]\n     @param {String} [options.source] The fullname of the request source (used for local lookup)\n     @return {any}\n     */\n    Container.prototype.factoryFor = function _factoryFor(fullName) {\n      var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n      var normalizedName = this.registry.normalize(fullName);\n\n      _emberDebug.assert('fullName must be a proper full name', this.registry.validateFullName(normalizedName));\n\n      if (options.source) {\n        normalizedName = this.registry.expandLocalLookup(fullName, options);\n        // if expandLocalLookup returns falsey, we do not support local lookup\n        if (!normalizedName) {\n          return;\n        }\n      }\n\n      var cached = this.factoryManagerCache[normalizedName];\n\n      if (cached) {\n        return cached;\n      }\n\n      var factory = this.registry.resolve(normalizedName);\n\n      if (factory === undefined) {\n        return;\n      }\n\n      var manager = new FactoryManager(this, factory, fullName, normalizedName);\n\n      _emberDebug.runInDebug(function () {\n        manager = wrapManagerInDeprecationProxy(manager);\n      });\n\n      this.factoryManagerCache[normalizedName] = manager;\n      return manager;\n    };\n  }\n\n  function isSingleton(container, fullName) {\n    return container.registry.getOption(fullName, 'singleton') !== false;\n  }\n\n  function isInstantiatable(container, fullName) {\n    return container.registry.getOption(fullName, 'instantiate') !== false;\n  }\n\n  function lookup(container, fullName) {\n    var options = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];\n\n    if (options.source) {\n      fullName = container.registry.expandLocalLookup(fullName, options);\n\n      // if expandLocalLookup returns falsey, we do not support local lookup\n      if (!fullName) {\n        return;\n      }\n    }\n\n    if (container.cache[fullName] !== undefined && options.singleton !== false) {\n      return container.cache[fullName];\n    }\n\n    if (true) {\n      return instantiateFactory(container, fullName, options);\n    } else {\n      var factory = deprecatedFactoryFor(container, fullName);\n      var value = instantiate(factory, {}, container, fullName);\n\n      if (value === undefined) {\n        return;\n      }\n\n      if (isSingleton(container, fullName) && options.singleton !== false) {\n        container.cache[fullName] = value;\n      }\n\n      return value;\n    }\n  }\n\n  function isSingletonClass(container, fullName, _ref2) {\n    var instantiate = _ref2.instantiate;\n    var singleton = _ref2.singleton;\n\n    return singleton !== false && isSingleton(container, fullName) && !instantiate && !isInstantiatable(container, fullName);\n  }\n\n  function isSingletonInstance(container, fullName, _ref3) {\n    var instantiate = _ref3.instantiate;\n    var singleton = _ref3.singleton;\n\n    return singleton !== false && isSingleton(container, fullName) && instantiate !== false && isInstantiatable(container, fullName);\n  }\n\n  function isFactoryClass(container, fullname, _ref4) {\n    var instantiate = _ref4.instantiate;\n    var singleton = _ref4.singleton;\n\n    return (singleton === false || !isSingleton(container, fullname)) && instantiate === false && !isInstantiatable(container, fullname);\n  }\n\n  function isFactoryInstance(container, fullName, _ref5) {\n    var instantiate = _ref5.instantiate;\n    var singleton = _ref5.singleton;\n\n    return (singleton !== false || isSingleton(container, fullName)) && instantiate !== false && isInstantiatable(container, fullName);\n  }\n\n  function instantiateFactory(container, fullName, options) {\n    var factoryManager = container[FACTORY_FOR](fullName);\n\n    if (factoryManager === undefined) {\n      return;\n    }\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[fullName] = factoryManager.create();\n    }\n\n    // SomeClass { singleton: false, instantiate: true }\n    if (isFactoryInstance(container, fullName, options)) {\n      return factoryManager.create();\n    }\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\n    throw new Error('Could not create factory');\n  }\n\n  function markInjectionsAsDynamic(injections) {\n    injections._dynamic = true;\n  }\n\n  function areInjectionsDynamic(injections) {\n    return !!injections._dynamic;\n  }\n\n  function buildInjections() /* container, ...injections */{\n    var _arguments = arguments;\n\n    var hash = {};\n\n    if (arguments.length > 1) {\n      (function () {\n        var container = _arguments[0];\n        var injections = [];\n        var injection = undefined;\n\n        for (var i = 1; i < _arguments.length; i++) {\n          if (_arguments[i]) {\n            injections = injections.concat(_arguments[i]);\n          }\n        }\n\n        _emberDebug.runInDebug(function () {\n          container.registry.validateInjections(injections);\n        });\n\n        for (var i = 0; i < injections.length; i++) {\n          injection = injections[i];\n          hash[injection.property] = lookup(container, injection.fullName);\n          if (!isSingleton(container, injection.fullName)) {\n            markInjectionsAsDynamic(hash);\n          }\n        }\n      })();\n    }\n\n    return hash;\n  }\n\n  function deprecatedFactoryFor(container, fullName) {\n    var options = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];\n\n    var registry = container.registry;\n\n    if (options.source) {\n      fullName = registry.expandLocalLookup(fullName, options);\n      // if expandLocalLookup returns falsey, we do not support local lookup\n      if (!fullName) {\n        return;\n      }\n    }\n\n    var cache = container.factoryCache;\n    if (cache[fullName]) {\n      return cache[fullName];\n    }\n    var factory = registry.resolve(fullName);\n    if (factory === undefined) {\n      return;\n    }\n\n    var type = fullName.split(':')[0];\n    if (!factory || typeof factory.extend !== 'function' || !_emberEnvironment.ENV.MODEL_FACTORY_INJECTIONS && type === 'model') {\n      if (factory && typeof factory._onLookup === 'function') {\n        factory._onLookup(fullName);\n      }\n\n      // TODO: think about a 'safe' merge style extension\n      // for now just fallback to create time injection\n      cache[fullName] = factory;\n      return factory;\n    } else {\n      var injections = injectionsFor(container, fullName);\n      var factoryInjections = factoryInjectionsFor(container, fullName);\n      var cacheable = !areInjectionsDynamic(injections) && !areInjectionsDynamic(factoryInjections);\n\n      factoryInjections[_emberUtils.NAME_KEY] = registry.makeToString(factory, fullName);\n      injections._debugContainerKey = fullName;\n      _emberUtils.setOwner(injections, container.owner);\n\n      var injectedFactory = factory.extend(injections);\n\n      // TODO - remove all `container` injections when Ember reaches v3.0.0\n      injectDeprecatedContainer(injectedFactory.prototype, container);\n      injectedFactory.reopenClass(factoryInjections);\n\n      if (factory && typeof factory._onLookup === 'function') {\n        factory._onLookup(fullName);\n      }\n\n      if (cacheable) {\n        cache[fullName] = injectedFactory;\n      }\n\n      return injectedFactory;\n    }\n  }\n\n  function injectionsFor(container, fullName) {\n    var registry = container.registry;\n    var splitName = fullName.split(':');\n    var type = splitName[0];\n\n    var injections = buildInjections(container, registry.getTypeInjections(type), registry.getInjections(fullName));\n\n    return injections;\n  }\n\n  function instantiate(factory, props, container, fullName) {\n    var lazyInjections = undefined,\n        validationCache = undefined;\n\n    props = props || {};\n\n    if (container.registry.getOption(fullName, 'instantiate') === false) {\n      return factory;\n    }\n\n    if (factory) {\n      if (typeof factory.create !== 'function') {\n        throw new Error('Failed to create an instance of \\'' + fullName + '\\'. Most likely an improperly defined class or' + ' an invalid module export.');\n      }\n\n      validationCache = container.validationCache;\n\n      _emberDebug.runInDebug(function () {\n        // Ensure that all lazy injections are valid at instantiation time\n        if (!validationCache[fullName] && typeof factory._lazyInjections === 'function') {\n          lazyInjections = factory._lazyInjections();\n          lazyInjections = container.registry.normalizeInjectionsHash(lazyInjections);\n\n          container.registry.validateInjections(lazyInjections);\n        }\n      });\n\n      validationCache[fullName] = true;\n\n      var obj = undefined;\n\n      if (typeof factory.extend === 'function') {\n        // assume the factory was extendable and is already injected\n        obj = factory.create(props);\n      } else {\n        // assume the factory was extendable\n        // to create time injections\n        // TODO: support new'ing for instantiation and merge injections for pure JS Functions\n        var injections = injectionsFor(container, fullName);\n        injections._debugContainerKey = fullName;\n\n        // Ensure that a container is available to an object during instantiation.\n        // TODO - remove when Ember reaches v3.0.0\n        // This \"fake\" container will be replaced after instantiation with a\n        // property that raises deprecations every time it is accessed.\n        injections.container = container._fakeContainerToInject;\n        obj = factory.create(_emberUtils.assign({}, injections, props));\n\n        // TODO - remove when Ember reaches v3.0.0\n        if (!Object.isFrozen(obj)) {\n          injectDeprecatedContainer(obj, container);\n        }\n      }\n\n      return obj;\n    }\n  }\n\n  function factoryInjectionsFor(container, fullName) {\n    var registry = container.registry;\n    var splitName = fullName.split(':');\n    var type = splitName[0];\n\n    var factoryInjections = buildInjections(container, registry.getFactoryTypeInjections(type), registry.getFactoryInjections(fullName));\n    factoryInjections._debugContainerKey = fullName;\n\n    return factoryInjections;\n  }\n\n  var INJECTED_DEPRECATED_CONTAINER_DESC = {\n    configurable: true,\n    enumerable: false,\n    get: function () {\n      _emberDebug.deprecate('Using the injected `container` is deprecated. Please use the `getOwner` helper instead to access the owner of this object.', false, { id: 'ember-application.injected-container', until: '2.13.0', url: 'http://emberjs.com/deprecations/v2.x#toc_injected-container-access' });\n      return this[CONTAINER_OVERRIDE] || _emberUtils.getOwner(this).__container__;\n    },\n\n    set: function (value) {\n      _emberDebug.deprecate('Providing the `container` property to ' + this + ' is deprecated. Please use `Ember.setOwner` or `owner.ownerInjection()` instead to provide an owner to the instance being created.', false, { id: 'ember-application.injected-container', until: '2.13.0', url: 'http://emberjs.com/deprecations/v2.x#toc_injected-container-access' });\n\n      this[CONTAINER_OVERRIDE] = value;\n\n      return value;\n    }\n  };\n\n  // TODO - remove when Ember reaches v3.0.0\n  function injectDeprecatedContainer(object, container) {\n    if ('container' in object) {\n      return;\n    }\n    Object.defineProperty(object, 'container', INJECTED_DEPRECATED_CONTAINER_DESC);\n  }\n\n  function destroyDestroyables(container) {\n    var cache = container.cache;\n    var keys = Object.keys(cache);\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n      var value = cache[key];\n\n      if (isInstantiatable(container, key) && value.destroy) {\n        value.destroy();\n      }\n    }\n  }\n\n  function resetCache(container) {\n    destroyDestroyables(container);\n    container.cache.dict = _emberUtils.dictionary(null);\n  }\n\n  function resetMember(container, fullName) {\n    var member = container.cache[fullName];\n\n    delete container.factoryCache[fullName];\n\n    if (member) {\n      delete container.cache[fullName];\n\n      if (member.destroy) {\n        member.destroy();\n      }\n    }\n  }\n\n  function buildFakeContainerWithDeprecations(container) {\n    var fakeContainer = {};\n    var propertyMappings = {\n      lookup: 'lookup',\n      lookupFactory: '_lookupFactory'\n    };\n\n    for (var containerProperty in propertyMappings) {\n      fakeContainer[containerProperty] = buildFakeContainerFunction(container, containerProperty, propertyMappings[containerProperty]);\n    }\n\n    return fakeContainer;\n  }\n\n  function buildFakeContainerFunction(container, containerProperty, ownerProperty) {\n    return function () {\n      _emberDebug.deprecate('Using the injected `container` is deprecated. Please use the `getOwner` helper to access the owner of this object and then call `' + ownerProperty + '` instead.', false, {\n        id: 'ember-application.injected-container',\n        until: '2.13.0',\n        url: 'http://emberjs.com/deprecations/v2.x#toc_injected-container-access'\n      });\n      return container[containerProperty].apply(container, arguments);\n    };\n  }\n\n  var DeprecatedFactoryManager = (function () {\n    function DeprecatedFactoryManager(container, factory, fullName) {\n      babelHelpers.classCallCheck(this, DeprecatedFactoryManager);\n\n      this.container = container;\n      this.class = factory;\n      this.fullName = fullName;\n    }\n\n    DeprecatedFactoryManager.prototype.create = function create() {\n      var props = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\n      return instantiate(this.class, props, this.container, this.fullName);\n    };\n\n    return DeprecatedFactoryManager;\n  })();\n\n  var FactoryManager = (function () {\n    function FactoryManager(container, factory, fullName, normalizedName) {\n      babelHelpers.classCallCheck(this, FactoryManager);\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    }\n\n    FactoryManager.prototype.toString = function toString() {\n      if (!this.madeToString) {\n        this.madeToString = this.container.registry.makeToString(this.class, this.fullName);\n      }\n\n      return this.madeToString;\n    };\n\n    FactoryManager.prototype.create = function create() {\n      var _this = this;\n\n      var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\n      var injections = this.injections;\n      if (injections === undefined) {\n        injections = injectionsFor(this.container, this.normalizedName);\n        if (areInjectionsDynamic(injections) === false) {\n          this.injections = injections;\n        }\n      }\n      var props = _emberUtils.assign({}, injections, options);\n\n      _emberDebug.runInDebug(function () {\n        var lazyInjections = undefined;\n        var validationCache = _this.container.validationCache;\n        // Ensure that all lazy injections are valid at instantiation time\n        if (!validationCache[_this.fullName] && _this.class && typeof _this.class._lazyInjections === 'function') {\n          lazyInjections = _this.class._lazyInjections();\n          lazyInjections = _this.container.registry.normalizeInjectionsHash(lazyInjections);\n\n          _this.container.registry.validateInjections(lazyInjections);\n        }\n\n        validationCache[_this.fullName] = true;\n      });\n\n      if (!this.class.create) {\n        throw new Error('Failed to create an instance of \\'' + this.normalizedName + '\\'. Most likely an improperly defined class or' + ' an invalid module export.');\n      }\n\n      var prototype = this.class.prototype;\n      if (prototype) {\n        injectDeprecatedContainer(prototype, this.container);\n      }\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-Ember.Object 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        _emberUtils.setOwner(props, this.owner);\n      }\n\n      return this.class.create(props);\n    };\n\n    return FactoryManager;\n  })();\n});\n\n/* globals Proxy */\n\n/*\n * This internal version of factoryFor swaps between the public API for\n * factoryFor (class is the registered class) and a transition implementation\n * (class is the double-extended class). It is *not* the public API version\n * of factoryFor, which always returns the registered class.\n */\n\n/**\n A depth first traversal, destroying the container, its descendant containers and all\n their managed objects.\n  @private\n @method destroy\n */\n\n/**\n Clear either the entire cache or just the cache for a particular key.\n  @private\n @method reset\n @param {String} fullName optional key to reset; if missing, resets everything\n */\n\n/**\n Returns an object that can be used to provide an owner to a\n manually created instance.\n  @private\n @method ownerInjection\n @returns { Object }\n*/\nenifed('container/index', ['exports', 'container/registry', 'container/container'], function (exports, _containerRegistry, _containerContainer) {\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  'use strict';\n\n  exports.Registry = _containerRegistry.default;\n  exports.privatize = _containerRegistry.privatize;\n  exports.Container = _containerContainer.default;\n  exports.buildFakeContainerWithDeprecations = _containerContainer.buildFakeContainerWithDeprecations;\n  exports.FACTORY_FOR = _containerContainer.FACTORY_FOR;\n  exports.LOOKUP_FACTORY = _containerContainer.LOOKUP_FACTORY;\n});\nenifed('container/registry', ['exports', 'ember-utils', 'ember-debug', 'container/container'], function (exports, _emberUtils, _emberDebug, _containerContainer) {\n  'use strict';\n\n  exports.default = Registry;\n  exports.privatize = privatize;\n\n  var VALID_FULL_NAME_REGEXP = /^[^:]+:[^:]+$/;\n\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  function Registry(options) {\n    this.fallback = options && options.fallback ? options.fallback : null;\n\n    if (options && options.resolver) {\n      this.resolver = options.resolver;\n\n      if (typeof this.resolver === 'function') {\n        deprecateResolverFunction(this);\n      }\n    }\n\n    this.registrations = _emberUtils.dictionary(options && options.registrations ? options.registrations : null);\n\n    this._typeInjections = _emberUtils.dictionary(null);\n    this._injections = _emberUtils.dictionary(null);\n    this._factoryTypeInjections = _emberUtils.dictionary(null);\n    this._factoryInjections = _emberUtils.dictionary(null);\n\n    this._localLookupCache = Object.create(null);\n    this._normalizeCache = _emberUtils.dictionary(null);\n    this._resolveCache = _emberUtils.dictionary(null);\n    this._failCache = _emberUtils.dictionary(null);\n\n    this._options = _emberUtils.dictionary(null);\n    this._typeOptions = _emberUtils.dictionary(null);\n  }\n\n  Registry.prototype = {\n    /**\n     A backup registry for resolving registrations when no matches can be found.\n      @private\n     @property fallback\n     @type Registry\n     */\n    fallback: null,\n\n    /**\n     An object that has a `resolve` method that resolves a name.\n      @private\n     @property resolver\n     @type Resolver\n     */\n    resolver: null,\n\n    /**\n     @private\n     @property registrations\n     @type InheritingDict\n     */\n    registrations: null,\n\n    /**\n     @private\n      @property _typeInjections\n     @type InheritingDict\n     */\n    _typeInjections: null,\n\n    /**\n     @private\n      @property _injections\n     @type InheritingDict\n     */\n    _injections: null,\n\n    /**\n     @private\n      @property _factoryTypeInjections\n     @type InheritingDict\n     */\n    _factoryTypeInjections: null,\n\n    /**\n     @private\n      @property _factoryInjections\n     @type InheritingDict\n     */\n    _factoryInjections: null,\n\n    /**\n     @private\n      @property _normalizeCache\n     @type InheritingDict\n     */\n    _normalizeCache: null,\n\n    /**\n     @private\n      @property _resolveCache\n     @type InheritingDict\n     */\n    _resolveCache: null,\n\n    /**\n     @private\n      @property _options\n     @type InheritingDict\n     */\n    _options: null,\n\n    /**\n     @private\n      @property _typeOptions\n     @type InheritingDict\n     */\n    _typeOptions: null,\n\n    /**\n     Creates a container based on this registry.\n      @private\n     @method container\n     @param {Object} options\n     @return {Container} created container\n     */\n    container: function (options) {\n      return new _containerContainer.default(this, options);\n    },\n\n    /**\n     Registers a factory for later injection.\n      Example:\n      ```javascript\n     let registry = new Registry();\n      registry.register('model:user', Person, {singleton: false });\n     registry.register('fruit:favorite', Orange);\n     registry.register('communication:main', Email, {singleton: false});\n     ```\n      @private\n     @method register\n     @param {String} fullName\n     @param {Function} factory\n     @param {Object} options\n     */\n    register: function (fullName, factory) {\n      var options = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];\n\n      _emberDebug.assert('fullName must be a proper full name', this.validateFullName(fullName));\n\n      if (factory === undefined) {\n        throw new TypeError('Attempting to register an unknown factory: \\'' + fullName + '\\'');\n      }\n\n      var normalizedName = this.normalize(fullName);\n\n      if (this._resolveCache[normalizedName]) {\n        throw new Error('Cannot re-register: \\'' + fullName + '\\', as it has already been resolved.');\n      }\n\n      delete this._failCache[normalizedName];\n      this.registrations[normalizedName] = factory;\n      this._options[normalizedName] = options;\n    },\n\n    /**\n     Unregister a fullName\n      ```javascript\n     let registry = new Registry();\n     registry.register('model:user', User);\n      registry.resolve('model:user').create() instanceof User //=> true\n      registry.unregister('model:user')\n     registry.resolve('model:user') === undefined //=> true\n     ```\n      @private\n     @method unregister\n     @param {String} fullName\n     */\n    unregister: function (fullName) {\n      _emberDebug.assert('fullName must be a proper full name', this.validateFullName(fullName));\n\n      var normalizedName = this.normalize(fullName);\n\n      this._localLookupCache = Object.create(null);\n\n      delete this.registrations[normalizedName];\n      delete this._resolveCache[normalizedName];\n      delete this._failCache[normalizedName];\n      delete this._options[normalizedName];\n    },\n\n    /**\n     Given a fullName return the corresponding factory.\n      By default `resolve` will retrieve the factory from\n     the registry.\n      ```javascript\n     let registry = new Registry();\n     registry.register('api:twitter', Twitter);\n      registry.resolve('api:twitter') // => Twitter\n     ```\n      Optionally the registry can be provided with a custom resolver.\n     If provided, `resolve` will first provide the custom resolver\n     the opportunity to resolve the fullName, otherwise it will fallback\n     to the registry.\n      ```javascript\n     let registry = new Registry();\n     registry.resolver = function(fullName) {\n        // lookup via the module system of choice\n      };\n      // the twitter factory is added to the module system\n     registry.resolve('api:twitter') // => Twitter\n     ```\n      @private\n     @method resolve\n     @param {String} fullName\n     @param {Object} [options]\n     @param {String} [options.source] the fullname of the request source (used for local lookups)\n     @return {Function} fullName's factory\n     */\n    resolve: function (fullName, options) {\n      _emberDebug.assert('fullName must be a proper full name', this.validateFullName(fullName));\n      var factory = resolve(this, this.normalize(fullName), options);\n      if (factory === undefined && this.fallback) {\n        var _fallback;\n\n        factory = (_fallback = this.fallback).resolve.apply(_fallback, arguments);\n      }\n      return factory;\n    },\n\n    /**\n     A hook that can be used to describe how the resolver will\n     attempt to find the factory.\n      For example, the default Ember `.describe` returns the full\n     class name (including namespace) where Ember's resolver expects\n     to find the `fullName`.\n      @private\n     @method describe\n     @param {String} fullName\n     @return {string} described fullName\n     */\n    describe: function (fullName) {\n      if (this.resolver && this.resolver.lookupDescription) {\n        return this.resolver.lookupDescription(fullName);\n      } else if (this.fallback) {\n        return this.fallback.describe(fullName);\n      } else {\n        return fullName;\n      }\n    },\n\n    /**\n     A hook to enable custom fullName normalization behaviour\n      @private\n     @method normalizeFullName\n     @param {String} fullName\n     @return {string} normalized fullName\n     */\n    normalizeFullName: function (fullName) {\n      if (this.resolver && this.resolver.normalize) {\n        return this.resolver.normalize(fullName);\n      } else if (this.fallback) {\n        return this.fallback.normalizeFullName(fullName);\n      } else {\n        return fullName;\n      }\n    },\n\n    /**\n     Normalize a fullName based on the application's conventions\n      @private\n     @method normalize\n     @param {String} fullName\n     @return {string} normalized fullName\n     */\n    normalize: function (fullName) {\n      return this._normalizeCache[fullName] || (this._normalizeCache[fullName] = this.normalizeFullName(fullName));\n    },\n\n    /**\n     @method makeToString\n      @private\n     @param {any} factory\n     @param {string} fullName\n     @return {function} toString function\n     */\n    makeToString: function (factory, fullName) {\n      if (this.resolver && this.resolver.makeToString) {\n        return this.resolver.makeToString(factory, fullName);\n      } else if (this.fallback) {\n        return this.fallback.makeToString(factory, fullName);\n      } else {\n        return factory.toString();\n      }\n    },\n\n    /**\n     Given a fullName check if the container is aware of its factory\n     or singleton instance.\n      @private\n     @method has\n     @param {String} fullName\n     @param {Object} [options]\n     @param {String} [options.source] the fullname of the request source (used for local lookups)\n     @return {Boolean}\n     */\n    has: function (fullName, options) {\n      if (!this.isValidFullName(fullName)) {\n        return false;\n      }\n\n      var source = options && options.source && this.normalize(options.source);\n\n      return has(this, this.normalize(fullName), source);\n    },\n\n    /**\n     Allow registering options for all factories of a type.\n      ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n      // if all of type `connection` must not be singletons\n     registry.optionsForType('connection', { singleton: false });\n      registry.register('connection:twitter', TwitterConnection);\n     registry.register('connection:facebook', FacebookConnection);\n      let twitter = container.lookup('connection:twitter');\n     let twitter2 = container.lookup('connection:twitter');\n      twitter === twitter2; // => false\n      let facebook = container.lookup('connection:facebook');\n     let facebook2 = container.lookup('connection:facebook');\n      facebook === facebook2; // => false\n     ```\n      @private\n     @method optionsForType\n     @param {String} type\n     @param {Object} options\n     */\n    optionsForType: function (type, options) {\n      this._typeOptions[type] = options;\n    },\n\n    getOptionsForType: function (type) {\n      var optionsForType = this._typeOptions[type];\n      if (optionsForType === undefined && this.fallback) {\n        optionsForType = this.fallback.getOptionsForType(type);\n      }\n      return optionsForType;\n    },\n\n    /**\n     @private\n     @method options\n     @param {String} fullName\n     @param {Object} options\n     */\n    options: function (fullName) {\n      var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n      var normalizedName = this.normalize(fullName);\n      this._options[normalizedName] = options;\n    },\n\n    getOptions: function (fullName) {\n      var normalizedName = this.normalize(fullName);\n      var options = this._options[normalizedName];\n\n      if (options === undefined && this.fallback) {\n        options = this.fallback.getOptions(fullName);\n      }\n      return options;\n    },\n\n    getOption: function (fullName, optionName) {\n      var options = this._options[fullName];\n\n      if (options && options[optionName] !== undefined) {\n        return options[optionName];\n      }\n\n      var type = fullName.split(':')[0];\n      options = this._typeOptions[type];\n\n      if (options && options[optionName] !== undefined) {\n        return options[optionName];\n      } else if (this.fallback) {\n        return this.fallback.getOption(fullName, optionName);\n      }\n    },\n\n    /**\n     Used only via `injection`.\n      Provides a specialized form of injection, specifically enabling\n     all objects of one type to be injected with a reference to another\n     object.\n      For example, provided each object of type `controller` needed a `router`.\n     one would do the following:\n      ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n      registry.register('router:main', Router);\n     registry.register('controller:user', UserController);\n     registry.register('controller:post', PostController);\n      registry.typeInjection('controller', 'router', 'router:main');\n      let user = container.lookup('controller:user');\n     let post = container.lookup('controller:post');\n      user.router instanceof Router; //=> true\n     post.router instanceof Router; //=> true\n      // both controllers share the same router\n     user.router === post.router; //=> true\n     ```\n      @private\n     @method typeInjection\n     @param {String} type\n     @param {String} property\n     @param {String} fullName\n     */\n    typeInjection: function (type, property, fullName) {\n      _emberDebug.assert('fullName must be a proper full name', this.validateFullName(fullName));\n\n      var fullNameType = fullName.split(':')[0];\n      if (fullNameType === type) {\n        throw new Error('Cannot inject a \\'' + fullName + '\\' on other ' + type + '(s).');\n      }\n\n      var injections = this._typeInjections[type] || (this._typeInjections[type] = []);\n\n      injections.push({\n        property: property,\n        fullName: fullName\n      });\n    },\n\n    /**\n     Defines injection rules.\n      These rules are used to inject dependencies onto objects when they\n     are instantiated.\n      Two forms of injections are possible:\n      * Injecting one fullName on another fullName\n     * Injecting one fullName on a type\n      Example:\n      ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n      registry.register('source:main', Source);\n     registry.register('model:user', User);\n     registry.register('model:post', Post);\n      // injecting one fullName on another fullName\n     // eg. each user model gets a post model\n     registry.injection('model:user', 'post', 'model:post');\n      // injecting one fullName on another type\n     registry.injection('model', 'source', 'source:main');\n      let user = container.lookup('model:user');\n     let post = container.lookup('model:post');\n      user.source instanceof Source; //=> true\n     post.source instanceof Source; //=> true\n      user.post instanceof Post; //=> true\n      // and both models share the same source\n     user.source === post.source; //=> true\n     ```\n      @private\n     @method injection\n     @param {String} factoryName\n     @param {String} property\n     @param {String} injectionName\n     */\n    injection: function (fullName, property, injectionName) {\n      this.validateFullName(injectionName);\n      var normalizedInjectionName = this.normalize(injectionName);\n\n      if (fullName.indexOf(':') === -1) {\n        return this.typeInjection(fullName, property, normalizedInjectionName);\n      }\n\n      _emberDebug.assert('fullName must be a proper full name', this.validateFullName(fullName));\n      var normalizedName = this.normalize(fullName);\n\n      var injections = this._injections[normalizedName] || (this._injections[normalizedName] = []);\n\n      injections.push({\n        property: property,\n        fullName: normalizedInjectionName\n      });\n    },\n\n    /**\n     Used only via `factoryInjection`.\n      Provides a specialized form of injection, specifically enabling\n     all factory of one type to be injected with a reference to another\n     object.\n      For example, provided each factory of type `model` needed a `store`.\n     one would do the following:\n      ```javascript\n     let registry = new Registry();\n      registry.register('store:main', SomeStore);\n      registry.factoryTypeInjection('model', 'store', 'store:main');\n      let store = registry.lookup('store:main');\n     let UserFactory = registry.lookupFactory('model:user');\n      UserFactory.store instanceof SomeStore; //=> true\n     ```\n      @private\n     @method factoryTypeInjection\n     @param {String} type\n     @param {String} property\n     @param {String} fullName\n     */\n    factoryTypeInjection: function (type, property, fullName) {\n      var injections = this._factoryTypeInjections[type] || (this._factoryTypeInjections[type] = []);\n\n      injections.push({\n        property: property,\n        fullName: this.normalize(fullName)\n      });\n    },\n\n    /**\n     Defines factory injection rules.\n      Similar to regular injection rules, but are run against factories, via\n     `Registry#lookupFactory`.\n      These rules are used to inject objects onto factories when they\n     are looked up.\n      Two forms of injections are possible:\n      * Injecting one fullName on another fullName\n     * Injecting one fullName on a type\n      Example:\n      ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n      registry.register('store:main', Store);\n     registry.register('store:secondary', OtherStore);\n     registry.register('model:user', User);\n     registry.register('model:post', Post);\n      // injecting one fullName on another type\n     registry.factoryInjection('model', 'store', 'store:main');\n      // injecting one fullName on another fullName\n     registry.factoryInjection('model:post', 'secondaryStore', 'store:secondary');\n      let UserFactory = container.lookupFactory('model:user');\n     let PostFactory = container.lookupFactory('model:post');\n     let store = container.lookup('store:main');\n      UserFactory.store instanceof Store; //=> true\n     UserFactory.secondaryStore instanceof OtherStore; //=> false\n      PostFactory.store instanceof Store; //=> true\n     PostFactory.secondaryStore instanceof OtherStore; //=> true\n      // and both models share the same source instance\n     UserFactory.store === PostFactory.store; //=> true\n     ```\n      @private\n     @method factoryInjection\n     @param {String} factoryName\n     @param {String} property\n     @param {String} injectionName\n     */\n    factoryInjection: function (fullName, property, injectionName) {\n      var normalizedName = this.normalize(fullName);\n      var normalizedInjectionName = this.normalize(injectionName);\n\n      this.validateFullName(injectionName);\n\n      if (fullName.indexOf(':') === -1) {\n        return this.factoryTypeInjection(normalizedName, property, normalizedInjectionName);\n      }\n\n      var injections = this._factoryInjections[normalizedName] || (this._factoryInjections[normalizedName] = []);\n\n      injections.push({\n        property: property,\n        fullName: normalizedInjectionName\n      });\n    },\n\n    /**\n     @private\n     @method knownForType\n     @param {String} type the type to iterate over\n    */\n    knownForType: function (type) {\n      var fallbackKnown = undefined,\n          resolverKnown = undefined;\n\n      var localKnown = _emberUtils.dictionary(null);\n      var registeredNames = Object.keys(this.registrations);\n      for (var index = 0; index < registeredNames.length; index++) {\n        var fullName = registeredNames[index];\n        var itemType = fullName.split(':')[0];\n\n        if (itemType === type) {\n          localKnown[fullName] = true;\n        }\n      }\n\n      if (this.fallback) {\n        fallbackKnown = this.fallback.knownForType(type);\n      }\n\n      if (this.resolver && this.resolver.knownForType) {\n        resolverKnown = this.resolver.knownForType(type);\n      }\n\n      return _emberUtils.assign({}, fallbackKnown, localKnown, resolverKnown);\n    },\n\n    validateFullName: function (fullName) {\n      if (!this.isValidFullName(fullName)) {\n        throw new TypeError('Invalid Fullname, expected: \\'type:name\\' got: ' + fullName);\n      }\n\n      return true;\n    },\n\n    isValidFullName: function (fullName) {\n      return !!VALID_FULL_NAME_REGEXP.test(fullName);\n    },\n\n    validateInjections: function (injections) {\n      if (!injections) {\n        return;\n      }\n\n      var fullName = undefined;\n\n      for (var i = 0; i < injections.length; i++) {\n        fullName = injections[i].fullName;\n\n        _emberDebug.assert('Attempting to inject an unknown injection: \\'' + fullName + '\\'', this.has(fullName));\n      }\n    },\n\n    normalizeInjectionsHash: function (hash) {\n      var injections = [];\n\n      for (var key in hash) {\n        if (hash.hasOwnProperty(key)) {\n          _emberDebug.assert('Expected a proper full name, given \\'' + hash[key] + '\\'', this.validateFullName(hash[key]));\n\n          injections.push({\n            property: key,\n            fullName: hash[key]\n          });\n        }\n      }\n\n      return injections;\n    },\n\n    getInjections: function (fullName) {\n      var injections = this._injections[fullName] || [];\n      if (this.fallback) {\n        injections = injections.concat(this.fallback.getInjections(fullName));\n      }\n      return injections;\n    },\n\n    getTypeInjections: function (type) {\n      var injections = this._typeInjections[type] || [];\n      if (this.fallback) {\n        injections = injections.concat(this.fallback.getTypeInjections(type));\n      }\n      return injections;\n    },\n\n    getFactoryInjections: function (fullName) {\n      var injections = this._factoryInjections[fullName] || [];\n      if (this.fallback) {\n        injections = injections.concat(this.fallback.getFactoryInjections(fullName));\n      }\n      return injections;\n    },\n\n    getFactoryTypeInjections: function (type) {\n      var injections = this._factoryTypeInjections[type] || [];\n      if (this.fallback) {\n        injections = injections.concat(this.fallback.getFactoryTypeInjections(type));\n      }\n      return injections;\n    }\n  };\n\n  function deprecateResolverFunction(registry) {\n    _emberDebug.deprecate('Passing a `resolver` function into a Registry is deprecated. Please pass in a Resolver object with a `resolve` method.', false, { id: 'ember-application.registry-resolver-as-function', until: '3.0.0', url: 'http://emberjs.com/deprecations/v2.x#toc_registry-resolver-as-function' });\n    registry.resolver = {\n      resolve: registry.resolver\n    };\n  }\n\n  /**\n   Given a fullName and a source fullName returns the fully resolved\n   fullName. Used to allow for local lookup.\n  \n   ```javascript\n   let registry = new Registry();\n  \n   // the twitter factory is added to the module system\n   registry.expandLocalLookup('component:post-title', { source: 'template:post' }) // => component:post/post-title\n   ```\n  \n   @private\n   @method expandLocalLookup\n   @param {String} fullName\n   @param {Object} [options]\n   @param {String} [options.source] the fullname of the request source (used for local lookups)\n   @return {String} fullName\n   */\n  Registry.prototype.expandLocalLookup = function Registry_expandLocalLookup(fullName, options) {\n    if (this.resolver && this.resolver.expandLocalLookup) {\n      _emberDebug.assert('fullName must be a proper full name', this.validateFullName(fullName));\n      _emberDebug.assert('options.source must be provided to expandLocalLookup', options && options.source);\n      _emberDebug.assert('options.source must be a proper full name', this.validateFullName(options.source));\n\n      var normalizedFullName = this.normalize(fullName);\n      var normalizedSource = this.normalize(options.source);\n\n      return expandLocalLookup(this, normalizedFullName, normalizedSource);\n    } else if (this.fallback) {\n      return this.fallback.expandLocalLookup(fullName, options);\n    } else {\n      return null;\n    }\n  };\n\n  function expandLocalLookup(registry, normalizedName, normalizedSource) {\n    var cache = registry._localLookupCache;\n    var normalizedNameCache = cache[normalizedName];\n\n    if (!normalizedNameCache) {\n      normalizedNameCache = cache[normalizedName] = Object.create(null);\n    }\n\n    var cached = normalizedNameCache[normalizedSource];\n\n    if (cached !== undefined) {\n      return cached;\n    }\n\n    var expanded = registry.resolver.expandLocalLookup(normalizedName, normalizedSource);\n\n    return normalizedNameCache[normalizedSource] = expanded;\n  }\n\n  function resolve(registry, normalizedName, options) {\n    if (options && options.source) {\n      // when `source` is provided expand normalizedName\n      // and source into the full normalizedName\n      normalizedName = registry.expandLocalLookup(normalizedName, options);\n\n      // if expandLocalLookup returns falsey, we do not support local lookup\n      if (!normalizedName) {\n        return;\n      }\n    }\n\n    var cached = registry._resolveCache[normalizedName];\n    if (cached !== undefined) {\n      return cached;\n    }\n    if (registry._failCache[normalizedName]) {\n      return;\n    }\n\n    var resolved = undefined;\n\n    if (registry.resolver) {\n      resolved = registry.resolver.resolve(normalizedName);\n    }\n\n    if (resolved === undefined) {\n      resolved = registry.registrations[normalizedName];\n    }\n\n    if (resolved === undefined) {\n      registry._failCache[normalizedName] = true;\n    } else {\n      registry._resolveCache[normalizedName] = resolved;\n    }\n\n    return resolved;\n  }\n\n  function has(registry, fullName, source) {\n    return registry.resolve(fullName, { source: source }) !== undefined;\n  }\n\n  var privateNames = _emberUtils.dictionary(null);\n  var privateSuffix = ('' + Math.random() + Date.now()).replace('.', '');\n\n  function privatize(_ref) {\n    var fullName = _ref[0];\n\n    var name = privateNames[fullName];\n    if (name) {\n      return name;\n    }\n\n    var _fullName$split = fullName.split(':');\n\n    var type = _fullName$split[0];\n    var rawName = _fullName$split[1];\n\n    return privateNames[fullName] = _emberUtils.intern(type + ':' + rawName + '-' + privateSuffix);\n  }\n});\nenifed('dag-map', ['exports'], function (exports) { 'use strict';\n\n/**\n * A map of key/value pairs with dependencies contraints that can be traversed\n * in topological order and is checked for cycles.\n *\n * @class DAG\n * @constructor\n */\nvar 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     * @method addEdges\n     * @param {string[]}   key The key of the vertex to be added.\n     * @param {any}      value The value of that vertex.\n     * @param {string[]|string|undefined}  before A key or array of keys of the vertices that must\n     *                                            be visited before this vertex.\n     * @param {string[]|string|undefined}   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        var vertices = this._vertices;\n        var v = vertices.add(key);\n        v.val = value;\n        if (before) {\n            if (typeof before === \"string\") {\n                vertices.addEdge(v, vertices.add(before));\n            }\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            }\n            else {\n                for (var i = 0; i < after.length; i++) {\n                    vertices.addEdge(vertices.add(after[i]), v);\n                }\n            }\n        }\n    };\n    /**\n     * Visits key/value pairs in topological order.\n     *\n     * @public\n     * @method  topsort\n     * @param {Function} fn The function to be invoked with each key/value.\n     */\n    DAG.prototype.topsort = function (callback) {\n        this._vertices.topsort(callback);\n    };\n    return DAG;\n}());\nvar Vertices = (function () {\n    function Vertices() {\n        this.stack = new IntStack();\n        this.result = new IntStack();\n        this.vertices = [];\n    }\n    Vertices.prototype.add = function (key) {\n        if (!key)\n            throw new Error(\"missing key\");\n        var vertices = this.vertices;\n        var i = 0;\n        var vertex;\n        for (; i < vertices.length; i++) {\n            vertex = vertices[i];\n            if (vertex.key === key)\n                return vertex;\n        }\n        return vertices[i] = {\n            id: i,\n            key: key,\n            val: null,\n            inc: null,\n            out: false,\n            mark: false\n        };\n    };\n    Vertices.prototype.addEdge = function (v, w) {\n        this.check(v, w.key);\n        var inc = w.inc;\n        if (!inc) {\n            w.inc = [v.id];\n        }\n        else {\n            var i = 0;\n            for (; i < inc.length; i++) {\n                if (inc[i] === v.id)\n                    return;\n            }\n            inc[i] = v.id;\n        }\n        v.out = true;\n    };\n    Vertices.prototype.topsort = function (cb) {\n        this.reset();\n        var vertices = this.vertices;\n        for (var i = 0; i < vertices.length; i++) {\n            var vertex = vertices[i];\n            if (vertex.out)\n                continue;\n            this.visit(vertex, undefined);\n        }\n        this.each(cb);\n    };\n    Vertices.prototype.check = function (v, w) {\n        if (v.key === w) {\n            throw new Error(\"cycle detected: \" + w + \" <- \" + w);\n        }\n        var inc = v.inc;\n        // quick check\n        if (!inc || inc.length === 0)\n            return;\n        var vertices = this.vertices;\n        // shallow check\n        for (var i = 0; i < inc.length; i++) {\n            var key = vertices[inc[i]].key;\n            if (key === w) {\n                throw new Error(\"cycle detected: \" + w + \" <- \" + v.key + \" <- \" + w);\n            }\n        }\n        // deep check\n        this.reset();\n        this.visit(v, w);\n        if (this.result.len > 0) {\n            var msg_1 = \"cycle detected: \" + w;\n            this.each(function (key) {\n                msg_1 += \" <- \" + key;\n            });\n            throw new Error(msg_1);\n        }\n    };\n    Vertices.prototype.each = function (cb) {\n        var _a = this, result = _a.result, vertices = _a.vertices;\n        for (var i = 0; i < result.len; i++) {\n            var vertex = vertices[result.stack[i]];\n            cb(vertex.key, vertex.val);\n        }\n    };\n    // reuse between cycle check and topsort\n    Vertices.prototype.reset = function () {\n        this.stack.len = 0;\n        this.result.len = 0;\n        var vertices = this.vertices;\n        for (var i = 0; i < vertices.length; i++) {\n            vertices[i].mark = false;\n        }\n    };\n    Vertices.prototype.visit = function (start, search) {\n        var _a = this, stack = _a.stack, result = _a.result, vertices = _a.vertices;\n        stack.push(start.id);\n        while (stack.len) {\n            var index = stack.pop();\n            if (index < 0) {\n                index = ~index;\n                if (search) {\n                    result.pop();\n                }\n                else {\n                    result.push(index);\n                }\n            }\n            else {\n                var vertex = vertices[index];\n                if (vertex.mark) {\n                    continue;\n                }\n                if (search) {\n                    result.push(index);\n                    if (search === vertex.key) {\n                        return;\n                    }\n                }\n                vertex.mark = true;\n                stack.push(~index);\n                var incoming = vertex.inc;\n                if (incoming) {\n                    var i = incoming.length;\n                    while (i--) {\n                        index = incoming[i];\n                        if (!vertices[index].mark) {\n                            stack.push(index);\n                        }\n                    }\n                }\n            }\n        }\n    };\n    return Vertices;\n}());\nvar IntStack = (function () {\n    function IntStack() {\n        this.stack = [0, 0, 0, 0, 0, 0];\n        this.len = 0;\n    }\n    IntStack.prototype.push = function (n) {\n        this.stack[this.len++] = n;\n    };\n    IntStack.prototype.pop = function () {\n        return this.stack[--this.len];\n    };\n    return IntStack;\n}());\n\nexports['default'] = DAG;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n});\nenifed('ember-application/index', ['exports', 'ember-application/initializers/dom-templates', 'ember-application/system/application', 'ember-application/system/application-instance', 'ember-application/system/resolver', 'ember-application/system/engine', 'ember-application/system/engine-instance', 'ember-application/system/engine-parent'], function (exports, _emberApplicationInitializersDomTemplates, _emberApplicationSystemApplication, _emberApplicationSystemApplicationInstance, _emberApplicationSystemResolver, _emberApplicationSystemEngine, _emberApplicationSystemEngineInstance, _emberApplicationSystemEngineParent) {\n  /**\n  @module ember\n  @submodule ember-application\n  */\n\n  'use strict';\n\n  exports.Application = _emberApplicationSystemApplication.default;\n  exports.ApplicationInstance = _emberApplicationSystemApplicationInstance.default;\n  exports.Resolver = _emberApplicationSystemResolver.default;\n  exports.Engine = _emberApplicationSystemEngine.default;\n  exports.EngineInstance = _emberApplicationSystemEngineInstance.default;\n  exports.getEngineParent = _emberApplicationSystemEngineParent.getEngineParent;\n  exports.setEngineParent = _emberApplicationSystemEngineParent.setEngineParent;\n\n  // add domTemplates initializer (only does something if `ember-template-compiler`\n  // is loaded already)\n});\nenifed('ember-application/initializers/dom-templates', ['exports', 'require', 'ember-glimmer', 'ember-environment', 'ember-application/system/application'], function (exports, _require, _emberGlimmer, _emberEnvironment, _emberApplicationSystemApplication) {\n  'use strict';\n\n  var bootstrap = function () {};\n\n  _emberApplicationSystemApplication.default.initializer({\n    name: 'domTemplates',\n    initialize: function () {\n      var bootstrapModuleId = 'ember-template-compiler/system/bootstrap';\n      var context = undefined;\n      if (_emberEnvironment.environment.hasDOM && _require.has(bootstrapModuleId)) {\n        bootstrap = _require.default(bootstrapModuleId).default;\n        context = document;\n      }\n\n      bootstrap({ context: context, hasTemplate: _emberGlimmer.hasTemplate, setTemplate: _emberGlimmer.setTemplate });\n    }\n  });\n});\nenifed('ember-application/system/application-instance', ['exports', 'ember-utils', 'ember-debug', 'ember-metal', 'ember-runtime', 'ember-environment', 'ember-views', 'ember-application/system/engine-instance'], function (exports, _emberUtils, _emberDebug, _emberMetal, _emberRuntime, _emberEnvironment, _emberViews, _emberApplicationSystemEngineInstance) {\n  /**\n  @module ember\n  @submodule ember-application\n  */\n\n  'use strict';\n\n  var BootOptions = undefined;\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 Ember.ApplicationInstance\n    @extends Ember.EngineInstance\n  */\n\n  var ApplicationInstance = _emberApplicationSystemEngineInstance.default.extend({\n    /**\n      The `Application` for which this is an instance.\n       @property {Ember.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      // 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\n    /**\n      Overrides the base `EngineInstance._bootSync` method with concerns relevant\n      to booting application (instead of engine) instances.\n       This method should only contain synchronous boot concerns. Asynchronous\n      boot concerns should eventually be moved to the `boot` method, which\n      returns a promise.\n       Until all boot code has been made asynchronous, we need to continue to\n      expose this method for use *internally* in places where we need to boot an\n      instance synchronously.\n       @private\n    */\n    _bootSync: function (options) {\n      if (this._booted) {\n        return this;\n      }\n\n      options = new BootOptions(options);\n\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        var router = _emberMetal.get(this, 'router');\n        _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\n    setupRegistry: function (options) {\n      this.constructor.setupRegistry(this.__registry__, options);\n    },\n\n    router: _emberMetal.computed(function () {\n      return this.lookup('router:main');\n    }).readOnly(),\n\n    /**\n      This hook is called by the root-most Route (a.k.a. the ApplicationRoute)\n      when it has finished creating the root View. By default, we simply take the\n      view and append it to the `rootElement` specified on the Application.\n       In cases like FastBoot and testing, we can override this hook and implement\n      custom behavior, such as serializing to a string and sending over an HTTP\n      socket rather than appending to DOM.\n       @param view {Ember.View} the root-most view\n      @private\n    */\n    didCreateRootView: function (view) {\n      view.appendTo(this.rootElement);\n    },\n\n    /**\n      Tells the router to start routing. The router will ask the location for the\n      current URL of the page to determine the initial URL to start routing to.\n      To start the app at a specific URL, call `handleURL` instead.\n       @private\n    */\n    startRouting: function () {\n      var router = _emberMetal.get(this, 'router');\n      router.startRouting();\n      this._didSetupRouter = true;\n    },\n\n    /**\n      @private\n       Sets up the router, initializing the child router and configuring the\n      location before routing begins.\n       Because setup should only occur once, multiple calls to `setupRouter`\n      beyond the first call have no effect.\n    */\n    setupRouter: function () {\n      if (this._didSetupRouter) {\n        return;\n      }\n      this._didSetupRouter = true;\n\n      var router = _emberMetal.get(this, 'router');\n      router.setupRouter();\n    },\n\n    /**\n      Directs the router to route to a particular URL. This is useful in tests,\n      for example, to tell the app to start at a particular URL.\n       @param url {String} the URL the router should route to\n      @private\n    */\n    handleURL: function (url) {\n      var router = _emberMetal.get(this, 'router');\n\n      this.setupRouter();\n      return router.handleURL(url);\n    },\n\n    /**\n      @private\n    */\n    setupEventDispatcher: function () {\n      var dispatcher = this.lookup('event_dispatcher:main');\n      var applicationCustomEvents = _emberMetal.get(this.application, 'customEvents');\n      var instanceCustomEvents = _emberMetal.get(this, 'customEvents');\n\n      var customEvents = _emberUtils.assign({}, applicationCustomEvents, instanceCustomEvents);\n      dispatcher.setup(customEvents, this.rootElement);\n\n      return dispatcher;\n    },\n\n    /**\n      Returns the current URL of the app instance. This is useful when your\n      app does not update the browsers URL bar (i.e. it uses the `'none'`\n      location adapter).\n       @public\n      @return {String} the current URL\n    */\n    getURL: function () {\n      var router = _emberMetal.get(this, 'router');\n      return _emberMetal.get(router, 'url');\n    },\n\n    // `instance.visit(url)` should eventually replace `instance.handleURL()`;\n    // the test helpers can probably be switched to use this implementation too\n\n    /**\n      Navigate the instance to a particular URL. This is useful in tests, for\n      example, or to tell the app to start at a particular URL. This method\n      returns a promise that resolves with the app instance when the transition\n      is complete, or rejects if the transion was aborted due to an error.\n       @public\n      @param url {String} the destination URL\n      @return {Promise}\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 = _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          return new _emberRuntime.RSVP.Promise(function (resolve) {\n            // Resolve once rendering is completed. `router.handleURL` returns the transition (as a thennable)\n            // which resolves once the transition is completed, but the transition completion only queues up\n            // a scheduled revalidation (into the `render` queue) in the Renderer.\n            //\n            // This uses `run.schedule('afterRender', ....)` to resolve after that rendering has completed.\n            _emberMetal.run.schedule('afterRender', null, resolve, _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 = _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  });\n\n  ApplicationInstance.reopenClass({\n    /**\n     @private\n     @method setupRegistry\n     @param {Registry} registry\n     @param {BootOptions} options\n    */\n    setupRegistry: function (registry) {\n      var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n      if (!options.toEnvironment) {\n        options = new BootOptions(options);\n      }\n\n      registry.register('-environment:main', options.toEnvironment(), { instantiate: false });\n      registry.register('service:-document', options.document, { instantiate: false });\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 `Ember.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 `Ember.Application#visit` for the supported configurations.\n  \n    Internal, experimental or otherwise unstable flags are marked as private.\n  \n    @class BootOptions\n    @namespace Ember.ApplicationInstance\n    @public\n  */\n  BootOptions = function BootOptions() {\n    var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\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 = _emberEnvironment.environment.hasDOM; // This default is overridable below\n\n    /**\n      Run in a full browser environment.\n       When this flag is set to `false`, it will disable most browser-specific\n      and interactive features. Specifically:\n       * It does not use `jQuery` to append the root view; the `rootElement`\n        (either specified as a subsequent option or on the application itself)\n        must already be an `Element` in the given `document` (as opposed to a\n        string selector).\n       * It does not set up an `EventDispatcher`.\n       * It does not run any `Component` lifecycle hooks (such as `didInsertElement`).\n       * It sets the `location` option to `\"none\"`. (If you would like to use\n        the location adapter specified in the app's router instead, you can also\n        specify `{ location: null }` to specifically opt-out.)\n       @property isBrowser\n      @type boolean\n      @default auto-detected\n      @public\n    */\n    if (options.isBrowser !== undefined) {\n      this.isBrowser = !!options.isBrowser;\n    } else {\n      this.isBrowser = _emberEnvironment.environment.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 `Ember.Applications`'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    var env = _emberUtils.assign({}, _emberEnvironment.environment);\n    // For compatibility with existing code\n    env.hasDOM = this.isBrowser;\n    env.isInteractive = this.isInteractive;\n    env.options = this;\n    return env;\n  };\n\n  Object.defineProperty(ApplicationInstance.prototype, 'container', {\n    configurable: true,\n    enumerable: false,\n    get: function () {\n      var instance = this;\n      return {\n        lookup: function () {\n          _emberDebug.deprecate('Using `ApplicationInstance.container.lookup` is deprecated. Please use `ApplicationInstance.lookup` instead.', false, {\n            id: 'ember-application.app-instance-container',\n            until: '2.13.0',\n            url: 'http://emberjs.com/deprecations/v2.x/#toc_ember-applicationinstance-container'\n          });\n          return instance.lookup.apply(instance, arguments);\n        }\n      };\n    }\n  });\n\n  Object.defineProperty(ApplicationInstance.prototype, 'registry', {\n    configurable: true,\n    enumerable: false,\n    get: function () {\n      return _emberRuntime.buildFakeRegistryWithDeprecations(this, 'ApplicationInstance');\n    }\n  });\n\n  exports.default = ApplicationInstance;\n});\nenifed('ember-application/system/application', ['exports', 'ember-utils', 'ember-environment', 'ember-debug', 'ember-metal', 'ember-runtime', 'ember-views', 'ember-routing', 'ember-application/system/application-instance', 'container', 'ember-application/system/engine', 'ember-glimmer'], function (exports, _emberUtils, _emberEnvironment, _emberDebug, _emberMetal, _emberRuntime, _emberViews, _emberRouting, _emberApplicationSystemApplicationInstance, _container, _emberApplicationSystemEngine, _emberGlimmer) {\n  /**\n  @module ember\n  @submodule ember-application\n  */\n  'use strict';\n\n  var _templateObject = babelHelpers.taggedTemplateLiteralLoose(['-bucket-cache:main'], ['-bucket-cache:main']);\n\n  var librariesRegistered = false;\n\n  /**\n    An instance of `Ember.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 `Ember.Application` object. In fact, the\n    very first thing you should do in your application is create the instance:\n  \n    ```javascript\n    window.App = Ember.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 `Ember.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    App.MyView = Ember.View.extend();\n    ```\n  \n    By default, calling `Ember.Application.create()` will automatically initialize\n    your application by calling the `Ember.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 `Ember.Application` instance, which\n    will be run by Ember when the application is initialized.\n  \n    Because `Ember.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 `Ember.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    `Ember.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    let App = Ember.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    let App = Ember.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    let App = Ember.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    [components/handling-events](https://guides.emberjs.com/v2.6.0/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    Ember.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, `Ember.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    let App = Ember.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    @namespace Ember\n    @extends Ember.Engine\n    @uses RegistryProxyMixin\n    @public\n  */\n\n  var Application = _emberApplicationSystemEngine.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 `Ember.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      let App = Ember.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      let App = Ember.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      let App = Ember.Application.create({\n        ...\n      });\n       App.Router.reopen({\n        location: 'none'\n      });\n       App.Router.map({\n        ...\n      });\n       App.MyComponent = Ember.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    init: function (options) {\n      this._super.apply(this, arguments);\n\n      if (!this.$) {\n        this.$ = _emberViews.jQuery;\n      }\n\n      registerLibraries();\n      _emberDebug.runInDebug(function () {\n        return logLibraryVersions();\n      });\n\n      // Start off the number of deferrals at 1. This will be decremented by\n      // the Application's own `boot` method.\n      this._readinessDeferrals = 1;\n      this._booted = false;\n\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\n    /**\n      Create an ApplicationInstance for this application.\n       @private\n      @method buildInstance\n      @return {Ember.ApplicationInstance} the application instance\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 _emberApplicationSystemApplicationInstance.default.create(options);\n    },\n\n    /**\n      Enable the legacy globals mode by allowing this application to act\n      as a global namespace. See the docs on the `_globalsMode` property\n      for details.\n       Most of these features are already deprecated in 1.x, so we can\n      stop using them internally and try to remove them.\n       @private\n      @method _prepareForGlobalsMode\n    */\n    _prepareForGlobalsMode: function () {\n      // Create subclass of Ember.Router for this Application instance.\n      // This is to ensure that someone reopening `App.Router` does not\n      // tamper with the default `Ember.Router`.\n      this.Router = (this.Router || _emberRouting.Router).extend();\n\n      this._buildDeprecatedInstance();\n    },\n\n    /*\n      Build the deprecated instance for legacy globals mode support.\n      Called when creating and resetting the application.\n       This is orthogonal to autoboot: the deprecated instance needs to\n      be created at Application construction (not boot) time to expose\n      App.__container__. If autoboot sees that this instance exists,\n      it will continue booting it to avoid doing unncessary work (as\n      opposed to building a new instance at boot time), but they are\n      otherwise unrelated.\n       @private\n      @method _buildDeprecatedInstance\n    */\n    _buildDeprecatedInstance: function () {\n      // Build a default instance\n      var instance = this.buildInstance();\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\n    /**\n      Automatically kick-off the boot process for the application once the\n      DOM has become ready.\n       The initialization itself is scheduled on the actions queue which\n      ensures that code-loading finishes before booting.\n       If you are asynchronously loading code, you should call `deferReadiness()`\n      to defer booting, and then call `advanceReadiness()` once all of your code\n      has finished loading.\n       @private\n      @method waitForDOMReady\n    */\n    waitForDOMReady: function () {\n      if (!this.$ || this.$.isReady) {\n        _emberMetal.run.schedule('actions', this, 'domReady');\n      } else {\n        this.$().ready(_emberMetal.run.bind(this, 'domReady'));\n      }\n    },\n\n    /**\n      This is the autoboot flow:\n       1. Boot the app by calling `this.boot()`\n      2. Create an instance (or use the `__deprecatedInstance__` in globals mode)\n      3. Boot the instance by calling `instance.boot()`\n      4. Invoke the `App.ready()` callback\n      5. Kick-off routing on the instance\n       Ideally, this is all we would need to do:\n       ```javascript\n      _autoBoot() {\n        this.boot().then(() => {\n          let instance = (this._globalsMode) ? this.__deprecatedInstance__ : this.buildInstance();\n          return instance.boot();\n        }).then((instance) => {\n          App.ready();\n          instance.startRouting();\n        });\n      }\n      ```\n       Unfortunately, we cannot actually write this because we need to participate\n      in the \"synchronous\" boot process. While the code above would work fine on\n      the initial boot (i.e. DOM ready), when `App.reset()` is called, we need to\n      boot a new instance synchronously (see the documentation on `_bootSync()`\n      for details).\n       Because of this restriction, the actual logic of this method is located\n      inside `didBecomeReady()`.\n       @private\n      @method domReady\n    */\n    domReady: function () {\n      if (this.isDestroyed) {\n        return;\n      }\n\n      this._bootSync();\n\n      // Continues to `didBecomeReady`\n    },\n\n    /**\n      Use this to defer readiness until some condition is true.\n       Example:\n       ```javascript\n      let App = Ember.Application.create();\n       App.deferReadiness();\n       // Ember.$ is a reference to the jQuery object/function\n      Ember.$.getJSON('/auth-token', function(token) {\n        App.token = token;\n        App.advanceReadiness();\n      });\n      ```\n       This allows you to perform asynchronous setup logic and defer\n      booting your application until the setup has finished.\n       However, if the setup requires a loading UI, it might be better\n      to use the router for this purpose.\n       @method deferReadiness\n      @public\n    */\n    deferReadiness: function () {\n      _emberDebug.assert('You must call deferReadiness on an instance of Ember.Application', this instanceof Application);\n      _emberDebug.assert('You cannot defer readiness since the `ready()` hook has already been called.', this._readinessDeferrals > 0);\n      this._readinessDeferrals++;\n    },\n\n    /**\n      Call `advanceReadiness` after any asynchronous setup logic has completed.\n      Each call to `deferReadiness` must be matched by a call to `advanceReadiness`\n      or the application will never become ready and routing will not begin.\n       @method advanceReadiness\n      @see {Ember.Application#deferReadiness}\n      @public\n    */\n    advanceReadiness: function () {\n      _emberDebug.assert('You must call advanceReadiness on an instance of Ember.Application', this instanceof Application);\n      this._readinessDeferrals--;\n\n      if (this._readinessDeferrals === 0) {\n        _emberMetal.run.once(this, this.didBecomeReady);\n      }\n    },\n\n    /**\n      Initialize the application and return a promise that resolves with the `Ember.Application`\n      object when the boot process is complete.\n       Run any application initializers and run the application load hook. These hooks may\n      choose to defer readiness. For example, an authentication hook might want to defer\n      readiness until the auth token has been retrieved.\n       By default, this method is called automatically on \"DOM ready\"; however, if autoboot\n      is disabled, this is automatically called when the first application instance is\n      created via `visit`.\n       @private\n      @method boot\n      @return {Promise<Ember.Application,Error>}\n    */\n    boot: function () {\n      if (this._bootPromise) {\n        return this._bootPromise;\n      }\n\n      try {\n        this._bootSync();\n      } catch (_) {\n        // Ignore th error: in the asynchronous boot path, the error is already reflected\n        // in the promise rejection\n      }\n\n      return this._bootPromise;\n    },\n\n    /**\n      Unfortunately, a lot of existing code assumes the booting process is\n      \"synchronous\". Specifically, a lot of tests assumes the last call to\n      `app.advanceReadiness()` or `app.reset()` will result in the app being\n      fully-booted when the current runloop completes.\n       We would like new code (like the `visit` API) to stop making this assumption,\n      so we created the asynchronous version above that returns a promise. But until\n      we have migrated all the code, we would have to expose this method for use\n      *internally* in places where we need to boot an app \"synchronously\".\n       @private\n    */\n    _bootSync: function () {\n      if (this._booted) {\n        return;\n      }\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 = new _emberRuntime.RSVP.defer();\n      this._bootPromise = defer.promise;\n\n      try {\n        this.runInitializers();\n        _emberRuntime.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\n    /**\n      Reset the application. This is typically used only in tests. It cleans up\n      the application in the following order:\n       1. Deactivate existing routes\n      2. Destroy all objects in the container\n      3. Create a new application container\n      4. Re-route to the existing url\n       Typical Example:\n       ```javascript\n      let App;\n       run(function() {\n        App = Ember.Application.create();\n      });\n       module('acceptance test', {\n        setup: function() {\n          App.reset();\n        }\n      });\n       test('first test', function() {\n        // App is freshly reset\n      });\n       test('second test', function() {\n        // App is again freshly reset\n      });\n      ```\n       Advanced Example:\n       Occasionally you may want to prevent the app from initializing during\n      setup. This could enable extra configuration, or enable asserting prior\n      to the app becoming ready.\n       ```javascript\n      let App;\n       run(function() {\n        App = Ember.Application.create();\n      });\n       module('acceptance test', {\n        setup: function() {\n          run(function() {\n            App.reset();\n            App.deferReadiness();\n          });\n        }\n      });\n       test('first test', function() {\n        ok(true, 'something before app is initialized');\n         run(function() {\n          App.advanceReadiness();\n        });\n         ok(true, 'something after app is initialized');\n      });\n      ```\n       @method reset\n      @public\n    */\n    reset: function () {\n      _emberDebug.assert('Calling reset() on instances of `Ember.Application` is not\\n            supported when globals mode is disabled; call `visit()` to\\n            create new `Ember.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      function handleReset() {\n        _emberMetal.run(instance, 'destroy');\n        this._buildDeprecatedInstance();\n        _emberMetal.run.schedule('actions', this, '_bootSync');\n      }\n\n      _emberMetal.run.join(this, handleReset);\n    },\n\n    /**\n      @private\n      @method didBecomeReady\n    */\n    didBecomeReady: function () {\n      try {\n        // TODO: Is this still needed for _globalsMode = false?\n        if (!_emberDebug.isTesting()) {\n          // Eagerly name all classes that are already loaded\n          _emberRuntime.Namespace.processAll();\n          _emberRuntime.setNamespaceSearchDisabled(true);\n        }\n\n        // See documentation on `_autoboot()` for details\n        if (this.autoboot) {\n          var instance = undefined;\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\n    /**\n      Called when the Application has become ready, immediately before routing\n      begins. The call will be delayed until the DOM has become ready.\n       @event ready\n      @public\n    */\n    ready: function () {\n      return this;\n    },\n\n    // This method must be moved to the application instance object\n    willDestroy: function () {\n      this._super.apply(this, arguments);\n      _emberRuntime.setNamespaceSearchDisabled(false);\n      this._booted = false;\n      this._bootPromise = null;\n      this._bootResolver = null;\n\n      if (_emberRuntime._loaded.application === this) {\n        _emberRuntime._loaded.application = undefined;\n      }\n\n      if (this._globalsMode && this.__deprecatedInstance__) {\n        this.__deprecatedInstance__.destroy();\n      }\n    },\n\n    /**\n      Boot a new instance of `Ember.ApplicationInstance` for the current\n      application and navigate it to the given `url`. Returns a `Promise` that\n      resolves with the instance when the initial routing and rendering is\n      complete, or rejects with any error that occured during the boot process.\n       When `autoboot` is disabled, calling `visit` would first cause the\n      application to boot, which runs the application initializers.\n       This method also takes a hash of boot-time configuration options for\n      customizing the instance's behavior. See the documentation on\n      `Ember.ApplicationInstance.BootOptions` for details.\n       `Ember.ApplicationInstance.BootOptions` is an interface class that exists\n      purely to document the available options; you do not need to construct it\n      manually. Simply pass a regular JavaScript object containing of the\n      desired options:\n       ```javascript\n      MyApp.visit(\"/\", { location: \"none\", rootElement: \"#container\" });\n      ```\n       ### Supported Scenarios\n       While the `BootOptions` class exposes a large number of knobs, not all\n      combinations of them are valid; certain incompatible combinations might\n      result in unexpected behavior.\n       For example, booting the instance in the full browser environment\n      while specifying a foriegn `document` object (e.g. `{ isBrowser: true,\n      document: iframe.contentDocument }`) does not work correctly today,\n      largely due to Ember's jQuery dependency.\n       Currently, there are three officially supported scenarios/configurations.\n      Usages outside of these scenarios are not guaranteed to work, but please\n      feel free to file bug reports documenting your experience and any issues\n      you encountered to help expand support.\n       #### Browser Applications (Manual Boot)\n       The setup is largely similar to how Ember works out-of-the-box. Normally,\n      Ember will boot a default instance for your Application on \"DOM ready\".\n      However, you can customize this behavior by disabling `autoboot`.\n       For example, this allows you to render a miniture demo of your application\n      into a specific area on your marketing website:\n       ```javascript\n      import MyApp from 'my-app';\n       $(function() {\n        let App = MyApp.create({ autoboot: false });\n         let options = {\n          // Override the router's location adapter to prevent it from updating\n          // the URL in the address bar\n          location: 'none',\n           // Override the default `rootElement` on the app to render into a\n          // specific `div` on the page\n          rootElement: '#demo'\n        };\n         // Start the app at the special demo URL\n        App.visit('/demo', options);\n      });\n      ````\n       Or perhaps you might want to boot two instances of your app on the same\n      page for a split-screen multiplayer experience:\n       ```javascript\n      import MyApp from 'my-app';\n       $(function() {\n        let App = MyApp.create({ autoboot: false });\n         let sessionId = MyApp.generateSessionID();\n         let player1 = App.visit(`/matches/join?name=Player+1&session=${sessionId}`, { rootElement: '#left', location: 'none' });\n        let player2 = App.visit(`/matches/join?name=Player+2&session=${sessionId}`, { rootElement: '#right', location: 'none' });\n         Promise.all([player1, player2]).then(() => {\n          // Both apps have completed the initial render\n          $('#loading').fadeOut();\n        });\n      });\n      ```\n       Do note that each app instance maintains their own registry/container, so\n      they will run in complete isolation by default.\n       #### Server-Side Rendering (also known as FastBoot)\n       This setup allows you to run your Ember app in a server environment using\n      Node.js and render its content into static HTML for SEO purposes.\n       ```javascript\n      const HTMLSerializer = new SimpleDOM.HTMLSerializer(SimpleDOM.voidMap);\n       function renderURL(url) {\n        let dom = new SimpleDOM.Document();\n        let rootElement = dom.body;\n        let options = { isBrowser: false, document: dom, rootElement: rootElement };\n         return MyApp.visit(options).then(instance => {\n          try {\n            return HTMLSerializer.serialize(rootElement.firstChild);\n          } finally {\n            instance.destroy();\n          }\n        });\n      }\n      ```\n       In this scenario, because Ember does not have access to a global `document`\n      object in the Node.js environment, you must provide one explicitly. In practice,\n      in the non-browser environment, the stand-in `document` object only need to\n      implement a limited subset of the full DOM API. The `SimpleDOM` library is known\n      to work.\n       Since there is no access to jQuery in the non-browser environment, you must also\n      specify a DOM `Element` object in the same `document` for the `rootElement` option\n      (as opposed to a selector string like `\"body\"`).\n       See the documentation on the `isBrowser`, `document` and `rootElement` properties\n      on `Ember.ApplicationInstance.BootOptions` for details.\n       #### Server-Side Resource Discovery\n       This setup allows you to run the routing layer of your Ember app in a server\n      environment using Node.js and completely disable rendering. This allows you\n      to simulate and discover the resources (i.e. AJAX requests) needed to fufill\n      a given request and eagerly \"push\" these resources to the client.\n       ```app/initializers/network-service.js\n      import BrowserNetworkService from 'app/services/network/browser';\n      import NodeNetworkService from 'app/services/network/node';\n       // Inject a (hypothetical) service for abstracting all AJAX calls and use\n      // the appropiate implementaion on the client/server. This also allows the\n      // server to log all the AJAX calls made during a particular request and use\n      // that for resource-discovery purpose.\n       export function initialize(application) {\n        if (window) { // browser\n          application.register('service:network', BrowserNetworkService);\n        } else { // node\n          application.register('service:network', NodeNetworkService);\n        }\n         application.inject('route', 'network', 'service:network');\n      };\n       export default {\n        name: 'network-service',\n        initialize: initialize\n      };\n      ```\n       ```app/routes/post.js\n      import Ember from 'ember';\n       // An example of how the (hypothetical) service is used in routes.\n       export default Ember.Route.extend({\n        model(params) {\n          return this.network.fetch(`/api/posts/${params.post_id}.json`);\n        },\n         afterModel(post) {\n          if (post.isExternalContent) {\n            return this.network.fetch(`/api/external/?url=${post.externalURL}`);\n          } else {\n            return post;\n          }\n        }\n      });\n      ```\n       ```javascript\n      // Finally, put all the pieces together\n       function discoverResourcesFor(url) {\n        return MyApp.visit(url, { isBrowser: false, shouldRender: false }).then(instance => {\n          let networkService = instance.lookup('service:network');\n          return networkService.requests; // => { \"/api/posts/123.json\": \"...\" }\n        });\n      }\n      ```\n       @public\n      @method visit\n      @param url {String} The initial URL to navigate to\n      @param options {Ember.ApplicationInstance.BootOptions}\n      @return {Promise<Ember.ApplicationInstance, Error>}\n    */\n    visit: function (url, options) {\n      var _this = this;\n\n      return this.boot().then(function () {\n        var instance = _this.buildInstance();\n\n        return instance.boot(options).then(function () {\n          return instance.visit(url);\n        }).catch(function (error) {\n          _emberMetal.run(instance, 'destroy');\n          throw error;\n        });\n      });\n    }\n  });\n\n  Object.defineProperty(Application.prototype, 'registry', {\n    configurable: true,\n    enumerable: false,\n    get: function () {\n      return _emberRuntime.buildFakeRegistryWithDeprecations(this, 'Application');\n    }\n  });\n\n  Application.reopenClass({\n    /**\n      This creates a registry with the default Ember naming conventions.\n       It also configures the registry:\n       * registered views are created every time they are looked up (they are\n        not singletons)\n      * registered templates are not factories; the registered value is\n        returned directly.\n      * the router receives the application as its `namespace` property\n      * all controllers receive the router as their `target` and `controllers`\n        properties\n      * all controllers receive the application as their `namespace` property\n      * the application view receives the application controller as its\n        `controller` property\n      * the application view receives the application template as its\n        `defaultTemplate` property\n       @method buildRegistry\n      @static\n      @param {Ember.Application} namespace the application for which to\n        build the registry\n      @return {Ember.Registry} the built registry\n      @private\n    */\n    buildRegistry: function (application) {\n      var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n      var registry = this._super.apply(this, arguments);\n\n      commonSetupRegistry(registry);\n\n      _emberGlimmer.setupApplicationRegistry(registry);\n\n      return registry;\n    }\n  });\n\n  function commonSetupRegistry(registry) {\n    registry.register('-view-registry:main', { create: function () {\n        return _emberUtils.dictionary(null);\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(_container.privatize(_templateObject), _emberRouting.BucketCache);\n\n    if (false) {\n      registry.register('service:router', _emberRouting.RouterService);\n      registry.injection('service:router', 'router', 'router:main');\n    }\n  }\n\n  function registerLibraries() {\n    if (!librariesRegistered) {\n      librariesRegistered = true;\n\n      if (_emberEnvironment.environment.hasDOM && typeof _emberViews.jQuery === 'function') {\n        _emberMetal.libraries.registerCoreLibrary('jQuery', _emberViews.jQuery().jquery);\n      }\n    }\n  }\n\n  function logLibraryVersions() {\n    var _this2 = this;\n\n    _emberDebug.runInDebug(function () {\n      if (_emberEnvironment.ENV.LOG_VERSION) {\n        // we only need to see this once per Application#init\n        _emberEnvironment.ENV.LOG_VERSION = false;\n        var libs = _emberMetal.libraries._registry;\n\n        var nameLengths = libs.map(function (item) {\n          return _emberMetal.get(item, 'name.length');\n        });\n\n        var maxNameLength = Math.max.apply(_this2, nameLengths);\n\n        _emberDebug.debug('-------------------------------');\n        for (var i = 0; i < libs.length; i++) {\n          var lib = libs[i];\n          var spaces = new Array(maxNameLength - lib.name.length + 1).join(' ');\n          _emberDebug.debug([lib.name, spaces, ' : ', lib.version].join(''));\n        }\n        _emberDebug.debug('-------------------------------');\n      }\n    });\n  }\n\n  exports.default = Application;\n});\nenifed('ember-application/system/engine-instance', ['exports', 'ember-utils', 'ember-runtime', 'ember-debug', 'ember-metal', 'container', 'ember-application/system/engine-parent'], function (exports, _emberUtils, _emberRuntime, _emberDebug, _emberMetal, _container, _emberApplicationSystemEngineParent) {\n  /**\n  @module ember\n  @submodule ember-application\n  */\n\n  'use strict';\n\n  var _EmberObject$extend;\n\n  var _templateObject = babelHelpers.taggedTemplateLiteralLoose(['-bucket-cache:main'], ['-bucket-cache:main']);\n\n  /**\n    The `EngineInstance` encapsulates all of the stateful aspects of a\n    running `Engine`.\n  \n    @public\n    @class Ember.EngineInstance\n    @extends Ember.Object\n    @uses RegistryProxyMixin\n    @uses ContainerProxyMixin\n  */\n\n  var EngineInstance = _emberRuntime.Object.extend(_emberRuntime.RegistryProxyMixin, _emberRuntime.ContainerProxyMixin, (_EmberObject$extend = {\n    /**\n      The base `Engine` for which this is an instance.\n       @property {Ember.Engine} engine\n      @private\n    */\n    base: null,\n\n    init: function () {\n      this._super.apply(this, arguments);\n\n      _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\n    /**\n      Initialize the `Ember.EngineInstance` and return a promise that resolves\n      with the instance itself when the boot process is complete.\n       The primary task here is to run any registered instance initializers.\n       See the documentation on `BootOptions` for the options it takes.\n       @private\n      @method boot\n      @param options {Object}\n      @return {Promise<Ember.EngineInstance,Error>}\n    */\n    boot: function (options) {\n      var _this = this;\n\n      if (this._bootPromise) {\n        return this._bootPromise;\n      }\n\n      this._bootPromise = new _emberRuntime.RSVP.Promise(function (resolve) {\n        return resolve(_this._bootSync(options));\n      });\n\n      return this._bootPromise;\n    },\n\n    /**\n      Unfortunately, a lot of existing code assumes booting an instance is\n      synchronous – specifically, a lot of tests assume the last call to\n      `app.advanceReadiness()` or `app.reset()` will result in a new instance\n      being fully-booted when the current runloop completes.\n       We would like new code (like the `visit` API) to stop making this\n      assumption, so we created the asynchronous version above that returns a\n      promise. But until we have migrated all the code, we would have to expose\n      this method for use *internally* in places where we need to boot an instance\n      synchronously.\n       @private\n    */\n    _bootSync: function (options) {\n      if (this._booted) {\n        return this;\n      }\n\n      _emberDebug.assert('An engine instance\\'s parent must be set via `setEngineParent(engine, parent)` prior to calling `engine.boot()`.', _emberApplicationSystemEngineParent.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\n    setupRegistry: function () {\n      var options = arguments.length <= 0 || arguments[0] === undefined ? this.__container__.lookup('-environment:main') : arguments[0];\n\n      this.constructor.setupRegistry(this.__registry__, options);\n    },\n\n    /**\n     Unregister a factory.\n      Overrides `RegistryProxy#unregister` in order to clear any cached instances\n     of the unregistered factory.\n      @public\n     @method unregister\n     @param {String} fullName\n     */\n    unregister: function (fullName) {\n      this.__container__.reset(fullName);\n      this._super.apply(this, arguments);\n    },\n\n    /**\n      Build a new `Ember.EngineInstance` that's a child of this instance.\n       Engines must be registered by name with their parent engine\n      (or application).\n       @private\n      @method buildChildEngineInstance\n      @param name {String} the registered name of the engine.\n      @param options {Object} options provided to the engine instance.\n      @return {Ember.EngineInstance,Error}\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 _emberDebug.Error('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      _emberApplicationSystemEngineParent.setEngineParent(engineInstance, this);\n\n      return engineInstance;\n    },\n\n    /**\n      Clone dependencies shared between an engine instance and its parent.\n       @private\n      @method cloneParentDependencies\n    */\n    cloneParentDependencies: function () {\n      var _this2 = this;\n\n      var parent = _emberApplicationSystemEngineParent.getEngineParent(this);\n\n      var registrations = ['route:basic', 'event_dispatcher:main', 'service:-routing', 'service:-glimmer-environment'];\n\n      registrations.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', _container.privatize(_templateObject), '-view-registry:main', 'renderer:-' + (env.isInteractive ? 'dom' : 'inert'), 'service:-document'];\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  }, _EmberObject$extend[_container.FACTORY_FOR] = function (fullName, options) {\n    return this.__container__[_container.FACTORY_FOR](fullName, options);\n  }, _EmberObject$extend[_container.LOOKUP_FACTORY] = function (fullName, options) {\n    return this.__container__[_container.LOOKUP_FACTORY](fullName, options);\n  }, _EmberObject$extend));\n\n  EngineInstance.reopenClass({\n    /**\n     @private\n     @method setupRegistry\n     @param {Registry} registry\n     @param {BootOptions} options\n     */\n    setupRegistry: function (registry, options) {\n      // when no options/environment is present, do nothing\n      if (!options) {\n        return;\n      }\n\n      registry.injection('view', '_environment', '-environment:main');\n      registry.injection('route', '_environment', '-environment:main');\n\n      if (options.isInteractive) {\n        registry.injection('view', 'renderer', 'renderer:-dom');\n        registry.injection('component', 'renderer', 'renderer:-dom');\n      } else {\n        registry.injection('view', 'renderer', 'renderer:-inert');\n        registry.injection('component', 'renderer', 'renderer:-inert');\n      }\n    }\n  });\n\n  exports.default = EngineInstance;\n});\nenifed('ember-application/system/engine-parent', ['exports', 'ember-utils'], function (exports, _emberUtils) {\n  'use strict';\n\n  exports.getEngineParent = getEngineParent;\n  exports.setEngineParent = setEngineParent;\n  var ENGINE_PARENT = _emberUtils.symbol('ENGINE_PARENT');\n\n  exports.ENGINE_PARENT = ENGINE_PARENT;\n  /**\n    `getEngineParent` retrieves an engine instance's parent instance.\n  \n    @method getEngineParent\n    @param {EngineInstance} engine An engine instance.\n    @return {EngineInstance} The parent engine instance.\n    @for Ember\n    @public\n  */\n\n  function getEngineParent(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  function setEngineParent(engine, parent) {\n    engine[ENGINE_PARENT] = parent;\n  }\n});\nenifed('ember-application/system/engine', ['exports', 'ember-utils', 'ember-runtime', 'container', 'dag-map', 'ember-debug', 'ember-metal', 'ember-application/system/resolver', 'ember-application/system/engine-instance', 'ember-routing', 'ember-extension-support', 'ember-views', 'ember-glimmer'], function (exports, _emberUtils, _emberRuntime, _container, _dagMap, _emberDebug, _emberMetal, _emberApplicationSystemResolver, _emberApplicationSystemEngineInstance, _emberRouting, _emberExtensionSupport, _emberViews, _emberGlimmer) {\n  /**\n  @module ember\n  @submodule ember-application\n  */\n  'use strict';\n\n  var _templateObject = babelHelpers.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    @namespace Ember\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    /**\n      Ensure that initializers are run once, and only once, per engine.\n       @private\n      @method ensureInitializers\n    */\n    ensureInitializers: function () {\n      if (!this._initializersRan) {\n        this.runInitializers();\n        this._initializersRan = true;\n      }\n    },\n\n    /**\n      Create an EngineInstance for this engine.\n       @private\n      @method buildInstance\n      @return {Ember.EngineInstance} the engine instance\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 _emberApplicationSystemEngineInstance.default.create(options);\n    },\n\n    /**\n      Build and configure the registry for the current engine.\n       @private\n      @method buildRegistry\n      @return {Ember.Registry} the configured registry\n    */\n    buildRegistry: function () {\n      var registry = this.__registry__ = this.constructor.buildRegistry(this);\n\n      return registry;\n    },\n\n    /**\n      @private\n      @method initializer\n    */\n    initializer: function (options) {\n      this.constructor.initializer(options);\n    },\n\n    /**\n      @private\n      @method instanceInitializer\n    */\n    instanceInitializer: function (options) {\n      this.constructor.instanceInitializer(options);\n    },\n\n    /**\n      @private\n      @method runInitializers\n    */\n    runInitializers: function () {\n      var _this = this;\n\n      this._runInitializer('initializers', function (name, initializer) {\n        _emberDebug.assert('No application initializer named \\'' + name + '\\'', !!initializer);\n        if (initializer.initialize.length === 2) {\n          _emberDebug.deprecate('The `initialize` method for Application initializer \\'' + name + '\\' should take only one argument - `App`, an instance of an `Application`.', false, {\n            id: 'ember-application.app-initializer-initialize-arguments',\n            until: '3.0.0',\n            url: 'http://emberjs.com/deprecations/v2.x/#toc_initializer-arity'\n          });\n\n          initializer.initialize(_this.__registry__, _this);\n        } else {\n          initializer.initialize(_this);\n        }\n      });\n    },\n\n    /**\n      @private\n      @since 1.12.0\n      @method runInstanceInitializers\n    */\n    runInstanceInitializers: function (instance) {\n      this._runInitializer('instanceInitializers', function (name, initializer) {\n        _emberDebug.assert('No instance initializer named \\'' + name + '\\'', !!initializer);\n        initializer.initialize(instance);\n      });\n    },\n\n    _runInitializer: function (bucketName, cb) {\n      var initializersByName = _emberMetal.get(this.constructor, bucketName);\n      var initializers = props(initializersByName);\n      var graph = new _dagMap.default();\n      var initializer = undefined;\n\n      for (var i = 0; i < initializers.length; i++) {\n        initializer = initializersByName[initializers[i]];\n        graph.add(initializer.name, initializer, initializer.before, initializer.after);\n      }\n\n      graph.topsort(cb);\n    }\n  });\n\n  Engine.reopenClass({\n    initializers: Object.create(null),\n    instanceInitializers: Object.create(null),\n\n    /**\n      The goal of initializers should be to register dependencies and injections.\n      This phase runs once. Because these initializers may load code, they are\n      allowed to defer application readiness and advance it. If you need to access\n      the container or store you should use an InstanceInitializer that will be run\n      after all initializers and therefore after all code is loaded and the app is\n      ready.\n       Initializer receives an object which has the following attributes:\n      `name`, `before`, `after`, `initialize`. The only required attribute is\n      `initialize`, all others are optional.\n       * `name` allows you to specify under which name the initializer is registered.\n      This must be a unique name, as trying to register two initializers with the\n      same name will result in an error.\n       ```javascript\n      Ember.Application.initializer({\n        name: 'namedInitializer',\n         initialize: function(application) {\n          Ember.debug('Running namedInitializer!');\n        }\n      });\n      ```\n       * `before` and `after` are used to ensure that this initializer is ran prior\n      or after the one identified by the value. This value can be a single string\n      or an array of strings, referencing the `name` of other initializers.\n       An example of ordering initializers, we create an initializer named `first`:\n       ```javascript\n      Ember.Application.initializer({\n        name: 'first',\n         initialize: function(application) {\n          Ember.debug('First initializer!');\n        }\n      });\n       // DEBUG: First initializer!\n      ```\n       We add another initializer named `second`, specifying that it should run\n      after the initializer named `first`:\n       ```javascript\n      Ember.Application.initializer({\n        name: 'second',\n        after: 'first',\n         initialize: function(application) {\n          Ember.debug('Second initializer!');\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       ```javascript\n      Ember.Application.initializer({\n        name: 'pre',\n        before: 'first',\n         initialize: function(application) {\n          Ember.debug('Pre initializer!');\n        }\n      });\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       ```javascript\n      Ember.Application.initializer({\n        name: 'post',\n        after: ['first', 'second'],\n         initialize: function(application) {\n          Ember.debug('Post initializer!');\n        }\n      });\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       ```javascript\n      Ember.Application.initializer({\n        name: 'api-adapter',\n         initialize: function(application) {\n          application.register('api-adapter:main', ApiAdapter);\n        }\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       ```javascript\n      Ember.Application.instanceInitializer({\n        name: 'namedinstanceInitializer',\n         initialize: function(application) {\n          Ember.debug('Running namedInitializer!');\n        }\n      });\n      ```\n       * `before` and `after` are used to ensure that this initializer is ran prior\n      or after the one identified by the value. This value can be a single string\n      or an array of strings, referencing the `name` of other initializers.\n       * See Ember.Application.initializer for discussion on the usage of before\n      and after.\n       Example instanceInitializer to preload data into the store.\n       ```javascript\n      Ember.Application.initializer({\n        name: 'preload-data',\n         initialize: function(application) {\n          var userConfig, userConfigEncoded, store;\n          // We have a HTML escaped JSON representation of the user's basic\n          // configuration generated server side and stored in the DOM of the main\n          // index.html file. This allows the app to have access to a set of data\n          // without making any additional remote calls. Good for basic data that is\n          // needed for immediate rendering of the page. Keep in mind, this data,\n          // like all local models and data can be manipulated by the user, so it\n          // should not be relied upon for security or authorization.\n          //\n          // Grab the encoded data from the meta tag\n          userConfigEncoded = Ember.$('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      });\n      ```\n       @method instanceInitializer\n      @param instanceInitializer\n      @public\n    */\n    instanceInitializer: buildInitializerMethod('instanceInitializers', 'instance initializer'),\n\n    /**\n      This creates a registry with the default Ember naming conventions.\n       It also configures the registry:\n       * registered views are created every time they are looked up (they are\n        not singletons)\n      * registered templates are not factories; the registered value is\n        returned directly.\n      * the router receives the application as its `namespace` property\n      * all controllers receive the router as their `target` and `controllers`\n        properties\n      * all controllers receive the application as their `namespace` property\n      * the application view receives the application controller as its\n        `controller` property\n      * the application view receives the application template as its\n        `defaultTemplate` property\n       @method buildRegistry\n      @static\n      @param {Ember.Application} namespace the application for which to\n        build the registry\n      @return {Ember.Registry} the built registry\n      @private\n    */\n    buildRegistry: function (namespace) {\n      var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\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      _emberGlimmer.setupEngineRegistry(registry);\n\n      return registry;\n    },\n\n    /**\n      Set this to provide an alternate class to `Ember.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 `Ember.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 = namespace.get('Resolver') || _emberApplicationSystemResolver.default;\n\n    return ResolverClass.create({\n      namespace: namespace\n    });\n  }\n\n  function buildInitializerMethod(bucketName, humanName) {\n    return function (initializer) {\n      // If this is the first initializer being added to a subclass, we are going to reopen the class\n      // to make sure we have a new `initializers` object, which extends from the parent class' using\n      // prototypal inheritance. Without this, attempting to add initializers to the subclass would\n      // pollute the parent class as well as other subclasses.\n      if (this.superclass[bucketName] !== undefined && this.superclass[bucketName] === this[bucketName]) {\n        var attrs = {};\n        attrs[bucketName] = Object.create(this[bucketName]);\n        this.reopenClass(attrs);\n      }\n\n      _emberDebug.assert('The ' + humanName + ' \\'' + initializer.name + '\\' has already been registered', !this[bucketName][initializer.name]);\n      _emberDebug.assert('An ' + humanName + ' cannot be registered without an initialize function', _emberUtils.canInvoke(initializer, 'initialize'));\n      _emberDebug.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', _emberRuntime.Controller, { 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', _container.privatize(_templateObject));\n    registry.injection('route', '_bucketCache', _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, { instantiate: false });\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});\nenifed('ember-application/system/resolver', ['exports', 'ember-utils', 'ember-metal', 'ember-debug', 'ember-runtime', 'ember-application/utils/validate-type', 'ember-glimmer'], function (exports, _emberUtils, _emberMetal, _emberDebug, _emberRuntime, _emberApplicationUtilsValidateType, _emberGlimmer) {\n  /**\n  @module ember\n  @submodule ember-application\n  */\n\n  'use strict';\n\n  var Resolver = _emberRuntime.Object.extend({\n    /*\n      This will be set to the Application instance when it is\n      created.\n       @property namespace\n    */\n    namespace: null,\n    normalize: null, // required\n    resolve: null, // required\n    parseName: null, // required\n    lookupDescription: null, // required\n    makeToString: null, // required\n    resolveOther: null, // required\n    _logLookup: null // required\n  });\n\n  exports.Resolver = Resolver;\n  /**\n    The DefaultResolver defines the default lookup rules to resolve\n    container lookups before consulting the container for registered\n    items:\n  \n    * templates are looked up on `Ember.TEMPLATES`\n    * other names are looked up on the application after converting\n      the name. For example, `controller:post` looks up\n      `App.PostController` by default.\n    * there are some nuances (see examples below)\n  \n    ### How Resolving Works\n  \n    The container calls this object's `resolve` method with the\n    `fullName` argument.\n  \n    It first parses the fullName into an object using `parseName`.\n  \n    Then it checks for the presence of a type-specific instance\n    method of the form `resolve[Type]` and calls it if it exists.\n    For example if it was resolving 'template:post', it would call\n    the `resolveTemplate` method.\n  \n    Its last resort is to call the `resolveOther` method.\n  \n    The methods of this object are designed to be easy to override\n    in a subclass. For example, you could enhance how a template\n    is resolved like so:\n  \n    ```javascript\n    App = Ember.Application.create({\n      Resolver: Ember.DefaultResolver.extend({\n        resolveTemplate: function(parsedName) {\n          let resolvedTemplate = this._super(parsedName);\n          if (resolvedTemplate) { return resolvedTemplate; }\n          return Ember.TEMPLATES['not_found'];\n        }\n      })\n    });\n    ```\n  \n    Some examples of how names are resolved:\n  \n    ```\n    'template:post'           //=> Ember.TEMPLATES['post']\n    'template:posts/byline'   //=> Ember.TEMPLATES['posts/byline']\n    'template:posts.byline'   //=> Ember.TEMPLATES['posts/byline']\n    'template:blogPost'       //=> Ember.TEMPLATES['blogPost']\n                              //   OR\n                              //   Ember.TEMPLATES['blog_post']\n    'controller:post'         //=> App.PostController\n    'controller:posts.index'  //=> App.PostsIndexController\n    'controller:blog/post'    //=> Blog.PostController\n    'controller:basic'        //=> Ember.Controller\n    'route:post'              //=> App.PostRoute\n    'route:posts.index'       //=> App.PostsIndexRoute\n    'route:blog/post'         //=> Blog.PostRoute\n    'route:basic'             //=> Ember.Route\n    'view:post'               //=> App.PostView\n    'view:posts.index'        //=> App.PostsIndexView\n    'view:blog/post'          //=> Blog.PostView\n    'view:basic'              //=> Ember.View\n    'foo:post'                //=> App.PostFoo\n    'model:post'              //=> App.Post\n    ```\n  \n    @class DefaultResolver\n    @namespace Ember\n    @extends Ember.Object\n    @public\n  */\n\n  exports.default = _emberRuntime.Object.extend({\n    /**\n      This will be set to the Application instance when it is\n      created.\n       @property namespace\n      @public\n    */\n    namespace: null,\n\n    init: function () {\n      this._parseNameCache = _emberUtils.dictionary(null);\n    },\n    normalize: function (fullName) {\n      var _fullName$split = fullName.split(':', 2);\n\n      var type = _fullName$split[0];\n      var name = _fullName$split[1];\n\n      _emberDebug.assert('Tried to normalize a container name without a colon (:) in it. ' + 'You probably tried to lookup a name that did not contain a type, ' + 'a colon, and a name. A proper lookup name would be `view:post`.', fullName.split(':').length === 2);\n\n      if (type !== 'template') {\n        var result = name;\n\n        if (result.indexOf('.') > -1) {\n          result = result.replace(/\\.(.)/g, function (m) {\n            return m.charAt(1).toUpperCase();\n          });\n        }\n\n        if (name.indexOf('_') > -1) {\n          result = result.replace(/_(.)/g, function (m) {\n            return m.charAt(1).toUpperCase();\n          });\n        }\n\n        if (name.indexOf('-') > -1) {\n          result = result.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    /**\n      This method is called via the container's resolver method.\n      It parses the provided `fullName` and then looks up and\n      returns the appropriate template or class.\n       @method resolve\n      @param {String} fullName the lookup string\n      @return {Object} the resolved factory\n      @public\n    */\n    resolve: function (fullName) {\n      var _this = this;\n\n      var parsedName = this.parseName(fullName);\n      var resolveMethodName = parsedName.resolveMethodName;\n      var resolved = undefined;\n\n      if (this[resolveMethodName]) {\n        resolved = this[resolveMethodName](parsedName);\n      }\n\n      resolved = resolved || this.resolveOther(parsedName);\n\n      _emberDebug.runInDebug(function () {\n        if (parsedName.root && parsedName.root.LOG_RESOLVER) {\n          _this._logLookup(resolved, parsedName);\n        }\n      });\n\n      if (resolved) {\n        _emberApplicationUtilsValidateType.default(resolved, parsedName);\n      }\n\n      return resolved;\n    },\n\n    /**\n      Convert the string name of the form 'type:name' to\n      a Javascript object with the parsed aspects of the name\n      broken out.\n       @param {String} fullName the lookup string\n      @method parseName\n      @protected\n    */\n\n    parseName: function (fullName) {\n      return this._parseNameCache[fullName] || (this._parseNameCache[fullName] = this._parseName(fullName));\n    },\n\n    _parseName: function (fullName) {\n      var _fullName$split2 = fullName.split(':');\n\n      var type = _fullName$split2[0];\n      var fullNameWithoutType = _fullName$split2[1];\n\n      var name = fullNameWithoutType;\n      var namespace = _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        var parts = name.split('/');\n        name = parts[parts.length - 1];\n        var namespaceName = _emberRuntime.String.capitalize(parts.slice(0, -1).join('.'));\n        root = _emberRuntime.Namespace.byName(namespaceName);\n\n        _emberDebug.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' : _emberRuntime.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    /**\n      Returns a human-readable description for a fullName. Used by the\n      Application namespace in assertions to describe the\n      precise name of the class that Ember is looking for, rather than\n      container keys.\n       @param {String} fullName the lookup string\n      @method lookupDescription\n      @protected\n    */\n    lookupDescription: function (fullName) {\n      var parsedName = this.parseName(fullName);\n      var description = undefined;\n\n      if (parsedName.type === 'template') {\n        return 'template at ' + parsedName.fullNameWithoutType.replace(/\\./g, '/');\n      }\n\n      description = parsedName.root + '.' + _emberRuntime.String.classify(parsedName.name).replace(/\\./g, '');\n\n      if (parsedName.type !== 'model') {\n        description += _emberRuntime.String.classify(parsedName.type);\n      }\n\n      return description;\n    },\n\n    makeToString: function (factory, fullName) {\n      return factory.toString();\n    },\n\n    /**\n      Given a parseName object (output from `parseName`), apply\n      the conventions expected by `Ember.Router`\n       @param {Object} parsedName a parseName object with the parsed\n        fullName lookup string\n      @method useRouterNaming\n      @protected\n    */\n    useRouterNaming: function (parsedName) {\n      parsedName.name = parsedName.name.replace(/\\./g, '_');\n      if (parsedName.name === 'basic') {\n        parsedName.name = '';\n      }\n    },\n    /**\n      Look up the template in Ember.TEMPLATES\n       @param {Object} parsedName a parseName object with the parsed\n        fullName lookup string\n      @method resolveTemplate\n      @protected\n    */\n    resolveTemplate: function (parsedName) {\n      var templateName = parsedName.fullNameWithoutType.replace(/\\./g, '/');\n\n      return _emberGlimmer.getTemplate(templateName) || _emberGlimmer.getTemplate(_emberRuntime.String.decamelize(templateName));\n    },\n\n    /**\n      Lookup the view using `resolveOther`\n       @param {Object} parsedName a parseName object with the parsed\n        fullName lookup string\n      @method resolveView\n      @protected\n    */\n    resolveView: function (parsedName) {\n      this.useRouterNaming(parsedName);\n      return this.resolveOther(parsedName);\n    },\n\n    /**\n      Lookup the controller using `resolveOther`\n       @param {Object} parsedName a parseName object with the parsed\n        fullName lookup string\n      @method resolveController\n      @protected\n    */\n    resolveController: function (parsedName) {\n      this.useRouterNaming(parsedName);\n      return this.resolveOther(parsedName);\n    },\n    /**\n      Lookup the route using `resolveOther`\n       @param {Object} parsedName a parseName object with the parsed\n        fullName lookup string\n      @method resolveRoute\n      @protected\n    */\n    resolveRoute: function (parsedName) {\n      this.useRouterNaming(parsedName);\n      return this.resolveOther(parsedName);\n    },\n\n    /**\n      Lookup the model on the Application namespace\n       @param {Object} parsedName a parseName object with the parsed\n        fullName lookup string\n      @method resolveModel\n      @protected\n    */\n    resolveModel: function (parsedName) {\n      var className = _emberRuntime.String.classify(parsedName.name);\n      var factory = _emberMetal.get(parsedName.root, className);\n\n      return factory;\n    },\n    /**\n      Look up the specified object (from parsedName) on the appropriate\n      namespace (usually on the Application)\n       @param {Object} parsedName a parseName object with the parsed\n        fullName lookup string\n      @method resolveHelper\n      @protected\n    */\n    resolveHelper: function (parsedName) {\n      return this.resolveOther(parsedName);\n    },\n    /**\n      Look up the specified object (from parsedName) on the appropriate\n      namespace (usually on the Application)\n       @param {Object} parsedName a parseName object with the parsed\n        fullName lookup string\n      @method resolveOther\n      @protected\n    */\n    resolveOther: function (parsedName) {\n      var className = _emberRuntime.String.classify(parsedName.name) + _emberRuntime.String.classify(parsedName.type);\n      var factory = _emberMetal.get(parsedName.root, className);\n      return factory;\n    },\n\n    resolveMain: function (parsedName) {\n      var className = _emberRuntime.String.classify(parsedName.type);\n      return _emberMetal.get(parsedName.root, className);\n    },\n\n    /**\n     @method _logLookup\n     @param {Boolean} found\n     @param {Object} parsedName\n     @private\n    */\n    _logLookup: function (found, parsedName) {\n      var symbol = undefined,\n          padding = undefined;\n\n      if (found) {\n        symbol = '[✓]';\n      } else {\n        symbol = '[ ]';\n      }\n\n      if (parsedName.fullName.length > 60) {\n        padding = '.';\n      } else {\n        padding = new Array(60 - parsedName.fullName.length).join('.');\n      }\n\n      _emberDebug.info(symbol, parsedName.fullName, padding, this.lookupDescription(parsedName.fullName));\n    },\n\n    /**\n     Used to iterate all items of a given type.\n      @method knownForType\n     @param {String} type the type to search for\n     @private\n     */\n    knownForType: function (type) {\n      var namespace = _emberMetal.get(this, 'namespace');\n      var suffix = _emberRuntime.String.classify(type);\n      var typeRegexp = new RegExp(suffix + '$');\n\n      var known = _emberUtils.dictionary(null);\n      var knownKeys = Object.keys(namespace);\n      for (var index = 0; index < knownKeys.length; index++) {\n        var _name = knownKeys[index];\n\n        if (typeRegexp.test(_name)) {\n          var containerName = this.translateToContainerFullname(type, _name);\n\n          known[containerName] = true;\n        }\n      }\n\n      return known;\n    },\n\n    /**\n     Converts provided name from the backing namespace into a container lookup name.\n      Examples:\n      App.FooBarHelper -> helper:foo-bar\n     App.THelper -> helper:t\n      @method translateToContainerFullname\n     @param {String} type\n     @param {String} name\n     @private\n     */\n\n    translateToContainerFullname: function (type, name) {\n      var suffix = _emberRuntime.String.classify(type);\n      var namePrefix = name.slice(0, suffix.length * -1);\n      var dasherizedName = _emberRuntime.String.dasherize(namePrefix);\n\n      return type + ':' + dasherizedName;\n    }\n  });\n});\nenifed('ember-application/utils/validate-type', ['exports', 'ember-debug'], function (exports, _emberDebug) {\n  /**\n  @module ember\n  @submodule ember-application\n  */\n\n  'use strict';\n\n  exports.default = validateType;\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\n  function validateType(resolvedType, parsedName) {\n    var validationAttributes = VALIDATED_TYPES[parsedName.type];\n\n    if (!validationAttributes) {\n      return;\n    }\n\n    var action = validationAttributes[0];\n    var factoryFlag = validationAttributes[1];\n    var expectedType = validationAttributes[2];\n\n    if (action === 'deprecate') {\n      _emberDebug.deprecate('In Ember 2.0 ' + parsedName.type + ' factories must have an `' + factoryFlag + '` ' + ('property set to true. You registered ' + resolvedType + ' as a ' + parsedName.type + ' ') + ('factory. Either add the `' + factoryFlag + '` property to this factory or ') + ('extend from ' + expectedType + '.'), !!resolvedType[factoryFlag], { id: 'ember-application.validate-type', until: '3.0.0' });\n    } else {\n      _emberDebug.assert('Expected ' + parsedName.fullName + ' to resolve to an ' + expectedType + ' but ' + ('instead it was ' + resolvedType + '.'), !!resolvedType[factoryFlag]);\n    }\n  }\n});\nenifed('ember-console/index', ['exports', 'ember-environment'], function (exports, _emberEnvironment) {\n  'use strict';\n\n  function K() {}\n\n  function consoleMethod(name) {\n    var consoleObj = undefined;\n    if (_emberEnvironment.context.imports.console) {\n      consoleObj = _emberEnvironment.context.imports.console;\n    } else if (typeof console !== 'undefined') {\n      consoleObj = console;\n    }\n\n    var method = typeof consoleObj === 'object' ? consoleObj[name] : null;\n\n    if (typeof method !== 'function') {\n      return;\n    }\n\n    if (typeof method.bind === 'function') {\n      return method.bind(consoleObj);\n    }\n\n    return function () {\n      method.apply(consoleObj, arguments);\n    };\n  }\n\n  function assertPolyfill(test, message) {\n    if (!test) {\n      try {\n        // attempt to preserve the stack\n        throw new Error('assertion failed: ' + message);\n      } catch (error) {\n        setTimeout(function () {\n          throw error;\n        }, 0);\n      }\n    }\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    @namespace Ember\n    @public\n  */\n  exports.default = {\n    /**\n     Logs the arguments to the console.\n     You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      var foo = 1;\n      Ember.Logger.log('log value of foo:', foo);\n      // \"log value of foo: 1\" will be printed to the console\n      ```\n      @method log\n     @for Ember.Logger\n     @param {*} arguments\n     @public\n    */\n    log: consoleMethod('log') || K,\n\n    /**\n     Prints the arguments to the console with a warning icon.\n     You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      Ember.Logger.warn('Something happened!');\n      // \"Something happened!\" will be printed to the console with a warning icon.\n      ```\n      @method warn\n     @for Ember.Logger\n     @param {*} arguments\n     @public\n    */\n    warn: consoleMethod('warn') || K,\n\n    /**\n     Prints the arguments to the console with an error icon, red text and a stack trace.\n     You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      Ember.Logger.error('Danger! Danger!');\n      // \"Danger! Danger!\" will be printed to the console in red text.\n      ```\n      @method error\n     @for Ember.Logger\n     @param {*} arguments\n     @public\n    */\n    error: consoleMethod('error') || K,\n\n    /**\n     Logs the arguments to the console.\n     You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      var foo = 1;\n      Ember.Logger.info('log value of foo:', foo);\n      // \"log value of foo: 1\" will be printed to the console\n      ```\n      @method info\n     @for Ember.Logger\n     @param {*} arguments\n     @public\n    */\n    info: consoleMethod('info') || K,\n\n    /**\n     Logs the arguments to the console in blue text.\n     You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      var foo = 1;\n      Ember.Logger.debug('log value of foo:', foo);\n      // \"log value of foo: 1\" will be printed to the console\n      ```\n      @method debug\n     @for Ember.Logger\n     @param {*} arguments\n     @public\n    */\n    debug: consoleMethod('debug') || consoleMethod('info') || K,\n\n    /**\n     If the value passed into `Ember.Logger.assert` is not truthy it will throw an error with a stack trace.\n       ```javascript\n      Ember.Logger.assert(true); // undefined\n      Ember.Logger.assert(true === false); // Throws an Assertion failed error.\n      Ember.Logger.assert(true === false, 'Something invalid'); // Throws an Assertion failed error with message.\n      ```\n      @method assert\n     @for Ember.Logger\n     @param {Boolean} bool Value to test\n     @param {String} message Assertion message on failed\n     @public\n    */\n    assert: consoleMethod('assert') || assertPolyfill\n  };\n});\nenifed('ember-debug/deprecate', ['exports', 'ember-debug/error', 'ember-console', 'ember-environment', 'ember-debug/handlers'], function (exports, _emberDebugError, _emberConsole, _emberEnvironment, _emberDebugHandlers) {\n  /*global __fail__*/\n\n  'use strict';\n\n  exports.registerHandler = registerHandler;\n  exports.default = deprecate;\n\n  /**\n    Allows for runtime registration of handler functions that override the default deprecation behavior.\n    Deprecations are invoked by calls to [Ember.deprecate](http://emberjs.com/api/classes/Ember.html#method_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    Ember.Debug.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    @param handler {Function} A function to handle deprecation calls.\n    @since 2.1.0\n  */\n\n  function registerHandler(handler) {\n    _emberDebugHandlers.registerHandler('deprecate', handler);\n  }\n\n  function formatMessage(_message, options) {\n    var message = _message;\n\n    if (options && options.id) {\n      message = message + (' [deprecation id: ' + options.id + ']');\n    }\n\n    if (options && options.url) {\n      message += ' See ' + options.url + ' for more details.';\n    }\n\n    return message;\n  }\n\n  registerHandler(function logDeprecationToConsole(message, options) {\n    var updatedMessage = formatMessage(message, options);\n\n    _emberConsole.default.warn('DEPRECATION: ' + updatedMessage);\n  });\n\n  var captureErrorForStack = undefined;\n\n  if (new Error().stack) {\n    captureErrorForStack = function () {\n      return new Error();\n    };\n  } else {\n    captureErrorForStack = function () {\n      try {\n        __fail__.fail();\n      } catch (e) {\n        return e;\n      }\n    };\n  }\n\n  registerHandler(function logDeprecationStackTrace(message, options, next) {\n    if (_emberEnvironment.ENV.LOG_STACKTRACE_ON_DEPRECATION) {\n      var stackStr = '';\n      var error = captureErrorForStack();\n      var stack = undefined;\n\n      if (error.stack) {\n        if (error['arguments']) {\n          // Chrome\n          stack = error.stack.replace(/^\\s+at\\s+/gm, '').replace(/^([^\\(]+?)([\\n$])/gm, '{anonymous}($1)$2').replace(/^Object.<anonymous>\\s*\\(([^\\)]+)\\)/gm, '{anonymous}($1)').split('\\n');\n          stack.shift();\n        } else {\n          // Firefox\n          stack = error.stack.replace(/(?:\\n@:0)?\\s+$/m, '').replace(/^\\(/gm, '{anonymous}(').split('\\n');\n        }\n\n        stackStr = '\\n    ' + stack.slice(2).join('\\n    ');\n      }\n\n      var updatedMessage = formatMessage(message, options);\n\n      _emberConsole.default.warn('DEPRECATION: ' + updatedMessage + stackStr);\n    } else {\n      next.apply(undefined, arguments);\n    }\n  });\n\n  registerHandler(function raiseOnDeprecation(message, options, next) {\n    if (_emberEnvironment.ENV.RAISE_ON_DEPRECATION) {\n      var updatedMessage = formatMessage(message);\n\n      throw new _emberDebugError.default(updatedMessage);\n    } else {\n      next.apply(undefined, arguments);\n    }\n  });\n\n  var missingOptionsDeprecation = 'When calling `Ember.deprecate` you ' + 'must provide an `options` hash as the third parameter.  ' + '`options` should include `id` and `until` properties.';\n  exports.missingOptionsDeprecation = missingOptionsDeprecation;\n  var missingOptionsIdDeprecation = 'When calling `Ember.deprecate` you must provide `id` in options.';\n  exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation;\n  var missingOptionsUntilDeprecation = 'When calling `Ember.deprecate` you must provide `until` in options.';\n\n  exports.missingOptionsUntilDeprecation = missingOptionsUntilDeprecation;\n  /**\n  @module ember\n  @submodule ember-debug\n  */\n\n  /**\n    Display a deprecation warning with the provided message and a stack trace\n    (Chrome and Firefox only).\n  \n    * In a production build, this method is defined as an empty function (NOP).\n    Uses of this method in Ember itself are stripped from the ember.prod.js build.\n  \n    @method deprecate\n    @param {String} message A description of the deprecation.\n    @param {Boolean} test A boolean. If falsy, the deprecation will be displayed.\n    @param {Object} options\n    @param {String} options.id A unique id for this deprecation. The id can be\n      used by Ember debugging tools to change the behavior (raise, log or silence)\n      for that specific deprecation. The id should be namespaced by dots, e.g.\n      \"view.helper.select\".\n    @param {string} options.until The version of Ember when this deprecation\n      warning will be removed.\n    @param {String} [options.url] An optional url to the transition guide on the\n      emberjs.com website.\n    @for Ember\n    @public\n    @since 1.0.0\n  */\n\n  function deprecate(message, test, options) {\n    if (!options || !options.id && !options.until) {\n      deprecate(missingOptionsDeprecation, false, {\n        id: 'ember-debug.deprecate-options-missing',\n        until: '3.0.0',\n        url: 'http://emberjs.com/deprecations/v2.x/#toc_ember-debug-function-options'\n      });\n    }\n\n    if (options && !options.id) {\n      deprecate(missingOptionsIdDeprecation, false, {\n        id: 'ember-debug.deprecate-id-missing',\n        until: '3.0.0',\n        url: 'http://emberjs.com/deprecations/v2.x/#toc_ember-debug-function-options'\n      });\n    }\n\n    if (options && !options.until) {\n      deprecate(missingOptionsUntilDeprecation, options && options.until, {\n        id: 'ember-debug.deprecate-until-missing',\n        until: '3.0.0',\n        url: 'http://emberjs.com/deprecations/v2.x/#toc_ember-debug-function-options'\n      });\n    }\n\n    _emberDebugHandlers.invoke.apply(undefined, ['deprecate'].concat(babelHelpers.slice.call(arguments)));\n  }\n});\nenifed(\"ember-debug/error\", [\"exports\"], function (exports) {\n\n  /**\n    A subclass of the JavaScript Error object for use in Ember.\n  \n    @class Error\n    @namespace Ember\n    @extends Error\n    @constructor\n    @public\n  */\n  \"use strict\";\n\n  var EmberError = (function (_Error) {\n    babelHelpers.inherits(EmberError, _Error);\n\n    function EmberError(message) {\n      babelHelpers.classCallCheck(this, EmberError);\n\n      _Error.call(this);\n\n      if (!(this instanceof EmberError)) {\n        return new EmberError(message);\n      }\n\n      var error = Error.call(this, message);\n\n      if (Error.captureStackTrace) {\n        Error.captureStackTrace(this, EmberError);\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;\n      this.name = error.name;\n      this.number = error.number;\n      this.code = error.code;\n    }\n\n    return EmberError;\n  })(Error);\n\n  exports.default = EmberError;\n});\nenifed('ember-debug/features', ['exports', 'ember-utils', 'ember-environment', 'ember/features'], function (exports, _emberUtils, _emberEnvironment, _emberFeatures) {\n  'use strict';\n\n  exports.default = isEnabled;\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 = _emberUtils.assign(_emberFeatures.default, _emberEnvironment.ENV.FEATURES);\n\n  exports.FEATURES = FEATURES;\n  /**\n    Determine whether the specified `feature` is enabled. Used by Ember's\n    build tools to exclude experimental features from beta/stable builds.\n  \n    You can define the following configuration options:\n  \n    * `EmberENV.ENABLE_OPTIONAL_FEATURES` - enable any features that have not been explicitly\n      enabled/disabled.\n  \n    @method isEnabled\n    @param {String} feature The feature to check\n    @return {Boolean}\n    @for Ember.FEATURES\n    @since 1.1.0\n    @public\n  */\n\n  function isEnabled(feature) {\n    var featureValue = FEATURES[feature];\n\n    if (featureValue === true || featureValue === false || featureValue === undefined) {\n      return featureValue;\n    } else if (_emberEnvironment.ENV.ENABLE_OPTIONAL_FEATURES) {\n      return true;\n    } else {\n      return false;\n    }\n  }\n\n  exports.DEFAULT_FEATURES = _emberFeatures.default;\n});\nenifed(\"ember-debug/handlers\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.registerHandler = registerHandler;\n  exports.invoke = invoke;\n  var HANDLERS = {};\n\n  exports.HANDLERS = HANDLERS;\n\n  function registerHandler(type, callback) {\n    var nextHandler = HANDLERS[type] || function () {};\n\n    HANDLERS[type] = function (message, options) {\n      callback(message, options, nextHandler);\n    };\n  }\n\n  function invoke(type, message, test, options) {\n    if (test) {\n      return;\n    }\n\n    var handlerForType = HANDLERS[type];\n\n    if (!handlerForType) {\n      return;\n    }\n\n    if (handlerForType) {\n      handlerForType(message, options);\n    }\n  }\n});\nenifed('ember-debug/index', ['exports', 'ember/features', 'ember-environment', 'ember-console', 'ember-debug/testing', 'ember-debug/error', 'ember-debug/features', 'ember-debug/deprecate', 'ember-debug/warn'], function (exports, _emberFeatures, _emberEnvironment, _emberConsole, _emberDebugTesting, _emberDebugError, _emberDebugFeatures, _emberDebugDeprecate, _emberDebugWarn) {\n  'use strict';\n\n  exports._warnIfUsingStrippedFeatureFlags = _warnIfUsingStrippedFeatureFlags;\n  exports.getDebugFunction = getDebugFunction;\n  exports.setDebugFunction = setDebugFunction;\n  exports.assert = assert;\n  exports.info = info;\n  exports.warn = warn;\n  exports.debug = debug;\n  exports.deprecate = deprecate;\n  exports.deprecateFunc = deprecateFunc;\n  exports.runInDebug = runInDebug;\n  exports.debugSeal = debugSeal;\n  exports.debugFreeze = debugFreeze;\n  exports.registerWarnHandler = _emberDebugWarn.registerHandler;\n  exports.registerDeprecationHandler = _emberDebugDeprecate.registerHandler;\n  exports.isFeatureEnabled = _emberDebugFeatures.default;\n  exports.FEATURES = _emberDebugFeatures.FEATURES;\n  exports.Error = _emberDebugError.default;\n  exports.isTesting = _emberDebugTesting.isTesting;\n  exports.setTesting = _emberDebugTesting.setTesting;\n  var debugFunctions = {\n    assert: function () {},\n    info: function () {},\n    warn: function () {},\n    debug: function () {},\n    deprecate: function () {},\n    deprecateFunc: function () {\n      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      return args[args.length - 1];\n    },\n    runInDebug: function () {},\n    debugSeal: function () {},\n    debugFreeze: function () {}\n  };\n\n  exports.debugFunctions = debugFunctions;\n  /**\n  @module ember\n  @submodule ember-debug\n  */\n\n  /**\n  @class Ember\n  @public\n  */\n\n  /**\n    Define an assertion that will throw an exception if the condition is not met.\n  \n    * In a production build, this method is defined as an empty function (NOP).\n    Uses of this method in Ember itself are stripped from the ember.prod.js build.\n  \n    ```javascript\n    // Test for truthiness\n    Ember.assert('Must pass a valid object', obj);\n  \n    // Fail unconditionally\n    Ember.assert('This code path should never be run');\n    ```\n  \n    @method assert\n    @param {String} desc A description of the assertion. This will become\n      the text of the Error thrown if the assertion fails.\n    @param {Boolean} test Must be truthy for the assertion to pass. If\n      falsy, an exception will be thrown.\n    @public\n    @since 1.0.0\n  */\n  setDebugFunction('assert', function assert(desc, test) {\n    if (!test) {\n      throw new _emberDebugError.default('Assertion Failed: ' + desc);\n    }\n  });\n\n  /**\n    Display a debug notice.\n  \n    * In a production build, this method is defined as an empty function (NOP).\n    Uses of this method in Ember itself are stripped from the ember.prod.js build.\n  \n    ```javascript\n    Ember.debug('I\\'m a debug notice!');\n    ```\n  \n    @method debug\n    @param {String} message A debug message to display.\n    @public\n  */\n  setDebugFunction('debug', function debug(message) {\n    _emberConsole.default.debug('DEBUG: ' + message);\n  });\n\n  /**\n    Display an info notice.\n  \n    * In a production build, this method is defined as an empty function (NOP).\n    Uses of this method in Ember itself are stripped from the ember.prod.js build.\n  \n    @method info\n    @private\n  */\n  setDebugFunction('info', function info() {\n    _emberConsole.default.info.apply(undefined, arguments);\n  });\n\n  /**\n    Alias an old, deprecated method with its new counterpart.\n  \n    Display a deprecation warning with the provided message and a stack trace\n    (Chrome and Firefox only) when the assigned method is called.\n  \n    * In a production build, this method is defined as an empty function (NOP).\n  \n    ```javascript\n    Ember.oldMethod = Ember.deprecateFunc('Please use the new, updated method', Ember.newMethod);\n    ```\n  \n    @method deprecateFunc\n    @param {String} message A description of the deprecation.\n    @param {Object} [options] The options object for Ember.deprecate.\n    @param {Function} func The new function called to replace its deprecated counterpart.\n    @return {Function} A new function that wraps the original function with a deprecation warning\n    @private\n  */\n  setDebugFunction('deprecateFunc', function deprecateFunc() {\n    for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n      args[_key2] = arguments[_key2];\n    }\n\n    if (args.length === 3) {\n      var _ret = (function () {\n        var message = args[0];\n        var options = args[1];\n        var func = args[2];\n\n        return {\n          v: function () {\n            deprecate(message, false, options);\n            return func.apply(this, arguments);\n          }\n        };\n      })();\n\n      if (typeof _ret === 'object') return _ret.v;\n    } else {\n      var _ret2 = (function () {\n        var message = args[0];\n        var func = args[1];\n\n        return {\n          v: function () {\n            deprecate(message);\n            return func.apply(this, arguments);\n          }\n        };\n      })();\n\n      if (typeof _ret2 === 'object') return _ret2.v;\n    }\n  });\n\n  /**\n    Run a function meant for debugging.\n  \n    * In a production build, this method is defined as an empty function (NOP).\n    Uses of this method in Ember itself are stripped from the ember.prod.js build.\n  \n    ```javascript\n    Ember.runInDebug(() => {\n      Ember.Component.reopen({\n        didInsertElement() {\n          console.log(\"I'm happy\");\n        }\n      });\n    });\n    ```\n  \n    @method runInDebug\n    @param {Function} func The function to be executed.\n    @since 1.5.0\n    @public\n  */\n  setDebugFunction('runInDebug', function runInDebug(func) {\n    func();\n  });\n\n  setDebugFunction('debugSeal', function debugSeal(obj) {\n    Object.seal(obj);\n  });\n\n  setDebugFunction('debugFreeze', function debugFreeze(obj) {\n    Object.freeze(obj);\n  });\n\n  setDebugFunction('deprecate', _emberDebugDeprecate.default);\n\n  setDebugFunction('warn', _emberDebugWarn.default);\n\n  /**\n    Will call `Ember.warn()` if ENABLE_OPTIONAL_FEATURES or\n    any specific FEATURES flag is truthy.\n  \n    This method is called automatically in debug canary builds.\n  \n    @private\n    @method _warnIfUsingStrippedFeatureFlags\n    @return {void}\n  */\n\n  function _warnIfUsingStrippedFeatureFlags(FEATURES, knownFeatures, featuresWereStripped) {\n    if (featuresWereStripped) {\n      warn('Ember.ENV.ENABLE_OPTIONAL_FEATURES is only available in canary builds.', !_emberEnvironment.ENV.ENABLE_OPTIONAL_FEATURES, { id: 'ember-debug.feature-flag-with-features-stripped' });\n\n      var keys = Object.keys(FEATURES || {});\n      for (var i = 0; i < keys.length; i++) {\n        var key = keys[i];\n        if (key === 'isEnabled' || !(key in knownFeatures)) {\n          continue;\n        }\n\n        warn('FEATURE[\"' + key + '\"] is set as enabled, but FEATURE flags are only available in canary builds.', !FEATURES[key], { id: 'ember-debug.feature-flag-with-features-stripped' });\n      }\n    }\n  }\n\n  if (!_emberDebugTesting.isTesting()) {\n    (function () {\n      // Complain if they're using FEATURE flags in builds other than canary\n      _emberDebugFeatures.FEATURES['features-stripped-test'] = true;\n      var featuresWereStripped = true;\n\n      if (false) {\n        featuresWereStripped = false;\n      }\n\n      delete _emberDebugFeatures.FEATURES['features-stripped-test'];\n      _warnIfUsingStrippedFeatureFlags(_emberEnvironment.ENV.FEATURES, _emberFeatures.default, featuresWereStripped);\n\n      // Inform the developer about the Ember Inspector if not installed.\n      var isFirefox = _emberEnvironment.environment.isFirefox;\n      var isChrome = _emberEnvironment.environment.isChrome;\n\n      if (typeof window !== 'undefined' && (isFirefox || isChrome) && window.addEventListener) {\n        window.addEventListener('load', function () {\n          if (document.documentElement && document.documentElement.dataset && !document.documentElement.dataset.emberExtension) {\n            var downloadURL = undefined;\n\n            if (isChrome) {\n              downloadURL = 'https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi';\n            } else if (isFirefox) {\n              downloadURL = 'https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/';\n            }\n\n            debug('For more advanced debugging, install the Ember Inspector from ' + downloadURL);\n          }\n        }, false);\n      }\n    })();\n  }\n\n  /*\n    We are transitioning away from `ember.js` to `ember.debug.js` to make\n    it much clearer that it is only for local development purposes.\n  \n    This flag value is changed by the tooling (by a simple string replacement)\n    so that if `ember.js` (which must be output for backwards compat reasons) is\n    used a nice helpful warning message will be printed out.\n  */\n  var runningNonEmberDebugJS = false;\n  exports.runningNonEmberDebugJS = runningNonEmberDebugJS;\n  if (runningNonEmberDebugJS) {\n    warn('Please use `ember.debug.js` instead of `ember.js` for development and debugging.');\n  }\n\n  function getDebugFunction(name) {\n    return debugFunctions[name];\n  }\n\n  function setDebugFunction(name, fn) {\n    debugFunctions[name] = fn;\n  }\n\n  function assert() {\n    return debugFunctions.assert.apply(undefined, arguments);\n  }\n\n  function info() {\n    return debugFunctions.info.apply(undefined, arguments);\n  }\n\n  function warn() {\n    return debugFunctions.warn.apply(undefined, arguments);\n  }\n\n  function debug() {\n    return debugFunctions.debug.apply(undefined, arguments);\n  }\n\n  function deprecate() {\n    return debugFunctions.deprecate.apply(undefined, arguments);\n  }\n\n  function deprecateFunc() {\n    return debugFunctions.deprecateFunc.apply(undefined, arguments);\n  }\n\n  function runInDebug() {\n    return debugFunctions.runInDebug.apply(undefined, arguments);\n  }\n\n  function debugSeal() {\n    return debugFunctions.debugSeal.apply(undefined, arguments);\n  }\n\n  function debugFreeze() {\n    return debugFunctions.debugFreeze.apply(undefined, arguments);\n  }\n});\nenifed(\"ember-debug/run-in-debug\", [\"exports\"], function (exports) {\n  \"use strict\";\n});\nenifed(\"ember-debug/testing\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.isTesting = isTesting;\n  exports.setTesting = setTesting;\n  var testing = false;\n\n  function isTesting() {\n    return testing;\n  }\n\n  function setTesting(value) {\n    testing = !!value;\n  }\n});\nenifed('ember-debug/warn', ['exports', 'ember-console', 'ember-debug/deprecate', 'ember-debug/handlers'], function (exports, _emberConsole, _emberDebugDeprecate, _emberDebugHandlers) {\n  'use strict';\n\n  exports.registerHandler = registerHandler;\n  exports.default = warn;\n\n  /**\n    Allows for runtime registration of handler functions that override the default warning behavior.\n    Warnings are invoked by calls made to [Ember.warn](http://emberjs.com/api/classes/Ember.html#method_warn).\n    The following example demonstrates its usage by registering a handler that does nothing overriding Ember's\n    default warning behavior.\n  \n    ```javascript\n    // next is not called, so no warnings get the default behavior\n    Ember.Debug.registerWarnHandler(() => {});\n    ```\n  \n    The handler function takes the following arguments:\n  \n    <ul>\n      <li> <code>message</code> - The message received from the warn call. </li>\n      <li> <code>options</code> - An object passed in with the warn call containing additional information including:</li>\n        <ul>\n          <li> <code>id</code> - An id of the warning in the form of <code>package-name.specific-warning</code>.</li>\n        </ul>\n      <li> <code>next</code> - A function that calls into the previously registered handler.</li>\n    </ul>\n  \n    @public\n    @static\n    @method registerWarnHandler\n    @param handler {Function} A function to handle warnings.\n    @since 2.1.0\n  */\n\n  function registerHandler(handler) {\n    _emberDebugHandlers.registerHandler('warn', handler);\n  }\n\n  registerHandler(function logWarning(message, options) {\n    _emberConsole.default.warn('WARNING: ' + message);\n    if ('trace' in _emberConsole.default) {\n      _emberConsole.default.trace();\n    }\n  });\n\n  var missingOptionsDeprecation = 'When calling `Ember.warn` you ' + 'must provide an `options` hash as the third parameter.  ' + '`options` should include an `id` property.';\n  exports.missingOptionsDeprecation = missingOptionsDeprecation;\n  var missingOptionsIdDeprecation = 'When calling `Ember.warn` you must provide `id` in options.';\n\n  exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation;\n  /**\n  @module ember\n  @submodule ember-debug\n  */\n\n  /**\n    Display a warning with the provided message.\n  \n    * In a production build, this method is defined as an empty function (NOP).\n    Uses of this method in Ember itself are stripped from the ember.prod.js build.\n  \n    @method warn\n    @param {String} message A warning to display.\n    @param {Boolean} test An optional boolean. If falsy, the warning\n      will be displayed.\n    @param {Object} options An object that can be used to pass a unique\n      `id` for this warning.  The `id` can be used by Ember debugging tools\n      to change the behavior (raise, log, or silence) for that specific warning.\n      The `id` should be namespaced by dots, e.g. \"ember-debug.feature-flag-with-features-stripped\"\n    @for Ember\n    @public\n    @since 1.0.0\n  */\n\n  function warn(message, test, options) {\n    if (arguments.length === 2 && typeof test === 'object') {\n      options = test;\n      test = false;\n    }\n    if (!options) {\n      _emberDebugDeprecate.default(missingOptionsDeprecation, false, {\n        id: 'ember-debug.warn-options-missing',\n        until: '3.0.0',\n        url: 'http://emberjs.com/deprecations/v2.x/#toc_ember-debug-function-options'\n      });\n    }\n\n    if (options && !options.id) {\n      _emberDebugDeprecate.default(missingOptionsIdDeprecation, false, {\n        id: 'ember-debug.warn-id-missing',\n        until: '3.0.0',\n        url: 'http://emberjs.com/deprecations/v2.x/#toc_ember-debug-function-options'\n      });\n    }\n\n    _emberDebugHandlers.invoke('warn', message, test, options);\n  }\n});\nenifed('ember-environment/global', ['exports'], function (exports) {\n  /* globals global, window, self, mainContext */\n\n  // from lodash to catch fake globals\n  'use strict';\n\n  function checkGlobal(value) {\n    return value && value.Object === Object ? value : undefined;\n  }\n\n  // element ids can ruin global miss checks\n  function checkElementIdShadowing(value) {\n    return value && value.nodeType === undefined ? value : undefined;\n  }\n\n  // export real global\n  exports.default = checkGlobal(checkElementIdShadowing(typeof global === 'object' && global)) || checkGlobal(typeof self === 'object' && self) || checkGlobal(typeof window === 'object' && window) || mainContext || // set before strict mode in Ember loader/wrapper\n  new Function('return this')();\n  // eval outside of strict mode\n});\nenifed('ember-environment/index', ['exports', 'ember-environment/global', 'ember-environment/utils'], function (exports, _emberEnvironmentGlobal, _emberEnvironmentUtils) {\n  /* globals module */\n  'use strict';\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 = typeof _emberEnvironmentGlobal.default.EmberENV === 'object' && _emberEnvironmentGlobal.default.EmberENV || typeof _emberEnvironmentGlobal.default.ENV === 'object' && _emberEnvironmentGlobal.default.ENV || {};\n\n  exports.ENV = ENV;\n  // ENABLE_ALL_FEATURES was documented, but you can't actually enable non optional features.\n  if (ENV.ENABLE_ALL_FEATURES) {\n    ENV.ENABLE_OPTIONAL_FEATURES = true;\n  }\n\n  /**\n    Determines whether Ember should add to `Array`, `Function`, and `String`\n    native object prototypes, a few extra methods in order to provide a more\n    friendly API.\n  \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  \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  \n    @property EXTEND_PROTOTYPES\n    @type Boolean\n    @default true\n    @for EmberENV\n    @public\n  */\n  ENV.EXTEND_PROTOTYPES = _emberEnvironmentUtils.normalizeExtendPrototypes(ENV.EXTEND_PROTOTYPES);\n\n  /**\n    The `LOG_STACKTRACE_ON_DEPRECATION` property, when true, tells Ember to log\n    a full stack trace during deprecation warnings.\n  \n    @property LOG_STACKTRACE_ON_DEPRECATION\n    @type Boolean\n    @default true\n    @for EmberENV\n    @public\n  */\n  ENV.LOG_STACKTRACE_ON_DEPRECATION = _emberEnvironmentUtils.defaultTrue(ENV.LOG_STACKTRACE_ON_DEPRECATION);\n\n  /**\n    The `LOG_VERSION` property, when true, tells Ember to log versions of all\n    dependent libraries in use.\n  \n    @property LOG_VERSION\n    @type Boolean\n    @default true\n    @for EmberENV\n    @public\n  */\n  ENV.LOG_VERSION = _emberEnvironmentUtils.defaultTrue(ENV.LOG_VERSION);\n\n  /**\n    Debug parameter you can turn on. This will log all bindings that fire to\n    the console. This should be disabled in production code. Note that you\n    can also enable this from the console or temporarily.\n  \n    @property LOG_BINDINGS\n    @for EmberENV\n    @type Boolean\n    @default false\n    @public\n  */\n  ENV.LOG_BINDINGS = _emberEnvironmentUtils.defaultFalse(ENV.LOG_BINDINGS);\n\n  ENV.RAISE_ON_DEPRECATION = _emberEnvironmentUtils.defaultFalse(ENV.RAISE_ON_DEPRECATION);\n\n  // check if window exists and actually is the global\n  var hasDOM = typeof window !== 'undefined' && window === _emberEnvironmentGlobal.default && window.document && window.document.createElement && !ENV.disableBrowserEnvironment; // is this a public thing?\n\n  // legacy imports/exports/lookup stuff (should we keep this??)\n  var originalContext = _emberEnvironmentGlobal.default.Ember || {};\n\n  var context = {\n    // import jQuery\n    imports: originalContext.imports || _emberEnvironmentGlobal.default,\n    // export Ember\n    exports: originalContext.exports || _emberEnvironmentGlobal.default,\n    // search for Namespaces\n    lookup: originalContext.lookup || _emberEnvironmentGlobal.default\n  };\n\n  exports.context = context;\n  // TODO: cleanup single source of truth issues with this stuff\n  var environment = hasDOM ? {\n    hasDOM: true,\n    isChrome: !!window.chrome && !window.opera,\n    isFirefox: typeof InstallTrigger !== 'undefined',\n    isPhantom: !!window.callPhantom,\n    location: window.location,\n    history: window.history,\n    userAgent: window.navigator.userAgent,\n    window: window\n  } : {\n    hasDOM: false,\n    isChrome: false,\n    isFirefox: false,\n    isPhantom: false,\n    location: null,\n    history: null,\n    userAgent: 'Lynx (textmode)',\n    window: null\n  };\n  exports.environment = environment;\n});\nenifed(\"ember-environment/utils\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.defaultTrue = defaultTrue;\n  exports.defaultFalse = defaultFalse;\n  exports.normalizeExtendPrototypes = normalizeExtendPrototypes;\n\n  function defaultTrue(v) {\n    return v === false ? false : true;\n  }\n\n  function defaultFalse(v) {\n    return v === true ? true : false;\n  }\n\n  function normalizeExtendPrototypes(obj) {\n    if (obj === false) {\n      return { String: false, Array: false, Function: false };\n    } else if (!obj || obj === true) {\n      return { String: true, Array: true, Function: true };\n    } else {\n      return {\n        String: defaultTrue(obj.String),\n        Array: defaultTrue(obj.Array),\n        Function: defaultTrue(obj.Function)\n      };\n    }\n  }\n});\nenifed('ember-extension-support/container_debug_adapter', ['exports', 'ember-metal', 'ember-runtime'], function (exports, _emberMetal, _emberRuntime) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-extension-support\n  */\n\n  /**\n    The `ContainerDebugAdapter` helps the container and resolver interface\n    with tools that debug Ember such as the\n    [Ember Inspector](https://github.com/emberjs/ember-inspector)\n    for Chrome and Firefox.\n  \n    This class can be extended by a custom resolver implementer\n    to override some of the methods with library-specific code.\n  \n    The methods likely to be overridden are:\n  \n    * `canCatalogEntriesByType`\n    * `catalogEntriesByType`\n  \n    The adapter will need to be registered\n    in the application's container as `container-debug-adapter:main`.\n  \n    Example:\n  \n    ```javascript\n    Application.initializer({\n      name: \"containerDebugAdapter\",\n  \n      initialize(application) {\n        application.register('container-debug-adapter:main', require('app/container-debug-adapter'));\n      }\n    });\n    ```\n  \n    @class ContainerDebugAdapter\n    @namespace Ember\n    @extends Ember.Object\n    @since 1.5.0\n    @public\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 = _emberRuntime.A(_emberRuntime.Namespace.NAMESPACES);\n      var types = _emberRuntime.A();\n      var typeSuffixRegex = new RegExp(_emberRuntime.String.classify(type) + '$');\n\n      namespaces.forEach(function (namespace) {\n        if (namespace !== _emberMetal.default) {\n          for (var key in namespace) {\n            if (!namespace.hasOwnProperty(key)) {\n              continue;\n            }\n            if (typeSuffixRegex.test(key)) {\n              var klass = namespace[key];\n              if (_emberRuntime.typeOf(klass) === 'class') {\n                types.push(_emberRuntime.String.dasherize(key.replace(typeSuffixRegex, '')));\n              }\n            }\n          }\n        }\n      });\n      return types;\n    }\n  });\n});\n// Ember as namespace\nenifed('ember-extension-support/data_adapter', ['exports', 'ember-utils', 'ember-metal', 'ember-runtime', 'container', 'ember-application'], function (exports, _emberUtils, _emberMetal, _emberRuntime, _container, _emberApplication) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-extension-support\n  */\n\n  /**\n    The `DataAdapter` helps a data persistence library\n    interface with tools that debug Ember such\n    as the [Ember Extension](https://github.com/tildeio/ember-extension)\n    for Chrome and Firefox.\n  \n    This class will be extended by a persistence library\n    which will override some of the methods with\n    library-specific code.\n  \n    The methods likely to be overridden are:\n  \n    * `getFilters`\n    * `detect`\n    * `columnsForType`\n    * `getRecords`\n    * `getRecordColumnValues`\n    * `getRecordKeywords`\n    * `getRecordFilterValues`\n    * `getRecordColor`\n    * `observeRecord`\n  \n    The adapter will need to be registered\n    in the application's container as `dataAdapter:main`.\n  \n    Example:\n  \n    ```javascript\n    Application.initializer({\n      name: \"data-adapter\",\n  \n      initialize: function(application) {\n        application.register('data-adapter:main', DS.DataAdapter);\n      }\n    });\n    ```\n  \n    @class DataAdapter\n    @namespace Ember\n    @extends EmberObject\n    @public\n  */\n  exports.default = _emberRuntime.Object.extend({\n    init: function () {\n      this._super.apply(this, arguments);\n      this.releaseMethods = _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: _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 _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 = _emberRuntime.A();\n      var typesToSend = undefined;\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\n    _nameToClass: function (type) {\n      if (typeof type === 'string') {\n        var owner = _emberUtils.getOwner(this);\n        var Factory = owner[_container.FACTORY_FOR]('model:' + type);\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 = _emberRuntime.A();\n      var klass = this._nameToClass(modelName);\n      var records = this.getRecords(klass, modelName);\n      var release = undefined;\n\n      function recordUpdated(updatedRecord) {\n        recordsUpdated([updatedRecord]);\n      }\n\n      var recordsToSend = records.map(function (record) {\n        releaseMethods.push(_this2.observeRecord(record, recordUpdated));\n        return _this2.wrapRecord(record);\n      });\n\n      var contentDidChange = function (array, idx, removedCount, addedCount) {\n        for (var i = idx; i < idx + addedCount; i++) {\n          var record = _emberRuntime.objectAt(array, i);\n          var wrapped = _this2.wrapRecord(record);\n          releaseMethods.push(_this2.observeRecord(record, recordUpdated));\n          recordsAdded([wrapped]);\n        }\n\n        if (removedCount) {\n          recordsRemoved(idx, removedCount);\n        }\n      };\n\n      var observer = { didChange: contentDidChange, willChange: function () {\n          return this;\n        } };\n      _emberRuntime.addArrayObserver(records, this, observer);\n\n      release = function () {\n        releaseMethods.forEach(function (fn) {\n          return fn();\n        });\n        _emberRuntime.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      @param {Class} klass The class to test.\n      @return boolean Whether the class is a model class or not.\n    */\n    detect: function (klass) {\n      return false;\n    },\n\n    /**\n      Get the columns for a given model type.\n       @private\n      @method columnsForType\n      @param {Class} type The model type.\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 (type) {\n      return _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 () {\n          _emberMetal.run.scheduleOnce('actions', this, onChange);\n        },\n        willChange: function () {\n          return this;\n        }\n      };\n\n      _emberRuntime.addArrayObserver(records, this, observer);\n\n      var release = function () {\n        return _emberRuntime.removeArrayObserver(records, _this3, observer);\n      };\n\n      return release;\n    },\n\n    /**\n      Wraps a given model type and observes changes to it.\n       @private\n      @method wrapModelType\n      @param {Class} klass A model class.\n      @param {String} modelName Name of the class.\n      @return {Object} Contains the wrapped type and the function to remove observers\n      Format:\n        type: {Object} The wrapped type.\n          The wrapped type has the following format:\n            name: {String} The name of the type.\n            count: {Integer} The number of records available.\n            columns: {Columns} An array of columns to describe the record.\n            object: {Class} The actual Model type class.\n        release: {Function} The function to remove observers.\n    */\n    wrapModelType: function (klass, name) {\n      var records = this.getRecords(klass, name);\n      var typeToSend = undefined;\n\n      typeToSend = {\n        name: name,\n        count: _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 = undefined;\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 = _emberRuntime.A(types).map(function (name) {\n        return {\n          klass: _this4._nameToClass(name),\n          name: name\n        };\n      });\n      types = _emberRuntime.A(types).filter(function (type) {\n        return _this4.detect(type.klass);\n      });\n\n      return _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 = _emberRuntime.A(_emberRuntime.Namespace.NAMESPACES);\n      var types = _emberRuntime.A();\n\n      namespaces.forEach(function (namespace) {\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          var _name = _emberRuntime.String.dasherize(key);\n          if (!(namespace instanceof _emberApplication.Application) && namespace.toString()) {\n            _name = namespace + '/' + _name;\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 (type) {\n      return _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 (record) {\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 (record) {\n      return _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 (record) {\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 (record) {\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      @param {Object} record The record instance.\n      @param {Function} recordUpdated The callback to call when a record is updated.\n      @return {Function} The function to call to remove all observers.\n    */\n    observeRecord: function (record, recordUpdated) {\n      return function () {};\n    }\n  });\n});\nenifed('ember-extension-support/index', ['exports', 'ember-extension-support/data_adapter', 'ember-extension-support/container_debug_adapter'], function (exports, _emberExtensionSupportData_adapter, _emberExtensionSupportContainer_debug_adapter) {\n  /**\n  @module ember\n  @submodule ember-extension-support\n  */\n\n  'use strict';\n\n  exports.DataAdapter = _emberExtensionSupportData_adapter.default;\n  exports.ContainerDebugAdapter = _emberExtensionSupportContainer_debug_adapter.default;\n});\nenifed('ember-glimmer/component', ['exports', 'ember-utils', 'ember-views', 'ember-runtime', 'ember-debug', 'ember-metal', 'ember-glimmer/utils/references', '@glimmer/reference', '@glimmer/runtime'], function (exports, _emberUtils, _emberViews, _emberRuntime, _emberDebug, _emberMetal, _emberGlimmerUtilsReferences, _glimmerReference, _glimmerRuntime) {\n  'use strict';\n\n  var _CoreView$extend;\n\n  var DIRTY_TAG = _emberUtils.symbol('DIRTY_TAG');\n  exports.DIRTY_TAG = DIRTY_TAG;\n  var ARGS = _emberUtils.symbol('ARGS');\n  exports.ARGS = ARGS;\n  var ROOT_REF = _emberUtils.symbol('ROOT_REF');\n  exports.ROOT_REF = ROOT_REF;\n  var IS_DISPATCHING_ATTRS = _emberUtils.symbol('IS_DISPATCHING_ATTRS');\n  exports.IS_DISPATCHING_ATTRS = IS_DISPATCHING_ATTRS;\n  var HAS_BLOCK = _emberUtils.symbol('HAS_BLOCK');\n  exports.HAS_BLOCK = HAS_BLOCK;\n  var BOUNDS = _emberUtils.symbol('BOUNDS');\n\n  exports.BOUNDS = BOUNDS;\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n\n  /**\n    An `Ember.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 an `Ember.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 `Ember.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 Ember from 'ember';\n  \n    export default Ember.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  \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 Ember from 'ember';\n  \n    export default Ember.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  \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 Ember from 'ember';\n  \n    export default Ember.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 Ember from 'ember';\n  \n    export default Ember.Component.extend({\n      classNameBindings: ['propertyA', 'propertyB'],\n      propertyA: 'from-a',\n      propertyB: Ember.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 Ember from 'ember';\n  \n    export default Ember.Component.extend({\n      classNameBindings: ['hovered'],\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 Ember from 'ember';\n  \n    export default Ember.Component.extend({\n      classNameBindings: ['awesome:so-very-cool'],\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 Ember from 'ember';\n  \n    export default Ember.Component.extend({\n      classNameBindings: ['isUrgent'],\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 Ember from 'ember';\n  \n    export default Ember.Component.extend({\n      classNameBindings: ['messages.empty'],\n      messages: Ember.Object.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 Ember from 'ember';\n  \n    export default Ember.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 Ember from 'ember';\n  \n    // Applies no class when isEnabled is true and class 'disabled' when isEnabled is false\n    export default Ember.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    [Ember.Object](/api/classes/Ember.Object.html) documentation for more\n    information about concatenated properties.\n  \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 Ember from 'ember';\n  \n    export default Ember.Component.extend({\n      tagName: 'a',\n      attributeBindings: ['href'],\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 Ember from 'ember';\n  \n    export default Ember.Component.extend({\n      tagName: 'a',\n      attributeBindings: ['url:href'],\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 Ember from 'ember';\n  \n    export default Ember.Component.extend({\n      tagName: 'use',\n      attributeBindings: ['xlinkHref:xlink:href'],\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 Ember from 'ember';\n  \n    export default Ember.Component.extend({\n      tagName: 'input',\n      attributeBindings: ['disabled'],\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 Ember from 'ember';\n  \n    export default Ember.Component.extend({\n      tagName: 'input',\n      attributeBindings: ['disabled'],\n      disabled: Ember.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 Ember from 'ember';\n  \n    export default Ember.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 [Ember.Object](/api/classes/Ember.Object.html)\n    documentation for more information about concatenated properties.\n  \n  \n    ## Layouts\n  \n    See [Ember.Templates.helpers.yield](/api/classes/Ember.Templates.helpers.html#method_yield)\n    for more information.\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  \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 Ember from 'ember';\n  \n    export default Ember.Component.extend({\n      click(event) {\n        // will be called when an instance's\n        // rendered element is clicked\n      }\n    });\n    ```\n  \n  \n    ### `{{action}}` Helper\n  \n    See [Ember.Templates.helpers.action](/api/classes/Ember.Templates.helpers.html#method_action).\n  \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 `Ember.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    @namespace Ember\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\n    init: function () {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      this[IS_DISPATCHING_ATTRS] = false;\n      this[DIRTY_TAG] = new _glimmerReference.DirtyableTag();\n      this[ROOT_REF] = new _emberGlimmerUtilsReferences.RootReference(this);\n      this[BOUNDS] = null;\n\n      // If a `defaultLayout` was specified move it to the `layout` prop.\n      // `layout` is no longer a CP, so this just ensures that the `defaultLayout`\n      // logic is supported with a deprecation\n      if (this.defaultLayout && !this.layout) {\n        _emberDebug.deprecate('Specifying `defaultLayout` to ' + this + ' is deprecated. Please use `layout` instead.', false, {\n          id: 'ember-views.component.defaultLayout',\n          until: '3.0.0',\n          url: 'http://emberjs.com/deprecations/v2.x/#toc_ember-component-defaultlayout'\n        });\n\n        this.layout = this.defaultLayout;\n      }\n\n      // If in a tagless component, assert that no event handlers are defined\n      _emberDebug.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 = _emberUtils.getOwner(_this).lookup('event_dispatcher:main');\n        var events = eventDispatcher && eventDispatcher._finalEvents || {};\n\n        for (var key in events) {\n          var methodName = events[key];\n\n          if (typeof _this[methodName] === 'function') {\n            return true; // indicate that the assertion should be triggered\n          }\n        }\n      })());\n\n      _emberDebug.assert('You cannot use a computed property for the component\\'s `tagName` (' + this + ').', !(this.tagName && this.tagName.isDescriptor));\n    },\n\n    rerender: function () {\n      this[DIRTY_TAG].dirty();\n      this._super();\n    },\n\n    __defineNonEnumerable: function (property) {\n      this[property.name] = property.descriptor.value;\n    }\n\n  }, _CoreView$extend[_emberMetal.PROPERTY_DID_CHANGE] = function (key) {\n    if (this[IS_DISPATCHING_ATTRS]) {\n      return;\n    }\n\n    var args = undefined,\n        reference = undefined;\n\n    if ((args = this[ARGS]) && (reference = args[key])) {\n      if (reference[_emberGlimmerUtilsReferences.UPDATE]) {\n        reference[_emberGlimmerUtilsReferences.UPDATE](_emberMetal.get(this, key));\n      }\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    var element = _emberViews.getViewElement(this);\n    return _glimmerRuntime.readDOMAttr(element, name);\n  }, _CoreView$extend));\n\n  /**\n   The WAI-ARIA role of the control represented by this view. For example, a\n   button may have a role of type 'button', or a pane may have a role of\n   type 'alertdialog'. This property is used by assistive software to help\n   visually challenged users navigate rich web applications.\n    The full list of valid WAI-ARIA roles is available at:\n   [http://www.w3.org/TR/wai-aria/roles#roles_categorization](http://www.w3.org/TR/wai-aria/roles#roles_categorization)\n    @property ariaRole\n   @type String\n   @default null\n   @public\n   */\n\n  /**\n   Enables components to take a list of parameters as arguments.\n   For example, a component that takes two parameters with the names\n   `name` and `age`:\n    ```javascript\n   let MyComponent = Ember.Component.extend;\n    MyComponent.reopenClass({\n     positionalParams: ['name', 'age']\n   });\n   ```\n    It can then be invoked like this:\n    ```hbs\n   {{my-component \"John\" 38}}\n   ```\n    The parameters can be referred to just like named parameters:\n    ```hbs\n   Name: {{name}}, Age: {{age}}.\n   ```\n    Using a string instead of an array allows for an arbitrary number of\n   parameters:\n    ```javascript\n   let MyComponent = Ember.Component.extend;\n    MyComponent.reopenClass({\n     positionalParams: 'names'\n   });\n   ```\n    It can then be invoked like this:\n    ```hbs\n   {{my-component \"John\" \"Michael\" \"Scott\"}}\n   ```\n   The parameters can then be referred to by enumerating over the list:\n    ```hbs\n   {{#each names as |name|}}{{name}}{{/each}}\n   ```\n    @static\n   @public\n   @property positionalParams\n   @since 1.13.0\n   */\n\n  /**\n   Called when the attributes passed into the component have been updated.\n   Called both during the initial render of a container and during a rerender.\n   Can be used in place of an observer; code placed here will be executed\n   every time any attribute updates.\n   @method didReceiveAttrs\n   @public\n   @since 1.13.0\n   */\n\n  /**\n   Called when the attributes passed into the component have been updated.\n   Called both during the initial render of a container and during a rerender.\n   Can be used in place of an observer; code placed here will be executed\n   every time any attribute updates.\n   @event didReceiveAttrs\n   @public\n   @since 1.13.0\n   */\n\n  /**\n   Called after a component has been rendered, both on initial render and\n   in subsequent rerenders.\n   @method didRender\n   @public\n   @since 1.13.0\n   */\n\n  /**\n   Called after a component has been rendered, both on initial render and\n   in subsequent rerenders.\n   @event didRender\n   @public\n   @since 1.13.0\n   */\n\n  /**\n   Called before a component has been rendered, both on initial render and\n   in subsequent rerenders.\n   @method willRender\n   @public\n   @since 1.13.0\n   */\n\n  /**\n   Called before a component has been rendered, both on initial render and\n   in subsequent rerenders.\n   @event willRender\n   @public\n   @since 1.13.0\n   */\n\n  /**\n   Called when the attributes passed into the component have been changed.\n   Called only during a rerender, not during an initial render.\n   @method didUpdateAttrs\n   @public\n   @since 1.13.0\n   */\n\n  /**\n   Called when the attributes passed into the component have been changed.\n   Called only during a rerender, not during an initial render.\n   @event didUpdateAttrs\n   @public\n   @since 1.13.0\n   */\n\n  /**\n   Called when the component is about to update and rerender itself.\n   Called only during a rerender, not during an initial render.\n   @method willUpdate\n   @public\n   @since 1.13.0\n   */\n\n  /**\n   Called when the component is about to update and rerender itself.\n   Called only during a rerender, not during an initial render.\n   @event willUpdate\n   @public\n   @since 1.13.0\n   */\n\n  /**\n   Called when the component has updated and rerendered itself.\n   Called only during a rerender, not during an initial render.\n   @method didUpdate\n   @public\n   @since 1.13.0\n   */\n\n  /**\n   Called when the component has updated and rerendered itself.\n   Called only during a rerender, not during an initial render.\n   @event didUpdate\n   @public\n   @since 1.13.0\n   */\n\n  /**\n    A component may contain a layout. A layout is a regular template but\n    supersedes the `template` property during rendering. It is the\n    responsibility of the layout template to retrieve the `template`\n    property from the component (or alternatively, call `Handlebars.helpers.yield`,\n    `{{yield}}`) to render it in the correct location.\n    This is useful for a component that has a shared wrapper, but which delegates\n    the rendering of the contents of the wrapper to the `template` property\n    on a subclass.\n    @property layout\n    @type Function\n    @public\n  */\n\n  /**\n    The name of the layout to lookup if no layout is provided.\n    By default `Ember.Component` will lookup a template with this name in\n    `Ember.TEMPLATES` (a shared global object).\n    @property layoutName\n    @type String\n    @default null\n    @private\n  */\n\n  /**\n    Returns a jQuery object for this component'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 `component.$('li')` will return a jQuery object containing\n    all of the `li` elements inside the DOM element of this component.\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\n  /**\n    The HTML `id` of the component'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     ```javascript\n    export default Ember.Component.extend({\n      init() {\n        this._super(...arguments);\n         var index = this.get('index');\n        this.set('elementId', `component-id${index}`);\n      }\n    });\n    ```\n     @property elementId\n    @type String\n    @public\n  */\n\n  /**\n   If `false`, the view will appear hidden in DOM.\n    @property isVisible\n   @type Boolean\n   @default null\n   @public\n   */\n  Component[_emberUtils.NAME_KEY] = 'Ember.Component';\n\n  Component.reopenClass({\n    isComponentFactory: true,\n    positionalParams: []\n  });\n\n  exports.default = Component;\n});\n\n/**\n  Normally, Ember's component model is \"write-only\". The component takes a\n  bunch of attributes that it got passed in, and uses them to render its\n  template.\n   One nice thing about this model is that if you try to set a value to the\n  same thing as last time, Ember (through HTMLBars) will avoid doing any\n  work on the DOM.\n   This is not just a performance optimization. If an attribute has not\n  changed, it is important not to clobber the element's \"hidden state\".\n  For example, if you set an input's `value` to the same value as before,\n  it will clobber selection state and cursor position. In other words,\n  setting an attribute is not **always** idempotent.\n   This method provides a way to read an element's attribute and also\n  update the last value Ember knows about at the same time. This makes\n  setting an attribute idempotent.\n   In particular, what this means is that if you get an `<input>` element's\n  `value` attribute and then re-render the template with the same value,\n  it will avoid clobbering the cursor and selection position.\n  Since most attribute sets are idempotent in the browser, you typically\n  can get away with reading attributes using jQuery, but the most reliable\n  way to do so is through this method.\n  @method readDOMAttr\n   @param {String} name the name of the attribute\n  @return String\n  @public\n */\nenifed('ember-glimmer/components/checkbox', ['exports', 'ember-metal', 'ember-glimmer/component', 'ember-glimmer/templates/empty'], function (exports, _emberMetal, _emberGlimmerComponent, _emberGlimmerTemplatesEmpty) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-views\n  */\n\n  /**\n    The internal class used to create text inputs when the `{{input}}`\n    helper is used with `type` of `checkbox`.\n  \n    See [Ember.Templates.helpers.input](/api/classes/Ember.Templates.helpers.html#method_input)  for usage details.\n  \n    ## Direct manipulation of `checked`\n  \n    The `checked` attribute of an `Ember.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. See [Ember.View](/api/classes/Ember.View.html)'s\n    layout section for more information.\n  \n    @class Checkbox\n    @namespace Ember\n    @extends Ember.Component\n    @public\n  */\n  exports.default = _emberGlimmerComponent.default.extend({\n    layout: _emberGlimmerTemplatesEmpty.default,\n    classNames: ['ember-checkbox'],\n\n    tagName: 'input',\n\n    attributeBindings: ['type', 'checked', 'indeterminate', 'disabled', 'tabindex', 'name', 'autofocus', 'required', 'form'],\n\n    type: 'checkbox',\n    checked: false,\n    disabled: false,\n    indeterminate: false,\n\n    didInsertElement: function () {\n      this._super.apply(this, arguments);\n      _emberMetal.get(this, 'element').indeterminate = !!_emberMetal.get(this, 'indeterminate');\n    },\n\n    change: function () {\n      _emberMetal.set(this, 'checked', this.$().prop('checked'));\n    }\n  });\n});\nenifed('ember-glimmer/components/link-to', ['exports', 'ember-console', 'ember-debug', 'ember-metal', 'ember-runtime', 'ember-views', 'ember-glimmer/templates/link-to', 'ember-glimmer/component'], function (exports, _emberConsole, _emberDebug, _emberMetal, _emberRuntime, _emberViews, _emberGlimmerTemplatesLinkTo, _emberGlimmerComponent) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n\n  /**\n    The `{{link-to}}` component renders a link to the supplied\n    `routeName` passing an optionally supplied model to the\n    route as its `model` context of the route. The block\n    for `{{link-to}}` becomes the innerHTML of the rendered\n    element:\n  \n    ```handlebars\n    {{#link-to 'photoGallery'}}\n      Great Hamster Photos\n    {{/link-to}}\n    ```\n  \n    You can also use an inline form of `{{link-to}}` component by\n    passing the link text as the first argument\n    to the component:\n  \n    ```handlebars\n    {{link-to 'Great Hamster Photos' 'photoGallery'}}\n    ```\n  \n    Both will result in:\n  \n    ```html\n    <a href=\"/hamster-photos\">\n      Great Hamster Photos\n    </a>\n    ```\n  \n    ### Supplying a tagName\n    By default `{{link-to}}` renders an `<a>` element. This can\n    be overridden for a single use of `{{link-to}}` by supplying\n    a `tagName` option:\n  \n    ```handlebars\n    {{#link-to 'photoGallery' tagName=\"li\"}}\n      Great Hamster Photos\n    {{/link-to}}\n    ```\n  \n    ```html\n    <li>\n      Great Hamster Photos\n    </li>\n    ```\n  \n    To override this option for your entire application, see\n    \"Overriding Application-wide Defaults\".\n  \n    ### Disabling the `link-to` component\n    By default `{{link-to}}` is enabled.\n    any passed value to the `disabled` component property will disable\n    the `link-to` component.\n  \n    static use: the `disabled` option:\n  \n    ```handlebars\n    {{#link-to 'photoGallery' disabled=true}}\n      Great Hamster Photos\n    {{/link-to}}\n    ```\n  \n    dynamic use: the `disabledWhen` option:\n  \n    ```handlebars\n    {{#link-to 'photoGallery' disabledWhen=controller.someProperty}}\n      Great Hamster Photos\n    {{/link-to}}\n    ```\n  \n    any passed value to `disabled` will disable it except `undefined`.\n    to ensure that only `true` disable the `link-to` component you can\n    override the global behaviour of `Ember.LinkComponent`.\n  \n    ```javascript\n    Ember.LinkComponent.reopen({\n      disabled: Ember.computed(function(key, value) {\n        if (value !== undefined) {\n          this.set('_isDisabled', value === true);\n        }\n        return value === true ? get(this, 'disabledClass') : false;\n      })\n    });\n    ```\n  \n    see \"Overriding Application-wide Defaults\" for more.\n  \n    ### Handling `href`\n    `{{link-to}}` will use your application's Router to\n    fill the element's `href` property with a url that\n    matches the path to the supplied `routeName` for your\n    router's configured `Location` scheme, which defaults\n    to Ember.HashLocation.\n  \n    ### Handling current route\n    `{{link-to}}` will apply a CSS class name of 'active'\n    when the application's current route matches\n    the supplied routeName. For example, if the application's\n    current route is 'photoGallery.recent' the following\n    use of `{{link-to}}`:\n  \n    ```handlebars\n    {{#link-to 'photoGallery.recent'}}\n      Great Hamster Photos\n    {{/link-to}}\n    ```\n  \n    will result in\n  \n    ```html\n    <a href=\"/hamster-photos/this-week\" class=\"active\">\n      Great Hamster Photos\n    </a>\n    ```\n  \n    The CSS class name used for active classes can be customized\n    for a single use of `{{link-to}}` by passing an `activeClass`\n    option:\n  \n    ```handlebars\n    {{#link-to 'photoGallery.recent' activeClass=\"current-url\"}}\n      Great Hamster Photos\n    {{/link-to}}\n    ```\n  \n    ```html\n    <a href=\"/hamster-photos/this-week\" class=\"current-url\">\n      Great Hamster Photos\n    </a>\n    ```\n  \n    To override this option for your entire application, see\n    \"Overriding Application-wide Defaults\".\n  \n    ### Keeping a link active for other routes\n  \n    If you need a link to be 'active' even when it doesn't match\n    the current route, you can use the `current-when` argument.\n  \n    ```handlebars\n    {{#link-to 'photoGallery' current-when='photos'}}\n      Photo Gallery\n    {{/link-to}}\n    ```\n  \n    This may be helpful for keeping links active for:\n  \n    * non-nested routes that are logically related\n    * some secondary menu approaches\n    * 'top navigation' with 'sub navigation' scenarios\n  \n    A link will be active if `current-when` is `true` or the current\n    route is the route this link would transition to.\n  \n    To match multiple routes 'space-separate' the routes:\n  \n    ```handlebars\n    {{#link-to 'gallery' current-when='photos drawings paintings'}}\n      Art Gallery\n    {{/link-to}}\n    ```\n  \n    ### Supplying a model\n    An optional model argument can be used for routes whose\n    paths contain dynamic segments. This argument will become\n    the model context of the linked route:\n  \n    ```javascript\n    Router.map(function() {\n      this.route(\"photoGallery\", {path: \"hamster-photos/:photo_id\"});\n    });\n    ```\n  \n    ```handlebars\n    {{#link-to 'photoGallery' aPhoto}}\n      {{aPhoto.title}}\n    {{/link-to}}\n    ```\n  \n    ```html\n    <a href=\"/hamster-photos/42\">\n      Tomster\n    </a>\n    ```\n  \n    ### Supplying multiple models\n    For deep-linking to route paths that contain multiple\n    dynamic segments, multiple model arguments can be used.\n    As the router transitions through the route path, each\n    supplied model argument will become the context for the\n    route with the dynamic segments:\n  \n    ```javascript\n    Router.map(function() {\n      this.route(\"photoGallery\", { path: \"hamster-photos/:photo_id\" }, function() {\n        this.route(\"comment\", {path: \"comments/:comment_id\"});\n      });\n    });\n    ```\n    This argument will become the model context of the linked route:\n  \n    ```handlebars\n    {{#link-to 'photoGallery.comment' aPhoto comment}}\n      {{comment.body}}\n    {{/link-to}}\n    ```\n  \n    ```html\n    <a href=\"/hamster-photos/42/comments/718\">\n      A+++ would snuggle again.\n    </a>\n    ```\n  \n    ### Supplying an explicit dynamic segment value\n    If you don't have a model object available to pass to `{{link-to}}`,\n    an optional string or integer argument can be passed for routes whose\n    paths contain dynamic segments. This argument will become the value\n    of the dynamic segment:\n  \n    ```javascript\n    Router.map(function() {\n      this.route(\"photoGallery\", { path: \"hamster-photos/:photo_id\" });\n    });\n    ```\n  \n    ```handlebars\n    {{#link-to 'photoGallery' aPhotoId}}\n      {{aPhoto.title}}\n    {{/link-to}}\n    ```\n  \n    ```html\n    <a href=\"/hamster-photos/42\">\n      Tomster\n    </a>\n    ```\n  \n    When transitioning into the linked route, the `model` hook will\n    be triggered with parameters including this passed identifier.\n  \n    ### Allowing Default Action\n  \n   By default the `{{link-to}}` component prevents the default browser action\n   by calling `preventDefault()` as this sort of action bubbling is normally\n   handled internally and we do not want to take the browser to a new URL (for\n   example).\n  \n   If you need to override this behavior specify `preventDefault=false` in\n   your template:\n  \n    ```handlebars\n    {{#link-to 'photoGallery' aPhotoId preventDefault=false}}\n      {{aPhotoId.title}}\n    {{/link-to}}\n    ```\n  \n    ### Overriding attributes\n    You can override any given property of the `Ember.LinkComponent`\n    that is generated by the `{{link-to}}` component by passing\n    key/value pairs, like so:\n  \n    ```handlebars\n    {{#link-to  aPhoto tagName='li' title='Following this link will change your life' classNames='pic sweet'}}\n      Uh-mazing!\n    {{/link-to}}\n    ```\n  \n    See [Ember.LinkComponent](/api/classes/Ember.LinkComponent.html) for a\n    complete list of overrideable properties. Be sure to also\n    check out inherited properties of `LinkComponent`.\n  \n    ### Overriding Application-wide Defaults\n    ``{{link-to}}`` creates an instance of `Ember.LinkComponent`\n    for rendering. To override options for your entire\n    application, reopen `Ember.LinkComponent` and supply the\n    desired values:\n  \n    ``` javascript\n    Ember.LinkComponent.reopen({\n      activeClass: \"is-active\",\n      tagName: 'li'\n    })\n    ```\n  \n    It is also possible to override the default event in\n    this manner:\n  \n    ``` javascript\n    Ember.LinkComponent.reopen({\n      eventName: 'customEventName'\n    });\n    ```\n  \n    @method link-to\n    @for Ember.Templates.helpers\n    @param {String} routeName\n    @param {Object} [context]*\n    @param [options] {Object} Handlebars key/value pairs of options, you can override any property of Ember.LinkComponent\n    @return {String} HTML string\n    @see {Ember.LinkComponent}\n    @public\n  */\n\n  'use strict';\n\n  /**\n    `Ember.LinkComponent` renders an element whose `click` event triggers a\n    transition of the application's instance of `Ember.Router` to\n    a supplied route by name.\n  \n    `Ember.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    @namespace Ember\n    @extends Ember.Component\n    @see {Ember.Templates.helpers.link-to}\n    @public\n  **/\n  var LinkComponent = _emberGlimmerComponent.default.extend({\n    layout: _emberGlimmerTemplatesLinkTo.default,\n\n    tagName: 'a',\n\n    /**\n      @deprecated Use current-when instead.\n      @property currentWhen\n      @private\n    */\n    currentWhen: _emberRuntime.deprecatingAlias('current-when', { id: 'ember-routing-view.deprecated-current-when', until: '3.0.0' }),\n\n    /**\n      Used to determine when this `LinkComponent` is active.\n       @property currentWhen\n      @public\n    */\n    'current-when': null,\n\n    /**\n      Sets the `title` attribute of the `LinkComponent`'s HTML element.\n       @property title\n      @default null\n      @public\n    **/\n    title: null,\n\n    /**\n      Sets the `rel` attribute of the `LinkComponent`'s HTML element.\n       @property rel\n      @default null\n      @public\n    **/\n    rel: null,\n\n    /**\n      Sets the `tabindex` attribute of the `LinkComponent`'s HTML element.\n       @property tabindex\n      @default null\n      @public\n    **/\n    tabindex: null,\n\n    /**\n      Sets the `target` attribute of the `LinkComponent`'s HTML element.\n       @since 1.8.0\n      @property target\n      @default null\n      @public\n    **/\n    target: null,\n\n    /**\n      The CSS class to apply to `LinkComponent`'s element when its `active`\n      property is `true`.\n       @property activeClass\n      @type String\n      @default active\n      @public\n    **/\n    activeClass: 'active',\n\n    /**\n      The CSS class to apply to `LinkComponent`'s element when its `loading`\n      property is `true`.\n       @property loadingClass\n      @type String\n      @default loading\n      @private\n    **/\n    loadingClass: 'loading',\n\n    /**\n      The CSS class to apply to a `LinkComponent`'s element when its `disabled`\n      property is `true`.\n       @property disabledClass\n      @type String\n      @default disabled\n      @private\n    **/\n    disabledClass: 'disabled',\n    _isDisabled: false,\n\n    /**\n      Determines whether the `LinkComponent` will trigger routing via\n      the `replaceWith` routing strategy.\n       @property replace\n      @type Boolean\n      @default false\n      @public\n    **/\n    replace: false,\n\n    /**\n      By default the `{{link-to}}` component will bind to the `href` and\n      `title` attributes. It's discouraged that you override these defaults,\n      however you can push onto the array if needed.\n       @property attributeBindings\n      @type Array | String\n      @default ['title', 'rel', 'tabindex', 'target']\n      @public\n    */\n    attributeBindings: ['href', 'title', 'rel', 'tabindex', 'target'],\n\n    /**\n      By default the `{{link-to}}` component will bind to the `active`, `loading`,\n      and `disabled` classes. It is discouraged to override these directly.\n       @property classNameBindings\n      @type Array\n      @default ['active', 'loading', 'disabled', 'ember-transitioning-in', 'ember-transitioning-out']\n      @public\n    */\n    classNameBindings: ['active', 'loading', 'disabled', 'transitioningIn', 'transitioningOut'],\n\n    /**\n      By default the `{{link-to}}` component responds to the `click` event. You\n      can override this globally by setting this property to your custom\n      event name.\n       This is particularly useful on mobile when one wants to avoid the 300ms\n      click delay using some sort of custom `tap` event.\n       @property eventName\n      @type String\n      @default click\n      @private\n    */\n    eventName: 'click',\n\n    // this is doc'ed here so it shows up in the events\n    // section of the API documentation, which is where\n    // people will likely go looking for it.\n    /**\n      Triggers the `LinkComponent`'s routing behavior. If\n      `eventName` is changed to a value other than `click`\n      the routing behavior will trigger on that custom event\n      instead.\n       @event click\n      @private\n    */\n\n    /**\n      An overridable method called when `LinkComponent` objects are instantiated.\n       Example:\n       ```javascript\n      App.MyLinkComponent = Ember.LinkComponent.extend({\n        init: function() {\n          this._super(...arguments);\n          Ember.Logger.log('Event is ' + this.get('eventName'));\n        }\n      });\n      ```\n       NOTE: If you do override `init` for a framework class like `Ember.View`,\n      be sure to call `this._super(...arguments)` in your\n      `init` declaration! If you don't, Ember may not have an opportunity to\n      do important setup work, and you'll see strange behavior in your\n      application.\n       @method init\n      @private\n    */\n    init: function () {\n      this._super.apply(this, arguments);\n\n      // Map desired event name to invoke function\n      var eventName = _emberMetal.get(this, 'eventName');\n      this.on(eventName, this, this._invoke);\n    },\n\n    _routing: _emberRuntime.inject.service('-routing'),\n\n    /**\n      Accessed as a classname binding to apply the `LinkComponent`'s `disabledClass`\n      CSS `class` to the element when the link is disabled.\n       When `true` interactions with the element will not trigger route changes.\n      @property disabled\n      @private\n    */\n    disabled: _emberMetal.computed({\n      get: function (key, value) {\n        return false;\n      },\n      set: function (key, value) {\n        if (value !== undefined) {\n          this.set('_isDisabled', value);\n        }\n\n        return value ? _emberMetal.get(this, 'disabledClass') : false;\n      }\n    }),\n\n    _computeActive: function (routerState) {\n      if (_emberMetal.get(this, 'loading')) {\n        return false;\n      }\n\n      var routing = _emberMetal.get(this, '_routing');\n      var models = _emberMetal.get(this, 'models');\n      var resolvedQueryParams = _emberMetal.get(this, 'resolvedQueryParams');\n\n      var currentWhen = _emberMetal.get(this, 'current-when');\n      var isCurrentWhenSpecified = !!currentWhen;\n      currentWhen = currentWhen || _emberMetal.get(this, 'qualifiedRouteName');\n      currentWhen = currentWhen.split(' ');\n\n      for (var i = 0; i < currentWhen.length; i++) {\n        if (routing.isActiveForRoute(models, resolvedQueryParams, currentWhen[i], routerState, isCurrentWhenSpecified)) {\n          return _emberMetal.get(this, 'activeClass');\n        }\n      }\n\n      return false;\n    },\n\n    /**\n      Accessed as a classname binding to apply the `LinkComponent`'s `activeClass`\n      CSS `class` to the element when the link is active.\n       A `LinkComponent` is considered active when its `currentWhen` property is `true`\n      or the application's current route is the route the `LinkComponent` would trigger\n      transitions into.\n       The `currentWhen` property can match against multiple routes by separating\n      route names using the ` ` (space) character.\n       @property active\n      @private\n    */\n    active: _emberMetal.computed('attrs.params', '_routing.currentState', function computeLinkToComponentActive() {\n      var currentState = _emberMetal.get(this, '_routing.currentState');\n      if (!currentState) {\n        return false;\n      }\n\n      return this._computeActive(currentState);\n    }),\n\n    willBeActive: _emberMetal.computed('_routing.targetState', function computeLinkToComponentWillBeActive() {\n      var routing = _emberMetal.get(this, '_routing');\n      var targetState = _emberMetal.get(routing, 'targetState');\n      if (_emberMetal.get(routing, 'currentState') === targetState) {\n        return;\n      }\n\n      return !!this._computeActive(targetState);\n    }),\n\n    transitioningIn: _emberMetal.computed('active', 'willBeActive', function computeLinkToComponentTransitioningIn() {\n      var willBeActive = _emberMetal.get(this, 'willBeActive');\n      if (typeof willBeActive === 'undefined') {\n        return false;\n      }\n\n      return !_emberMetal.get(this, 'active') && willBeActive && 'ember-transitioning-in';\n    }),\n\n    transitioningOut: _emberMetal.computed('active', 'willBeActive', function computeLinkToComponentTransitioningOut() {\n      var willBeActive = _emberMetal.get(this, 'willBeActive');\n      if (typeof willBeActive === 'undefined') {\n        return false;\n      }\n\n      return _emberMetal.get(this, 'active') && !willBeActive && 'ember-transitioning-out';\n    }),\n\n    /**\n      Event handler that invokes the link, activating the associated route.\n       @method _invoke\n      @param {Event} event\n      @private\n    */\n    _invoke: function (event) {\n      if (!_emberViews.isSimpleClick(event)) {\n        return true;\n      }\n\n      var preventDefault = _emberMetal.get(this, 'preventDefault');\n      var targetAttribute = _emberMetal.get(this, 'target');\n\n      if (preventDefault !== false) {\n        if (!targetAttribute || targetAttribute === '_self') {\n          event.preventDefault();\n        }\n      }\n\n      if (_emberMetal.get(this, 'bubbles') === false) {\n        event.stopPropagation();\n      }\n\n      if (_emberMetal.get(this, '_isDisabled')) {\n        return false;\n      }\n\n      if (_emberMetal.get(this, 'loading')) {\n        _emberConsole.default.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.');\n        return false;\n      }\n\n      if (targetAttribute && targetAttribute !== '_self') {\n        return false;\n      }\n\n      var qualifiedRouteName = _emberMetal.get(this, 'qualifiedRouteName');\n      var models = _emberMetal.get(this, 'models');\n      var queryParams = _emberMetal.get(this, 'queryParams.values');\n      var shouldReplace = _emberMetal.get(this, 'replace');\n\n      var payload = {\n        queryParams: queryParams,\n        routeName: qualifiedRouteName\n      };\n\n      _emberMetal.flaggedInstrument('interaction.link-to', payload, this._generateTransition(payload, qualifiedRouteName, models, queryParams, shouldReplace));\n    },\n\n    _generateTransition: function (payload, qualifiedRouteName, models, queryParams, shouldReplace) {\n      var routing = _emberMetal.get(this, '_routing');\n      return function () {\n        payload.transition = routing.transitionTo(qualifiedRouteName, models, queryParams, shouldReplace);\n      };\n    },\n\n    queryParams: null,\n\n    qualifiedRouteName: _emberMetal.computed('targetRouteName', '_routing.currentState', function computeLinkToComponentQualifiedRouteName() {\n      var params = _emberMetal.get(this, 'params').slice();\n      var lastParam = params[params.length - 1];\n      if (lastParam && lastParam.isQueryParams) {\n        params.pop();\n      }\n      var onlyQueryParamsSupplied = this[_emberGlimmerComponent.HAS_BLOCK] ? params.length === 0 : params.length === 1;\n      if (onlyQueryParamsSupplied) {\n        return _emberMetal.get(this, '_routing.currentRouteName');\n      }\n      return _emberMetal.get(this, 'targetRouteName');\n    }),\n\n    resolvedQueryParams: _emberMetal.computed('queryParams', function computeLinkToComponentResolvedQueryParams() {\n      var resolvedQueryParams = {};\n      var queryParams = _emberMetal.get(this, 'queryParams');\n\n      if (!queryParams) {\n        return resolvedQueryParams;\n      }\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\n      return resolvedQueryParams;\n    }),\n\n    /**\n      Sets the element's `href` attribute to the url for\n      the `LinkComponent`'s targeted route.\n       If the `LinkComponent`'s `tagName` is changed to a value other\n      than `a`, this property will be ignored.\n       @property href\n      @private\n    */\n    href: _emberMetal.computed('models', 'qualifiedRouteName', function computeLinkToComponentHref() {\n      if (_emberMetal.get(this, 'tagName') !== 'a') {\n        return;\n      }\n\n      var qualifiedRouteName = _emberMetal.get(this, 'qualifiedRouteName');\n      var models = _emberMetal.get(this, 'models');\n\n      if (_emberMetal.get(this, 'loading')) {\n        return _emberMetal.get(this, 'loadingHref');\n      }\n\n      var routing = _emberMetal.get(this, '_routing');\n      var queryParams = _emberMetal.get(this, 'queryParams.values');\n\n      _emberDebug.runInDebug(function () {\n        /*\n         * Unfortunately, to get decent error messages, we need to do this.\n         * In some future state we should be able to use a \"feature flag\"\n         * which allows us to strip this without needing to call it twice.\n         *\n         * if (isDebugBuild()) {\n         *   // Do the useful debug thing, probably including try/catch.\n         * } else {\n         *   // Do the performant thing.\n         * }\n         */\n        try {\n          routing.generateURL(qualifiedRouteName, models, queryParams);\n        } catch (e) {\n          _emberDebug.assert('You attempted to define a `{{link-to \"' + qualifiedRouteName + '\"}}` but did not pass the parameters required for generating its dynamic segments. ' + e.message);\n        }\n      });\n\n      return routing.generateURL(qualifiedRouteName, models, queryParams);\n    }),\n\n    loading: _emberMetal.computed('_modelsAreLoaded', 'qualifiedRouteName', function computeLinkToComponentLoading() {\n      var qualifiedRouteName = _emberMetal.get(this, 'qualifiedRouteName');\n      var modelsAreLoaded = _emberMetal.get(this, '_modelsAreLoaded');\n\n      if (!modelsAreLoaded || qualifiedRouteName == null) {\n        return _emberMetal.get(this, 'loadingClass');\n      }\n    }),\n\n    _modelsAreLoaded: _emberMetal.computed('models', function computeLinkToComponentModelsAreLoaded() {\n      var models = _emberMetal.get(this, 'models');\n      for (var i = 0; i < models.length; i++) {\n        if (models[i] == null) {\n          return false;\n        }\n      }\n\n      return true;\n    }),\n\n    _getModels: function (params) {\n      var modelCount = params.length - 1;\n      var models = new Array(modelCount);\n\n      for (var i = 0; i < modelCount; i++) {\n        var value = params[i + 1];\n\n        while (_emberRuntime.ControllerMixin.detect(value)) {\n          _emberDebug.deprecate('Providing `{{link-to}}` with a param that is wrapped in a controller is deprecated. ' + (this.parentView ? 'Please update `' + this.parentView + '` to use `{{link-to \"post\" someController.model}}` instead.' : ''), false, { id: 'ember-routing-views.controller-wrapped-param', until: '3.0.0' });\n          value = value.get('model');\n        }\n\n        models[i] = value;\n      }\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\n    didReceiveAttrs: function () {\n      var queryParams = undefined;\n\n      var params = _emberMetal.get(this, 'params');\n\n      if (params) {\n        // Do not mutate params in place\n        params = params.slice();\n      }\n\n      _emberDebug.assert('You must provide one or more parameters to the link-to component.', (function () {\n        if (!params) {\n          return false;\n        }\n\n        return params.length;\n      })());\n\n      var disabledWhen = _emberMetal.get(this, 'disabledWhen');\n      if (disabledWhen !== undefined) {\n        this.set('disabled', disabledWhen);\n      }\n\n      // Process the positional arguments, in order.\n      // 1. Inline link title comes first, if present.\n      if (!this[_emberGlimmerComponent.HAS_BLOCK]) {\n        this.set('linkTitle', params.shift());\n      }\n\n      // 2. `targetRouteName` is now always at index 0.\n      this.set('targetRouteName', params[0]);\n\n      // 3. The last argument (if still remaining) is the `queryParams` object.\n      var lastParam = params[params.length - 1];\n\n      if (lastParam && lastParam.isQueryParams) {\n        queryParams = params.pop();\n      } else {\n        queryParams = { values: {} };\n      }\n      this.set('queryParams', queryParams);\n\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\n  LinkComponent.toString = function () {\n    return 'LinkComponent';\n  };\n\n  LinkComponent.reopenClass({\n    positionalParams: 'params'\n  });\n\n  exports.default = LinkComponent;\n});\nenifed('ember-glimmer/components/text_area', ['exports', 'ember-glimmer/component', 'ember-views', 'ember-glimmer/templates/empty'], function (exports, _emberGlimmerComponent, _emberViews, _emberGlimmerTemplatesEmpty) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n  'use strict';\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      * `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 `App.ApplicationController`\n    will be updated live as the user types 'Lots of text that IS bound' into\n    the text area of their browser's window.\n  \n    ```javascript\n    App.ApplicationController = Ember.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 `Ember.computed.oneWay`:\n  \n    ```javascript\n    App.ApplicationController = Ember.Controller.extend({\n      writtenWords: \"Lots of text that IS bound\",\n      outputWrittenWords: Ember.computed.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 `Ember.computed.alias`. Type into\n    either text area box and they'll both stay in sync. Note that\n    `Ember.computed.alias` costs more in terms of performance, so only use it when\n    your really binding in both directions:\n  \n    ```javascript\n    App.ApplicationController = Ember.Controller.extend({\n      writtenWords: \"Lots of text that IS bound\",\n      twoWayWrittenWords: Ember.computed.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/classes/Ember.TextArea.html)\n  \n    ### Extension\n  \n    Internally, `{{textarea}}` creates an instance of `Ember.TextArea`, passing\n    arguments from the helper to `Ember.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 `Ember.TextArea` or\n    `Ember.TextSupport` and adding it to the `attributeBindings` concatenated\n    property:\n  \n    ```javascript\n    Ember.TextArea.reopen({\n      attributeBindings: ['data-error']\n    });\n    ```\n  \n    Keep in mind when writing `Ember.TextArea` subclasses that `Ember.TextArea`\n    itself extends `Ember.Component`. Expect isolated component semantics, not\n    legacy 1.x view semantics (like `controller` being present).\n  \n    See more about [Ember components](/api/classes/Ember.Component.html)\n  \n    @method textarea\n    @for Ember.Templates.helpers\n    @param {Hash} options\n    @public\n  */\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/classes/Ember.Templates.helpers.html#method_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. See [Ember.View](/api/classes/Ember.View.html)'s\n    layout section for more information.\n  \n    @class TextArea\n    @namespace Ember\n    @extends Ember.Component\n    @uses Ember.TextSupport\n    @public\n  */\n  exports.default = _emberGlimmerComponent.default.extend(_emberViews.TextSupport, {\n    classNames: ['ember-text-area'],\n\n    layout: _emberGlimmerTemplatesEmpty.default,\n\n    tagName: 'textarea',\n    attributeBindings: ['rows', 'cols', 'name', 'selectionEnd', 'selectionStart', 'wrap', 'lang', 'dir', 'value'],\n    rows: null,\n    cols: null\n  });\n});\nenifed('ember-glimmer/components/text_field', ['exports', 'ember-metal', 'ember-environment', 'ember-glimmer/component', 'ember-glimmer/templates/empty', 'ember-views'], function (exports, _emberMetal, _emberEnvironment, _emberGlimmerComponent, _emberGlimmerTemplatesEmpty, _emberViews) {\n  /**\n  @module ember\n  @submodule ember-views\n  */\n  'use strict';\n\n  var inputTypeTestElement = undefined;\n  var inputTypes = Object.create(null);\n  function canSetTypeOfInput(type) {\n    if (type in inputTypes) {\n      return inputTypes[type];\n    }\n\n    // if running in outside of a browser always return the\n    // original type\n    if (!_emberEnvironment.environment.hasDOM) {\n      inputTypes[type] = type;\n\n      return type;\n    }\n\n    if (!inputTypeTestElement) {\n      inputTypeTestElement = document.createElement('input');\n    }\n\n    try {\n      inputTypeTestElement.type = type;\n    } catch (e) {\n      // ignored\n    }\n\n    return inputTypes[type] = inputTypeTestElement.type === type;\n  }\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/classes/Ember.Templates.helpers.html#method_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. See [Ember.View](/api/classes/Ember.View.html)'s\n    layout section for more information.\n  \n    @class TextField\n    @namespace Ember\n    @extends Ember.Component\n    @uses Ember.TextSupport\n    @public\n  */\n  exports.default = _emberGlimmerComponent.default.extend(_emberViews.TextSupport, {\n    layout: _emberGlimmerTemplatesEmpty.default,\n    classNames: ['ember-text-field'],\n    tagName: 'input',\n    attributeBindings: ['accept', 'autocomplete', 'autosave', 'dir', 'formaction', 'formenctype', 'formmethod', 'formnovalidate', 'formtarget', 'height', 'inputmode', 'lang', 'list', 'max', 'min', 'multiple', 'name', 'pattern', 'size', 'step', 'type', 'value', 'width'],\n\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    /**\n      The `type` attribute of the input element.\n       @property type\n      @type String\n      @default \"text\"\n      @public\n    */\n    type: _emberMetal.computed({\n      get: function () {\n        return 'text';\n      },\n\n      set: function (key, value) {\n        var type = 'text';\n\n        if (canSetTypeOfInput(value)) {\n          type = value;\n        }\n\n        return type;\n      }\n    }),\n\n    /**\n      The `size` of the text field in characters.\n       @property size\n      @type String\n      @default null\n      @public\n    */\n    size: null,\n\n    /**\n      The `pattern` attribute of input element.\n       @property pattern\n      @type String\n      @default null\n      @public\n    */\n    pattern: null,\n\n    /**\n      The `min` attribute of input element used with `type=\"number\"` or `type=\"range\"`.\n       @property min\n      @type String\n      @default null\n      @since 1.4.0\n      @public\n    */\n    min: null,\n\n    /**\n      The `max` attribute of input element used with `type=\"number\"` or `type=\"range\"`.\n       @property max\n      @type String\n      @default null\n      @since 1.4.0\n      @public\n    */\n    max: null\n  });\n});\nenifed('ember-glimmer/dom', ['exports', '@glimmer/runtime', '@glimmer/node'], function (exports, _glimmerRuntime, _glimmerNode) {\n  'use strict';\n\n  exports.DOMChanges = _glimmerRuntime.DOMChanges;\n  exports.DOMTreeConstruction = _glimmerRuntime.DOMTreeConstruction;\n  exports.NodeDOMTreeConstruction = _glimmerNode.NodeDOMTreeConstruction;\n});\nenifed('ember-glimmer/environment', ['exports', 'ember-utils', 'ember-metal', 'ember-debug', 'ember-views', '@glimmer/runtime', 'ember-glimmer/syntax/curly-component', 'ember-glimmer/syntax', 'ember-glimmer/utils/iterable', 'ember-glimmer/utils/references', 'ember-glimmer/utils/debug-stack', 'ember-glimmer/helpers/if-unless', 'ember-glimmer/helpers/action', 'ember-glimmer/helpers/component', 'ember-glimmer/helpers/concat', 'ember-glimmer/helpers/get', 'ember-glimmer/helpers/hash', 'ember-glimmer/helpers/loc', 'ember-glimmer/helpers/log', 'ember-glimmer/helpers/mut', 'ember-glimmer/helpers/readonly', 'ember-glimmer/helpers/unbound', 'ember-glimmer/helpers/-class', 'ember-glimmer/helpers/-input-type', 'ember-glimmer/helpers/query-param', 'ember-glimmer/helpers/each-in', 'ember-glimmer/helpers/-normalize-class', 'ember-glimmer/helpers/-html-safe', 'ember-glimmer/protocol-for-url', 'container', 'ember-glimmer/modifiers/action'], function (exports, _emberUtils, _emberMetal, _emberDebug, _emberViews, _glimmerRuntime, _emberGlimmerSyntaxCurlyComponent, _emberGlimmerSyntax, _emberGlimmerUtilsIterable, _emberGlimmerUtilsReferences, _emberGlimmerUtilsDebugStack, _emberGlimmerHelpersIfUnless, _emberGlimmerHelpersAction, _emberGlimmerHelpersComponent, _emberGlimmerHelpersConcat, _emberGlimmerHelpersGet, _emberGlimmerHelpersHash, _emberGlimmerHelpersLoc, _emberGlimmerHelpersLog, _emberGlimmerHelpersMut, _emberGlimmerHelpersReadonly, _emberGlimmerHelpersUnbound, _emberGlimmerHelpersClass, _emberGlimmerHelpersInputType, _emberGlimmerHelpersQueryParam, _emberGlimmerHelpersEachIn, _emberGlimmerHelpersNormalizeClass, _emberGlimmerHelpersHtmlSafe, _emberGlimmerProtocolForUrl, _container, _emberGlimmerModifiersAction) {\n  'use strict';\n\n  var Environment = (function (_GlimmerEnvironment) {\n    babelHelpers.inherits(Environment, _GlimmerEnvironment);\n\n    Environment.create = function create(options) {\n      return new Environment(options);\n    };\n\n    function Environment(_ref) {\n      var _this = this;\n\n      var owner = _ref[_emberUtils.OWNER];\n      babelHelpers.classCallCheck(this, Environment);\n\n      _GlimmerEnvironment.apply(this, arguments);\n      this.owner = owner;\n      this.isInteractive = owner.lookup('-environment:main').isInteractive;\n\n      // can be removed once https://github.com/tildeio/glimmer/pull/305 lands\n      this.destroyedComponents = [];\n\n      _emberGlimmerProtocolForUrl.default(this);\n\n      this._definitionCache = new _emberMetal.Cache(2000, function (_ref2) {\n        var name = _ref2.name;\n        var source = _ref2.source;\n        var owner = _ref2.owner;\n\n        var _lookupComponent = _emberViews.lookupComponent(owner, name, { source: source });\n\n        var componentFactory = _lookupComponent.component;\n        var layout = _lookupComponent.layout;\n\n        if (componentFactory || layout) {\n          return new _emberGlimmerSyntaxCurlyComponent.CurlyComponentDefinition(name, componentFactory, layout);\n        }\n      }, function (_ref3) {\n        var name = _ref3.name;\n        var source = _ref3.source;\n        var owner = _ref3.owner;\n\n        var expandedName = source && owner._resolveLocalLookupName(name, source) || name;\n        var ownerGuid = _emberUtils.guidFor(owner);\n\n        return ownerGuid + '|' + expandedName;\n      });\n\n      this._templateCache = new _emberMetal.Cache(1000, function (_ref4) {\n        var Template = _ref4.Template;\n        var owner = _ref4.owner;\n\n        if (Template.create) {\n          var _Template$create;\n\n          // we received a factory\n          return Template.create((_Template$create = { env: _this }, _Template$create[_emberUtils.OWNER] = owner, _Template$create));\n        } else {\n          // we were provided an instance already\n          return Template;\n        }\n      }, function (_ref5) {\n        var Template = _ref5.Template;\n        var owner = _ref5.owner;\n        return _emberUtils.guidFor(owner) + '|' + Template.id;\n      });\n\n      this._compilerCache = new _emberMetal.Cache(10, function (Compiler) {\n        return new _emberMetal.Cache(2000, function (template) {\n          var compilable = new Compiler(template);\n          return _glimmerRuntime.compileLayout(compilable, _this);\n        }, function (template) {\n          var owner = template.meta.owner;\n          return _emberUtils.guidFor(owner) + '|' + template.id;\n        });\n      }, function (Compiler) {\n        return Compiler.id;\n      });\n\n      this.builtInModifiers = {\n        action: new _emberGlimmerModifiersAction.default()\n      };\n\n      this.builtInHelpers = {\n        if: _emberGlimmerHelpersIfUnless.inlineIf,\n        action: _emberGlimmerHelpersAction.default,\n        component: _emberGlimmerHelpersComponent.default,\n        concat: _emberGlimmerHelpersConcat.default,\n        get: _emberGlimmerHelpersGet.default,\n        hash: _emberGlimmerHelpersHash.default,\n        loc: _emberGlimmerHelpersLoc.default,\n        log: _emberGlimmerHelpersLog.default,\n        mut: _emberGlimmerHelpersMut.default,\n        'query-params': _emberGlimmerHelpersQueryParam.default,\n        readonly: _emberGlimmerHelpersReadonly.default,\n        unbound: _emberGlimmerHelpersUnbound.default,\n        unless: _emberGlimmerHelpersIfUnless.inlineUnless,\n        '-class': _emberGlimmerHelpersClass.default,\n        '-each-in': _emberGlimmerHelpersEachIn.default,\n        '-input-type': _emberGlimmerHelpersInputType.default,\n        '-normalize-class': _emberGlimmerHelpersNormalizeClass.default,\n        '-html-safe': _emberGlimmerHelpersHtmlSafe.default,\n        '-get-dynamic-var': _glimmerRuntime.getDynamicVar\n      };\n\n      _emberDebug.runInDebug(function () {\n        return _this.debugStack = new _emberGlimmerUtilsDebugStack.default();\n      });\n    }\n\n    Environment.prototype.macros = function macros() {\n      var macros = _GlimmerEnvironment.prototype.macros.call(this);\n      _emberGlimmerSyntax.populateMacros(macros.blocks, macros.inlines);\n      return macros;\n    };\n\n    Environment.prototype.hasComponentDefinition = function hasComponentDefinition() {\n      return false;\n    };\n\n    Environment.prototype.getComponentDefinition = function getComponentDefinition(path, symbolTable) {\n      var name = path[0];\n      var blockMeta = symbolTable.getMeta();\n      var owner = blockMeta.owner;\n      var source = blockMeta.moduleName && 'template:' + blockMeta.moduleName;\n\n      return this._definitionCache.get({ name: name, source: source, owner: owner });\n    };\n\n    // normally templates should be exported at the proper module name\n    // and cached in the container, but this cache supports templates\n    // that have been set directly on the component's layout property\n\n    Environment.prototype.getTemplate = function getTemplate(Template, owner) {\n      return this._templateCache.get({ Template: Template, owner: owner });\n    };\n\n    // a Compiler can wrap the template so it needs its own cache\n\n    Environment.prototype.getCompiledBlock = function getCompiledBlock(Compiler, template) {\n      var compilerCache = this._compilerCache.get(Compiler);\n      return compilerCache.get(template);\n    };\n\n    Environment.prototype.hasPartial = function hasPartial(name, symbolTable) {\n      var _symbolTable$getMeta = symbolTable.getMeta();\n\n      var owner = _symbolTable$getMeta.owner;\n\n      return _emberViews.hasPartial(name, owner);\n    };\n\n    Environment.prototype.lookupPartial = function lookupPartial(name, symbolTable) {\n      var _symbolTable$getMeta2 = symbolTable.getMeta();\n\n      var owner = _symbolTable$getMeta2.owner;\n\n      var partial = {\n        template: _emberViews.lookupPartial(name, owner)\n      };\n\n      if (partial.template) {\n        return partial;\n      } else {\n        throw new Error(name + ' is not a partial');\n      }\n    };\n\n    Environment.prototype.hasHelper = function hasHelper(name, symbolTable) {\n      if (this.builtInHelpers[name]) {\n        return true;\n      }\n\n      var blockMeta = symbolTable.getMeta();\n      var owner = blockMeta.owner;\n      var options = { source: 'template:' + blockMeta.moduleName };\n\n      return owner.hasRegistration('helper:' + name, options) || owner.hasRegistration('helper:' + name);\n    };\n\n    Environment.prototype.lookupHelper = function lookupHelper(name, symbolTable) {\n      var helper = this.builtInHelpers[name];\n\n      if (helper) {\n        return helper;\n      }\n\n      var blockMeta = symbolTable.getMeta();\n      var owner = blockMeta.owner;\n      var options = blockMeta.moduleName && { source: 'template:' + blockMeta.moduleName } || {};\n\n      if (true) {\n        var _ret = (function () {\n          var helperFactory = owner[_container.FACTORY_FOR]('helper:' + name, options) || owner[_container.FACTORY_FOR]('helper:' + name);\n\n          // TODO: try to unify this into a consistent protocol to avoid wasteful closure allocations\n          if (helperFactory.class.isHelperInstance) {\n            return {\n              v: function (vm, args) {\n                return _emberGlimmerUtilsReferences.SimpleHelperReference.create(helperFactory.class.compute, args);\n              }\n            };\n          } else if (helperFactory.class.isHelperFactory) {\n            if (!true) {\n              helperFactory = helperFactory.create();\n            }\n            return {\n              v: function (vm, args) {\n                return _emberGlimmerUtilsReferences.ClassBasedHelperReference.create(helperFactory, vm, args);\n              }\n            };\n          } else {\n            throw new Error(name + ' is not a helper');\n          }\n        })();\n\n        if (typeof _ret === 'object') return _ret.v;\n      } else {\n        var _ret2 = (function () {\n          var helperFactory = owner.lookup('helper:' + name, options) || owner.lookup('helper:' + name);\n\n          // TODO: try to unify this into a consistent protocol to avoid wasteful closure allocations\n          if (helperFactory.isHelperInstance) {\n            return {\n              v: function (vm, args) {\n                return _emberGlimmerUtilsReferences.SimpleHelperReference.create(helperFactory.compute, args);\n              }\n            };\n          } else if (helperFactory.isHelperFactory) {\n            return {\n              v: function (vm, args) {\n                return _emberGlimmerUtilsReferences.ClassBasedHelperReference.create(helperFactory, vm, args);\n              }\n            };\n          } else {\n            throw new Error(name + ' is not a helper');\n          }\n        })();\n\n        if (typeof _ret2 === 'object') return _ret2.v;\n      }\n    };\n\n    Environment.prototype.hasModifier = function hasModifier(name) {\n      return !!this.builtInModifiers[name];\n    };\n\n    Environment.prototype.lookupModifier = function lookupModifier(name) {\n      var modifier = this.builtInModifiers[name];\n\n      if (modifier) {\n        return modifier;\n      } else {\n        throw new Error(name + ' is not a modifier');\n      }\n    };\n\n    Environment.prototype.toConditionalReference = function toConditionalReference(reference) {\n      return _emberGlimmerUtilsReferences.ConditionalReference.create(reference);\n    };\n\n    Environment.prototype.iterableFor = function iterableFor(ref, args) {\n      var keyPath = args.named.get('key').value();\n      return _emberGlimmerUtilsIterable.default(ref, keyPath);\n    };\n\n    Environment.prototype.scheduleInstallModifier = function scheduleInstallModifier() {\n      if (this.isInteractive) {\n        var _GlimmerEnvironment$prototype$scheduleInstallModifier;\n\n        (_GlimmerEnvironment$prototype$scheduleInstallModifier = _GlimmerEnvironment.prototype.scheduleInstallModifier).call.apply(_GlimmerEnvironment$prototype$scheduleInstallModifier, [this].concat(babelHelpers.slice.call(arguments)));\n      }\n    };\n\n    Environment.prototype.scheduleUpdateModifier = function scheduleUpdateModifier() {\n      if (this.isInteractive) {\n        var _GlimmerEnvironment$prototype$scheduleUpdateModifier;\n\n        (_GlimmerEnvironment$prototype$scheduleUpdateModifier = _GlimmerEnvironment.prototype.scheduleUpdateModifier).call.apply(_GlimmerEnvironment$prototype$scheduleUpdateModifier, [this].concat(babelHelpers.slice.call(arguments)));\n      }\n    };\n\n    Environment.prototype.didDestroy = function didDestroy(destroyable) {\n      destroyable.destroy();\n    };\n\n    Environment.prototype.begin = function begin() {\n      this.inTransaction = true;\n\n      _GlimmerEnvironment.prototype.begin.call(this);\n    };\n\n    Environment.prototype.commit = function commit() {\n      var destroyedComponents = this.destroyedComponents;\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 (var i = 0; i < destroyedComponents.length; i++) {\n        destroyedComponents[i].destroy();\n      }\n\n      _GlimmerEnvironment.prototype.commit.call(this);\n\n      this.inTransaction = false;\n    };\n\n    return Environment;\n  })(_glimmerRuntime.Environment);\n\n  exports.default = Environment;\n\n  _emberDebug.runInDebug(function () {\n    var StyleAttributeManager = (function (_AttributeManager) {\n      babelHelpers.inherits(StyleAttributeManager, _AttributeManager);\n\n      function StyleAttributeManager() {\n        babelHelpers.classCallCheck(this, StyleAttributeManager);\n\n        _AttributeManager.apply(this, arguments);\n      }\n\n      StyleAttributeManager.prototype.setAttribute = function setAttribute(dom, element, value) {\n        var _AttributeManager$prototype$setAttribute;\n\n        _emberDebug.warn(_emberViews.constructStyleDeprecationMessage(value), (function () {\n          if (value === null || value === undefined || _glimmerRuntime.isSafeString(value)) {\n            return true;\n          }\n          return false;\n        })(), { id: 'ember-htmlbars.style-xss-warning' });\n        (_AttributeManager$prototype$setAttribute = _AttributeManager.prototype.setAttribute).call.apply(_AttributeManager$prototype$setAttribute, [this].concat(babelHelpers.slice.call(arguments)));\n      };\n\n      StyleAttributeManager.prototype.updateAttribute = function updateAttribute(dom, element, value) {\n        var _AttributeManager$prototype$updateAttribute;\n\n        _emberDebug.warn(_emberViews.constructStyleDeprecationMessage(value), (function () {\n          if (value === null || value === undefined || _glimmerRuntime.isSafeString(value)) {\n            return true;\n          }\n          return false;\n        })(), { id: 'ember-htmlbars.style-xss-warning' });\n        (_AttributeManager$prototype$updateAttribute = _AttributeManager.prototype.updateAttribute).call.apply(_AttributeManager$prototype$updateAttribute, [this].concat(babelHelpers.slice.call(arguments)));\n      };\n\n      return StyleAttributeManager;\n    })(_glimmerRuntime.AttributeManager);\n\n    var STYLE_ATTRIBUTE_MANANGER = new StyleAttributeManager('style');\n\n    Environment.prototype.attributeFor = function (element, attribute, isTrusting, namespace) {\n      if (attribute === 'style' && !isTrusting) {\n        return STYLE_ATTRIBUTE_MANANGER;\n      }\n\n      return _glimmerRuntime.Environment.prototype.attributeFor.call(this, element, attribute, isTrusting);\n    };\n  });\n});\nenifed('ember-glimmer/helper', ['exports', 'ember-utils', 'ember-runtime', '@glimmer/reference'], function (exports, _emberUtils, _emberRuntime, _glimmerReference) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n\n  'use strict';\n\n  exports.helper = helper;\n  var RECOMPUTE_TAG = _emberUtils.symbol('RECOMPUTE_TAG');\n\n  exports.RECOMPUTE_TAG = RECOMPUTE_TAG;\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    ```js\n    export default Ember.Helper.extend({\n      compute(params, hash) {\n        let cents = params[0];\n        let currency = hash.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 an will accept\n    injected dependencies.\n  \n    Additionally, class helpers can call `recompute` to force a new computation.\n  \n    @class Ember.Helper\n    @public\n    @since 1.13.0\n  */\n  var Helper = _emberRuntime.FrameworkObject.extend({\n    isHelperInstance: true,\n\n    init: function () {\n      this._super.apply(this, arguments);\n      this[RECOMPUTE_TAG] = new _glimmerReference.DirtyableTag();\n    },\n\n    /**\n      On a class-based helper, it may be useful to force a recomputation of that\n      helpers value. This is akin to `rerender` on a component.\n       For example, this component will rerender when the `currentUser` on a\n      session service changes:\n       ```js\n      // app/helpers/current-user-email.js\n      export default Ember.Helper.extend({\n        session: Ember.inject.service(),\n        onNewUser: Ember.observer('session.currentUser', function() {\n          this.recompute();\n        }),\n        compute() {\n          return this.get('session.currentUser.email');\n        }\n      });\n      ```\n       @method recompute\n      @public\n      @since 1.13.0\n    */\n    recompute: function () {\n      this[RECOMPUTE_TAG].dirty();\n    }\n\n    /**\n      Override this function when writing a class-based helper.\n       @method compute\n      @param {Array} params The positional arguments to the helper\n      @param {Object} hash The named arguments to the helper\n      @public\n      @since 1.13.0\n    */\n  });\n\n  Helper.reopenClass({\n    isHelperFactory: true\n  });\n\n  /**\n    In many cases, the ceremony of a full `Ember.Helper` class is not required.\n    The `helper` method create pure-function helpers without instances. For\n    example:\n  \n    ```js\n    // app/helpers/format-currency.js\n    export default Ember.Helper.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    @public\n    @since 1.13.0\n  */\n\n  function helper(helperFn) {\n    return {\n      isHelperInstance: true,\n      compute: helperFn\n    };\n  }\n\n  exports.default = Helper;\n});\nenifed('ember-glimmer/helpers/-class', ['exports', 'ember-glimmer/utils/references', 'ember-runtime'], function (exports, _emberGlimmerUtilsReferences, _emberRuntime) {\n  'use strict';\n\n  function classHelper(_ref) {\n    var positional = _ref.positional;\n\n    var path = positional.at(0);\n    var args = positional.length;\n    var value = path.value();\n\n    if (value === true) {\n      if (args > 1) {\n        return _emberRuntime.String.dasherize(positional.at(1).value());\n      }\n      return null;\n    }\n\n    if (value === false) {\n      if (args > 2) {\n        return _emberRuntime.String.dasherize(positional.at(2).value());\n      }\n      return null;\n    }\n\n    return value;\n  }\n\n  exports.default = function (vm, args) {\n    return new _emberGlimmerUtilsReferences.InternalHelperReference(classHelper, args);\n  };\n});\nenifed('ember-glimmer/helpers/-html-safe', ['exports', 'ember-glimmer/utils/references', 'ember-glimmer/utils/string'], function (exports, _emberGlimmerUtilsReferences, _emberGlimmerUtilsString) {\n  'use strict';\n\n  function htmlSafe(_ref) {\n    var positional = _ref.positional;\n\n    var path = positional.at(0);\n    return new _emberGlimmerUtilsString.SafeString(path.value());\n  }\n\n  exports.default = function (vm, args) {\n    return new _emberGlimmerUtilsReferences.InternalHelperReference(htmlSafe, args);\n  };\n});\nenifed('ember-glimmer/helpers/-input-type', ['exports', 'ember-glimmer/utils/references'], function (exports, _emberGlimmerUtilsReferences) {\n  'use strict';\n\n  function inputTypeHelper(_ref) {\n    var positional = _ref.positional;\n    var named = _ref.named;\n\n    var type = positional.at(0).value();\n    if (type === 'checkbox') {\n      return '-checkbox';\n    }\n    return '-text-field';\n  }\n\n  exports.default = function (vm, args) {\n    return new _emberGlimmerUtilsReferences.InternalHelperReference(inputTypeHelper, args);\n  };\n});\nenifed('ember-glimmer/helpers/-normalize-class', ['exports', 'ember-glimmer/utils/references', 'ember-runtime'], function (exports, _emberGlimmerUtilsReferences, _emberRuntime) {\n  'use strict';\n\n  function normalizeClass(_ref) {\n    var positional = _ref.positional;\n    var named = _ref.named;\n\n    var classNameParts = positional.at(0).value().split('.');\n    var className = classNameParts[classNameParts.length - 1];\n    var value = positional.at(1).value();\n\n    if (value === true) {\n      return _emberRuntime.String.dasherize(className);\n    } else if (!value && value !== 0) {\n      return '';\n    } else {\n      return String(value);\n    }\n  }\n\n  exports.default = function (vm, args) {\n    return new _emberGlimmerUtilsReferences.InternalHelperReference(normalizeClass, args);\n  };\n});\nenifed('ember-glimmer/helpers/action', ['exports', 'ember-utils', 'ember-metal', 'ember-glimmer/utils/references', '@glimmer/runtime', '@glimmer/reference', 'ember-debug'], function (exports, _emberUtils, _emberMetal, _emberGlimmerUtilsReferences, _glimmerRuntime, _glimmerReference, _emberDebug) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n  'use strict';\n\n  var INVOKE = _emberUtils.symbol('INVOKE');\n  exports.INVOKE = INVOKE;\n  var ACTION = _emberUtils.symbol('ACTION');\n\n  exports.ACTION = ACTION;\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 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    ```js\n    import Ember from 'ember';\n  \n    export default Ember.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 targetting 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/classes/Ember.Component.html#method_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    ```js\n    export default Ember.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 Ember from 'ember';\n  \n    export default Ember.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 Ember from 'ember';\n  \n    export default Ember.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 Ember from 'ember';\n  \n    export function disableBubbling([action]) {\n      return function(event) {\n        event.stopPropagation();\n        return action(event);\n      };\n    }\n    export default Ember.Helper.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/classes/Ember.View.html#toc_responding-to-browser-events)\n    in the documentation for Ember.View 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/classes/Ember.View.html#toc_event-names) 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 Ember from 'ember';\n  \n    export default Ember.Controller.extend({\n      someService: Ember.inject.service()\n    });\n    ```\n  \n    @method action\n    @for Ember.Templates.helpers\n    @public\n  */\n\n  exports.default = function (vm, args) {\n    var named = args.named;\n    var positional = args.positional;\n\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    var context = positional.at(0);\n    var action = positional.at(1);\n\n    // TODO: Is there a better way of doing this?\n    var debugKey = action._propertyKey;\n\n    var restArgs = undefined;\n\n    if (positional.length === 2) {\n      restArgs = _glimmerRuntime.EvaluatedPositionalArgs.empty();\n    } else {\n      restArgs = _glimmerRuntime.EvaluatedPositionalArgs.create(positional.values.slice(2));\n    }\n\n    var target = named.has('target') ? named.get('target') : context;\n    var processArgs = makeArgsProcessor(named.has('value') && named.get('value'), restArgs);\n\n    var fn = undefined;\n\n    if (typeof action[INVOKE] === 'function') {\n      fn = makeClosureAction(action, action, action[INVOKE], processArgs, debugKey);\n    } else if (_glimmerReference.isConst(target) && _glimmerReference.isConst(action)) {\n      fn = makeClosureAction(context.value(), target.value(), action.value(), processArgs, debugKey);\n    } else {\n      fn = makeDynamicClosureAction(context.value(), target, action, processArgs, debugKey);\n    }\n\n    fn[ACTION] = true;\n\n    return new _emberGlimmerUtilsReferences.UnboundReference(fn);\n  };\n\n  function NOOP(args) {\n    return args;\n  }\n\n  function makeArgsProcessor(valuePathRef, actionArgsRef) {\n    var mergeArgs = null;\n\n    if (actionArgsRef.length > 0) {\n      mergeArgs = function (args) {\n        return actionArgsRef.value().concat(args);\n      };\n    }\n\n    var readValue = null;\n\n    if (valuePathRef) {\n      readValue = function (args) {\n        var valuePath = valuePathRef.value();\n\n        if (valuePath && args.length > 0) {\n          args[0] = _emberMetal.get(args[0], valuePath);\n        }\n\n        return args;\n      };\n    }\n\n    if (mergeArgs && readValue) {\n      return function (args) {\n        return readValue(mergeArgs(args));\n      };\n    } else {\n      return mergeArgs || readValue || NOOP;\n    }\n  }\n\n  function makeDynamicClosureAction(context, targetRef, actionRef, processArgs, debugKey) {\n    // We don't allow undefined/null values, so this creates a throw-away action to trigger the assertions\n    _emberDebug.runInDebug(function () {\n      makeClosureAction(context, targetRef.value(), actionRef.value(), processArgs, debugKey);\n    });\n\n    return function () {\n      return makeClosureAction(context, targetRef.value(), actionRef.value(), processArgs, debugKey).apply(undefined, arguments);\n    };\n  }\n\n  function makeClosureAction(context, target, action, processArgs, debugKey) {\n    var self = undefined,\n        fn = undefined;\n\n    _emberDebug.assert('Action passed is null or undefined in (action) from ' + target + '.', !_emberMetal.isNone(action));\n\n    if (typeof action[INVOKE] === 'function') {\n      self = action;\n      fn = action[INVOKE];\n    } else {\n      var typeofAction = typeof action;\n\n      if (typeofAction === 'string') {\n        self = target;\n        fn = target.actions && target.actions[action];\n\n        _emberDebug.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        _emberDebug.assert('An action could not be made for `' + (debugKey || action) + '` in ' + target + '. Please confirm that you are using either a quoted action name (i.e. `(action \\'' + (debugKey || 'myAction') + '\\')`) or a function available in ' + target + '.', false);\n      }\n    }\n\n    return function () {\n      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      var payload = { target: self, args: args, label: '@glimmer/closure-action' };\n      return _emberMetal.flaggedInstrument('interaction.ember-action', payload, function () {\n        return _emberMetal.run.join.apply(_emberMetal.run, [self, fn].concat(processArgs(args)));\n      });\n    };\n  }\n});\nenifed('ember-glimmer/helpers/component', ['exports', 'ember-utils', 'ember-glimmer/utils/references', 'ember-glimmer/syntax/curly-component', '@glimmer/runtime', 'ember-debug'], function (exports, _emberUtils, _emberGlimmerUtilsReferences, _emberGlimmerSyntaxCurlyComponent, _glimmerRuntime, _emberDebug) {\n  /**\n    @module ember\n    @submodule ember-glimmer\n  */\n  'use strict';\n\n  /**\n    The `{{component}}` helper lets you add instances of `Ember.Component` to a\n    template. See [Ember.Component](/api/classes/Ember.Component.html) for\n    additional information on how a `Component` functions.\n    `{{component}}`'s primary use is for cases where you want to dynamically\n    change which type of component is rendered as the state of your application\n    changes. This helper has three modes: inline, block, and nested.\n  \n    ### Inline Form\n  \n    Given the following template:\n  \n    ```app/application.hbs\n    {{component infographicComponentName}}\n    ```\n  \n    And the following application code:\n  \n    ```app/controllers/application.js\n    export default Ember.Controller.extend({\n      infographicComponentName: computed('isMarketOpen', {\n        get() {\n          if (this.get('isMarketOpen')) {\n            return 'live-updating-chart';\n          } else {\n            return 'market-close-summary';\n          }\n        }\n      })\n    });\n    ```\n  \n    The `live-updating-chart` component will be appended when `isMarketOpen` is\n    `true`, and the `market-close-summary` component will be appended when\n    `isMarketOpen` is `false`. If the value changes while the app is running,\n    the component will be automatically swapped out accordingly.\n    Note: You should not use this helper when you are consistently rendering the same\n    component. In that case, use standard component syntax, for example:\n  \n    ```app/templates/application.hbs\n    {{live-updating-chart}}\n    ```\n  \n    ### Block Form\n  \n    Using the block form of this helper is similar to using the block form\n    of a component. Given the following application template:\n  \n    ```app/templates/application.hbs\n    {{#component infographicComponentName}}\n      Last update: {{lastUpdateTimestamp}}\n    {{/component}}\n    ```\n  \n    The following controller code:\n  \n    ```app/controllers/application.js\n    export default Ember.Controller.extend({\n      lastUpdateTimestamp: computed(function() {\n        return new Date();\n      }),\n  \n      infographicComponentName: computed('isMarketOpen', {\n        get() {\n          if (this.get('isMarketOpen')) {\n            return 'live-updating-chart';\n          } else {\n            return 'market-close-summary';\n          }\n        }\n      })\n    });\n    ```\n  \n    And the following component template:\n  \n    ```app/templates/components/live-updating-chart.hbs\n    {{! chart }}\n    {{yield}}\n    ```\n  \n    The `Last Update: {{lastUpdateTimestamp}}` will be rendered in place of the `{{yield}}`.\n  \n    ### Nested Usage\n  \n    The `component` helper can be used to package a component path with initial attrs.\n    The included attrs can then be merged during the final invocation.\n    For example, given a `person-form` component with the following template:\n  \n    ```app/templates/components/person-form.hbs\n    {{yield (hash\n      nameInput=(component \"my-input-component\" value=model.name placeholder=\"First Name\")\n    )}}\n    ```\n  \n    When yielding the component via the `hash` helper, the component is invoked directly.\n    See the following snippet:\n  \n    ```\n    {{#person-form as |form|}}\n      {{form.nameInput placeholder=\"Username\"}}\n    {{/person-form}}\n    ```\n  \n    Which outputs an input whose value is already bound to `model.name` and `placeholder`\n    is \"Username\".\n  \n    When yielding the component without the hash helper use the `component` helper.\n    For example, below is a `full-name` component template:\n  \n    ```handlebars\n    {{yield (component \"my-input-component\" value=model.name placeholder=\"Name\")}}\n    ```\n  \n    ```\n    {{#full-name as |field|}}\n      {{component field placeholder=\"Full name\"}}\n    {{/full-name}}\n    ```\n  \n    @method component\n    @since 1.11.0\n    @for Ember.Templates.helpers\n    @public\n  */\n\n  var ClosureComponentReference = (function (_CachedReference) {\n    babelHelpers.inherits(ClosureComponentReference, _CachedReference);\n\n    ClosureComponentReference.create = function create(args, symbolTable, env) {\n      return new ClosureComponentReference(args, symbolTable, env);\n    };\n\n    function ClosureComponentReference(args, symbolTable, env) {\n      babelHelpers.classCallCheck(this, ClosureComponentReference);\n\n      _CachedReference.call(this);\n\n      var firstArg = args.positional.at(0);\n      this.defRef = firstArg;\n      this.tag = firstArg.tag;\n      this.env = env;\n      this.symbolTable = symbolTable;\n      this.args = args;\n      this.lastDefinition = undefined;\n      this.lastName = undefined;\n    }\n\n    ClosureComponentReference.prototype.compute = function compute() {\n      // TODO: Figure out how to extract this because it's nearly identical to\n      // DynamicComponentReference::compute(). The only differences besides\n      // currying are in the assertion messages.\n      var args = this.args;\n      var defRef = this.defRef;\n      var env = this.env;\n      var symbolTable = this.symbolTable;\n      var lastDefinition = this.lastDefinition;\n      var lastName = this.lastName;\n\n      var nameOrDef = defRef.value();\n      var definition = null;\n\n      if (nameOrDef && nameOrDef === lastName) {\n        return lastDefinition;\n      }\n\n      this.lastName = nameOrDef;\n\n      if (typeof nameOrDef === 'string') {\n        _emberDebug.assert('You cannot use the input helper as a contextual helper. Please extend Ember.TextField or Ember.Checkbox to use it as a contextual component.', nameOrDef !== 'input');\n        _emberDebug.assert('You cannot use the textarea helper as a contextual helper. Please extend Ember.TextArea to use it as a contextual component.', nameOrDef !== 'textarea');\n        definition = env.getComponentDefinition([nameOrDef], symbolTable);\n        _emberDebug.assert('The component helper cannot be used without a valid component name. You used \"' + nameOrDef + '\" via (component \"' + nameOrDef + '\")', definition);\n      } else if (_glimmerRuntime.isComponentDefinition(nameOrDef)) {\n        definition = nameOrDef;\n      } else {\n        _emberDebug.assert('You cannot create a component from ' + nameOrDef + ' using the {{component}} helper', nameOrDef);\n        return null;\n      }\n\n      var newDef = createCurriedDefinition(definition, args);\n\n      this.lastDefinition = newDef;\n\n      return newDef;\n    };\n\n    return ClosureComponentReference;\n  })(_emberGlimmerUtilsReferences.CachedReference);\n\n  exports.ClosureComponentReference = ClosureComponentReference;\n\n  function createCurriedDefinition(definition, args) {\n    var curriedArgs = curryArgs(definition, args);\n\n    return new _emberGlimmerSyntaxCurlyComponent.CurlyComponentDefinition(definition.name, definition.ComponentClass, definition.template, curriedArgs);\n  }\n\n  var EMPTY_BLOCKS = {\n    default: null,\n    inverse: null\n  };\n\n  _emberDebug.runInDebug(function () {\n    EMPTY_BLOCKS = Object.freeze(EMPTY_BLOCKS);\n  });\n\n  function curryArgs(definition, newArgs) {\n    var args = definition.args;\n    var ComponentClass = definition.ComponentClass;\n\n    var positionalParams = ComponentClass.class.positionalParams;\n\n    // The args being passed in are from the (component ...) invocation,\n    // so the first positional argument is actually the name or component\n    // definition. It needs to be dropped in order for any actual positional\n    // args to coincide with the ComponentClass's positionParams.\n\n    // For \"normal\" curly components this slicing is done at the syntax layer,\n    // but we don't have that luxury here.\n\n    var _newArgs$positional$values = newArgs.positional.values;\n\n    var slicedPositionalArgs = _newArgs$positional$values.slice(1);\n\n    if (positionalParams && slicedPositionalArgs.length) {\n      _emberGlimmerSyntaxCurlyComponent.validatePositionalParameters(newArgs.named, slicedPositionalArgs, positionalParams);\n    }\n\n    var isRest = typeof positionalParams === 'string';\n\n    // For non-rest position params, we need to perform the position -> name mapping\n    // at each layer to avoid a collision later when the args are used to construct\n    // the component instance (inside of processArgs(), inside of create()).\n    var positionalToNamedParams = {};\n\n    if (!isRest && positionalParams && positionalParams.length > 0) {\n      var limit = Math.min(positionalParams.length, slicedPositionalArgs.length);\n\n      for (var i = 0; i < limit; i++) {\n        var _name = positionalParams[i];\n        positionalToNamedParams[_name] = slicedPositionalArgs[i];\n      }\n\n      slicedPositionalArgs.length = 0; // Throw them away since you're merged in.\n    }\n\n    // args (aka 'oldArgs') may be undefined or simply be empty args, so\n    // we need to fall back to an empty array or object.\n    var oldNamed = args && args.named && args.named.map || {};\n    var oldPositional = args && args.positional && args.positional.values || [];\n\n    // Merge positional arrays\n    var mergedPositional = new Array(Math.max(oldPositional.length, slicedPositionalArgs.length));\n    mergedPositional.splice.apply(mergedPositional, [0, oldPositional.length].concat(oldPositional));\n    mergedPositional.splice.apply(mergedPositional, [0, slicedPositionalArgs.length].concat(slicedPositionalArgs));\n\n    // Merge named maps\n    var mergedNamed = _emberUtils.assign({}, oldNamed, positionalToNamedParams, newArgs.named.map);\n\n    var mergedArgs = _glimmerRuntime.EvaluatedArgs.create(_glimmerRuntime.EvaluatedPositionalArgs.create(mergedPositional), _glimmerRuntime.EvaluatedNamedArgs.create(mergedNamed), EMPTY_BLOCKS);\n\n    return mergedArgs;\n  }\n\n  exports.default = function (vm, args, symbolTable) {\n    return ClosureComponentReference.create(args, symbolTable, vm.env);\n  };\n});\nenifed('ember-glimmer/helpers/concat', ['exports', 'ember-glimmer/utils/references', '@glimmer/runtime'], function (exports, _emberGlimmerUtilsReferences, _glimmerRuntime) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n\n  /**\n    Concatenates the given arguments into a string.\n  \n    Example:\n  \n    ```handlebars\n    {{some-component name=(concat firstName \" \" lastName)}}\n  \n    {{! would pass name=\"<first name value> <last name value>\" to the component}}\n    ```\n  \n    @public\n    @method concat\n    @for Ember.Templates.helpers\n    @since 1.13.0\n  */\n  function concat(_ref) {\n    var positional = _ref.positional;\n\n    return positional.value().map(_glimmerRuntime.normalizeTextValue).join('');\n  }\n\n  exports.default = function (vm, args) {\n    return new _emberGlimmerUtilsReferences.InternalHelperReference(concat, args);\n  };\n});\nenifed('ember-glimmer/helpers/each-in', ['exports', 'ember-utils'], function (exports, _emberUtils) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n  'use strict';\n\n  exports.isEachIn = isEachIn;\n\n  /**\n    The `{{#each}}` helper loops over elements in a collection. It is an extension\n    of the base Handlebars `{{#each}}` helper.\n    The default behavior of `{{#each}}` is to yield its inner block once for every\n    item in an array passing the item as the first block parameter.\n  \n    ```javascript\n    var developers = [{ name: 'Yehuda' },{ name: 'Tom' }, { name: 'Paul' }];\n    ```\n  \n    ```handlebars\n    {{#each developers key=\"name\" as |person|}}\n      {{person.name}}\n      {{! `this` is whatever it was outside the #each }}\n    {{/each}}\n    ```\n  \n    The same rules apply to arrays of primitives.\n  \n    ```javascript\n    var developerNames = ['Yehuda', 'Tom', 'Paul']\n    ```\n  \n    ```handlebars\n    {{#each developerNames key=\"@index\" as |name|}}\n      {{name}}\n    {{/each}}\n    ```\n  \n    During iteration, the index of each item in the array is provided as a second block parameter.\n  \n    ```handlebars\n    <ul>\n      {{#each people as |person index|}}\n        <li>Hello, {{person.name}}! You're number {{index}} in line</li>\n      {{/each}}\n    </ul>\n    ```\n  \n    ### Specifying Keys\n  \n    The `key` option is used to tell Ember how to determine if the array being\n    iterated over with `{{#each}}` has changed between renders. By helping Ember\n    detect that some elements in the array are the same, DOM elements can be\n    re-used, significantly improving rendering speed.\n  \n    For example, here's the `{{#each}}` helper with its `key` set to `id`:\n  \n    ```handlebars\n    {{#each model key=\"id\" as |item|}}\n    {{/each}}\n    ```\n  \n    When this `{{#each}}` re-renders, Ember will match up the previously rendered\n    items (and reorder the generated DOM elements) based on each item's `id`\n    property.\n    By default the item's own reference is used.\n  \n    ### {{else}} condition\n  \n    `{{#each}}` can have a matching `{{else}}`. The contents of this block will render\n    if the collection is empty.\n  \n    ```handlebars\n    {{#each developers as |person|}}\n      {{person.name}}\n    {{else}}\n      <p>Sorry, nobody is available for this task.</p>\n    {{/each}}\n    ```\n  \n    @method each\n    @for Ember.Templates.helpers\n    @public\n   */\n\n  /**\n    The `{{each-in}}` helper loops over properties on an object.\n  \n    For example, given a `user` object that looks like:\n  \n    ```javascript\n    {\n      \"name\": \"Shelly Sails\",\n      \"age\": 42\n    }\n    ```\n  \n    This template would display all properties on the `user`\n    object in a list:\n  \n    ```handlebars\n    <ul>\n    {{#each-in user as |key value|}}\n      <li>{{key}}: {{value}}</li>\n    {{/each-in}}\n    </ul>\n    ```\n  \n    Outputting their name and age.\n  \n    @method each-in\n    @for Ember.Templates.helpers\n    @public\n    @since 2.1.0\n  */\n  var EACH_IN_REFERENCE = _emberUtils.symbol('EACH_IN');\n\n  function isEachIn(ref) {\n    return ref && ref[EACH_IN_REFERENCE];\n  }\n\n  exports.default = function (vm, args) {\n    var ref = Object.create(args.positional.at(0));\n    ref[EACH_IN_REFERENCE] = true;\n    return ref;\n  };\n});\nenifed('ember-glimmer/helpers/get', ['exports', 'ember-metal', 'ember-glimmer/utils/references', '@glimmer/reference'], function (exports, _emberMetal, _emberGlimmerUtilsReferences, _glimmerReference) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n\n  /**\n    Dynamically look up a property on an object. The second argument to `{{get}}`\n    should have a string value, although it can be bound.\n  \n    For example, these two usages are equivilent:\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  exports.default = function (vm, args) {\n    return GetHelperReference.create(args.positional.at(0), args.positional.at(1));\n  };\n\n  var GetHelperReference = (function (_CachedReference) {\n    babelHelpers.inherits(GetHelperReference, _CachedReference);\n\n    GetHelperReference.create = function create(sourceReference, pathReference) {\n      if (_glimmerReference.isConst(pathReference)) {\n        var parts = pathReference.value().split('.');\n        return _glimmerReference.referenceFromParts(sourceReference, parts);\n      } else {\n        return new GetHelperReference(sourceReference, pathReference);\n      }\n    };\n\n    function GetHelperReference(sourceReference, pathReference) {\n      babelHelpers.classCallCheck(this, GetHelperReference);\n\n      _CachedReference.call(this);\n      this.sourceReference = sourceReference;\n      this.pathReference = pathReference;\n\n      this.lastPath = null;\n      this.innerReference = null;\n\n      var innerTag = this.innerTag = new _glimmerReference.UpdatableTag(_glimmerReference.CONSTANT_TAG);\n\n      this.tag = _glimmerReference.combine([sourceReference.tag, pathReference.tag, innerTag]);\n    }\n\n    GetHelperReference.prototype.compute = function compute() {\n      var lastPath = this.lastPath;\n      var innerReference = this.innerReference;\n      var innerTag = this.innerTag;\n\n      var path = this.lastPath = this.pathReference.value();\n\n      if (path !== lastPath) {\n        if (path) {\n          var pathType = typeof path;\n\n          if (pathType === 'string') {\n            innerReference = this.innerReference = _glimmerReference.referenceFromParts(this.sourceReference, path.split('.'));\n          } else if (pathType === 'number') {\n            innerReference = this.innerReference = this.sourceReference.get(path);\n          }\n\n          innerTag.update(innerReference.tag);\n        } else {\n          innerReference = this.innerReference = null;\n          innerTag.update(_glimmerReference.CONSTANT_TAG);\n        }\n      }\n\n      return innerReference ? innerReference.value() : null;\n    };\n\n    GetHelperReference.prototype[_emberGlimmerUtilsReferences.UPDATE] = function (value) {\n      _emberMetal.set(this.sourceReference.value(), this.pathReference.value(), value);\n    };\n\n    return GetHelperReference;\n  })(_emberGlimmerUtilsReferences.CachedReference);\n});\nenifed(\"ember-glimmer/helpers/hash\", [\"exports\"], function (exports) {\n   /**\n   @module ember\n   @submodule ember-glimmer\n   */\n\n   /**\n      Use the `{{hash}}` helper to create a hash to pass as an option to your\n      components. This is specially useful for contextual components where you can\n      just yield a hash:\n   \n      ```handlebars\n      {{yield (hash\n         name='Sarah'\n         title=office\n      )}}\n      ```\n   \n      Would result in an object such as:\n   \n      ```js\n      { name: 'Sarah', title: this.get('office') }\n      ```\n   \n      Where the `title` is bound to updates of the `office` property.\n   \n      @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   \"use strict\";\n\n   exports.default = function (vm, args) {\n      return args.named;\n   };\n});\nenifed('ember-glimmer/helpers/if-unless', ['exports', 'ember-debug', 'ember-glimmer/utils/references', '@glimmer/reference'], function (exports, _emberDebug, _emberGlimmerUtilsReferences, _glimmerReference) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n\n  'use strict';\n\n  exports.inlineIf = inlineIf;\n  exports.inlineUnless = inlineUnless;\n\n  var ConditionalHelperReference = (function (_CachedReference) {\n    babelHelpers.inherits(ConditionalHelperReference, _CachedReference);\n\n    ConditionalHelperReference.create = function create(_condRef, _truthyRef, _falsyRef) {\n      var condRef = _emberGlimmerUtilsReferences.ConditionalReference.create(_condRef);\n      var truthyRef = _truthyRef || _emberGlimmerUtilsReferences.UNDEFINED_REFERENCE;\n      var falsyRef = _falsyRef || _emberGlimmerUtilsReferences.UNDEFINED_REFERENCE;\n\n      if (_glimmerReference.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      babelHelpers.classCallCheck(this, ConditionalHelperReference);\n\n      _CachedReference.call(this);\n\n      this.branchTag = new _glimmerReference.UpdatableTag(_glimmerReference.CONSTANT_TAG);\n      this.tag = _glimmerReference.combine([cond.tag, this.branchTag]);\n\n      this.cond = cond;\n      this.truthy = truthy;\n      this.falsy = falsy;\n    }\n\n    /**\n      The `if` helper allows you to conditionally render one of two branches,\n      depending on the \"truthiness\" of a property.\n      For example the following values are all falsey: `false`, `undefined`, `null`, `\"\"`, `0`, `NaN` or an empty array.\n    \n      This helper has two forms, block and inline.\n    \n      ## Block form\n    \n      You can use the block form of `if` to conditionally render a section of the template.\n    \n      To use it, pass the conditional value to the `if` helper,\n      using the block form to wrap the section of template you want to conditionally render.\n      Like so:\n    \n      ```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    ConditionalHelperReference.prototype.compute = function compute() {\n      var cond = this.cond;\n      var truthy = this.truthy;\n      var falsy = this.falsy;\n\n      var branch = cond.value() ? truthy : falsy;\n\n      this.branchTag.update(branch.tag);\n\n      return branch.value();\n    };\n\n    return ConditionalHelperReference;\n  })(_emberGlimmerUtilsReferences.CachedReference);\n\n  function inlineIf(vm, _ref) {\n    var positional = _ref.positional;\n\n    switch (positional.length) {\n      case 2:\n        return ConditionalHelperReference.create(positional.at(0), positional.at(1), null);\n      case 3:\n        return ConditionalHelperReference.create(positional.at(0), positional.at(1), positional.at(2));\n      default:\n        _emberDebug.assert('The inline form of the `if` helper expects two or three arguments, e.g. ' + '`{{if trialExpired \"Expired\" expiryDate}}`.');\n    }\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  function inlineUnless(vm, _ref2) {\n    var positional = _ref2.positional;\n\n    switch (positional.length) {\n      case 2:\n        return ConditionalHelperReference.create(positional.at(0), null, positional.at(1));\n      case 3:\n        return ConditionalHelperReference.create(positional.at(0), positional.at(2), positional.at(1));\n      default:\n        _emberDebug.assert('The inline form of the `unless` helper expects two or three arguments, e.g. ' + '`{{unless isFirstLogin \"Welcome back!\"}}`.');\n    }\n  }\n});\nenifed('ember-glimmer/helpers/loc', ['exports', 'ember-glimmer/utils/references', 'ember-runtime'], function (exports, _emberGlimmerUtilsReferences, _emberRuntime) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n  'use strict';\n\n  /**\n    Calls [Ember.String.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 [Ember.String.loc](/api/classes/Ember.String.html#method_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 {Ember.String#loc}\n    @public\n  */\n  function locHelper(_ref) {\n    var positional = _ref.positional;\n\n    return _emberRuntime.String.loc.apply(null, positional.value());\n  }\n\n  exports.default = function (vm, args) {\n    return new _emberGlimmerUtilsReferences.InternalHelperReference(locHelper, args);\n  };\n});\nenifed('ember-glimmer/helpers/log', ['exports', 'ember-glimmer/utils/references', 'ember-console'], function (exports, _emberGlimmerUtilsReferences, _emberConsole) {\n  'use strict';\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(_ref) {\n    var positional = _ref.positional;\n\n    _emberConsole.default.log.apply(null, positional.value());\n  }\n\n  exports.default = function (vm, args) {\n    return new _emberGlimmerUtilsReferences.InternalHelperReference(log, args);\n  };\n});\n\n/**\n@module ember\n@submodule ember-glimmer\n*/\nenifed('ember-glimmer/helpers/mut', ['exports', 'ember-utils', 'ember-debug', 'ember-glimmer/utils/references', 'ember-glimmer/helpers/action'], function (exports, _emberUtils, _emberDebug, _emberGlimmerUtilsReferences, _emberGlimmerHelpersAction) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n  'use strict';\n\n  exports.isMut = isMut;\n  exports.unMut = unMut;\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 = _emberUtils.symbol('MUT');\n  var SOURCE = _emberUtils.symbol('SOURCE');\n\n  function isMut(ref) {\n    return ref && ref[MUT_REFERENCE];\n  }\n\n  function unMut(ref) {\n    return ref[SOURCE] || ref;\n  }\n\n  exports.default = function (vm, args) {\n    var rawRef = args.positional.at(0);\n\n    if (isMut(rawRef)) {\n      return rawRef;\n    }\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    _emberDebug.assert('You can only pass a path to mut', rawRef[_emberGlimmerUtilsReferences.UPDATE]);\n\n    var wrappedRef = Object.create(rawRef);\n\n    wrappedRef[SOURCE] = rawRef;\n    wrappedRef[_emberGlimmerHelpersAction.INVOKE] = rawRef[_emberGlimmerUtilsReferences.UPDATE];\n    wrappedRef[MUT_REFERENCE] = true;\n\n    return wrappedRef;\n  };\n});\nenifed('ember-glimmer/helpers/query-param', ['exports', 'ember-utils', 'ember-glimmer/utils/references', 'ember-debug', 'ember-routing'], function (exports, _emberUtils, _emberGlimmerUtilsReferences, _emberDebug, _emberRouting) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n  'use strict';\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(_ref) {\n    var positional = _ref.positional;\n    var named = _ref.named;\n\n    _emberDebug.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 _emberRouting.QueryParams.create({\n      values: _emberUtils.assign({}, named.value())\n    });\n  }\n\n  exports.default = function (vm, args) {\n    return new _emberGlimmerUtilsReferences.InternalHelperReference(queryParams, args);\n  };\n});\nenifed('ember-glimmer/helpers/readonly', ['exports', 'ember-glimmer/utils/references', 'ember-glimmer/helpers/mut'], function (exports, _emberGlimmerUtilsReferences, _emberGlimmerHelpersMut) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n  'use strict';\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    export default Ember.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    export default Ember.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  exports.default = function (vm, args) {\n    var ref = _emberGlimmerHelpersMut.unMut(args.positional.at(0));\n\n    var wrapped = Object.create(ref);\n\n    wrapped[_emberGlimmerUtilsReferences.UPDATE] = undefined;\n\n    return wrapped;\n  };\n});\nenifed('ember-glimmer/helpers/unbound', ['exports', 'ember-debug', 'ember-glimmer/utils/references'], function (exports, _emberDebug, _emberGlimmerUtilsReferences) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n\n  'use strict';\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  exports.default = function (vm, args) {\n    _emberDebug.assert('unbound helper cannot be called with multiple params or hash params', args.positional.values.length === 1 && args.named.keys.length === 0);\n\n    return _emberGlimmerUtilsReferences.UnboundReference.create(args.positional.at(0).value());\n  };\n});\nenifed('ember-glimmer/index', ['exports', 'ember-glimmer/helpers/action', 'ember-glimmer/templates/root', 'ember-glimmer/template', 'ember-glimmer/components/checkbox', 'ember-glimmer/components/text_field', 'ember-glimmer/components/text_area', 'ember-glimmer/components/link-to', 'ember-glimmer/component', 'ember-glimmer/helper', 'ember-glimmer/environment', 'ember-glimmer/make-bound-helper', 'ember-glimmer/utils/string', 'ember-glimmer/renderer', 'ember-glimmer/template_registry', 'ember-glimmer/setup-registry', 'ember-glimmer/dom', 'ember-glimmer/syntax'], function (exports, _emberGlimmerHelpersAction, _emberGlimmerTemplatesRoot, _emberGlimmerTemplate, _emberGlimmerComponentsCheckbox, _emberGlimmerComponentsText_field, _emberGlimmerComponentsText_area, _emberGlimmerComponentsLinkTo, _emberGlimmerComponent, _emberGlimmerHelper, _emberGlimmerEnvironment, _emberGlimmerMakeBoundHelper, _emberGlimmerUtilsString, _emberGlimmerRenderer, _emberGlimmerTemplate_registry, _emberGlimmerSetupRegistry, _emberGlimmerDom, _emberGlimmerSyntax) {\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.js\n      export default Ember.Component.extend({\n        name: 'Jill'\n      });\n    ```\n  \n    ```app/components/person.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/classes/Ember.Templates.helpers.html)\n    namespace. Documentation on creating custom helpers can be found under\n    [Ember.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 [Ember.Component](/api/classes/Ember.Component.html).\n  \n    @module ember\n    @submodule ember-glimmer\n    @main ember-glimmer\n    @public\n   */\n\n  /**\n    Use the `{{with}}` helper when you want to alias a property to a new name. This is helpful\n    for semantic clarity as it allows you to retain default scope or to reference a property from another\n    `{{with}}` block.\n  \n    If the aliased property is \"falsey\", for example: `false`, `undefined` `null`, `\"\"`, `0`, NaN or\n    an empty array, the block will not be rendered.\n  \n    ```handlebars\n    {{! Will only render if user.posts contains items}}\n    {{#with user.posts as |blogPosts|}}\n      <div class=\"notice\">\n        There are {{blogPosts.length}} blog posts written by {{user.name}}.\n      </div>\n      {{#each blogPosts as |post|}}\n        <li>{{post.title}}</li>\n      {{/each}}\n    {{/with}}\n    ```\n  \n    Without the `as` operator, it would be impossible to reference `user.name` in the example above.\n  \n    NOTE: The alias should not reuse a name from the bound property path.\n  \n    For example: `{{#with foo.bar as |foo|}}` is not supported because it attempts to alias using\n    the first part of the property path, `foo`. Instead, use `{{#with foo.bar as |baz|}}`.\n  \n    @method with\n    @for Ember.Templates.helpers\n    @param {Object} options\n    @return {String} HTML string\n    @public\n   */\n\n  /**\n    Execute the `debugger` statement in the current template's context.\n  \n    ```handlebars\n    {{debugger}}\n    ```\n  \n    When using the debugger helper you will have access to a `get` function. This\n    function retrieves values available in the context of the template.\n    For example, if you're wondering why a value `{{foo}}` isn't rendering as\n    expected within a template, you could place a `{{debugger}}` statement and,\n    when the `debugger;` breakpoint is hit, you can attempt to retrieve this value:\n  \n    ```\n    > get('foo')\n    ```\n  \n    `get` is also aware of keywords. So in this situation\n  \n    ```handlebars\n    {{#each items as |item|}}\n      {{debugger}}\n    {{/each}}\n    ```\n  \n    You'll be able to get values from the current item:\n  \n    ```\n    > get('item.name')\n    ```\n  \n    You can also access the context of the view to make sure it is the object that\n    you expect:\n  \n    ```\n    > context\n    ```\n  \n    @method debugger\n    @for Ember.Templates.helpers\n    @public\n   */\n\n  /**\n    The `partial` helper renders another template without\n    changing the template context:\n  \n    ```handlebars\n    {{foo}}\n    {{partial \"nav\"}}\n    ```\n  \n    The above example template will render a template named\n    \"-nav\", which has the same context as the parent template\n    it's rendered into, so if the \"-nav\" template also referenced\n    `{{foo}}`, it would print the same thing as the `{{foo}}`\n    in the above example.\n  \n    If a \"-nav\" template isn't found, the `partial` helper will\n    fall back to a template named \"nav\".\n  \n    ### Bound template names\n  \n    The parameter supplied to `partial` can also be a path\n    to a property containing a template name, e.g.:\n  \n    ```handlebars\n    {{partial someTemplateName}}\n    ```\n  \n    The above example will look up the value of `someTemplateName`\n    on the template context (e.g. a controller) and use that\n    value as the name of the template to render. If the resolved\n    value is falsy, nothing will be rendered. If `someTemplateName`\n    changes, the partial will be re-rendered using the new template\n    name.\n  \n    @method partial\n    @for Ember.Templates.helpers\n    @param {String} partialName The name of the template to render minus the leading underscore.\n    @public\n  */\n\n  'use strict';\n\n  exports.INVOKE = _emberGlimmerHelpersAction.INVOKE;\n  exports.RootTemplate = _emberGlimmerTemplatesRoot.default;\n  exports.template = _emberGlimmerTemplate.default;\n  exports.Checkbox = _emberGlimmerComponentsCheckbox.default;\n  exports.TextField = _emberGlimmerComponentsText_field.default;\n  exports.TextArea = _emberGlimmerComponentsText_area.default;\n  exports.LinkComponent = _emberGlimmerComponentsLinkTo.default;\n  exports.Component = _emberGlimmerComponent.default;\n  exports.Helper = _emberGlimmerHelper.default;\n  exports.helper = _emberGlimmerHelper.helper;\n  exports.Environment = _emberGlimmerEnvironment.default;\n  exports.makeBoundHelper = _emberGlimmerMakeBoundHelper.default;\n  exports.SafeString = _emberGlimmerUtilsString.SafeString;\n  exports.escapeExpression = _emberGlimmerUtilsString.escapeExpression;\n  exports.htmlSafe = _emberGlimmerUtilsString.htmlSafe;\n  exports.isHTMLSafe = _emberGlimmerUtilsString.isHTMLSafe;\n  exports._getSafeString = _emberGlimmerUtilsString.getSafeString;\n  exports.Renderer = _emberGlimmerRenderer.Renderer;\n  exports.InertRenderer = _emberGlimmerRenderer.InertRenderer;\n  exports.InteractiveRenderer = _emberGlimmerRenderer.InteractiveRenderer;\n  exports.getTemplate = _emberGlimmerTemplate_registry.getTemplate;\n  exports.setTemplate = _emberGlimmerTemplate_registry.setTemplate;\n  exports.hasTemplate = _emberGlimmerTemplate_registry.hasTemplate;\n  exports.getTemplates = _emberGlimmerTemplate_registry.getTemplates;\n  exports.setTemplates = _emberGlimmerTemplate_registry.setTemplates;\n  exports.setupEngineRegistry = _emberGlimmerSetupRegistry.setupEngineRegistry;\n  exports.setupApplicationRegistry = _emberGlimmerSetupRegistry.setupApplicationRegistry;\n  exports.DOMChanges = _emberGlimmerDom.DOMChanges;\n  exports.NodeDOMTreeConstruction = _emberGlimmerDom.NodeDOMTreeConstruction;\n  exports.DOMTreeConstruction = _emberGlimmerDom.DOMTreeConstruction;\n  exports._registerMacros = _emberGlimmerSyntax.registerMacros;\n  exports._experimentalMacros = _emberGlimmerSyntax.experimentalMacros;\n});\nenifed('ember-glimmer/make-bound-helper', ['exports', 'ember-debug', 'ember-glimmer/helper'], function (exports, _emberDebug, _emberGlimmerHelper) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n  'use strict';\n\n  exports.default = makeBoundHelper;\n\n  /**\n    Create a bound helper. Accepts a function that receives the ordered and hash parameters\n    from the template. If a bound property was provided in the template, it will be resolved to its\n    value and any changes to the bound property cause the helper function to be re-run with the updated\n    values.\n  \n    * `params` - An array of resolved ordered parameters.\n    * `hash` - An object containing the hash parameters.\n  \n    For example:\n  \n    * With an unquoted ordered parameter:\n  \n      ```javascript\n      {{x-capitalize foo}}\n      ```\n  \n      Assuming `foo` was set to `\"bar\"`, the bound helper would receive `[\"bar\"]` as its first argument, and\n      an empty hash as its second.\n  \n    * With a quoted ordered parameter:\n  \n      ```javascript\n      {{x-capitalize \"foo\"}}\n      ```\n  \n      The bound helper would receive `[\"foo\"]` as its first argument, and an empty hash as its second.\n  \n    * With an unquoted hash parameter:\n  \n      ```javascript\n      {{x-repeat \"foo\" count=repeatCount}}\n      ```\n  \n      Assuming that `repeatCount` resolved to 2, the bound helper would receive `[\"foo\"]` as its first argument,\n      and { count: 2 } as its second.\n  \n    @private\n    @method makeBoundHelper\n    @for Ember.HTMLBars\n    @param {Function} fn\n    @since 1.10.0\n  */\n\n  function makeBoundHelper(fn) {\n    _emberDebug.deprecate('Using `Ember.HTMLBars.makeBoundHelper` is deprecated. Please refactor to use `Ember.Helper` or `Ember.Helper.helper`.', false, { id: 'ember-htmlbars.make-bound-helper', until: '3.0.0' });\n    return _emberGlimmerHelper.helper(fn);\n  }\n});\nenifed('ember-glimmer/modifiers/action', ['exports', 'ember-utils', 'ember-metal', 'ember-debug', 'ember-views', 'ember-glimmer/helpers/action'], function (exports, _emberUtils, _emberMetal, _emberDebug, _emberViews, _emberGlimmerHelpersAction) {\n  'use strict';\n\n  var MODIFIERS = ['alt', 'shift', 'meta', 'ctrl'];\n  var POINTER_EVENT_TYPE_REGEX = /^click|mouse|touch/;\n\n  function isAllowedEvent(event, allowedKeys) {\n    if (allowedKeys === null || typeof allowedKeys === 'undefined') {\n      if (POINTER_EVENT_TYPE_REGEX.test(event.type)) {\n        return _emberViews.isSimpleClick(event);\n      } else {\n        allowedKeys = '';\n      }\n    }\n\n    if (allowedKeys.indexOf('any') >= 0) {\n      return true;\n    }\n\n    for (var i = 0; i < MODIFIERS.length; i++) {\n      if (event[MODIFIERS[i] + 'Key'] && allowedKeys.indexOf(MODIFIERS[i]) === -1) {\n        return false;\n      }\n    }\n\n    return true;\n  }\n\n  var ActionHelper = {\n    // registeredActions is re-exported for compatibility with older plugins\n    // that were using this undocumented API.\n    registeredActions: _emberViews.ActionManager.registeredActions,\n\n    registerAction: function (actionState) {\n      var actionId = actionState.actionId;\n\n      _emberViews.ActionManager.registeredActions[actionId] = actionState;\n\n      return actionId;\n    },\n\n    unregisterAction: function (actionState) {\n      var actionId = actionState.actionId;\n\n      delete _emberViews.ActionManager.registeredActions[actionId];\n    }\n  };\n\n  exports.ActionHelper = ActionHelper;\n\n  var ActionState = (function () {\n    function ActionState(element, actionId, actionName, actionArgs, namedArgs, positionalArgs, implicitTarget, dom) {\n      babelHelpers.classCallCheck(this, ActionState);\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    }\n\n    // implements ModifierManager<Action>\n\n    ActionState.prototype.getEventName = function getEventName() {\n      return this.namedArgs.get('on').value() || 'click';\n    };\n\n    ActionState.prototype.getActionArgs = function getActionArgs() {\n      var result = new Array(this.actionArgs.length);\n\n      for (var i = 0; i < this.actionArgs.length; i++) {\n        result[i] = this.actionArgs[i].value();\n      }\n\n      return result;\n    };\n\n    ActionState.prototype.getTarget = function getTarget() {\n      var implicitTarget = this.implicitTarget;\n      var namedArgs = this.namedArgs;\n\n      var target = undefined;\n\n      if (namedArgs.has('target')) {\n        target = namedArgs.get('target').value();\n      } else {\n        target = implicitTarget.value();\n      }\n\n      return target;\n    };\n\n    ActionState.prototype.handler = function handler(event) {\n      var _this = this;\n\n      var actionName = this.actionName;\n      var 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\n      if (!isAllowedEvent(event, allowedKeys.value())) {\n        return true;\n      }\n\n      if (preventDefault.value() !== false) {\n        event.preventDefault();\n      }\n\n      if (bubbles.value() === false) {\n        event.stopPropagation();\n      }\n\n      _emberMetal.run(function () {\n        var args = _this.getActionArgs();\n        var payload = {\n          args: args,\n          target: target\n        };\n        if (typeof actionName[_emberGlimmerHelpersAction.INVOKE] === 'function') {\n          _emberMetal.flaggedInstrument('interaction.ember-action', payload, function () {\n            actionName[_emberGlimmerHelpersAction.INVOKE].apply(actionName, args);\n          });\n          return;\n        }\n        if (typeof actionName === 'function') {\n          _emberMetal.flaggedInstrument('interaction.ember-action', payload, function () {\n            actionName.apply(target, args);\n          });\n          return;\n        }\n        payload.name = actionName;\n        if (target.send) {\n          _emberMetal.flaggedInstrument('interaction.ember-action', payload, function () {\n            target.send.apply(target, [actionName].concat(args));\n          });\n        } else {\n          _emberDebug.assert('The action \\'' + actionName + '\\' did not exist on ' + target, typeof target[actionName] === 'function');\n          _emberMetal.flaggedInstrument('interaction.ember-action', payload, function () {\n            target[actionName].apply(target, args);\n          });\n        }\n      });\n    };\n\n    ActionState.prototype.destroy = function destroy() {\n      ActionHelper.unregisterAction(this);\n    };\n\n    return ActionState;\n  })();\n\n  exports.ActionState = ActionState;\n\n  var ActionModifierManager = (function () {\n    function ActionModifierManager() {\n      babelHelpers.classCallCheck(this, ActionModifierManager);\n    }\n\n    ActionModifierManager.prototype.create = function create(element, args, dynamicScope, dom) {\n      var named = args.named;\n      var positional = args.positional;\n\n      var implicitTarget = undefined;\n      var actionName = undefined;\n      var actionNameRef = undefined;\n      if (positional.length > 1) {\n        implicitTarget = positional.at(0);\n        actionNameRef = positional.at(1);\n\n        if (actionNameRef[_emberGlimmerHelpersAction.INVOKE]) {\n          actionName = actionNameRef;\n        } else {\n          var actionLabel = actionNameRef._propertyKey;\n          actionName = actionNameRef.value();\n\n          _emberDebug.assert('You specified a quoteless path, `' + actionLabel + '`, to the ' + '{{action}} helper which did not resolve to an action name (a ' + 'string). Perhaps you meant to use a quoted actionName? (e.g. ' + '{{action \"' + actionLabel + '\"}}).', typeof actionName === 'string' || typeof actionName === 'function');\n        }\n      }\n\n      var actionArgs = [];\n      // The first two arguments are (1) `this` and (2) the action name.\n      // Everything else is a param.\n      for (var i = 2; i < positional.length; i++) {\n        actionArgs.push(positional.at(i));\n      }\n\n      var actionId = _emberUtils.uuid();\n      return new ActionState(element, actionId, actionName, actionArgs, named, positional, implicitTarget, dom);\n    };\n\n    ActionModifierManager.prototype.install = function install(actionState) {\n      var dom = actionState.dom;\n      var element = actionState.element;\n      var actionId = actionState.actionId;\n\n      ActionHelper.registerAction(actionState);\n\n      dom.setAttribute(element, 'data-ember-action', '');\n      dom.setAttribute(element, 'data-ember-action-' + actionId, actionId);\n    };\n\n    ActionModifierManager.prototype.update = function update(actionState) {\n      var positional = actionState.positional;\n\n      var actionNameRef = positional.at(1);\n\n      if (!actionNameRef[_emberGlimmerHelpersAction.INVOKE]) {\n        actionState.actionName = actionNameRef.value();\n      }\n\n      actionState.eventName = actionState.getEventName();\n    };\n\n    ActionModifierManager.prototype.getDestructor = function getDestructor(modifier) {\n      return modifier;\n    };\n\n    return ActionModifierManager;\n  })();\n\n  exports.default = ActionModifierManager;\n});\nenifed('ember-glimmer/protocol-for-url', ['exports', 'ember-environment'], function (exports, _emberEnvironment) {\n  /* globals module, URL */\n\n  'use strict';\n\n  exports.default = installProtocolForURL;\n\n  var nodeURL = undefined;\n  var parsingNode = undefined;\n\n  function installProtocolForURL(environment) {\n    var protocol = undefined;\n\n    if (_emberEnvironment.environment.hasDOM) {\n      protocol = browserProtocolForURL.call(environment, 'foobar:baz');\n    }\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 (typeof module === 'object' && typeof module.require === 'function') {\n      // Otherwise, we need to fall back to our own URL parsing.\n      // Global `require` is shadowed by Ember's loader so we have to use the fully\n      // qualified `module.require`.\n      nodeURL = module.require('url');\n      environment.protocolForURL = nodeProtocolForURL;\n    } else {\n      throw new Error('Could not find valid URL parsing mechanism for URL Sanitization');\n    }\n  }\n\n  function browserProtocolForURL(url) {\n    if (!parsingNode) {\n      parsingNode = document.createElement('a');\n    }\n\n    parsingNode.href = url;\n    return parsingNode.protocol;\n  }\n\n  function nodeProtocolForURL(url) {\n    var protocol = null;\n    if (typeof url === 'string') {\n      protocol = nodeURL.parse(url).protocol;\n    }\n    return protocol === null ? ':' : protocol;\n  }\n});\nenifed('ember-glimmer/renderer', ['exports', 'ember-glimmer/utils/references', 'ember-metal', '@glimmer/reference', 'ember-views', 'ember-glimmer/component', 'ember-glimmer/syntax/curly-component', 'ember-glimmer/syntax/outlet', 'ember-debug'], function (exports, _emberGlimmerUtilsReferences, _emberMetal, _glimmerReference, _emberViews, _emberGlimmerComponent, _emberGlimmerSyntaxCurlyComponent, _emberGlimmerSyntaxOutlet, _emberDebug) {\n  'use strict';\n\n  var backburner = _emberMetal.run.backburner;\n\n  var DynamicScope = (function () {\n    function DynamicScope(view, outletState, rootOutletState, targetObject) {\n      babelHelpers.classCallCheck(this, DynamicScope);\n\n      this.view = view;\n      this.outletState = outletState;\n      this.rootOutletState = rootOutletState;\n    }\n\n    DynamicScope.prototype.child = function child() {\n      return new DynamicScope(this.view, this.outletState, this.rootOutletState);\n    };\n\n    DynamicScope.prototype.get = function get(key) {\n      _emberDebug.assert('Using `-get-dynamic-scope` is only supported for `outletState` (you used `' + key + '`).', key === 'outletState');\n      return this.outletState;\n    };\n\n    DynamicScope.prototype.set = function set(key, value) {\n      _emberDebug.assert('Using `-with-dynamic-scope` is only supported for `outletState` (you used `' + key + '`).', key === 'outletState');\n      this.outletState = value;\n      return value;\n    };\n\n    return DynamicScope;\n  })();\n\n  var RootState = (function () {\n    function RootState(root, env, template, self, parentElement, dynamicScope) {\n      var _this = this;\n\n      babelHelpers.classCallCheck(this, RootState);\n\n      _emberDebug.assert('You cannot render `' + self.value() + '` without a template.', template);\n\n      this.id = _emberViews.getViewId(root);\n      this.env = env;\n      this.root = root;\n      this.result = undefined;\n      this.shouldReflush = false;\n      this.destroyed = false;\n      this._removing = false;\n\n      var options = this.options = {\n        alwaysRevalidate: false\n      };\n\n      this.render = function () {\n        var iterator = template.render(self, parentElement, dynamicScope);\n        var iteratorResult = undefined;\n\n        do {\n          iteratorResult = iterator.next();\n        } while (!iteratorResult.done);\n\n        var result = _this.result = iteratorResult.value;\n\n        // override .render function after initial render\n        _this.render = function () {\n          result.rerender(options);\n        };\n      };\n    }\n\n    RootState.prototype.isFor = function isFor(possibleRoot) {\n      return this.root === possibleRoot;\n    };\n\n    RootState.prototype.destroy = function destroy() {\n      var result = this.result;\n      var env = this.env;\n\n      this.destroyed = true;\n\n      this.env = null;\n      this.root = null;\n      this.result = null;\n      this.render = null;\n\n      if (result) {\n        /*\n         Handles these scenarios:\n          * When roots are removed during standard rendering process, a transaction exists already\n           `.begin()` / `.commit()` are not needed.\n         * When roots are being destroyed manually (`component.append(); component.destroy() case), no\n           transaction exists already.\n         * When roots are being destroyed during `Renderer#destroy`, no transaction exists\n          */\n        var needsTransaction = !env.inTransaction;\n\n        if (needsTransaction) {\n          env.begin();\n        }\n\n        result.destroy();\n\n        if (needsTransaction) {\n          env.commit();\n        }\n      }\n    };\n\n    return RootState;\n  })();\n\n  var renderers = [];\n\n  _emberMetal.setHasViews(function () {\n    return renderers.length > 0;\n  });\n\n  function register(renderer) {\n    _emberDebug.assert('Cannot register the same renderer twice', renderers.indexOf(renderer) === -1);\n    renderers.push(renderer);\n  }\n\n  function deregister(renderer) {\n    var index = renderers.indexOf(renderer);\n    _emberDebug.assert('Cannot deregister unknown unregistered renderer', index !== -1);\n    renderers.splice(index, 1);\n  }\n\n  function loopBegin() {\n    for (var i = 0; i < renderers.length; i++) {\n      renderers[i]._scheduleRevalidate();\n    }\n  }\n\n  function K() {}\n\n  var loops = 0;\n  function loopEnd(current, next) {\n    for (var 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 backburner.join(null, K);\n      }\n    }\n    loops = 0;\n  }\n\n  backburner.on('begin', loopBegin);\n  backburner.on('end', loopEnd);\n\n  var Renderer = (function () {\n    function Renderer(env, rootTemplate) {\n      var _viewRegistry = arguments.length <= 2 || arguments[2] === undefined ? _emberViews.fallbackViewRegistry : arguments[2];\n\n      var destinedForDOM = arguments.length <= 3 || arguments[3] === undefined ? false : arguments[3];\n      babelHelpers.classCallCheck(this, Renderer);\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 = null;\n      this._isRenderingRoots = false;\n      this._removedRoots = [];\n    }\n\n    // renderer HOOKS\n\n    Renderer.prototype.appendOutletView = function appendOutletView(view, target) {\n      var definition = new _emberGlimmerSyntaxOutlet.TopLevelOutletComponentDefinition(view);\n      var outletStateReference = view.toReference();\n      var targetObject = view.outletState.render.controller;\n\n      this._appendDefinition(view, definition, target, outletStateReference, targetObject);\n    };\n\n    Renderer.prototype.appendTo = function appendTo(view, target) {\n      var rootDef = new _emberGlimmerSyntaxCurlyComponent.RootComponentDefinition(view);\n\n      this._appendDefinition(view, rootDef, target);\n    };\n\n    Renderer.prototype._appendDefinition = function _appendDefinition(root, definition, target) {\n      var outletStateReference = arguments.length <= 3 || arguments[3] === undefined ? _glimmerReference.UNDEFINED_REFERENCE : arguments[3];\n      var targetObject = arguments.length <= 4 || arguments[4] === undefined ? null : arguments[4];\n\n      var self = new _emberGlimmerUtilsReferences.RootReference(definition);\n      var dynamicScope = new DynamicScope(null, outletStateReference, outletStateReference, true, targetObject);\n      var rootState = new RootState(root, this._env, this._rootTemplate, self, target, dynamicScope);\n\n      this._renderRoot(rootState);\n    };\n\n    Renderer.prototype.rerender = function rerender(view) {\n      this._scheduleRevalidate();\n    };\n\n    Renderer.prototype.register = function register(view) {\n      var id = _emberViews.getViewId(view);\n      _emberDebug.assert('Attempted to register a view with an id already in use: ' + id, !this._viewRegistry[id]);\n      this._viewRegistry[id] = view;\n    };\n\n    Renderer.prototype.unregister = function unregister(view) {\n      delete this._viewRegistry[_emberViews.getViewId(view)];\n    };\n\n    Renderer.prototype.remove = function remove(view) {\n      view._transitionTo('destroying');\n\n      this.cleanupRootFor(view);\n\n      _emberViews.setViewElement(view, null);\n\n      if (this._destinedForDOM) {\n        view.trigger('didDestroyElement');\n      }\n\n      if (!view.isDestroying) {\n        view.destroy();\n      }\n    };\n\n    Renderer.prototype.cleanupRootFor = function cleanupRootFor(view) {\n      // no need to cleanup roots if we have already been destroyed\n      if (this._destroyed) {\n        return;\n      }\n\n      var roots = this._roots;\n\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        var root = roots[i];\n        if (root.isFor(view)) {\n          root.destroy();\n        }\n      }\n    };\n\n    Renderer.prototype.destroy = function destroy() {\n      if (this._destroyed) {\n        return;\n      }\n      this._destroyed = true;\n      this._clearAllRoots();\n    };\n\n    Renderer.prototype.getElement = function getElement(view) {\n      // overriden in the subclasses\n    };\n\n    Renderer.prototype.getBounds = function getBounds(view) {\n      var bounds = view[_emberGlimmerComponent.BOUNDS];\n\n      var parentElement = bounds.parentElement();\n      var firstNode = bounds.firstNode();\n      var lastNode = bounds.lastNode();\n\n      return { parentElement: parentElement, firstNode: firstNode, lastNode: lastNode };\n    };\n\n    Renderer.prototype.createElement = function createElement(tagName) {\n      return this._env.getAppendOperations().createElement(tagName);\n    };\n\n    Renderer.prototype._renderRoot = function _renderRoot(root) {\n      var roots = this._roots;\n\n      roots.push(root);\n\n      if (roots.length === 1) {\n        register(this);\n      }\n\n      this._renderRootsTransaction();\n    };\n\n    Renderer.prototype._renderRoots = function _renderRoots() {\n      var roots = this._roots;\n      var env = this._env;\n      var removedRoots = this._removedRoots;\n\n      var globalShouldReflush = undefined,\n          initialRootsLength = undefined;\n\n      do {\n        env.begin();\n\n        // ensure that for the first iteration of the loop\n        // each root is processed\n        initialRootsLength = roots.length;\n        globalShouldReflush = false;\n\n        for (var i = 0; i < roots.length; i++) {\n          var root = roots[i];\n\n          if (root.destroyed) {\n            // add to the list of roots to be removed\n            // they will be removed from `this._roots` later\n            removedRoots.push(root);\n\n            // skip over roots that have been marked as destroyed\n            continue;\n          }\n\n          var shouldReflush = root.shouldReflush;\n\n          // when processing non-initial reflush loops,\n          // do not process more roots than needed\n          if (i >= initialRootsLength && !shouldReflush) {\n            continue;\n          }\n\n          root.options.alwaysRevalidate = shouldReflush;\n          // track shouldReflush based on this roots render result\n          shouldReflush = root.shouldReflush = _emberMetal.runInTransaction(root, 'render');\n\n          // globalShouldReflush should be `true` if *any* of\n          // the roots need to reflush\n          globalShouldReflush = globalShouldReflush || shouldReflush;\n        }\n\n        this._lastRevision = _glimmerReference.CURRENT_TAG.value();\n\n        env.commit();\n      } while (globalShouldReflush || roots.length > initialRootsLength);\n\n      // remove any roots that were destroyed during this transaction\n      while (removedRoots.length) {\n        var root = removedRoots.pop();\n\n        var rootIndex = roots.indexOf(root);\n        roots.splice(rootIndex, 1);\n      }\n\n      if (this._roots.length === 0) {\n        deregister(this);\n      }\n    };\n\n    Renderer.prototype._renderRootsTransaction = function _renderRootsTransaction() {\n      if (this._isRenderingRoots) {\n        // currently rendering roots, a new root was added and will\n        // be processed by the existing _renderRoots invocation\n        return;\n      }\n\n      // used to prevent calling _renderRoots again (see above)\n      // while we are actively rendering roots\n      this._isRenderingRoots = true;\n\n      var completedWithoutError = false;\n      try {\n        this._renderRoots();\n        completedWithoutError = true;\n      } finally {\n        if (!completedWithoutError) {\n          this._lastRevision = _glimmerReference.CURRENT_TAG.value();\n        }\n        this._isRenderingRoots = false;\n      }\n    };\n\n    Renderer.prototype._clearAllRoots = function _clearAllRoots() {\n      var roots = this._roots;\n      for (var i = 0; i < roots.length; i++) {\n        var root = roots[i];\n        root.destroy();\n      }\n\n      this._removedRoots.length = 0;\n      this._roots = null;\n\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 _scheduleRevalidate() {\n      backburner.scheduleOnce('render', this, this._revalidate);\n    };\n\n    Renderer.prototype._isValid = function _isValid() {\n      return this._destroyed || this._roots.length === 0 || _glimmerReference.CURRENT_TAG.validate(this._lastRevision);\n    };\n\n    Renderer.prototype._revalidate = function _revalidate() {\n      if (this._isValid()) {\n        return;\n      }\n      this._renderRootsTransaction();\n    };\n\n    return Renderer;\n  })();\n\n  var InertRenderer = (function (_Renderer) {\n    babelHelpers.inherits(InertRenderer, _Renderer);\n\n    function InertRenderer() {\n      babelHelpers.classCallCheck(this, InertRenderer);\n\n      _Renderer.apply(this, arguments);\n    }\n\n    InertRenderer.create = function create(_ref) {\n      var env = _ref.env;\n      var rootTemplate = _ref.rootTemplate;\n      var _viewRegistry = _ref._viewRegistry;\n\n      return new this(env, rootTemplate, _viewRegistry, false);\n    };\n\n    InertRenderer.prototype.getElement = function getElement(view) {\n      throw new Error('Accessing `this.element` is not allowed in non-interactive environments (such as FastBoot).');\n    };\n\n    return InertRenderer;\n  })(Renderer);\n\n  exports.InertRenderer = InertRenderer;\n\n  var InteractiveRenderer = (function (_Renderer2) {\n    babelHelpers.inherits(InteractiveRenderer, _Renderer2);\n\n    function InteractiveRenderer() {\n      babelHelpers.classCallCheck(this, InteractiveRenderer);\n\n      _Renderer2.apply(this, arguments);\n    }\n\n    InteractiveRenderer.create = function create(_ref2) {\n      var env = _ref2.env;\n      var rootTemplate = _ref2.rootTemplate;\n      var _viewRegistry = _ref2._viewRegistry;\n\n      return new this(env, rootTemplate, _viewRegistry, true);\n    };\n\n    InteractiveRenderer.prototype.getElement = function getElement(view) {\n      return _emberViews.getViewElement(view);\n    };\n\n    return InteractiveRenderer;\n  })(Renderer);\n\n  exports.InteractiveRenderer = InteractiveRenderer;\n});\nenifed('ember-glimmer/setup-registry', ['exports', 'ember-environment', 'container', 'ember-glimmer/renderer', 'ember-glimmer/dom', 'ember-glimmer/views/outlet', 'ember-glimmer/components/text_field', 'ember-glimmer/components/text_area', 'ember-glimmer/components/checkbox', 'ember-glimmer/components/link-to', 'ember-glimmer/component', 'ember-glimmer/templates/component', 'ember-glimmer/templates/root', 'ember-glimmer/templates/outlet', 'ember-glimmer/environment'], function (exports, _emberEnvironment, _container, _emberGlimmerRenderer, _emberGlimmerDom, _emberGlimmerViewsOutlet, _emberGlimmerComponentsText_field, _emberGlimmerComponentsText_area, _emberGlimmerComponentsCheckbox, _emberGlimmerComponentsLinkTo, _emberGlimmerComponent, _emberGlimmerTemplatesComponent, _emberGlimmerTemplatesRoot, _emberGlimmerTemplatesOutlet, _emberGlimmerEnvironment) {\n  'use strict';\n\n  exports.setupApplicationRegistry = setupApplicationRegistry;\n  exports.setupEngineRegistry = setupEngineRegistry;\n\n  var _templateObject = babelHelpers.taggedTemplateLiteralLoose(['template:-root'], ['template:-root']),\n      _templateObject2 = babelHelpers.taggedTemplateLiteralLoose(['template:components/-default'], ['template:components/-default']),\n      _templateObject3 = babelHelpers.taggedTemplateLiteralLoose(['component:-default'], ['component:-default']);\n\n  function setupApplicationRegistry(registry) {\n    registry.injection('service:-glimmer-environment', 'appendOperations', 'service:-dom-tree-construction');\n    registry.injection('renderer', 'env', 'service:-glimmer-environment');\n\n    registry.register(_container.privatize(_templateObject), _emberGlimmerTemplatesRoot.default);\n    registry.injection('renderer', 'rootTemplate', _container.privatize(_templateObject));\n\n    registry.register('renderer:-dom', _emberGlimmerRenderer.InteractiveRenderer);\n    registry.register('renderer:-inert', _emberGlimmerRenderer.InertRenderer);\n\n    if (_emberEnvironment.environment.hasDOM) {\n      registry.injection('service:-glimmer-environment', 'updateOperations', 'service:-dom-changes');\n    }\n\n    registry.register('service:-dom-changes', {\n      create: function (_ref) {\n        var document = _ref.document;\n\n        return new _emberGlimmerDom.DOMChanges(document);\n      }\n    });\n\n    registry.register('service:-dom-tree-construction', {\n      create: function (_ref2) {\n        var document = _ref2.document;\n\n        var Implementation = _emberEnvironment.environment.hasDOM ? _emberGlimmerDom.DOMTreeConstruction : _emberGlimmerDom.NodeDOMTreeConstruction;\n        return new Implementation(document);\n      }\n    });\n  }\n\n  function setupEngineRegistry(registry) {\n    registry.register('view:-outlet', _emberGlimmerViewsOutlet.default);\n    registry.register('template:-outlet', _emberGlimmerTemplatesOutlet.default);\n    registry.injection('view:-outlet', 'template', 'template:-outlet');\n\n    registry.injection('service:-dom-changes', 'document', 'service:-document');\n    registry.injection('service:-dom-tree-construction', 'document', 'service:-document');\n\n    registry.register(_container.privatize(_templateObject2), _emberGlimmerTemplatesComponent.default);\n\n    registry.register('service:-glimmer-environment', _emberGlimmerEnvironment.default);\n    registry.injection('template', 'env', 'service:-glimmer-environment');\n\n    registry.optionsForType('helper', { instantiate: false });\n\n    registry.register('component:-text-field', _emberGlimmerComponentsText_field.default);\n    registry.register('component:-text-area', _emberGlimmerComponentsText_area.default);\n    registry.register('component:-checkbox', _emberGlimmerComponentsCheckbox.default);\n    registry.register('component:link-to', _emberGlimmerComponentsLinkTo.default);\n    registry.register(_container.privatize(_templateObject3), _emberGlimmerComponent.default);\n  }\n});\nenifed('ember-glimmer/syntax', ['exports', 'ember-glimmer/syntax/render', 'ember-glimmer/syntax/outlet', 'ember-glimmer/syntax/mount', 'ember-glimmer/syntax/dynamic-component', 'ember-glimmer/utils/bindings', 'ember-glimmer/syntax/-with-dynamic-vars', 'ember-glimmer/syntax/-in-element', 'ember-glimmer/syntax/input', 'ember-glimmer/syntax/-text-area', 'ember-debug'], function (exports, _emberGlimmerSyntaxRender, _emberGlimmerSyntaxOutlet, _emberGlimmerSyntaxMount, _emberGlimmerSyntaxDynamicComponent, _emberGlimmerUtilsBindings, _emberGlimmerSyntaxWithDynamicVars, _emberGlimmerSyntaxInElement, _emberGlimmerSyntaxInput, _emberGlimmerSyntaxTextArea, _emberDebug) {\n  'use strict';\n\n  exports.registerMacros = registerMacros;\n  exports.populateMacros = populateMacros;\n\n  function refineInlineSyntax(path, params, hash, builder) {\n    var name = path[0];\n\n    _emberDebug.assert('You attempted to overwrite the built-in helper \"' + name + '\" which is not allowed. Please rename the helper.', !(builder.env.builtInHelpers[name] && builder.env.owner.hasRegistration('helper:' + name)));\n\n    if (path.length > 1) {\n      return _emberGlimmerSyntaxDynamicComponent.closureComponentMacro(path, params, hash, null, null, builder);\n    }\n\n    var symbolTable = builder.symbolTable;\n\n    var definition = undefined;\n    if (name.indexOf('-') > -1) {\n      definition = builder.env.getComponentDefinition(path, symbolTable);\n    }\n\n    if (definition) {\n      _emberGlimmerUtilsBindings.wrapComponentClassAttribute(hash);\n      builder.component.static(definition, [params, hash, null, null], symbolTable);\n      return true;\n    }\n\n    return false;\n  }\n\n  function refineBlockSyntax(sexp, builder) {\n    var path = sexp[1];\n    var params = sexp[2];\n    var hash = sexp[3];\n    var _default = sexp[4];\n    var inverse = sexp[5];\n    var name = path[0];\n\n    if (path.length > 1) {\n      return _emberGlimmerSyntaxDynamicComponent.closureComponentMacro(path, params, hash, _default, inverse, builder);\n    }\n\n    if (name.indexOf('-') === -1) {\n      return false;\n    }\n\n    var symbolTable = builder.symbolTable;\n\n    var definition = undefined;\n    if (name.indexOf('-') > -1) {\n      definition = builder.env.getComponentDefinition(path, symbolTable);\n    }\n\n    if (definition) {\n      _emberGlimmerUtilsBindings.wrapComponentClassAttribute(hash);\n      builder.component.static(definition, [params, hash, _default, inverse], symbolTable);\n      return true;\n    }\n\n    _emberDebug.assert('A component or helper named \"' + name + '\" could not be found', builder.env.hasHelper(path, symbolTable));\n\n    _emberDebug.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}}.', !builder.env.hasHelper(path, symbolTable));\n\n    return false;\n  }\n\n  var experimentalMacros = [];\n\n  exports.experimentalMacros = experimentalMacros;\n  // This is a private API to allow for expiremental macros\n  // to be created in user space. Registering a macro should\n  // should be done in an initializer.\n\n  function registerMacros(macro) {\n    experimentalMacros.push(macro);\n  }\n\n  function populateMacros(blocks, inlines) {\n    inlines.add('outlet', _emberGlimmerSyntaxOutlet.outletMacro);\n    inlines.add('component', _emberGlimmerSyntaxDynamicComponent.inlineComponentMacro);\n    inlines.add('render', _emberGlimmerSyntaxRender.renderMacro);\n    inlines.add('mount', _emberGlimmerSyntaxMount.mountMacro);\n    inlines.add('input', _emberGlimmerSyntaxInput.inputMacro);\n    inlines.add('textarea', _emberGlimmerSyntaxTextArea.textAreaMacro);\n    inlines.addMissing(refineInlineSyntax);\n    blocks.add('component', _emberGlimmerSyntaxDynamicComponent.blockComponentMacro);\n    blocks.add('-with-dynamic-vars', _emberGlimmerSyntaxWithDynamicVars._withDynamicVarsMacro);\n    blocks.add('-in-element', _emberGlimmerSyntaxInElement._inElementMacro);\n    blocks.addMissing(refineBlockSyntax);\n\n    for (var i = 0; i < experimentalMacros.length; i++) {\n      var macro = experimentalMacros[i];\n      macro(blocks, inlines);\n    }\n\n    return { blocks: blocks, inlines: inlines };\n  }\n});\nenifed('ember-glimmer/syntax/-in-element', ['exports', '@glimmer/runtime', '@glimmer/util'], function (exports, _glimmerRuntime, _glimmerUtil) {\n  'use strict';\n\n  exports._inElementMacro = _inElementMacro;\n  var _BaselineSyntax$NestedBlock = _glimmerRuntime.BaselineSyntax.NestedBlock;\n  var defaultBlock = _BaselineSyntax$NestedBlock.defaultBlock;\n  var params = _BaselineSyntax$NestedBlock.params;\n  var hash = _BaselineSyntax$NestedBlock.hash;\n\n  function _inElementMacro(sexp, builder) {\n    var block = defaultBlock(sexp);\n    var args = _glimmerRuntime.compileArgs(params(sexp), hash(sexp), builder);\n\n    builder.putArgs(args);\n    builder.test('simple');\n\n    builder.labelled(null, function (b) {\n      b.jumpUnless('END');\n      b.pushRemoteElement();\n      b.evaluate(_glimmerUtil.unwrap(block));\n      b.popRemoteElement();\n    });\n  }\n});\nenifed('ember-glimmer/syntax/-text-area', ['exports', 'ember-glimmer/utils/bindings'], function (exports, _emberGlimmerUtilsBindings) {\n  'use strict';\n\n  exports.textAreaMacro = textAreaMacro;\n\n  function textAreaMacro(path, params, hash, builder) {\n    var definition = builder.env.getComponentDefinition(['-text-area'], builder.symbolTable);\n    _emberGlimmerUtilsBindings.wrapComponentClassAttribute(hash);\n    builder.component.static(definition, [params, hash, null, null], builder.symbolTable);\n    return true;\n  }\n});\nenifed('ember-glimmer/syntax/-with-dynamic-vars', ['exports', '@glimmer/runtime', '@glimmer/util'], function (exports, _glimmerRuntime, _glimmerUtil) {\n  'use strict';\n\n  exports._withDynamicVarsMacro = _withDynamicVarsMacro;\n  var _BaselineSyntax$NestedBlock = _glimmerRuntime.BaselineSyntax.NestedBlock;\n  var defaultBlock = _BaselineSyntax$NestedBlock.defaultBlock;\n  var params = _BaselineSyntax$NestedBlock.params;\n  var hash = _BaselineSyntax$NestedBlock.hash;\n\n  function _withDynamicVarsMacro(sexp, builder) {\n    var block = defaultBlock(sexp);\n    var args = _glimmerRuntime.compileArgs(params(sexp), hash(sexp), builder);\n\n    builder.unit(function (b) {\n      b.putArgs(args);\n      b.pushDynamicScope();\n      b.bindDynamicScope(args.named.keys);\n      b.evaluate(_glimmerUtil.unwrap(block));\n      b.popDynamicScope();\n    });\n  }\n});\nenifed('ember-glimmer/syntax/abstract-manager', ['exports', 'ember-debug'], function (exports, _emberDebug) {\n  'use strict';\n\n  var AbstractManager = function AbstractManager() {\n    babelHelpers.classCallCheck(this, AbstractManager);\n  };\n\n  _emberDebug.runInDebug(function () {\n    AbstractManager.prototype._pushToDebugStack = function (name, environment) {\n      this.debugStack = environment.debugStack;\n      this.debugStack.push(name);\n    };\n\n    AbstractManager.prototype._pushEngineToDebugStack = function (name, environment) {\n      this.debugStack = environment.debugStack;\n      this.debugStack.pushEngine(name);\n    };\n  });\n\n  exports.default = AbstractManager;\n});\nenifed('ember-glimmer/syntax/curly-component', ['exports', 'ember-utils', '@glimmer/runtime', 'ember-glimmer/utils/bindings', 'ember-glimmer/component', 'ember-metal', 'ember-debug', 'ember-views', 'ember-glimmer/utils/process-args', 'container', 'ember-glimmer/syntax/abstract-manager'], function (exports, _emberUtils, _glimmerRuntime, _emberGlimmerUtilsBindings, _emberGlimmerComponent, _emberMetal, _emberDebug, _emberViews, _emberGlimmerUtilsProcessArgs, _container, _emberGlimmerSyntaxAbstractManager) {\n  'use strict';\n\n  exports.validatePositionalParameters = validatePositionalParameters;\n\n  var _templateObject = babelHelpers.taggedTemplateLiteralLoose(['template:components/-default'], ['template:components/-default']);\n\n  var DEFAULT_LAYOUT = _container.privatize(_templateObject);\n\n  function processComponentInitializationAssertions(component, props) {\n    _emberDebug.assert('classNameBindings must not have spaces in them: ' + component.toString(), (function () {\n      var classNameBindings = component.classNameBindings;\n\n      for (var i = 0; i < classNameBindings.length; i++) {\n        var binding = classNameBindings[i];\n        if (binding.split(' ').length > 1) {\n          return false;\n        }\n      }\n      return true;\n    })());\n\n    _emberDebug.assert('You cannot use `classNameBindings` on a tag-less component: ' + component.toString(), (function () {\n      var classNameBindings = component.classNameBindings;\n      var tagName = component.tagName;\n\n      return tagName !== '' || !classNameBindings || classNameBindings.length === 0;\n    })());\n\n    _emberDebug.assert('You cannot use `elementId` on a tag-less component: ' + component.toString(), (function () {\n      var elementId = component.elementId;\n      var tagName = component.tagName;\n\n      return tagName !== '' || props.id === elementId || !elementId && elementId !== '';\n    })());\n\n    _emberDebug.assert('You cannot use `attributeBindings` on a tag-less component: ' + component.toString(), (function () {\n      var attributeBindings = component.attributeBindings;\n      var tagName = component.tagName;\n\n      return tagName !== '' || !attributeBindings || attributeBindings.length === 0;\n    })());\n  }\n\n  function validatePositionalParameters(named, positional, positionalParamsDefinition) {\n    _emberDebug.runInDebug(function () {\n      if (!named || !positional || !positional.length) {\n        return;\n      }\n\n      var paramType = typeof positionalParamsDefinition;\n\n      if (paramType === 'string') {\n        _emberDebug.assert('You cannot specify positional parameters and the hash argument `' + positionalParamsDefinition + '`.', !named.has(positionalParamsDefinition));\n      } else {\n        if (positional.length < positionalParamsDefinition.length) {\n          positionalParamsDefinition = positionalParamsDefinition.slice(0, positional.length);\n        }\n\n        for (var i = 0; i < positionalParamsDefinition.length; i++) {\n          var _name = positionalParamsDefinition[i];\n\n          _emberDebug.assert('You cannot specify both a positional param (at position ' + i + ') and the hash argument `' + _name + '`.', !named.has(_name));\n        }\n      }\n    });\n  }\n\n  function aliasIdToElementId(args, props) {\n    if (args.named.has('id')) {\n      _emberDebug.assert('You cannot invoke a component with both \\'id\\' and \\'elementId\\' at the same time.', !args.named.has('elementId'));\n      props.elementId = props.id;\n    }\n  }\n\n  // We must traverse the attributeBindings in reverse keeping track of\n  // what has already been applied. This is essentially refining the concated\n  // properties applying right to left.\n  function applyAttributeBindings(element, attributeBindings, component, operations) {\n    var seen = [];\n    var i = attributeBindings.length - 1;\n\n    while (i !== -1) {\n      var binding = attributeBindings[i];\n      var parsed = _emberGlimmerUtilsBindings.AttributeBinding.parse(binding);\n      var attribute = parsed[1];\n\n      if (seen.indexOf(attribute) === -1) {\n        seen.push(attribute);\n        _emberGlimmerUtilsBindings.AttributeBinding.install(element, component, parsed, operations);\n      }\n\n      i--;\n    }\n\n    if (seen.indexOf('id') === -1) {\n      operations.addStaticAttribute(element, 'id', component.elementId);\n    }\n\n    if (seen.indexOf('style') === -1) {\n      _emberGlimmerUtilsBindings.IsVisibleBinding.install(element, component, operations);\n    }\n  }\n\n  function NOOP() {}\n\n  var ComponentStateBucket = (function () {\n    function ComponentStateBucket(environment, component, args, finalizer) {\nbabelHelpers.classCallCheck(this, ComponentStateBucket);\n\n      this.environment = environment;\n      this.component = component;\n      this.classRef = null;\n      this.args = args;\n      this.argsRevision = args.tag.value();\n      this.finalizer = finalizer;\n    }\n\n    ComponentStateBucket.prototype.destroy = function destroy() {\n      var component = this.component;\n      var environment = this.environment;\n\n      if (environment.isInteractive) {\n        component.trigger('willDestroyElement');\n        component.trigger('willClearRender');\n      }\n\n      environment.destroyedComponents.push(component);\n    };\n\n    ComponentStateBucket.prototype.finalize = function finalize() {\n      var finalizer = this.finalizer;\n\n      finalizer();\n      this.finalizer = NOOP;\n    };\n\n    return ComponentStateBucket;\n  })();\n\n  function initialRenderInstrumentDetails(component) {\n    return component.instrumentDetails({ initialRender: true });\n  }\n\n  function rerenderInstrumentDetails(component) {\n    return component.instrumentDetails({ initialRender: false });\n  }\n\n  var CurlyComponentManager = (function (_AbstractManager) {\nbabelHelpers.inherits(CurlyComponentManager, _AbstractManager);\n\n    function CurlyComponentManager() {\nbabelHelpers.classCallCheck(this, CurlyComponentManager);\n\n      _AbstractManager.apply(this, arguments);\n    }\n\n    CurlyComponentManager.prototype.prepareArgs = function prepareArgs(definition, args) {\n      if (definition.ComponentClass) {\n        validatePositionalParameters(args.named, args.positional.values, definition.ComponentClass.class.positionalParams);\n      }\n\n      return _emberGlimmerUtilsProcessArgs.gatherArgs(args, definition);\n    };\n\n    CurlyComponentManager.prototype.create = function create(environment, definition, args, dynamicScope, callerSelfRef, hasBlock) {\n      var _this = this;\n\n      _emberDebug.runInDebug(function () {\n        return _this._pushToDebugStack('component:' + definition.name, environment);\n      });\n\n      var parentView = dynamicScope.view;\n\n      var factory = definition.ComponentClass;\n\n      var processedArgs = _emberGlimmerUtilsProcessArgs.ComponentArgs.create(args);\n\n      var _processedArgs$value = processedArgs.value();\n\n      var props = _processedArgs$value.props;\n\n      aliasIdToElementId(args, props);\n\n      props.parentView = parentView;\n      props[_emberGlimmerComponent.HAS_BLOCK] = hasBlock;\n\n      props._targetObject = callerSelfRef.value();\n\n      var component = factory.create(props);\n\n      var finalizer = _emberMetal._instrumentStart('render.component', initialRenderInstrumentDetails, component);\n\n      dynamicScope.view = component;\n\n      if (parentView !== null) {\n        parentView.appendChild(component);\n      }\n\n      // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n      if (component.tagName === '') {\n        if (environment.isInteractive) {\n          component.trigger('willRender');\n        }\n\n        component._transitionTo('hasElement');\n\n        if (environment.isInteractive) {\n          component.trigger('willInsertElement');\n        }\n      }\n\n      var bucket = new ComponentStateBucket(environment, component, processedArgs, finalizer);\n\n      if (args.named.has('class')) {\n        bucket.classRef = args.named.get('class');\n      }\n\n      _emberDebug.runInDebug(function () {\n        processComponentInitializationAssertions(component, props);\n      });\n\n      if (environment.isInteractive && component.tagName !== '') {\n        component.trigger('willRender');\n      }\n\n      return bucket;\n    };\n\n    CurlyComponentManager.prototype.layoutFor = function layoutFor(definition, bucket, env) {\n      var template = definition.template;\n      if (!template) {\n        var component = bucket.component;\n\n        template = this.templateFor(component, env);\n      }\n      return env.getCompiledBlock(CurlyComponentLayoutCompiler, template);\n    };\n\n    CurlyComponentManager.prototype.templateFor = function templateFor(component, env) {\n      var Template = _emberMetal.get(component, 'layout');\n      var owner = component[_emberUtils.OWNER];\n      if (Template) {\n        return env.getTemplate(Template, owner);\n      }\n      var layoutName = _emberMetal.get(component, 'layoutName');\n      if (layoutName) {\n        var template = owner.lookup('template:' + layoutName);\n        if (template) {\n          return template;\n        }\n      }\n      return owner.lookup(DEFAULT_LAYOUT);\n    };\n\n    CurlyComponentManager.prototype.getSelf = function getSelf(_ref) {\n      var component = _ref.component;\n\n      return component[_emberGlimmerComponent.ROOT_REF];\n    };\n\n    CurlyComponentManager.prototype.didCreateElement = function didCreateElement(_ref2, element, operations) {\n      var component = _ref2.component;\n      var classRef = _ref2.classRef;\n      var environment = _ref2.environment;\n\n      _emberViews.setViewElement(component, element);\n\n      var attributeBindings = component.attributeBindings;\n      var classNames = component.classNames;\n      var classNameBindings = component.classNameBindings;\n\n      if (attributeBindings && attributeBindings.length) {\n        applyAttributeBindings(element, attributeBindings, component, operations);\n      } else {\n        operations.addStaticAttribute(element, 'id', component.elementId);\n        _emberGlimmerUtilsBindings.IsVisibleBinding.install(element, component, operations);\n      }\n\n      if (classRef) {\n        operations.addDynamicAttribute(element, 'class', classRef);\n      }\n\n      if (classNames && classNames.length) {\n        classNames.forEach(function (name) {\n          operations.addStaticAttribute(element, 'class', name);\n        });\n      }\n\n      if (classNameBindings && classNameBindings.length) {\n        classNameBindings.forEach(function (binding) {\n          _emberGlimmerUtilsBindings.ClassNameBinding.install(element, component, binding, operations);\n        });\n      }\n\n      component._transitionTo('hasElement');\n\n      if (environment.isInteractive) {\n        component.trigger('willInsertElement');\n      }\n    };\n\n    CurlyComponentManager.prototype.didRenderLayout = function didRenderLayout(bucket, bounds) {\n      var _this2 = this;\n\n      bucket.component[_emberGlimmerComponent.BOUNDS] = bounds;\n      bucket.finalize();\n\n      _emberDebug.runInDebug(function () {\n        return _this2.debugStack.pop();\n      });\n    };\n\n    CurlyComponentManager.prototype.getTag = function getTag(_ref3) {\n      var component = _ref3.component;\n\n      return component[_emberGlimmerComponent.DIRTY_TAG];\n    };\n\n    CurlyComponentManager.prototype.didCreate = function didCreate(_ref4) {\n      var component = _ref4.component;\n      var environment = _ref4.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 update(bucket, _, dynamicScope) {\n      var _this3 = this;\n\n      var component = bucket.component;\n      var args = bucket.args;\n      var argsRevision = bucket.argsRevision;\n      var environment = bucket.environment;\n\n      _emberDebug.runInDebug(function () {\n        return _this3._pushToDebugStack(component._debugContainerKey, environment);\n      });\n\n      bucket.finalizer = _emberMetal._instrumentStart('render.component', rerenderInstrumentDetails, component);\n\n      if (!args.tag.validate(argsRevision)) {\n        var _args$value = args.value();\n\n        var attrs = _args$value.attrs;\n        var props = _args$value.props;\n\n        bucket.argsRevision = args.tag.value();\n\n        var oldAttrs = component.attrs;\n        var newAttrs = attrs;\n\n        component[_emberGlimmerComponent.IS_DISPATCHING_ATTRS] = true;\n        component.setProperties(props);\n        component[_emberGlimmerComponent.IS_DISPATCHING_ATTRS] = false;\n\n        _emberViews.dispatchLifeCycleHook(component, 'didUpdateAttrs', oldAttrs, newAttrs);\n        _emberViews.dispatchLifeCycleHook(component, 'didReceiveAttrs', oldAttrs, newAttrs);\n      }\n\n      if (environment.isInteractive) {\n        component.trigger('willUpdate');\n        component.trigger('willRender');\n      }\n    };\n\n    CurlyComponentManager.prototype.didUpdateLayout = function didUpdateLayout(bucket) {\n      var _this4 = this;\n\n      bucket.finalize();\n\n      _emberDebug.runInDebug(function () {\n        return _this4.debugStack.pop();\n      });\n    };\n\n    CurlyComponentManager.prototype.didUpdate = function didUpdate(_ref5) {\n      var component = _ref5.component;\n      var environment = _ref5.environment;\n\n      if (environment.isInteractive) {\n        component.trigger('didUpdate');\n        component.trigger('didRender');\n      }\n    };\n\n    CurlyComponentManager.prototype.getDestructor = function getDestructor(stateBucket) {\n      return stateBucket;\n    };\n\n    return CurlyComponentManager;\n  })(_emberGlimmerSyntaxAbstractManager.default);\n\n  var MANAGER = new CurlyComponentManager();\n\n  var TopComponentManager = (function (_CurlyComponentManager) {\nbabelHelpers.inherits(TopComponentManager, _CurlyComponentManager);\n\n    function TopComponentManager() {\nbabelHelpers.classCallCheck(this, TopComponentManager);\n\n      _CurlyComponentManager.apply(this, arguments);\n    }\n\n    TopComponentManager.prototype.create = function create(environment, definition, args, dynamicScope, currentScope, hasBlock) {\n      var _this5 = this;\n\n      var component = definition.ComponentClass.create();\n\n      _emberDebug.runInDebug(function () {\n        return _this5._pushToDebugStack(component._debugContainerKey, environment);\n      });\n\n      var finalizer = _emberMetal._instrumentStart('render.component', initialRenderInstrumentDetails, component);\n\n      dynamicScope.view = component;\n\n      // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n      if (component.tagName === '') {\n        if (environment.isInteractive) {\n          component.trigger('willRender');\n        }\n\n        component._transitionTo('hasElement');\n\n        if (environment.isInteractive) {\n          component.trigger('willInsertElement');\n        }\n      }\n\n      _emberDebug.runInDebug(function () {\n        processComponentInitializationAssertions(component, {});\n      });\n\n      return new ComponentStateBucket(environment, component, args, finalizer);\n    };\n\n    return TopComponentManager;\n  })(CurlyComponentManager);\n\n  var ROOT_MANAGER = new TopComponentManager();\n\n  function tagName(vm) {\n    var tagName = vm.dynamicScope().view.tagName;\n\n    return _glimmerRuntime.PrimitiveReference.create(tagName === '' ? null : tagName || 'div');\n  }\n\n  function ariaRole(vm) {\n    return vm.getSelf().get('ariaRole');\n  }\n\n  var CurlyComponentDefinition = (function (_ComponentDefinition) {\nbabelHelpers.inherits(CurlyComponentDefinition, _ComponentDefinition);\n\n    function CurlyComponentDefinition(name, ComponentClass, template, args) {\nbabelHelpers.classCallCheck(this, CurlyComponentDefinition);\n\n      _ComponentDefinition.call(this, name, MANAGER, ComponentClass);\n      this.template = template;\n      this.args = args;\n    }\n\n    return CurlyComponentDefinition;\n  })(_glimmerRuntime.ComponentDefinition);\n\n  exports.CurlyComponentDefinition = CurlyComponentDefinition;\n\n  var RootComponentDefinition = (function (_ComponentDefinition2) {\nbabelHelpers.inherits(RootComponentDefinition, _ComponentDefinition2);\n\n    function RootComponentDefinition(instance) {\nbabelHelpers.classCallCheck(this, RootComponentDefinition);\n\n      _ComponentDefinition2.call(this, '-root', ROOT_MANAGER, {\n        class: instance.constructor,\n        create: function () {\n          return instance;\n        }\n      });\n      this.template = undefined;\n      this.args = undefined;\n    }\n\n    return RootComponentDefinition;\n  })(_glimmerRuntime.ComponentDefinition);\n\n  exports.RootComponentDefinition = RootComponentDefinition;\n\n  var CurlyComponentLayoutCompiler = (function () {\n    function CurlyComponentLayoutCompiler(template) {\nbabelHelpers.classCallCheck(this, CurlyComponentLayoutCompiler);\n\n      this.template = template;\n    }\n\n    CurlyComponentLayoutCompiler.prototype.compile = function compile(builder) {\n      builder.wrapLayout(this.template.asLayout());\n      builder.tag.dynamic(tagName);\n      builder.attrs.dynamic('role', ariaRole);\n      builder.attrs.static('class', 'ember-view');\n    };\n\n    return CurlyComponentLayoutCompiler;\n  })();\n\n  CurlyComponentLayoutCompiler.id = 'curly';\n});\nenifed('ember-glimmer/syntax/dynamic-component', ['exports', '@glimmer/runtime', '@glimmer/reference', 'ember-debug'], function (exports, _glimmerRuntime, _glimmerReference, _emberDebug) {\n  'use strict';\n\n  exports.closureComponentMacro = closureComponentMacro;\n  exports.dynamicComponentMacro = dynamicComponentMacro;\n  exports.blockComponentMacro = blockComponentMacro;\n  exports.inlineComponentMacro = inlineComponentMacro;\n\n  function dynamicComponentFor(vm, symbolTable) {\n    var env = vm.env;\n    var args = vm.getArgs();\n    var nameRef = args.positional.at(0);\n\n    return new DynamicComponentReference({ nameRef: nameRef, env: env, symbolTable: symbolTable });\n  }\n\n  function closureComponentMacro(path, params, hash, _default, inverse, builder) {\n    var definitionArgs = [[['get', path]], hash, _default, inverse];\n    var args = [params, hash, _default, inverse];\n    builder.component.dynamic(definitionArgs, dynamicComponentFor, args, builder.symbolTable);\n    return true;\n  }\n\n  function dynamicComponentMacro(params, hash, _default, inverse, builder) {\n    var definitionArgs = [params.slice(0, 1), null, null, null];\n    var args = [params.slice(1), hash, null, null];\n    builder.component.dynamic(definitionArgs, dynamicComponentFor, args, builder.symbolTable);\n    return true;\n  }\n\n  function blockComponentMacro(sexp, builder) {\n    var params = sexp[2];\n    var hash = sexp[3];\n    var _default = sexp[4];\n    var inverse = sexp[5];\n\n    var definitionArgs = [params.slice(0, 1), null, null, null];\n    var args = [params.slice(1), hash, _default, inverse];\n    builder.component.dynamic(definitionArgs, dynamicComponentFor, args, builder.symbolTable);\n    return true;\n  }\n\n  function inlineComponentMacro(path, params, hash, builder) {\n    var definitionArgs = [params.slice(0, 1), null, null, null];\n    var args = [params.slice(1), hash, null, null];\n    builder.component.dynamic(definitionArgs, dynamicComponentFor, args, builder.symbolTable);\n    return true;\n  }\n\n  var DynamicComponentReference = (function () {\n    function DynamicComponentReference(_ref) {\n      var nameRef = _ref.nameRef;\n      var env = _ref.env;\n      var symbolTable = _ref.symbolTable;\n      var args = _ref.args;\n      babelHelpers.classCallCheck(this, DynamicComponentReference);\n\n      this.tag = nameRef.tag;\n      this.nameRef = nameRef;\n      this.env = env;\n      this.symbolTable = symbolTable;\n      this.args = args;\n    }\n\n    DynamicComponentReference.prototype.value = function value() {\n      var env = this.env;\n      var nameRef = this.nameRef;\n      var symbolTable = this.symbolTable;\n\n      var nameOrDef = nameRef.value();\n\n      if (typeof nameOrDef === 'string') {\n        var definition = env.getComponentDefinition([nameOrDef], symbolTable);\n\n        _emberDebug.assert('Could not find component named \"' + nameOrDef + '\" (no component or template with that name was found)', definition);\n\n        return definition;\n      } else if (_glimmerRuntime.isComponentDefinition(nameOrDef)) {\n        return nameOrDef;\n      } else {\n        return null;\n      }\n    };\n\n    DynamicComponentReference.prototype.get = function get() {\n      return _glimmerReference.UNDEFINED_REFERENCE;\n    };\n\n    return DynamicComponentReference;\n  })();\n});\nenifed('ember-glimmer/syntax/input', ['exports', 'ember-debug', 'ember-glimmer/utils/bindings', 'ember-glimmer/syntax/dynamic-component'], function (exports, _emberDebug, _emberGlimmerUtilsBindings, _emberGlimmerSyntaxDynamicComponent) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n  'use strict';\n\n  exports.inputMacro = inputMacro;\n\n  function buildTextFieldSyntax(params, hash, builder) {\n    var definition = builder.env.getComponentDefinition(['-text-field'], builder.symbolTable);\n    builder.component.static(definition, [params, hash, null, null], builder.symbolTable);\n    return true;\n  }\n\n  /**\n    The `{{input}}` helper lets you create an HTML `<input />` component.\n    It causes an `Ember.TextField` component to be rendered.  For more info,\n    see the [Ember.TextField](/api/classes/Ember.TextField.html) docs and\n    the [templates guide](http://emberjs.com/guides/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 inital 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/classes/Ember.TextField.html)\n  \n    ### Extending `Ember.TextField`\n  \n    Internally, `{{input type=\"text\"}}` creates an instance of `Ember.TextField`, passing\n    arguments from the helper to `Ember.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    Ember.TextField.reopen({\n      attributeBindings: ['data-error']\n    });\n    ```\n  \n    Keep in mind when writing `Ember.TextField` subclasses that `Ember.TextField`\n    itself extends `Ember.Component`. Expect isolated component semantics, not\n    legacy 1.x view semantics (like `controller` being present).\n    See more about [Ember components](/api/classes/Ember.Component.html)\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 `Ember.Checkbox`\n  \n    Internally, `{{input type=\"checkbox\"}}` creates an instance of `Ember.Checkbox`, passing\n    arguments from the helper to `Ember.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    Ember.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\n  function inputMacro(path, params, hash, builder) {\n    var keys = undefined;\n    var values = undefined;\n    var typeIndex = -1;\n    var valueIndex = -1;\n\n    if (hash) {\n      keys = hash[0];\n      values = hash[1];\n      typeIndex = keys.indexOf('type');\n      valueIndex = keys.indexOf('value');\n    }\n\n    if (!params) {\n      params = [];\n    }\n\n    if (typeIndex > -1) {\n      var typeArg = values[typeIndex];\n      if (!Array.isArray(typeArg)) {\n        if (typeArg === 'checkbox') {\n          _emberDebug.assert('{{input type=\\'checkbox\\'}} does not support setting `value=someBooleanValue`; ' + 'you must use `checked=someBooleanValue` instead.', valueIndex === -1);\n\n          _emberGlimmerUtilsBindings.wrapComponentClassAttribute(hash);\n\n          var definition = builder.env.getComponentDefinition(['-checkbox'], builder.symbolTable);\n          builder.component.static(definition, [params, hash, null, null], builder.symbolTable);\n          return true;\n        } else {\n          return buildTextFieldSyntax(params, hash, builder);\n        }\n      }\n    } else {\n      return buildTextFieldSyntax(params, hash, builder);\n    }\n\n    return _emberGlimmerSyntaxDynamicComponent.dynamicComponentMacro(params, hash, null, null, builder);\n  }\n});\nenifed('ember-glimmer/syntax/mount', ['exports', '@glimmer/runtime', '@glimmer/reference', 'ember-debug', 'ember-glimmer/utils/references', 'ember-routing', 'ember-glimmer/syntax/outlet', 'container', 'ember-glimmer/syntax/abstract-manager'], function (exports, _glimmerRuntime, _glimmerReference, _emberDebug, _emberGlimmerUtilsReferences, _emberRouting, _emberGlimmerSyntaxOutlet, _container, _emberGlimmerSyntaxAbstractManager) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n  'use strict';\n\n  exports.mountMacro = mountMacro;\n\n  function dynamicEngineFor(vm, symbolTable) {\n    var env = vm.env;\n    var args = vm.getArgs();\n    var nameRef = args.positional.at(0);\n\n    return new DynamicEngineReference({ nameRef: nameRef, env: env, symbolTable: symbolTable });\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    Currently, the engine name is the only argument that can be passed to\n    `{{mount}}`.\n  \n    @method mount\n    @for Ember.Templates.helpers\n    @category ember-application-engines\n    @public\n  */\n\n  function mountMacro(path, params, hash, builder) {\n    _emberDebug.assert('You can only pass a single argument to the {{mount}} helper, e.g. {{mount \"chat-engine\"}}.', params.length === 1 && hash === null);\n\n    _emberDebug.assert('The first argument of {{mount}} must be quoted, e.g. {{mount \"chat-engine\"}}.', typeof params[0] === 'string');\n\n    var definitionArgs = [params.slice(0, 1), null, null, null];\n    var args = [null, null, null, null];\n    builder.component.dynamic(definitionArgs, dynamicEngineFor, args, builder.symbolTable);\n    return true;\n  }\n\n  var DynamicEngineReference = (function () {\n    function DynamicEngineReference(_ref) {\n      var nameRef = _ref.nameRef;\n      var env = _ref.env;\n      var symbolTable = _ref.symbolTable;\n      var args = _ref.args;\n      babelHelpers.classCallCheck(this, DynamicEngineReference);\n\n      this.tag = nameRef.tag;\n      this.nameRef = nameRef;\n      this.env = env;\n      this.symbolTable = symbolTable;\n      this._lastName = undefined;\n      this._lastDef = undefined;\n    }\n\n    DynamicEngineReference.prototype.value = function value() {\n      var env = /*symbolTable*/this.env;\n      var nameRef = this.nameRef;\n\n      var nameOrDef = nameRef.value();\n\n      if (this._lastName === nameOrDef) {\n        return this._lastDef;\n      }\n\n      _emberDebug.assert('You used `{{mount \\'' + nameOrDef + '\\'}}`, but the engine \\'' + nameOrDef + '\\' can not be found.', env.owner.hasRegistration('engine:' + nameOrDef));\n\n      if (!env.owner.hasRegistration('engine:' + nameOrDef)) {\n        return null;\n      }\n\n      this._lastName = nameOrDef;\n      this._lastDef = new MountDefinition(nameOrDef);\n\n      return this._lastDef;\n    };\n\n    return DynamicEngineReference;\n  })();\n\n  var MountManager = (function (_AbstractManager) {\n    babelHelpers.inherits(MountManager, _AbstractManager);\n\n    function MountManager() {\n      babelHelpers.classCallCheck(this, MountManager);\n\n      _AbstractManager.apply(this, arguments);\n    }\n\n    MountManager.prototype.prepareArgs = function prepareArgs(definition, args) {\n      return args;\n    };\n\n    MountManager.prototype.create = function create(environment, _ref2, args, dynamicScope) {\n      var name = _ref2.name;\n\n      var _this = this;\n\n      _emberDebug.runInDebug(function () {\n        return _this._pushEngineToDebugStack('engine:' + name, environment);\n      });\n\n      dynamicScope.outletState = _glimmerReference.UNDEFINED_REFERENCE;\n\n      var engine = environment.owner.buildChildEngineInstance(name);\n\n      engine.boot();\n\n      return engine;\n    };\n\n    MountManager.prototype.layoutFor = function layoutFor(definition, engine, env) {\n      var template = engine.lookup('template:application');\n      return env.getCompiledBlock(_emberGlimmerSyntaxOutlet.OutletLayoutCompiler, template);\n    };\n\n    MountManager.prototype.getSelf = function getSelf(engine) {\n      var applicationFactory = engine[_container.FACTORY_FOR]('controller:application');\n      var factory = applicationFactory || _emberRouting.generateControllerFactory(engine, 'application');\n      return new _emberGlimmerUtilsReferences.RootReference(factory.create());\n    };\n\n    MountManager.prototype.getTag = function getTag() {\n      return null;\n    };\n\n    MountManager.prototype.getDestructor = function getDestructor(engine) {\n      return engine;\n    };\n\n    MountManager.prototype.didCreateElement = function didCreateElement() {};\n\n    MountManager.prototype.didRenderLayout = function didRenderLayout() {\n      var _this2 = this;\n\n      _emberDebug.runInDebug(function () {\n        return _this2.debugStack.pop();\n      });\n    };\n\n    MountManager.prototype.didCreate = function didCreate(state) {};\n\n    MountManager.prototype.update = function update(state, args, dynamicScope) {};\n\n    MountManager.prototype.didUpdateLayout = function didUpdateLayout() {};\n\n    MountManager.prototype.didUpdate = function didUpdate(state) {};\n\n    return MountManager;\n  })(_emberGlimmerSyntaxAbstractManager.default);\n\n  var MOUNT_MANAGER = new MountManager();\n\n  var MountDefinition = (function (_ComponentDefinition) {\n    babelHelpers.inherits(MountDefinition, _ComponentDefinition);\n\n    function MountDefinition(name) {\n      babelHelpers.classCallCheck(this, MountDefinition);\n\n      _ComponentDefinition.call(this, name, MOUNT_MANAGER, null);\n    }\n\n    return MountDefinition;\n  })(_glimmerRuntime.ComponentDefinition);\n});\nenifed('ember-glimmer/syntax/outlet', ['exports', 'ember-utils', '@glimmer/runtime', 'ember-debug', 'ember-metal', 'ember-glimmer/utils/references', 'ember-glimmer/syntax/abstract-manager', '@glimmer/reference'], function (exports, _emberUtils, _glimmerRuntime, _emberDebug, _emberMetal, _emberGlimmerUtilsReferences, _emberGlimmerSyntaxAbstractManager, _glimmerReference) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n  'use strict';\n\n  exports.outletMacro = outletMacro;\n\n  function outletComponentFor(vm) {\n    var _vm$dynamicScope = vm.dynamicScope();\n\n    var outletState = _vm$dynamicScope.outletState;\n\n    var args = vm.getArgs();\n    var outletNameRef = undefined;\n    if (args.positional.length === 0) {\n      outletNameRef = new _glimmerReference.ConstReference('main');\n    } else {\n      outletNameRef = args.positional.at(0);\n    }\n\n    return new OutletComponentReference(outletNameRef, outletState);\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    See [templates guide](http://emberjs.com/guides/templates/the-application-template/) for\n    additional information on using `{{outlet}}` in `application.hbs`.\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    ```javascript\n    // app/routes/menu.js\n    export default Ember.Route.extend({\n      renderTemplate() {\n        this.render({ outlet: 'menu' });\n      }\n    });\n    ```\n  \n    See the [routing guide](http://emberjs.com/guides/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(path, params, hash, builder) {\n    if (!params) {\n      params = [];\n    }\n    var definitionArgs = [params.slice(0, 1), null, null, null];\n    builder.component.dynamic(definitionArgs, outletComponentFor, _glimmerRuntime.CompiledArgs.empty(), builder.symbolTable, null);\n    return true;\n  }\n\n  var OutletComponentReference = (function () {\n    function OutletComponentReference(outletNameRef, parentOutletStateRef) {\n      babelHelpers.classCallCheck(this, OutletComponentReference);\n\n      this.outletNameRef = outletNameRef;\n      this.parentOutletStateRef = parentOutletStateRef;\n      this.definition = null;\n      this.lastState = null;\n      var outletStateTag = this.outletStateTag = new _glimmerReference.UpdatableTag(parentOutletStateRef.tag);\n      this.tag = _glimmerReference.combine([outletStateTag.tag, outletNameRef.tag]);\n    }\n\n    OutletComponentReference.prototype.value = function value() {\n      var outletNameRef = this.outletNameRef;\n      var parentOutletStateRef = this.parentOutletStateRef;\n      var definition = this.definition;\n      var lastState = this.lastState;\n\n      var outletName = outletNameRef.value();\n      var outletStateRef = parentOutletStateRef.get('outlets').get(outletName);\n      var newState = this.lastState = outletStateRef.value();\n\n      this.outletStateTag.update(outletStateRef.tag);\n\n      definition = revalidate(definition, lastState, newState);\n\n      var hasTemplate = newState && newState.render.template;\n\n      if (definition) {\n        return definition;\n      } else if (hasTemplate) {\n        return this.definition = new OutletComponentDefinition(outletName, newState.render.template);\n      } else {\n        return this.definition = null;\n      }\n    };\n\n    return OutletComponentReference;\n  })();\n\n  function revalidate(definition, lastState, newState) {\n    if (!lastState && !newState) {\n      return definition;\n    }\n\n    if (!lastState && newState || lastState && !newState) {\n      return null;\n    }\n\n    if (newState.render.template === lastState.render.template && newState.render.controller === lastState.render.controller) {\n      return definition;\n    }\n\n    return null;\n  }\n\n  function instrumentationPayload(_ref) {\n    var _ref$render = _ref.render;\n    var name = _ref$render.name;\n    var outlet = _ref$render.outlet;\n\n    return { object: name + ':' + outlet };\n  }\n\n  function NOOP() {}\n\n  var StateBucket = (function () {\n    function StateBucket(outletState) {\n      babelHelpers.classCallCheck(this, StateBucket);\n\n      this.outletState = outletState;\n      this.instrument();\n    }\n\n    StateBucket.prototype.instrument = function instrument() {\n      this.finalizer = _emberMetal._instrumentStart('render.outlet', instrumentationPayload, this.outletState);\n    };\n\n    StateBucket.prototype.finalize = function finalize() {\n      var finalizer = this.finalizer;\n\n      finalizer();\n      this.finalizer = NOOP;\n    };\n\n    return StateBucket;\n  })();\n\n  var OutletComponentManager = (function (_AbstractManager) {\n    babelHelpers.inherits(OutletComponentManager, _AbstractManager);\n\n    function OutletComponentManager() {\n      babelHelpers.classCallCheck(this, OutletComponentManager);\n\n      _AbstractManager.apply(this, arguments);\n    }\n\n    OutletComponentManager.prototype.prepareArgs = function prepareArgs(definition, args) {\n      return args;\n    };\n\n    OutletComponentManager.prototype.create = function create(environment, definition, args, dynamicScope) {\n      var _this = this;\n\n      _emberDebug.runInDebug(function () {\n        return _this._pushToDebugStack('template:' + definition.template.meta.moduleName, environment);\n      });\n\n      var outletStateReference = dynamicScope.outletState = dynamicScope.outletState.get('outlets').get(definition.outletName);\n      var outletState = outletStateReference.value();\n      return new StateBucket(outletState);\n    };\n\n    OutletComponentManager.prototype.layoutFor = function layoutFor(definition, bucket, env) {\n      return env.getCompiledBlock(OutletLayoutCompiler, definition.template);\n    };\n\n    OutletComponentManager.prototype.getSelf = function getSelf(_ref2) {\n      var outletState = _ref2.outletState;\n\n      return new _emberGlimmerUtilsReferences.RootReference(outletState.render.controller);\n    };\n\n    OutletComponentManager.prototype.getTag = function getTag() {\n      return null;\n    };\n\n    OutletComponentManager.prototype.getDestructor = function getDestructor() {\n      return null;\n    };\n\n    OutletComponentManager.prototype.didRenderLayout = function didRenderLayout(bucket) {\n      var _this2 = this;\n\n      bucket.finalize();\n\n      _emberDebug.runInDebug(function () {\n        return _this2.debugStack.pop();\n      });\n    };\n\n    OutletComponentManager.prototype.didCreateElement = function didCreateElement() {};\n\n    OutletComponentManager.prototype.didCreate = function didCreate(state) {};\n\n    OutletComponentManager.prototype.update = function update(bucket) {};\n\n    OutletComponentManager.prototype.didUpdateLayout = function didUpdateLayout(bucket) {};\n\n    OutletComponentManager.prototype.didUpdate = function didUpdate(state) {};\n\n    return OutletComponentManager;\n  })(_emberGlimmerSyntaxAbstractManager.default);\n\n  var MANAGER = new OutletComponentManager();\n\n  var TopLevelOutletComponentManager = (function (_OutletComponentManager) {\n    babelHelpers.inherits(TopLevelOutletComponentManager, _OutletComponentManager);\n\n    function TopLevelOutletComponentManager() {\n      babelHelpers.classCallCheck(this, TopLevelOutletComponentManager);\n\n      _OutletComponentManager.apply(this, arguments);\n    }\n\n    TopLevelOutletComponentManager.prototype.create = function create(environment, definition, args, dynamicScope) {\n      var _this3 = this;\n\n      _emberDebug.runInDebug(function () {\n        return _this3._pushToDebugStack('template:' + definition.template.meta.moduleName, environment);\n      });\n\n      return new StateBucket(dynamicScope.outletState.value());\n    };\n\n    TopLevelOutletComponentManager.prototype.layoutFor = function layoutFor(definition, bucket, env) {\n      return env.getCompiledBlock(TopLevelOutletLayoutCompiler, definition.template);\n    };\n\n    return TopLevelOutletComponentManager;\n  })(OutletComponentManager);\n\n  var TOP_LEVEL_MANAGER = new TopLevelOutletComponentManager();\n\n  var TopLevelOutletComponentDefinition = (function (_ComponentDefinition) {\n    babelHelpers.inherits(TopLevelOutletComponentDefinition, _ComponentDefinition);\n\n    function TopLevelOutletComponentDefinition(instance) {\n      babelHelpers.classCallCheck(this, TopLevelOutletComponentDefinition);\n\n      _ComponentDefinition.call(this, 'outlet', TOP_LEVEL_MANAGER, instance);\n      this.template = instance.template;\n      _emberUtils.generateGuid(this);\n    }\n\n    return TopLevelOutletComponentDefinition;\n  })(_glimmerRuntime.ComponentDefinition);\n\n  exports.TopLevelOutletComponentDefinition = TopLevelOutletComponentDefinition;\n\n  var TopLevelOutletLayoutCompiler = (function () {\n    function TopLevelOutletLayoutCompiler(template) {\n      babelHelpers.classCallCheck(this, TopLevelOutletLayoutCompiler);\n\n      this.template = template;\n    }\n\n    TopLevelOutletLayoutCompiler.prototype.compile = function compile(builder) {\n      builder.wrapLayout(this.template.asLayout());\n      builder.tag.static('div');\n      builder.attrs.static('id', _emberUtils.guidFor(this));\n      builder.attrs.static('class', 'ember-view');\n    };\n\n    return TopLevelOutletLayoutCompiler;\n  })();\n\n  TopLevelOutletLayoutCompiler.id = 'top-level-outlet';\n\n  var OutletComponentDefinition = (function (_ComponentDefinition2) {\n    babelHelpers.inherits(OutletComponentDefinition, _ComponentDefinition2);\n\n    function OutletComponentDefinition(outletName, template) {\n      babelHelpers.classCallCheck(this, OutletComponentDefinition);\n\n      _ComponentDefinition2.call(this, 'outlet', MANAGER, null);\n      this.outletName = outletName;\n      this.template = template;\n      _emberUtils.generateGuid(this);\n    }\n\n    return OutletComponentDefinition;\n  })(_glimmerRuntime.ComponentDefinition);\n\n  var OutletLayoutCompiler = (function () {\n    function OutletLayoutCompiler(template) {\n      babelHelpers.classCallCheck(this, OutletLayoutCompiler);\n\n      this.template = template;\n    }\n\n    OutletLayoutCompiler.prototype.compile = function compile(builder) {\n      builder.wrapLayout(this.template.asLayout());\n    };\n\n    return OutletLayoutCompiler;\n  })();\n\n  exports.OutletLayoutCompiler = OutletLayoutCompiler;\n\n  OutletLayoutCompiler.id = 'outlet';\n});\nenifed('ember-glimmer/syntax/render', ['exports', '@glimmer/runtime', '@glimmer/reference', 'ember-debug', 'ember-glimmer/utils/references', 'ember-routing', 'ember-glimmer/syntax/outlet', 'container', 'ember-glimmer/syntax/abstract-manager'], function (exports, _glimmerRuntime, _glimmerReference, _emberDebug, _emberGlimmerUtilsReferences, _emberRouting, _emberGlimmerSyntaxOutlet, _container, _emberGlimmerSyntaxAbstractManager) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n  'use strict';\n\n  exports.renderMacro = renderMacro;\n\n  function makeComponentDefinition(vm) {\n    var env = vm.env;\n    var args = vm.getArgs();\n    var nameRef = args.positional.at(0);\n\n    _emberDebug.assert('The first argument of {{render}} must be quoted, e.g. {{render \"sidebar\"}}.', _glimmerReference.isConst(nameRef));\n    _emberDebug.assert('The second argument of {{render}} must be a path, e.g. {{render \"post\" post}}.', args.positional.length === 1 || !_glimmerReference.isConst(args.positional.at(1)));\n\n    var templateName = nameRef.value();\n\n    _emberDebug.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\n    var controllerName = undefined;\n\n    if (args.named.has('controller')) {\n      var controllerNameRef = args.named.get('controller');\n\n      _emberDebug.assert('The controller argument for {{render}} must be quoted, e.g. {{render \"sidebar\" controller=\"foo\"}}.', _glimmerReference.isConst(controllerNameRef));\n\n      controllerName = controllerNameRef.value();\n\n      _emberDebug.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\n    if (args.positional.length === 1) {\n      return new _glimmerReference.ConstReference(new RenderDefinition(controllerName, template, env, SINGLETON_RENDER_MANAGER));\n    } else {\n      return new _glimmerReference.ConstReference(new RenderDefinition(controllerName, template, env, NON_SINGLETON_RENDER_MANAGER));\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    ```javascript\n    App.NavigationController = Ember.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  */\n\n  function renderMacro(path, params, hash, builder) {\n    if (!params) {\n      params = [];\n    }\n    var definitionArgs = [params.slice(0), hash, null, null];\n    var args = [params.slice(1), hash, null, null];\n    builder.component.dynamic(definitionArgs, makeComponentDefinition, args, builder.symbolTable);\n    return true;\n  }\n\n  var AbstractRenderManager = (function (_AbstractManager) {\n    babelHelpers.inherits(AbstractRenderManager, _AbstractManager);\n\n    function AbstractRenderManager() {\n      babelHelpers.classCallCheck(this, AbstractRenderManager);\n\n      _AbstractManager.apply(this, arguments);\n    }\n\n    AbstractRenderManager.prototype.prepareArgs = function prepareArgs(definition, args) {\n      return args;\n    };\n\n    /* abstract create(environment, definition, args, dynamicScope); */\n\n    AbstractRenderManager.prototype.layoutFor = function layoutFor(definition, bucket, env) {\n      return env.getCompiledBlock(_emberGlimmerSyntaxOutlet.OutletLayoutCompiler, definition.template);\n    };\n\n    AbstractRenderManager.prototype.getSelf = function getSelf(_ref) {\n      var controller = _ref.controller;\n\n      return new _emberGlimmerUtilsReferences.RootReference(controller);\n    };\n\n    AbstractRenderManager.prototype.getTag = function getTag() {\n      return null;\n    };\n\n    AbstractRenderManager.prototype.getDestructor = function getDestructor() {\n      return null;\n    };\n\n    AbstractRenderManager.prototype.didCreateElement = function didCreateElement() {};\n\n    AbstractRenderManager.prototype.didRenderLayout = function didRenderLayout() {};\n\n    AbstractRenderManager.prototype.didCreate = function didCreate() {};\n\n    AbstractRenderManager.prototype.update = function update() {};\n\n    AbstractRenderManager.prototype.didUpdateLayout = function didUpdateLayout() {};\n\n    AbstractRenderManager.prototype.didUpdate = function didUpdate() {};\n\n    return AbstractRenderManager;\n  })(_emberGlimmerSyntaxAbstractManager.default);\n\n  _emberDebug.runInDebug(function () {\n    AbstractRenderManager.prototype.didRenderLayout = function () {\n      this.debugStack.pop();\n    };\n  });\n\n  var SingletonRenderManager = (function (_AbstractRenderManager) {\n    babelHelpers.inherits(SingletonRenderManager, _AbstractRenderManager);\n\n    function SingletonRenderManager() {\n      babelHelpers.classCallCheck(this, SingletonRenderManager);\n\n      _AbstractRenderManager.apply(this, arguments);\n    }\n\n    SingletonRenderManager.prototype.create = function create(environment, definition, args, dynamicScope) {\n      var _this = this;\n\n      var name = definition.name;\n      var env = definition.env;\n\n      var controller = env.owner.lookup('controller:' + name) || _emberRouting.generateController(env.owner, name);\n\n      _emberDebug.runInDebug(function () {\n        return _this._pushToDebugStack('controller:' + name + ' (with the render helper)', environment);\n      });\n\n      if (dynamicScope.rootOutletState) {\n        dynamicScope.outletState = dynamicScope.rootOutletState.getOrphan(name);\n      }\n\n      return { controller: controller };\n    };\n\n    return SingletonRenderManager;\n  })(AbstractRenderManager);\n\n  var SINGLETON_RENDER_MANAGER = new SingletonRenderManager();\n\n  var NonSingletonRenderManager = (function (_AbstractRenderManager2) {\n    babelHelpers.inherits(NonSingletonRenderManager, _AbstractRenderManager2);\n\n    function NonSingletonRenderManager() {\n      babelHelpers.classCallCheck(this, NonSingletonRenderManager);\n\n      _AbstractRenderManager2.apply(this, arguments);\n    }\n\n    NonSingletonRenderManager.prototype.create = function create(environment, definition, args, dynamicScope) {\n      var _this2 = this;\n\n      var name = definition.name;\n      var env = definition.env;\n\n      var modelRef = args.positional.at(0);\n      var controllerFactory = env.owner[_container.FACTORY_FOR]('controller:' + name);\n\n      var factory = controllerFactory || _emberRouting.generateControllerFactory(env.owner, name);\n      var controller = factory.create({ model: modelRef.value() });\n\n      _emberDebug.runInDebug(function () {\n        return _this2._pushToDebugStack('controller:' + name + ' (with the render helper)', environment);\n      });\n\n      if (dynamicScope.rootOutletState) {\n        dynamicScope.outletState = dynamicScope.rootOutletState.getOrphan(name);\n      }\n\n      return { controller: controller };\n    };\n\n    NonSingletonRenderManager.prototype.update = function update(_ref2, args, dynamicScope) {\n      var controller = _ref2.controller;\n\n      controller.set('model', args.positional.at(0).value());\n    };\n\n    NonSingletonRenderManager.prototype.getDestructor = function getDestructor(_ref3) {\n      var controller = _ref3.controller;\n\n      return controller;\n    };\n\n    return NonSingletonRenderManager;\n  })(AbstractRenderManager);\n\n  var NON_SINGLETON_RENDER_MANAGER = new NonSingletonRenderManager();\n\n  var RenderDefinition = (function (_ComponentDefinition) {\n    babelHelpers.inherits(RenderDefinition, _ComponentDefinition);\n\n    function RenderDefinition(name, template, env, manager) {\n      babelHelpers.classCallCheck(this, RenderDefinition);\n\n      _ComponentDefinition.call(this, 'render', manager, null);\n\n      this.name = name;\n      this.template = template;\n      this.env = env;\n    }\n\n    return RenderDefinition;\n  })(_glimmerRuntime.ComponentDefinition);\n});\nenifed('ember-glimmer/template', ['exports', 'ember-utils', '@glimmer/runtime'], function (exports, _emberUtils, _glimmerRuntime) {\n  'use strict';\n\n  exports.default = template;\n\n  function template(json) {\n    var factory = _glimmerRuntime.templateFactory(json);\n\n    return {\n      id: factory.id,\n      meta: factory.meta,\n      create: function (props) {\n        return factory.create(props.env, { owner: props[_emberUtils.OWNER] });\n      }\n    };\n  }\n});\nenifed(\"ember-glimmer/template_registry\", [\"exports\"], function (exports) {\n  // STATE within a module is frowned apon, this exists\n  // to support Ember.TEMPLATES but shield ember internals from this legacy\n  // global API.\n  \"use strict\";\n\n  exports.setTemplates = setTemplates;\n  exports.getTemplates = getTemplates;\n  exports.getTemplate = getTemplate;\n  exports.hasTemplate = hasTemplate;\n  exports.setTemplate = setTemplate;\n  var TEMPLATES = {};\n\n  function setTemplates(templates) {\n    TEMPLATES = templates;\n  }\n\n  function getTemplates() {\n    return TEMPLATES;\n  }\n\n  function getTemplate(name) {\n    if (TEMPLATES.hasOwnProperty(name)) {\n      return TEMPLATES[name];\n    }\n  }\n\n  function hasTemplate(name) {\n    return TEMPLATES.hasOwnProperty(name);\n  }\n\n  function setTemplate(name, template) {\n    return TEMPLATES[name] = template;\n  }\n});\nenifed(\"ember-glimmer/templates/component\", [\"exports\", \"ember-glimmer/template\"], function (exports, _emberGlimmerTemplate) {\n  \"use strict\";\n\n  exports.default = _emberGlimmerTemplate.default({ \"id\": \"n+3mKSnB\", \"block\": \"{\\\"statements\\\":[[18,\\\"default\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"ember-glimmer/templates/component.hbs\" } });\n});\nenifed(\"ember-glimmer/templates/empty\", [\"exports\", \"ember-glimmer/template\"], function (exports, _emberGlimmerTemplate) {\n  \"use strict\";\n\n  exports.default = _emberGlimmerTemplate.default({ \"id\": \"5QJJjniM\", \"block\": \"{\\\"statements\\\":[],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"ember-glimmer/templates/empty.hbs\" } });\n});\nenifed(\"ember-glimmer/templates/link-to\", [\"exports\", \"ember-glimmer/template\"], function (exports, _emberGlimmerTemplate) {\n  \"use strict\";\n\n  exports.default = _emberGlimmerTemplate.default({ \"id\": \"YUwHICAk\", \"block\": \"{\\\"statements\\\":[[6,[\\\"if\\\"],[[28,[\\\"linkTitle\\\"]]],null,{\\\"statements\\\":[[1,[26,[\\\"linkTitle\\\"]],false]],\\\"locals\\\":[]},{\\\"statements\\\":[[18,\\\"default\\\"]],\\\"locals\\\":[]}]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"ember-glimmer/templates/link-to.hbs\" } });\n});\nenifed(\"ember-glimmer/templates/outlet\", [\"exports\", \"ember-glimmer/template\"], function (exports, _emberGlimmerTemplate) {\n  \"use strict\";\n\n  exports.default = _emberGlimmerTemplate.default({ \"id\": \"bVP1WVLR\", \"block\": \"{\\\"statements\\\":[[1,[26,[\\\"outlet\\\"]],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"ember-glimmer/templates/outlet.hbs\" } });\n});\nenifed(\"ember-glimmer/templates/root\", [\"exports\", \"ember-glimmer/template\"], function (exports, _emberGlimmerTemplate) {\n  \"use strict\";\n\n  exports.default = _emberGlimmerTemplate.default({ \"id\": \"Cjk2vS10\", \"block\": \"{\\\"statements\\\":[[1,[33,[\\\"component\\\"],[[28,[null]]],null],false]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"ember-glimmer/templates/root.hbs\" } });\n});\nenifed('ember-glimmer/utils/bindings', ['exports', '@glimmer/reference', '@glimmer/wire-format', 'ember-debug', 'ember-metal', 'ember-runtime', 'ember-glimmer/component', 'ember-glimmer/utils/string'], function (exports, _glimmerReference, _glimmerWireFormat, _emberDebug, _emberMetal, _emberRuntime, _emberGlimmerComponent, _emberGlimmerUtilsString) {\n  'use strict';\n\n  exports.wrapComponentClassAttribute = wrapComponentClassAttribute;\n\n  function referenceForKey(component, key) {\n    return component[_emberGlimmerComponent.ROOT_REF].get(key);\n  }\n\n  function referenceForParts(component, parts) {\n    var isAttrs = parts[0] === 'attrs';\n\n    // TODO deprecate this\n    if (isAttrs) {\n      parts.shift();\n\n      if (parts.length === 1) {\n        return referenceForKey(component, parts[0]);\n      }\n    }\n\n    return _glimmerReference.referenceFromParts(component[_emberGlimmerComponent.ROOT_REF], parts);\n  }\n\n  // TODO we should probably do this transform at build time\n\n  function wrapComponentClassAttribute(hash) {\n    if (!hash) {\n      return hash;\n    }\n\n    var keys = hash[0];\n    var values = hash[1];\n\n    var index = keys.indexOf('class');\n\n    if (index !== -1) {\n      var _values$index = values[index];\n      var type = _values$index[0];\n\n      if (type === _glimmerWireFormat.Ops.Get) {\n        var getExp = values[index];\n        var path = getExp[1];\n        var propName = path[path.length - 1];\n        hash[1][index] = [_glimmerWireFormat.Ops.Helper, ['-class'], [getExp, propName]];\n      }\n    }\n\n    return hash;\n  }\n\n  var AttributeBinding = {\n    parse: function (microsyntax) {\n      var colonIndex = microsyntax.indexOf(':');\n\n      if (colonIndex === -1) {\n        _emberDebug.assert('You cannot use class as an attributeBinding, use classNameBindings instead.', microsyntax !== 'class');\n        return [microsyntax, microsyntax, true];\n      } else {\n        var prop = microsyntax.substring(0, colonIndex);\n        var attribute = microsyntax.substring(colonIndex + 1);\n\n        _emberDebug.assert('You cannot use class as an attributeBinding, use classNameBindings instead.', attribute !== 'class');\n\n        return [prop, attribute, false];\n      }\n    },\n\n    install: function (element, component, parsed, operations) {\n      var prop = parsed[0];\n      var attribute = parsed[1];\n      var isSimple = parsed[2];\n\n      if (attribute === 'id') {\n        var elementId = _emberMetal.get(component, prop);\n        if (elementId === undefined || elementId === null) {\n          elementId = component.elementId;\n        }\n        operations.addStaticAttribute(element, 'id', elementId);\n        return;\n      }\n\n      var isPath = prop.indexOf('.') > -1;\n      var reference = isPath ? referenceForParts(component, prop.split('.')) : referenceForKey(component, prop);\n\n      _emberDebug.assert('Illegal attributeBinding: \\'' + prop + '\\' is not a valid attribute name.', !(isSimple && isPath));\n\n      if (attribute === 'style') {\n        reference = new StyleBindingReference(reference, referenceForKey(component, 'isVisible'));\n      }\n\n      operations.addDynamicAttribute(element, attribute, reference);\n    }\n  };\n\n  exports.AttributeBinding = AttributeBinding;\n  var DISPLAY_NONE = 'display: none;';\n  var SAFE_DISPLAY_NONE = _emberGlimmerUtilsString.htmlSafe(DISPLAY_NONE);\n\n  var StyleBindingReference = (function (_CachedReference) {\n    babelHelpers.inherits(StyleBindingReference, _CachedReference);\n\n    function StyleBindingReference(inner, isVisible) {\n      babelHelpers.classCallCheck(this, StyleBindingReference);\n\n      _CachedReference.call(this);\n\n      this.tag = _glimmerReference.combine([inner.tag, isVisible.tag]);\n      this.inner = inner;\n      this.isVisible = isVisible;\n    }\n\n    StyleBindingReference.prototype.compute = function compute() {\n      var value = this.inner.value();\n      var isVisible = this.isVisible.value();\n\n      if (isVisible !== false) {\n        return value;\n      } else if (!value && value !== 0) {\n        return SAFE_DISPLAY_NONE;\n      } else {\n        var style = value + ' ' + DISPLAY_NONE;\n        return _emberGlimmerUtilsString.isHTMLSafe(value) ? _emberGlimmerUtilsString.htmlSafe(style) : style;\n      }\n    };\n\n    return StyleBindingReference;\n  })(_glimmerReference.CachedReference);\n\n  var IsVisibleBinding = {\n    install: function (element, component, operations) {\n      operations.addDynamicAttribute(element, 'style', _glimmerReference.map(referenceForKey(component, 'isVisible'), this.mapStyleValue));\n    },\n\n    mapStyleValue: function (isVisible) {\n      return isVisible === false ? SAFE_DISPLAY_NONE : null;\n    }\n  };\n\n  exports.IsVisibleBinding = IsVisibleBinding;\n  var ClassNameBinding = {\n    install: function (element, component, microsyntax, operations) {\n      var _microsyntax$split = microsyntax.split(':');\n\n      var prop = _microsyntax$split[0];\n      var truthy = _microsyntax$split[1];\n      var falsy = _microsyntax$split[2];\n\n      var isStatic = prop === '';\n\n      if (isStatic) {\n        operations.addStaticAttribute(element, 'class', truthy);\n      } else {\n        var isPath = prop.indexOf('.') > -1;\n        var parts = isPath && prop.split('.');\n        var value = isPath ? referenceForParts(component, parts) : referenceForKey(component, prop);\n        var ref = undefined;\n\n        if (truthy === undefined) {\n          ref = new SimpleClassNameBindingReference(value, isPath ? parts[parts.length - 1] : prop);\n        } else {\n          ref = new ColonClassNameBindingReference(value, truthy, falsy);\n        }\n\n        operations.addDynamicAttribute(element, 'class', ref);\n      }\n    }\n  };\n\n  exports.ClassNameBinding = ClassNameBinding;\n\n  var SimpleClassNameBindingReference = (function (_CachedReference2) {\n    babelHelpers.inherits(SimpleClassNameBindingReference, _CachedReference2);\n\n    function SimpleClassNameBindingReference(inner, path) {\n      babelHelpers.classCallCheck(this, SimpleClassNameBindingReference);\n\n      _CachedReference2.call(this);\n\n      this.tag = inner.tag;\n      this.inner = inner;\n      this.path = path;\n      this.dasherizedPath = null;\n    }\n\n    SimpleClassNameBindingReference.prototype.compute = function compute() {\n      var value = this.inner.value();\n\n      if (value === true) {\n        var path = this.path;\n        var dasherizedPath = this.dasherizedPath;\n\n        return dasherizedPath || (this.dasherizedPath = _emberRuntime.String.dasherize(path));\n      } else if (value || value === 0) {\n        return value;\n      } else {\n        return null;\n      }\n    };\n\n    return SimpleClassNameBindingReference;\n  })(_glimmerReference.CachedReference);\n\n  var ColonClassNameBindingReference = (function (_CachedReference3) {\n    babelHelpers.inherits(ColonClassNameBindingReference, _CachedReference3);\n\n    function ColonClassNameBindingReference(inner, truthy, falsy) {\n      babelHelpers.classCallCheck(this, ColonClassNameBindingReference);\n\n      _CachedReference3.call(this);\n\n      this.tag = inner.tag;\n      this.inner = inner;\n      this.truthy = truthy || null;\n      this.falsy = falsy || null;\n    }\n\n    ColonClassNameBindingReference.prototype.compute = function compute() {\n      var inner = this.inner;\n      var truthy = this.truthy;\n      var falsy = this.falsy;\n\n      return inner.value() ? truthy : falsy;\n    };\n\n    return ColonClassNameBindingReference;\n  })(_glimmerReference.CachedReference);\n});\nenifed('ember-glimmer/utils/debug-stack', ['exports', 'ember-debug'], function (exports, _emberDebug) {\n  'use strict';\n\n  var DebugStack = undefined;\n\n  _emberDebug.runInDebug(function () {\n    var Element = function Element(name) {\n      babelHelpers.classCallCheck(this, Element);\n\n      this.name = name;\n    };\n\n    var TemplateElement = (function (_Element) {\n      babelHelpers.inherits(TemplateElement, _Element);\n\n      function TemplateElement() {\n        babelHelpers.classCallCheck(this, TemplateElement);\n\n        _Element.apply(this, arguments);\n      }\n\n      return TemplateElement;\n    })(Element);\n\n    var EngineElement = (function (_Element2) {\n      babelHelpers.inherits(EngineElement, _Element2);\n\n      function EngineElement() {\n        babelHelpers.classCallCheck(this, EngineElement);\n\n        _Element2.apply(this, arguments);\n      }\n\n      return EngineElement;\n    })(Element);\n\n    DebugStack = (function () {\n      function DebugStack() {\n        babelHelpers.classCallCheck(this, DebugStack);\n\n        this._stack = [];\n      }\n\n      DebugStack.prototype.push = function push(name) {\n        this._stack.push(new TemplateElement(name));\n      };\n\n      DebugStack.prototype.pushEngine = function pushEngine(name) {\n        this._stack.push(new EngineElement(name));\n      };\n\n      DebugStack.prototype.pop = function pop() {\n        var element = this._stack.pop();\n\n        if (element) {\n          return element.name;\n        }\n      };\n\n      DebugStack.prototype.peek = function peek() {\n        var template = this._currentTemplate();\n        var engine = this._currentEngine();\n\n        if (engine) {\n          return '\"' + template + '\" (in \"' + engine + '\")';\n        } else if (template) {\n          return '\"' + template + '\"';\n        }\n      };\n\n      DebugStack.prototype._currentTemplate = function _currentTemplate() {\n        return this._getCurrentByType(TemplateElement);\n      };\n\n      DebugStack.prototype._currentEngine = function _currentEngine() {\n        return this._getCurrentByType(EngineElement);\n      };\n\n      DebugStack.prototype._getCurrentByType = function _getCurrentByType(type) {\n        for (var i = this._stack.length; i >= 0; i--) {\n          var element = this._stack[i];\n          if (element instanceof type) {\n            return element.name;\n          }\n        }\n      };\n\n      return DebugStack;\n    })();\n  });\n\n  exports.default = DebugStack;\n});\nenifed('ember-glimmer/utils/iterable', ['exports', 'ember-utils', 'ember-metal', 'ember-runtime', 'ember-glimmer/utils/references', 'ember-glimmer/helpers/each-in', '@glimmer/reference'], function (exports, _emberUtils, _emberMetal, _emberRuntime, _emberGlimmerUtilsReferences, _emberGlimmerHelpersEachIn, _glimmerReference) {\n  'use strict';\n\n  exports.default = iterableFor;\n\n  var ITERATOR_KEY_GUID = 'be277757-bbbe-4620-9fcb-213ef433cca2';\n\n  function iterableFor(ref, keyPath) {\n    if (_emberGlimmerHelpersEachIn.isEachIn(ref)) {\n      return new EachInIterable(ref, keyForEachIn(keyPath));\n    } else {\n      return new ArrayIterable(ref, keyForArray(keyPath));\n    }\n  }\n\n  function keyForEachIn(keyPath) {\n    switch (keyPath) {\n      case '@index':\n      case undefined:\n      case null:\n        return index;\n      case '@identity':\n        return identity;\n      default:\n        return function (item) {\n          return _emberMetal.get(item, keyPath);\n        };\n    }\n  }\n\n  function keyForArray(keyPath) {\n    switch (keyPath) {\n      case '@index':\n        return index;\n      case '@identity':\n      case undefined:\n      case null:\n        return identity;\n      default:\n        return function (item) {\n          return _emberMetal.get(item, keyPath);\n        };\n    }\n  }\n\n  function index(item, index) {\n    return String(index);\n  }\n\n  function identity(item) {\n    switch (typeof item) {\n      case 'string':\n      case 'number':\n        return String(item);\n      default:\n        return _emberUtils.guidFor(item);\n    }\n  }\n\n  function ensureUniqueKey(seen, key) {\n    var seenCount = seen[key];\n\n    if (seenCount) {\n      seen[key]++;\n      return '' + key + ITERATOR_KEY_GUID + seenCount;\n    } else {\n      seen[key] = 1;\n    }\n\n    return key;\n  }\n\n  var ArrayIterator = (function () {\n    function ArrayIterator(array, keyFor) {\n      babelHelpers.classCallCheck(this, ArrayIterator);\n\n      this.array = array;\n      this.length = array.length;\n      this.keyFor = keyFor;\n      this.position = 0;\n      this.seen = Object.create(null);\n    }\n\n    ArrayIterator.prototype.isEmpty = function isEmpty() {\n      return false;\n    };\n\n    ArrayIterator.prototype.next = function next() {\n      var array = this.array;\n      var length = this.length;\n      var keyFor = this.keyFor;\n      var position = this.position;\n      var seen = this.seen;\n\n      if (position >= length) {\n        return null;\n      }\n\n      var value = array[position];\n      var memo = position;\n      var key = ensureUniqueKey(seen, keyFor(value, memo));\n\n      this.position++;\n\n      return { key: key, value: value, memo: memo };\n    };\n\n    return ArrayIterator;\n  })();\n\n  var EmberArrayIterator = (function () {\n    function EmberArrayIterator(array, keyFor) {\n      babelHelpers.classCallCheck(this, EmberArrayIterator);\n\n      this.array = array;\n      this.length = _emberMetal.get(array, 'length');\n      this.keyFor = keyFor;\n      this.position = 0;\n      this.seen = Object.create(null);\n    }\n\n    EmberArrayIterator.prototype.isEmpty = function isEmpty() {\n      return this.length === 0;\n    };\n\n    EmberArrayIterator.prototype.next = function next() {\n      var array = this.array;\n      var length = this.length;\n      var keyFor = this.keyFor;\n      var position = this.position;\n      var seen = this.seen;\n\n      if (position >= length) {\n        return null;\n      }\n\n      var value = _emberRuntime.objectAt(array, position);\n      var memo = position;\n      var key = ensureUniqueKey(seen, keyFor(value, memo));\n\n      this.position++;\n\n      return { key: key, value: value, memo: memo };\n    };\n\n    return EmberArrayIterator;\n  })();\n\n  var ObjectKeysIterator = (function () {\n    function ObjectKeysIterator(keys, values, keyFor) {\n      babelHelpers.classCallCheck(this, ObjectKeysIterator);\n\n      this.keys = keys;\n      this.values = values;\n      this.keyFor = keyFor;\n      this.position = 0;\n      this.seen = Object.create(null);\n    }\n\n    ObjectKeysIterator.prototype.isEmpty = function isEmpty() {\n      return this.keys.length === 0;\n    };\n\n    ObjectKeysIterator.prototype.next = function next() {\n      var keys = this.keys;\n      var values = this.values;\n      var keyFor = this.keyFor;\n      var position = this.position;\n      var seen = this.seen;\n\n      if (position >= keys.length) {\n        return null;\n      }\n\n      var value = values[position];\n      var memo = keys[position];\n      var key = ensureUniqueKey(seen, keyFor(value, memo));\n\n      this.position++;\n\n      return { key: key, value: value, memo: memo };\n    };\n\n    return ObjectKeysIterator;\n  })();\n\n  var EmptyIterator = (function () {\n    function EmptyIterator() {\n      babelHelpers.classCallCheck(this, EmptyIterator);\n    }\n\n    EmptyIterator.prototype.isEmpty = function isEmpty() {\n      return true;\n    };\n\n    EmptyIterator.prototype.next = function next() {\n      throw new Error('Cannot call next() on an empty iterator');\n    };\n\n    return EmptyIterator;\n  })();\n\n  var EMPTY_ITERATOR = new EmptyIterator();\n\n  var EachInIterable = (function () {\n    function EachInIterable(ref, keyFor) {\n      babelHelpers.classCallCheck(this, EachInIterable);\n\n      this.ref = ref;\n      this.keyFor = keyFor;\n\n      var valueTag = this.valueTag = new _glimmerReference.UpdatableTag(_glimmerReference.CONSTANT_TAG);\n\n      this.tag = _glimmerReference.combine([ref.tag, valueTag]);\n    }\n\n    EachInIterable.prototype.iterate = function iterate() {\n      var ref = this.ref;\n      var keyFor = this.keyFor;\n      var valueTag = this.valueTag;\n\n      var iterable = ref.value();\n\n      valueTag.update(_emberMetal.tagFor(iterable));\n\n      if (_emberMetal.isProxy(iterable)) {\n        iterable = _emberMetal.get(iterable, 'content');\n      }\n\n      var typeofIterable = typeof iterable;\n\n      if (iterable && (typeofIterable === 'object' || typeofIterable === 'function')) {\n        var keys = Object.keys(iterable);\n        var values = keys.map(function (key) {\n          return iterable[key];\n        });\n        return keys.length > 0 ? new ObjectKeysIterator(keys, values, keyFor) : EMPTY_ITERATOR;\n      } else {\n        return EMPTY_ITERATOR;\n      }\n    };\n\n    // {{each-in}} yields |key value| instead of |value key|, so the memo and\n    // value are flipped\n\n    EachInIterable.prototype.valueReferenceFor = function valueReferenceFor(item) {\n      return new _emberGlimmerUtilsReferences.UpdatablePrimitiveReference(item.memo);\n    };\n\n    EachInIterable.prototype.updateValueReference = function updateValueReference(reference, item) {\n      reference.update(item.memo);\n    };\n\n    EachInIterable.prototype.memoReferenceFor = function memoReferenceFor(item) {\n      return new _emberGlimmerUtilsReferences.UpdatableReference(item.value);\n    };\n\n    EachInIterable.prototype.updateMemoReference = function updateMemoReference(reference, item) {\n      reference.update(item.value);\n    };\n\n    return EachInIterable;\n  })();\n\n  var ArrayIterable = (function () {\n    function ArrayIterable(ref, keyFor) {\n      babelHelpers.classCallCheck(this, ArrayIterable);\n\n      this.ref = ref;\n      this.keyFor = keyFor;\n\n      var valueTag = this.valueTag = new _glimmerReference.UpdatableTag(_glimmerReference.CONSTANT_TAG);\n\n      this.tag = _glimmerReference.combine([ref.tag, valueTag]);\n    }\n\n    ArrayIterable.prototype.iterate = function iterate() {\n      var ref = this.ref;\n      var keyFor = this.keyFor;\n      var valueTag = this.valueTag;\n\n      var iterable = ref.value();\n\n      valueTag.update(_emberMetal.tagForProperty(iterable, '[]'));\n\n      if (!iterable || typeof iterable !== 'object') {\n        return EMPTY_ITERATOR;\n      }\n\n      if (Array.isArray(iterable)) {\n        return iterable.length > 0 ? new ArrayIterator(iterable, keyFor) : EMPTY_ITERATOR;\n      } else if (_emberRuntime.isEmberArray(iterable)) {\n        return _emberMetal.get(iterable, 'length') > 0 ? new EmberArrayIterator(iterable, keyFor) : EMPTY_ITERATOR;\n      } else if (typeof iterable.forEach === 'function') {\n        var _ret = (function () {\n          var array = [];\n          iterable.forEach(function (item) {\n            array.push(item);\n          });\n          return {\n            v: array.length > 0 ? new ArrayIterator(array, keyFor) : EMPTY_ITERATOR\n          };\n        })();\n\n        if (typeof _ret === 'object') return _ret.v;\n      } else {\n        return EMPTY_ITERATOR;\n      }\n    };\n\n    ArrayIterable.prototype.valueReferenceFor = function valueReferenceFor(item) {\n      return new _emberGlimmerUtilsReferences.UpdatableReference(item.value);\n    };\n\n    ArrayIterable.prototype.updateValueReference = function updateValueReference(reference, item) {\n      reference.update(item.value);\n    };\n\n    ArrayIterable.prototype.memoReferenceFor = function memoReferenceFor(item) {\n      return new _emberGlimmerUtilsReferences.UpdatablePrimitiveReference(item.memo);\n    };\n\n    ArrayIterable.prototype.updateMemoReference = function updateMemoReference(reference, item) {\n      reference.update(item.memo);\n    };\n\n    return ArrayIterable;\n  })();\n});\nenifed('ember-glimmer/utils/process-args', ['exports', 'ember-utils', '@glimmer/reference', 'ember-glimmer/component', 'ember-glimmer/utils/references', 'ember-views', 'ember-glimmer/helpers/action', '@glimmer/runtime'], function (exports, _emberUtils, _glimmerReference, _emberGlimmerComponent, _emberGlimmerUtilsReferences, _emberViews, _emberGlimmerHelpersAction, _glimmerRuntime) {\n  'use strict';\n\n  exports.gatherArgs = gatherArgs;\n\n  // Maps all variants of positional and dynamically scoped arguments\n  // into the named arguments. Input `args` and return value are both\n  // `EvaluatedArgs`.\n\n  function gatherArgs(args, definition) {\n    var namedMap = gatherNamedMap(args, definition);\n    var positionalValues = gatherPositionalValues(args, definition);\n    return mergeArgs(namedMap, positionalValues, args.blocks, definition.ComponentClass.class);\n  }\n\n  function gatherNamedMap(args, definition) {\n    var namedMap = args.named.map;\n    if (definition.args) {\n      return _emberUtils.assign({}, definition.args.named.map, namedMap);\n    } else {\n      return namedMap;\n    }\n  }\n\n  function gatherPositionalValues(args, definition) {\n    var positionalValues = args.positional.values;\n    if (definition.args) {\n      var oldPositional = definition.args.positional.values;\n      var newPositional = [];\n      newPositional.push.apply(newPositional, oldPositional);\n      newPositional.splice.apply(newPositional, [0, positionalValues.length].concat(positionalValues));\n      return newPositional;\n    } else {\n      return positionalValues;\n    }\n  }\n\n  function mergeArgs(namedMap, positionalValues, blocks, componentClass) {\n    var positionalParamsDefinition = componentClass.positionalParams;\n\n    if (positionalParamsDefinition && positionalParamsDefinition.length > 0 && positionalValues.length > 0) {\n      if (typeof positionalParamsDefinition === 'string') {\n        namedMap = mergeRestArg(namedMap, positionalValues, positionalParamsDefinition);\n      } else {\n        namedMap = mergePositionalParams(namedMap, positionalValues, positionalParamsDefinition);\n      }\n    }\n    return _glimmerRuntime.EvaluatedArgs.named(namedMap, blocks);\n  }\n\n  var EMPTY_ARGS = {\n    tag: _glimmerReference.CONSTANT_TAG,\n    value: function () {\n      var _props;\n\n      return { attrs: {}, props: (_props = { attrs: {} }, _props[_emberGlimmerComponent.ARGS] = {}, _props) };\n    }\n  };\n\n  // ComponentArgs takes EvaluatedNamedArgs and converts them into the\n  // inputs needed by CurlyComponents (attrs and props, with mutable\n  // cells, etc).\n\n  var ComponentArgs = (function () {\n    ComponentArgs.create = function create(args) {\n      if (args.named.keys.length === 0) {\n        return EMPTY_ARGS;\n      } else {\n        return new ComponentArgs(args.named);\n      }\n    };\n\n    function ComponentArgs(namedArgs) {\n      babelHelpers.classCallCheck(this, ComponentArgs);\n\n      this.tag = namedArgs.tag;\n      this.namedArgs = namedArgs;\n    }\n\n    ComponentArgs.prototype.value = function value() {\n      var namedArgs = this.namedArgs;\n\n      var keys = namedArgs.keys;\n      var attrs = namedArgs.value();\n      var props = Object.create(null);\n      var args = Object.create(null);\n\n      props[_emberGlimmerComponent.ARGS] = args;\n\n      for (var i = 0, l = keys.length; i < l; i++) {\n        var _name = keys[i];\n        var ref = namedArgs.get(_name);\n        var value = attrs[_name];\n\n        if (typeof value === 'function' && value[_emberGlimmerHelpersAction.ACTION]) {\n          attrs[_name] = value;\n        } else if (ref[_emberGlimmerUtilsReferences.UPDATE]) {\n          attrs[_name] = new MutableCell(ref, value);\n        }\n\n        args[_name] = ref;\n        props[_name] = value;\n      }\n\n      props.attrs = attrs;\n\n      return { attrs: attrs, props: props };\n    };\n\n    return ComponentArgs;\n  })();\n\n  exports.ComponentArgs = ComponentArgs;\n\n  function mergeRestArg(namedMap, positionalValues, restArgName) {\n    var mergedNamed = _emberUtils.assign({}, namedMap);\n    mergedNamed[restArgName] = _glimmerRuntime.EvaluatedPositionalArgs.create(positionalValues);\n    return mergedNamed;\n  }\n\n  function mergePositionalParams(namedMap, values, positionalParamNames) {\n    var mergedNamed = _emberUtils.assign({}, namedMap);\n    var length = Math.min(values.length, positionalParamNames.length);\n    for (var i = 0; i < length; i++) {\n      var _name2 = positionalParamNames[i];\n      mergedNamed[_name2] = values[i];\n    }\n    return mergedNamed;\n  }\n\n  var REF = _emberUtils.symbol('REF');\n\n  var MutableCell = (function () {\n    function MutableCell(ref, value) {\n      babelHelpers.classCallCheck(this, MutableCell);\n\n      this[_emberViews.MUTABLE_CELL] = true;\n      this[REF] = ref;\n      this.value = value;\n    }\n\n    MutableCell.prototype.update = function update(val) {\n      this[REF][_emberGlimmerUtilsReferences.UPDATE](val);\n    };\n\n    return MutableCell;\n  })();\n});\nenifed('ember-glimmer/utils/references', ['exports', 'ember-utils', 'ember-metal', '@glimmer/reference', '@glimmer/runtime', 'ember-glimmer/utils/to-bool', 'ember-glimmer/helper', 'ember-debug'], function (exports, _emberUtils, _emberMetal, _glimmerReference, _glimmerRuntime, _emberGlimmerUtilsToBool, _emberGlimmerHelper, _emberDebug) {\n  'use strict';\n\n  var UPDATE = _emberUtils.symbol('UPDATE');\n\n  exports.UPDATE = UPDATE;\n  exports.NULL_REFERENCE = _glimmerRuntime.NULL_REFERENCE;\n  exports.UNDEFINED_REFERENCE = _glimmerRuntime.UNDEFINED_REFERENCE;\n\n  var maybeFreeze = undefined;\n  _emberDebug.runInDebug(function () {\n    // gaurding this in a DEBUG gaurd (as well as all invocations)\n    // so that it is properly stripped during the minification's\n    // dead code elimination\n    maybeFreeze = function (obj) {\n      // re-freezing an already frozen object introduces a significant\n      // performance penalty on Chrome (tested through 59).\n      //\n      // See: https://bugs.chromium.org/p/v8/issues/detail?id=6450\n      if (!Object.isFrozen(obj) && _emberUtils.HAS_NATIVE_WEAKMAP) {\n        Object.freeze(obj);\n      }\n    };\n  });\n\n  // @abstract\n  // @implements PathReference\n\n  var EmberPathReference = (function () {\n    function EmberPathReference() {\n      babelHelpers.classCallCheck(this, EmberPathReference);\n    }\n\n    // @abstract\n\n    // @abstract get tag()\n    // @abstract value()\n\n    EmberPathReference.prototype.get = function get(key) {\n      return PropertyReference.create(this, key);\n    };\n\n    return EmberPathReference;\n  })();\n\n  var CachedReference = (function (_EmberPathReference) {\n    babelHelpers.inherits(CachedReference, _EmberPathReference);\n\n    function CachedReference() {\n      babelHelpers.classCallCheck(this, CachedReference);\n\n      _EmberPathReference.call(this);\n      this._lastRevision = null;\n      this._lastValue = null;\n    }\n\n    // @implements PathReference\n\n    CachedReference.prototype.value = function value() {\n      var tag = this.tag;\n      var _lastRevision = this._lastRevision;\n      var _lastValue = this._lastValue;\n\n      if (!_lastRevision || !tag.validate(_lastRevision)) {\n        _lastValue = this._lastValue = this.compute();\n        this._lastRevision = tag.value();\n      }\n\n      return _lastValue;\n    };\n\n    // @abstract compute()\n    return CachedReference;\n  })(EmberPathReference);\n\n  exports.CachedReference = CachedReference;\n\n  var RootReference = (function (_ConstReference) {\n    babelHelpers.inherits(RootReference, _ConstReference);\n\n    function RootReference(value) {\n      babelHelpers.classCallCheck(this, RootReference);\n\n      _ConstReference.call(this, value);\n      this.children = Object.create(null);\n    }\n\n    RootReference.prototype.get = function get(propertyKey) {\n      var ref = this.children[propertyKey];\n\n      if (!ref) {\n        ref = this.children[propertyKey] = new RootPropertyReference(this.inner, propertyKey);\n      }\n\n      return ref;\n    };\n\n    return RootReference;\n  })(_glimmerReference.ConstReference);\n\n  exports.RootReference = RootReference;\n\n  var TwoWayFlushDetectionTag = undefined;\n\n  if (true || false) {\n    TwoWayFlushDetectionTag = (function () {\n      function _class(tag, key, ref) {\n        babelHelpers.classCallCheck(this, _class);\n\n        this.tag = tag;\n        this.parent = null;\n        this.key = key;\n        this.ref = ref;\n      }\n\n      _class.prototype.value = function value() {\n        return this.tag.value();\n      };\n\n      _class.prototype.validate = function validate(ticket) {\n        var parent = this.parent;\n        var key = this.key;\n\n        var isValid = this.tag.validate(ticket);\n\n        if (isValid && parent) {\n          _emberMetal.didRender(parent, key, this.ref);\n        }\n\n        return isValid;\n      };\n\n      _class.prototype.didCompute = function didCompute(parent) {\n        this.parent = parent;\n        _emberMetal.didRender(parent, this.key, this.ref);\n      };\n\n      return _class;\n    })();\n  }\n\n  var PropertyReference = (function (_CachedReference) {\n    babelHelpers.inherits(PropertyReference, _CachedReference);\n\n    function PropertyReference() {\n      babelHelpers.classCallCheck(this, PropertyReference);\n\n      _CachedReference.apply(this, arguments);\n    }\n\n    PropertyReference.create = function create(parentReference, propertyKey) {\n      if (_glimmerReference.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 get(key) {\n      return new NestedPropertyReference(this, key);\n    };\n\n    return PropertyReference;\n  })(CachedReference);\n\n  exports.PropertyReference = PropertyReference;\n\n  var RootPropertyReference = (function (_PropertyReference) {\n    babelHelpers.inherits(RootPropertyReference, _PropertyReference);\n\n    function RootPropertyReference(parentValue, propertyKey) {\n      babelHelpers.classCallCheck(this, RootPropertyReference);\n\n      _PropertyReference.call(this);\n\n      this._parentValue = parentValue;\n      this._propertyKey = propertyKey;\n\n      if (true || false) {\n        this.tag = new TwoWayFlushDetectionTag(_emberMetal.tagForProperty(parentValue, propertyKey), propertyKey, this);\n      } else {\n        this.tag = _emberMetal.tagForProperty(parentValue, propertyKey);\n      }\n\n      if (true) {\n        _emberMetal.watchKey(parentValue, propertyKey);\n      }\n    }\n\n    RootPropertyReference.prototype.compute = function compute() {\n      var _parentValue = this._parentValue;\n      var _propertyKey = this._propertyKey;\n\n      if (true || false) {\n        this.tag.didCompute(_parentValue);\n      }\n\n      return _emberMetal.get(_parentValue, _propertyKey);\n    };\n\n    RootPropertyReference.prototype[UPDATE] = function (value) {\n      _emberMetal.set(this._parentValue, this._propertyKey, value);\n    };\n\n    return RootPropertyReference;\n  })(PropertyReference);\n\n  exports.RootPropertyReference = RootPropertyReference;\n\n  var NestedPropertyReference = (function (_PropertyReference2) {\n    babelHelpers.inherits(NestedPropertyReference, _PropertyReference2);\n\n    function NestedPropertyReference(parentReference, propertyKey) {\n      babelHelpers.classCallCheck(this, NestedPropertyReference);\n\n      _PropertyReference2.call(this);\n\n      var parentReferenceTag = parentReference.tag;\n      var parentObjectTag = new _glimmerReference.UpdatableTag(_glimmerReference.CONSTANT_TAG);\n\n      this._parentReference = parentReference;\n      this._parentObjectTag = parentObjectTag;\n      this._propertyKey = propertyKey;\n\n      if (true || false) {\n        var tag = _glimmerReference.combine([parentReferenceTag, parentObjectTag]);\n        this.tag = new TwoWayFlushDetectionTag(tag, propertyKey, this);\n      } else {\n        this.tag = _glimmerReference.combine([parentReferenceTag, parentObjectTag]);\n      }\n    }\n\n    NestedPropertyReference.prototype.compute = function compute() {\n      var _parentReference = this._parentReference;\n      var _parentObjectTag = this._parentObjectTag;\n      var _propertyKey = this._propertyKey;\n\n      var parentValue = _parentReference.value();\n\n      _parentObjectTag.update(_emberMetal.tagForProperty(parentValue, _propertyKey));\n\n      if (typeof parentValue === 'string' && _propertyKey === 'length') {\n        return parentValue.length;\n      }\n\n      if (typeof parentValue === 'object' && parentValue) {\n        if (true) {\n          _emberMetal.watchKey(parentValue, _propertyKey);\n        }\n\n        if (true || false) {\n          this.tag.didCompute(parentValue);\n        }\n\n        return _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      _emberMetal.set(parent, this._propertyKey, value);\n    };\n\n    return NestedPropertyReference;\n  })(PropertyReference);\n\n  exports.NestedPropertyReference = NestedPropertyReference;\n\n  var UpdatableReference = (function (_EmberPathReference2) {\n    babelHelpers.inherits(UpdatableReference, _EmberPathReference2);\n\n    function UpdatableReference(value) {\n      babelHelpers.classCallCheck(this, UpdatableReference);\n\n      _EmberPathReference2.call(this);\n\n      this.tag = new _glimmerReference.DirtyableTag();\n      this._value = value;\n    }\n\n    UpdatableReference.prototype.value = function value() {\n      return this._value;\n    };\n\n    UpdatableReference.prototype.update = function update(value) {\n      var _value = this._value;\n\n      if (value !== _value) {\n        this.tag.dirty();\n        this._value = value;\n      }\n    };\n\n    return UpdatableReference;\n  })(EmberPathReference);\n\n  exports.UpdatableReference = UpdatableReference;\n\n  var UpdatablePrimitiveReference = (function (_UpdatableReference) {\n    babelHelpers.inherits(UpdatablePrimitiveReference, _UpdatableReference);\n\n    function UpdatablePrimitiveReference() {\n      babelHelpers.classCallCheck(this, UpdatablePrimitiveReference);\n\n      _UpdatableReference.apply(this, arguments);\n    }\n\n    UpdatablePrimitiveReference.prototype.get = function get() {\n      return _glimmerRuntime.UNDEFINED_REFERENCE;\n    };\n\n    return UpdatablePrimitiveReference;\n  })(UpdatableReference);\n\n  exports.UpdatablePrimitiveReference = UpdatablePrimitiveReference;\n\n  var ConditionalReference = (function (_GlimmerConditionalReference) {\n    babelHelpers.inherits(ConditionalReference, _GlimmerConditionalReference);\n\n    ConditionalReference.create = function create(reference) {\n      if (_glimmerReference.isConst(reference)) {\n        var value = reference.value();\n\n        if (_emberMetal.isProxy(value)) {\n          return new RootPropertyReference(value, 'isTruthy');\n        } else {\n          return _glimmerRuntime.PrimitiveReference.create(_emberGlimmerUtilsToBool.default(value));\n        }\n      }\n\n      return new ConditionalReference(reference);\n    };\n\n    function ConditionalReference(reference) {\n      babelHelpers.classCallCheck(this, ConditionalReference);\n\n      _GlimmerConditionalReference.call(this, reference);\n\n      this.objectTag = new _glimmerReference.UpdatableTag(_glimmerReference.CONSTANT_TAG);\n      this.tag = _glimmerReference.combine([reference.tag, this.objectTag]);\n    }\n\n    ConditionalReference.prototype.toBool = function toBool(predicate) {\n      if (_emberMetal.isProxy(predicate)) {\n        this.objectTag.update(_emberMetal.tagForProperty(predicate, 'isTruthy'));\n        return _emberMetal.get(predicate, 'isTruthy');\n      } else {\n        this.objectTag.update(_emberMetal.tagFor(predicate));\n        return _emberGlimmerUtilsToBool.default(predicate);\n      }\n    };\n\n    return ConditionalReference;\n  })(_glimmerRuntime.ConditionalReference);\n\n  exports.ConditionalReference = ConditionalReference;\n\n  var SimpleHelperReference = (function (_CachedReference2) {\n    babelHelpers.inherits(SimpleHelperReference, _CachedReference2);\n\n    SimpleHelperReference.create = function create(helper, args) {\n      if (_glimmerReference.isConst(args)) {\n        var _ret = (function () {\n          var positional = args.positional;\n          var named = args.named;\n\n          var positionalValue = positional.value();\n          var namedValue = named.value();\n\n          _emberDebug.runInDebug(function () {\n            maybeFreeze(positionalValue);\n            maybeFreeze(namedValue);\n          });\n\n          var result = helper(positionalValue, namedValue);\n\n          if (result === null) {\n            return {\n              v: _glimmerRuntime.NULL_REFERENCE\n            };\n          } else if (result === undefined) {\n            return {\n              v: _glimmerRuntime.UNDEFINED_REFERENCE\n            };\n          } else if (typeof result === 'object') {\n            return {\n              v: new RootReference(result)\n            };\n          } else {\n            return {\n              v: _glimmerRuntime.PrimitiveReference.create(result)\n            };\n          }\n        })();\n\n        if (typeof _ret === 'object') return _ret.v;\n      } else {\n        return new SimpleHelperReference(helper, args);\n      }\n    };\n\n    function SimpleHelperReference(helper, args) {\n      babelHelpers.classCallCheck(this, SimpleHelperReference);\n\n      _CachedReference2.call(this);\n\n      this.tag = args.tag;\n      this.helper = helper;\n      this.args = args;\n    }\n\n    SimpleHelperReference.prototype.compute = function compute() {\n      var helper = this.helper;\n      var _args = this.args;\n      var positional = _args.positional;\n      var named = _args.named;\n\n      var positionalValue = positional.value();\n      var namedValue = named.value();\n\n      _emberDebug.runInDebug(function () {\n        maybeFreeze(positionalValue);\n        maybeFreeze(namedValue);\n      });\n\n      return helper(positionalValue, namedValue);\n    };\n\n    return SimpleHelperReference;\n  })(CachedReference);\n\n  exports.SimpleHelperReference = SimpleHelperReference;\n\n  var ClassBasedHelperReference = (function (_CachedReference3) {\n    babelHelpers.inherits(ClassBasedHelperReference, _CachedReference3);\n\n    ClassBasedHelperReference.create = function create(helperClass, vm, args) {\n      var instance = helperClass.create();\n      vm.newDestroyable(instance);\n      return new ClassBasedHelperReference(instance, args);\n    };\n\n    function ClassBasedHelperReference(instance, args) {\n      babelHelpers.classCallCheck(this, ClassBasedHelperReference);\n\n      _CachedReference3.call(this);\n\n      this.tag = _glimmerReference.combine([instance[_emberGlimmerHelper.RECOMPUTE_TAG], args.tag]);\n      this.instance = instance;\n      this.args = args;\n    }\n\n    ClassBasedHelperReference.prototype.compute = function compute() {\n      var instance = this.instance;\n      var _args2 = this.args;\n      var positional = _args2.positional;\n      var named = _args2.named;\n\n      var positionalValue = positional.value();\n      var namedValue = named.value();\n\n      _emberDebug.runInDebug(function () {\n        maybeFreeze(positionalValue);\n        maybeFreeze(namedValue);\n      });\n\n      return instance.compute(positionalValue, namedValue);\n    };\n\n    return ClassBasedHelperReference;\n  })(CachedReference);\n\n  exports.ClassBasedHelperReference = ClassBasedHelperReference;\n\n  var InternalHelperReference = (function (_CachedReference4) {\n    babelHelpers.inherits(InternalHelperReference, _CachedReference4);\n\n    function InternalHelperReference(helper, args) {\n      babelHelpers.classCallCheck(this, InternalHelperReference);\n\n      _CachedReference4.call(this);\n\n      this.tag = args.tag;\n      this.helper = helper;\n      this.args = args;\n    }\n\n    // @implements PathReference\n\n    InternalHelperReference.prototype.compute = function compute() {\n      var helper = this.helper;\n      var args = this.args;\n\n      return helper(args);\n    };\n\n    return InternalHelperReference;\n  })(CachedReference);\n\n  exports.InternalHelperReference = InternalHelperReference;\n\n  var UnboundReference = (function (_ConstReference2) {\n    babelHelpers.inherits(UnboundReference, _ConstReference2);\n\n    function UnboundReference() {\n      babelHelpers.classCallCheck(this, UnboundReference);\n\n      _ConstReference2.apply(this, arguments);\n    }\n\n    UnboundReference.create = function create(value) {\n      if (value === null) {\n        return _glimmerRuntime.NULL_REFERENCE;\n      } else if (value === undefined) {\n        return _glimmerRuntime.UNDEFINED_REFERENCE;\n      } else if (typeof value === 'object') {\n        return new UnboundReference(value);\n      } else {\n        return _glimmerRuntime.PrimitiveReference.create(value);\n      }\n    };\n\n    UnboundReference.prototype.get = function get(key) {\n      return new UnboundReference(_emberMetal.get(this.inner, key));\n    };\n\n    return UnboundReference;\n  })(_glimmerReference.ConstReference);\n\n  exports.UnboundReference = UnboundReference;\n});\nenifed('ember-glimmer/utils/string', ['exports', 'ember-debug'], function (exports, _emberDebug) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n\n  'use strict';\n\n  exports.getSafeString = getSafeString;\n  exports.escapeExpression = escapeExpression;\n  exports.htmlSafe = htmlSafe;\n  exports.isHTMLSafe = isHTMLSafe;\n\n  var SafeString = (function () {\n    function SafeString(string) {\n      babelHelpers.classCallCheck(this, SafeString);\n\n      this.string = string;\n    }\n\n    SafeString.prototype.toString = function toString() {\n      return '' + this.string;\n    };\n\n    SafeString.prototype.toHTML = function toHTML() {\n      return this.toString();\n    };\n\n    return SafeString;\n  })();\n\n  exports.SafeString = SafeString;\n\n  function getSafeString() {\n    _emberDebug.deprecate('Ember.Handlebars.SafeString is deprecated in favor of Ember.String.htmlSafe', false, {\n      id: 'ember-htmlbars.ember-handlebars-safestring',\n      until: '3.0.0',\n      url: 'http://emberjs.com/deprecations/v2.x#toc_use-ember-string-htmlsafe-over-ember-handlebars-safestring'\n    });\n\n    return SafeString;\n  }\n\n  var escape = {\n    '&': '&amp;',\n    '<': '&lt;',\n    '>': '&gt;',\n    '\"': '&quot;',\n    // jscs:disable\n    \"'\": '&#x27;',\n    // jscs:enable\n    '`': '&#x60;',\n    '=': '&#x3D;'\n  };\n\n  var possible = /[&<>\"'`=]/;\n  var badChars = /[&<>\"'`=]/g;\n\n  function escapeChar(chr) {\n    return escape[chr];\n  }\n\n  function escapeExpression(string) {\n    if (typeof string !== 'string') {\n      // don't escape SafeStrings, since they're already safe\n      if (string && string.toHTML) {\n        return string.toHTML();\n      } else if (string == null) {\n        return '';\n      } else if (!string) {\n        return string + '';\n      }\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\n    if (!possible.test(string)) {\n      return string;\n    }\n    return string.replace(badChars, escapeChar);\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    Ember.String.htmlSafe('<div>someString</div>')\n    ```\n  \n    @method htmlSafe\n    @for Ember.String\n    @static\n    @return {Handlebars.SafeString} A string that will not be HTML escaped by Handlebars.\n    @public\n  */\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  /**\n    Detects if a string was decorated using `Ember.String.htmlSafe`.\n  \n    ```javascript\n    var plainString = 'plain string',\n        safeString = Ember.String.htmlSafe('<div>someValue</div>');\n  \n    Ember.String.isHTMLSafe(plainString); // false\n    Ember.String.isHTMLSafe(safeString);  // true\n    ```\n  \n    @method isHTMLSafe\n    @for Ember.String\n    @static\n    @return {Boolean} `true` if the string was decorated with `htmlSafe`, `false` otherwise.\n    @public\n  */\n\n  function isHTMLSafe(str) {\n    return str && typeof str.toHTML === 'function';\n  }\n});\nenifed('ember-glimmer/utils/to-bool', ['exports', 'ember-runtime', 'ember-metal'], function (exports, _emberRuntime, _emberMetal) {\n  'use strict';\n\n  exports.default = toBool;\n\n  function toBool(predicate) {\n    if (!predicate) {\n      return false;\n    }\n\n    if (predicate === true) {\n      return true;\n    }\n\n    if (_emberRuntime.isArray(predicate)) {\n      return _emberMetal.get(predicate, 'length') !== 0;\n    }\n\n    return true;\n  }\n});\nenifed('ember-glimmer/views/outlet', ['exports', 'ember-utils', '@glimmer/reference', 'ember-environment', 'ember-metal'], function (exports, _emberUtils, _glimmerReference, _emberEnvironment, _emberMetal) {\n  /**\n  @module ember\n  @submodule ember-glimmer\n  */\n  'use strict';\n\n  var OutletStateReference = (function () {\n    function OutletStateReference(outletView) {\n      babelHelpers.classCallCheck(this, OutletStateReference);\n\n      this.outletView = outletView;\n      this.tag = outletView._tag;\n    }\n\n    // So this is a relic of the past that SHOULD go away\n    // in 3.0. Preferably it is deprecated in the release that\n    // follows the Glimmer release.\n\n    OutletStateReference.prototype.get = function get(key) {\n      return new ChildOutletStateReference(this, key);\n    };\n\n    OutletStateReference.prototype.value = function value() {\n      return this.outletView.outletState;\n    };\n\n    OutletStateReference.prototype.getOrphan = function getOrphan(name) {\n      return new OrphanedOutletStateReference(this, name);\n    };\n\n    OutletStateReference.prototype.update = function update(state) {\n      this.outletView.setOutletState(state);\n    };\n\n    return OutletStateReference;\n  })();\n\n  var OrphanedOutletStateReference = (function (_OutletStateReference) {\n    babelHelpers.inherits(OrphanedOutletStateReference, _OutletStateReference);\n\n    function OrphanedOutletStateReference(root, name) {\n      babelHelpers.classCallCheck(this, OrphanedOutletStateReference);\n\n      _OutletStateReference.call(this, root.outletView);\n      this.root = root;\n      this.name = name;\n    }\n\n    OrphanedOutletStateReference.prototype.value = function value() {\n      var rootState = this.root.value();\n\n      var orphans = rootState.outlets.main.outlets.__ember_orphans__;\n\n      if (!orphans) {\n        return null;\n      }\n\n      var matched = orphans.outlets[this.name];\n\n      if (!matched) {\n        return null;\n      }\n\n      var state = Object.create(null);\n      state[matched.render.outlet] = matched;\n      matched.wasUsed = true;\n      return { outlets: state };\n    };\n\n    return OrphanedOutletStateReference;\n  })(OutletStateReference);\n\n  var ChildOutletStateReference = (function () {\n    function ChildOutletStateReference(parent, key) {\n      babelHelpers.classCallCheck(this, ChildOutletStateReference);\n\n      this.parent = parent;\n      this.key = key;\n      this.tag = parent.tag;\n    }\n\n    ChildOutletStateReference.prototype.get = function get(key) {\n      return new ChildOutletStateReference(this, key);\n    };\n\n    ChildOutletStateReference.prototype.value = function value() {\n      return this.parent.value()[this.key];\n    };\n\n    return ChildOutletStateReference;\n  })();\n\n  var OutletView = (function () {\n    OutletView.extend = function extend(injections) {\n      return (function (_OutletView) {\n        babelHelpers.inherits(_class, _OutletView);\n\n        function _class() {\n          babelHelpers.classCallCheck(this, _class);\n\n          _OutletView.apply(this, arguments);\n        }\n\n        _class.create = function create(options) {\n          if (options) {\n            return _OutletView.create.call(this, _emberUtils.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 reopenClass(injections) {\n      _emberUtils.assign(this, injections);\n    };\n\n    OutletView.create = function create(options) {\n      var _environment = options._environment;\n      var renderer = options.renderer;\n      var template = options.template;\n\n      var owner = options[_emberUtils.OWNER];\n      return new OutletView(_environment, renderer, owner, template);\n    };\n\n    function OutletView(_environment, renderer, owner, template) {\n      babelHelpers.classCallCheck(this, OutletView);\n\n      this._environment = _environment;\n      this.renderer = renderer;\n      this.owner = owner;\n      this.template = template;\n      this.outletState = null;\n      this._tag = new _glimmerReference.DirtyableTag();\n    }\n\n    OutletView.prototype.appendTo = function appendTo(selector) {\n      var env = this._environment || _emberEnvironment.environment;\n      var target = undefined;\n\n      if (env.hasDOM) {\n        target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n      } else {\n        target = selector;\n      }\n\n      _emberMetal.run.schedule('render', this.renderer, 'appendOutletView', this, target);\n    };\n\n    OutletView.prototype.rerender = function rerender() {};\n\n    OutletView.prototype.setOutletState = function setOutletState(state) {\n      this.outletState = {\n        outlets: {\n          main: state\n        },\n        render: {\n          owner: undefined,\n          into: undefined,\n          outlet: 'main',\n          name: '-top-level',\n          controller: undefined,\n          ViewClass: undefined,\n          template: undefined\n        }\n      };\n      this._tag.dirty();\n    };\n\n    OutletView.prototype.toReference = function toReference() {\n      return new OutletStateReference(this);\n    };\n\n    OutletView.prototype.destroy = function destroy() {};\n\n    return OutletView;\n  })();\n\n  exports.default = OutletView;\n});\nenifed('ember-metal/alias', ['exports', 'ember-utils', 'ember-debug', 'ember-metal/property_get', 'ember-metal/property_set', 'ember-metal/properties', 'ember-metal/computed', 'ember-metal/meta', 'ember-metal/dependent_keys'], function (exports, _emberUtils, _emberDebug, _emberMetalProperty_get, _emberMetalProperty_set, _emberMetalProperties, _emberMetalComputed, _emberMetalMeta, _emberMetalDependent_keys) {\n  'use strict';\n\n  exports.default = alias;\n\n  var CONSUMED = {};\n\n  function alias(altKey) {\n    return new AliasedProperty(altKey);\n  }\n\n  var AliasedProperty = (function (_Descriptor) {\n    babelHelpers.inherits(AliasedProperty, _Descriptor);\n\n    function AliasedProperty(altKey) {\n      babelHelpers.classCallCheck(this, AliasedProperty);\n\n      _Descriptor.call(this);\n      this.isDescriptor = true;\n      this.altKey = altKey;\n      this._dependentKeys = [altKey];\n    }\n\n    AliasedProperty.prototype.setup = function setup(obj, keyName) {\n      _emberDebug.assert('Setting alias \\'' + keyName + '\\' on self', this.altKey !== keyName);\n      var meta = _emberMetalMeta.meta(obj);\n      if (meta.peekWatching(keyName)) {\n        _emberMetalDependent_keys.addDependentKeys(this, obj, keyName, meta);\n      }\n    };\n\n    AliasedProperty.prototype.teardown = function teardown(obj, keyName) {\n      var meta = _emberMetalMeta.meta(obj);\n      if (meta.peekWatching(keyName)) {\n        _emberMetalDependent_keys.removeDependentKeys(this, obj, keyName, meta);\n      }\n    };\n\n    AliasedProperty.prototype.willWatch = function willWatch(obj, keyName) {\n      _emberMetalDependent_keys.addDependentKeys(this, obj, keyName, _emberMetalMeta.meta(obj));\n    };\n\n    AliasedProperty.prototype.didUnwatch = function didUnwatch(obj, keyName) {\n      _emberMetalDependent_keys.removeDependentKeys(this, obj, keyName, _emberMetalMeta.meta(obj));\n    };\n\n    AliasedProperty.prototype.get = function get(obj, keyName) {\n      var ret = _emberMetalProperty_get.get(obj, this.altKey);\n      var meta = _emberMetalMeta.meta(obj);\n      var cache = meta.writableCache();\n      if (cache[keyName] !== CONSUMED) {\n        cache[keyName] = CONSUMED;\n        _emberMetalDependent_keys.addDependentKeys(this, obj, keyName, meta);\n      }\n      return ret;\n    };\n\n    AliasedProperty.prototype.set = function set(obj, keyName, value) {\n      return _emberMetalProperty_set.set(obj, this.altKey, value);\n    };\n\n    AliasedProperty.prototype.readOnly = function readOnly() {\n      this.set = AliasedProperty_readOnlySet;\n      return this;\n    };\n\n    AliasedProperty.prototype.oneWay = function oneWay() {\n      this.set = AliasedProperty_oneWaySet;\n      return this;\n    };\n\n    return AliasedProperty;\n  })(_emberMetalProperties.Descriptor);\n\n  exports.AliasedProperty = AliasedProperty;\n\n  function AliasedProperty_readOnlySet(obj, keyName, value) {\n    throw new _emberDebug.Error('Cannot set read-only property \\'' + keyName + '\\' on object: ' + _emberUtils.inspect(obj));\n  }\n\n  function AliasedProperty_oneWaySet(obj, keyName, value) {\n    _emberMetalProperties.defineProperty(obj, keyName, null);\n    return _emberMetalProperty_set.set(obj, keyName, value);\n  }\n\n  // Backwards compatibility with Ember Data.\n  AliasedProperty.prototype._meta = undefined;\n  AliasedProperty.prototype.meta = _emberMetalComputed.ComputedProperty.prototype.meta;\n});\nenifed('ember-metal/binding', ['exports', 'ember-utils', 'ember-console', 'ember-environment', 'ember-metal/run_loop', 'ember-debug', 'ember-metal/property_get', 'ember-metal/property_set', 'ember-metal/events', 'ember-metal/observer', 'ember-metal/path_cache'], function (exports, _emberUtils, _emberConsole, _emberEnvironment, _emberMetalRun_loop, _emberDebug, _emberMetalProperty_get, _emberMetalProperty_set, _emberMetalEvents, _emberMetalObserver, _emberMetalPath_cache) {\n  'use strict';\n\n  exports.bind = bind;\n\n  /**\n  @module ember\n  @submodule ember-metal\n  */\n\n  // ..........................................................\n  // BINDING\n  //\n\n  var Binding = (function () {\n    function Binding(toPath, fromPath) {\n      babelHelpers.classCallCheck(this, Binding);\n\n      // Configuration\n      this._from = fromPath;\n      this._to = toPath;\n      this._oneWay = undefined;\n\n      // State\n      this._direction = undefined;\n      this._readyToSync = undefined;\n      this._fromObj = undefined;\n      this._fromPath = undefined;\n      this._toObj = undefined;\n    }\n\n    /**\n      @class Binding\n      @namespace Ember\n      @deprecated See http://emberjs.com/deprecations/v2.x#toc_ember-binding\n      @public\n    */\n\n    /**\n      This copies the Binding so it can be connected to another object.\n       @method copy\n      @return {Ember.Binding} `this`\n      @public\n    */\n\n    Binding.prototype.copy = function copy() {\n      var copy = new Binding(this._to, this._from);\n      if (this._oneWay) {\n        copy._oneWay = true;\n      }\n      return copy;\n    };\n\n    // ..........................................................\n    // CONFIG\n    //\n\n    /**\n      This will set `from` property path to the specified value. It will not\n      attempt to resolve this property path to an actual object until you\n      connect the binding.\n       The binding will search for the property path starting at the root object\n      you pass when you `connect()` the binding. It follows the same rules as\n      `get()` - see that method for more information.\n       @method from\n      @param {String} path The property path to connect to.\n      @return {Ember.Binding} `this`\n      @public\n    */\n\n    Binding.prototype.from = function from(path) {\n      this._from = path;\n      return this;\n    };\n\n    /**\n      This will set the `to` property path to the specified value. It will not\n      attempt to resolve this property path to an actual object until you\n      connect the binding.\n       The binding will search for the property path starting at the root object\n      you pass when you `connect()` the binding. It follows the same rules as\n      `get()` - see that method for more information.\n       @method to\n      @param {String|Tuple} path A property path or tuple.\n      @return {Ember.Binding} `this`\n      @public\n    */\n\n    Binding.prototype.to = function to(path) {\n      this._to = path;\n      return this;\n    };\n\n    /**\n      Configures the binding as one way. A one-way binding will relay changes\n      on the `from` side to the `to` side, but not the other way around. This\n      means that if you change the `to` side directly, the `from` side may have\n      a different value.\n       @method oneWay\n      @return {Ember.Binding} `this`\n      @public\n    */\n\n    Binding.prototype.oneWay = function oneWay() {\n      this._oneWay = true;\n      return this;\n    };\n\n    /**\n      @method toString\n      @return {String} string representation of binding\n      @public\n    */\n\n    Binding.prototype.toString = function toString() {\n      var oneWay = this._oneWay ? '[oneWay]' : '';\n      return 'Ember.Binding<' + _emberUtils.guidFor(this) + '>(' + this._from + ' -> ' + this._to + ')' + oneWay;\n    };\n\n    // ..........................................................\n    // CONNECT AND SYNC\n    //\n\n    /**\n      Attempts to connect this binding instance so that it can receive and relay\n      changes. This method will raise an exception if you have not set the\n      from/to properties yet.\n       @method connect\n      @param {Object} obj The root object for this binding.\n      @return {Ember.Binding} `this`\n      @public\n    */\n\n    Binding.prototype.connect = function connect(obj) {\n      _emberDebug.assert('Must pass a valid object to Ember.Binding.connect()', !!obj);\n\n      var fromObj = undefined,\n          fromPath = undefined,\n          possibleGlobal = undefined;\n\n      // If the binding's \"from\" path could be interpreted as a global, verify\n      // whether the path refers to a global or not by consulting `Ember.lookup`.\n      if (_emberMetalPath_cache.isGlobalPath(this._from)) {\n        var _name = _emberMetalPath_cache.getFirstKey(this._from);\n        possibleGlobal = _emberEnvironment.context.lookup[_name];\n\n        if (possibleGlobal) {\n          fromObj = possibleGlobal;\n          fromPath = _emberMetalPath_cache.getTailPath(this._from);\n        }\n      }\n\n      if (fromObj === undefined) {\n        fromObj = obj;\n        fromPath = this._from;\n      }\n\n      _emberMetalProperty_set.trySet(obj, this._to, _emberMetalProperty_get.get(fromObj, fromPath));\n\n      // Add an observer on the object to be notified when the binding should be updated.\n      _emberMetalObserver.addObserver(fromObj, fromPath, this, 'fromDidChange');\n\n      // If the binding is a two-way binding, also set up an observer on the target.\n      if (!this._oneWay) {\n        _emberMetalObserver.addObserver(obj, this._to, this, 'toDidChange');\n      }\n\n      _emberMetalEvents.addListener(obj, 'willDestroy', this, 'disconnect');\n\n      fireDeprecations(obj, this._to, this._from, possibleGlobal, this._oneWay, !possibleGlobal && !this._oneWay);\n\n      this._readyToSync = true;\n      this._fromObj = fromObj;\n      this._fromPath = fromPath;\n      this._toObj = obj;\n\n      return this;\n    };\n\n    /**\n      Disconnects the binding instance. Changes will no longer be relayed. You\n      will not usually need to call this method.\n       @method disconnect\n      @return {Ember.Binding} `this`\n      @public\n    */\n\n    Binding.prototype.disconnect = function disconnect() {\n      _emberDebug.assert('Must pass a valid object to Ember.Binding.disconnect()', !!this._toObj);\n\n      // Remove an observer on the object so we're no longer notified of\n      // changes that should update bindings.\n      _emberMetalObserver.removeObserver(this._fromObj, this._fromPath, this, 'fromDidChange');\n\n      // If the binding is two-way, remove the observer from the target as well.\n      if (!this._oneWay) {\n        _emberMetalObserver.removeObserver(this._toObj, this._to, this, 'toDidChange');\n      }\n\n      this._readyToSync = false; // Disable scheduled syncs...\n      return this;\n    };\n\n    // ..........................................................\n    // PRIVATE\n    //\n\n    /* Called when the from side changes. */\n\n    Binding.prototype.fromDidChange = function fromDidChange(target) {\n      this._scheduleSync('fwd');\n    };\n\n    /* Called when the to side changes. */\n\n    Binding.prototype.toDidChange = function toDidChange(target) {\n      this._scheduleSync('back');\n    };\n\n    Binding.prototype._scheduleSync = function _scheduleSync(dir) {\n      var existingDir = this._direction;\n\n      // If we haven't scheduled the binding yet, schedule it.\n      if (existingDir === undefined) {\n        _emberMetalRun_loop.default.schedule('sync', this, '_sync');\n        this._direction = dir;\n      }\n\n      // If both a 'back' and 'fwd' sync have been scheduled on the same object,\n      // default to a 'fwd' sync so that it remains deterministic.\n      if (existingDir === 'back' && dir === 'fwd') {\n        this._direction = 'fwd';\n      }\n    };\n\n    Binding.prototype._sync = function _sync() {\n      var _this = this;\n\n      var log = _emberEnvironment.ENV.LOG_BINDINGS;\n\n      var toObj = this._toObj;\n\n      // Don't synchronize destroyed objects or disconnected bindings.\n      if (toObj.isDestroyed || !this._readyToSync) {\n        return;\n      }\n\n      // Get the direction of the binding for the object we are\n      // synchronizing from.\n      var direction = this._direction;\n\n      var fromObj = this._fromObj;\n      var fromPath = this._fromPath;\n\n      this._direction = undefined;\n\n      // If we're synchronizing from the remote object...\n      if (direction === 'fwd') {\n        (function () {\n          var fromValue = _emberMetalProperty_get.get(fromObj, fromPath);\n          if (log) {\n            _emberConsole.default.log(' ', _this.toString(), '->', fromValue, fromObj);\n          }\n          if (_this._oneWay) {\n            _emberMetalProperty_set.trySet(toObj, _this._to, fromValue);\n          } else {\n            _emberMetalObserver._suspendObserver(toObj, _this._to, _this, 'toDidChange', function () {\n              _emberMetalProperty_set.trySet(toObj, this._to, fromValue);\n            });\n          }\n          // If we're synchronizing *to* the remote object.\n        })();\n      } else if (direction === 'back') {\n          (function () {\n            var toValue = _emberMetalProperty_get.get(toObj, _this._to);\n            if (log) {\n              _emberConsole.default.log(' ', _this.toString(), '<-', toValue, toObj);\n            }\n            _emberMetalObserver._suspendObserver(fromObj, fromPath, _this, 'fromDidChange', function () {\n              _emberMetalProperty_set.trySet(fromObj, fromPath, toValue);\n            });\n          })();\n        }\n    };\n\n    return Binding;\n  })();\n\n  function fireDeprecations(obj, toPath, fromPath, deprecateGlobal, deprecateOneWay, deprecateAlias) {\n    var deprecateGlobalMessage = '`Ember.Binding` is deprecated. Since you' + ' are binding to a global consider using a service instead.';\n    var deprecateOneWayMessage = '`Ember.Binding` is deprecated. Since you' + ' are using a `oneWay` binding consider using a `readOnly` computed' + ' property instead.';\n    var deprecateAliasMessage = '`Ember.Binding` is deprecated. Consider' + ' using an `alias` computed property instead.';\n\n    var objectInfo = 'The `' + toPath + '` property of `' + obj + '` is an `Ember.Binding` connected to `' + fromPath + '`, but ';\n    _emberDebug.deprecate(objectInfo + deprecateGlobalMessage, !deprecateGlobal, {\n      id: 'ember-metal.binding',\n      until: '3.0.0',\n      url: 'http://emberjs.com/deprecations/v2.x#toc_ember-binding'\n    });\n    _emberDebug.deprecate(objectInfo + deprecateOneWayMessage, !deprecateOneWay, {\n      id: 'ember-metal.binding',\n      until: '3.0.0',\n      url: 'http://emberjs.com/deprecations/v2.x#toc_ember-binding'\n    });\n    _emberDebug.deprecate(objectInfo + deprecateAliasMessage, !deprecateAlias, {\n      id: 'ember-metal.binding',\n      until: '3.0.0',\n      url: 'http://emberjs.com/deprecations/v2.x#toc_ember-binding'\n    });\n  }\n\n  function mixinProperties(to, from) {\n    for (var key in from) {\n      if (from.hasOwnProperty(key)) {\n        to[key] = from[key];\n      }\n    }\n  }\n\n  mixinProperties(Binding, {\n\n    /*\n      See `Ember.Binding.from`.\n       @method from\n      @static\n    */\n    from: function (from) {\n      var C = this;\n      return new C(undefined, from);\n    },\n\n    /*\n      See `Ember.Binding.to`.\n       @method to\n      @static\n    */\n    to: function (to) {\n      var C = this;\n      return new C(to, undefined);\n    }\n  });\n  /**\n    An `Ember.Binding` connects the properties of two objects so that whenever\n    the value of one property changes, the other property will be changed also.\n  \n    ## Automatic Creation of Bindings with `/^*Binding/`-named Properties.\n  \n    You do not usually create Binding objects directly but instead describe\n    bindings in your class or object definition using automatic binding\n    detection.\n  \n    Properties ending in a `Binding` suffix will be converted to `Ember.Binding`\n    instances. The value of this property should be a string representing a path\n    to another object or a custom binding instance created using Binding helpers\n    (see \"One Way Bindings\"):\n  \n    ```\n    valueBinding: \"MyApp.someController.title\"\n    ```\n  \n    This will create a binding from `MyApp.someController.title` to the `value`\n    property of your object instance automatically. Now the two values will be\n    kept in sync.\n  \n    ## One Way Bindings\n  \n    One especially useful binding customization you can use is the `oneWay()`\n    helper. This helper tells Ember that you are only interested in\n    receiving changes on the object you are binding from. For example, if you\n    are binding to a preference and you want to be notified if the preference\n    has changed, but your object will not be changing the preference itself, you\n    could do:\n  \n    ```\n    bigTitlesBinding: Ember.Binding.oneWay(\"MyApp.preferencesController.bigTitles\")\n    ```\n  \n    This way if the value of `MyApp.preferencesController.bigTitles` changes the\n    `bigTitles` property of your object will change also. However, if you\n    change the value of your `bigTitles` property, it will not update the\n    `preferencesController`.\n  \n    One way bindings are almost twice as fast to setup and twice as fast to\n    execute because the binding only has to worry about changes to one side.\n  \n    You should consider using one way bindings anytime you have an object that\n    may be created frequently and you do not intend to change a property; only\n    to monitor it for changes (such as in the example above).\n  \n    ## Adding Bindings Manually\n  \n    All of the examples above show you how to configure a custom binding, but the\n    result of these customizations will be a binding template, not a fully active\n    Binding instance. The binding will actually become active only when you\n    instantiate the object the binding belongs to. It is useful, however, to\n    understand what actually happens when the binding is activated.\n  \n    For a binding to function it must have at least a `from` property and a `to`\n    property. The `from` property path points to the object/key that you want to\n    bind from while the `to` path points to the object/key you want to bind to.\n  \n    When you define a custom binding, you are usually describing the property\n    you want to bind from (such as `MyApp.someController.value` in the examples\n    above). When your object is created, it will automatically assign the value\n    you want to bind `to` based on the name of your binding key. In the\n    examples above, during init, Ember objects will effectively call\n    something like this on your binding:\n  \n    ```javascript\n    binding = Ember.Binding.from(\"valueBinding\").to(\"value\");\n    ```\n  \n    This creates a new binding instance based on the template you provide, and\n    sets the to path to the `value` property of the new object. Now that the\n    binding is fully configured with a `from` and a `to`, it simply needs to be\n    connected to become active. This is done through the `connect()` method:\n  \n    ```javascript\n    binding.connect(this);\n    ```\n  \n    Note that when you connect a binding you pass the object you want it to be\n    connected to. This object will be used as the root for both the from and\n    to side of the binding when inspecting relative paths. This allows the\n    binding to be automatically inherited by subclassed objects as well.\n  \n    This also allows you to bind between objects using the paths you declare in\n    `from` and `to`:\n  \n    ```javascript\n    // Example 1\n    binding = Ember.Binding.from(\"App.someObject.value\").to(\"value\");\n    binding.connect(this);\n  \n    // Example 2\n    binding = Ember.Binding.from(\"parentView.value\").to(\"App.someObject.value\");\n    binding.connect(this);\n    ```\n  \n    Now that the binding is connected, it will observe both the from and to side\n    and relay changes.\n  \n    If you ever needed to do so (you almost never will, but it is useful to\n    understand this anyway), you could manually create an active binding by\n    using the `Ember.bind()` helper method. (This is the same method used by\n    to setup your bindings on objects):\n  \n    ```javascript\n    Ember.bind(MyApp.anotherObject, \"value\", \"MyApp.someController.value\");\n    ```\n  \n    Both of these code fragments have the same effect as doing the most friendly\n    form of binding creation like so:\n  \n    ```javascript\n    MyApp.anotherObject = Ember.Object.create({\n      valueBinding: \"MyApp.someController.value\",\n  \n      // OTHER CODE FOR THIS OBJECT...\n    });\n    ```\n  \n    Ember's built in binding creation method makes it easy to automatically\n    create bindings for you. You should always use the highest-level APIs\n    available, even if you understand how it works underneath.\n  \n    @class Binding\n    @namespace Ember\n    @since Ember 0.9\n    @public\n  */\n  // Ember.Binding = Binding; ES6TODO: where to put this?\n\n  /**\n    Global helper method to create a new binding. Just pass the root object\n    along with a `to` and `from` path to create and connect the binding.\n  \n    @method bind\n    @for Ember\n    @param {Object} obj The root object of the transform.\n    @param {String} to The path to the 'to' side of the binding.\n      Must be relative to obj.\n    @param {String} from The path to the 'from' side of the binding.\n      Must be relative to obj or a global path.\n    @return {Ember.Binding} binding instance\n    @public\n  */\n\n  function bind(obj, to, from) {\n    return new Binding(to, from).connect(obj);\n  }\n\n  exports.Binding = Binding;\n});\nenifed('ember-metal/cache', ['exports', 'ember-metal/meta'], function (exports, _emberMetalMeta) {\n  'use strict';\n\n  var Cache = (function () {\n    function Cache(limit, func, key, store) {\n      babelHelpers.classCallCheck(this, Cache);\n\n      this.size = 0;\n      this.misses = 0;\n      this.hits = 0;\n      this.limit = limit;\n      this.func = func;\n      this.key = key;\n      this.store = store || new DefaultStore();\n    }\n\n    Cache.prototype.get = function get(obj) {\n      var key = this.key === undefined ? obj : this.key(obj);\n      var value = this.store.get(key);\n      if (value === undefined) {\n        this.misses++;\n        value = this._set(key, this.func(obj));\n      } else if (value === _emberMetalMeta.UNDEFINED) {\n        this.hits++;\n        value = undefined;\n      } else {\n        this.hits++;\n        // nothing to translate\n      }\n\n      return value;\n    };\n\n    Cache.prototype.set = function set(obj, value) {\n      var key = this.key === undefined ? obj : this.key(obj);\n      return this._set(key, value);\n    };\n\n    Cache.prototype._set = function _set(key, value) {\n      if (this.limit > this.size) {\n        this.size++;\n        if (value === undefined) {\n          this.store.set(key, _emberMetalMeta.UNDEFINED);\n        } else {\n          this.store.set(key, value);\n        }\n      }\n\n      return value;\n    };\n\n    Cache.prototype.purge = function purge() {\n      this.store.clear();\n      this.size = 0;\n      this.hits = 0;\n      this.misses = 0;\n    };\n\n    return Cache;\n  })();\n\n  exports.default = Cache;\n\n  var DefaultStore = (function () {\n    function DefaultStore() {\n      babelHelpers.classCallCheck(this, DefaultStore);\n\n      this.data = Object.create(null);\n    }\n\n    DefaultStore.prototype.get = function get(key) {\n      return this.data[key];\n    };\n\n    DefaultStore.prototype.set = function set(key, value) {\n      this.data[key] = value;\n    };\n\n    DefaultStore.prototype.clear = function clear() {\n      this.data = Object.create(null);\n    };\n\n    return DefaultStore;\n  })();\n});\nenifed('ember-metal/chains', ['exports', 'ember-metal/property_get', 'ember-metal/meta', 'ember-metal/watch_key', 'ember-metal/computed', 'ember-metal/watch_path'], function (exports, _emberMetalProperty_get, _emberMetalMeta, _emberMetalWatch_key, _emberMetalComputed, _emberMetalWatch_path) {\n  'use strict';\n\n  exports.finishChains = finishChains;\n\n  var FIRST_KEY = /^([^\\.]+)/;\n\n  function firstKey(path) {\n    return path.match(FIRST_KEY)[0];\n  }\n\n  function isObject(obj) {\n    return typeof obj === 'object' && obj;\n  }\n\n  function isVolatile(obj) {\n    return !(isObject(obj) && obj.isDescriptor && obj._volatile === false);\n  }\n\n  var ChainWatchers = (function () {\n    function ChainWatchers() {\n      babelHelpers.classCallCheck(this, 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 add(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 remove(key, node) {\n      var nodes = this.chains[key];\n      if (nodes) {\n        for (var i = 0; i < nodes.length; i++) {\n          if (nodes[i] === node) {\n            nodes.splice(i, 1);\n            break;\n          }\n        }\n      }\n    };\n\n    ChainWatchers.prototype.has = function has(key, node) {\n      var nodes = this.chains[key];\n      if (nodes) {\n        for (var 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 revalidateAll() {\n      for (var key in this.chains) {\n        this.notify(key, true, undefined);\n      }\n    };\n\n    ChainWatchers.prototype.revalidate = function revalidate(key) {\n      this.notify(key, true, undefined);\n    };\n\n    // key: the string key that is part of a path changed\n    // revalidate: boolean; the chains that are watching this value should revalidate\n    // callback: function that will be called with the object and path that\n    //           will be/are invalidated by this key change, depending on\n    //           whether the revalidate flag is passed\n\n    ChainWatchers.prototype.notify = function notify(key, revalidate, callback) {\n      var nodes = this.chains[key];\n      if (nodes === undefined || nodes.length === 0) {\n        return;\n      }\n\n      var affected = undefined;\n\n      if (callback) {\n        affected = [];\n      }\n\n      for (var i = 0; i < nodes.length; i++) {\n        nodes[i].notify(revalidate, affected);\n      }\n\n      if (callback === undefined) {\n        return;\n      }\n\n      // we gather callbacks so we don't notify them during revalidation\n      for (var i = 0; i < affected.length; i += 2) {\n        var obj = affected[i];\n        var path = affected[i + 1];\n        callback(obj, path);\n      }\n    };\n\n    return ChainWatchers;\n  })();\n\n  function makeChainWatcher() {\n    return new ChainWatchers();\n  }\n\n  function addChainWatcher(obj, keyName, node) {\n    var m = _emberMetalMeta.meta(obj);\n    m.writableChainWatchers(makeChainWatcher).add(keyName, node);\n    _emberMetalWatch_key.watchKey(obj, keyName, m);\n  }\n\n  function removeChainWatcher(obj, keyName, node, _meta) {\n    if (!isObject(obj)) {\n      return;\n    }\n\n    var meta = _meta || _emberMetalMeta.peekMeta(obj);\n\n    if (!meta || !meta.readableChainWatchers()) {\n      return;\n    }\n\n    // make meta writable\n    meta = _emberMetalMeta.meta(obj);\n\n    meta.readableChainWatchers().remove(keyName, node);\n\n    _emberMetalWatch_key.unwatchKey(obj, keyName, meta);\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      babelHelpers.classCallCheck(this, ChainNode);\n\n      this._parent = parent;\n      this._key = key;\n\n      // _watching is true when calling get(this._parent, this._key) will\n      // return the value of this node.\n      //\n      // It is false for the root of a chain (because we have no parent)\n      // and for global paths (because the parent node is the object with\n      // the observer on it)\n      var isWatching = this._watching = value === undefined;\n\n      this._chains = undefined;\n      this._object = undefined;\n      this.count = 0;\n\n      this._value = value;\n      this._paths = undefined;\n      if (isWatching === true) {\n        var obj = parent.value();\n\n        if (!isObject(obj) === true) {\n          return;\n        }\n\n        this._object = obj;\n\n        addChainWatcher(this._object, this._key, this);\n      }\n    }\n\n    ChainNode.prototype.value = function value() {\n      if (this._value === undefined && this._watching === true) {\n        var obj = this._parent.value();\n        this._value = lazyGet(obj, this._key);\n      }\n      return this._value;\n    };\n\n    ChainNode.prototype.destroy = function destroy() {\n      if (this._watching === true) {\n        var obj = this._object;\n        if (obj) {\n          removeChainWatcher(obj, this._key, this);\n        }\n        this._watching = false; // so future calls do nothing\n      }\n    };\n\n    // copies a top level object only\n\n    ChainNode.prototype.copy = function copy(obj) {\n      var ret = new ChainNode(null, null, obj);\n      var paths = this._paths;\n      var path = undefined;\n      if (paths !== undefined) {\n        for (path in paths) {\n          // this check will also catch non-number vals.\n          if (paths[path] <= 0) {\n            continue;\n          }\n          ret.add(path);\n        }\n      }\n      return ret;\n    };\n\n    // called on the root node of a chain to setup watchers on the specified\n    // path.\n\n    ChainNode.prototype.add = function add(path) {\n      var paths = this._paths || (this._paths = {});\n      paths[path] = (paths[path] || 0) + 1;\n\n      var key = firstKey(path);\n      var tail = path.slice(key.length + 1);\n\n      this.chain(key, tail);\n    };\n\n    // called on the root node of a chain to teardown watcher on the specified\n    // path\n\n    ChainNode.prototype.remove = function remove(path) {\n      var paths = this._paths;\n      if (paths === undefined) {\n        return;\n      }\n      if (paths[path] > 0) {\n        paths[path]--;\n      }\n\n      var key = firstKey(path);\n      var tail = path.slice(key.length + 1);\n\n      this.unchain(key, tail);\n    };\n\n    ChainNode.prototype.chain = function chain(key, path) {\n      var chains = this._chains;\n      var node = undefined;\n      if (chains === undefined) {\n        chains = this._chains = Object.create(null);\n      } else {\n        node = chains[key];\n      }\n\n      if (node === undefined) {\n        node = chains[key] = new ChainNode(this, key, undefined);\n      }\n\n      node.count++; // count chains...\n\n      // chain rest of path if there is one\n      if (path) {\n        key = firstKey(path);\n        path = path.slice(key.length + 1);\n        node.chain(key, path);\n      }\n    };\n\n    ChainNode.prototype.unchain = function unchain(key, path) {\n      var chains = this._chains;\n      var node = chains[key];\n\n      // unchain rest of path first...\n      if (path && path.length > 1) {\n        var nextKey = firstKey(path);\n        var nextPath = path.slice(nextKey.length + 1);\n        node.unchain(nextKey, nextPath);\n      }\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 notify(revalidate, affected) {\n      if (revalidate && this._watching === true) {\n        var parentValue = this._parent.value();\n\n        if (parentValue !== this._object) {\n          if (this._object !== undefined) {\n            removeChainWatcher(this._object, this._key, this);\n          }\n\n          if (isObject(parentValue)) {\n            this._object = parentValue;\n            addChainWatcher(parentValue, this._key, this);\n          } else {\n            this._object = undefined;\n          }\n        }\n        this._value = undefined;\n      }\n\n      // then notify chains...\n      var chains = this._chains;\n      var node = undefined;\n      if (chains !== undefined) {\n        for (var key in chains) {\n          node = chains[key];\n          if (node !== undefined) {\n            node.notify(revalidate, affected);\n          }\n        }\n      }\n\n      if (affected && this._parent) {\n        this._parent.populateAffected(this._key, 1, affected);\n      }\n    };\n\n    ChainNode.prototype.populateAffected = function populateAffected(path, depth, affected) {\n      if (this._key) {\n        path = this._key + '.' + path;\n      }\n\n      if (this._parent) {\n        this._parent.populateAffected(path, depth + 1, affected);\n      } else {\n        if (depth > 1) {\n          affected.push(this.value(), path);\n        }\n      }\n    };\n\n    return ChainNode;\n  })();\n\n  function lazyGet(obj, key) {\n    if (!isObject(obj)) {\n      return;\n    }\n\n    var meta = _emberMetalMeta.peekMeta(obj);\n\n    // check if object meant only to be a prototype\n    if (meta !== undefined && meta.proto === obj) {\n      return;\n    }\n\n    // Use `get` if the return value is an EachProxy or an uncacheable value.\n    if (isVolatile(obj[key]) === true) {\n      return _emberMetalProperty_get.get(obj, key);\n      // Otherwise attempt to get the cached value of the computed property\n    } else {\n        var cache = meta.readableCache();\n        if (cache) {\n          return _emberMetalComputed.cacheFor.get(cache, key);\n        }\n      }\n  }\n\n  function finishChains(meta) {\n    // finish any current chains node watchers that reference obj\n    var chainWatchers = meta.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.readableChains() !== undefined) {\n      meta.writableChains(_emberMetalWatch_path.makeChainNode);\n    }\n  }\n\n  exports.removeChainWatcher = removeChainWatcher;\n  exports.ChainNode = ChainNode;\n});\nenifed('ember-metal/computed', ['exports', 'ember-utils', 'ember-debug', 'ember-metal/property_set', 'ember-metal/meta', 'ember-metal/expand_properties', 'ember-metal/properties', 'ember-metal/property_events', 'ember-metal/dependent_keys'], function (exports, _emberUtils, _emberDebug, _emberMetalProperty_set, _emberMetalMeta, _emberMetalExpand_properties, _emberMetalProperties, _emberMetalProperty_events, _emberMetalDependent_keys) {\n  'use strict';\n\n  exports.default = computed;\n\n  /**\n  @module ember\n  @submodule ember-metal\n  */\n\n  var DEEP_EACH_REGEX = /\\.@each\\.[^.]+\\./;\n\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    `.Ember.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    let Person = Ember.Object.extend({\n      // these will be supplied by `create`\n      firstName: null,\n      lastName: null,\n  \n      fullName: Ember.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    let Person = Ember.Object.extend({\n      // these will be supplied by `create`\n      firstName: null,\n      lastName: null,\n  \n      fullName: Ember.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    let Person = Ember.Object.extend({\n      // these will be supplied by `create`\n      firstName: null,\n      lastName: null,\n  \n      fullName: Ember.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\" ](http://emberjs.com/blog/2015/05/13/ember-1-12-released.html#toc_new-computed-syntax)\n  \n    @class ComputedProperty\n    @namespace Ember\n    @public\n  */\n  function ComputedProperty(config, opts) {\n    this.isDescriptor = true;\n    if (typeof config === 'function') {\n      this._getter = config;\n    } else {\n      _emberDebug.assert('Ember.computed expects a function or an object as last argument.', typeof config === 'object' && !Array.isArray(config));\n      _emberDebug.assert('Config object passed to an Ember.computed can only contain `get` or `set` keys.', (function () {\n        var keys = Object.keys(config);\n        for (var i = 0; i < keys.length; i++) {\n          if (keys[i] !== 'get' && keys[i] !== 'set') {\n            return false;\n          }\n        }\n        return true;\n      })());\n      this._getter = config.get;\n      this._setter = config.set;\n    }\n    _emberDebug.assert('Computed properties must receive a getter or a setter, you passed none.', !!this._getter || !!this._setter);\n    this._dependentKeys = undefined;\n    this._suspended = undefined;\n    this._meta = undefined;\n    this._volatile = false;\n    this._dependentKeys = opts && opts.dependentKeys;\n    this._readOnly = false;\n  }\n\n  ComputedProperty.prototype = new _emberMetalProperties.Descriptor();\n  ComputedProperty.prototype.constructor = ComputedProperty;\n\n  var ComputedPropertyPrototype = ComputedProperty.prototype;\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  \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  \n    Dependency keys have no effect on volatile properties as they are for cache\n    invalidation and notification when cached value is invalidated.\n  \n    ```javascript\n    let outsideService = Ember.Object.extend({\n      value: Ember.computed(function() {\n        return OutsideService.getValue();\n      }).volatile()\n    }).create();\n    ```\n  \n    @method volatile\n    @return {Ember.ComputedProperty} this\n    @chainable\n    @public\n  */\n  ComputedPropertyPrototype.volatile = function () {\n    this._volatile = true;\n    return this;\n  };\n\n  /**\n    Call on a computed property to set it into read-only mode. When in this\n    mode the computed property will throw an error when set.\n  \n    ```javascript\n    let Person = Ember.Object.extend({\n      guid: Ember.computed(function() {\n        return 'guid-guid-guid';\n      }).readOnly()\n    });\n  \n    let person = Person.create();\n  \n    person.set('guid', 'new-guid'); // will throw an exception\n    ```\n  \n    @method readOnly\n    @return {Ember.ComputedProperty} this\n    @chainable\n    @public\n  */\n  ComputedPropertyPrototype.readOnly = function () {\n    this._readOnly = true;\n    _emberDebug.assert('Computed properties that define a setter using the new syntax cannot be read-only', !(this._readOnly && this._setter && this._setter !== this._getter));\n    return this;\n  };\n\n  /**\n    Sets the dependent keys on this computed property. Pass any number of\n    arguments containing key paths that this computed property depends on.\n  \n    ```javascript\n    let President = Ember.Object.extend({\n      fullName: Ember.computed(function() {\n        return this.get('firstName') + ' ' + this.get('lastName');\n  \n        // Tell Ember that this computed property depends on firstName\n        // and lastName\n      }).property('firstName', 'lastName')\n    });\n  \n    let president = President.create({\n      firstName: 'Barack',\n      lastName: 'Obama'\n    });\n  \n    president.get('fullName'); // 'Barack Obama'\n    ```\n  \n    @method property\n    @param {String} path* zero or more property paths\n    @return {Ember.ComputedProperty} this\n    @chainable\n    @public\n  */\n  ComputedPropertyPrototype.property = function () {\n    var args = [];\n\n    function addArg(property) {\n      _emberDebug.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      args.push(property);\n    }\n\n    for (var i = 0; i < arguments.length; i++) {\n      _emberMetalExpand_properties.default(arguments[i], addArg);\n    }\n\n    this._dependentKeys = args;\n    return this;\n  };\n\n  /**\n    In some cases, you may want to annotate computed properties with additional\n    metadata about how they function or what values they operate on. For example,\n    computed property functions may close over variables that are then no longer\n    available for introspection.\n  \n    You can pass a hash of these values to a computed property like this:\n  \n    ```\n    person: Ember.computed(function() {\n      let personId = this.get('personId');\n      return App.Person.create({ id: personId });\n    }).meta({ type: App.Person })\n    ```\n  \n    The hash that you pass to the `meta()` function will be saved on the\n    computed property descriptor under the `_meta` key. Ember runtime\n    exposes a public API for retrieving these values from classes,\n    via the `metaForProperty()` function.\n  \n    @method meta\n    @param {Object} meta\n    @chainable\n    @public\n  */\n  ComputedPropertyPrototype.meta = function (meta) {\n    if (arguments.length === 0) {\n      return this._meta || {};\n    } else {\n      this._meta = meta;\n      return this;\n    }\n  };\n\n  // invalidate cache when CP key changes\n  ComputedPropertyPrototype.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\n    // don't create objects just to invalidate\n    var meta = _emberMetalMeta.peekMeta(obj);\n    if (!meta || meta.source !== obj) {\n      return;\n    }\n\n    var cache = meta.readableCache();\n    if (cache && cache[keyName] !== undefined) {\n      cache[keyName] = undefined;\n      _emberMetalDependent_keys.removeDependentKeys(this, obj, keyName, meta);\n    }\n  };\n\n  ComputedPropertyPrototype.get = function (obj, keyName) {\n    if (this._volatile) {\n      return this._getter.call(obj, keyName);\n    }\n\n    var meta = _emberMetalMeta.meta(obj);\n    var cache = meta.writableCache();\n\n    var result = cache[keyName];\n    if (result === _emberMetalMeta.UNDEFINED) {\n      return undefined;\n    } else if (result !== undefined) {\n      return result;\n    }\n\n    var ret = this._getter.call(obj, keyName);\n    if (ret === undefined) {\n      cache[keyName] = _emberMetalMeta.UNDEFINED;\n    } else {\n      cache[keyName] = ret;\n    }\n\n    var chainWatchers = meta.readableChainWatchers();\n    if (chainWatchers) {\n      chainWatchers.revalidate(keyName);\n    }\n    _emberMetalDependent_keys.addDependentKeys(this, obj, keyName, meta);\n\n    return ret;\n  };\n\n  ComputedPropertyPrototype.set = function computedPropertySetEntry(obj, keyName, value) {\n    if (this._readOnly) {\n      this._throwReadOnlyError(obj, keyName);\n    }\n\n    if (!this._setter) {\n      return this.clobberSet(obj, keyName, value);\n    }\n\n    if (this._volatile) {\n      return this.volatileSet(obj, keyName, value);\n    }\n\n    return this.setWithSuspend(obj, keyName, value);\n  };\n\n  ComputedPropertyPrototype._throwReadOnlyError = function computedPropertyThrowReadOnlyError(obj, keyName) {\n    throw new _emberDebug.Error('Cannot set read-only property \"' + keyName + '\" on object: ' + _emberUtils.inspect(obj));\n  };\n\n  ComputedPropertyPrototype.clobberSet = function computedPropertyClobberSet(obj, keyName, value) {\n    var cachedValue = cacheFor(obj, keyName);\n    _emberMetalProperties.defineProperty(obj, keyName, null, cachedValue);\n    _emberMetalProperty_set.set(obj, keyName, value);\n    return value;\n  };\n\n  ComputedPropertyPrototype.volatileSet = function computedPropertyVolatileSet(obj, keyName, value) {\n    return this._setter.call(obj, keyName, value);\n  };\n\n  ComputedPropertyPrototype.setWithSuspend = function computedPropertySetWithSuspend(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  ComputedPropertyPrototype._set = function computedPropertySet(obj, keyName, value) {\n    // cache requires own meta\n    var meta = _emberMetalMeta.meta(obj);\n    // either there is a writable cache or we need one to update\n    var cache = meta.writableCache();\n    var hadCachedValue = false;\n    var cachedValue = undefined;\n    if (cache[keyName] !== undefined) {\n      if (cache[keyName] !== _emberMetalMeta.UNDEFINED) {\n        cachedValue = cache[keyName];\n      }\n      hadCachedValue = true;\n    }\n\n    var ret = this._setter.call(obj, keyName, value, cachedValue);\n\n    // allows setter to return the same value that is cached already\n    if (hadCachedValue && cachedValue === ret) {\n      return ret;\n    }\n\n    _emberMetalProperty_events.propertyWillChange(obj, keyName);\n\n    if (hadCachedValue) {\n      cache[keyName] = undefined;\n    }\n\n    if (!hadCachedValue) {\n      _emberMetalDependent_keys.addDependentKeys(this, obj, keyName, meta);\n    }\n\n    if (ret === undefined) {\n      cache[keyName] = _emberMetalMeta.UNDEFINED;\n    } else {\n      cache[keyName] = ret;\n    }\n\n    _emberMetalProperty_events.propertyDidChange(obj, keyName);\n\n    return ret;\n  };\n\n  /* called before property is overridden */\n  ComputedPropertyPrototype.teardown = function (obj, keyName) {\n    if (this._volatile) {\n      return;\n    }\n    var meta = _emberMetalMeta.meta(obj);\n    var cache = meta.readableCache();\n    if (cache && cache[keyName] !== undefined) {\n      _emberMetalDependent_keys.removeDependentKeys(this, obj, keyName, meta);\n      cache[keyName] = undefined;\n    }\n  };\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 `Ember.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    let Person = Ember.Object.extend({\n      init() {\n        this._super(...arguments);\n  \n        this.firstName = 'Betty';\n        this.lastName = 'Jones';\n      },\n  \n      fullName: Ember.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    let Person = Ember.Object.extend({\n      init() {\n        this._super(...arguments);\n  \n        this.firstName = 'Betty';\n        this.lastName = 'Jones';\n      },\n  \n      fullName: Ember.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](http://emberjs.com/guides/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    @class computed\n    @namespace Ember\n    @constructor\n    @static\n    @param {String} [dependentKeys*] Optional dependent keys that trigger this computed property.\n    @param {Function} func The computed property function.\n    @return {Ember.ComputedProperty} property descriptor instance\n    @public\n  */\n\n  function computed(func) {\n    var args = undefined;\n\n    if (arguments.length > 1) {\n      args = [].slice.call(arguments);\n      func = args.pop();\n    }\n\n    var cp = new ComputedProperty(func);\n\n    if (args) {\n      cp.property.apply(cp, args);\n    }\n\n    return cp;\n  }\n\n  /**\n    Returns the cached value for a property, if one exists.\n    This can be useful for peeking at the value of a computed\n    property that is generated lazily, without accidentally causing\n    it to be created.\n  \n    @method cacheFor\n    @for Ember\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  function cacheFor(obj, key) {\n    var meta = _emberMetalMeta.peekMeta(obj);\n    var cache = meta && meta.source === obj && meta.readableCache();\n    var ret = cache && cache[key];\n\n    if (ret === _emberMetalMeta.UNDEFINED) {\n      return undefined;\n    }\n    return ret;\n  }\n\n  cacheFor.set = function (cache, key, value) {\n    if (value === undefined) {\n      cache[key] = _emberMetalMeta.UNDEFINED;\n    } else {\n      cache[key] = value;\n    }\n  };\n\n  cacheFor.get = function (cache, key) {\n    var ret = cache[key];\n    if (ret === _emberMetalMeta.UNDEFINED) {\n      return undefined;\n    }\n    return ret;\n  };\n\n  cacheFor.remove = function (cache, key) {\n    cache[key] = undefined;\n  };\n\n  exports.ComputedProperty = ComputedProperty;\n  exports.computed = computed;\n  exports.cacheFor = cacheFor;\n});\nenifed('ember-metal/core', ['exports', 'ember-environment'], function (exports, _emberEnvironment) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-metal\n  */\n\n  /**\n    This namespace contains all Ember methods and functions. Future versions of\n    Ember may overwrite this namespace and therefore, you should avoid adding any\n    new properties.\n  \n    At the heart of Ember is Ember-Runtime, a set of core functions that provide\n    cross-platform compatibility and object property observing.  Ember-Runtime is\n    small and performance-focused so you can use it alongside other\n    cross-platform libraries such as jQuery. For more details, see\n    [Ember-Runtime](http://emberjs.com/api/modules/ember-runtime.html).\n  \n    @class Ember\n    @static\n    @public\n  */\n  var Ember = typeof _emberEnvironment.context.imports.Ember === 'object' && _emberEnvironment.context.imports.Ember || {};\n\n  // Make sure these are set whether Ember was already defined or not\n  Ember.isNamespace = true;\n  Ember.toString = function () {\n    return 'Ember';\n  };\n\n  // ..........................................................\n  // BOOTSTRAP\n  //\n\n  exports.default = Ember;\n});\nenifed('ember-metal/dependent_keys', ['exports', 'ember-metal/watching'], function (exports, _emberMetalWatching) {\n  'use strict';\n\n  exports.addDependentKeys = addDependentKeys;\n  exports.removeDependentKeys = removeDependentKeys;\n\n  /**\n  @module ember\n  @submodule ember-metal\n  */\n\n  // ..........................................................\n  // DEPENDENT KEYS\n  //\n\n  function addDependentKeys(desc, obj, keyName, meta) {\n    // the descriptor has a list of dependent keys, so\n    // add all of its dependent keys.\n    var idx = undefined,\n        depKey = undefined;\n    var depKeys = desc._dependentKeys;\n    if (!depKeys) {\n      return;\n    }\n\n    for (idx = 0; idx < depKeys.length; idx++) {\n      depKey = depKeys[idx];\n      // Increment the number of times depKey depends on keyName.\n      meta.writeDeps(depKey, keyName, (meta.peekDeps(depKey, keyName) || 0) + 1);\n      // Watch the depKey\n      _emberMetalWatching.watch(obj, depKey, meta);\n    }\n  }\n\n  function removeDependentKeys(desc, obj, keyName, meta) {\n    // the descriptor has a list of dependent keys, so\n    // remove all of its dependent keys.\n    var depKeys = desc._dependentKeys;\n    if (!depKeys) {\n      return;\n    }\n\n    for (var idx = 0; idx < depKeys.length; idx++) {\n      var depKey = depKeys[idx];\n      // Decrement the number of times depKey depends on keyName.\n      meta.writeDeps(depKey, keyName, (meta.peekDeps(depKey, keyName) || 0) - 1);\n      // Unwatch the depKey\n      _emberMetalWatching.unwatch(obj, depKey, meta);\n    }\n  }\n});\nenifed('ember-metal/deprecate_property', ['exports', 'ember-debug', 'ember-metal/property_get', 'ember-metal/property_set'], function (exports, _emberDebug, _emberMetalProperty_get, _emberMetalProperty_set) {\n  /**\n  @module ember\n  @submodule ember-metal\n  */\n\n  'use strict';\n\n  exports.deprecateProperty = deprecateProperty;\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  function deprecateProperty(object, deprecatedKey, newKey, options) {\n    function _deprecate() {\n      _emberDebug.deprecate('Usage of `' + deprecatedKey + '` is deprecated, use `' + newKey + '` instead.', false, options);\n    }\n\n    Object.defineProperty(object, deprecatedKey, {\n      configurable: true,\n      enumerable: false,\n      set: function (value) {\n        _deprecate();\n        _emberMetalProperty_set.set(this, newKey, value);\n      },\n      get: function () {\n        _deprecate();\n        return _emberMetalProperty_get.get(this, newKey);\n      }\n    });\n  }\n});\nenifed('ember-metal/descriptor', ['exports', 'ember-metal/properties'], function (exports, _emberMetalProperties) {\n  'use strict';\n\n  exports.default = descriptor;\n\n  function descriptor(desc) {\n    return new Descriptor(desc);\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 = (function (_EmberDescriptor) {\n    babelHelpers.inherits(Descriptor, _EmberDescriptor);\n\n    function Descriptor(desc) {\n      babelHelpers.classCallCheck(this, Descriptor);\n\n      _EmberDescriptor.call(this);\n      this.desc = desc;\n    }\n\n    Descriptor.prototype.setup = function setup(obj, key) {\n      Object.defineProperty(obj, key, this.desc);\n    };\n\n    Descriptor.prototype.teardown = function teardown(obj, key) {};\n\n    return Descriptor;\n  })(_emberMetalProperties.Descriptor);\n});\nenifed('ember-metal/error_handler', ['exports', 'ember-console', 'ember-debug'], function (exports, _emberConsole, _emberDebug) {\n  'use strict';\n\n  exports.getOnerror = getOnerror;\n  exports.setOnerror = setOnerror;\n  exports.dispatchError = dispatchError;\n  exports.getDispatchOverride = getDispatchOverride;\n  exports.setDispatchOverride = setDispatchOverride;\n\n  // To maintain stacktrace consistency across browsers\n  var getStack = function (error) {\n    var stack = error.stack;\n    var message = error.message;\n\n    if (stack && stack.indexOf(message) === -1) {\n      stack = message + '\\n' + stack;\n    }\n\n    return stack;\n  };\n\n  var onerror = undefined;\n  // Ember.onerror getter\n\n  function getOnerror() {\n    return onerror;\n  }\n\n  // Ember.onerror setter\n\n  function setOnerror(handler) {\n    onerror = handler;\n  }\n\n  var dispatchOverride = undefined;\n  // dispatch error\n\n  function dispatchError(error) {\n    if (dispatchOverride) {\n      dispatchOverride(error);\n    } else {\n      defaultDispatch(error);\n    }\n  }\n\n  // allows testing adapter to override dispatch\n\n  function getDispatchOverride() {\n    return dispatchOverride;\n  }\n\n  function setDispatchOverride(handler) {\n    dispatchOverride = handler;\n  }\n\n  function defaultDispatch(error) {\n    if (_emberDebug.isTesting()) {\n      throw error;\n    }\n    if (onerror) {\n      onerror(error);\n    } else {\n      _emberConsole.default.error(getStack(error));\n    }\n  }\n});\nenifed('ember-metal/events', ['exports', 'ember-utils', 'ember-metal/meta', 'ember-debug', 'ember-metal/meta_listeners'], function (exports, _emberUtils, _emberMetalMeta, _emberDebug, _emberMetalMeta_listeners) {\n  /**\n  @module ember\n  @submodule ember-metal\n  */\n  'use strict';\n\n  exports.accumulateListeners = accumulateListeners;\n  exports.addListener = addListener;\n  exports.removeListener = removeListener;\n  exports.suspendListener = suspendListener;\n  exports.suspendListeners = suspendListeners;\n  exports.watchedEvents = watchedEvents;\n  exports.sendEvent = sendEvent;\n  exports.hasListeners = hasListeners;\n  exports.listenersFor = listenersFor;\n  exports.on = on;\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:changed\": [ // variable name: `actions`\n              target, method, flags\n            ]\n          }\n        }\n  \n  */\n\n  function indexOf(array, target, method) {\n    var index = -1;\n    // hashes are added to the end of the event array\n    // so it makes sense to start searching at the end\n    // of the array and search in reverse\n    for (var i = array.length - 3; i >= 0; i -= 3) {\n      if (target === array[i] && method === array[i + 1]) {\n        index = i;\n        break;\n      }\n    }\n    return index;\n  }\n\n  function accumulateListeners(obj, eventName, otherActions) {\n    var meta = _emberMetalMeta.peekMeta(obj);\n    if (!meta) {\n      return;\n    }\n    var actions = meta.matchingListeners(eventName);\n    if (actions === undefined) {\n      return;\n    }\n    var newActions = [];\n\n    for (var i = actions.length - 3; i >= 0; i -= 3) {\n      var target = actions[i];\n      var method = actions[i + 1];\n      var flags = actions[i + 2];\n      var actionIndex = indexOf(otherActions, target, method);\n\n      if (actionIndex === -1) {\n        otherActions.push(target, method, flags);\n        newActions.push(target, method, flags);\n      }\n    }\n\n    return newActions;\n  }\n\n  /**\n    Add an event listener\n  \n    @method addListener\n    @for Ember\n    @param obj\n    @param {String} eventName\n    @param {Object|Function} target A target object or a function\n    @param {Function|String} method A function or the name of a function to be called on `target`\n    @param {Boolean} once A flag whether a function should only be called once\n    @public\n  */\n\n  function addListener(obj, eventName, target, method, once) {\n    _emberDebug.assert('You must pass at least an object and event name to Ember.addListener', !!obj && !!eventName);\n\n    _emberDebug.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: 'http://emberjs.com/deprecations/v2.x#toc_ember-component-didinitattrs'\n    });\n\n    if (!method && 'function' === typeof target) {\n      method = target;\n      target = null;\n    }\n\n    var flags = 0;\n    if (once) {\n      flags |= _emberMetalMeta_listeners.ONCE;\n    }\n\n    _emberMetalMeta.meta(obj).addToListeners(eventName, target, method, flags);\n\n    if ('function' === typeof obj.didAddListener) {\n      obj.didAddListener(eventName, target, method);\n    }\n  }\n\n  /**\n    Remove an event listener\n  \n    Arguments should match those passed to `Ember.addListener`.\n  \n    @method removeListener\n    @for Ember\n    @param obj\n    @param {String} eventName\n    @param {Object|Function} target A target object or a function\n    @param {Function|String} method A function or the name of a function to be called on `target`\n    @public\n  */\n\n  function removeListener(obj, eventName, target, method) {\n    _emberDebug.assert('You must pass at least an object and event name to Ember.removeListener', !!obj && !!eventName);\n\n    if (!method && 'function' === typeof target) {\n      method = target;\n      target = null;\n    }\n\n    _emberMetalMeta.meta(obj).removeFromListeners(eventName, target, method, function () {\n      if ('function' === typeof obj.didRemoveListener) {\n        obj.didRemoveListener.apply(obj, arguments);\n      }\n    });\n  }\n\n  /**\n    Suspend listener during callback.\n  \n    This should only be used by the target of the event listener\n    when it is taking an action that would cause the event, e.g.\n    an object might suspend its property change listener while it is\n    setting that property.\n  \n    @method suspendListener\n    @for Ember\n  \n    @private\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 {Function} callback\n  */\n\n  function suspendListener(obj, eventName, target, method, callback) {\n    return suspendListeners(obj, [eventName], target, method, callback);\n  }\n\n  /**\n    Suspends multiple listeners during a callback.\n  \n    @method suspendListeners\n    @for Ember\n  \n    @private\n    @param obj\n    @param {Array} eventNames Array of event names\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 {Function} callback\n  */\n\n  function suspendListeners(obj, eventNames, target, method, callback) {\n    if (!method && 'function' === typeof target) {\n      method = target;\n      target = null;\n    }\n    return _emberMetalMeta.meta(obj).suspendListeners(eventNames, target, method, callback);\n  }\n\n  /**\n    Return a list of currently watched events\n  \n    @private\n    @method watchedEvents\n    @for Ember\n    @param obj\n  */\n\n  function watchedEvents(obj) {\n    return _emberMetalMeta.meta(obj).watchedEvents();\n  }\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    @for Ember\n    @param obj\n    @param {String} eventName\n    @param {Array} params Optional parameters for each listener.\n    @param {Array} actions Optional array of actions (listeners).\n    @return true\n    @public\n  */\n\n  function sendEvent(obj, eventName, params, actions) {\n    if (!actions) {\n      var meta = _emberMetalMeta.peekMeta(obj);\n      actions = meta && meta.matchingListeners(eventName);\n    }\n\n    if (!actions || actions.length === 0) {\n      return;\n    }\n\n    for (var i = actions.length - 3; i >= 0; i -= 3) {\n      // looping in reverse for once listeners\n      var target = actions[i];\n      var method = actions[i + 1];\n      var flags = actions[i + 2];\n\n      if (!method) {\n        continue;\n      }\n      if (flags & _emberMetalMeta_listeners.SUSPENDED) {\n        continue;\n      }\n      if (flags & _emberMetalMeta_listeners.ONCE) {\n        removeListener(obj, eventName, target, method);\n      }\n      if (!target) {\n        target = obj;\n      }\n      if ('string' === typeof method) {\n        if (params) {\n          _emberUtils.applyStr(target, method, params);\n        } else {\n          target[method]();\n        }\n      } else {\n        if (params) {\n          method.apply(target, params);\n        } else {\n          method.call(target);\n        }\n      }\n    }\n    return true;\n  }\n\n  /**\n    @private\n    @method hasListeners\n    @for Ember\n    @param obj\n    @param {String} eventName\n  */\n\n  function hasListeners(obj, eventName) {\n    var meta = _emberMetalMeta.peekMeta(obj);\n    if (!meta) {\n      return false;\n    }\n    var matched = meta.matchingListeners(eventName);\n    return matched !== undefined && matched.length > 0;\n  }\n\n  /**\n    @private\n    @method listenersFor\n    @for Ember\n    @param obj\n    @param {String} eventName\n  */\n\n  function listenersFor(obj, eventName) {\n    var ret = [];\n    var meta = _emberMetalMeta.peekMeta(obj);\n    var actions = meta && meta.matchingListeners(eventName);\n\n    if (!actions) {\n      return ret;\n    }\n\n    for (var i = 0; i < actions.length; i += 3) {\n      var target = actions[i];\n      var method = actions[i + 1];\n      ret.push([target, method]);\n    }\n\n    return ret;\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  \n    ``` javascript\n    let Job = Ember.Object.extend({\n      logCompleted: Ember.on('completed', function() {\n        console.log('Job completed!');\n      })\n    });\n  \n    let job = Job.create();\n  \n    Ember.sendEvent(job, 'completed'); // Logs 'Job completed!'\n   ```\n  \n    @method on\n    @for Ember\n    @param {String} eventNames*\n    @param {Function} func\n    @return func\n    @public\n  */\n\n  function on() {\n    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n\n    var func = args.pop();\n    var events = args;\n    func.__ember_listens__ = events;\n    return func;\n  }\n});\nenifed('ember-metal/expand_properties', ['exports', 'ember-debug'], function (exports, _emberDebug) {\n  'use strict';\n\n  exports.default = expandProperties;\n\n  /**\n  @module ember\n  @submodule ember-metal\n  */\n\n  var END_WITH_EACH_REGEX = /\\.@each$/;\n\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    function echo(arg){ console.log(arg); }\n  \n    Ember.expandProperties('foo.bar', echo);              //=> 'foo.bar'\n    Ember.expandProperties('{foo,bar}', echo);            //=> 'foo', 'bar'\n    Ember.expandProperties('foo.{bar,baz}', echo);        //=> 'foo.bar', 'foo.baz'\n    Ember.expandProperties('{foo,bar}.baz', echo);        //=> 'foo.baz', 'bar.baz'\n    Ember.expandProperties('foo.{bar,baz}.[]', echo)      //=> 'foo.bar.[]', 'foo.baz.[]'\n    Ember.expandProperties('{foo,bar}.{spam,eggs}', echo) //=> 'foo.spam', 'foo.eggs', 'bar.spam', 'bar.eggs'\n    Ember.expandProperties('{foo}.bar.{baz}')             //=> 'foo.bar.baz'\n    ```\n  \n    @method expandProperties\n    @for Ember\n    @private\n    @param {String} pattern The property pattern to expand.\n    @param {Function} callback The callback to invoke.  It is invoked once per\n    expansion, and is passed the expansion.\n  */\n\n  function expandProperties(pattern, callback) {\n    _emberDebug.assert('A computed property key must be a string, you passed ' + typeof pattern + ' ' + pattern, typeof pattern === 'string');\n    _emberDebug.assert('Brace expanded properties cannot contain spaces, e.g. \"user.{firstName, lastName}\" should be \"user.{firstName,lastName}\"', pattern.indexOf(' ') === -1);\n\n    var unbalancedNestedError = 'Brace expanded properties have to be balanced and cannot be nested, pattern: ' + pattern;\n    var properties = [pattern];\n\n    // Iterating backward over the pattern makes dealing with indices easier.\n    var bookmark = undefined;\n    var inside = false;\n    for (var i = pattern.length; i > 0; --i) {\n      var current = pattern[i - 1];\n\n      switch (current) {\n        // Closing curly brace will be the first character of the brace expansion we encounter.\n        // Bookmark its index so long as we're not already inside a brace expansion.\n        case '}':\n          if (!inside) {\n            bookmark = i - 1;\n            inside = true;\n          } else {\n            _emberDebug.assert(unbalancedNestedError, false);\n          }\n          break;\n        // Opening curly brace will be the last character of the brace expansion we encounter.\n        // Apply the brace expansion so long as we've already seen a closing curly brace.\n        case '{':\n          if (inside) {\n            var expansion = pattern.slice(i, bookmark).split(',');\n            // Iterating backward allows us to push new properties w/out affecting our \"cursor\".\n            for (var j = properties.length; j > 0; --j) {\n              // Extract the unexpanded property from the array.\n              var property = properties.splice(j - 1, 1)[0];\n              // Iterate over the expansion, pushing the newly formed properties onto the array.\n              for (var k = 0; k < expansion.length; ++k) {\n                properties.push(property.slice(0, i - 1) + expansion[k] + property.slice(bookmark + 1));\n              }\n            }\n            inside = false;\n          } else {\n            _emberDebug.assert(unbalancedNestedError, false);\n          }\n          break;\n      }\n    }\n    if (inside) {\n      _emberDebug.assert(unbalancedNestedError, false);\n    }\n\n    for (var i = 0; i < properties.length; i++) {\n      callback(properties[i].replace(END_WITH_EACH_REGEX, '.[]'));\n    }\n  }\n});\nenifed('ember-metal/get_properties', ['exports', 'ember-metal/property_get'], function (exports, _emberMetalProperty_get) {\n  'use strict';\n\n  exports.default = getProperties;\n\n  /**\n    To get multiple properties at once, call `Ember.getProperties`\n    with an object followed by a list of strings or an array:\n  \n    ```javascript\n    Ember.getProperties(record, 'firstName', 'lastName', 'zipCode');\n    // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n    ```\n  \n    is equivalent to:\n  \n    ```javascript\n    Ember.getProperties(record, ['firstName', 'lastName', 'zipCode']);\n    // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n    ```\n  \n    @method getProperties\n    @for Ember\n    @param {Object} obj\n    @param {String...|Array} list of keys to get\n    @return {Object}\n    @public\n  */\n\n  function getProperties(obj) {\n    var ret = {};\n    var propertyNames = arguments;\n    var i = 1;\n\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]] = _emberMetalProperty_get.get(obj, propertyNames[i]);\n    }\n    return ret;\n  }\n});\nenifed('ember-metal/index', ['exports', 'ember-metal/core', 'ember-metal/computed', 'ember-metal/alias', 'ember-metal/merge', 'ember-metal/deprecate_property', 'ember-metal/instrumentation', 'ember-metal/error_handler', 'ember-metal/meta', 'ember-metal/cache', 'ember-metal/property_get', 'ember-metal/property_set', 'ember-metal/weak_map', 'ember-metal/events', 'ember-metal/is_none', 'ember-metal/is_empty', 'ember-metal/is_blank', 'ember-metal/is_present', 'ember-metal/run_loop', 'ember-metal/observer_set', 'ember-metal/property_events', 'ember-metal/properties', 'ember-metal/watch_key', 'ember-metal/chains', 'ember-metal/watch_path', 'ember-metal/watching', 'ember-metal/libraries', 'ember-metal/map', 'ember-metal/get_properties', 'ember-metal/set_properties', 'ember-metal/expand_properties', 'ember-metal/observer', 'ember-metal/mixin', 'ember-metal/binding', 'ember-metal/path_cache', 'ember-metal/injected_property', 'ember-metal/tags', 'ember-metal/replace', 'ember-metal/transaction', 'ember-metal/is_proxy', 'ember-metal/descriptor'], function (exports, _emberMetalCore, _emberMetalComputed, _emberMetalAlias, _emberMetalMerge, _emberMetalDeprecate_property, _emberMetalInstrumentation, _emberMetalError_handler, _emberMetalMeta, _emberMetalCache, _emberMetalProperty_get, _emberMetalProperty_set, _emberMetalWeak_map, _emberMetalEvents, _emberMetalIs_none, _emberMetalIs_empty, _emberMetalIs_blank, _emberMetalIs_present, _emberMetalRun_loop, _emberMetalObserver_set, _emberMetalProperty_events, _emberMetalProperties, _emberMetalWatch_key, _emberMetalChains, _emberMetalWatch_path, _emberMetalWatching, _emberMetalLibraries, _emberMetalMap, _emberMetalGet_properties, _emberMetalSet_properties, _emberMetalExpand_properties, _emberMetalObserver, _emberMetalMixin, _emberMetalBinding, _emberMetalPath_cache, _emberMetalInjected_property, _emberMetalTags, _emberMetalReplace, _emberMetalTransaction, _emberMetalIs_proxy, _emberMetalDescriptor) {\n  /**\n  @module ember\n  @submodule ember-metal\n  */\n\n  'use strict';\n\n  exports.default = _emberMetalCore.default;\n  // reexports\n  exports.computed = _emberMetalComputed.default;\n  exports.cacheFor = _emberMetalComputed.cacheFor;\n  exports.ComputedProperty = _emberMetalComputed.ComputedProperty;\n  exports.alias = _emberMetalAlias.default;\n  exports.merge = _emberMetalMerge.default;\n  exports.deprecateProperty = _emberMetalDeprecate_property.deprecateProperty;\n  exports.instrument = _emberMetalInstrumentation.instrument;\n  exports.flaggedInstrument = _emberMetalInstrumentation.flaggedInstrument;\n  exports._instrumentStart = _emberMetalInstrumentation._instrumentStart;\n  exports.instrumentationReset = _emberMetalInstrumentation.reset;\n  exports.instrumentationSubscribe = _emberMetalInstrumentation.subscribe;\n  exports.instrumentationUnsubscribe = _emberMetalInstrumentation.unsubscribe;\n  exports.getOnerror = _emberMetalError_handler.getOnerror;\n  exports.setOnerror = _emberMetalError_handler.setOnerror;\n  exports.dispatchError = _emberMetalError_handler.dispatchError;\n  exports.setDispatchOverride = _emberMetalError_handler.setDispatchOverride;\n  exports.META_DESC = _emberMetalMeta.META_DESC;\n  exports.meta = _emberMetalMeta.meta;\n  exports.peekMeta = _emberMetalMeta.peekMeta;\n  exports.Cache = _emberMetalCache.default;\n  exports._getPath = _emberMetalProperty_get._getPath;\n  exports.get = _emberMetalProperty_get.get;\n  exports.getWithDefault = _emberMetalProperty_get.getWithDefault;\n  exports.set = _emberMetalProperty_set.set;\n  exports.trySet = _emberMetalProperty_set.trySet;\n  exports.WeakMap = _emberMetalWeak_map.default;\n  exports.accumulateListeners = _emberMetalEvents.accumulateListeners;\n  exports.addListener = _emberMetalEvents.addListener;\n  exports.hasListeners = _emberMetalEvents.hasListeners;\n  exports.listenersFor = _emberMetalEvents.listenersFor;\n  exports.on = _emberMetalEvents.on;\n  exports.removeListener = _emberMetalEvents.removeListener;\n  exports.sendEvent = _emberMetalEvents.sendEvent;\n  exports.suspendListener = _emberMetalEvents.suspendListener;\n  exports.suspendListeners = _emberMetalEvents.suspendListeners;\n  exports.watchedEvents = _emberMetalEvents.watchedEvents;\n  exports.isNone = _emberMetalIs_none.default;\n  exports.isEmpty = _emberMetalIs_empty.default;\n  exports.isBlank = _emberMetalIs_blank.default;\n  exports.isPresent = _emberMetalIs_present.default;\n  exports.run = _emberMetalRun_loop.default;\n  exports.ObserverSet = _emberMetalObserver_set.default;\n  exports.beginPropertyChanges = _emberMetalProperty_events.beginPropertyChanges;\n  exports.changeProperties = _emberMetalProperty_events.changeProperties;\n  exports.endPropertyChanges = _emberMetalProperty_events.endPropertyChanges;\n  exports.overrideChains = _emberMetalProperty_events.overrideChains;\n  exports.propertyDidChange = _emberMetalProperty_events.propertyDidChange;\n  exports.propertyWillChange = _emberMetalProperty_events.propertyWillChange;\n  exports.PROPERTY_DID_CHANGE = _emberMetalProperty_events.PROPERTY_DID_CHANGE;\n  exports.defineProperty = _emberMetalProperties.defineProperty;\n  exports.Descriptor = _emberMetalProperties.Descriptor;\n  exports._hasCachedComputedProperties = _emberMetalProperties._hasCachedComputedProperties;\n  exports.watchKey = _emberMetalWatch_key.watchKey;\n  exports.unwatchKey = _emberMetalWatch_key.unwatchKey;\n  exports.ChainNode = _emberMetalChains.ChainNode;\n  exports.finishChains = _emberMetalChains.finishChains;\n  exports.removeChainWatcher = _emberMetalChains.removeChainWatcher;\n  exports.watchPath = _emberMetalWatch_path.watchPath;\n  exports.unwatchPath = _emberMetalWatch_path.unwatchPath;\n  exports.destroy = _emberMetalWatching.destroy;\n  exports.isWatching = _emberMetalWatching.isWatching;\n  exports.unwatch = _emberMetalWatching.unwatch;\n  exports.watch = _emberMetalWatching.watch;\n  exports.watcherCount = _emberMetalWatching.watcherCount;\n  exports.libraries = _emberMetalLibraries.default;\n  exports.Map = _emberMetalMap.Map;\n  exports.MapWithDefault = _emberMetalMap.MapWithDefault;\n  exports.OrderedSet = _emberMetalMap.OrderedSet;\n  exports.getProperties = _emberMetalGet_properties.default;\n  exports.setProperties = _emberMetalSet_properties.default;\n  exports.expandProperties = _emberMetalExpand_properties.default;\n  exports._suspendObserver = _emberMetalObserver._suspendObserver;\n  exports._suspendObservers = _emberMetalObserver._suspendObservers;\n  exports.addObserver = _emberMetalObserver.addObserver;\n  exports.observersFor = _emberMetalObserver.observersFor;\n  exports.removeObserver = _emberMetalObserver.removeObserver;\n  exports._addBeforeObserver = _emberMetalObserver._addBeforeObserver;\n  exports._removeBeforeObserver = _emberMetalObserver._removeBeforeObserver;\n  exports.Mixin = _emberMetalMixin.Mixin;\n  exports.aliasMethod = _emberMetalMixin.aliasMethod;\n  exports._immediateObserver = _emberMetalMixin._immediateObserver;\n  exports._beforeObserver = _emberMetalMixin._beforeObserver;\n  exports.mixin = _emberMetalMixin.mixin;\n  exports.observer = _emberMetalMixin.observer;\n  exports.required = _emberMetalMixin.required;\n  exports.REQUIRED = _emberMetalMixin.REQUIRED;\n  exports.hasUnprocessedMixins = _emberMetalMixin.hasUnprocessedMixins;\n  exports.clearUnprocessedMixins = _emberMetalMixin.clearUnprocessedMixins;\n  exports.detectBinding = _emberMetalMixin.detectBinding;\n  exports.Binding = _emberMetalBinding.Binding;\n  exports.bind = _emberMetalBinding.bind;\n  exports.isGlobalPath = _emberMetalPath_cache.isGlobalPath;\n  exports.InjectedProperty = _emberMetalInjected_property.default;\n  exports.setHasViews = _emberMetalTags.setHasViews;\n  exports.tagForProperty = _emberMetalTags.tagForProperty;\n  exports.tagFor = _emberMetalTags.tagFor;\n  exports.markObjectAsDirty = _emberMetalTags.markObjectAsDirty;\n  exports.replace = _emberMetalReplace.default;\n  exports.runInTransaction = _emberMetalTransaction.default;\n  exports.didRender = _emberMetalTransaction.didRender;\n  exports.assertNotRendered = _emberMetalTransaction.assertNotRendered;\n  exports.isProxy = _emberMetalIs_proxy.isProxy;\n  exports.descriptor = _emberMetalDescriptor.default;\n});\nenifed('ember-metal/injected_property', ['exports', 'ember-utils', 'ember-debug', 'ember-metal/computed', 'ember-metal/alias', 'ember-metal/properties'], function (exports, _emberUtils, _emberDebug, _emberMetalComputed, _emberMetalAlias, _emberMetalProperties) {\n  'use strict';\n\n  exports.default = InjectedProperty;\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  function InjectedProperty(type, name) {\n    this.type = type;\n    this.name = name;\n\n    this._super$Constructor(injectedPropertyGet);\n    AliasedPropertyPrototype.oneWay.call(this);\n  }\n\n  function injectedPropertyGet(keyName) {\n    var desc = this[keyName];\n    var owner = _emberUtils.getOwner(this) || this.container; // fallback to `container` for backwards compat\n\n    _emberDebug.assert('InjectedProperties should be defined with the Ember.inject computed property macros.', desc && desc.isDescriptor && desc.type);\n    _emberDebug.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    return owner.lookup(desc.type + ':' + (desc.name || keyName));\n  }\n\n  InjectedProperty.prototype = Object.create(_emberMetalProperties.Descriptor.prototype);\n\n  var InjectedPropertyPrototype = InjectedProperty.prototype;\n  var ComputedPropertyPrototype = _emberMetalComputed.ComputedProperty.prototype;\n  var AliasedPropertyPrototype = _emberMetalAlias.AliasedProperty.prototype;\n\n  InjectedPropertyPrototype._super$Constructor = _emberMetalComputed.ComputedProperty;\n\n  InjectedPropertyPrototype.get = ComputedPropertyPrototype.get;\n  InjectedPropertyPrototype.readOnly = ComputedPropertyPrototype.readOnly;\n  InjectedPropertyPrototype.teardown = ComputedPropertyPrototype.teardown;\n});\nenifed('ember-metal/instrumentation', ['exports', 'ember-environment', 'ember-debug'], function (exports, _emberEnvironment, _emberDebug) {\n  /* eslint no-console:off */\n  /* global console */\n\n  'use strict';\n\n  exports.instrument = instrument;\n  exports._instrumentStart = _instrumentStart;\n  exports.subscribe = subscribe;\n  exports.unsubscribe = unsubscribe;\n  exports.reset = reset;\n\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 `Ember.subscribe`:\n  \n    ```javascript\n    Ember.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 `Ember.instrument`:\n  \n    ```javascript\n    Ember.instrument(\"render.handlebars\", payload, function() {\n      // rendering logic\n    }, binding);\n    ```\n  \n    Event names passed to `Ember.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    @namespace Ember\n    @static\n    @private\n  */\n  var subscribers = [];\n  exports.subscribers = subscribers;\n  var cache = {};\n\n  function populateListeners(name) {\n    var listeners = [];\n    var subscriber = undefined;\n\n    for (var i = 0; i < subscribers.length; i++) {\n      subscriber = subscribers[i];\n      if (subscriber.regex.test(name)) {\n        listeners.push(subscriber.object);\n      }\n    }\n\n    cache[name] = listeners;\n    return listeners;\n  }\n\n  var time = (function () {\n    var perf = 'undefined' !== typeof window ? window.performance || {} : {};\n    var fn = perf.now || perf.mozNow || perf.webkitNow || perf.msNow || perf.oNow;\n    // 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  /**\n    Notifies event's subscribers, calls `before` and `after` hooks.\n  \n    @method instrument\n    @namespace Ember.Instrumentation\n  \n    @param {String} [name] Namespaced event name.\n    @param {Object} _payload\n    @param {Function} callback Function that you're instrumenting.\n    @param {Object} binding Context that instrument function is called with.\n    @private\n  */\n\n  function instrument(name, _payload, callback, binding) {\n    if (arguments.length <= 3 && typeof _payload === 'function') {\n      binding = callback;\n      callback = _payload;\n      _payload = undefined;\n    }\n    if (subscribers.length === 0) {\n      return callback.call(binding);\n    }\n    var payload = _payload || {};\n    var finalizer = _instrumentStart(name, function () {\n      return payload;\n    });\n\n    if (finalizer) {\n      return withFinalizer(callback, finalizer, payload, binding);\n    } else {\n      return callback.call(binding);\n    }\n  }\n\n  var flaggedInstrument = undefined;\n  if (false) {\n    exports.flaggedInstrument = flaggedInstrument = instrument;\n  } else {\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 = undefined;\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\n  function NOOP() {}\n\n  // private for now\n\n  function _instrumentStart(name, _payload, _payloadParam) {\n    if (subscribers.length === 0) {\n      return NOOP;\n    }\n\n    var listeners = cache[name];\n\n    if (!listeners) {\n      listeners = populateListeners(name);\n    }\n\n    if (listeners.length === 0) {\n      return NOOP;\n    }\n\n    var payload = _payload(_payloadParam);\n\n    var STRUCTURED_PROFILE = _emberEnvironment.ENV.STRUCTURED_PROFILE;\n    var timeName = undefined;\n    if (STRUCTURED_PROFILE) {\n      timeName = name + ': ' + payload.object;\n      console.time(timeName);\n    }\n\n    var beforeValues = new Array(listeners.length);\n    var i = undefined,\n        listener = undefined;\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\n    return function _instrumentEnd() {\n      var i = undefined,\n          listener = undefined;\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\n      if (STRUCTURED_PROFILE) {\n        console.timeEnd(timeName);\n      }\n    };\n  }\n\n  /**\n    Subscribes to a particular event or instrumented block of code.\n  \n    @method subscribe\n    @namespace Ember.Instrumentation\n  \n    @param {String} [pattern] Namespaced event name.\n    @param {Object} [object] Before and After hooks.\n  \n    @return {Subscriber}\n    @private\n  */\n\n  function subscribe(pattern, object) {\n    var paths = pattern.split('.');\n    var path = undefined;\n    var regex = [];\n\n    for (var i = 0; i < paths.length; i++) {\n      path = paths[i];\n      if (path === '*') {\n        regex.push('[^\\\\.]*');\n      } else {\n        regex.push(path);\n      }\n    }\n\n    regex = regex.join('\\\\.');\n    regex = regex + '(\\\\..*)?';\n\n    var subscriber = {\n      pattern: pattern,\n      regex: new RegExp('^' + regex + '$'),\n      object: object\n    };\n\n    subscribers.push(subscriber);\n    cache = {};\n\n    return subscriber;\n  }\n\n  /**\n    Unsubscribes from a particular event or instrumented block of code.\n  \n    @method unsubscribe\n    @namespace Ember.Instrumentation\n  \n    @param {Object} [subscriber]\n    @private\n  */\n\n  function unsubscribe(subscriber) {\n    var index = undefined;\n\n    for (var i = 0; i < subscribers.length; i++) {\n      if (subscribers[i] === subscriber) {\n        index = i;\n      }\n    }\n\n    subscribers.splice(index, 1);\n    cache = {};\n  }\n\n  /**\n    Resets `Ember.Instrumentation` by flushing list of subscribers.\n  \n    @method reset\n    @namespace Ember.Instrumentation\n    @private\n  */\n\n  function reset() {\n    subscribers.length = 0;\n    cache = {};\n  }\n});\nenifed('ember-metal/is_blank', ['exports', 'ember-metal/is_empty'], function (exports, _emberMetalIs_empty) {\n  'use strict';\n\n  exports.default = isBlank;\n\n  /**\n    A value is blank if it is empty or a whitespace string.\n  \n    ```javascript\n    Ember.isBlank();                // true\n    Ember.isBlank(null);            // true\n    Ember.isBlank(undefined);       // true\n    Ember.isBlank('');              // true\n    Ember.isBlank([]);              // true\n    Ember.isBlank('\\n\\t');          // true\n    Ember.isBlank('  ');            // true\n    Ember.isBlank({});              // false\n    Ember.isBlank('\\n\\t Hello');    // false\n    Ember.isBlank('Hello world');   // false\n    Ember.isBlank([1,2,3]);         // false\n    ```\n  \n    @method isBlank\n    @for Ember\n    @param {Object} obj Value to test\n    @return {Boolean}\n    @since 1.5.0\n    @public\n  */\n\n  function isBlank(obj) {\n    return _emberMetalIs_empty.default(obj) || typeof obj === 'string' && obj.match(/\\S/) === null;\n  }\n});\nenifed('ember-metal/is_empty', ['exports', 'ember-metal/property_get', 'ember-metal/is_none'], function (exports, _emberMetalProperty_get, _emberMetalIs_none) {\n  'use strict';\n\n  exports.default = isEmpty;\n\n  /**\n    Verifies that a value is `null` or an empty string, empty array,\n    or empty function.\n  \n    Constrains the rules on `Ember.isNone` by returning true for empty\n    string and empty arrays.\n  \n    ```javascript\n    Ember.isEmpty();                // true\n    Ember.isEmpty(null);            // true\n    Ember.isEmpty(undefined);       // true\n    Ember.isEmpty('');              // true\n    Ember.isEmpty([]);              // true\n    Ember.isEmpty({});              // false\n    Ember.isEmpty('Adam Hawkins');  // false\n    Ember.isEmpty([0,1,2]);         // false\n    Ember.isEmpty('\\n\\t');          // false\n    Ember.isEmpty('  ');            // false\n    ```\n  \n    @method isEmpty\n    @for Ember\n    @param {Object} obj Value to test\n    @return {Boolean}\n    @public\n  */\n\n  function isEmpty(obj) {\n    var none = _emberMetalIs_none.default(obj);\n    if (none) {\n      return none;\n    }\n\n    if (typeof obj.size === 'number') {\n      return !obj.size;\n    }\n\n    var objectType = typeof obj;\n\n    if (objectType === 'object') {\n      var size = _emberMetalProperty_get.get(obj, 'size');\n      if (typeof size === 'number') {\n        return !size;\n      }\n    }\n\n    if (typeof obj.length === 'number' && objectType !== 'function') {\n      return !obj.length;\n    }\n\n    if (objectType === 'object') {\n      var _length = _emberMetalProperty_get.get(obj, 'length');\n      if (typeof _length === 'number') {\n        return !_length;\n      }\n    }\n\n    return false;\n  }\n});\nenifed(\"ember-metal/is_none\", [\"exports\"], function (exports) {\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    Ember.isNone();              // true\n    Ember.isNone(null);          // true\n    Ember.isNone(undefined);     // true\n    Ember.isNone('');            // false\n    Ember.isNone([]);            // false\n    Ember.isNone(function() {}); // false\n    ```\n  \n    @method isNone\n    @for Ember\n    @param {Object} obj Value to test\n    @return {Boolean}\n    @public\n  */\n  \"use strict\";\n\n  exports.default = isNone;\n\n  function isNone(obj) {\n    return obj === null || obj === undefined;\n  }\n});\nenifed('ember-metal/is_present', ['exports', 'ember-metal/is_blank'], function (exports, _emberMetalIs_blank) {\n  'use strict';\n\n  exports.default = isPresent;\n\n  /**\n    A value is present if it not `isBlank`.\n  \n    ```javascript\n    Ember.isPresent();                // false\n    Ember.isPresent(null);            // false\n    Ember.isPresent(undefined);       // false\n    Ember.isPresent('');              // false\n    Ember.isPresent('  ');            // false\n    Ember.isPresent('\\n\\t');          // false\n    Ember.isPresent([]);              // false\n    Ember.isPresent({ length: 0 })    // false\n    Ember.isPresent(false);           // true\n    Ember.isPresent(true);            // true\n    Ember.isPresent('string');        // true\n    Ember.isPresent(0);               // true\n    Ember.isPresent(function() {})    // true\n    Ember.isPresent({});              // true\n    Ember.isPresent(false);           // true\n    Ember.isPresent('\\n\\t Hello');    // true\n    Ember.isPresent([1,2,3]);         // true\n    ```\n  \n    @method isPresent\n    @for Ember\n    @param {Object} obj Value to test\n    @return {Boolean}\n    @since 1.8.0\n    @public\n  */\n\n  function isPresent(obj) {\n    return !_emberMetalIs_blank.default(obj);\n  }\n});\nenifed('ember-metal/is_proxy', ['exports', 'ember-metal/meta'], function (exports, _emberMetalMeta) {\n  'use strict';\n\n  exports.isProxy = isProxy;\n\n  function isProxy(value) {\n    if (typeof value === 'object' && value) {\n      var meta = _emberMetalMeta.peekMeta(value);\n      return meta && meta.isProxy();\n    }\n\n    return false;\n  }\n});\nenifed('ember-metal/libraries', ['exports', 'ember-debug'], function (exports, _emberDebug) {\n  'use strict';\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      babelHelpers.classCallCheck(this, Libraries);\n\n      this._registry = [];\n      this._coreLibIndex = 0;\n    }\n\n    Libraries.prototype.isRegistered = function isRegistered(name) {\n      return !!this._getLibraryByName(name);\n    };\n\n    return Libraries;\n  })();\n\n  exports.Libraries = Libraries;\n\n  Libraries.prototype = {\n    constructor: Libraries,\n\n    _getLibraryByName: function (name) {\n      var libs = this._registry;\n      var count = libs.length;\n\n      for (var i = 0; i < count; i++) {\n        if (libs[i].name === name) {\n          return libs[i];\n        }\n      }\n    },\n\n    register: function (name, version, isCoreLibrary) {\n      var index = this._registry.length;\n\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        _emberDebug.warn('Library \"' + name + '\" is already registered with Ember.', false, { id: 'ember-metal.libraries-register' });\n      }\n    },\n\n    registerCoreLibrary: function (name, version) {\n      this.register(name, version, true);\n    },\n\n    deRegister: function (name) {\n      var lib = this._getLibraryByName(name);\n      var index = undefined;\n\n      if (lib) {\n        index = this._registry.indexOf(lib);\n        this._registry.splice(index, 1);\n      }\n    }\n  };\n\n  if (false) {\n    Libraries.prototype.isRegistered = function (name) {\n      return !!this._getLibraryByName(name);\n    };\n  }\n\n  exports.default = new Libraries();\n});\nenifed('ember-metal/map', ['exports', 'ember-utils'], function (exports, _emberUtils) {\n  /**\n  @module ember\n  @submodule ember-metal\n  */\n\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  \n    Because Ember has a way to get a unique identifier for every object\n    via `Ember.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  \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  \n    Map is mocked out to look like an Ember object, so you can do\n    `Ember.Map.create()` for symmetry with other Ember classes.\n  */\n  'use strict';\n\n  function missingFunction(fn) {\n    throw new TypeError(Object.prototype.toString.call(fn) + ' is not a function');\n  }\n\n  function missingNew(name) {\n    throw new TypeError('Constructor ' + name + ' requires \\'new\\'');\n  }\n\n  function copyNull(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  function copyMap(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    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  */\n  function OrderedSet() {\n    if (this instanceof OrderedSet) {\n      this.clear();\n      this._silenceRemoveDeprecation = false;\n    } else {\n      missingNew('OrderedSet');\n    }\n  }\n\n  /**\n    @method create\n    @static\n    @return {Ember.OrderedSet}\n    @private\n  */\n  OrderedSet.create = function () {\n    var Constructor = this;\n\n    return new Constructor();\n  };\n\n  OrderedSet.prototype = {\n    constructor: OrderedSet,\n    /**\n      @method clear\n      @private\n    */\n    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    add: function (obj, _guid) {\n      var guid = _guid || _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    delete: function (obj, _guid) {\n      var guid = _guid || _emberUtils.guidFor(obj);\n      var presenceSet = this.presenceSet;\n      var list = this.list;\n\n      if (presenceSet[guid] === true) {\n        delete presenceSet[guid];\n        var index = list.indexOf(obj);\n        if (index > -1) {\n          list.splice(index, 1);\n        }\n        this.size = list.length;\n        return true;\n      } else {\n        return false;\n      }\n    },\n\n    /**\n      @method isEmpty\n      @return {Boolean}\n      @private\n    */\n    isEmpty: function () {\n      return this.size === 0;\n    },\n\n    /**\n      @method has\n      @param obj\n      @return {Boolean}\n      @private\n    */\n    has: function (obj) {\n      if (this.size === 0) {\n        return false;\n      }\n\n      var guid = _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    forEach: function (fn /*, ...thisArg*/) {\n      if (typeof fn !== 'function') {\n        missingFunction(fn);\n      }\n\n      if (this.size === 0) {\n        return;\n      }\n\n      var list = this.list;\n\n      if (arguments.length === 2) {\n        for (var i = 0; i < list.length; i++) {\n          fn.call(arguments[1], list[i]);\n        }\n      } else {\n        for (var i = 0; i < list.length; i++) {\n          fn(list[i]);\n        }\n      }\n    },\n\n    /**\n      @method toArray\n      @return {Array}\n      @private\n    */\n    toArray: function () {\n      return this.list.slice();\n    },\n\n    /**\n      @method copy\n      @return {Ember.OrderedSet}\n      @private\n    */\n    copy: function () {\n      var Constructor = this.constructor;\n      var set = new Constructor();\n\n      set._silenceRemoveDeprecation = this._silenceRemoveDeprecation;\n      set.presenceSet = copyNull(this.presenceSet);\n      set.list = this.toArray();\n      set.size = this.size;\n\n      return set;\n    }\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  \n    Internally, a Map has two data structures:\n  \n    1. `keys`: an OrderedSet of all of the existing keys\n    2. `values`: a JavaScript Object indexed by the `Ember.guidFor(key)`\n  \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  \n    @class Map\n    @namespace Ember\n    @private\n    @constructor\n  */\n  function Map() {\n    if (this instanceof Map) {\n      this._keys = OrderedSet.create();\n      this._keys._silenceRemoveDeprecation = true;\n      this._values = Object.create(null);\n      this.size = 0;\n    } else {\n      missingNew('Map');\n    }\n  }\n\n  /**\n    @method create\n    @static\n    @private\n  */\n  Map.create = function () {\n    var Constructor = this;\n    return new Constructor();\n  };\n\n  Map.prototype = {\n    constructor: Map,\n\n    /**\n      This property will change as the number of objects in the map changes.\n       @since 1.8.0\n      @property size\n      @type number\n      @default 0\n      @private\n    */\n    size: 0,\n\n    /**\n      Retrieve the value associated with a given key.\n       @method get\n      @param {*} key\n      @return {*} the value associated with the key, or `undefined`\n      @private\n    */\n    get: function (key) {\n      if (this.size === 0) {\n        return;\n      }\n\n      var values = this._values;\n      var guid = _emberUtils.guidFor(key);\n\n      return values[guid];\n    },\n\n    /**\n      Adds a value to the map. If a value for the given key has already been\n      provided, the new value will replace the old value.\n       @method set\n      @param {*} key\n      @param {*} value\n      @return {Ember.Map}\n      @private\n    */\n    set: function (key, value) {\n      var keys = this._keys;\n      var values = this._values;\n      var guid = _emberUtils.guidFor(key);\n\n      // ensure we don't store -0\n      var k = key === -0 ? 0 : key;\n\n      keys.add(k, guid);\n\n      values[guid] = value;\n\n      this.size = keys.size;\n\n      return this;\n    },\n\n    /**\n      Removes a value from the map for an associated key.\n       @since 1.8.0\n      @method delete\n      @param {*} key\n      @return {Boolean} true if an item was removed, false otherwise\n      @private\n    */\n    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 = _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    /**\n      Check whether a key is present.\n       @method has\n      @param {*} key\n      @return {Boolean} true if the item was present, false otherwise\n      @private\n    */\n    has: function (key) {\n      return this._keys.has(key);\n    },\n\n    /**\n      Iterate over all the keys and values. Calls the function once\n      for each key, passing in value, key, and the map being iterated over,\n      in that order.\n       The keys are guaranteed to be iterated over in insertion order.\n       @method forEach\n      @param {Function} callback\n      @param {*} self if passed, the `this` value inside the\n        callback. By default, `this` is the map.\n      @private\n    */\n    forEach: function (callback /*, ...thisArg*/) {\n      if (typeof callback !== 'function') {\n        missingFunction(callback);\n      }\n\n      if (this.size === 0) {\n        return;\n      }\n\n      var map = this;\n      var cb = undefined,\n          thisArg = undefined;\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    /**\n      @method clear\n      @private\n    */\n    clear: function () {\n      this._keys.clear();\n      this._values = Object.create(null);\n      this.size = 0;\n    },\n\n    /**\n      @method copy\n      @return {Ember.Map}\n      @private\n    */\n    copy: function () {\n      return copyMap(this, new Map());\n    }\n  };\n\n  /**\n    @class MapWithDefault\n    @namespace Ember\n    @extends Ember.Map\n    @private\n    @constructor\n    @param [options]\n      @param {*} [options.defaultValue]\n  */\n  function MapWithDefault(options) {\n    this._super$constructor();\n    this.defaultValue = options.defaultValue;\n  }\n\n  /**\n    @method create\n    @static\n    @param [options]\n      @param {*} [options.defaultValue]\n    @return {Ember.MapWithDefault|Ember.Map} If options are passed, returns\n      `Ember.MapWithDefault` otherwise returns `Ember.Map`\n    @private\n  */\n  MapWithDefault.create = function (options) {\n    if (options) {\n      return new MapWithDefault(options);\n    } else {\n      return new Map();\n    }\n  };\n\n  MapWithDefault.prototype = Object.create(Map.prototype);\n  MapWithDefault.prototype.constructor = MapWithDefault;\n  MapWithDefault.prototype._super$constructor = Map;\n  MapWithDefault.prototype._super$get = Map.prototype.get;\n\n  /**\n    Retrieve the value associated with a given key.\n  \n    @method get\n    @param {*} key\n    @return {*} the value associated with the key, or the default value\n    @private\n  */\n  MapWithDefault.prototype.get = function (key) {\n    var hasValue = this.has(key);\n\n    if (hasValue) {\n      return this._super$get(key);\n    } else {\n      var defaultValue = this.defaultValue(key);\n      this.set(key, defaultValue);\n      return defaultValue;\n    }\n  };\n\n  /**\n    @method copy\n    @return {Ember.MapWithDefault}\n    @private\n  */\n  MapWithDefault.prototype.copy = function () {\n    var Constructor = this.constructor;\n    return copyMap(this, new Constructor({\n      defaultValue: this.defaultValue\n    }));\n  };\n\n  exports.default = Map;\n  exports.OrderedSet = OrderedSet;\n  exports.Map = Map;\n  exports.MapWithDefault = MapWithDefault;\n});\nenifed('ember-metal/merge', ['exports'], function (exports) {\n  /**\n    Merge the contents of two objects together into the first object.\n  \n    ```javascript\n    Ember.merge({ first: 'Tom' }, { last: 'Dale' }); // { first: 'Tom', last: 'Dale' }\n    var a = { first: 'Yehuda' };\n    var b = { last: 'Katz' };\n    Ember.merge(a, b); // a == { first: 'Yehuda', last: 'Katz' }, b == { last: 'Katz' }\n    ```\n  \n    @method merge\n    @for Ember\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  'use strict';\n\n  exports.default = merge;\n\n  function merge(original, updates) {\n    if (!updates || typeof updates !== 'object') {\n      return original;\n    }\n\n    var props = Object.keys(updates);\n    var prop = undefined;\n\n    for (var i = 0; i < props.length; i++) {\n      prop = props[i];\n      original[prop] = updates[prop];\n    }\n\n    return original;\n  }\n});\nenifed('ember-metal/meta', ['exports', 'ember-utils', 'ember-metal/meta_listeners', 'ember-debug', 'ember-metal/chains', 'require'], function (exports, _emberUtils, _emberMetalMeta_listeners, _emberDebug, _emberMetalChains, _require) {\n  'use strict';\n\n  exports.deleteMeta = deleteMeta;\n  exports.meta = meta;\n\n  var counters = {\n    peekCalls: 0,\n    peekParentCalls: 0,\n    peekPrototypeWalks: 0,\n    setCalls: 0,\n    deleteCalls: 0,\n    metaCalls: 0,\n    metaInstantiated: 0\n  };\n\n  /**\n  @module ember-metal\n  */\n\n  /*\n   This declares several meta-programmed members on the Meta class. Such\n   meta!\n  \n   In general, the `readable` variants will give you an object (if it\n   already exists) that you can read but should not modify. The\n   `writable` variants will give you a mutable object, and they will\n   create it if it didn't already exist.\n  \n   The following methods will get generated metaprogrammatically, and\n   I'm including them here for greppability:\n  \n   writableCache, readableCache, writeWatching,\n   peekWatching, clearWatching, writeMixins,\n   peekMixins, clearMixins, writeBindings,\n   peekBindings, clearBindings, writeValues,\n   peekValues, clearValues, writeDeps, forEachInDeps\n   writableChainWatchers, readableChainWatchers, writableChains,\n   readableChains, writableTag, readableTag, writableTags,\n   readableTags\n  */\n  var members = {\n    cache: ownMap,\n    weak: ownMap,\n    watching: inheritedMap,\n    mixins: inheritedMap,\n    bindings: inheritedMap,\n    values: inheritedMap,\n    chainWatchers: ownCustomObject,\n    chains: inheritedCustomObject,\n    tag: ownCustomObject,\n    tags: ownMap\n  };\n\n  // FLAGS\n  var SOURCE_DESTROYING = 1 << 1;\n  var SOURCE_DESTROYED = 1 << 2;\n  var META_DESTROYED = 1 << 3;\n  var IS_PROXY = 1 << 4;\n\n  if (true || false) {\n    members.lastRendered = ownMap;\n    if (_require.has('ember-debug')) {\n      //https://github.com/emberjs/ember.js/issues/14732\n      members.lastRenderedReferenceMap = ownMap;\n      members.lastRenderedTemplateMap = ownMap;\n    }\n  }\n\n  var memberNames = Object.keys(members);\n  var META_FIELD = '__ember_meta__';\n\n  var Meta = (function () {\n    function Meta(obj, parentMeta) {\n      var _this = this;\n\n      babelHelpers.classCallCheck(this, Meta);\n\n      _emberDebug.runInDebug(function () {\n        return counters.metaInstantiated++;\n      });\n\n      this._cache = undefined;\n      this._weak = undefined;\n      this._watching = undefined;\n      this._mixins = undefined;\n      this._bindings = undefined;\n      this._values = undefined;\n      this._deps = undefined;\n      this._chainWatchers = undefined;\n      this._chains = undefined;\n      this._tag = undefined;\n      this._tags = undefined;\n      this._factory = undefined;\n\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\n      // used only internally\n      this.source = obj;\n\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 = undefined;\n\n      // The next meta in our inheritance chain. We (will) track this\n      // explicitly instead of using prototypical inheritance because we\n      // have detailed knowledge of how each property should really be\n      // inherited, and we can optimize it much better than JS runtimes.\n      this.parent = parentMeta;\n\n      if (true || false) {\n        this._lastRendered = undefined;\n        _emberDebug.runInDebug(function () {\n          _this._lastRenderedReferenceMap = undefined;\n          _this._lastRenderedTemplateMap = undefined;\n        });\n      }\n\n      this._initializeListeners();\n    }\n\n    Meta.prototype.isInitialized = function isInitialized(obj) {\n      return this.proto !== obj;\n    };\n\n    Meta.prototype.destroy = function destroy() {\n      if (this.isMetaDestroyed()) {\n        return;\n      }\n\n      // remove chainWatchers to remove circular references that would prevent GC\n      var nodes = undefined,\n          key = undefined,\n          nodeObject = undefined;\n      var node = this.readableChains();\n      if (node) {\n        NODE_STACK.push(node);\n        // process tree\n        while (NODE_STACK.length > 0) {\n          node = NODE_STACK.pop();\n          // push children\n          nodes = node._chains;\n          if (nodes) {\n            for (key in nodes) {\n              if (nodes[key] !== undefined) {\n                NODE_STACK.push(nodes[key]);\n              }\n            }\n          }\n\n          // remove chainWatcher in node object\n          if (node._watching) {\n            nodeObject = node._object;\n            if (nodeObject) {\n              var foreignMeta = peekMeta(nodeObject);\n              // avoid cleaning up chain watchers when both current and\n              // foreign objects are being destroyed\n              // if both are being destroyed manual cleanup is not needed\n              // as they will be GC'ed and no non-destroyed references will\n              // be remaining\n              if (foreignMeta && !foreignMeta.isSourceDestroying()) {\n                _emberMetalChains.removeChainWatcher(nodeObject, node._key, node, foreignMeta);\n              }\n            }\n          }\n        }\n      }\n\n      this.setMetaDestroyed();\n    };\n\n    Meta.prototype.isSourceDestroying = function isSourceDestroying() {\n      return (this._flags & SOURCE_DESTROYING) !== 0;\n    };\n\n    Meta.prototype.setSourceDestroying = function setSourceDestroying() {\n      this._flags |= SOURCE_DESTROYING;\n    };\n\n    Meta.prototype.isSourceDestroyed = function isSourceDestroyed() {\n      return (this._flags & SOURCE_DESTROYED) !== 0;\n    };\n\n    Meta.prototype.setSourceDestroyed = function setSourceDestroyed() {\n      this._flags |= SOURCE_DESTROYED;\n    };\n\n    Meta.prototype.isMetaDestroyed = function isMetaDestroyed() {\n      return (this._flags & META_DESTROYED) !== 0;\n    };\n\n    Meta.prototype.setMetaDestroyed = function setMetaDestroyed() {\n      this._flags |= META_DESTROYED;\n    };\n\n    Meta.prototype.isProxy = function isProxy() {\n      return (this._flags & IS_PROXY) !== 0;\n    };\n\n    Meta.prototype.setProxy = function setProxy() {\n      this._flags |= IS_PROXY;\n    };\n\n    Meta.prototype._getOrCreateOwnMap = function _getOrCreateOwnMap(key) {\n      return this[key] || (this[key] = Object.create(null));\n    };\n\n    Meta.prototype._getInherited = function _getInherited(key) {\n      var pointer = this;\n      while (pointer !== undefined) {\n        var map = pointer[key];\n        if (map) {\n          return map;\n        }\n        pointer = pointer.parent;\n      }\n    };\n\n    Meta.prototype._findInherited = function _findInherited(key, subkey) {\n      var pointer = this;\n      while (pointer !== undefined) {\n        var map = pointer[key];\n        if (map) {\n          var value = map[subkey];\n          if (value !== undefined) {\n            return value;\n          }\n        }\n        pointer = pointer.parent;\n      }\n    };\n\n    // Implements a member that provides a lazily created map of maps,\n    // with inheritance at both levels.\n\n    Meta.prototype.writeDeps = function writeDeps(subkey, itemkey, value) {\n      _emberDebug.assert('Cannot call writeDeps after the object is destroyed.', !this.isMetaDestroyed());\n\n      var outerMap = this._getOrCreateOwnMap('_deps');\n      var innerMap = outerMap[subkey];\n      if (!innerMap) {\n        innerMap = outerMap[subkey] = Object.create(null);\n      }\n      innerMap[itemkey] = value;\n    };\n\n    Meta.prototype.peekDeps = function peekDeps(subkey, itemkey) {\n      var pointer = this;\n      while (pointer !== undefined) {\n        var map = pointer._deps;\n        if (map) {\n          var value = map[subkey];\n          if (value) {\n            var itemvalue = value[itemkey];\n            if (itemvalue !== undefined) {\n              return itemvalue;\n            }\n          }\n        }\n        pointer = pointer.parent;\n      }\n    };\n\n    Meta.prototype.hasDeps = function hasDeps(subkey) {\n      var pointer = this;\n      while (pointer !== undefined) {\n        if (pointer._deps && pointer._deps[subkey]) {\n          return true;\n        }\n        pointer = pointer.parent;\n      }\n      return false;\n    };\n\n    Meta.prototype.forEachInDeps = function forEachInDeps(subkey, fn) {\n      return this._forEachIn('_deps', subkey, fn);\n    };\n\n    Meta.prototype._forEachIn = function _forEachIn(key, subkey, fn) {\n      var pointer = this;\n      var seen = undefined;\n      var calls = undefined;\n      while (pointer !== undefined) {\n        var map = pointer[key];\n        if (map) {\n          var innerMap = map[subkey];\n          if (innerMap) {\n            for (var innerKey in innerMap) {\n              seen = seen || Object.create(null);\n              if (!seen[innerKey]) {\n                seen[innerKey] = true;\n                calls = calls || [];\n                calls.push([innerKey, innerMap[innerKey]]);\n              }\n            }\n          }\n        }\n        pointer = pointer.parent;\n      }\n      if (calls) {\n        for (var i = 0; i < calls.length; i++) {\n          var _calls$i = calls[i];\n          var innerKey = _calls$i[0];\n          var value = _calls$i[1];\n\n          fn(innerKey, value);\n        }\n      }\n    };\n\n    Meta.prototype.readInheritedValue = function readInheritedValue(key, subkey) {\n      var internalKey = '_' + key;\n\n      var pointer = this;\n\n      while (pointer !== undefined) {\n        var map = pointer[internalKey];\n        if (map) {\n          var value = map[subkey];\n          if (value !== undefined || subkey in map) {\n            return value;\n          }\n        }\n        pointer = pointer.parent;\n      }\n\n      return UNDEFINED;\n    };\n\n    Meta.prototype.writeValue = function writeValue(obj, key, value) {\n      var descriptor = _emberUtils.lookupDescriptor(obj, key);\n      var isMandatorySetter = descriptor && descriptor.set && descriptor.set.isMandatorySetter;\n\n      if (isMandatorySetter) {\n        this.writeValues(key, value);\n      } else {\n        obj[key] = value;\n      }\n    };\n\n    babelHelpers.createClass(Meta, [{\n      key: 'factory',\n      set: function (factory) {\n        this._factory = factory;\n      },\n      get: function () {\n        return this._factory;\n      }\n    }]);\n    return Meta;\n  })();\n\n  exports.Meta = Meta;\n\n  var NODE_STACK = [];\n\n  for (var _name in _emberMetalMeta_listeners.protoMethods) {\n    Meta.prototype[_name] = _emberMetalMeta_listeners.protoMethods[_name];\n  }\n  memberNames.forEach(function (name) {\n    return members[name](name, Meta);\n  });\n\n  // Implements a member that is a lazily created, non-inheritable\n  // POJO.\n  function ownMap(name, Meta) {\n    var key = memberProperty(name);\n    var capitalized = capitalize(name);\n    Meta.prototype['writable' + capitalized] = function () {\n      return this._getOrCreateOwnMap(key);\n    };\n    Meta.prototype['readable' + capitalized] = function () {\n      return this[key];\n    };\n  }\n\n  // Implements a member that is a lazily created POJO with inheritable\n  // values.\n  function inheritedMap(name, Meta) {\n    var key = memberProperty(name);\n    var capitalized = capitalize(name);\n\n    Meta.prototype['write' + capitalized] = function (subkey, value) {\n      _emberDebug.assert('Cannot call write' + capitalized + ' after the object is destroyed.', !this.isMetaDestroyed());\n\n      var map = this._getOrCreateOwnMap(key);\n      map[subkey] = value;\n    };\n\n    Meta.prototype['peek' + capitalized] = function (subkey) {\n      return this._findInherited(key, subkey);\n    };\n\n    Meta.prototype['forEach' + capitalized] = function (fn) {\n      var pointer = this;\n      var seen = undefined;\n      while (pointer !== undefined) {\n        var map = pointer[key];\n        if (map) {\n          for (var _key in map) {\n            seen = seen || Object.create(null);\n            if (!seen[_key]) {\n              seen[_key] = true;\n              fn(_key, map[_key]);\n            }\n          }\n        }\n        pointer = pointer.parent;\n      }\n    };\n\n    Meta.prototype['clear' + capitalized] = function () {\n      _emberDebug.assert('Cannot call clear' + capitalized + ' after the object is destroyed.', !this.isMetaDestroyed());\n\n      this[key] = undefined;\n    };\n\n    Meta.prototype['deleteFrom' + capitalized] = function (subkey) {\n      delete this._getOrCreateOwnMap(key)[subkey];\n    };\n\n    Meta.prototype['hasIn' + capitalized] = function (subkey) {\n      return this._findInherited(key, subkey) !== undefined;\n    };\n  }\n\n  var UNDEFINED = _emberUtils.symbol('undefined');\n\n  exports.UNDEFINED = UNDEFINED;\n  // Implements a member that provides a non-heritable, lazily-created\n  // object using the method you provide.\n  function ownCustomObject(name, Meta) {\n    var key = memberProperty(name);\n    var capitalized = capitalize(name);\n    Meta.prototype['writable' + capitalized] = function (create) {\n      _emberDebug.assert('Cannot call writable' + capitalized + ' after the object is destroyed.', !this.isMetaDestroyed());\n\n      var ret = this[key];\n      if (!ret) {\n        ret = this[key] = create(this.source);\n      }\n      return ret;\n    };\n    Meta.prototype['readable' + capitalized] = function () {\n      return this[key];\n    };\n  }\n\n  // Implements a member that provides an inheritable, lazily-created\n  // object using the method you provide. We will derived children from\n  // their parents by calling your object's `copy()` method.\n  function inheritedCustomObject(name, Meta) {\n    var key = memberProperty(name);\n    var capitalized = capitalize(name);\n    Meta.prototype['writable' + capitalized] = function (create) {\n      _emberDebug.assert('Cannot call writable' + capitalized + ' after the object is destroyed.', !this.isMetaDestroyed());\n\n      var ret = this[key];\n      if (!ret) {\n        if (this.parent) {\n          ret = this[key] = this.parent['writable' + capitalized](create).copy(this.source);\n        } else {\n          ret = this[key] = create(this.source);\n        }\n      }\n      return ret;\n    };\n    Meta.prototype['readable' + capitalized] = function () {\n      return this._getInherited(key);\n    };\n  }\n\n  function memberProperty(name) {\n    return '_' + name;\n  }\n\n  // there's a more general-purpose capitalize in ember-runtime, but we\n  // don't want to make ember-metal depend on ember-runtime.\n  function capitalize(name) {\n    return name.replace(/^\\w/, function (m) {\n      return m.toUpperCase();\n    });\n  }\n\n  var META_DESC = {\n    writable: true,\n    configurable: true,\n    enumerable: false,\n    value: null\n  };\n\n  exports.META_DESC = META_DESC;\n  var EMBER_META_PROPERTY = {\n    name: META_FIELD,\n    descriptor: META_DESC\n  };\n\n  if (true) {\n    Meta.prototype.readInheritedValue = function (key, subkey) {\n      var internalKey = '_' + key;\n\n      var pointer = this;\n\n      while (pointer !== undefined) {\n        var map = pointer[internalKey];\n        if (map) {\n          var value = map[subkey];\n          if (value !== undefined || subkey in map) {\n            return value;\n          }\n        }\n        pointer = pointer.parent;\n      }\n\n      return UNDEFINED;\n    };\n\n    Meta.prototype.writeValue = function (obj, key, value) {\n      var descriptor = _emberUtils.lookupDescriptor(obj, key);\n      var isMandatorySetter = descriptor && descriptor.set && descriptor.set.isMandatorySetter;\n\n      if (isMandatorySetter) {\n        this.writeValues(key, value);\n      } else {\n        obj[key] = value;\n      }\n    };\n  }\n\n  var setMeta = undefined,\n      peekMeta = undefined;\n\n  // choose the one appropriate for given platform\n  if (_emberUtils.HAS_NATIVE_WEAKMAP) {\n    (function () {\n      var getPrototypeOf = Object.getPrototypeOf;\n      var metaStore = new WeakMap();\n\n      exports.setMeta = setMeta = function WeakMap_setMeta(obj, meta) {\n        _emberDebug.runInDebug(function () {\n          return counters.setCalls++;\n        });\n        metaStore.set(obj, meta);\n      };\n\n      exports.peekMeta = peekMeta = function WeakMap_peekMeta(obj) {\n        _emberDebug.runInDebug(function () {\n          return counters.peekCalls++;\n        });\n\n        return metaStore.get(obj);\n      };\n\n      exports.peekMeta = peekMeta = function WeakMap_peekParentMeta(obj) {\n        var pointer = obj;\n        var meta = undefined;\n        while (pointer) {\n          meta = metaStore.get(pointer);\n          // jshint loopfunc:true\n          _emberDebug.runInDebug(function () {\n            return counters.peekCalls++;\n          });\n          // stop if we find a `null` value, since\n          // that means the meta was deleted\n          // any other truthy value is a \"real\" meta\n          if (meta === null || meta) {\n            return meta;\n          }\n\n          pointer = getPrototypeOf(pointer);\n          _emberDebug.runInDebug(function () {\n            return counters.peakPrototypeWalks++;\n          });\n        }\n      };\n    })();\n  } else {\n    exports.setMeta = setMeta = function Fallback_setMeta(obj, meta) {\n      // if `null` already, just set it to the new value\n      // otherwise define property first\n      if (obj[META_FIELD] !== null) {\n        if (obj.__defineNonEnumerable) {\n          obj.__defineNonEnumerable(EMBER_META_PROPERTY);\n        } else {\n          Object.defineProperty(obj, META_FIELD, META_DESC);\n        }\n      }\n\n      obj[META_FIELD] = meta;\n    };\n\n    exports.peekMeta = peekMeta = function Fallback_peekMeta(obj) {\n      return obj[META_FIELD];\n    };\n  }\n\n  function deleteMeta(obj) {\n    _emberDebug.runInDebug(function () {\n      return counters.deleteCalls++;\n    });\n\n    var meta = peekMeta(obj);\n    if (meta) {\n      meta.destroy();\n    }\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  function meta(obj) {\n    _emberDebug.runInDebug(function () {\n      return counters.metaCalls++;\n    });\n\n    var maybeMeta = peekMeta(obj);\n    var parent = undefined;\n\n    // remove this code, in-favor of explicit parent\n    if (maybeMeta) {\n      if (maybeMeta.source === obj) {\n        return maybeMeta;\n      }\n      parent = maybeMeta;\n    }\n\n    var newMeta = new Meta(obj, parent);\n    setMeta(obj, newMeta);\n    return newMeta;\n  }\n\n  exports.peekMeta = peekMeta;\n  exports.setMeta = setMeta;\n  exports.counters = counters;\n});\nenifed('ember-metal/meta_listeners', ['exports'], function (exports) {\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\n  /* listener flags */\n  'use strict';\n\n  var ONCE = 1;\n  exports.ONCE = ONCE;\n  var SUSPENDED = 2;\n\n  exports.SUSPENDED = SUSPENDED;\n  var protoMethods = {\n\n    addToListeners: function (eventName, target, method, flags) {\n      if (!this._listeners) {\n        this._listeners = [];\n      }\n      this._listeners.push(eventName, target, method, flags);\n    },\n\n    _finalizeListeners: function () {\n      if (this._listenersFinalized) {\n        return;\n      }\n      if (!this._listeners) {\n        this._listeners = [];\n      }\n      var pointer = this.parent;\n      while (pointer) {\n        var listeners = pointer._listeners;\n        if (listeners) {\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    removeFromListeners: function (eventName, target, method, didRemove) {\n      var pointer = this;\n      while (pointer) {\n        var listeners = pointer._listeners;\n        if (listeners) {\n          for (var 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                // we are modifying our own list, so we edit directly\n                if (typeof didRemove === 'function') {\n                  didRemove(eventName, target, listeners[index + 2]);\n                }\n                listeners.splice(index, 4);\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    matchingListeners: function (eventName) {\n      var pointer = this;\n      var result = undefined;\n      while (pointer !== undefined) {\n        var listeners = pointer._listeners;\n        if (listeners !== undefined) {\n          for (var index = 0; index < listeners.length - 3; index += 4) {\n            if (listeners[index] === eventName) {\n              result = result || [];\n              pushUniqueListener(result, listeners, index);\n            }\n          }\n        }\n        if (pointer._listenersFinalized === true) {\n          break;\n        }\n        pointer = pointer.parent;\n      }\n      var sus = this._suspendedListeners;\n      if (sus !== undefined && result !== undefined) {\n        for (var susIndex = 0; susIndex < sus.length - 2; susIndex += 3) {\n          if (eventName === sus[susIndex]) {\n            for (var resultIndex = 0; resultIndex < result.length - 2; resultIndex += 3) {\n              if (result[resultIndex] === sus[susIndex + 1] && result[resultIndex + 1] === sus[susIndex + 2]) {\n                result[resultIndex + 2] |= SUSPENDED;\n              }\n            }\n          }\n        }\n      }\n      return result;\n    },\n\n    suspendListeners: function (eventNames, target, method, callback) {\n      var sus = this._suspendedListeners;\n      if (!sus) {\n        sus = this._suspendedListeners = [];\n      }\n      for (var i = 0; i < eventNames.length; i++) {\n        sus.push(eventNames[i], target, method);\n      }\n      try {\n        return callback.call(target);\n      } finally {\n        if (sus.length === eventNames.length) {\n          this._suspendedListeners = undefined;\n        } else {\n          for (var i = sus.length - 3; i >= 0; i -= 3) {\n            if (sus[i + 1] === target && sus[i + 2] === method && eventNames.indexOf(sus[i]) !== -1) {\n              sus.splice(i, 3);\n            }\n          }\n        }\n      }\n    },\n\n    watchedEvents: function () {\n      var pointer = this;\n      var names = {};\n      while (pointer) {\n        var listeners = pointer._listeners;\n        if (listeners) {\n          for (var index = 0; index < listeners.length - 3; index += 4) {\n            names[listeners[index]] = true;\n          }\n        }\n        if (pointer._listenersFinalized) {\n          break;\n        }\n        pointer = pointer.parent;\n      }\n      return Object.keys(names);\n    },\n\n    _initializeListeners: function () {\n      this._listeners = undefined;\n      this._listenersFinalized = undefined;\n      this._suspendedListeners = undefined;\n    }\n  };\n\n  exports.protoMethods = protoMethods;\n  function pushUniqueListener(destination, source, index) {\n    var target = source[index + 1];\n    var method = source[index + 2];\n    for (var destinationIndex = 0; destinationIndex < destination.length - 2; 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});\nenifed('ember-metal/mixin', ['exports', 'ember-utils', 'ember-debug', 'ember-metal/meta', 'ember-metal/expand_properties', 'ember-metal/properties', 'ember-metal/computed', 'ember-metal/binding', 'ember-metal/observer', 'ember-metal/events'], function (exports, _emberUtils, _emberDebug, _emberMetalMeta, _emberMetalExpand_properties, _emberMetalProperties, _emberMetalComputed, _emberMetalBinding, _emberMetalObserver, _emberMetalEvents) {\n  /**\n  @module ember\n  @submodule ember-metal\n  */\n  'use strict';\n\n  exports.detectBinding = detectBinding;\n  exports.mixin = mixin;\n  exports.hasUnprocessedMixins = hasUnprocessedMixins;\n  exports.clearUnprocessedMixins = clearUnprocessedMixins;\n  exports.required = required;\n  exports.aliasMethod = aliasMethod;\n  exports.observer = observer;\n  exports._immediateObserver = _immediateObserver;\n  exports._beforeObserver = _beforeObserver;\n\n  var a_slice = Array.prototype.slice;\n  var a_concat = Array.prototype.concat;\n  var isArray = Array.isArray;\n\n  function isMethod(obj) {\n    return 'function' === typeof obj && obj.isMethod !== false && obj !== Boolean && obj !== Object && obj !== Number && obj !== Array && obj !== Date && obj !== String;\n  }\n\n  var CONTINUE = {};\n\n  function mixinProperties(mixinsMeta, mixin) {\n    var guid = undefined;\n\n    if (mixin instanceof Mixin) {\n      guid = _emberUtils.guidFor(mixin);\n      if (mixinsMeta.peekMixins(guid)) {\n        return CONTINUE;\n      }\n      mixinsMeta.writeMixins(guid, mixin);\n      return mixin.properties;\n    } else {\n      return mixin; // apply anonymous mixin properties\n    }\n  }\n\n  function concatenatedMixinProperties(concatProp, props, values, base) {\n    // reset before adding each new mixin to pickup concats from previous\n    var concats = values[concatProp] || base[concatProp];\n    if (props[concatProp]) {\n      concats = concats ? a_concat.call(concats, props[concatProp]) : props[concatProp];\n    }\n    return concats;\n  }\n\n  function giveDescriptorSuper(meta, key, property, values, descs, base) {\n    var superProperty = undefined;\n\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\n    // If we didn't find the original descriptor in a parent mixin, find\n    // it on the original object.\n    if (!superProperty) {\n      var possibleDesc = base[key];\n      var superDesc = possibleDesc !== null && typeof possibleDesc === 'object' && possibleDesc.isDescriptor ? possibleDesc : undefined;\n\n      superProperty = superDesc;\n    }\n\n    if (superProperty === undefined || !(superProperty instanceof _emberMetalComputed.ComputedProperty)) {\n      return property;\n    }\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 = _emberUtils.wrap(property._getter, superProperty._getter);\n    if (superProperty._setter) {\n      if (property._setter) {\n        property._setter = _emberUtils.wrap(property._setter, superProperty._setter);\n      } else {\n        property._setter = superProperty._setter;\n      }\n    }\n\n    return property;\n  }\n\n  function giveMethodSuper(obj, key, method, values, descs) {\n    var superMethod = undefined;\n\n    // Methods overwrite computed properties, and do not call super to them.\n    if (descs[key] === undefined) {\n      // Find the original method in a parent mixin\n      superMethod = values[key];\n    }\n\n    // If we didn't find the original value in a parent mixin, find it in\n    // the original object\n    superMethod = superMethod || obj[key];\n\n    // Only wrap the new method if the original method was a function\n    if (superMethod === undefined || 'function' !== typeof superMethod) {\n      return method;\n    }\n\n    return _emberUtils.wrap(method, superMethod);\n  }\n\n  function applyConcatenatedProperties(obj, key, value, values) {\n    var baseValue = values[key] || obj[key];\n    var ret = undefined;\n\n    if (baseValue === null || baseValue === undefined) {\n      ret = _emberUtils.makeArray(value);\n    } else {\n      if (isArray(baseValue)) {\n        if (value === null || value === undefined) {\n          ret = baseValue;\n        } else {\n          ret = a_concat.call(baseValue, value);\n        }\n      } else {\n        ret = a_concat.call(_emberUtils.makeArray(baseValue), value);\n      }\n    }\n\n    _emberDebug.runInDebug(function () {\n      // it is possible to use concatenatedProperties with strings (which cannot be frozen)\n      // only freeze objects...\n      if (typeof ret === 'object' && ret !== null) {\n        // prevent mutating `concatenatedProperties` array after it is applied\n        Object.freeze(ret);\n      }\n    });\n\n    return ret;\n  }\n\n  function applyMergedProperties(obj, key, value, values) {\n    var baseValue = values[key] || obj[key];\n\n    _emberDebug.runInDebug(function () {\n      if (isArray(value)) {\n        // use conditional to avoid stringifying every time\n        _emberDebug.assert('You passed in `' + JSON.stringify(value) + '` as the value for `' + key + '` but `' + key + '` cannot be an Array', false);\n      }\n    });\n\n    if (!baseValue) {\n      return value;\n    }\n\n    var newBase = _emberUtils.assign({}, baseValue);\n    var hasFunction = false;\n\n    for (var prop in value) {\n      if (!value.hasOwnProperty(prop)) {\n        continue;\n      }\n\n      var propValue = value[prop];\n      if (isMethod(propValue)) {\n        // TODO: support for Computed Properties, etc?\n        hasFunction = true;\n        newBase[prop] = giveMethodSuper(obj, prop, propValue, baseValue, {});\n      } else {\n        newBase[prop] = propValue;\n      }\n    }\n\n    if (hasFunction) {\n      newBase._super = _emberUtils.ROOT;\n    }\n\n    return newBase;\n  }\n\n  function addNormalizedProperty(base, key, value, meta, descs, values, concats, mergings) {\n    if (value instanceof _emberMetalProperties.Descriptor) {\n      if (value === REQUIRED && descs[key]) {\n        return CONTINUE;\n      }\n\n      // Wrap descriptor function to implement\n      // _super() if needed\n      if (value._getter) {\n        value = giveDescriptorSuper(meta, key, value, values, descs, base);\n      }\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) >= 0) {\n        value = applyMergedProperties(base, key, value, values);\n      } else if (isMethod(value)) {\n        value = giveMethodSuper(base, key, value, values, descs);\n      }\n\n      descs[key] = undefined;\n      values[key] = value;\n    }\n  }\n\n  function mergeMixins(mixins, meta, descs, values, base, keys) {\n    var currentMixin = undefined,\n        props = undefined,\n        key = undefined,\n        concats = undefined,\n        mergings = undefined;\n\n    function removeKeys(keyName) {\n      delete descs[keyName];\n      delete values[keyName];\n    }\n\n    for (var i = 0; i < mixins.length; i++) {\n      currentMixin = mixins[i];\n      _emberDebug.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, currentMixin);\n      if (props === CONTINUE) {\n        continue;\n      }\n\n      if (props) {\n        if (base.willMergeMixin) {\n          base.willMergeMixin(props);\n        }\n        concats = concatenatedMixinProperties('concatenatedProperties', props, values, base);\n        mergings = concatenatedMixinProperties('mergedProperties', props, values, base);\n\n        for (key in props) {\n          if (!props.hasOwnProperty(key)) {\n            continue;\n          }\n          keys.push(key);\n          addNormalizedProperty(base, key, props[key], meta, descs, values, concats, mergings);\n        }\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, descs, values, base, keys);\n        if (currentMixin._without) {\n          currentMixin._without.forEach(removeKeys);\n        }\n      }\n    }\n  }\n\n  function detectBinding(key) {\n    var length = key.length;\n\n    return length > 7 && key.charCodeAt(length - 7) === 66 && key.indexOf('inding', length - 6) !== -1;\n  }\n\n  // warm both paths of above function\n  detectBinding('notbound');\n  detectBinding('fooBinding');\n\n  function connectBindings(obj, meta) {\n    // TODO Mixin.apply(instance) should disconnect binding if exists\n    meta.forEachBindings(function (key, binding) {\n      if (binding) {\n        var to = key.slice(0, -7); // strip Binding off end\n        if (binding instanceof _emberMetalBinding.Binding) {\n          binding = binding.copy(); // copy prototypes' instance\n          binding.to(to);\n        } else {\n          // binding is string path\n          binding = new _emberMetalBinding.Binding(to, binding);\n        }\n        binding.connect(obj);\n        obj[key] = binding;\n      }\n    });\n    // mark as applied\n    meta.clearBindings();\n  }\n\n  function finishPartial(obj, meta) {\n    connectBindings(obj, meta || _emberMetalMeta.meta(obj));\n    return obj;\n  }\n\n  function followAlias(obj, desc, descs, values) {\n    var altKey = desc.methodName;\n    var value = undefined;\n    var possibleDesc = undefined;\n    if (descs[altKey] || values[altKey]) {\n      value = values[altKey];\n      desc = descs[altKey];\n    } else if ((possibleDesc = obj[altKey]) && possibleDesc !== null && typeof possibleDesc === 'object' && possibleDesc.isDescriptor) {\n      desc = possibleDesc;\n      value = undefined;\n    } else {\n      desc = undefined;\n      value = obj[altKey];\n    }\n\n    return { desc: desc, value: value };\n  }\n\n  function updateObserversAndListeners(obj, key, observerOrListener, pathsKey, updateMethod) {\n    var paths = observerOrListener[pathsKey];\n\n    if (paths) {\n      for (var i = 0; i < paths.length; i++) {\n        updateMethod(obj, paths[i], null, key);\n      }\n    }\n  }\n\n  function replaceObserversAndListeners(obj, key, observerOrListener) {\n    var prev = obj[key];\n\n    if ('function' === typeof prev) {\n      updateObserversAndListeners(obj, key, prev, '__ember_observesBefore__', _emberMetalObserver._removeBeforeObserver);\n      updateObserversAndListeners(obj, key, prev, '__ember_observes__', _emberMetalObserver.removeObserver);\n      updateObserversAndListeners(obj, key, prev, '__ember_listens__', _emberMetalEvents.removeListener);\n    }\n\n    if ('function' === typeof observerOrListener) {\n      updateObserversAndListeners(obj, key, observerOrListener, '__ember_observesBefore__', _emberMetalObserver._addBeforeObserver);\n      updateObserversAndListeners(obj, key, observerOrListener, '__ember_observes__', _emberMetalObserver.addObserver);\n      updateObserversAndListeners(obj, key, observerOrListener, '__ember_listens__', _emberMetalEvents.addListener);\n    }\n  }\n\n  function applyMixin(obj, mixins, partial) {\n    var descs = {};\n    var values = {};\n    var meta = _emberMetalMeta.meta(obj);\n    var keys = [];\n    var key = undefined,\n        value = undefined,\n        desc = undefined;\n\n    obj._super = _emberUtils.ROOT;\n\n    // Go through all mixins and hashes passed in, and:\n    //\n    // * Handle concatenated properties\n    // * Handle merged properties\n    // * Set up _super wrapping if necessary\n    // * Set up computed property descriptors\n    // * Copying `toString` in broken browsers\n    mergeMixins(mixins, meta, descs, values, obj, keys);\n\n    for (var i = 0; i < keys.length; i++) {\n      key = keys[i];\n      if (key === 'constructor' || !values.hasOwnProperty(key)) {\n        continue;\n      }\n\n      desc = descs[key];\n      value = values[key];\n\n      if (desc === REQUIRED) {\n        continue;\n      }\n\n      while (desc && desc instanceof Alias) {\n        var followed = followAlias(obj, desc, descs, values);\n        desc = followed.desc;\n        value = followed.value;\n      }\n\n      if (desc === undefined && value === undefined) {\n        continue;\n      }\n\n      replaceObserversAndListeners(obj, key, value);\n\n      if (detectBinding(key)) {\n        meta.writeBindings(key, value);\n      }\n\n      _emberMetalProperties.defineProperty(obj, key, desc, value, meta);\n    }\n\n    if (!partial) {\n      // don't apply to prototype\n      finishPartial(obj, meta);\n    }\n\n    return obj;\n  }\n\n  /**\n    @method mixin\n    @for Ember\n    @param obj\n    @param mixins*\n    @return obj\n    @private\n  */\n\n  function mixin(obj) {\n    for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n      args[_key - 1] = arguments[_key];\n    }\n\n    applyMixin(obj, args, false);\n    return obj;\n  }\n\n  /**\n    The `Ember.Mixin` class allows you to create mixins, whose properties can be\n    added to other classes. For instance,\n  \n    ```javascript\n    const EditableMixin = Ember.Mixin.create({\n      edit() {\n        console.log('starting to edit');\n        this.set('isEditing', true);\n      },\n      isEditing: false\n    });\n  \n    // Mix mixins into classes by passing them as the first arguments to\n    // `.extend.`\n    const Comment = Ember.Object.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 `Ember.Mixin.create`, not\n    `Ember.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    const FilterableMixin = Ember.Mixin.create({\n      filters: Ember.A()\n    });\n  \n    // filters will be a separate array for every object implementing the mixin\n    const FilterableMixin = Ember.Mixin.create({\n      filters: Ember.computed(function() {\n        return Ember.A();\n      })\n    });\n  \n    // filters will be created as a separate array during the object's initialization\n    const Filterable = Ember.Mixin.create({\n      init() {\n        this._super(...arguments);\n        this.set(\"filters\", Ember.A());\n      }\n    });\n    ```\n  \n    @class Mixin\n    @namespace Ember\n    @public\n  */\n\n  var Mixin = (function () {\n    function Mixin(mixins, properties) {\n      babelHelpers.classCallCheck(this, Mixin);\n\n      this.properties = properties;\n\n      var length = mixins && mixins.length;\n\n      if (length > 0) {\n        var m = new Array(length);\n\n        for (var i = 0; i < length; i++) {\n          var x = mixins[i];\n          if (x instanceof Mixin) {\n            m[i] = x;\n          } else {\n            m[i] = new Mixin(undefined, x);\n          }\n        }\n\n        this.mixins = m;\n      } else {\n        this.mixins = undefined;\n      }\n      this.ownerConstructor = undefined;\n      this._without = undefined;\n      this[_emberUtils.GUID_KEY] = null;\n      this[_emberUtils.NAME_KEY] = null;\n      _emberDebug.debugSeal(this);\n    }\n\n    Mixin.applyPartial = function applyPartial(obj) {\n      for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n        args[_key2 - 1] = arguments[_key2];\n      }\n\n      return applyMixin(obj, args, true);\n    };\n\n    /**\n      @method create\n      @static\n      @param arguments*\n      @public\n    */\n\n    Mixin.create = function create() {\n      // ES6TODO: this relies on a global state?\n      unprocessedFlag = true;\n      var M = this;\n\n      for (var _len3 = arguments.length, args = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n        args[_key3] = arguments[_key3];\n      }\n\n      return new M(args, undefined);\n    };\n\n    // returns the mixins currently applied to the specified object\n    // TODO: Make Ember.mixin\n\n    Mixin.mixins = function mixins(obj) {\n      var meta = _emberMetalMeta.peekMeta(obj);\n      var ret = [];\n      if (!meta) {\n        return ret;\n      }\n\n      meta.forEachMixins(function (key, currentMixin) {\n        // skip primitive mixins since these are always anonymous\n        if (!currentMixin.properties) {\n          ret.push(currentMixin);\n        }\n      });\n\n      return ret;\n    };\n\n    return Mixin;\n  })();\n\n  exports.default = Mixin;\n\n  Mixin._apply = applyMixin;\n\n  Mixin.finishPartial = finishPartial;\n\n  var unprocessedFlag = false;\n\n  function hasUnprocessedMixins() {\n    return unprocessedFlag;\n  }\n\n  function clearUnprocessedMixins() {\n    unprocessedFlag = false;\n  }\n\n  var MixinPrototype = Mixin.prototype;\n\n  /**\n    @method reopen\n    @param arguments*\n    @private\n  */\n  MixinPrototype.reopen = function () {\n    var currentMixin = undefined;\n\n    if (this.properties) {\n      currentMixin = new Mixin(undefined, this.properties);\n      this.properties = undefined;\n      this.mixins = [currentMixin];\n    } else if (!this.mixins) {\n      this.mixins = [];\n    }\n\n    var mixins = this.mixins;\n    var idx = undefined;\n\n    for (idx = 0; idx < arguments.length; idx++) {\n      currentMixin = arguments[idx];\n      _emberDebug.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      if (currentMixin instanceof Mixin) {\n        mixins.push(currentMixin);\n      } else {\n        mixins.push(new Mixin(undefined, currentMixin));\n      }\n    }\n\n    return this;\n  };\n\n  /**\n    @method apply\n    @param obj\n    @return applied object\n    @private\n  */\n  MixinPrototype.apply = function (obj) {\n    return applyMixin(obj, [this], false);\n  };\n\n  MixinPrototype.applyPartial = function (obj) {\n    return applyMixin(obj, [this], true);\n  };\n\n  MixinPrototype.toString = Object.toString;\n\n  function _detect(curMixin, targetMixin, seen) {\n    var guid = _emberUtils.guidFor(curMixin);\n\n    if (seen[guid]) {\n      return false;\n    }\n    seen[guid] = true;\n\n    if (curMixin === targetMixin) {\n      return true;\n    }\n    var mixins = curMixin.mixins;\n    var loc = mixins ? mixins.length : 0;\n    while (--loc >= 0) {\n      if (_detect(mixins[loc], targetMixin, seen)) {\n        return true;\n      }\n    }\n    return false;\n  }\n\n  /**\n    @method detect\n    @param obj\n    @return {Boolean}\n    @private\n  */\n  MixinPrototype.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 = _emberMetalMeta.peekMeta(obj);\n    if (!meta) {\n      return false;\n    }\n    return !!meta.peekMixins(_emberUtils.guidFor(this));\n  };\n\n  MixinPrototype.without = function () {\n    var ret = new Mixin([this]);\n\n    for (var _len4 = arguments.length, args = Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n      args[_key4] = arguments[_key4];\n    }\n\n    ret._without = args;\n    return ret;\n  };\n\n  function _keys(ret, mixin, seen) {\n    if (seen[_emberUtils.guidFor(mixin)]) {\n      return;\n    }\n    seen[_emberUtils.guidFor(mixin)] = true;\n\n    if (mixin.properties) {\n      var props = Object.keys(mixin.properties);\n      for (var i = 0; i < props.length; i++) {\n        var key = props[i];\n        ret[key] = true;\n      }\n    } else if (mixin.mixins) {\n      mixin.mixins.forEach(function (x) {\n        return _keys(ret, x, seen);\n      });\n    }\n  }\n\n  MixinPrototype.keys = function () {\n    var keys = {};\n    var seen = {};\n\n    _keys(keys, this, seen);\n    var ret = Object.keys(keys);\n    return ret;\n  };\n\n  _emberDebug.debugSeal(MixinPrototype);\n\n  var REQUIRED = new _emberMetalProperties.Descriptor();\n  REQUIRED.toString = function () {\n    return '(Required Property)';\n  };\n\n  /**\n    Denotes a required property for a mixin\n  \n    @method required\n    @for Ember\n    @private\n  */\n\n  function required() {\n    _emberDebug.deprecate('Ember.required is deprecated as its behavior is inconsistent and unreliable.', false, { id: 'ember-metal.required', until: '3.0.0' });\n    return REQUIRED;\n  }\n\n  function Alias(methodName) {\n    this.isDescriptor = true;\n    this.methodName = methodName;\n  }\n\n  Alias.prototype = new _emberMetalProperties.Descriptor();\n\n  /**\n    Makes a method available via an additional name.\n  \n    ```javascript\n    App.Person = Ember.Object.extend({\n      name: function() {\n        return 'Tomhuda Katzdale';\n      },\n      moniker: Ember.aliasMethod('name')\n    });\n  \n    let goodGuy = App.Person.create();\n  \n    goodGuy.name();    // 'Tomhuda Katzdale'\n    goodGuy.moniker(); // 'Tomhuda Katzdale'\n    ```\n  \n    @method aliasMethod\n    @for Ember\n    @param {String} methodName name of the method to alias\n    @public\n  */\n\n  function aliasMethod(methodName) {\n    return new Alias(methodName);\n  }\n\n  // ..........................................................\n  // OBSERVER HELPER\n  //\n\n  /**\n    Specify a method that observes property changes.\n  \n    ```javascript\n    Ember.Object.extend({\n      valueObserver: Ember.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\n    @param {String} propertyNames*\n    @param {Function} func\n    @return func\n    @public\n  */\n\n  function observer() {\n    for (var _len5 = arguments.length, args = Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {\n      args[_key5] = arguments[_key5];\n    }\n\n    var func = args.slice(-1)[0];\n    var paths = undefined;\n\n    var addWatchedProperty = function (path) {\n      paths.push(path);\n    };\n    var _paths = args.slice(0, -1);\n\n    if (typeof func !== 'function') {\n      // revert to old, soft-deprecated argument ordering\n      _emberDebug.deprecate('Passing the dependentKeys after the callback function in Ember.observer is deprecated. Ensure the callback function is the last argument.', false, { id: 'ember-metal.observer-argument-order', until: '3.0.0' });\n\n      func = args[0];\n      _paths = args.slice(1);\n    }\n\n    paths = [];\n\n    for (var i = 0; i < _paths.length; ++i) {\n      _emberMetalExpand_properties.default(_paths[i], addWatchedProperty);\n    }\n\n    if (typeof func !== 'function') {\n      throw new _emberDebug.EmberError('Ember.observer called without a function');\n    }\n\n    func.__ember_observes__ = paths;\n    return func;\n  }\n\n  /**\n    Specify a method that observes property changes.\n  \n    ```javascript\n    Ember.Object.extend({\n      valueObserver: Ember.immediateObserver('value', function() {\n        // Executes whenever the \"value\" property changes\n      })\n    });\n    ```\n  \n    In the future, `Ember.observer` may become asynchronous. In this event,\n    `Ember.immediateObserver` will maintain the synchronous behavior.\n  \n    Also available as `Function.prototype.observesImmediately` if prototype extensions are\n    enabled.\n  \n    @method _immediateObserver\n    @for Ember\n    @param {String} propertyNames*\n    @param {Function} func\n    @deprecated Use `Ember.observer` instead.\n    @return func\n    @private\n  */\n\n  function _immediateObserver() {\n    _emberDebug.deprecate('Usage of `Ember.immediateObserver` is deprecated, use `Ember.observer` instead.', false, { id: 'ember-metal.immediate-observer', until: '3.0.0' });\n\n    for (var i = 0; i < arguments.length; i++) {\n      var arg = arguments[i];\n      _emberDebug.assert('Immediate observers must observe internal properties only, not properties on other objects.', typeof arg !== 'string' || arg.indexOf('.') === -1);\n    }\n\n    return observer.apply(this, arguments);\n  }\n\n  /**\n    When observers fire, they are called with the arguments `obj`, `keyName`.\n  \n    Note, `@each.property` observer is called per each add or replace of an element\n    and it's not called with a specific enumeration item.\n  \n    A `_beforeObserver` fires before a property changes.\n  \n    @method beforeObserver\n    @for Ember\n    @param {String} propertyNames*\n    @param {Function} func\n    @return func\n    @deprecated\n    @private\n  */\n\n  function _beforeObserver() {\n    for (var _len6 = arguments.length, args = Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {\n      args[_key6] = arguments[_key6];\n    }\n\n    var func = args.slice(-1)[0];\n    var paths = undefined;\n\n    var addWatchedProperty = function (path) {\n      paths.push(path);\n    };\n\n    var _paths = args.slice(0, -1);\n\n    if (typeof func !== 'function') {\n      // revert to old, soft-deprecated argument ordering\n\n      func = args[0];\n      _paths = args.slice(1);\n    }\n\n    paths = [];\n\n    for (var i = 0; i < _paths.length; ++i) {\n      _emberMetalExpand_properties.default(_paths[i], addWatchedProperty);\n    }\n\n    if (typeof func !== 'function') {\n      throw new _emberDebug.EmberError('_beforeObserver called without a function');\n    }\n\n    func.__ember_observesBefore__ = paths;\n    return func;\n  }\n\n  exports.Mixin = Mixin;\n  exports.REQUIRED = REQUIRED;\n});\nenifed('ember-metal/observer', ['exports', 'ember-metal/watching', 'ember-metal/events'], function (exports, _emberMetalWatching, _emberMetalEvents) {\n  'use strict';\n\n  exports.addObserver = addObserver;\n  exports.observersFor = observersFor;\n  exports.removeObserver = removeObserver;\n  exports._addBeforeObserver = _addBeforeObserver;\n  exports._suspendObserver = _suspendObserver;\n  exports._suspendObservers = _suspendObservers;\n  exports._removeBeforeObserver = _removeBeforeObserver;\n\n  /**\n  @module ember-metal\n  */\n\n  var AFTER_OBSERVERS = ':change';\n  var BEFORE_OBSERVERS = ':before';\n\n  function changeEvent(keyName) {\n    return keyName + AFTER_OBSERVERS;\n  }\n\n  function beforeEvent(keyName) {\n    return keyName + BEFORE_OBSERVERS;\n  }\n\n  /**\n    @method addObserver\n    @for Ember\n    @param obj\n    @param {String} _path\n    @param {Object|Function} target\n    @param {Function|String} [method]\n    @public\n  */\n\n  function addObserver(obj, _path, target, method) {\n    _emberMetalEvents.addListener(obj, changeEvent(_path), target, method);\n    _emberMetalWatching.watch(obj, _path);\n\n    return this;\n  }\n\n  function observersFor(obj, path) {\n    return _emberMetalEvents.listenersFor(obj, changeEvent(path));\n  }\n\n  /**\n    @method removeObserver\n    @for Ember\n    @param obj\n    @param {String} path\n    @param {Object|Function} target\n    @param {Function|String} [method]\n    @public\n  */\n\n  function removeObserver(obj, path, target, method) {\n    _emberMetalWatching.unwatch(obj, path);\n    _emberMetalEvents.removeListener(obj, changeEvent(path), target, method);\n\n    return this;\n  }\n\n  /**\n    @method _addBeforeObserver\n    @for Ember\n    @param obj\n    @param {String} path\n    @param {Object|Function} target\n    @param {Function|String} [method]\n    @deprecated\n    @private\n  */\n\n  function _addBeforeObserver(obj, path, target, method) {\n    _emberMetalEvents.addListener(obj, beforeEvent(path), target, method);\n    _emberMetalWatching.watch(obj, path);\n\n    return this;\n  }\n\n  // Suspend observer during callback.\n  //\n  // This should only be used by the target of the observer\n  // while it is setting the observed path.\n\n  function _suspendObserver(obj, path, target, method, callback) {\n    return _emberMetalEvents.suspendListener(obj, changeEvent(path), target, method, callback);\n  }\n\n  function _suspendObservers(obj, paths, target, method, callback) {\n    var events = paths.map(changeEvent);\n    return _emberMetalEvents.suspendListeners(obj, events, target, method, callback);\n  }\n\n  /**\n    @method removeBeforeObserver\n    @for Ember\n    @param obj\n    @param {String} path\n    @param {Object|Function} target\n    @param {Function|String} [method]\n    @deprecated\n    @private\n  */\n\n  function _removeBeforeObserver(obj, path, target, method) {\n    _emberMetalWatching.unwatch(obj, path);\n    _emberMetalEvents.removeListener(obj, beforeEvent(path), target, method);\n\n    return this;\n  }\n});\nenifed('ember-metal/observer_set', ['exports', 'ember-utils', 'ember-metal/events'], function (exports, _emberUtils, _emberMetalEvents) {\n  'use strict';\n\n  /*\n    this.observerSet = {\n      [senderGuid]: { // variable name: `keySet`\n        [keyName]: listIndex\n      }\n    },\n    this.observers = [\n      {\n        sender: obj,\n        keyName: keyName,\n        eventName: eventName,\n        listeners: [\n          [target, method, flags]\n        ]\n      },\n      ...\n    ]\n  */\n\n  var ObserverSet = (function () {\n    function ObserverSet() {\n      babelHelpers.classCallCheck(this, ObserverSet);\n\n      this.clear();\n    }\n\n    ObserverSet.prototype.add = function add(sender, keyName, eventName) {\n      var observerSet = this.observerSet;\n      var observers = this.observers;\n      var senderGuid = _emberUtils.guidFor(sender);\n      var keySet = observerSet[senderGuid];\n      var index = undefined;\n\n      if (!keySet) {\n        observerSet[senderGuid] = keySet = {};\n      }\n      index = keySet[keyName];\n      if (index === undefined) {\n        index = observers.push({\n          sender: sender,\n          keyName: keyName,\n          eventName: eventName,\n          listeners: []\n        }) - 1;\n        keySet[keyName] = index;\n      }\n      return observers[index].listeners;\n    };\n\n    ObserverSet.prototype.flush = function flush() {\n      var observers = this.observers;\n      var i = undefined,\n          observer = undefined,\n          sender = undefined;\n      this.clear();\n      for (i = 0; i < observers.length; ++i) {\n        observer = observers[i];\n        sender = observer.sender;\n        if (sender.isDestroying || sender.isDestroyed) {\n          continue;\n        }\n        _emberMetalEvents.sendEvent(sender, observer.eventName, [sender, observer.keyName], observer.listeners);\n      }\n    };\n\n    ObserverSet.prototype.clear = function clear() {\n      this.observerSet = {};\n      this.observers = [];\n    };\n\n    return ObserverSet;\n  })();\n\n  exports.default = ObserverSet;\n});\nenifed('ember-metal/path_cache', ['exports', 'ember-metal/cache'], function (exports, _emberMetalCache) {\n  'use strict';\n\n  exports.isGlobal = isGlobal;\n  exports.isGlobalPath = isGlobalPath;\n  exports.hasThis = hasThis;\n  exports.isPath = isPath;\n  exports.getFirstKey = getFirstKey;\n  exports.getTailPath = getTailPath;\n\n  var IS_GLOBAL = /^[A-Z$]/;\n  var IS_GLOBAL_PATH = /^[A-Z$].*[\\.]/;\n  var HAS_THIS = 'this.';\n\n  var isGlobalCache = new _emberMetalCache.default(1000, function (key) {\n    return IS_GLOBAL.test(key);\n  });\n  var isGlobalPathCache = new _emberMetalCache.default(1000, function (key) {\n    return IS_GLOBAL_PATH.test(key);\n  });\n  var hasThisCache = new _emberMetalCache.default(1000, function (key) {\n    return key.lastIndexOf(HAS_THIS, 0) === 0;\n  });\n  var firstDotIndexCache = new _emberMetalCache.default(1000, function (key) {\n    return key.indexOf('.');\n  });\n\n  var firstKeyCache = new _emberMetalCache.default(1000, function (path) {\n    var index = firstDotIndexCache.get(path);\n    if (index === -1) {\n      return path;\n    } else {\n      return path.slice(0, index);\n    }\n  });\n\n  var tailPathCache = new _emberMetalCache.default(1000, function (path) {\n    var index = firstDotIndexCache.get(path);\n    if (index !== -1) {\n      return path.slice(index + 1);\n    }\n  });\n\n  var caches = {\n    isGlobalCache: isGlobalCache,\n    isGlobalPathCache: isGlobalPathCache,\n    hasThisCache: hasThisCache,\n    firstDotIndexCache: firstDotIndexCache,\n    firstKeyCache: firstKeyCache,\n    tailPathCache: tailPathCache\n  };\n\n  exports.caches = caches;\n\n  function isGlobal(path) {\n    return isGlobalCache.get(path);\n  }\n\n  function isGlobalPath(path) {\n    return isGlobalPathCache.get(path);\n  }\n\n  function hasThis(path) {\n    return hasThisCache.get(path);\n  }\n\n  function isPath(path) {\n    return firstDotIndexCache.get(path) !== -1;\n  }\n\n  function getFirstKey(path) {\n    return firstKeyCache.get(path);\n  }\n\n  function getTailPath(path) {\n    return tailPathCache.get(path);\n  }\n});\nenifed('ember-metal/properties', ['exports', 'ember-debug', 'ember-metal/meta', 'ember-metal/property_events'], function (exports, _emberDebug, _emberMetalMeta, _emberMetalProperty_events) {\n  /**\n  @module ember-metal\n  */\n\n  'use strict';\n\n  exports.Descriptor = Descriptor;\n  exports.MANDATORY_SETTER_FUNCTION = MANDATORY_SETTER_FUNCTION;\n  exports.DEFAULT_GETTER_FUNCTION = DEFAULT_GETTER_FUNCTION;\n  exports.INHERITING_GETTER_FUNCTION = INHERITING_GETTER_FUNCTION;\n  exports.defineProperty = defineProperty;\n  exports._hasCachedComputedProperties = _hasCachedComputedProperties;\n\n  // ..........................................................\n  // DESCRIPTOR\n  //\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  function Descriptor() {\n    this.isDescriptor = true;\n  }\n\n  var REDEFINE_SUPPORTED = (function () {\n    // https://github.com/spalger/kibana/commit/b7e35e6737df585585332857a4c397dc206e7ff9\n    var a = Object.create(Object.prototype, {\n      prop: {\n        configurable: true,\n        value: 1\n      }\n    });\n\n    Object.defineProperty(a, 'prop', {\n      configurable: true,\n      value: 2\n    });\n\n    return a.prop === 2;\n  })();\n  // ..........................................................\n  // DEFINING PROPERTIES API\n  //\n\n  function MANDATORY_SETTER_FUNCTION(name) {\n    function SETTER_FUNCTION(value) {\n      var m = _emberMetalMeta.peekMeta(this);\n      if (!m.isInitialized(this)) {\n        m.writeValues(name, value);\n      } else {\n        _emberDebug.assert('You must use Ember.set() to set the `' + name + '` property (of ' + this + ') to `' + value + '`.', false);\n      }\n    }\n\n    SETTER_FUNCTION.isMandatorySetter = true;\n    return SETTER_FUNCTION;\n  }\n\n  function DEFAULT_GETTER_FUNCTION(name) {\n    return function GETTER_FUNCTION() {\n      var meta = _emberMetalMeta.peekMeta(this);\n      return meta && meta.peekValues(name);\n    };\n  }\n\n  function INHERITING_GETTER_FUNCTION(name) {\n    function IGETTER_FUNCTION() {\n      var meta = _emberMetalMeta.peekMeta(this);\n      var val = meta && meta.readInheritedValue('values', name);\n\n      if (val === _emberMetalMeta.UNDEFINED) {\n        var proto = Object.getPrototypeOf(this);\n        return proto && proto[name];\n      } else {\n        return val;\n      }\n    }\n\n    IGETTER_FUNCTION.isInheritingGetter = true;\n    return IGETTER_FUNCTION;\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    `Ember.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    // ES5 compatible mode\n    Ember.defineProperty(contact, 'firstName', {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: 'Charles'\n    });\n  \n    // define a simple property\n    Ember.defineProperty(contact, 'lastName', undefined, 'Jolley');\n  \n    // define a computed property\n    Ember.defineProperty(contact, 'fullName', Ember.computed('firstName', 'lastName', function() {\n      return this.firstName+' '+this.lastName;\n    }));\n    ```\n  \n    @private\n    @method defineProperty\n    @for Ember\n    @param {Object} obj the object to define this property on. This may be a prototype.\n    @param {String} keyName the name of the property\n    @param {Descriptor} [desc] an instance of `Descriptor` (typically a\n      computed property) or an ES5 descriptor.\n      You must provide this or `data` but not both.\n    @param {*} [data] something other than a descriptor, that will\n      become the explicit value of this property.\n  */\n\n  function defineProperty(obj, keyName, desc, data, meta) {\n    if (!meta) {\n      meta = _emberMetalMeta.meta(obj);\n    }\n    var watchEntry = meta.peekWatching(keyName);\n    var possibleDesc = obj[keyName];\n    var existingDesc = possibleDesc !== null && typeof possibleDesc === 'object' && possibleDesc.isDescriptor ? possibleDesc : undefined;\n\n    var watching = watchEntry !== undefined && watchEntry > 0;\n\n    if (existingDesc) {\n      existingDesc.teardown(obj, keyName);\n    }\n\n    var value = undefined;\n    if (desc instanceof Descriptor) {\n      value = desc;\n      if (true) {\n        if (watching) {\n          Object.defineProperty(obj, keyName, {\n            configurable: true,\n            enumerable: true,\n            writable: true,\n            value: value\n          });\n        } else {\n          obj[keyName] = value;\n        }\n      } else {\n        obj[keyName] = value;\n      }\n\n      didDefineComputedProperty(obj.constructor);\n\n      if (typeof desc.setup === 'function') {\n        desc.setup(obj, keyName);\n      }\n    } else {\n      if (desc == null) {\n        value = data;\n\n        if (true) {\n          if (watching) {\n            meta.writeValues(keyName, data);\n\n            var defaultDescriptor = {\n              configurable: true,\n              enumerable: true,\n              set: MANDATORY_SETTER_FUNCTION(keyName),\n              get: DEFAULT_GETTER_FUNCTION(keyName)\n            };\n\n            if (REDEFINE_SUPPORTED) {\n              Object.defineProperty(obj, keyName, defaultDescriptor);\n            } else {\n              handleBrokenPhantomDefineProperty(obj, keyName, defaultDescriptor);\n            }\n          } else {\n            obj[keyName] = data;\n          }\n        } else {\n          obj[keyName] = data;\n        }\n      } else {\n        value = desc;\n\n        // fallback to ES5\n        Object.defineProperty(obj, keyName, desc);\n      }\n    }\n\n    // if key is being watched, override chains that\n    // were initialized with the prototype\n    if (watching) {\n      _emberMetalProperty_events.overrideChains(obj, keyName, meta);\n    }\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    return this;\n  }\n\n  var hasCachedComputedProperties = false;\n\n  function _hasCachedComputedProperties() {\n    hasCachedComputedProperties = true;\n  }\n\n  function didDefineComputedProperty(constructor) {\n    if (hasCachedComputedProperties === false) {\n      return;\n    }\n    var cache = _emberMetalMeta.meta(constructor).readableCache();\n\n    if (cache && cache._computedProperties !== undefined) {\n      cache._computedProperties = undefined;\n    }\n  }\n\n  function handleBrokenPhantomDefineProperty(obj, keyName, desc) {\n    // https://github.com/ariya/phantomjs/issues/11856\n    Object.defineProperty(obj, keyName, { configurable: true, writable: true, value: 'iCry' });\n    Object.defineProperty(obj, keyName, desc);\n  }\n});\nenifed('ember-metal/property_events', ['exports', 'ember-utils', 'ember-metal/meta', 'ember-metal/events', 'ember-metal/tags', 'ember-metal/observer_set', 'ember-debug', 'ember-metal/transaction'], function (exports, _emberUtils, _emberMetalMeta, _emberMetalEvents, _emberMetalTags, _emberMetalObserver_set, _emberDebug, _emberMetalTransaction) {\n  'use strict';\n\n  var PROPERTY_DID_CHANGE = _emberUtils.symbol('PROPERTY_DID_CHANGE');\n\n  exports.PROPERTY_DID_CHANGE = PROPERTY_DID_CHANGE;\n  var beforeObserverSet = new _emberMetalObserver_set.default();\n  var observerSet = new _emberMetalObserver_set.default();\n  var deferred = 0;\n\n  // ..........................................................\n  // PROPERTY CHANGES\n  //\n\n  /**\n    This function is called just before an object property is about to change.\n    It will notify any before observers and prepare 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 along with `Ember.propertyDidChange()` which you should call just\n    after the property value changes.\n  \n    @method propertyWillChange\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    @return {void}\n    @private\n  */\n  function propertyWillChange(obj, keyName, _meta) {\n    var meta = _meta || _emberMetalMeta.peekMeta(obj);\n\n    if (meta && !meta.isInitialized(obj)) {\n      return;\n    }\n\n    var watching = meta && meta.peekWatching(keyName) > 0;\n    var possibleDesc = obj[keyName];\n    var desc = possibleDesc !== null && typeof possibleDesc === 'object' && possibleDesc.isDescriptor ? possibleDesc : undefined;\n\n    if (desc && desc.willChange) {\n      desc.willChange(obj, keyName);\n    }\n\n    if (watching) {\n      dependentKeysWillChange(obj, keyName, meta);\n      chainsWillChange(obj, keyName, meta);\n      notifyBeforeObservers(obj, keyName, meta);\n    }\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 along with `Ember.propertyWillChange()` which you should call just\n    before the property value changes.\n  \n    @method propertyDidChange\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    @private\n  */\n  function propertyDidChange(obj, keyName, _meta) {\n    var meta = _meta || _emberMetalMeta.peekMeta(obj);\n\n    if (meta && !meta.isInitialized(obj)) {\n      return;\n    }\n\n    var watching = meta && meta.peekWatching(keyName) > 0;\n    var possibleDesc = obj[keyName];\n    var desc = possibleDesc !== null && typeof possibleDesc === 'object' && possibleDesc.isDescriptor ? possibleDesc : undefined;\n\n    // shouldn't this mean that we're watching this key?\n    if (desc && desc.didChange) {\n      desc.didChange(obj, keyName);\n    }\n\n    if (watching) {\n      if (meta.hasDeps(keyName)) {\n        dependentKeysDidChange(obj, keyName, meta);\n      }\n\n      chainsDidChange(obj, keyName, meta, false);\n      notifyObservers(obj, keyName, meta);\n    }\n\n    if (obj[PROPERTY_DID_CHANGE]) {\n      obj[PROPERTY_DID_CHANGE](keyName);\n    }\n\n    if (meta && meta.isSourceDestroying()) {\n      return;\n    }\n\n    _emberMetalTags.markObjectAsDirty(meta, keyName);\n\n    if (true || false) {\n      _emberMetalTransaction.assertNotRendered(obj, keyName, meta);\n    }\n  }\n\n  var WILL_SEEN = undefined,\n      DID_SEEN = undefined;\n  // called whenever a property is about to change to clear the cache of any dependent keys (and notify those properties of changes, etc...)\n  function dependentKeysWillChange(obj, depKey, meta) {\n    if (meta && meta.isSourceDestroying()) {\n      return;\n    }\n\n    if (meta && meta.hasDeps(depKey)) {\n      var seen = WILL_SEEN;\n      var _top = !seen;\n\n      if (_top) {\n        seen = WILL_SEEN = {};\n      }\n\n      iterDeps(propertyWillChange, obj, depKey, seen, meta);\n\n      if (_top) {\n        WILL_SEEN = null;\n      }\n    }\n  }\n\n  // called whenever a property has just changed to update dependent keys\n  function dependentKeysDidChange(obj, depKey, meta) {\n    if (meta && meta.isSourceDestroying()) {\n      return;\n    }\n\n    if (meta && meta.hasDeps(depKey)) {\n      var seen = DID_SEEN;\n      var _top2 = !seen;\n\n      if (_top2) {\n        seen = DID_SEEN = {};\n      }\n\n      iterDeps(propertyDidChange, obj, depKey, seen, meta);\n\n      if (_top2) {\n        DID_SEEN = null;\n      }\n    }\n  }\n\n  function iterDeps(method, obj, depKey, seen, meta) {\n    var possibleDesc = undefined,\n        desc = undefined;\n    var guid = _emberUtils.guidFor(obj);\n    var current = seen[guid];\n\n    if (!current) {\n      current = seen[guid] = {};\n    }\n\n    if (current[depKey]) {\n      return;\n    }\n\n    current[depKey] = true;\n\n    meta.forEachInDeps(depKey, function (key, value) {\n      if (!value) {\n        return;\n      }\n\n      possibleDesc = obj[key];\n      desc = possibleDesc !== null && typeof possibleDesc === 'object' && possibleDesc.isDescriptor ? possibleDesc : undefined;\n\n      if (desc && desc._suspended === obj) {\n        return;\n      }\n\n      method(obj, key, meta);\n    });\n  }\n\n  function chainsWillChange(obj, keyName, meta) {\n    var chainWatchers = meta.readableChainWatchers();\n    if (chainWatchers) {\n      chainWatchers.notify(keyName, false, propertyWillChange);\n    }\n  }\n\n  function chainsDidChange(obj, keyName, meta) {\n    var chainWatchers = meta.readableChainWatchers();\n    if (chainWatchers) {\n      chainWatchers.notify(keyName, true, propertyDidChange);\n    }\n  }\n\n  function overrideChains(obj, keyName, meta) {\n    var chainWatchers = meta.readableChainWatchers();\n    if (chainWatchers) {\n      chainWatchers.revalidate(keyName);\n    }\n  }\n\n  /**\n    @method beginPropertyChanges\n    @chainable\n    @private\n  */\n  function beginPropertyChanges() {\n    deferred++;\n  }\n\n  /**\n    @method endPropertyChanges\n    @private\n  */\n  function endPropertyChanges() {\n    deferred--;\n    if (deferred <= 0) {\n      beforeObserverSet.clear();\n      observerSet.flush();\n    }\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    @param [binding]\n    @private\n  */\n  function changeProperties(callback, binding) {\n    beginPropertyChanges();\n    try {\n      callback.call(binding);\n    } finally {\n      endPropertyChanges.call(binding);\n    }\n  }\n\n  function notifyBeforeObservers(obj, keyName, meta) {\n    if (meta && meta.isSourceDestroying()) {\n      return;\n    }\n\n    var eventName = keyName + ':before';\n    var listeners = undefined,\n        added = undefined;\n    if (deferred) {\n      listeners = beforeObserverSet.add(obj, keyName, eventName);\n      added = _emberMetalEvents.accumulateListeners(obj, eventName, listeners);\n      _emberMetalEvents.sendEvent(obj, eventName, [obj, keyName], added);\n    } else {\n      _emberMetalEvents.sendEvent(obj, eventName, [obj, keyName]);\n    }\n  }\n\n  function notifyObservers(obj, keyName, meta) {\n    if (meta && meta.isSourceDestroying()) {\n      return;\n    }\n\n    var eventName = keyName + ':change';\n    var listeners = undefined;\n    if (deferred) {\n      listeners = observerSet.add(obj, keyName, eventName);\n      _emberMetalEvents.accumulateListeners(obj, eventName, listeners);\n    } else {\n      _emberMetalEvents.sendEvent(obj, eventName, [obj, keyName]);\n    }\n  }\n\n  exports.propertyWillChange = propertyWillChange;\n  exports.propertyDidChange = propertyDidChange;\n  exports.overrideChains = overrideChains;\n  exports.beginPropertyChanges = beginPropertyChanges;\n  exports.endPropertyChanges = endPropertyChanges;\n  exports.changeProperties = changeProperties;\n});\nenifed('ember-metal/property_get', ['exports', 'ember-debug', 'ember-metal/path_cache'], function (exports, _emberDebug, _emberMetalPath_cache) {\n  /**\n  @module ember-metal\n  */\n\n  'use strict';\n\n  exports.get = get;\n  exports._getPath = _getPath;\n  exports.getWithDefault = getWithDefault;\n\n  var ALLOWABLE_TYPES = {\n    object: true,\n    function: true,\n    string: true\n  };\n\n  // ..........................................................\n  // GET AND SET\n  //\n  // If we are on a platform that supports accessors we can use those.\n  // Otherwise simulate accessors by looking up the property directly on the\n  // object.\n\n  /**\n    Gets the value of a property on an object. If the property is computed,\n    the function will be invoked. If the property is not defined but the\n    object implements the `unknownProperty` method then that will be invoked.\n  \n    ```javascript\n    Ember.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\n    @param {Object} obj The object to retrieve from.\n    @param {String} keyName The property key to retrieve\n    @return {Object} the property value or `null`.\n    @public\n  */\n\n  function get(obj, keyName) {\n    _emberDebug.assert('Get must be called with two arguments; an object and a property key', arguments.length === 2);\n    _emberDebug.assert('Cannot call get with \\'' + keyName + '\\' on an undefined object.', obj !== undefined && obj !== null);\n    _emberDebug.assert('The key provided to get must be a string, you passed ' + keyName, typeof keyName === 'string');\n    _emberDebug.assert('\\'this\\' in paths is not supported', !_emberMetalPath_cache.hasThis(keyName));\n    _emberDebug.assert('Cannot call `Ember.get` with an empty string', keyName !== '');\n\n    var value = obj[keyName];\n    var desc = value !== null && typeof value === 'object' && value.isDescriptor ? value : undefined;\n    var ret = undefined;\n\n    if (desc === undefined && _emberMetalPath_cache.isPath(keyName)) {\n      return _getPath(obj, keyName);\n    }\n\n    if (desc) {\n      return desc.get(obj, keyName);\n    } else {\n      ret = value;\n\n      if (ret === undefined && 'object' === typeof obj && !(keyName in obj) && 'function' === typeof obj.unknownProperty) {\n        return obj.unknownProperty(keyName);\n      }\n\n      return ret;\n    }\n  }\n\n  function _getPath(root, path) {\n    var obj = root;\n    var parts = path.split('.');\n\n    for (var i = 0; i < parts.length; i++) {\n      if (!isGettable(obj)) {\n        return undefined;\n      }\n\n      obj = get(obj, parts[i]);\n\n      if (obj && obj.isDestroyed) {\n        return undefined;\n      }\n    }\n\n    return obj;\n  }\n\n  function isGettable(obj) {\n    if (obj == null) {\n      return false;\n    }\n\n    return ALLOWABLE_TYPES[typeof obj];\n  }\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    Ember.getWithDefault(person, 'lastName', 'Doe');\n    ```\n  \n    @method getWithDefault\n    @for Ember\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  function getWithDefault(root, key, defaultValue) {\n    var value = get(root, key);\n\n    if (value === undefined) {\n      return defaultValue;\n    }\n    return value;\n  }\n\n  exports.default = get;\n});\nenifed('ember-metal/property_set', ['exports', 'ember-utils', 'ember-debug', 'ember-metal/property_get', 'ember-metal/property_events', 'ember-metal/path_cache', 'ember-metal/meta'], function (exports, _emberUtils, _emberDebug, _emberMetalProperty_get, _emberMetalProperty_events, _emberMetalPath_cache, _emberMetalMeta) {\n  'use strict';\n\n  exports.set = set;\n  exports.trySet = trySet;\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. If the\n    property is not defined but the object implements the `setUnknownProperty`\n    method then that will be invoked as well.\n  \n    ```javascript\n    Ember.set(obj, \"name\", value);\n    ```\n  \n    @method set\n    @for Ember\n    @param {Object} obj The object to modify.\n    @param {String} keyName The property key to set\n    @param {Object} value The value to set\n    @return {Object} the passed value.\n    @public\n  */\n\n  function set(obj, keyName, value, tolerant) {\n    _emberDebug.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    _emberDebug.assert('Cannot call set with \\'' + keyName + '\\' on an undefined object.', obj && typeof obj === 'object' || typeof obj === 'function');\n    _emberDebug.assert('The key provided to set must be a string, you passed ' + keyName, typeof keyName === 'string');\n    _emberDebug.assert('\\'this\\' in paths is not supported', !_emberMetalPath_cache.hasThis(keyName));\n    _emberDebug.assert('calling set on destroyed object: ' + _emberUtils.toString(obj) + '.' + keyName + ' = ' + _emberUtils.toString(value), !obj.isDestroyed);\n\n    if (_emberMetalPath_cache.isPath(keyName)) {\n      return setPath(obj, keyName, value, tolerant);\n    }\n\n    var meta = _emberMetalMeta.peekMeta(obj);\n    var possibleDesc = obj[keyName];\n\n    var desc = undefined,\n        currentValue = undefined;\n    if (possibleDesc !== null && typeof possibleDesc === 'object' && possibleDesc.isDescriptor) {\n      desc = possibleDesc;\n    } else {\n      currentValue = possibleDesc;\n    }\n\n    if (desc) {\n      /* computed property */\n      desc.set(obj, keyName, value);\n    } else if (obj.setUnknownProperty && currentValue === undefined && !(keyName in obj)) {\n      /* unknown property */\n      _emberDebug.assert('setUnknownProperty must be a function', typeof obj.setUnknownProperty === 'function');\n      obj.setUnknownProperty(keyName, value);\n    } else if (currentValue === value) {\n      /* no change */\n      return value;\n    } else {\n      _emberMetalProperty_events.propertyWillChange(obj, keyName);\n\n      if (true) {\n        setWithMandatorySetter(meta, obj, keyName, value);\n      } else {\n        obj[keyName] = value;\n      }\n\n      _emberMetalProperty_events.propertyDidChange(obj, keyName);\n    }\n\n    return value;\n  }\n\n  if (true) {\n    var setWithMandatorySetter = function (meta, obj, keyName, value) {\n      if (meta && meta.peekWatching(keyName) > 0) {\n        makeEnumerable(obj, keyName);\n        meta.writeValue(obj, keyName, value);\n      } else {\n        obj[keyName] = value;\n      }\n    };\n\n    var makeEnumerable = function (obj, key) {\n      var desc = Object.getOwnPropertyDescriptor(obj, key);\n\n      if (desc && desc.set && desc.set.isMandatorySetter) {\n        desc.enumerable = true;\n        Object.defineProperty(obj, key, desc);\n      }\n    };\n  }\n\n  function setPath(root, path, value, tolerant) {\n    // get the last part of the path\n    var keyName = path.slice(path.lastIndexOf('.') + 1);\n\n    // get the first part of the part\n    path = path === keyName ? keyName : path.slice(0, path.length - (keyName.length + 1));\n\n    // unless the path is this, look up the first part to\n    // get the root\n    if (path !== 'this') {\n      root = _emberMetalProperty_get._getPath(root, path);\n    }\n\n    if (!keyName || keyName.length === 0) {\n      throw new _emberDebug.Error('Property set failed: You passed an empty path');\n    }\n\n    if (!root) {\n      if (tolerant) {\n        return;\n      } else {\n        throw new _emberDebug.Error('Property set failed: object in path \"' + path + '\" could not be found or was destroyed.');\n      }\n    }\n\n    return set(root, keyName, value);\n  }\n\n  /**\n    Error-tolerant form of `Ember.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    @method trySet\n    @for Ember\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  function trySet(root, path, value) {\n    return set(root, path, value, true);\n  }\n});\nenifed(\"ember-metal/replace\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.default = replace;\n  var splice = Array.prototype.splice;\n\n  function replace(array, idx, amt, objects) {\n    var args = [].concat(objects);\n    var ret = [];\n    // https://code.google.com/p/chromium/issues/detail?id=56588\n    var size = 60000;\n    var start = idx;\n    var ends = amt;\n    var count = undefined,\n        chunk = undefined;\n\n    while (args.length) {\n      count = ends > size ? size : ends;\n      if (count <= 0) {\n        count = 0;\n      }\n\n      chunk = args.splice(0, size);\n      chunk = [start, count].concat(chunk);\n\n      start += size;\n      ends -= count;\n\n      ret = ret.concat(splice.apply(array, chunk));\n    }\n    return ret;\n  }\n});\nenifed('ember-metal/run_loop', ['exports', 'ember-utils', 'ember-debug', 'ember-metal/error_handler', 'ember-metal/property_events', 'backburner'], function (exports, _emberUtils, _emberDebug, _emberMetalError_handler, _emberMetalProperty_events, _backburner) {\n  'use strict';\n\n  exports.default = run;\n\n  function onBegin(current) {\n    run.currentRunLoop = current;\n  }\n\n  function onEnd(current, next) {\n    run.currentRunLoop = next;\n  }\n\n  var onErrorTarget = {\n    get onerror() {\n      return _emberMetalError_handler.dispatchError;\n    },\n    set onerror(handler) {\n      return _emberMetalError_handler.setOnerror(handler);\n    }\n  };\n\n  var backburner = new _backburner.default(['sync', 'actions', 'destroy'], {\n    GUID_KEY: _emberUtils.GUID_KEY,\n    sync: {\n      before: _emberMetalProperty_events.beginPropertyChanges,\n      after: _emberMetalProperty_events.endPropertyChanges\n    },\n    defaultQueue: 'actions',\n    onBegin: onBegin,\n    onEnd: onEnd,\n    onErrorTarget: onErrorTarget,\n    onErrorMethod: 'onerror'\n  });\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    run(function() {\n      // code to be executed within a RunLoop\n    });\n    ```\n  \n    @class run\n    @namespace Ember\n    @static\n    @constructor\n    @param {Object} [target] target of method to call\n    @param {Function|String} method Method to invoke.\n      May be a function or a string. If you pass a string\n      then it will be looked up on the passed target.\n    @param {Object} [args*] Any additional arguments you wish to pass to the method.\n    @return {Object} return value from invoking the passed function.\n    @public\n  */\n\n  function run() {\n    return backburner.run.apply(backburner, arguments);\n  }\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    run.join(function() {\n      // creates a new run-loop\n    });\n    ```\n  \n    Alternatively, if called within an existing run loop:\n  \n    ```javascript\n    run(function() {\n      // creates a new run-loop\n      run.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    @namespace Ember\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  run.join = function () {\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    `run.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    ```javascript\n    App.RichTextEditorComponent = Ember.Component.extend({\n      initializeTinyMCE: Ember.on('didInsertElement', function() {\n        tinymce.init({\n          selector: '#' + this.$().prop('id'),\n          setup: Ember.run.bind(this, this.setupEditor)\n        });\n      }),\n  \n      setupEditor: function(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 Ember.run.bind to bind the setupEditor method to the\n    context of the App.RichTextEditorComponent and to have the invocation of that\n    method be safely handled and executed by the Ember run loop.\n  \n    @method bind\n    @namespace Ember\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  run.bind = function () {\n    for (var _len = arguments.length, curried = Array(_len), _key = 0; _key < _len; _key++) {\n      curried[_key] = arguments[_key];\n    }\n\n    return function () {\n      for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n        args[_key2] = arguments[_key2];\n      }\n\n      return run.join.apply(run, curried.concat(args));\n    };\n  };\n\n  run.backburner = backburner;\n  run.currentRunLoop = null;\n  run.queues = backburner.queueNames;\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 `run.end()`. This is\n    a lower-level way to use a RunLoop instead of using `run()`.\n  \n    ```javascript\n    run.begin();\n    // code to be executed within a RunLoop\n    run.end();\n    ```\n  \n    @method begin\n    @return {void}\n    @public\n  */\n  run.begin = function () {\n    backburner.begin();\n  };\n\n  /**\n    Ends a RunLoop. This must be called sometime after you call\n    `run.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    run.begin();\n    // code to be executed within a RunLoop\n    run.end();\n    ```\n  \n    @method end\n    @return {void}\n    @public\n  */\n  run.end = function () {\n    backburner.end();\n  };\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 ['sync', 'actions', 'destroy']\n    @private\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 `run.queues` property.\n  \n    ```javascript\n    run.schedule('sync', this, function() {\n      // this will be executed in the first RunLoop queue, when bindings are synced\n      console.log('scheduled on sync queue');\n    });\n  \n    run.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    @param {String} queue The name of the queue to schedule against.\n      Default queues are 'sync' and '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 cancelling, see `run.cancel`.\n    @public\n  */\n  run.schedule = function () /* queue, target, method */{\n    _emberDebug.assert('You have turned on testing mode, which disabled the run-loop\\'s autorun. ' + 'You will need to wrap any code with asynchronous side-effects in a run', run.currentRunLoop || !_emberDebug.isTesting());\n\n    return backburner.schedule.apply(backburner, arguments);\n  };\n\n  // Used by global test teardown\n  run.hasScheduledTimers = function () {\n    return backburner.hasTimers();\n  };\n\n  // Used by global test teardown\n  run.cancelTimers = function () {\n    backburner.cancelTimers();\n  };\n\n  /**\n    Immediately flushes any events scheduled in the 'sync' queue. Bindings\n    use this queue so this method is a useful way to immediately force all\n    bindings in the application to sync.\n  \n    You should call this method anytime you need any changed state to propagate\n    throughout the app immediately without repainting the UI (which happens\n    in the later 'render' queue added by the `ember-views` package).\n  \n    ```javascript\n    run.sync();\n    ```\n  \n    @method sync\n    @return {void}\n    @private\n  */\n  run.sync = function () {\n    if (backburner.currentInstance) {\n      backburner.currentInstance.queues.sync.flush();\n    }\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    run.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    @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 cancelling, see `run.cancel`.\n    @public\n  */\n  run.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    @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 cancelling, see `run.cancel`.\n    @public\n  */\n  run.once = function () {\n    _emberDebug.assert('You have turned on testing mode, which disabled the run-loop\\'s autorun. ' + 'You will need to wrap any code with asynchronous side-effects in a run', run.currentRunLoop || !_emberDebug.isTesting());\n\n    for (var _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    function sayHi() {\n      console.log('hi');\n    }\n  \n    run(function() {\n      run.scheduleOnce('afterRender', myContext, sayHi);\n      run.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 passing an anonymous function to `run.scheduleOnce` will\n    not prevent additional calls with an identical anonymous function from\n    scheduling the items multiple times, e.g.:\n  \n    ```javascript\n    function scheduleIt() {\n      run.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 `run.scheduleOnce`,\n    // because the function we pass to it is anonymous and won't match the\n    // previously scheduled operation.\n    ```\n  \n    Available queues, and their order, can be found at `run.queues`\n  \n    @method scheduleOnce\n    @param {String} [queue] The name of the queue to schedule against. Default queues are 'sync' and '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 cancelling, see `run.cancel`.\n    @public\n  */\n  run.scheduleOnce = function () /*queue, target, method*/{\n    _emberDebug.assert('You have turned on testing mode, which disabled the run-loop\\'s autorun. ' + 'You will need to wrap any code with asynchronous side-effects in a run', run.currentRunLoop || !_emberDebug.isTesting());\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    `run.later` with a wait time of 1ms.\n  \n    ```javascript\n    run.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 `run.next` will coalesce\n    into the same later run loop, along with any other operations\n    scheduled by `run.later` that expire right around the same\n    time that `run.next` operations will fire.\n  \n    Note that there are often alternatives to using `run.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    ```javascript\n    export default Ember.Component.extend({\n      didInsertElement() {\n        this._super(...arguments);\n        run.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 `run.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 `run.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 `run.next`.\n  \n    @method next\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 cancelling, see `run.cancel`.\n    @public\n  */\n  run.next = function () {\n    for (var _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 `run.later()`,\n    `run.once()`, `run.scheduleOnce()`, `run.next()`, `run.debounce()`, or\n    `run.throttle()`.\n  \n    ```javascript\n    let runNext = run.next(myContext, function() {\n      // will not be executed\n    });\n  \n    run.cancel(runNext);\n  \n    let runLater = run.later(myContext, function() {\n      // will not be executed\n    }, 500);\n  \n    run.cancel(runLater);\n  \n    let runScheduleOnce = run.scheduleOnce('afterRender', myContext, function() {\n      // will not be executed\n    });\n  \n    run.cancel(runScheduleOnce);\n  \n    let runOnce = run.once(myContext, function() {\n      // will not be executed\n    });\n  \n    run.cancel(runOnce);\n  \n    let throttle = run.throttle(myContext, function() {\n      // will not be executed\n    }, 1, false);\n  \n    run.cancel(throttle);\n  \n    let debounce = run.debounce(myContext, function() {\n      // will not be executed\n    }, 1);\n  \n    run.cancel(debounce);\n  \n    let debounceImmediate = run.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 cancelled\n    run.cancel(debounceImmediate);\n    ```\n  \n    @method cancel\n    @param {Object} timer Timer object to cancel\n    @return {Boolean} true if cancelled or false/undefined if it wasn't found\n    @public\n  */\n  run.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    function whoRan() {\n      console.log(this.name + ' ran.');\n    }\n  \n    let myContext = { name: 'debounce' };\n  \n    run.debounce(myContext, whoRan, 150);\n  \n    // less than 150ms passes\n    run.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    function whoRan() {\n      console.log(this.name + ' ran.');\n    }\n  \n    let myContext = { name: 'debounce' };\n  \n    run.debounce(myContext, whoRan, 150, true);\n  \n    // console logs 'debounce ran.' one time immediately.\n    // 100ms passes\n    run.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    run.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  \n    @method debounce\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 cancelling, see `run.cancel`.\n    @public\n  */\n  run.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    function whoRan() {\n      console.log(this.name + ' ran.');\n    }\n  \n    let myContext = { name: 'throttle' };\n  \n    run.throttle(myContext, whoRan, 150);\n    // whoRan is invoked with context myContext\n    // console logs 'throttle ran.'\n  \n    // 50ms passes\n    run.throttle(myContext, whoRan, 150);\n  \n    // 50ms passes\n    run.throttle(myContext, whoRan, 150);\n  \n    // 150ms passes\n    run.throttle(myContext, whoRan, 150);\n    // whoRan is invoked with context myContext\n    // console logs 'throttle ran.'\n    ```\n  \n    @method throttle\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 cancelling, see `run.cancel`.\n    @public\n  */\n  run.throttle = function () {\n    return backburner.throttle.apply(backburner, arguments);\n  };\n\n  /**\n    Add a new named queue after the specified queue.\n  \n    The queue to add will only be added once.\n  \n    @method _addQueue\n    @param {String} name the name of the queue to add.\n    @param {String} after the name of the queue to add after.\n    @private\n  */\n  run._addQueue = function (name, after) {\n    if (run.queues.indexOf(name) === -1) {\n      run.queues.splice(run.queues.indexOf(after) + 1, 0, name);\n    }\n  };\n});\nenifed('ember-metal/set_properties', ['exports', 'ember-metal/property_events', 'ember-metal/property_set'], function (exports, _emberMetalProperty_events, _emberMetalProperty_set) {\n  'use strict';\n\n  exports.default = setProperties;\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    let anObject = Ember.Object.create();\n  \n    anObject.setProperties({\n      firstName: 'Stanley',\n      lastName: 'Stuart',\n      age: 21\n    });\n    ```\n  \n    @method setProperties\n    @param obj\n    @param {Object} properties\n    @return properties\n    @public\n  */\n\n  function setProperties(obj, properties) {\n    if (!properties || typeof properties !== 'object') {\n      return properties;\n    }\n    _emberMetalProperty_events.changeProperties(function () {\n      var props = Object.keys(properties);\n      var propertyName = undefined;\n\n      for (var i = 0; i < props.length; i++) {\n        propertyName = props[i];\n\n        _emberMetalProperty_set.set(obj, propertyName, properties[propertyName]);\n      }\n    });\n    return properties;\n  }\n});\nenifed('ember-metal/tags', ['exports', '@glimmer/reference', 'ember-metal/meta', 'require', 'ember-metal/is_proxy'], function (exports, _glimmerReference, _emberMetalMeta, _require, _emberMetalIs_proxy) {\n  'use strict';\n\n  exports.setHasViews = setHasViews;\n  exports.tagForProperty = tagForProperty;\n  exports.tagFor = tagFor;\n  exports.markObjectAsDirty = markObjectAsDirty;\n\n  var hasViews = function () {\n    return false;\n  };\n\n  function setHasViews(fn) {\n    hasViews = fn;\n  }\n\n  function makeTag() {\n    return new _glimmerReference.DirtyableTag();\n  }\n\n  function tagForProperty(object, propertyKey, _meta) {\n    if (_emberMetalIs_proxy.isProxy(object)) {\n      return tagFor(object, _meta);\n    }\n\n    if (typeof object === 'object' && object) {\n      var meta = _meta || _emberMetalMeta.meta(object);\n      var tags = meta.writableTags();\n      var tag = tags[propertyKey];\n      if (tag) {\n        return tag;\n      }\n\n      return tags[propertyKey] = makeTag();\n    } else {\n      return _glimmerReference.CONSTANT_TAG;\n    }\n  }\n\n  function tagFor(object, _meta) {\n    if (typeof object === 'object' && object) {\n      var meta = _meta || _emberMetalMeta.meta(object);\n      return meta.writableTag(makeTag);\n    } else {\n      return _glimmerReference.CONSTANT_TAG;\n    }\n  }\n\n  function markObjectAsDirty(meta, propertyKey) {\n    var objectTag = meta && meta.readableTag();\n\n    if (objectTag) {\n      objectTag.dirty();\n    }\n\n    var tags = meta && meta.readableTags();\n    var propertyTag = tags && tags[propertyKey];\n\n    if (propertyTag) {\n      propertyTag.dirty();\n    }\n\n    if (objectTag || propertyTag) {\n      ensureRunloop();\n    }\n  }\n\n  var run = undefined;\n\n  function K() {}\n\n  function ensureRunloop() {\n    if (!run) {\n      run = _require.default('ember-metal/run_loop').default;\n    }\n\n    if (hasViews() && !run.backburner.currentInstance) {\n      run.schedule('actions', K);\n    }\n  }\n});\nenifed('ember-metal/transaction', ['exports', 'ember-metal/meta', 'ember-debug'], function (exports, _emberMetalMeta, _emberDebug) {\n  'use strict';\n\n  var runInTransaction = undefined,\n      didRender = undefined,\n      assertNotRendered = undefined;\n\n  // detect-backtracking-rerender by default is debug build only\n  // detect-glimmer-allow-backtracking-rerender can be enabled in custom builds\n  if (true || false) {\n    (function () {\n      var counter = 0;\n      var inTransaction = false;\n      var shouldReflush = undefined;\n      var debugStack = undefined;\n\n      exports.default = runInTransaction = function (context, methodName) {\n        shouldReflush = false;\n        inTransaction = true;\n        _emberDebug.runInDebug(function () {\n          debugStack = context.env.debugStack;\n        });\n        context[methodName]();\n        inTransaction = false;\n        counter++;\n        return shouldReflush;\n      };\n\n      exports.didRender = didRender = function (object, key, reference) {\n        if (!inTransaction) {\n          return;\n        }\n        var meta = _emberMetalMeta.meta(object);\n        var lastRendered = meta.writableLastRendered();\n        lastRendered[key] = counter;\n\n        _emberDebug.runInDebug(function () {\n          var referenceMap = meta.writableLastRenderedReferenceMap();\n          referenceMap[key] = reference;\n\n          var templateMap = meta.writableLastRenderedTemplateMap();\n          if (templateMap[key] === undefined) {\n            templateMap[key] = debugStack.peek();\n          }\n        });\n      };\n\n      exports.assertNotRendered = assertNotRendered = function (object, key, _meta) {\n        var meta = _meta || _emberMetalMeta.meta(object);\n        var lastRendered = meta.readableLastRendered();\n\n        if (lastRendered && lastRendered[key] === counter) {\n          _emberDebug.runInDebug(function () {\n            var templateMap = meta.readableLastRenderedTemplateMap();\n            var lastRenderedIn = templateMap[key];\n            var currentlyIn = debugStack.peek();\n\n            var referenceMap = meta.readableLastRenderedReferenceMap();\n            var lastRef = referenceMap[key];\n            var parts = [];\n            var label = undefined;\n\n            if (lastRef) {\n              while (lastRef && lastRef._propertyKey) {\n                parts.unshift(lastRef._propertyKey);\n                lastRef = lastRef._parentReference;\n              }\n\n              label = parts.join('.');\n            } else {\n              label = 'the same value';\n            }\n\n            var message = 'You modified \"' + label + '\" twice on ' + object + ' in a single render. It was rendered in ' + lastRenderedIn + ' and modified in ' + currentlyIn + '. This was unreliable and slow in Ember 1.x and';\n\n            if (false) {\n              _emberDebug.deprecate(message + ' will be removed in Ember 3.0.', false, { id: 'ember-views.render-double-modify', until: '3.0.0' });\n            } else {\n              _emberDebug.assert(message + ' is no longer supported. See https://github.com/emberjs/ember.js/issues/13948 for more details.', false);\n            }\n          });\n\n          shouldReflush = true;\n        }\n      };\n    })();\n  } else {\n    // in production do nothing to detect reflushes\n    exports.default = runInTransaction = function (context, methodName) {\n      context[methodName]();\n      return false;\n    };\n  }\n\n  exports.default = runInTransaction;\n  exports.didRender = didRender;\n  exports.assertNotRendered = assertNotRendered;\n});\nenifed('ember-metal/watch_key', ['exports', 'ember-utils', 'ember-debug', 'ember-metal/meta', 'ember-metal/properties'], function (exports, _emberUtils, _emberDebug, _emberMetalMeta, _emberMetalProperties) {\n  'use strict';\n\n  exports.watchKey = watchKey;\n  exports.unwatchKey = unwatchKey;\n\n  var handleMandatorySetter = undefined;\n\n  function watchKey(obj, keyName, meta) {\n    if (typeof obj !== 'object' || obj === null) {\n      return;\n    }\n    var m = meta || _emberMetalMeta.meta(obj);\n\n    // activate watching first time\n    if (!m.peekWatching(keyName)) {\n      m.writeWatching(keyName, 1);\n\n      var possibleDesc = obj[keyName];\n      var desc = possibleDesc !== null && typeof possibleDesc === 'object' && possibleDesc.isDescriptor ? possibleDesc : undefined;\n      if (desc && desc.willWatch) {\n        desc.willWatch(obj, keyName);\n      }\n\n      if ('function' === typeof obj.willWatchProperty) {\n        obj.willWatchProperty(keyName);\n      }\n\n      if (true) {\n        // NOTE: this is dropped for prod + minified builds\n        handleMandatorySetter(m, obj, keyName);\n      }\n    } else {\n      m.writeWatching(keyName, (m.peekWatching(keyName) || 0) + 1);\n    }\n  }\n\n  if (true) {\n    (function () {\n      var hasOwnProperty = function (obj, key) {\n        return Object.prototype.hasOwnProperty.call(obj, key);\n      };\n\n      var propertyIsEnumerable = function (obj, key) {\n        return Object.prototype.propertyIsEnumerable.call(obj, key);\n      };\n\n      // Future traveler, although this code looks scary. It merely exists in\n      // development to aid in development asertions. Production builds of\n      // ember strip this entire block out\n      handleMandatorySetter = function handleMandatorySetter(m, obj, keyName) {\n        var descriptor = _emberUtils.lookupDescriptor(obj, keyName);\n        var configurable = descriptor ? descriptor.configurable : true;\n        var isWritable = descriptor ? descriptor.writable : true;\n        var hasValue = descriptor ? 'value' in descriptor : true;\n        var possibleDesc = descriptor && descriptor.value;\n        var isDescriptor = possibleDesc !== null && typeof possibleDesc === 'object' && possibleDesc.isDescriptor;\n\n        if (isDescriptor) {\n          return;\n        }\n\n        // this x in Y deopts, so keeping it in this function is better;\n        if (configurable && isWritable && hasValue && keyName in obj) {\n          var desc = {\n            configurable: true,\n            set: _emberMetalProperties.MANDATORY_SETTER_FUNCTION(keyName),\n            enumerable: propertyIsEnumerable(obj, keyName),\n            get: undefined\n          };\n\n          if (hasOwnProperty(obj, keyName)) {\n            m.writeValues(keyName, obj[keyName]);\n            desc.get = _emberMetalProperties.DEFAULT_GETTER_FUNCTION(keyName);\n          } else {\n            desc.get = _emberMetalProperties.INHERITING_GETTER_FUNCTION(keyName);\n          }\n\n          Object.defineProperty(obj, keyName, desc);\n        }\n      };\n    })();\n  }\n\n  function unwatchKey(obj, keyName, _meta) {\n    if (typeof obj !== 'object' || obj === null) {\n      return;\n    }\n    var meta = _meta || _emberMetalMeta.meta(obj);\n\n    // do nothing of this object has already been destroyed\n    if (meta.isSourceDestroyed()) {\n      return;\n    }\n\n    var count = meta.peekWatching(keyName);\n    if (count === 1) {\n      meta.writeWatching(keyName, 0);\n\n      var possibleDesc = obj[keyName];\n      var desc = possibleDesc !== null && typeof possibleDesc === 'object' && possibleDesc.isDescriptor ? possibleDesc : undefined;\n\n      if (desc && desc.didUnwatch) {\n        desc.didUnwatch(obj, keyName);\n      }\n\n      if ('function' === typeof obj.didUnwatchProperty) {\n        obj.didUnwatchProperty(keyName);\n      }\n\n      if (true) {\n        // It is true, the following code looks quite WAT. But have no fear, It\n        // exists purely to improve development ergonomics and is removed from\n        // ember.min.js and ember.prod.js builds.\n        //\n        // Some further context: Once a property is watched by ember, bypassing `set`\n        // for mutation, will bypass observation. This code exists to assert when\n        // that occurs, and attempt to provide more helpful feedback. The alternative\n        // is tricky to debug partially observable properties.\n        if (!desc && keyName in obj) {\n          var maybeMandatoryDescriptor = _emberUtils.lookupDescriptor(obj, keyName);\n\n          if (maybeMandatoryDescriptor.set && maybeMandatoryDescriptor.set.isMandatorySetter) {\n            if (maybeMandatoryDescriptor.get && maybeMandatoryDescriptor.get.isInheritingGetter) {\n              var possibleValue = meta.readInheritedValue('values', keyName);\n              if (possibleValue === _emberMetalMeta.UNDEFINED) {\n                delete obj[keyName];\n                return;\n              }\n            }\n\n            Object.defineProperty(obj, keyName, {\n              configurable: true,\n              enumerable: Object.prototype.propertyIsEnumerable.call(obj, keyName),\n              writable: true,\n              value: meta.peekValues(keyName)\n            });\n            meta.deleteFromValues(keyName);\n          }\n        }\n      }\n    } else if (count > 1) {\n      meta.writeWatching(keyName, count - 1);\n    }\n  }\n});\nenifed('ember-metal/watch_path', ['exports', 'ember-metal/meta', 'ember-metal/chains'], function (exports, _emberMetalMeta, _emberMetalChains) {\n  'use strict';\n\n  exports.makeChainNode = makeChainNode;\n  exports.watchPath = watchPath;\n  exports.unwatchPath = unwatchPath;\n\n  // get the chains for the current object. If the current object has\n  // chains inherited from the proto they will be cloned and reconfigured for\n  // the current object.\n  function chainsFor(obj, meta) {\n    return (meta || _emberMetalMeta.meta(obj)).writableChains(makeChainNode);\n  }\n\n  function makeChainNode(obj) {\n    return new _emberMetalChains.ChainNode(null, null, obj);\n  }\n\n  function watchPath(obj, keyPath, meta) {\n    if (typeof obj !== 'object' || obj === null) {\n      return;\n    }\n    var m = meta || _emberMetalMeta.meta(obj);\n    var counter = m.peekWatching(keyPath) || 0;\n    if (!counter) {\n      // activate watching first time\n      m.writeWatching(keyPath, 1);\n      chainsFor(obj, m).add(keyPath);\n    } else {\n      m.writeWatching(keyPath, counter + 1);\n    }\n  }\n\n  function unwatchPath(obj, keyPath, meta) {\n    if (typeof obj !== 'object' || obj === null) {\n      return;\n    }\n    var m = meta || _emberMetalMeta.meta(obj);\n    var counter = m.peekWatching(keyPath) || 0;\n\n    if (counter === 1) {\n      m.writeWatching(keyPath, 0);\n      chainsFor(obj, m).remove(keyPath);\n    } else if (counter > 1) {\n      m.writeWatching(keyPath, counter - 1);\n    }\n  }\n});\nenifed('ember-metal/watching', ['exports', 'ember-metal/watch_key', 'ember-metal/watch_path', 'ember-metal/path_cache', 'ember-metal/meta'], function (exports, _emberMetalWatch_key, _emberMetalWatch_path, _emberMetalPath_cache, _emberMetalMeta) {\n  /**\n  @module ember-metal\n  */\n\n  'use strict';\n\n  exports.isWatching = isWatching;\n  exports.watcherCount = watcherCount;\n  exports.unwatch = unwatch;\n  exports.destroy = destroy;\n\n  /**\n    Starts watching a property on an object. Whenever the property changes,\n    invokes `Ember.propertyWillChange` and `Ember.propertyDidChange`. This is the\n    primitive used by observers and dependent keys; usually you will never call\n    this method directly but instead use higher level methods like\n    `Ember.addObserver()`\n  \n    @private\n    @method watch\n    @for Ember\n    @param obj\n    @param {String} _keyPath\n  */\n  function watch(obj, _keyPath, m) {\n    if (!_emberMetalPath_cache.isPath(_keyPath)) {\n      _emberMetalWatch_key.watchKey(obj, _keyPath, m);\n    } else {\n      _emberMetalWatch_path.watchPath(obj, _keyPath, m);\n    }\n  }\n\n  exports.watch = watch;\n\n  function isWatching(obj, key) {\n    if (typeof obj !== 'object' || obj === null) {\n      return false;\n    }\n    var meta = _emberMetalMeta.peekMeta(obj);\n    return (meta && meta.peekWatching(key)) > 0;\n  }\n\n  function watcherCount(obj, key) {\n    var meta = _emberMetalMeta.peekMeta(obj);\n    return meta && meta.peekWatching(key) || 0;\n  }\n\n  function unwatch(obj, _keyPath, m) {\n    if (!_emberMetalPath_cache.isPath(_keyPath)) {\n      _emberMetalWatch_key.unwatchKey(obj, _keyPath, m);\n    } else {\n      _emberMetalWatch_path.unwatchPath(obj, _keyPath, m);\n    }\n  }\n\n  /**\n    Tears down the meta on an object so that it can be garbage collected.\n    Multiple calls will have no effect.\n  \n    @method destroy\n    @for Ember\n    @param {Object} obj  the object to destroy\n    @return {void}\n    @private\n  */\n\n  function destroy(obj) {\n    _emberMetalMeta.deleteMeta(obj);\n  }\n});\nenifed('ember-metal/weak_map', ['exports', 'ember-utils', 'ember-metal/meta'], function (exports, _emberUtils, _emberMetalMeta) {\n  'use strict';\n\n  exports.default = WeakMap;\n\n  var id = 0;\n\n  // Returns whether Type(value) is Object according to the terminology in the spec\n  function isObject(value) {\n    return typeof value === 'object' && value !== null || typeof value === 'function';\n  }\n\n  /*\n   * @class Ember.WeakMap\n   * @public\n   * @category ember-metal-weakmap\n   *\n   * A partial polyfill for [WeakMap](http://www.ecma-international.org/ecma-262/6.0/#sec-weakmap-objects).\n   *\n   * There is a small but important caveat. This implementation assumes that the\n   * weak map will live longer (in the sense of garbage collection) than all of its\n   * keys, otherwise it is possible to leak the values stored in the weak map. In\n   * practice, most use cases satisfy this limitation which is why it is included\n   * in ember-metal.\n   */\n\n  function WeakMap(iterable) {\n    if (!(this instanceof WeakMap)) {\n      throw new TypeError('Constructor WeakMap requires \\'new\\'');\n    }\n\n    this._id = _emberUtils.GUID_KEY + id++;\n\n    if (iterable === null || iterable === undefined) {\n      return;\n    } else if (Array.isArray(iterable)) {\n      for (var i = 0; i < iterable.length; i++) {\n        var _iterable$i = iterable[i];\n        var key = _iterable$i[0];\n        var value = _iterable$i[1];\n\n        this.set(key, value);\n      }\n    } else {\n      throw new TypeError('The weak map constructor polyfill only supports an array argument');\n    }\n  }\n\n  /*\n   * @method get\n   * @param key {Object | Function}\n   * @return {Any} stored value\n   */\n  WeakMap.prototype.get = function (obj) {\n    if (!isObject(obj)) {\n      return undefined;\n    }\n\n    var meta = _emberMetalMeta.peekMeta(obj);\n    if (meta) {\n      var map = meta.readableWeak();\n      if (map) {\n        if (map[this._id] === _emberMetalMeta.UNDEFINED) {\n          return undefined;\n        }\n\n        return map[this._id];\n      }\n    }\n  };\n\n  /*\n   * @method set\n   * @param key {Object | Function}\n   * @param value {Any}\n   * @return {WeakMap} the weak map\n   */\n  WeakMap.prototype.set = function (obj, value) {\n    if (!isObject(obj)) {\n      throw new TypeError('Invalid value used as weak map key');\n    }\n\n    if (value === undefined) {\n      value = _emberMetalMeta.UNDEFINED;\n    }\n\n    _emberMetalMeta.meta(obj).writableWeak()[this._id] = value;\n\n    return this;\n  };\n\n  /*\n   * @method has\n   * @param key {Object | Function}\n   * @return {boolean} if the key exists\n   */\n  WeakMap.prototype.has = function (obj) {\n    if (!isObject(obj)) {\n      return false;\n    }\n\n    var meta = _emberMetalMeta.peekMeta(obj);\n    if (meta) {\n      var map = meta.readableWeak();\n      if (map) {\n        return map[this._id] !== undefined;\n      }\n    }\n\n    return false;\n  };\n\n  /*\n   * @method delete\n   * @param key {Object | Function}\n   * @return {boolean} if the key was deleted\n   */\n  WeakMap.prototype.delete = function (obj) {\n    if (this.has(obj)) {\n      delete _emberMetalMeta.meta(obj).writableWeak()[this._id];\n      return true;\n    } else {\n      return false;\n    }\n  };\n\n  /*\n   * @method toString\n   * @return {String}\n   */\n  WeakMap.prototype.toString = function () {\n    return '[object WeakMap]';\n  };\n});\nenifed('ember-routing/ext/controller', ['exports', 'ember-metal', 'ember-runtime', 'ember-routing/utils'], function (exports, _emberMetal, _emberRuntime, _emberRoutingUtils) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-routing\n  */\n\n  _emberRuntime.ControllerMixin.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 explicity 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      @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     `Ember.Controller.prototype._qpChanged`.\n      The methods backing each state can be found in the `Ember.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 heirarchy. Set in `Ember.Route.prototype._reset` (a `router.js` microlib hook) and\n       `Ember.Route.prototype.actions.finalizeQueryParamChange`.\n     * `active` - This state is used when this controller instance is part of the active\n       route heirarchy. Set in `Ember.Route.prototype.actions.finalizeQueryParamChange`.\n     * `allowOverrides` - This state is used in `Ember.Route.prototype.setup` (`route.js` microlib hook).\n       @method _qpDelegate\n      @private\n    */\n    _qpDelegate: null, // set by route\n\n    /**\n     During `Ember.Route#setup` observers are created to invoke this method\n     when any of the query params declared in `Ember.Controller#queryParams` property\n     are changed.\n       When invoked this method uses the currently active query param update delegate\n     (see `Ember.Controller.prototype._qpDelegate` for details) and invokes it with\n     the QP key/value being changed.\n       @method _qpChanged\n      @private\n    */\n    _qpChanged: function (controller, _prop) {\n      var prop = _prop.substr(0, _prop.length - 3);\n\n      var delegate = controller._qpDelegate;\n      var value = _emberMetal.get(controller, prop);\n      delegate(prop, value);\n    },\n\n    /**\n      Transition the application into another route. The route may\n      be either a single route or route path:\n       ```javascript\n      aController.transitionToRoute('blogPosts');\n      aController.transitionToRoute('blogPosts.recentEntries');\n      ```\n       Optionally supply a model for the route in question. The model\n      will be serialized into the URL using the `serialize` hook of\n      the route:\n       ```javascript\n      aController.transitionToRoute('blogPost', aPost);\n      ```\n       If a literal is passed (such as a number or a string), it will\n      be treated as an identifier instead. In this case, the `model`\n      hook of the route will be triggered:\n       ```javascript\n      aController.transitionToRoute('blogPost', 1);\n      ```\n       Multiple models will be applied last to first recursively up the\n      route tree.\n       ```javascript\n      App.Router.map(function() {\n        this.route('blogPost', { path: ':blogPostId' }, function() {\n          this.route('blogComment', { path: ':blogCommentId', resetNamespace: true });\n        });\n      });\n       aController.transitionToRoute('blogComment', aPost, aComment);\n      aController.transitionToRoute('blogComment', 1, 13);\n      ```\n       It is also possible to pass a URL (a string that starts with a\n      `/`). This is intended for testing and debugging purposes and\n      should rarely be used in production code.\n       ```javascript\n      aController.transitionToRoute('/');\n      aController.transitionToRoute('/blog/post/1/comment/13');\n      aController.transitionToRoute('/blog/posts?sort=title');\n      ```\n       An options hash with a `queryParams` property may be provided as\n      the final argument to add query parameters to the destination URL.\n       ```javascript\n      aController.transitionToRoute('blogPost', 1, {\n        queryParams: { showComments: 'true' }\n      });\n       // if you just want to transition the query parameters without changing the route\n      aController.transitionToRoute({ queryParams: { sort: 'date' } });\n      ```\n       See also [replaceRoute](/api/classes/Ember.ControllerMixin.html#method_replaceRoute).\n       @param {String} name the name of the route or a URL\n      @param {...Object} models the model(s) or identifier(s) to be used\n        while transitioning to the route.\n      @param {Object} [options] optional hash with a queryParams property\n        containing a mapping of query parameters\n      @for Ember.ControllerMixin\n      @method transitionToRoute\n      @public\n    */\n    transitionToRoute: function () {\n      // target may be either another controller or a router\n      var target = _emberMetal.get(this, 'target');\n      var method = target.transitionToRoute || target.transitionTo;\n\n      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      return method.apply(target, _emberRoutingUtils.prefixRouteNameArg(this, args));\n    },\n\n    /**\n      Transition into another route while replacing the current URL, if possible.\n      This will replace the current history entry instead of adding a new one.\n      Beside that, it is identical to `transitionToRoute` in all other respects.\n       ```javascript\n      aController.replaceRoute('blogPosts');\n      aController.replaceRoute('blogPosts.recentEntries');\n      ```\n       Optionally supply a model for the route in question. The model\n      will be serialized into the URL using the `serialize` hook of\n      the route:\n       ```javascript\n      aController.replaceRoute('blogPost', aPost);\n      ```\n       If a literal is passed (such as a number or a string), it will\n      be treated as an identifier instead. In this case, the `model`\n      hook of the route will be triggered:\n       ```javascript\n      aController.replaceRoute('blogPost', 1);\n      ```\n       Multiple models will be applied last to first recursively up the\n      route tree.\n       ```javascript\n      App.Router.map(function() {\n        this.route('blogPost', { path: ':blogPostId' }, function() {\n          this.route('blogComment', { path: ':blogCommentId', resetNamespace: true });\n        });\n      });\n       aController.replaceRoute('blogComment', aPost, aComment);\n      aController.replaceRoute('blogComment', 1, 13);\n      ```\n       It is also possible to pass a URL (a string that starts with a\n      `/`). This is intended for testing and debugging purposes and\n      should rarely be used in production code.\n       ```javascript\n      aController.replaceRoute('/');\n      aController.replaceRoute('/blog/post/1/comment/13');\n      ```\n       @param {String} name the name of the route or a URL\n      @param {...Object} models the model(s) or identifier(s) to be used\n      while transitioning to the route.\n      @for Ember.ControllerMixin\n      @method replaceRoute\n      @public\n    */\n    replaceRoute: function () {\n      // target may be either another controller or a router\n      var target = _emberMetal.get(this, 'target');\n      var method = target.replaceRoute || target.replaceWith;\n\n      for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n        args[_key2] = arguments[_key2];\n      }\n\n      return method.apply(target, _emberRoutingUtils.prefixRouteNameArg(target, args));\n    }\n  });\n\n  exports.default = _emberRuntime.ControllerMixin;\n});\nenifed('ember-routing/ext/run_loop', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-views\n  */\n\n  // Add a new named queue after the 'actions' queue (where RSVP promises\n  // resolve), which is used in router transitions to prevent unnecessary\n  // loading state entry if all context promises resolve on the\n  // 'actions' queue first.\n  _emberMetal.run._addQueue('routerTransitions', 'actions');\n});\nenifed('ember-routing/index', ['exports', 'ember-routing/ext/run_loop', 'ember-routing/ext/controller', 'ember-routing/location/api', 'ember-routing/location/none_location', 'ember-routing/location/hash_location', 'ember-routing/location/history_location', 'ember-routing/location/auto_location', 'ember-routing/system/generate_controller', 'ember-routing/system/controller_for', 'ember-routing/system/dsl', 'ember-routing/system/router', 'ember-routing/system/route', 'ember-routing/system/query_params', 'ember-routing/services/routing', 'ember-routing/services/router', 'ember-routing/system/cache'], function (exports, _emberRoutingExtRun_loop, _emberRoutingExtController, _emberRoutingLocationApi, _emberRoutingLocationNone_location, _emberRoutingLocationHash_location, _emberRoutingLocationHistory_location, _emberRoutingLocationAuto_location, _emberRoutingSystemGenerate_controller, _emberRoutingSystemController_for, _emberRoutingSystemDsl, _emberRoutingSystemRouter, _emberRoutingSystemRoute, _emberRoutingSystemQuery_params, _emberRoutingServicesRouting, _emberRoutingServicesRouter, _emberRoutingSystemCache) {\n  /**\n  @module ember\n  @submodule ember-routing\n  */\n\n  // ES6TODO: Cleanup modules with side-effects below\n  'use strict';\n\n  exports.Location = _emberRoutingLocationApi.default;\n  exports.NoneLocation = _emberRoutingLocationNone_location.default;\n  exports.HashLocation = _emberRoutingLocationHash_location.default;\n  exports.HistoryLocation = _emberRoutingLocationHistory_location.default;\n  exports.AutoLocation = _emberRoutingLocationAuto_location.default;\n  exports.generateController = _emberRoutingSystemGenerate_controller.default;\n  exports.generateControllerFactory = _emberRoutingSystemGenerate_controller.generateControllerFactory;\n  exports.controllerFor = _emberRoutingSystemController_for.default;\n  exports.RouterDSL = _emberRoutingSystemDsl.default;\n  exports.Router = _emberRoutingSystemRouter.default;\n  exports.Route = _emberRoutingSystemRoute.default;\n  exports.QueryParams = _emberRoutingSystemQuery_params.default;\n  exports.RoutingService = _emberRoutingServicesRouting.default;\n  exports.RouterService = _emberRoutingServicesRouter.default;\n  exports.BucketCache = _emberRoutingSystemCache.default;\n});\nenifed('ember-routing/location/api', ['exports', 'ember-debug', 'ember-environment', 'ember-routing/location/util'], function (exports, _emberDebug, _emberEnvironment, _emberRoutingLocationUtil) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-routing\n  */\n\n  /**\n    Ember.Location returns an instance of the correct implementation of\n    the `location` API.\n  \n    ## Implementations\n  \n    You can pass an implementation name (`hash`, `history`, `none`) to force a\n    particular implementation to be used in your application.\n  \n    ### HashLocation\n  \n    Using `HashLocation` results in URLs with a `#` (hash sign) separating the\n    server side URL portion of the URL from the portion that is used by Ember.\n    This relies upon the `hashchange` event existing in the browser.\n  \n    Example:\n  \n    ```javascript\n    App.Router.map(function() {\n      this.route('posts', function() {\n        this.route('new');\n      });\n    });\n  \n    App.Router.reopen({\n      location: 'hash'\n    });\n    ```\n  \n    This will result in a posts.new url of `/#/posts/new`.\n  \n    ### HistoryLocation\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    ```javascript\n    App.Router.map(function() {\n      this.route('posts', function() {\n        this.route('new');\n      });\n    });\n  \n    App.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    ### AutoLocation\n  \n    Using `AutoLocation`, the router will use the best Location class supported by\n    the browser it is running in.\n  \n    Browsers that support the `history` API will use `HistoryLocation`, those that\n    do not, but still support the `hashchange` event will use `HashLocation`, and\n    in the rare case neither is supported will use `NoneLocation`.\n  \n    Example:\n  \n    ```javascript\n    App.Router.map(function() {\n      this.route('posts', function() {\n        this.route('new');\n      });\n    });\n  \n    App.Router.reopen({\n      location: 'auto'\n    });\n    ```\n  \n    This will result in a posts.new url of `/posts/new` for modern browsers that\n    support the `history` api or `/#/posts/new` for older ones, like Internet\n    Explorer 9 and below.\n  \n    When a user visits a link to your application, they will be automatically\n    upgraded or downgraded to the appropriate `Location` class, with the URL\n    transformed accordingly, if needed.\n  \n    Keep in mind that since some of your users will use `HistoryLocation`, your\n    server must serve the Ember app at all the routes you define.\n  \n    ### NoneLocation\n  \n    Using `NoneLocation` causes Ember to not store the applications URL state\n    in the actual URL. This is generally used for testing purposes, and is one\n    of the changes made when calling `App.setupForTesting()`.\n  \n    ## Location API\n  \n    Each location implementation must provide the following methods:\n  \n    * implementation: returns the string name used to reference the implementation.\n    * getURL: returns the current URL.\n    * setURL(path): sets the current URL.\n    * replaceURL(path): replace the current URL (optional).\n    * onUpdateURL(callback): triggers the callback when the URL changes.\n    * formatURL(url): formats `url` to be placed into `href` attribute.\n    * detect() (optional): instructs the location to do any feature detection\n        necessary. If the location needs to redirect to a different URL, it\n        can cancel routing by setting the `cancelRouterSetup` property on itself\n        to `false`.\n  \n    Calling setURL or replaceURL will not trigger onUpdateURL callbacks.\n  \n    ## Custom implementation\n  \n    Ember scans `app/locations/*` for extending the Location API.\n  \n    Example:\n  \n    ```javascript\n    import Ember from 'ember';\n  \n    export default Ember.HistoryLocation.extend({\n      implementation: 'history-url-logging',\n  \n      pushState: function (path) {\n        console.log(path);\n        this._super.apply(this, arguments);\n      }\n    });\n    ```\n  \n    @class Location\n    @namespace Ember\n    @static\n    @private\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      _emberDebug.assert('Ember.Location.create: you must specify a \\'implementation\\' option', !!implementation);\n\n      var implementationClass = this.implementations[implementation];\n      _emberDebug.assert('Ember.Location.create: ' + implementation + ' is not a valid implementation', !!implementationClass);\n\n      return implementationClass.create.apply(implementationClass, arguments);\n    },\n\n    implementations: {},\n    _location: _emberEnvironment.environment.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 _emberRoutingLocationUtil.getHash(this.location);\n    }\n  };\n});\nenifed('ember-routing/location/auto_location', ['exports', 'ember-utils', 'ember-metal', 'ember-debug', 'ember-runtime', 'ember-environment', 'ember-routing/location/util'], function (exports, _emberUtils, _emberMetal, _emberDebug, _emberRuntime, _emberEnvironment, _emberRoutingLocationUtil) {\n  'use strict';\n\n  exports.getHistoryPath = getHistoryPath;\n  exports.getHashPath = getHashPath;\n\n  /**\n  @module ember\n  @submodule ember-routing\n  */\n\n  /**\n    Ember.AutoLocation will select the best location option based off browser\n    support with the priority order: history, hash, none.\n  \n    Clean pushState paths accessed by hashchange-only browsers will be redirected\n    to the hash-equivalent and vice versa so future transitions are consistent.\n  \n    Keep in mind that since some of your users will use `HistoryLocation`, your\n    server must serve the Ember app at all the routes you define.\n  \n    @class AutoLocation\n    @namespace Ember\n    @static\n    @private\n  */\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: _emberEnvironment.environment.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: _emberEnvironment.environment.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: _emberEnvironment.environment.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: _emberEnvironment.environment.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      _emberDebug.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        _emberMetal.set(this, 'cancelRouterSetup', true);\n        implementation = 'none';\n      }\n\n      var concrete = _emberUtils.getOwner(this).lookup('location:' + implementation);\n      _emberMetal.set(concrete, 'rootURL', rootURL);\n\n      _emberDebug.assert('Could not find location \\'' + implementation + '\\'.', !!concrete);\n\n      _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 = _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 = _emberMetal.get(this, 'concreteImplementation');\n      _emberDebug.assert('AutoLocation\\'s detect() method should be called before calling any other hooks.', !!concreteImplementation);\n\n      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      return _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    var userAgent = options.userAgent;\n    var history = options.history;\n    var documentMode = options.documentMode;\n    var global = options.global;\n    var rootURL = options.rootURL;\n\n    var implementation = 'none';\n    var cancelRouterSetup = false;\n    var currentPath = _emberRoutingLocationUtil.getFullPath(location);\n\n    if (_emberRoutingLocationUtil.supportsHistory(userAgent, history)) {\n      var 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      if (currentPath === historyPath) {\n        return 'history';\n      } else {\n        if (currentPath.substr(0, 2) === '/#') {\n          history.replaceState({ path: historyPath }, null, historyPath);\n          implementation = 'history';\n        } else {\n          cancelRouterSetup = true;\n          _emberRoutingLocationUtil.replacePath(location, historyPath);\n        }\n      }\n    } else if (_emberRoutingLocationUtil.supportsHashChange(documentMode, global)) {\n      var 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      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        _emberRoutingLocationUtil.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\n  function getHistoryPath(rootURL, location) {\n    var path = _emberRoutingLocationUtil.getPath(location);\n    var hash = _emberRoutingLocationUtil.getHash(location);\n    var query = _emberRoutingLocationUtil.getQuery(location);\n    var rootURLIndex = path.indexOf(rootURL);\n    var routeHash = undefined,\n        hashParts = undefined;\n\n    _emberDebug.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\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});\nenifed('ember-routing/location/hash_location', ['exports', 'ember-metal', 'ember-runtime', 'ember-routing/location/api'], function (exports, _emberMetal, _emberRuntime, _emberRoutingLocationApi) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-routing\n  */\n\n  /**\n    `Ember.HashLocation` implements the location API using the browser's\n    hash. At present, it relies on a `hashchange` event existing in the\n    browser.\n  \n    @class HashLocation\n    @namespace Ember\n    @extends Ember.Object\n    @private\n  */\n  exports.default = _emberRuntime.Object.extend({\n    implementation: 'hash',\n\n    init: function () {\n      _emberMetal.set(this, 'location', _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: _emberRoutingLocationApi.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      _emberMetal.get(this, 'location').hash = path;\n      _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      _emberMetal.get(this, 'location').replace('#' + path);\n      _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      var _this = this;\n\n      this._removeEventListener();\n\n      this._hashchangeHandler = function () {\n        _emberMetal.run(function () {\n          var path = _this.getURL();\n          if (_emberMetal.get(_this, 'lastSetURL') === path) {\n            return;\n          }\n\n          _emberMetal.set(_this, 'lastSetURL', null);\n\n          callback(path);\n        });\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\n    _removeEventListener: function () {\n      if (this._hashchangeHandler) {\n        window.removeEventListener('hashchange', this._hashchangeHandler);\n      }\n    }\n  });\n});\nenifed('ember-routing/location/history_location', ['exports', 'ember-metal', 'ember-debug', 'ember-runtime', 'ember-routing/location/api'], function (exports, _emberMetal, _emberDebug, _emberRuntime, _emberRoutingLocationApi) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-routing\n  */\n\n  var popstateFired = false;\n\n  var _uuid = undefined;\n\n  if (true) {\n    _uuid = 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  /**\n    Ember.HistoryLocation implements the location API using the browser's\n    history.pushState API.\n  \n    @class HistoryLocation\n    @namespace Ember\n    @extends Ember.Object\n    @private\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      _emberMetal.set(this, 'baseURL', baseURL);\n      _emberMetal.set(this, 'location', _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 = _emberMetal.get(this, 'history') || window.history;\n      _emberMetal.set(this, 'history', history);\n\n      if (history && 'state' in history) {\n        this.supportsHistory = true;\n      }\n\n      this.replaceState(this.formatURL(this.getURL()));\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 = _emberMetal.get(this, 'location');\n      var path = location.pathname;\n\n      var rootURL = _emberMetal.get(this, 'rootURL');\n      var baseURL = _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 _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 };\n      if (true) {\n        state.uuid = _uuid();\n      }\n\n      _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 };\n      if (true) {\n        state.uuid = _uuid();\n      }\n\n      _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 = _emberMetal.get(this, 'rootURL');\n      var baseURL = _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: _emberRoutingLocationApi.default._getHash,\n\n    _removeEventListener: function () {\n      if (this._popstateHandler) {\n        window.removeEventListener('popstate', this._popstateHandler);\n      }\n    }\n  });\n});\nenifed('ember-routing/location/none_location', ['exports', 'ember-metal', 'ember-debug', 'ember-runtime'], function (exports, _emberMetal, _emberDebug, _emberRuntime) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-routing\n  */\n\n  /**\n    Ember.NoneLocation does not interact with the browser. It is useful for\n    testing, or when you need to manage state with your Router, but temporarily\n    don't want it to muck with the URL (for example when you embed your\n    application in a larger page).\n  \n    @class NoneLocation\n    @namespace Ember\n    @extends Ember.Object\n    @private\n  */\n  exports.default = _emberRuntime.Object.extend({\n    implementation: 'none',\n    path: '',\n\n    detect: function () {\n      var rootURL = this.rootURL;\n\n      _emberDebug.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 = _emberMetal.get(this, 'path');\n      var rootURL = _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      _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 callback {Function}\n    */\n    handleURL: function (url) {\n      _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 = _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});\nenifed('ember-routing/location/util', ['exports'], function (exports) {\n  /**\n    @private\n  \n    Returns the current `location.pathname`, normalized for IE inconsistencies.\n  */\n  'use strict';\n\n  exports.getPath = getPath;\n  exports.getQuery = getQuery;\n  exports.getHash = getHash;\n  exports.getFullPath = getFullPath;\n  exports.getOrigin = getOrigin;\n  exports.supportsHashChange = supportsHashChange;\n  exports.supportsHistory = supportsHistory;\n  exports.replacePath = replacePath;\n\n  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\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\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 getFullPath(location) {\n    return getPath(location) + getQuery(location) + getHash(location);\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\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\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\n  /**\n    Replaces the current location, making sure we explicitly include the origin\n    to prevent redirecting to a different origin.\n  \n    @private\n  */\n\n  function replacePath(location, path) {\n    location.replace(getOrigin(location) + path);\n  }\n});\nenifed('ember-routing/services/router', ['exports', 'ember-runtime', 'ember-metal', 'ember-routing/system/dsl'], function (exports, _emberRuntime, _emberMetal, _emberRoutingSystemDsl) {\n  /**\n  @module ember\n  @submodule ember-routing\n  */\n\n  'use strict';\n\n  /**\n     The Router service is the public API that provides component/view layer\n     access to the router.\n  \n     @public\n     @class RouterService\n     @category ember-routing-router-service\n   */\n  var RouterService = _emberRuntime.Service.extend({\n    currentRouteName: _emberRuntime.readOnly('router.currentRouteName'),\n    currentURL: _emberRuntime.readOnly('router.currentURL'),\n    location: _emberRuntime.readOnly('router.location'),\n    rootURL: _emberRuntime.readOnly('router.rootURL'),\n\n    /**\n       Transition the application into another route. The route may\n       be either a single route or route path:\n        See [Route.transitionTo](http://emberjs.com/api/classes/Ember.Route.html#method_transitionTo) for more info.\n        @method transitionTo\n       @category ember-routing-router-service\n       @param {String} routeNameOrUrl the name of the route or a URL\n       @param {...Object} models the model(s) or identifier(s) to be used while\n         transitioning to the route.\n       @param {Object} [options] optional hash with a queryParams property\n         containing a mapping of query parameters\n       @return {Transition} the transition object associated with this\n         attempted transition\n       @public\n     */\n    transitionTo: function () /* routeNameOrUrl, ...models, options */{\n      var _router;\n\n      return (_router = this.router).transitionTo.apply(_router, arguments);\n    },\n\n    /**\n       Transition into another route while replacing the current URL, if possible.\n       The route may be either a single route or route path:\n        See [Route.replaceWith](http://emberjs.com/api/classes/Ember.Route.html#method_replaceWith) for more info.\n        @method replaceWith\n       @category ember-routing-router-service\n       @param {String} routeNameOrUrl the name of the route or a URL\n       @param {...Object} models the model(s) or identifier(s) to be used while\n         transitioning to the route.\n       @param {Object} [options] optional hash with a queryParams property\n         containing a mapping of query parameters\n       @return {Transition} the transition object associated with this\n         attempted transition\n       @public\n     */\n    replaceWith: function () /* routeNameOrUrl, ...models, options */{\n      var _router2;\n\n      return (_router2 = this.router).replaceWith.apply(_router2, arguments);\n    },\n\n    /**\n       Generate a URL based on the supplied route name.\n        @method urlFor\n       @param {String} routeName the name of the route\n       @param {...Object} models the model(s) or identifier(s) to be used while\n         transitioning to the route.\n       @param {Object} [options] optional hash with a queryParams property\n         containing a mapping of query parameters\n       @return {String} the string representing the generated URL\n       @public\n     */\n    urlFor: function () /* routeName, ...models, options */{\n      var _router3;\n\n      return (_router3 = this.router).generate.apply(_router3, arguments);\n    }\n  });\n\n  exports.default = RouterService;\n});\nenifed('ember-routing/services/routing', ['exports', 'ember-utils', 'ember-runtime', 'ember-metal', 'ember-routing/utils'], function (exports, _emberUtils, _emberRuntime, _emberMetal, _emberRoutingUtils) {\n  /**\n  @module ember\n  @submodule ember-routing\n  */\n\n  'use strict';\n\n  /**\n    The Routing service is used by LinkComponent, and provides facilities for\n    the component/view layer to interact with the router.\n  \n    While still private, this service can eventually be opened up, and provides\n    the set of API needed for components to control routing without interacting\n    with router internals.\n  \n    @private\n    @class RoutingService\n  */\n  exports.default = _emberRuntime.Service.extend({\n    router: null,\n\n    targetState: _emberRuntime.readOnly('router.targetState'),\n    currentState: _emberRuntime.readOnly('router.currentState'),\n    currentRouteName: _emberRuntime.readOnly('router.currentRouteName'),\n    currentPath: _emberRuntime.readOnly('router.currentPath'),\n\n    availableRoutes: function () {\n      return Object.keys(_emberMetal.get(this, 'router').router.recognizer.names);\n    },\n\n    hasRoute: function (routeName) {\n      return _emberMetal.get(this, 'router').hasRoute(routeName);\n    },\n\n    transitionTo: function (routeName, models, queryParams, shouldReplace) {\n      var router = _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\n    normalizeQueryParams: function (routeName, models, queryParams) {\n      var router = _emberMetal.get(this, 'router');\n      router._prepareQueryParams(routeName, models, queryParams);\n    },\n\n    generateURL: function (routeName, models, queryParams) {\n      var router = _emberMetal.get(this, 'router');\n      if (!router._routerMicrolib) {\n        return;\n      }\n\n      var visibleQueryParams = {};\n      _emberUtils.assign(visibleQueryParams, queryParams);\n\n      this.normalizeQueryParams(routeName, models, visibleQueryParams);\n\n      var args = _emberRoutingUtils.routeArgs(routeName, models, visibleQueryParams);\n      return router.generate.apply(router, args);\n    },\n\n    isActiveForRoute: function (contexts, queryParams, routeName, routerState, isCurrentWhenSpecified) {\n      var router = _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    for (var 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});\nenifed('ember-routing/system/cache', ['exports', 'ember-runtime'], function (exports, _emberRuntime) {\n  'use strict';\n\n  /**\n    A two-tiered cache with support for fallback values when doing lookups.\n    Uses \"buckets\" and then \"keys\" to cache values.\n  \n    @private\n    @class BucketCache\n  */\n  exports.default = _emberRuntime.Object.extend({\n    init: function () {\n      this.cache = Object.create(null);\n    },\n\n    has: function (bucketKey) {\n      return !!this.cache[bucketKey];\n    },\n\n    stash: function (bucketKey, key, value) {\n      var bucket = this.cache[bucketKey];\n\n      if (!bucket) {\n        bucket = this.cache[bucketKey] = Object.create(null);\n      }\n\n      bucket[key] = value;\n    },\n\n    lookup: function (bucketKey, prop, defaultValue) {\n      var cache = this.cache;\n      if (!this.has(bucketKey)) {\n        return defaultValue;\n      }\n\n      var bucket = cache[bucketKey];\n      if (prop in bucket && bucket[prop] !== undefined) {\n        return bucket[prop];\n      } else {\n        return defaultValue;\n      }\n    }\n  });\n});\nenifed(\"ember-routing/system/controller_for\", [\"exports\"], function (exports) {\n  /**\n  @module ember\n  @submodule ember-routing\n  */\n\n  /**\n    Finds a controller instance.\n  \n    @for Ember\n    @method controllerFor\n    @private\n  */\n  \"use strict\";\n\n  exports.default = controllerFor;\n\n  function controllerFor(container, controllerName, lookupOptions) {\n    return container.lookup(\"controller:\" + controllerName, lookupOptions);\n  }\n});\nenifed('ember-routing/system/dsl', ['exports', 'ember-utils', 'ember-debug'], function (exports, _emberUtils, _emberDebug) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-routing\n  */\n\n  var uuid = 0;\n\n  var DSL = (function () {\n    function DSL(name, options) {\n      babelHelpers.classCallCheck(this, DSL);\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 route(name, options, callback) {\n      if (options === undefined) options = {};\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      _emberDebug.assert('\\'' + name + '\\' cannot be used as a route name.', (function () {\n        if (options.overrideNameAssertion === true) {\n          return true;\n        }\n\n        return ['array', 'basic', 'object', 'application'].indexOf(name) === -1;\n      })());\n\n      if (this.enableLoadingSubstates) {\n        createRoute(this, name + '_loading', { resetNamespace: options.resetNamespace });\n        createRoute(this, name + '_error', { resetNamespace: options.resetNamespace, path: dummyErrorRoute });\n      }\n\n      if (callback) {\n        var fullName = getFullName(this, name, options.resetNamespace);\n        var dsl = new DSL(fullName, this.options);\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 push(url, name, callback, serialize) {\n      var parts = name.split('.');\n\n      if (this.options.engineInfo) {\n        var localFullName = name.slice(this.options.engineInfo.fullName.length + 1);\n        var routeInfo = _emberUtils.assign({ localFullName: localFullName }, this.options.engineInfo);\n\n        if (serialize) {\n          routeInfo.serializeMethod = serialize;\n        }\n\n        this.options.addRouteForEngine(name, routeInfo);\n      } else if (serialize) {\n        throw new Error('Defining a route serializer on route \\'' + name + '\\' outside an Engine is not allowed.');\n      }\n\n      if (url === '' || url === '/' || parts[parts.length - 1] === 'index') {\n        this.explicitIndex = true;\n      }\n\n      this.matches.push([url, name, callback]);\n    };\n\n    DSL.prototype.resource = function resource(name, options, callback) {\n      if (options === undefined) options = {};\n\n      if (arguments.length === 2 && typeof options === 'function') {\n        callback = options;\n        options = {};\n      }\n\n      options.resetNamespace = true;\n      _emberDebug.deprecate('this.resource() is deprecated. Use this.route(\\'name\\', { resetNamespace: true }, function () {}) instead.', false, { id: 'ember-routing.router-resource', until: '3.0.0' });\n      this.route(name, options, callback);\n    };\n\n    DSL.prototype.generate = function generate() {\n      var dslMatches = this.matches;\n\n      if (!this.explicitIndex) {\n        this.route('index', { path: '/' });\n      }\n\n      return function (match) {\n        for (var i = 0; i < dslMatches.length; i++) {\n          var dslMatch = dslMatches[i];\n          match(dslMatch[0]).to(dslMatch[1], dslMatch[2]);\n        }\n      };\n    };\n\n    DSL.prototype.mount = function mount(_name) {\n      var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\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 = undefined;\n      var dummyErrorRoute = '/_unused_dummy_error_path_route_' + name + '/:error';\n      if (engineRouteMap) {\n        var shouldResetEngineInfo = false;\n        var oldEngineInfo = this.options.engineInfo;\n        if (oldEngineInfo) {\n          shouldResetEngineInfo = true;\n          this.options.engineInfo = engineInfo;\n        }\n\n        var optionsForChild = _emberUtils.assign({ engineInfo: engineInfo }, this.options);\n        var childDSL = new DSL(fullName, optionsForChild);\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 localFullName = 'application';\n      var routeInfo = _emberUtils.assign({ localFullName: localFullName }, engineInfo);\n\n      if (this.enableLoadingSubstates) {\n        // These values are important to register the loading routes under their\n        // proper names for the Router and within the Engine's registry.\n        var substateName = name + '_loading';\n        var _localFullName = 'application_loading';\n        var _routeInfo = _emberUtils.assign({ localFullName: _localFullName }, engineInfo);\n        createRoute(this, substateName, { resetNamespace: options.resetNamespace });\n        this.options.addRouteForEngine(substateName, _routeInfo);\n\n        substateName = name + '_error';\n        _localFullName = 'application_error';\n        _routeInfo = _emberUtils.assign({ localFullName: _localFullName }, engineInfo);\n        createRoute(this, substateName, { resetNamespace: options.resetNamespace, path: dummyErrorRoute });\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 && dsl.parent !== 'application';\n  }\n\n  function getFullName(dsl, name, resetNamespace) {\n    if (canNest(dsl) && resetNamespace !== true) {\n      return dsl.parent + '.' + name;\n    } else {\n      return name;\n    }\n  }\n\n  function createRoute(dsl, name, options, callback) {\n    if (options === undefined) options = {};\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});\nenifed('ember-routing/system/generate_controller', ['exports', 'ember-metal', 'container', 'ember-debug'], function (exports, _emberMetal, _container, _emberDebug) {\n  'use strict';\n\n  exports.generateControllerFactory = generateControllerFactory;\n  exports.default = generateController;\n\n  /**\n  @module ember\n  @submodule ember-routing\n  */\n\n  /**\n    Generates a controller factory\n  \n    @for Ember\n    @method generateControllerFactory\n    @private\n  */\n\n  function generateControllerFactory(owner, controllerName, context) {\n    var Factory = owner[_container.FACTORY_FOR]('controller:basic').class;\n\n    Factory = Factory.extend({\n      toString: function () {\n        return '(generated ' + controllerName + ' controller)';\n      }\n    });\n\n    var fullName = 'controller:' + controllerName;\n\n    owner.register(fullName, Factory);\n\n    return Factory;\n  }\n\n  /**\n    Generates and instantiates a controller extending from `controller:basic`\n    if present, or `Ember.Controller` if not.\n  \n    @for Ember\n    @method generateController\n    @private\n    @since 1.3.0\n  */\n\n  function generateController(owner, controllerName) {\n    generateControllerFactory(owner, controllerName);\n\n    var fullName = 'controller:' + controllerName;\n    var instance = owner.lookup(fullName);\n\n    _emberDebug.runInDebug(function () {\n      if (_emberMetal.get(instance, 'namespace.LOG_ACTIVE_GENERATION')) {\n        _emberDebug.info('generated -> ' + fullName, { fullName: fullName });\n      }\n    });\n\n    return instance;\n  }\n});\nenifed('ember-routing/system/query_params', ['exports', 'ember-runtime'], function (exports, _emberRuntime) {\n  'use strict';\n\n  exports.default = _emberRuntime.Object.extend({\n    isQueryParams: true,\n    values: null\n  });\n});\nenifed('ember-routing/system/route', ['exports', 'ember-utils', 'ember-metal', 'ember-debug', 'ember-runtime', 'ember-routing/system/generate_controller', 'ember-routing/utils', 'container'], function (exports, _emberUtils, _emberMetal, _emberDebug, _emberRuntime, _emberRoutingSystemGenerate_controller, _emberRoutingUtils, _container) {\n  'use strict';\n\n  exports.defaultSerialize = defaultSerialize;\n  exports.hasDefaultSerialize = hasDefaultSerialize;\n  var slice = Array.prototype.slice;\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 name = params[0];\n    var object = {};\n\n    if (params.length === 1) {\n      if (name in model) {\n        object[name] = _emberMetal.get(model, name);\n      } else if (/_id$/.test(name)) {\n        object[name] = _emberMetal.get(model, 'id');\n      }\n    } else {\n      object = _emberMetal.getProperties(model, params);\n    }\n\n    return object;\n  }\n\n  var DEFAULT_SERIALIZE = _emberUtils.symbol('DEFAULT_SERIALIZE');\n\n  defaultSerialize[DEFAULT_SERIALIZE] = true;\n\n  function hasDefaultSerialize(route) {\n    return !!route.serialize[DEFAULT_SERIALIZE];\n  }\n\n  /**\n  @module ember\n  @submodule ember-routing\n  */\n\n  /**\n    The `Ember.Route` class is used to define individual routes. Refer to\n    the [routing guide](http://emberjs.com/guides/routing/) for documentation.\n  \n    @class Route\n    @namespace Ember\n    @extends Ember.Object\n    @uses Ember.ActionHandler\n    @uses Ember.Evented\n    @since 1.0.0\n    @public\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 Ember.Route\n      @type Object\n      @since 1.6.0\n      @public\n    */\n    queryParams: {},\n\n    /**\n      The name of the route, dot-delimited.\n       For example, a route found at `app/routes/posts/post.js` will have\n      a `routeName` of `posts.post`.\n       @property routeName\n      @for Ember.Route\n      @type String\n      @since 1.0.0\n      @public\n    */\n\n    /**\n      Sets the name for this route, including a fully resolved name for routes\n      inside engines.\n       @private\n      @method _setRouteName\n      @param {String} name\n    */\n    _setRouteName: function (name) {\n      this.routeName = name;\n      this.fullRouteName = getEngineRouteName(_emberUtils.getOwner(this), name);\n    },\n\n    /**\n      @private\n       @property _qp\n    */\n    _qp: _emberMetal.computed(function () {\n      var _this = this;\n\n      var controllerProto = undefined,\n          combinedQueryParameterConfiguration = undefined;\n\n      var controllerName = this.controllerName || this.routeName;\n      var owner = _emberUtils.getOwner(this);\n      var definedControllerClass = owner[_container.LOOKUP_FACTORY]('controller:' + controllerName);\n      var queryParameterConfiguraton = _emberMetal.get(this, 'queryParams');\n      var hasRouterDefinedQueryParams = !!Object.keys(queryParameterConfiguraton).length;\n\n      if (definedControllerClass) {\n        // the developer has authored a controller class in their application for this route\n        // access the prototype, find its query params and normalize their object shape\n        // them merge in the query params for the route. As a mergedProperty, Route#queryParams is always\n        // at least `{}`\n        controllerProto = definedControllerClass.proto();\n\n        var controllerDefinedQueryParameterConfiguration = _emberMetal.get(controllerProto, 'queryParams');\n        var normalizedControllerQueryParameterConfiguration = _emberRoutingUtils.normalizeControllerQueryParams(controllerDefinedQueryParameterConfiguration);\n        combinedQueryParameterConfiguration = mergeEachQueryParams(normalizedControllerQueryParameterConfiguration, queryParameterConfiguraton);\n      } else if (hasRouterDefinedQueryParams) {\n        // the developer has not defined a controller but *has* supplied route query params.\n        // Generate a class for them so we can later insert default values\n        var generatedControllerClass = _emberRoutingSystemGenerate_controller.generateControllerFactory(_emberUtils.getOwner(this), controllerName);\n        controllerProto = generatedControllerClass.proto();\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        var desc = combinedQueryParameterConfiguration[propName];\n        var scope = desc.scope || 'model';\n        var parts = undefined;\n\n        if (scope === 'controller') {\n          parts = [];\n        }\n\n        var urlKey = desc.as || this.serializeQueryParamKey(propName);\n        var defaultValue = _emberMetal.get(controllerProto, propName);\n\n        if (Array.isArray(defaultValue)) {\n          defaultValue = _emberRuntime.A(defaultValue.slice());\n        }\n\n        var type = desc.type || _emberRuntime.typeOf(defaultValue);\n\n        var defaultValueSerialized = this.serializeQueryParam(defaultValue, urlKey, type);\n        var scopedPropertyName = controllerName + ':' + propName;\n        var qp = {\n          undecoratedDefaultValue: _emberMetal.get(controllerProto, 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        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(map[prop], 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(map[prop]);\n          }\n        }\n      };\n    }),\n\n    /**\n      @private\n       @property _names\n    */\n    _names: null,\n\n    /**\n      @private\n       @method _stashNames\n    */\n    _stashNames: function (handlerInfo, dynamicParent) {\n      if (this._names) {\n        return;\n      }\n      var names = this._names = handlerInfo._names;\n\n      if (!names.length) {\n        handlerInfo = dynamicParent;\n        names = handlerInfo && handlerInfo._names || [];\n      }\n\n      var qps = _emberMetal.get(this, '_qp.qps');\n\n      var namePaths = new Array(names.length);\n      for (var a = 0; a < names.length; ++a) {\n        namePaths[a] = handlerInfo.name + '.' + names[a];\n      }\n\n      for (var i = 0; i < qps.length; ++i) {\n        var qp = qps[i];\n        if (qp.scope === 'model') {\n          qp.parts = namePaths;\n        }\n      }\n    },\n\n    /**\n      @private\n       @property _activeQPChanged\n    */\n    _activeQPChanged: function (qp, value) {\n      var router = this.router;\n      router._activeQPChanged(qp.scopedPropertyName, value);\n    },\n\n    /**\n      @private\n      @method _updatingQPChanged\n    */\n    _updatingQPChanged: function (qp) {\n      var router = this.router;\n      router._updatingQPChanged(qp.urlKey);\n    },\n\n    mergedProperties: ['queryParams'],\n\n    /**\n      Returns a hash containing the parameters of an ancestor route.\n       Example\n       ```app/router.js\n      // ...\n       Router.map(function() {\n        this.route('member', { path: ':name' }, function() {\n          this.route('interest', { path: ':interest' });\n        });\n      });\n      ```\n       ```app/routes/member.js\n      export default Ember.Route.extend({\n        queryParams: {\n          memberQp: { refreshModel: true }\n        }\n      });\n      ```\n       ```app/routes/member/interest.js\n      export default Ember.Route.extend({\n        queryParams: {\n          interestQp: { refreshModel: true }\n        },\n         model() {\n          return this.paramsFor('member');\n        }\n      });\n      ```\n       If we visit `/turing/maths?memberQp=member&interestQp=interest` the model for\n      the `member.interest` route is hash with:\n       * `name`: `turing`\n      * `memberQp`: `member`\n       @method paramsFor\n      @param {String} name\n      @return {Object} hash containing the parameters of the route `name`\n      @since 1.4.0\n      @public\n    */\n    paramsFor: function (name) {\n      var _this2 = this;\n\n      var route = _emberUtils.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 = _emberUtils.assign({}, state.params[fullName]);\n      var queryParams = getQueryParamsFor(route, state);\n\n      return Object.keys(queryParams).reduce(function (params, key) {\n        _emberDebug.assert('The route \\'' + _this2.routeName + '\\' has both a dynamic segment and query param with name \\'' + key + '\\'. Please rename one to avoid collisions.', !params[key]);\n        params[key] = queryParams[key];\n        return params;\n      }, params);\n    },\n\n    /**\n      Serializes the query parameter key\n       @method serializeQueryParamKey\n      @param {String} controllerPropertyName\n      @private\n    */\n    serializeQueryParamKey: function (controllerPropertyName) {\n      return controllerPropertyName;\n    },\n\n    /**\n      Serializes value of the query parameter based on defaultValueType\n       @method serializeQueryParam\n      @param {Object} value\n      @param {String} urlKey\n      @param {String} defaultValueType\n      @private\n    */\n    serializeQueryParam: 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\n    /**\n      Deserializes value of the query parameter based on defaultValueType\n       @method deserializeQueryParam\n      @param {Object} value\n      @param {String} urlKey\n      @param {String} defaultValueType\n      @private\n    */\n    deserializeQueryParam: 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\n    /**\n      @private\n       @property _optionsForQueryParam\n    */\n    _optionsForQueryParam: function (qp) {\n      return _emberMetal.get(this, 'queryParams.' + qp.urlKey) || _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 Ember from 'ember';\n       export default Ember.Route.extend({\n        resetController(controller, isExiting, transition) {\n          if (isExiting) {\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    /**\n      @private\n       @method exit\n    */\n    exit: function () {\n      this.deactivate();\n      this.trigger('deactivate');\n      this.teardownViews();\n    },\n\n    /**\n      @private\n       @method _reset\n      @since 1.7.0\n    */\n    _reset: function (isExiting, transition) {\n      var controller = this.controller;\n      controller._qpDelegate = _emberMetal.get(this, '_qp.states.inactive');\n\n      this.resetController(controller, isExiting, transition);\n    },\n\n    /**\n      @private\n       @method enter\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 Ember from 'ember';\n       export default Ember.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. `App.PostController` for `App.PostRoute`). 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 Ember from 'ember';\n       export default Ember.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 Ember from 'ember';\n       export default Ember.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      export default Ember.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 {Ember.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 Ember from 'ember';\n       export default Ember.Route.extend({\n        beforeModel() {\n          return Ember.RSVP.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 Ember from 'ember';\n       export default Ember.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 Ember from 'ember';\n       export default Ember.Route.extend({\n        collectAnalytics: Ember.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 Ember from 'ember';\n       export default Ember.Route.extend({\n        trackPageLeaveAnalytics: Ember.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 Ember from 'ember';\n       export default Ember.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 Ember.Controller\n      @since 1.6.0\n      @public\n    */\n\n    actions: {\n\n      /**\n        This action is called when one or more query params have changed. Bubbles.\n         @method queryParamsDidChange\n        @param changed {Object} Keys are names of query params that have changed.\n        @param totalPresent {Object} Keys are names of query params that are currently set.\n        @param removed {Object} Keys are names of query params that have been removed.\n        @returns {boolean}\n        @private\n       */\n      queryParamsDidChange: function (changed, totalPresent, removed) {\n        var qpMap = _emberMetal.get(this, '_qp').map;\n\n        var totalChanged = Object.keys(changed).concat(Object.keys(removed));\n        for (var i = 0; i < totalChanged.length; ++i) {\n          var qp = qpMap[totalChanged[i]];\n          if (qp && _emberMetal.get(this._optionsForQueryParam(qp), 'refreshModel') && this.router.currentState) {\n            this.refresh();\n            break;\n          }\n        }\n\n        return true;\n      },\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        var router = this.router;\n        var qpMeta = router._queryParamsFor(handlerInfos);\n        var changes = router._qpUpdates;\n        var replaceUrl = undefined;\n\n        _emberRoutingUtils.stashParamNames(router, handlerInfos);\n\n        for (var i = 0; i < qpMeta.qps.length; ++i) {\n          var qp = qpMeta.qps[i];\n          var route = qp.route;\n          var controller = route.controller;\n          var presentKey = qp.urlKey in params && qp.urlKey;\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          var value = undefined,\n              svalue = undefined;\n          if (changes && qp.urlKey in changes) {\n            // Value updated in/before setupController\n            value = _emberMetal.get(controller, qp.prop);\n            svalue = route.serializeQueryParam(value, qp.urlKey, qp.type);\n          } else {\n            if (presentKey) {\n              svalue = params[presentKey];\n              value = route.deserializeQueryParam(svalue, qp.urlKey, qp.type);\n            } else {\n              // No QP provided; use default value.\n              svalue = qp.serializedDefaultValue;\n              value = copyDefaultValue(qp.defaultValue);\n            }\n          }\n\n          controller._qpDelegate = _emberMetal.get(route, '_qp.states.inactive');\n\n          var thisQueryParamChanged = svalue !== qp.serializedValue;\n          if (thisQueryParamChanged) {\n            if (transition.queryParamsOnly && replaceUrl !== false) {\n              var options = route._optionsForQueryParam(qp);\n              var replaceConfigValue = _emberMetal.get(options, 'replace');\n              if (replaceConfigValue) {\n                replaceUrl = true;\n              } else if (replaceConfigValue === false) {\n                // Explicit pushState wins over any other replaceStates.\n                replaceUrl = false;\n              }\n            }\n\n            _emberMetal.set(controller, qp.prop, value);\n          }\n\n          // Stash current serialized value of controller.\n          qp.serializedValue = svalue;\n\n          var thisQueryParamHasDefaultValue = qp.serializedDefaultValue === svalue;\n          if (!thisQueryParamHasDefaultValue) {\n            finalParams.push({\n              value: svalue,\n              visible: true,\n              key: presentKey || qp.urlKey\n            });\n          }\n        }\n\n        if (replaceUrl) {\n          transition.method('replace');\n        }\n\n        qpMeta.qps.forEach(function (qp) {\n          var routeQpMeta = _emberMetal.get(qp.route, '_qp');\n          var finalizedController = qp.route.controller;\n          finalizedController._qpDelegate = _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    /**\n      Transition the application into another route. The route may\n      be either a single route or route path:\n       ```javascript\n      this.transitionTo('blogPosts');\n      this.transitionTo('blogPosts.recentEntries');\n      ```\n       Optionally supply a model for the route in question. The model\n      will be serialized into the URL using the `serialize` hook of\n      the route:\n       ```javascript\n      this.transitionTo('blogPost', aPost);\n      ```\n       If a literal is passed (such as a number or a string), it will\n      be treated as an identifier instead. In this case, the `model`\n      hook of the route will be triggered:\n       ```javascript\n      this.transitionTo('blogPost', 1);\n      ```\n       Multiple models will be applied last to first recursively up the\n      route tree.\n       ```app/routes.js\n      // ...\n       Router.map(function() {\n        this.route('blogPost', { path:':blogPostId' }, function() {\n          this.route('blogComment', { path: ':blogCommentId' });\n        });\n      });\n       export default Router;\n      ```\n       ```javascript\n      this.transitionTo('blogComment', aPost, aComment);\n      this.transitionTo('blogComment', 1, 13);\n      ```\n       It is also possible to pass a URL (a string that starts with a\n      `/`). This is intended for testing and debugging purposes and\n      should rarely be used in production code.\n       ```javascript\n      this.transitionTo('/');\n      this.transitionTo('/blog/post/1/comment/13');\n      this.transitionTo('/blog/posts?sort=title');\n      ```\n       An options hash with a `queryParams` property may be provided as\n      the final argument to add query parameters to the destination URL.\n       ```javascript\n      this.transitionTo('blogPost', 1, {\n        queryParams: { showComments: 'true' }\n      });\n       // if you just want to transition the query parameters without changing the route\n      this.transitionTo({ queryParams: { sort: 'date' } });\n      ```\n       See also [replaceWith](#method_replaceWith).\n       Simple Transition Example\n       ```app/routes.js\n      // ...\n       Router.map(function() {\n        this.route('index');\n        this.route('secret');\n        this.route('fourOhFour', { path: '*:' });\n      });\n       export default Router;\n      ```\n       ```app/routes/index.js\n      import Ember from 'ember':\n       export Ember.Route.extend({\n        actions: {\n          moveToSecret(context) {\n            if (authorized()) {\n              this.transitionTo('secret', context);\n            } else {\n              this.transitionTo('fourOhFour');\n            }\n          }\n        }\n      });\n      ```\n       Transition to a nested route\n       ```app/router.js\n      // ...\n       Router.map(function() {\n        this.route('articles', { path: '/articles' }, function() {\n          this.route('new');\n        });\n      });\n       export default Router;\n      ```\n       ```app/routes/index.js\n      import Ember from 'ember';\n       export default Ember.Route.extend({\n        actions: {\n          transitionToNewArticle() {\n            this.transitionTo('articles.new');\n          }\n        }\n      });\n      ```\n       Multiple Models Example\n       ```app/router.js\n      // ...\n       Router.map(function() {\n        this.route('index');\n         this.route('breakfast', { path: ':breakfastId' }, function() {\n          this.route('cereal', { path: ':cerealId' });\n        });\n      });\n       export default Router;\n      ```\n       ```app/routes/index.js\n      import Ember from 'ember';\n       export default Ember.Route.extend({\n        actions: {\n          moveToChocolateCereal() {\n            let cereal = { cerealId: 'ChocolateYumminess' };\n            let breakfast = { breakfastId: 'CerealAndMilk' };\n             this.transitionTo('breakfast.cereal', breakfast, cereal);\n          }\n        }\n      });\n      ```\n       Nested Route with Query String Example\n       ```app/routes.js\n      // ...\n       Router.map(function() {\n        this.route('fruits', function() {\n          this.route('apples');\n        });\n      });\n       export default Router;\n      ```\n       ```app/routes/index.js\n      import Ember from 'ember';\n       export default Ember.Route.extend({\n        actions: {\n          transitionToApples() {\n            this.transitionTo('fruits.apples', { queryParams: { color: 'red' } });\n          }\n        }\n      });\n      ```\n       @method transitionTo\n      @param {String} name the name of the route or a URL\n      @param {...Object} models the model(s) or identifier(s) to be used while\n        transitioning to the route.\n      @param {Object} [options] optional hash with a queryParams property\n        containing a mapping of query parameters\n      @return {Transition} the transition object associated with this\n        attempted transition\n      @since 1.0.0\n      @public\n    */\n    transitionTo: function (name, context) {\n      var router = this.router;\n      return router.transitionTo.apply(router, _emberRoutingUtils.prefixRouteNameArg(this, arguments));\n    },\n\n    /**\n      Perform a synchronous transition into another route without attempting\n      to resolve promises, update the URL, or abort any currently active\n      asynchronous transitions (i.e. regular transitions caused by\n      `transitionTo` or URL changes).\n       This method is handy for performing intermediate transitions on the\n      way to a final destination route, and is called internally by the\n      default implementations of the `error` and `loading` handlers.\n       @method intermediateTransitionTo\n      @param {String} name the name of the route\n      @param {...Object} models the model(s) to be used while transitioning\n      to the route.\n      @since 1.2.0\n      @public\n     */\n    intermediateTransitionTo: function () {\n      var router = this.router;\n      router.intermediateTransitionTo.apply(router, _emberRoutingUtils.prefixRouteNameArg(this, arguments));\n    },\n\n    /**\n      Refresh the model on this route and any child routes, firing the\n      `beforeModel`, `model`, and `afterModel` hooks in a similar fashion\n      to how routes are entered when transitioning in from other route.\n      The current route params (e.g. `article_id`) will be passed in\n      to the respective model hooks, and if a different model is returned,\n      `setupController` and associated route hooks will re-fire as well.\n       An example usage of this method is re-querying the server for the\n      latest information using the same parameters as when the route\n      was first entered.\n       Note that this will cause `model` hooks to fire even on routes\n      that were provided a model object when the route was initially\n      entered.\n       @method refresh\n      @return {Transition} the transition object associated with this\n        attempted transition\n      @since 1.4.0\n      @public\n     */\n    refresh: function () {\n      return this.router._routerMicrolib.refresh(this);\n    },\n\n    /**\n      Transition into another route while replacing the current URL, if possible.\n      This will replace the current history entry instead of adding a new one.\n      Beside that, it is identical to `transitionTo` in all other respects. See\n      'transitionTo' for additional information regarding multiple models.\n       Example\n       ```app/router.js\n      // ...\n       Router.map(function() {\n        this.route('index');\n        this.route('secret');\n      });\n       export default Router;\n      ```\n       ```app/routes/secret.js\n      import Ember from 'ember';\n       export default Ember.Route.extend({\n        afterModel() {\n          if (!authorized()){\n            this.replaceWith('index');\n          }\n        }\n      });\n      ```\n       @method replaceWith\n      @param {String} name the name of the route or a URL\n      @param {...Object} models the model(s) or identifier(s) to be used while\n        transitioning to the route.\n      @return {Transition} the transition object associated with this\n        attempted transition\n      @since 1.0.0\n      @public\n    */\n    replaceWith: function () {\n      var router = this.router;\n      return router.replaceWith.apply(router, _emberRoutingUtils.prefixRouteNameArg(this, arguments));\n    },\n\n    /**\n      Sends an action to the router, which will delegate it to the currently\n      active route hierarchy per the bubbling rules explained under `actions`.\n       Example\n       ```app/router.js\n      // ...\n       Router.map(function() {\n        this.route('index');\n      });\n       export default Router;\n      ```\n       ```app/routes/application.js\n      import Ember from 'ember';\n       export default Ember.Route.extend({\n        actions: {\n          track(arg) {\n            console.log(arg, 'was clicked');\n          }\n        }\n      });\n      ```\n       ```app/routes/index.js\n      import Ember from 'ember';\n       export default Ember.Route.extend({\n        actions: {\n          trackIfDebug(arg) {\n            if (debug) {\n              this.send('track', arg);\n            }\n          }\n        }\n      });\n      ```\n       @method send\n      @param {String} name the name of the action to trigger\n      @param {...*} args\n      @since 1.0.0\n      @public\n    */\n    send: function () {\n      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      if (this.router && this.router._routerMicrolib || !_emberDebug.isTesting()) {\n        var _router;\n\n        (_router = this.router).send.apply(_router, args);\n      } else {\n        var _name2 = args[0];\n        args = slice.call(args, 1);\n        var action = this.actions[_name2];\n        if (action) {\n          return this.actions[_name2].apply(this, args);\n        }\n      }\n    },\n\n    /**\n      This hook is the entry point for router.js\n       @private\n      @method setup\n    */\n    setup: function (context, transition) {\n      var _this3 = this;\n\n      var controller = undefined;\n\n      var controllerName = this.controllerName || this.routeName;\n      var definedController = this.controllerFor(controllerName, true);\n\n      if (!definedController) {\n        controller = this.generateController(controllerName);\n      } else {\n        controller = definedController;\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        var propNames = _emberMetal.get(this, '_qp.propertyNames');\n        addQueryParamsObservers(controller, propNames);\n        this.controller = controller;\n      }\n\n      var queryParams = _emberMetal.get(this, '_qp');\n\n      var states = queryParams.states;\n\n      controller._qpDelegate = states.allowOverrides;\n\n      if (transition) {\n        (function () {\n          // Update the model dep values used to calculate cache keys.\n          _emberRoutingUtils.stashParamNames(_this3.router, transition.state.handlerInfos);\n\n          var params = transition.params;\n          var allParams = queryParams.propertyNames;\n          var cache = _this3._bucketCache;\n\n          allParams.forEach(function (prop) {\n            var aQp = queryParams.map[prop];\n\n            aQp.values = params;\n            var cacheKey = _emberRoutingUtils.calculateCacheKey(aQp.route.fullRouteName, aQp.parts, aQp.values);\n\n            if (cache) {\n              var value = cache.lookup(cacheKey, prop, aQp.undecoratedDefaultValue);\n              _emberMetal.set(controller, prop, value);\n            }\n          });\n        })();\n      }\n\n      if (transition) {\n        var qpValues = getQueryParamsFor(this, transition.state);\n        controller.setProperties(qpValues);\n      }\n\n      this.setupController(controller, context, transition);\n\n      if (this._environment.options.shouldRender) {\n        this.renderTemplate(controller, context);\n      }\n    },\n\n    /*\n      Called when a query parameter for this route changes, regardless of whether the route\n      is currently part of the active route hierarchy. This will update the query parameter's\n      value in the cache so if this route becomes active, the cache value has been updated.\n    */\n    _qpChanged: function (prop, value, qp) {\n      if (!qp) {\n        return;\n      }\n\n      var cacheKey = _emberRoutingUtils.calculateCacheKey(qp.route.fullRouteName, qp.parts, qp.values);\n\n      // Update model-dep cache\n      var cache = this._bucketCache;\n      if (cache) {\n        cache.stash(cacheKey, prop, value);\n      }\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 {Promise} 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 Ember from 'ember';\n       export default Ember.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 {Promise} 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    /**\n      Called when the context is changed by router.js.\n       @private\n      @method contextDidChange\n    */\n    contextDidChange: function () {\n      this.currentModel = this.context;\n    },\n\n    /**\n      A hook you can implement to convert the URL into the model for\n      this route.\n       ```app/router.js\n      // ...\n       Router.map(function() {\n        this.route('post', { path: '/posts/:post_id' });\n      });\n       export default Router;\n      ```\n       The model for the `post` route is `store.findRecord('post', params.post_id)`.\n       By default, if your route has a dynamic segment ending in `_id`:\n       * The model class is determined from the segment (`post_id`'s\n        class is `App.Post`)\n      * The find method is called on the model class with the value of\n        the dynamic segment.\n       Note that for routes with dynamic segments, this hook is not always\n      executed. If the route is entered through a transition (e.g. when\n      using the `link-to` Handlebars helper or the `transitionTo` method\n      of routes), and a model context is already provided this hook\n      is not called.\n       A model context does not include a primitive string or number,\n      which does cause the model hook to be called.\n       Routes without dynamic segments will always execute the model hook.\n       ```javascript\n      // no dynamic segment, model hook always called\n      this.transitionTo('posts');\n       // model passed in, so model hook not called\n      thePost = store.findRecord('post', 1);\n      this.transitionTo('post', thePost);\n       // integer passed in, model hook is called\n      this.transitionTo('post', 1);\n       // model id passed in, model hook is called\n      // useful for forcing the hook to execute\n      thePost = store.findRecord('post', 1);\n      this.transitionTo('post', thePost.id);\n      ```\n        This hook follows the asynchronous/promise semantics\n      described in the documentation for `beforeModel`. In particular,\n      if a promise returned from `model` fails, the error will be\n      handled by the `error` hook on `Ember.Route`.\n       Example\n       ```app/routes/post.js\n      import Ember from 'ember';\n       export default Ember.Route.extend({\n        model(params) {\n          return this.store.findRecord('post', params.post_id);\n        }\n      });\n      ```\n       @method model\n      @param {Object} params the parameters extracted from the URL\n      @param {Transition} transition\n      @return {Object|Promise} the model for this route. If\n        a promise is returned, the transition will pause until\n        the promise resolves, and the resolved value of the promise\n        will be used as the model for this route.\n      @since 1.0.0\n      @public\n    */\n    model: function (params, transition) {\n      var name = undefined,\n          sawParams = undefined,\n          value = undefined;\n      var queryParams = _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        var match = prop.match(/^(.*)_id$/);\n        if (match) {\n          name = match[1];\n          value = params[prop];\n        }\n        sawParams = true;\n      }\n\n      if (!name && sawParams) {\n        return _emberRuntime.copy(params);\n      } else if (!name) {\n        if (transition.resolveIndex < 1) {\n          return;\n        }\n\n        return transition.state.handlerInfos[transition.resolveIndex - 1].context;\n      }\n\n      return this.findModel(name, value);\n    },\n\n    /**\n      @private\n      @method deserialize\n      @param {Object} params the parameters extracted from the URL\n      @param {Transition} transition\n      @return {Object|Promise} the model for this route.\n       Router.js hook.\n     */\n    deserialize: function (params, transition) {\n      return this.model(this.paramsFor(this.routeName), transition);\n    },\n\n    /**\n       @method findModel\n      @param {String} type the model type\n      @param {Object} value the value passed to find\n      @private\n    */\n    findModel: function () {\n      var store = _emberMetal.get(this, 'store');\n      return store.find.apply(store, 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: _emberMetal.computed(function () {\n      var owner = _emberUtils.getOwner(this);\n      var routeName = this.routeName;\n      var namespace = _emberMetal.get(this, 'router.namespace');\n\n      return {\n        find: function (name, value) {\n          var modelClass = owner[_container.FACTORY_FOR]('model:' + name);\n\n          _emberDebug.assert('You used the dynamic segment ' + name + '_id in your route ' + routeName + ', but ' + namespace + '.' + _emberRuntime.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          _emberDebug.assert(_emberRuntime.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 Ember from 'ember';\n       export default Ember.Route.extend({\n        model(params) {\n          // the server returns `{ id: 12 }`\n          return Ember.$.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 `Ember.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    /**\n      A hook you can use to setup the controller for the current route.\n       This method is called with the controller for the current route and the\n      model supplied by the `model` hook.\n       By default, the `setupController` hook sets the `model` property of\n      the controller to the `model`.\n       If you implement the `setupController` hook in your Route, it will\n      prevent this default behavior. If you want to preserve that behavior\n      when implementing your `setupController` function, make sure to call\n      `_super`:\n       ```app/routes/photos.js\n      import Ember from 'ember';\n       export default Ember.Route.extend({\n        model() {\n          return this.store.findAll('photo');\n        },\n         setupController(controller, model) {\n          // Call _super for default behavior\n          this._super(controller, model);\n          // Implement your custom setup after\n          this.controllerFor('application').set('showingPhotos', true);\n        }\n      });\n      ```\n       The provided controller will be one resolved based on the name\n      of this route.\n       If no explicit controller is defined, Ember will automatically create one.\n       As an example, consider the router:\n       ```app/router.js\n      // ...\n       Router.map(function() {\n        this.route('post', { path: '/posts/:post_id' });\n      });\n       export default Router;\n      ```\n       For the `post` route, a controller named `App.PostController` would\n      be used if it is defined. If it is not defined, a basic `Ember.Controller`\n      instance would be used.\n       Example\n       ```app/routes/post.js\n      import Ember from 'ember';\n       export default Ember.Route.extend({\n        setupController(controller, model) {\n          controller.set('model', model);\n        }\n      });\n      ```\n       @method setupController\n      @param {Controller} controller instance\n      @param {Object} model\n      @since 1.0.0\n      @public\n    */\n    setupController: function (controller, context, transition) {\n      if (controller && context !== undefined) {\n        _emberMetal.set(controller, 'model', context);\n      }\n    },\n\n    /**\n      Returns the resolved model of the current route, or a parent (or any ancestor)\n      route in a route hierarchy.\n       The controller instance must already have been created, either through entering the\n      associated route or using `generateController`.\n       ```app/routes/post.js\n      import Ember from 'ember';\n       export default Ember.Route.extend({\n        setupController(controller, post) {\n          this._super(controller, post);\n          this.controllerFor('posts').set('currentPost', post);\n        }\n      });\n      ```\n       @method controllerFor\n      @param {String} name the name of the route or controller\n      @return {Ember.Controller}\n      @since 1.0.0\n      @public\n    */\n    controllerFor: function (name, _skipAssert) {\n      var owner = _emberUtils.getOwner(this);\n      var route = owner.lookup('route:' + name);\n      var controller = undefined;\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      _emberDebug.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\n    /**\n      Generates a controller for a route.\n       Example\n       ```app/routes/post.js\n      import Ember from 'ember';\n       export default Ember.Route.extend({\n        setupController(controller, post) {\n          this._super(controller, post);\n          this.generateController('posts');\n        }\n      });\n      ```\n       @method generateController\n      @param {String} name the name of the controller\n      @private\n    */\n    generateController: function (name) {\n      var owner = _emberUtils.getOwner(this);\n\n      return _emberRoutingSystemGenerate_controller.default(owner, name);\n    },\n\n    /**\n      Returns the resolved model of a parent (or any ancestor) route\n      in a route hierarchy.  During a transition, all routes\n      must resolve a model object, and if a route\n      needs access to a parent route's model in order to\n      resolve a model (or just reuse the model from a parent),\n      it can call `this.modelFor(theNameOfParentRoute)` to\n      retrieve it. If the ancestor route's model was a promise,\n      its resolved result is returned.\n       Example\n       ```app/router.js\n      // ...\n       Router.map(function() {\n        this.route('post', { path: '/posts/:post_id' }, function() {\n          this.route('comments');\n        });\n      });\n       export default Router;\n      ```\n       ```app/routes/comments.js\n      import Ember from 'ember';\n       export default Ember.Route.extend({\n        model() {\n          let post = this.modelFor('post');\n          return post.get('comments');\n        }\n      });\n      ```\n       @method modelFor\n      @param {String} name the name of the route\n      @return {Object} the model object\n      @since 1.0.0\n      @public\n    */\n    modelFor: function (_name) {\n      var name = undefined;\n      var owner = _emberUtils.getOwner(this);\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 && this.router && this.router._routerMicrolib.activeTransition) {\n        name = getEngineRouteName(owner, _name);\n      } else {\n        name = _name;\n      }\n\n      var route = _emberUtils.getOwner(this).lookup('route:' + name);\n      var transition = this.router ? this.router._routerMicrolib.activeTransition : null;\n\n      // If we are mid-transition, we want to try and look up\n      // resolved parent contexts on the current transitionEvent.\n      if (transition) {\n        var modelLookupName = route && route.routeName || name;\n        if (transition.resolvedModels.hasOwnProperty(modelLookupName)) {\n          return transition.resolvedModels[modelLookupName];\n        }\n      }\n\n      return route && route.currentModel;\n    },\n\n    /**\n      A hook you can use to render the template for the current route.\n       This method is called with the controller for the current route and the\n      model supplied by the `model` hook. By default, it renders the route's\n      template, configured with the controller for the route.\n       This method can be overridden to set up and render additional or\n      alternative templates.\n       ```app/routes/posts.js\n      import Ember from 'ember';\n       export default Ember.Route.extend({\n        renderTemplate(controller, model) {\n          let favController = this.controllerFor('favoritePost');\n           // Render the `favoritePost` template into\n          // the outlet `posts`, and display the `favoritePost`\n          // controller.\n          this.render('favoritePost', {\n            outlet: 'posts',\n            controller: favController\n          });\n        }\n      });\n      ```\n       @method renderTemplate\n      @param {Object} controller the route's controller\n      @param {Object} model the route's model\n      @since 1.0.0\n      @public\n    */\n    renderTemplate: function (controller, model) {\n      this.render();\n    },\n\n    /**\n      `render` is used to render a template into a region of another template\n      (indicated by an `{{outlet}}`). `render` is used both during the entry\n      phase of routing (via the `renderTemplate` hook) and later in response to\n      user interaction.\n       For example, given the following minimal router and templates:\n       ```app/router.js\n      // ...\n       Router.map(function() {\n        this.route('photos');\n      });\n       export default Router;\n      ```\n       ```handlebars\n      <!-- application.hbs -->\n      <div class='something-in-the-app-hbs'>\n        {{outlet \"anOutletName\"}}\n      </div>\n      ```\n       ```handlebars\n      <!-- photos.hbs -->\n      <h1>Photos</h1>\n      ```\n       You can render `photos.hbs` into the `\"anOutletName\"` outlet of\n      `application.hbs` by calling `render`:\n       ```app/routes/post.js\n      import Ember from 'ember';\n       export default Ember.Route.extend({\n        renderTemplate() {\n          this.render('photos', {\n            into: 'application',\n            outlet: 'anOutletName'\n          })\n        }\n      });\n      ```\n       `render` additionally allows you to supply which `controller` and\n      `model` objects should be loaded and associated with the rendered template.\n        ```app/routes/posts.js\n      import Ember from 'ember';\n       export default Ember.Route.extend({\n        renderTemplate(controller, model){\n          this.render('posts', {    // the template to render, referenced by name\n            into: 'application',    // the template to render into, referenced by name\n            outlet: 'anOutletName', // the outlet inside `options.template` to render into.\n            controller: 'someControllerName', // the controller to use for this template, referenced by name\n            model: model            // the model to set on `options.controller`.\n          })\n        }\n      });\n      ```\n       The string values provided for the template name, and controller\n      will eventually pass through to the resolver for lookup. See\n      Ember.Resolver for how these are mapped to JavaScript objects in your\n      application. The template to render into needs to be related to  either the\n      current route or one of its ancestors.\n       Not all options need to be passed to `render`. Default values will be used\n      based on the name of the route specified in the router or the Route's\n      `controllerName` and `templateName` properties.\n       For example:\n       ```app/router.js\n      // ...\n       Router.map(function() {\n        this.route('index');\n        this.route('post', { path: '/posts/:post_id' });\n      });\n       export default Router;\n      ```\n       ```app/routes/post.js\n      import Ember from 'ember';\n       export default Ember.Route.extend({\n        renderTemplate() {\n          this.render(); // all defaults apply\n        }\n      });\n      ```\n       The name of the route, defined by the router, is `post`.\n       The following equivalent default options will be applied when\n      the Route calls `render`:\n       ```javascript\n      this.render('post', {  // the template name associated with 'post' Route\n        into: 'application', // the parent route to 'post' Route\n        outlet: 'main',      // {{outlet}} and {{outlet 'main'}} are synonymous,\n        controller: 'post',  // the controller associated with the 'post' Route\n      })\n      ```\n       By default the controller's `model` will be the route's model, so it does not\n      need to be passed unless you wish to change which model is being used.\n       @method render\n      @param {String} name the name of the template to render\n      @param {Object} [options] the options\n      @param {String} [options.into] the template to render into,\n                      referenced by name. Defaults to the parent template\n      @param {String} [options.outlet] the outlet inside `options.template` to render into.\n                      Defaults to 'main'\n      @param {String|Object} [options.controller] the controller to use for this template,\n                      referenced by name or as a controller instance. Defaults to the Route's paired controller\n      @param {Object} [options.model] the model object to set on `options.controller`.\n                      Defaults to the return value of the Route's model hook\n      @since 1.0.0\n      @public\n    */\n    render: function (_name, options) {\n      _emberDebug.assert('The name in the given arguments is undefined', arguments.length > 0 ? !_emberMetal.isNone(arguments[0]) : true);\n\n      var namePassed = typeof _name === 'string' && !!_name;\n      var isDefaultRender = arguments.length === 0 || _emberMetal.isEmpty(arguments[0]);\n      var name = undefined;\n\n      if (typeof _name === 'object' && !options) {\n        name = this.templateName || this.routeName;\n        options = _name;\n      } else {\n        name = _name;\n      }\n\n      var renderOptions = buildRenderOptions(this, namePassed, isDefaultRender, name, options);\n      this.connections.push(renderOptions);\n      _emberMetal.run.once(this.router, '_setOutlets');\n    },\n\n    /**\n      Disconnects a view that has been rendered into an outlet.\n       You may pass any or all of the following options to `disconnectOutlet`:\n       * `outlet`: the name of the outlet to clear (default: 'main')\n      * `parentView`: the name of the view containing the outlet to clear\n         (default: the view rendered by the parent route)\n       Example:\n       ```app/routes/application.js\n      import Ember from 'ember';\n       export default App.Route.extend({\n        actions: {\n          showModal(evt) {\n            this.render(evt.modalName, {\n              outlet: 'modal',\n              into: 'application'\n            });\n          },\n          hideModal(evt) {\n            this.disconnectOutlet({\n              outlet: 'modal',\n              parentView: 'application'\n            });\n          }\n        }\n      });\n      ```\n       Alternatively, you can pass the `outlet` name directly as a string.\n       Example:\n       ```app/routes/application.js\n      import Ember from 'ember';\n       export default App.Route.extend({\n        actions: {\n          showModal(evt) {\n            // ...\n          },\n          hideModal(evt) {\n            this.disconnectOutlet('modal');\n          }\n        }\n      });\n       @method disconnectOutlet\n      @param {Object|String} options the options hash or outlet name\n      @since 1.0.0\n      @public\n    */\n    disconnectOutlet: function (options) {\n      var outletName = undefined;\n      var parentView = undefined;\n      if (!options || typeof options === 'string') {\n        outletName = options;\n      } else {\n        outletName = options.outlet;\n        parentView = options.parentView;\n\n        if (options && Object.keys(options).indexOf('outlet') !== -1 && typeof options.outlet === 'undefined') {\n          throw new _emberDebug.Error('You passed undefined as the outlet name.');\n        }\n      }\n      parentView = parentView && parentView.replace(/\\//g, '.');\n      outletName = outletName || 'main';\n      this._disconnectOutlet(outletName, parentView);\n      for (var i = 0; i < this.router._routerMicrolib.currentHandlerInfos.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        this.router._routerMicrolib.currentHandlerInfos[i].handler._disconnectOutlet(outletName, parentView);\n      }\n    },\n\n    _disconnectOutlet: function (outletName, parentView) {\n      var parent = parentRoute(this);\n      if (parent && parentView === parent.routeName) {\n        parentView = undefined;\n      }\n      for (var i = 0; i < this.connections.length; i++) {\n        var connection = this.connections[i];\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            ViewClass: undefined\n          };\n          _emberMetal.run.once(this.router, '_setOutlets');\n        }\n      }\n    },\n\n    willDestroy: function () {\n      this.teardownViews();\n    },\n\n    /**\n      @private\n       @method teardownViews\n    */\n    teardownViews: function () {\n      if (this.connections && this.connections.length > 0) {\n        this.connections = [];\n        _emberMetal.run.once(this.router, '_setOutlets');\n      }\n    }\n  });\n\n  _emberRuntime.deprecateUnderscoreActions(Route);\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 ? 0 : arguments[2];\n\n    if (!handlerInfos) {\n      return;\n    }\n\n    var current = undefined;\n    for (var 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, namePassed, isDefaultRender, _name, options) {\n    var into = options && options.into && options.into.replace(/\\//g, '.');\n    var outlet = options && options.outlet || 'main';\n\n    var name = undefined,\n        templateName = undefined;\n    if (_name) {\n      name = _name.replace(/\\//g, '.');\n      templateName = name;\n    } else {\n      name = route.routeName;\n      templateName = route.templateName || name;\n    }\n\n    var owner = _emberUtils.getOwner(route);\n    var controller = options && options.controller;\n    if (!controller) {\n      if (namePassed) {\n        controller = owner.lookup('controller:' + name) || route.controllerName || route.routeName;\n      } else {\n        controller = route.controllerName || owner.lookup('controller:' + name);\n      }\n    }\n\n    if (typeof controller === 'string') {\n      var controllerName = controller;\n      controller = owner.lookup('controller:' + controllerName);\n      if (!controller) {\n        throw new _emberDebug.Error('You passed `controller: \\'' + controllerName + '\\'` into the `render` method, but no such controller could be found.');\n      }\n    }\n\n    if (options && Object.keys(options).indexOf('outlet') !== -1 && typeof options.outlet === 'undefined') {\n      throw new _emberDebug.Error('You passed undefined as the outlet name.');\n    }\n\n    if (options && options.model) {\n      controller.set('model', options.model);\n    }\n\n    var template = owner.lookup('template:' + templateName);\n\n    var parent = undefined;\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      ViewClass: undefined\n    };\n\n    _emberDebug.assert('Could not find \"' + name + '\" template, view, or component.', isDefaultRender || template);\n\n    _emberDebug.runInDebug(function () {\n      var LOG_VIEW_LOOKUPS = _emberMetal.get(route.router, 'namespace.LOG_VIEW_LOOKUPS');\n      if (LOG_VIEW_LOOKUPS && !template) {\n        _emberDebug.info('Could not find \"' + name + '\" template. Nothing will be rendered', { fullName: 'template:' + name });\n      }\n    });\n\n    return renderOptions;\n  }\n\n  function getFullQueryParams(router, state) {\n    if (state.fullQueryParams) {\n      return state.fullQueryParams;\n    }\n\n    state.fullQueryParams = {};\n    _emberUtils.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\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 = _emberMetal.get(route, '_qp');\n    var qps = qpMeta.qps;\n    for (var i = 0; i < qps.length; ++i) {\n      // Put deserialized qp on params hash.\n      var qp = qps[i];\n\n      var qpValueWasPassedIn = (qp.prop in fullQueryParams);\n      params[qp.prop] = qpValueWasPassedIn ? fullQueryParams[qp.prop] : copyDefaultValue(qp.defaultValue);\n    }\n\n    return params;\n  }\n\n  function copyDefaultValue(value) {\n    if (Array.isArray(value)) {\n      return _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 keysAlreadyMergedOrSkippable = undefined;\n    var qps = {};\n\n    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      var newControllerParameterConfiguration = {};\n      _emberUtils.assign(newControllerParameterConfiguration, controllerQP[cqpName]);\n      _emberUtils.assign(newControllerParameterConfiguration, 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      var newRouteParameterConfiguration = {};\n      _emberUtils.assign(newRouteParameterConfiguration, routeQP[rqpName], controllerQP[rqpName]);\n      qps[rqpName] = newRouteParameterConfiguration;\n    }\n\n    return qps;\n  }\n\n  function addQueryParamsObservers(controller, propNames) {\n    propNames.forEach(function (prop) {\n      controller.addObserver(prop + '.[]', controller, controller._qpChanged);\n    });\n  }\n\n  function getEngineRouteName(engine, routeName) {\n    if (engine.routable) {\n      var prefix = engine.mountPoint;\n\n      if (routeName === 'application') {\n        return prefix;\n      } else {\n        return prefix + '.' + routeName;\n      }\n    }\n\n    return routeName;\n  }\n\n  exports.default = Route;\n});\nenifed('ember-routing/system/router', ['exports', 'ember-utils', 'ember-console', 'ember-metal', 'ember-debug', 'ember-runtime', 'ember-routing/system/route', 'ember-routing/system/dsl', 'ember-routing/location/api', 'ember-routing/utils', 'ember-routing/system/router_state', 'container', 'router'], function (exports, _emberUtils, _emberConsole, _emberMetal, _emberDebug, _emberRuntime, _emberRoutingSystemRoute, _emberRoutingSystemDsl, _emberRoutingLocationApi, _emberRoutingUtils, _emberRoutingSystemRouter_state, _container, _router) {\n  'use strict';\n\n  exports.triggerEvent = triggerEvent;\n\n  function K() {\n    return this;\n  }\n\n  var slice = Array.prototype.slice;\n\n  /**\n    The `Ember.Router` class manages the application state and URLs. Refer to\n    the [routing guide](http://emberjs.com/guides/routing/) for documentation.\n  \n    @class Router\n    @namespace Ember\n    @extends Ember.Object\n    @uses Ember.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 capabilites: `history` if possible, then `hash` if possible, otherwise `none`\n       Note: If using ember-cli, this value is defaulted to `auto` by the `locationType` setting of `/config/environment.js`\n       @property location\n      @default 'hash'\n      @see {Ember.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 _this = this;\n\n      var routerMicrolib = this._routerMicrolib = new _router.default();\n      routerMicrolib.triggerEvent = triggerEvent;\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        for (var i = 0; i < dslCallbacks.length; i++) {\n          dslCallbacks[i].call(this);\n        }\n      });\n\n      _emberDebug.runInDebug(function () {\n        if (_emberMetal.get(_this, 'namespace.LOG_TRANSITIONS_INTERNAL')) {\n          routerMicrolib.log = _emberConsole.default.debug;\n        }\n      });\n\n      routerMicrolib.map(dsl.generate());\n    },\n\n    _buildDSL: function () {\n      var moduleBasedResolver = this._hasModuleBasedResolver();\n      var options = {\n        enableLoadingSubstates: !!moduleBasedResolver\n      };\n\n      var owner = _emberUtils.getOwner(this);\n      var router = this;\n\n      options.resolveRouteMap = function (name) {\n        return owner[_container.FACTORY_FOR]('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 _emberRoutingSystemDsl.default(null, options);\n    },\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 = _emberUtils.dictionary(null);\n      this._engineInstances = Object.create(null);\n      this._engineInfoByRoute = Object.create(null);\n    },\n\n    /*\n      Resets all pending query parameter changes.\n      Called after transitioning to a new route\n      based on query parameter changes.\n    */\n    _resetQueuedQueryParameterChanges: 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: _emberMetal.computed(function () {\n      return _emberMetal.get(this, 'location').getURL();\n    }),\n\n    _hasModuleBasedResolver: function () {\n      var owner = _emberUtils.getOwner(this);\n\n      if (!owner) {\n        return false;\n      }\n\n      var resolver = owner.application && owner.application.__registry__ && owner.application.__registry__.resolver;\n\n      if (!resolver) {\n        return false;\n      }\n\n      return !!resolver.moduleBasedResolver;\n    },\n\n    /**\n      Initializes the current router instance and sets up the change handling\n      event listeners used by the instances `location` implementation.\n       A property named `initialURL` will be used to determine the initial URL.\n      If no value is found `/` will be used.\n       @method startRouting\n      @private\n    */\n    startRouting: function () {\n      var initialURL = _emberMetal.get(this, 'initialURL');\n\n      if (this.setupRouter()) {\n        if (typeof initialURL === 'undefined') {\n          initialURL = _emberMetal.get(this, 'location').getURL();\n        }\n        var initialTransition = this.handleURL(initialURL);\n        if (initialTransition && initialTransition.error) {\n          throw initialTransition.error;\n        }\n      }\n    },\n\n    setupRouter: function () {\n      var _this2 = this;\n\n      this._initRouterJs();\n      this._setupLocation();\n\n      var location = _emberMetal.get(this, 'location');\n\n      // Allow the Location class to cancel the router setup while it refreshes\n      // the page\n      if (_emberMetal.get(location, 'cancelRouterSetup')) {\n        return false;\n      }\n\n      this._setupRouter(location);\n\n      location.onUpdateURL(function (url) {\n        _this2.handleURL(url);\n      });\n\n      return true;\n    },\n\n    /**\n      Handles updating the paths and notifying any listeners of the URL\n      change.\n       Triggers the router level `didTransition` hook.\n       For example, to notify google analytics when the route changes,\n      you could use this hook.  (Note: requires also including GA scripts, etc.)\n       ```javascript\n      let Router = Ember.Router.extend({\n        location: config.locationType,\n         didTransition: function() {\n          this._super(...arguments);\n           return ga('send', 'pageview', {\n            'page': this.get('url'),\n            'title': this.get('url')\n          });\n        }\n      });\n      ```\n       @method didTransition\n      @public\n      @since 1.2.0\n    */\n    didTransition: function (infos) {\n      var _this3 = this;\n\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      _emberMetal.run.once(this, this.trigger, 'didTransition');\n\n      _emberDebug.runInDebug(function () {\n        if (_emberMetal.get(_this3, 'namespace').LOG_TRANSITIONS) {\n          _emberConsole.default.log('Transitioned into \\'' + EmberRouter._routePath(infos) + '\\'');\n        }\n      });\n    },\n\n    _setOutlets: function () {\n      // This is triggered async during Ember.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      var route = undefined;\n      var defaultParentState = undefined;\n      var liveRoutes = null;\n\n      if (!handlerInfos) {\n        return;\n      }\n\n      for (var i = 0; i < handlerInfos.length; i++) {\n        route = handlerInfos[i].handler;\n        var connections = route.connections;\n        var ownState = undefined;\n        for (var j = 0; j < connections.length; j++) {\n          var appended = appendLiveRoute(liveRoutes, defaultParentState, connections[j]);\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        var owner = _emberUtils.getOwner(this);\n        var OutletView = owner[_container.FACTORY_FOR]('view:-outlet');\n        this._toplevelView = OutletView.create();\n        this._toplevelView.setOutletState(liveRoutes);\n        var instance = owner.lookup('-application-instance:main');\n        instance.didCreateRootView(this._toplevelView);\n      } else {\n        this._toplevelView.setOutletState(liveRoutes);\n      }\n    },\n\n    /**\n      Handles notifying any listeners of an impending URL\n      change.\n       Triggers the router level `willTransition` hook.\n       @method willTransition\n      @public\n      @since 1.11.0\n    */\n    willTransition: function (oldInfos, newInfos, transition) {\n      var _this4 = this;\n\n      _emberMetal.run.once(this, this.trigger, 'willTransition', transition);\n\n      _emberDebug.runInDebug(function () {\n        if (_emberMetal.get(_this4, 'namespace').LOG_TRANSITIONS) {\n          _emberConsole.default.log('Preparing to transition from \\'' + EmberRouter._routePath(oldInfos) + '\\' to \\'' + EmberRouter._routePath(newInfos) + '\\'');\n        }\n      });\n    },\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      url = url.split(/#(.+)?/)[0];\n      return this._doURLTransition('handleURL', url);\n    },\n\n    _doURLTransition: function (routerJsMethod, url) {\n      var transition = this._routerMicrolib[routerJsMethod](url || '/');\n      didBeginTransition(transition, this);\n      return transition;\n    },\n\n    /**\n      Transition the application into another route. The route may\n      be either a single route or route path:\n       See [Route.transitionTo](http://emberjs.com/api/classes/Ember.Route.html#method_transitionTo) for more info.\n       @method transitionTo\n      @param {String} name the name of the route or a URL\n      @param {...Object} models the model(s) or identifier(s) to be used while\n        transitioning to the route.\n      @param {Object} [options] optional hash with a queryParams property\n        containing a mapping of query parameters\n      @return {Transition} the transition object associated with this\n        attempted transition\n      @public\n    */\n    transitionTo: function () {\n      var queryParams = undefined;\n\n      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      if (resemblesURL(args[0])) {\n        return this._doURLTransition('transitionTo', args[0]);\n      }\n\n      var possibleQueryParams = args[args.length - 1];\n      if (possibleQueryParams && possibleQueryParams.hasOwnProperty('queryParams')) {\n        queryParams = args.pop().queryParams;\n      } else {\n        queryParams = {};\n      }\n\n      var targetRouteName = args.shift();\n      return this._doTransition(targetRouteName, args, queryParams);\n    },\n\n    intermediateTransitionTo: function () {\n      var _routerMicrolib,\n          _this5 = this;\n\n      (_routerMicrolib = this._routerMicrolib).intermediateTransitionTo.apply(_routerMicrolib, arguments);\n\n      updatePaths(this);\n\n      _emberDebug.runInDebug(function () {\n        var infos = _this5._routerMicrolib.currentHandlerInfos;\n        if (_emberMetal.get(_this5, 'namespace').LOG_TRANSITIONS) {\n          _emberConsole.default.log('Intermediate-transitioned into \\'' + EmberRouter._routePath(infos) + '\\'');\n        }\n      });\n    },\n\n    replaceWith: function () {\n      return this.transitionTo.apply(this, arguments).method('replace');\n    },\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\n    /**\n      Determines if the supplied route is currently active.\n       @method isActive\n      @param routeName\n      @return {Boolean}\n      @private\n    */\n    isActive: function (routeName) {\n      var _routerMicrolib3;\n\n      return (_routerMicrolib3 = this._routerMicrolib).isActive.apply(_routerMicrolib3, arguments);\n    },\n\n    /**\n      An alternative form of `isActive` that doesn't require\n      manual concatenation of the arguments into a single\n      array.\n       @method isActiveIntent\n      @param routeName\n      @param models\n      @param queryParams\n      @return {Boolean}\n      @private\n      @since 1.7.0\n    */\n    isActiveIntent: function (routeName, models, queryParams) {\n      return this.currentState.isActiveIntent(routeName, models, queryParams);\n    },\n\n    send: function (name, context) {\n      var _routerMicrolib4;\n\n      (_routerMicrolib4 = this._routerMicrolib).trigger.apply(_routerMicrolib4, arguments);\n    },\n\n    /**\n      Does this router instance have the given route.\n       @method hasRoute\n      @return {Boolean}\n      @private\n    */\n    hasRoute: function (route) {\n      return this._routerMicrolib.hasRoute(route);\n    },\n\n    /**\n      Resets the state of the router by clearing the current route\n      handlers and deactivating them.\n       @private\n      @method reset\n     */\n    reset: function () {\n      if (this._routerMicrolib) {\n        this._routerMicrolib.reset();\n      }\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          _emberMetal.run(instances[_name][id], 'destroy');\n        }\n      }\n    },\n\n    /*\n      Called when an active route's query parameter has changed.\n      These changes are batched into a runloop run and trigger\n      a single transition.\n    */\n    _activeQPChanged: function (queryParameterName, newValue) {\n      this._queuedQPChanges[queryParameterName] = newValue;\n      _emberMetal.run.once(this, this._fireQueryParamTransition);\n    },\n\n    _updatingQPChanged: function (queryParameterName) {\n      if (!this._qpUpdates) {\n        this._qpUpdates = {};\n      }\n      this._qpUpdates[queryParameterName] = true;\n    },\n\n    /*\n      Triggers a transition to a route based on query parameter changes.\n      This is called once per runloop, to batch changes.\n       e.g.\n       if these methods are called in succession:\n      this._activeQPChanged('foo', '10');\n        // results in _queuedQPChanges = { foo: '10' }\n      this._activeQPChanged('bar', false);\n        // results in _queuedQPChanges = { foo: '10', bar: false }\n        _queuedQPChanges will represent both of these changes\n      and the transition using `transitionTo` will be triggered\n      once.\n    */\n    _fireQueryParamTransition: function () {\n      this.transitionTo({ queryParams: this._queuedQPChanges });\n      this._resetQueuedQueryParameterChanges();\n    },\n\n    _setupLocation: function () {\n      var location = _emberMetal.get(this, 'location');\n      var rootURL = _emberMetal.get(this, 'rootURL');\n      var owner = _emberUtils.getOwner(this);\n\n      if ('string' === typeof location && owner) {\n        var resolvedLocation = owner.lookup('location:' + location);\n\n        if ('undefined' !== typeof resolvedLocation) {\n          location = _emberMetal.set(this, 'location', resolvedLocation);\n        } else {\n          // Allow for deprecated registration of custom location API's\n          var options = {\n            implementation: location\n          };\n\n          location = _emberMetal.set(this, 'location', _emberRoutingLocationApi.default.create(options));\n        }\n      }\n\n      if (location !== null && typeof location === 'object') {\n        if (rootURL) {\n          _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\n    _getHandlerFunction: function () {\n      var _this6 = this;\n\n      var seen = Object.create(null);\n      var owner = _emberUtils.getOwner(this);\n\n      return function (name) {\n        var routeName = name;\n        var routeOwner = owner;\n        var engineInfo = _this6._engineInfoByRoute[routeName];\n\n        if (engineInfo) {\n          var engineInstance = _this6._getEngineInstance(engineInfo);\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          var DefaultRoute = routeOwner[_container.FACTORY_FOR]('route:basic').class;\n          routeOwner.register(fullRouteName, DefaultRoute.extend());\n          handler = routeOwner.lookup(fullRouteName);\n\n          _emberDebug.runInDebug(function () {\n            if (_emberMetal.get(_this6, 'namespace.LOG_ACTIVE_GENERATION')) {\n              _emberDebug.info('generated -> ' + fullRouteName, { fullName: fullRouteName });\n            }\n          });\n        }\n\n        handler._setRouteName(routeName);\n\n        if (engineInfo && !_emberRoutingSystemRoute.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\n    _getSerializerFunction: function () {\n      var _this7 = this;\n\n      return function (name) {\n        var engineInfo = _this7._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 || _emberRoutingSystemRoute.defaultSerialize;\n      };\n    },\n\n    _setupRouter: function (location) {\n      var lastURL = undefined;\n      var emberRouter = this;\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        _emberMetal.set(emberRouter, 'currentURL', lastURL);\n      };\n\n      routerMicrolib.updateURL = function (path) {\n        lastURL = path;\n        _emberMetal.run.once(doUpdateURL);\n      };\n\n      if (location.replaceURL) {\n        (function () {\n          var doReplaceURL = function () {\n            location.replaceURL(lastURL);\n            _emberMetal.set(emberRouter, 'currentURL', lastURL);\n          };\n\n          routerMicrolib.replaceURL = function (path) {\n            lastURL = path;\n            _emberMetal.run.once(doReplaceURL);\n          };\n        })();\n      }\n\n      routerMicrolib.didTransition = function (infos) {\n        emberRouter.didTransition(infos);\n      };\n\n      routerMicrolib.willTransition = function (oldInfos, newInfos, transition) {\n        emberRouter.willTransition(oldInfos, newInfos, transition);\n      };\n    },\n\n    /**\n      Serializes the given query params according to their QP meta information.\n       @private\n      @method _serializeQueryParams\n      @param {Arrray<HandlerInfo>} handlerInfos\n      @param {Object} queryParams\n      @return {Void}\n    */\n    _serializeQueryParams: function (handlerInfos, queryParams) {\n      var _this8 = 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) {\n          return; // We don't serialize undefined values\n        } else {\n            queryParams[key] = _this8._serializeQueryParam(value, _emberRuntime.typeOf(value));\n          }\n      });\n    },\n\n    /**\n      Serializes the value of a query parameter based on a type\n       @private\n      @method _serializeQueryParam\n      @param {Object} value\n      @param {String} type\n    */\n    _serializeQueryParam: function (value, type) {\n      if (type === 'array') {\n        return JSON.stringify(value);\n      }\n\n      return '' + value;\n    },\n\n    /**\n      Deserializes the given query params according to their QP meta information.\n       @private\n      @method _deserializeQueryParams\n      @param {Array<HandlerInfo>} handlerInfos\n      @param {Object} queryParams\n      @return {Void}\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\n    /**\n      Deserializes the value of a query parameter based on a default type\n       @private\n      @method _deserializeQueryParam\n      @param {Object} value\n      @param {String} defaultType\n    */\n    _deserializeQueryParam: function (value, defaultType) {\n      if (defaultType === 'boolean') {\n        return value === 'true' ? true : false;\n      } else if (defaultType === 'number') {\n        return Number(value).valueOf();\n      } else if (defaultType === 'array') {\n        return _emberRuntime.A(JSON.parse(value));\n      }\n\n      return value;\n    },\n\n    /**\n      Removes (prunes) any query params with default values from the given QP\n      object. Default values are determined from the QP meta information per key.\n       @private\n      @method _pruneDefaultQueryParamValues\n      @param {Array<HandlerInfo>} handlerInfos\n      @param {Object} queryParams\n      @return {Void}\n    */\n    _pruneDefaultQueryParamValues: function (handlerInfos, queryParams) {\n      var qps = this._queryParamsFor(handlerInfos);\n      for (var key in queryParams) {\n        var qp = qps.map[key];\n        if (qp && qp.serializedDefaultValue === queryParams[key]) {\n          delete queryParams[key];\n        }\n      }\n    },\n\n    _doTransition: function (_targetRouteName, models, _queryParams) {\n      var _routerMicrolib5;\n\n      var targetRouteName = _targetRouteName || _emberRoutingUtils.getActiveTargetName(this._routerMicrolib);\n      _emberDebug.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      _emberUtils.assign(queryParams, _queryParams);\n      this._prepareQueryParams(targetRouteName, models, queryParams);\n\n      var transitionArgs = _emberRoutingUtils.routeArgs(targetRouteName, models, queryParams);\n      var transition = (_routerMicrolib5 = this._routerMicrolib).transitionTo.apply(_routerMicrolib5, transitionArgs);\n\n      didBeginTransition(transition, this);\n\n      return transition;\n    },\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      for (var key in this._routerMicrolib.activeTransition.queryParams) {\n        if (!qpUpdates[key]) {\n          unchangedQPs[key] = this._routerMicrolib.activeTransition.queryParams[key];\n        }\n      }\n\n      // We need to fully scope queryParams so that we can create one object\n      // that represents both pased 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      _emberUtils.assign(queryParams, unchangedQPs);\n    },\n\n    /**\n      Prepares the query params for a URL or Transition. Restores any undefined QP\n      keys/values, serializes all values, and then prunes any default values.\n       @private\n      @method _prepareQueryParams\n      @param {String} targetRouteName\n      @param {Array<Object>} models\n      @param {Object} queryParams\n      @return {Void}\n    */\n    _prepareQueryParams: function (targetRouteName, models, queryParams) {\n      var state = calculatePostTransitionState(this, targetRouteName, models);\n      this._hydrateUnsuppliedQueryParams(state, queryParams);\n      this._serializeQueryParams(state.handlerInfos, queryParams);\n      this._pruneDefaultQueryParamValues(state.handlerInfos, queryParams);\n    },\n\n    /**\n      Returns the meta information for the query params of a given route. This\n      will be overriden to allow support for lazy routes.\n       @private\n      @method _getQPMeta\n      @param {HandlerInfo} handlerInfo\n      @return {Object}\n    */\n    _getQPMeta: function (handlerInfo) {\n      var route = handlerInfo.handler;\n      return route && _emberMetal.get(route, '_qp');\n    },\n\n    /**\n      Returns a merged query params meta object for a given set of handlerInfos.\n      Useful for knowing what query params are available for a given route hierarchy.\n       @private\n      @method _queryParamsFor\n      @param {Array<HandlerInfo>} handlerInfos\n      @return {Object}\n     */\n    _queryParamsFor: function (handlerInfos) {\n      var leafRouteName = handlerInfos[handlerInfos.length - 1].name;\n      if (this._qpCache[leafRouteName]) {\n        return this._qpCache[leafRouteName];\n      }\n\n      var shouldCache = true;\n      var qpsByUrlKey = {};\n      var map = {};\n      var qps = [];\n\n      for (var i = 0; i < handlerInfos.length; ++i) {\n        var qpMeta = this._getQPMeta(handlerInfos[i]);\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 (var _i = 0; _i < qpMeta.qps.length; _i++) {\n          var qp = qpMeta.qps[_i];\n          var urlKey = qp.urlKey;\n          var qpOther = qpsByUrlKey[urlKey];\n\n          if (qpOther && qpOther.controllerName !== qp.controllerName) {\n            var otherQP = qpsByUrlKey[urlKey];\n            _emberDebug.assert('You\\'re not allowed to have more than one controller property map to the same query param key, but both `' + otherQP.scopedPropertyName + '` and `' + qp.scopedPropertyName + '` map to `' + urlKey + '`. You can fix this by mapping one of the controller properties to a different query param key via the `as` config option, e.g. `' + otherQP.prop + ': { as: \\'other-' + otherQP.prop + '\\' }`', false);\n          }\n\n          qpsByUrlKey[urlKey] = qp;\n          qps.push(qp);\n        }\n\n        _emberUtils.assign(map, qpMeta.map);\n      }\n\n      var finalQPMeta = {\n        qps: qps,\n        map: map\n      };\n\n      if (shouldCache) {\n        this._qpCache[leafRouteName] = finalQPMeta;\n      }\n\n      return finalQPMeta;\n    },\n\n    /**\n      Maps all query param keys to their fully scoped property name of the form\n      `controllerName:propName`.\n       @private\n      @method _fullyScopeQueryParams\n      @param {String} leafRouteName\n      @param {Array<Object>} contexts\n      @param {Object} queryParams\n      @return {Void}\n    */\n    _fullyScopeQueryParams: function (leafRouteName, contexts, queryParams) {\n      var state = calculatePostTransitionState(this, leafRouteName, contexts);\n      var handlerInfos = state.handlerInfos;\n\n      for (var i = 0, len = handlerInfos.length; i < len; ++i) {\n        var qpMeta = this._getQPMeta(handlerInfos[i]);\n\n        if (!qpMeta) {\n          continue;\n        }\n\n        for (var j = 0, qpLen = qpMeta.qps.length; j < qpLen; ++j) {\n          var qp = qpMeta.qps[j];\n\n          var presentProp = qp.prop in queryParams && qp.prop || qp.scopedPropertyName in queryParams && qp.scopedPropertyName || qp.urlKey in queryParams && qp.urlKey;\n\n          if (presentProp) {\n            if (presentProp !== qp.scopedPropertyName) {\n              queryParams[qp.scopedPropertyName] = queryParams[presentProp];\n              delete queryParams[presentProp];\n            }\n          }\n        }\n      }\n    },\n\n    /**\n      Hydrates (adds/restores) any query params that have pre-existing values into\n      the given queryParams hash. This is what allows query params to be \"sticky\"\n      and restore their last known values for their scope.\n       @private\n      @method _hydrateUnsuppliedQueryParams\n      @param {TransitionState} state\n      @param {Object} queryParams\n      @return {Void}\n    */\n    _hydrateUnsuppliedQueryParams: function (state, queryParams) {\n      var handlerInfos = state.handlerInfos;\n      var appCache = this._bucketCache;\n\n      for (var i = 0; i < handlerInfos.length; ++i) {\n        var qpMeta = this._getQPMeta(handlerInfos[i]);\n\n        if (!qpMeta) {\n          continue;\n        }\n\n        for (var j = 0, qpLen = qpMeta.qps.length; j < qpLen; ++j) {\n          var qp = qpMeta.qps[j];\n\n          var presentProp = qp.prop in queryParams && qp.prop || qp.scopedPropertyName in queryParams && qp.scopedPropertyName || qp.urlKey in queryParams && qp.urlKey;\n\n          if (presentProp) {\n            if (presentProp !== qp.scopedPropertyName) {\n              queryParams[qp.scopedPropertyName] = queryParams[presentProp];\n              delete queryParams[presentProp];\n            }\n          } else {\n            var cacheKey = _emberRoutingUtils.calculateCacheKey(qp.route.fullRouteName, qp.parts, state.params);\n            queryParams[qp.scopedPropertyName] = appCache.lookup(cacheKey, qp.prop, qp.defaultValue);\n          }\n        }\n      }\n    },\n\n    _scheduleLoadingEvent: function (transition, originRoute) {\n      this._cancelSlowTransitionTimer();\n      this._slowTransitionTimer = _emberMetal.run.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\n      this.set('targetState', _emberRoutingSystemRouter_state.default.create({\n        emberRouter: this,\n        routerJs: this._routerMicrolib,\n        routerJsState: this._routerMicrolib.activeTransition.state\n      }));\n\n      transition.trigger(true, 'loading', transition, originRoute);\n    },\n\n    _cancelSlowTransitionTimer: function () {\n      if (this._slowTransitionTimer) {\n        _emberMetal.run.cancel(this._slowTransitionTimer);\n      }\n      this._slowTransitionTimer = null;\n    },\n\n    // These three helper functions are used to ensure errors aren't\n    // re-raised if they're handled in a route's error action.\n    _markErrorAsHandled: function (errorGuid) {\n      this._handledErrors[errorGuid] = true;\n    },\n\n    _isErrorHandled: function (errorGuid) {\n      return this._handledErrors[errorGuid];\n    },\n\n    _clearHandledError: function (errorGuid) {\n      delete this._handledErrors[errorGuid];\n    },\n\n    _getEngineInstance: function (_ref) {\n      var name = _ref.name;\n      var instanceId = _ref.instanceId;\n      var mountPoint = _ref.mountPoint;\n\n      var engineInstances = this._engineInstances;\n\n      if (!engineInstances[name]) {\n        engineInstances[name] = Object.create(null);\n      }\n\n      var engineInstance = engineInstances[name][instanceId];\n\n      if (!engineInstance) {\n        var owner = _emberUtils.getOwner(this);\n\n        _emberDebug.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(originRoute, handlerInfos, callback) {\n    var originRouteFound = false;\n\n    for (var i = handlerInfos.length - 1; i >= 0; --i) {\n      var handlerInfo = handlerInfos[i];\n      var route = handlerInfo.handler;\n\n      if (originRoute === route) {\n        originRouteFound = true;\n      }\n\n      if (!originRouteFound) {\n        continue;\n      }\n\n      if (callback(route) !== 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\n    willResolveModel: function (transition, originRoute) {\n      originRoute.router._scheduleLoadingEvent(transition, originRoute);\n    },\n\n    // Attempt to find an appropriate error route or substate to enter.\n    error: function (error, transition, originRoute) {\n      var handlerInfos = transition.state.handlerInfos;\n      var router = originRoute.router;\n\n      forEachRouteAbove(originRoute, handlerInfos, function (route) {\n        // Check for the existence of an 'error' route.\n        // We don't check for an 'error' route on the originRoute, since that would\n        // technically be below where we're at in the route hierarchy.\n        if (originRoute !== route) {\n          var errorRouteName = findRouteStateName(route, 'error');\n          if (errorRouteName) {\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        if (errorSubstateName) {\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\n    // Attempt to find an appropriate loading route or substate to enter.\n    loading: function (transition, originRoute) {\n      var handlerInfos = transition.state.handlerInfos;\n      var router = originRoute.router;\n\n      forEachRouteAbove(originRoute, handlerInfos, function (route) {\n        // Check for the existence of a 'loading' route.\n        // We don't check for a 'loading' route on the originRoute, since that would\n        // technically be below where we're at in the route hierarchy.\n        if (originRoute !== route) {\n          var loadingRouteName = findRouteStateName(route, 'loading');\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        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 errorArgs = [];\n    var error = undefined;\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    _emberConsole.default.error.apply(this, errorArgs);\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 router = route.router;\n    var owner = _emberUtils.getOwner(route);\n\n    var routeName = route.routeName;\n    var substateName = routeName + '_' + state;\n\n    var routeNameFull = route.fullRouteName;\n    var substateNameFull = routeNameFull + '_' + state;\n\n    return routeHasBeenDefined(owner, router, substateName, 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 router = route.router;\n    var owner = _emberUtils.getOwner(route);\n\n    var routeName = route.routeName;\n    var stateName = routeName === 'application' ? state : routeName + '.' + state;\n\n    var routeNameFull = route.fullRouteName;\n    var stateNameFull = routeNameFull === 'application' ? state : routeNameFull + '.' + 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 {Ember.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\n    if (!handlerInfos) {\n      if (ignoreFailure) {\n        return;\n      }\n      throw new _emberDebug.Error('Can\\'t trigger action \\'' + name + '\\' because your app hasn\\'t finished transitioning into its first route. To trigger an action on destination routes during a transition, you can call `.send()` on the `Transition` object passed to the `model/beforeModel/afterModel` hooks.');\n    }\n\n    var eventWasHandled = false;\n    var handlerInfo = undefined,\n        handler = undefined;\n\n    for (var i = handlerInfos.length - 1; i >= 0; i--) {\n      handlerInfo = handlerInfos[i];\n      handler = handlerInfo.handler;\n\n      if (handler && handler.actions && handler.actions[name]) {\n        if (handler.actions[name].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            var errorId = _emberUtils.guidFor(args[0]);\n            handler.router._markErrorAsHandled(errorId);\n          }\n          return;\n        }\n      }\n    }\n\n    if (defaultActionHandlers[name]) {\n      defaultActionHandlers[name].apply(null, args);\n      return;\n    }\n\n    if (!eventWasHandled && !ignoreFailure) {\n      throw new _emberDebug.Error('Nothing handled the action \\'' + name + '\\'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, causing the action to bubble.');\n    }\n  }\n\n  function calculatePostTransitionState(emberRouter, leafRouteName, contexts) {\n    var routerMicrolib = emberRouter._routerMicrolib;\n    var state = routerMicrolib.applyIntent(leafRouteName, contexts);\n    var handlerInfos = state.handlerInfos;\n    var params = state.params;\n\n    for (var i = 0; i < handlerInfos.length; ++i) {\n      var handlerInfo = handlerInfos[i];\n\n      // If the handlerInfo is not resolved, we serialize the context into params\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    _emberMetal.set(router, 'currentPath', path);\n    _emberMetal.set(router, 'currentRouteName', currentRouteName);\n    _emberMetal.set(router, 'currentURL', currentURL);\n\n    var appController = _emberUtils.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      _emberMetal.defineProperty(appController, 'currentPath');\n    }\n\n    _emberMetal.set(appController, 'currentPath', path);\n\n    if (!('currentRouteName' in appController)) {\n      _emberMetal.defineProperty(appController, 'currentRouteName');\n    }\n\n    _emberMetal.set(appController, 'currentRouteName', currentRouteName);\n  }\n\n  EmberRouter.reopenClass({\n    router: null,\n\n    /**\n      The `Router.map` function allows you to define mappings from URLs to routes\n      in your application. These mappings are defined within the\n      supplied callback function using `this.route`.\n       The first parameter is the name of the route which is used by default as the\n      path name as well.\n       The second parameter is the optional options hash. Available options are:\n         * `path`: allows you to provide your own path as well as mark dynamic\n          segments.\n        * `resetNamespace`: false by default; when nesting routes, ember will\n          combine the route names to form the fully-qualified route name, which is\n          used with `{{link-to}}` or manually transitioning to routes. Setting\n          `resetNamespace: true` will cause the route not to inherit from its\n          parent route's names. This is handy for preventing extremely long route names.\n          Keep in mind that the actual URL path behavior is still retained.\n       The third parameter is a function, which can be used to nest routes.\n      Nested routes, by default, will have the parent route tree's route name and\n      path prepended to it's own.\n       ```javascript\n      App.Router.map(function(){\n        this.route('post', { path: '/post/:post_id' }, function() {\n          this.route('edit');\n          this.route('comments', { resetNamespace: true }, function() {\n            this.route('new');\n          });\n        });\n      });\n      ```\n       For more detailed documentation and examples please see\n      [the guides](http://emberjs.com/guides/routing/defining-your-routes/).\n       @method map\n      @param callback\n      @public\n    */\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\n    _routePath: function (handlerInfos) {\n      var path = [];\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        for (var 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 = undefined,\n          nameParts = undefined,\n          oldNameParts = undefined;\n      for (var 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 = _emberRoutingSystemRouter_state.default.create({\n      emberRouter: router,\n      routerJs: router._routerMicrolib,\n      routerJsState: transition.state\n    });\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      var errorId = _emberUtils.guidFor(error);\n\n      if (router._isErrorHandled(errorId)) {\n        router._clearHandledError(errorId);\n      } else {\n        throw error;\n      }\n    });\n  }\n\n  function resemblesURL(str) {\n    return typeof str === 'string' && (str === '' || str[0] === '/');\n  }\n\n  function forEachQueryParam(router, handlerInfos, queryParams, callback) {\n    var qpCache = router._queryParamsFor(handlerInfos);\n\n    for (var key in queryParams) {\n      if (!queryParams.hasOwnProperty(key)) {\n        continue;\n      }\n      var value = queryParams[key];\n      var qp = qpCache.map[key];\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    while (stack.length > 0) {\n      var test = stack.shift();\n      if (test.render.name === name) {\n        return test;\n      }\n      var outlets = test.outlets;\n      for (var outletName in outlets) {\n        stack.push(outlets[outletName]);\n      }\n    }\n  }\n\n  function appendLiveRoute(liveRoutes, defaultParentState, renderOptions) {\n    var target = undefined;\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      _emberMetal.set(target.outlets, renderOptions.outlet, myState);\n    } else {\n      if (renderOptions.into) {\n        _emberDebug.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: 'http://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        appendOrphan(liveRoutes, renderOptions.into, myState);\n      } else {\n        liveRoutes = myState;\n      }\n    }\n    return {\n      liveRoutes: liveRoutes,\n      ownState: myState\n    };\n  }\n\n  function appendOrphan(liveRoutes, into, myState) {\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    liveRoutes.outlets.__ember_orphans__.outlets[into] = myState;\n    _emberMetal.run.schedule('afterRender', function () {\n      // `wasUsed` gets set by the render helper.\n      _emberDebug.assert('You attempted to render into \\'' + into + '\\' but it was not found', liveRoutes.outlets.__ember_orphans__.outlets[into].wasUsed);\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  _emberMetal.deprecateProperty(EmberRouter.prototype, 'router', '_routerMicrolib', {\n    id: 'ember-router.router',\n    until: '2.16',\n    url: 'http://emberjs.com/deprecations/v2.x/#toc_ember-router-router-renamed-to-ember-router-_routermicrolib'\n  });\n\n  exports.default = EmberRouter;\n});\n\n/**\n@module ember\n@submodule ember-routing\n*/\nenifed('ember-routing/system/router_state', ['exports', 'ember-utils', 'ember-metal', 'ember-runtime'], function (exports, _emberUtils, _emberMetal, _emberRuntime) {\n  'use strict';\n\n  exports.default = _emberRuntime.Object.extend({\n    emberRouter: null,\n    routerJs: null,\n    routerJsState: null,\n\n    isActiveIntent: function (routeName, models, queryParams, queryParamsMustMatch) {\n      var state = this.routerJsState;\n      if (!this.routerJs.isActiveIntent(routeName, models, null, state)) {\n        return false;\n      }\n\n      var emptyQueryParams = _emberMetal.isEmpty(Object.keys(queryParams));\n\n      if (queryParamsMustMatch && !emptyQueryParams) {\n        var visibleQueryParams = {};\n        _emberUtils.assign(visibleQueryParams, queryParams);\n\n        this.emberRouter._prepareQueryParams(routeName, models, visibleQueryParams);\n        return shallowEqual(visibleQueryParams, state.queryParams);\n      }\n\n      return true;\n    }\n  });\n\n  function shallowEqual(a, b) {\n    var k = undefined;\n    for (k in a) {\n      if (a.hasOwnProperty(k) && a[k] !== b[k]) {\n        return false;\n      }\n    }\n    for (k in b) {\n      if (b.hasOwnProperty(k) && a[k] !== b[k]) {\n        return false;\n      }\n    }\n    return true;\n  }\n});\nenifed('ember-routing/utils', ['exports', 'ember-utils', 'ember-metal', 'ember-debug'], function (exports, _emberUtils, _emberMetal, _emberDebug) {\n  'use strict';\n\n  exports.routeArgs = routeArgs;\n  exports.getActiveTargetName = getActiveTargetName;\n  exports.stashParamNames = stashParamNames;\n  exports.calculateCacheKey = calculateCacheKey;\n  exports.normalizeControllerQueryParams = normalizeControllerQueryParams;\n  exports.prefixRouteNameArg = prefixRouteNameArg;\n\n  var ALL_PERIODS_REGEX = /\\./g;\n\n  function routeArgs(targetRouteName, models, queryParams) {\n    var args = [];\n    if (typeof targetRouteName === 'string') {\n      args.push('' + targetRouteName);\n    }\n    args.push.apply(args, models);\n    args.push({ queryParams: queryParams });\n    return args;\n  }\n\n  function getActiveTargetName(router) {\n    var handlerInfos = router.activeTransition ? router.activeTransition.state.handlerInfos : router.state.handlerInfos;\n    return handlerInfos[handlerInfos.length - 1].name;\n  }\n\n  function stashParamNames(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    var recogHandlers = router._routerMicrolib.recognizer.handlersFor(targetRouteName);\n    var dynamicParent = null;\n\n    for (var i = 0; i < handlerInfos.length; ++i) {\n      var handlerInfo = handlerInfos[i];\n      var names = recogHandlers[i].names;\n\n      if (names.length) {\n        dynamicParent = handlerInfo;\n      }\n\n      handlerInfo._names = names;\n\n      var route = handlerInfo.handler;\n      route._stashNames(handlerInfo, dynamicParent);\n    }\n\n    handlerInfos._namesStashed = true;\n  }\n\n  function _calculateCacheValuePrefix(prefix, part) {\n    // calculates the dot seperated 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    var currPrefix = '';\n\n    for (var i = 0; i < prefixParts.length; i++) {\n      var currPart = prefixParts.slice(0, i + 1).join('.');\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\n  function calculateCacheKey(prefix, parts, values) {\n    if (parts === undefined) parts = [];\n\n    var suffixes = '';\n    for (var i = 0; i < parts.length; ++i) {\n      var part = parts[i];\n      var cacheValuePrefix = _calculateCacheValuePrefix(prefix, part);\n      var value = undefined;\n      if (values) {\n        if (cacheValuePrefix && cacheValuePrefix in values) {\n          var partRemovedPrefix = part.indexOf(cacheValuePrefix) === 0 ? part.substr(cacheValuePrefix.length + 1) : part;\n          value = _emberMetal.get(values[cacheValuePrefix], partRemovedPrefix);\n        } else {\n          value = _emberMetal.get(values, part);\n        }\n      }\n      suffixes += '::' + part + ':' + value;\n    }\n    return prefix + suffixes.replace(ALL_PERIODS_REGEX, '-');\n  }\n\n  /*\n    Controller-defined query parameters can come in three shapes:\n  \n    Array\n      queryParams: ['foo', 'bar']\n    Array of simple objects where value is an alias\n      queryParams: [\n        {\n          'foo': 'rename_foo_to_this'\n        },\n        {\n          'bar': 'call_bar_this_instead'\n        }\n      ]\n    Array of fully defined objects\n      queryParams: [\n        {\n          'foo': {\n            as: 'rename_foo_to_this'\n          },\n        }\n        {\n          'bar': {\n            as: 'call_bar_this_instead',\n            scope: 'controller'\n          }\n        }\n      ]\n  \n    This helper normalizes all three possible styles into the\n    'Array of fully defined objects' style.\n  */\n\n  function normalizeControllerQueryParams(queryParams) {\n    var qpMap = {};\n\n    for (var i = 0; i < queryParams.length; ++i) {\n      accumulateQueryParamDescriptors(queryParams[i], qpMap);\n    }\n\n    return qpMap;\n  }\n\n  function accumulateQueryParamDescriptors(_desc, accum) {\n    var desc = _desc;\n    var tmp = undefined;\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      var singleDesc = desc[key];\n      if (typeof singleDesc === 'string') {\n        singleDesc = { as: singleDesc };\n      }\n\n      tmp = accum[key] || { as: null, scope: 'model' };\n      _emberUtils.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.charAt(0) === '/');\n  }\n\n  /*\n    Returns an arguments array where the route name arg is prefixed based on the mount point\n  \n    @private\n  */\n\n  function prefixRouteNameArg(route, args) {\n    var routeName = args[0];\n    var owner = _emberUtils.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 _emberDebug.Error('Programmatic transitions by URL cannot be used within an Engine. Please use the route name instead.');\n      } else {\n        routeName = prefix + '.' + routeName;\n        args[0] = routeName;\n      }\n    }\n\n    return args;\n  }\n});\nenifed('ember-runtime/compare', ['exports', 'ember-runtime/utils', 'ember-runtime/mixins/comparable'], function (exports, _emberRuntimeUtils, _emberRuntimeMixinsComparable) {\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   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    Ember.compare('hello', 'hello');  // 0\n    Ember.compare('abc', 'dfg');      // -1\n    Ember.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    Ember.compare('hello', 50);       // 1\n    Ember.compare(50, 'hello');       // -1\n    ```\n  \n   @method compare\n   @for Ember\n   @param {Object} v First value to compare\n   @param {Object} w Second value to compare\n   @return {Number} -1 if v < w, 0 if v = w and 1 if v > w.\n   @public\n  */\n\n  function compare(v, w) {\n    if (v === w) {\n      return 0;\n    }\n\n    var type1 = _emberRuntimeUtils.typeOf(v);\n    var type2 = _emberRuntimeUtils.typeOf(w);\n\n    if (_emberRuntimeMixinsComparable.default) {\n      if (type1 === 'instance' && _emberRuntimeMixinsComparable.default.detect(v) && v.constructor.compare) {\n        return v.constructor.compare(v, w);\n      }\n\n      if (type2 === 'instance' && _emberRuntimeMixinsComparable.default.detect(w) && w.constructor.compare) {\n        return w.constructor.compare(w, v) * -1;\n      }\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          var vLen = v.length;\n          var wLen = w.length;\n          var len = Math.min(vLen, wLen);\n\n          for (var i = 0; i < len; i++) {\n            var r = compare(v[i], w[i]);\n            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 (_emberRuntimeMixinsComparable.default && _emberRuntimeMixinsComparable.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});\nenifed('ember-runtime/computed/computed_macros', ['exports', 'ember-metal', 'ember-debug'], function (exports, _emberMetal, _emberDebug) {\n  'use strict';\n\n  exports.empty = empty;\n  exports.notEmpty = notEmpty;\n  exports.none = none;\n  exports.not = not;\n  exports.bool = bool;\n  exports.match = match;\n  exports.equal = equal;\n  exports.gt = gt;\n  exports.gte = gte;\n  exports.lt = lt;\n  exports.lte = lte;\n  exports.oneWay = oneWay;\n  exports.readOnly = readOnly;\n  exports.deprecatingAlias = deprecatingAlias;\n\n  /**\n  @module ember\n  @submodule ember-metal\n  */\n\n  function expandPropertiesToArray(predicateName, properties) {\n    var expandedProperties = [];\n\n    function extractProperty(entry) {\n      expandedProperties.push(entry);\n    }\n\n    for (var i = 0; i < properties.length; i++) {\n      var property = properties[i];\n      _emberDebug.assert('Dependent keys passed to Ember.computed.' + predicateName + '() can\\'t have spaces.', property.indexOf(' ') < 0);\n\n      _emberMetal.expandProperties(property, extractProperty);\n    }\n\n    return expandedProperties;\n  }\n\n  function generateComputedWithPredicate(name, predicate) {\n    return function () {\n      for (var _len = arguments.length, properties = Array(_len), _key = 0; _key < _len; _key++) {\n        properties[_key] = arguments[_key];\n      }\n\n      var expandedProperties = expandPropertiesToArray(name, properties);\n\n      var computedFunc = _emberMetal.computed(function () {\n        var lastIdx = expandedProperties.length - 1;\n\n        for (var i = 0; i < lastIdx; i++) {\n          var value = _emberMetal.get(this, expandedProperties[i]);\n          if (!predicate(value)) {\n            return value;\n          }\n        }\n\n        return _emberMetal.get(this, expandedProperties[lastIdx]);\n      });\n\n      return computedFunc.property.apply(computedFunc, expandedProperties);\n    };\n  }\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    let ToDoList = Ember.Object.extend({\n      isDone: Ember.computed.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    @for Ember.computed\n    @param {String} dependentKey\n    @return {Ember.ComputedProperty} computed property which negate\n    the original value for property\n    @public\n  */\n\n  function empty(dependentKey) {\n    return _emberMetal.computed(dependentKey + '.length', function () {\n      return _emberMetal.isEmpty(_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    let Hamster = Ember.Object.extend({\n      hasStuff: Ember.computed.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    @for Ember.computed\n    @param {String} dependentKey\n    @return {Ember.ComputedProperty} computed property which returns true if\n    original value for property is not empty.\n    @public\n  */\n\n  function notEmpty(dependentKey) {\n    return _emberMetal.computed(dependentKey + '.length', function () {\n      return !_emberMetal.isEmpty(_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    let Hamster = Ember.Object.extend({\n      isHungry: Ember.computed.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    @for Ember.computed\n    @param {String} dependentKey\n    @return {Ember.ComputedProperty} computed property which\n    returns true if original value for property is null or undefined.\n    @public\n  */\n\n  function none(dependentKey) {\n    return _emberMetal.computed(dependentKey, function () {\n      return _emberMetal.isNone(_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    let User = Ember.Object.extend({\n      isAnonymous: Ember.computed.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    @for Ember.computed\n    @param {String} dependentKey\n    @return {Ember.ComputedProperty} computed property which returns\n    inverse of the original value for property\n    @public\n  */\n\n  function not(dependentKey) {\n    return _emberMetal.computed(dependentKey, function () {\n      return !_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    let Hamster = Ember.Object.extend({\n      hasBananas: Ember.computed.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    @for Ember.computed\n    @param {String} dependentKey\n    @return {Ember.ComputedProperty} computed property which converts\n    to boolean the original value for property\n    @public\n  */\n\n  function bool(dependentKey) {\n    return _emberMetal.computed(dependentKey, function () {\n      return !!_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    let User = Ember.Object.extend({\n      hasValidEmail: Ember.computed.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    @for Ember.computed\n    @param {String} dependentKey\n    @param {RegExp} regexp\n    @return {Ember.ComputedProperty} computed property which match\n    the original value for property against a given RegExp\n    @public\n  */\n\n  function match(dependentKey, regexp) {\n    return _emberMetal.computed(dependentKey, function () {\n      var value = _emberMetal.get(this, dependentKey);\n\n      return typeof value === 'string' ? regexp.test(value) : false;\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    let Hamster = Ember.Object.extend({\n      satisfied: Ember.computed.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    @for Ember.computed\n    @param {String} dependentKey\n    @param {String|Number|Object} value\n    @return {Ember.ComputedProperty} computed property which returns true if\n    the original value for property is equal to the given value.\n    @public\n  */\n\n  function equal(dependentKey, value) {\n    return _emberMetal.computed(dependentKey, function () {\n      return _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    let Hamster = Ember.Object.extend({\n      hasTooManyBananas: Ember.computed.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    @for Ember.computed\n    @param {String} dependentKey\n    @param {Number} value\n    @return {Ember.ComputedProperty} computed property which returns true if\n    the original value for property is greater than given value.\n    @public\n  */\n\n  function gt(dependentKey, value) {\n    return _emberMetal.computed(dependentKey, function () {\n      return _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    let Hamster = Ember.Object.extend({\n      hasTooManyBananas: Ember.computed.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    @for Ember.computed\n    @param {String} dependentKey\n    @param {Number} value\n    @return {Ember.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  function gte(dependentKey, value) {\n    return _emberMetal.computed(dependentKey, function () {\n      return _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    let Hamster = Ember.Object.extend({\n      needsMoreBananas: Ember.computed.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    @for Ember.computed\n    @param {String} dependentKey\n    @param {Number} value\n    @return {Ember.ComputedProperty} computed property which returns true if\n    the original value for property is less then given value.\n    @public\n  */\n\n  function lt(dependentKey, value) {\n    return _emberMetal.computed(dependentKey, function () {\n      return _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    let Hamster = Ember.Object.extend({\n      needsMoreBananas: Ember.computed.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    @for Ember.computed\n    @param {String} dependentKey\n    @param {Number} value\n    @return {Ember.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  function lte(dependentKey, value) {\n    return _emberMetal.computed(dependentKey, function () {\n      return _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    let Hamster = Ember.Object.extend({\n      readyForCamp: Ember.computed.and('hasTent', 'hasBackpack'),\n      readyForHike: Ember.computed.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    @for Ember.computed\n    @param {String} dependentKey*\n    @return {Ember.ComputedProperty} computed property which performs\n    a logical `and` on the values of all the original values for properties.\n    @public\n  */\n  var and = generateComputedWithPredicate('and', function (value) {\n    return value;\n  });\n\n  exports.and = and;\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    let Hamster = Ember.Object.extend({\n      readyForRain: Ember.computed.or('hasJacket', 'hasUmbrella'),\n      readyForBeach: Ember.computed.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    @for Ember.computed\n    @param {String} dependentKey*\n    @return {Ember.ComputedProperty} computed property which performs\n    a logical `or` on the values of all the original values for properties.\n    @public\n  */\n  var or = generateComputedWithPredicate('or', function (value) {\n    return !value;\n  });\n\n  exports.or = or;\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    let Person = Ember.Object.extend({\n      name: 'Alex Matchneer',\n      nomen: Ember.computed.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    @for Ember.computed\n    @param {String} dependentKey\n    @return {Ember.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    let User = Ember.Object.extend({\n      firstName: null,\n      lastName: null,\n      nickName: Ember.computed.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    @for Ember.computed\n    @param {String} dependentKey\n    @return {Ember.ComputedProperty} computed property which creates a\n    one way computed property to the original value for property.\n    @public\n  */\n\n  function oneWay(dependentKey) {\n    return _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    @for Ember.computed\n    @param {String} dependentKey\n    @return {Ember.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    let User = Ember.Object.extend({\n      firstName: null,\n      lastName: null,\n      nickName: Ember.computed.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 Ember.Error('Cannot Set: nickName on: <User:ember27288>' );`\n    teddy.get('firstName');             // 'Teddy'\n    ```\n  \n    @method readOnly\n    @for Ember.computed\n    @param {String} dependentKey\n    @return {Ember.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  function readOnly(dependentKey) {\n    return _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    let Hamster = Ember.Object.extend({\n      bananaCount: Ember.computed.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    @for Ember.computed\n    @param {String} dependentKey\n    @param {Object} options Options for `Ember.deprecate`.\n    @return {Ember.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  function deprecatingAlias(dependentKey, options) {\n    return _emberMetal.computed(dependentKey, {\n      get: function (key) {\n        _emberDebug.deprecate('Usage of `' + key + '` is deprecated, use `' + dependentKey + '` instead.', false, options);\n        return _emberMetal.get(this, dependentKey);\n      },\n      set: function (key, value) {\n        _emberDebug.deprecate('Usage of `' + key + '` is deprecated, use `' + dependentKey + '` instead.', false, options);\n        _emberMetal.set(this, dependentKey, value);\n        return value;\n      }\n    });\n  }\n});\nenifed('ember-runtime/computed/reduce_computed_macros', ['exports', 'ember-utils', 'ember-debug', 'ember-metal', 'ember-runtime/compare', 'ember-runtime/utils', 'ember-runtime/system/native_array'], function (exports, _emberUtils, _emberDebug, _emberMetal, _emberRuntimeCompare, _emberRuntimeUtils, _emberRuntimeSystemNative_array) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  'use strict';\n\n  exports.sum = sum;\n  exports.max = max;\n  exports.min = min;\n  exports.map = map;\n  exports.mapBy = mapBy;\n  exports.filter = filter;\n  exports.filterBy = filterBy;\n  exports.uniq = uniq;\n  exports.uniqBy = uniqBy;\n  exports.intersect = intersect;\n  exports.setDiff = setDiff;\n  exports.collect = collect;\n  exports.sort = sort;\n\n  function reduceMacro(dependentKey, callback, initialValue) {\n    return _emberMetal.computed(dependentKey + '.[]', function () {\n      var _this = this;\n\n      var arr = _emberMetal.get(this, dependentKey);\n\n      if (arr === null || typeof arr !== 'object') {\n        return initialValue;\n      }\n\n      return arr.reduce(function (previousValue, currentValue, index, array) {\n        return callback.call(_this, previousValue, currentValue, index, array);\n      }, initialValue);\n    }).readOnly();\n  }\n\n  function arrayMacro(dependentKey, callback) {\n    // This is a bit ugly\n    var propertyName = undefined;\n    if (/@each/.test(dependentKey)) {\n      propertyName = dependentKey.replace(/\\.@each.*$/, '');\n    } else {\n      propertyName = dependentKey;\n      dependentKey += '.[]';\n    }\n\n    return _emberMetal.computed(dependentKey, function () {\n      var value = _emberMetal.get(this, propertyName);\n      if (_emberRuntimeUtils.isArray(value)) {\n        return _emberRuntimeSystemNative_array.A(callback.call(this, value));\n      } else {\n        return _emberRuntimeSystemNative_array.A();\n      }\n    }).readOnly();\n  }\n\n  function multiArrayMacro(dependentKeys, callback) {\n    var args = dependentKeys.map(function (key) {\n      return key + '.[]';\n    });\n\n    args.push(function () {\n      return _emberRuntimeSystemNative_array.A(callback.call(this, dependentKeys));\n    });\n\n    return _emberMetal.computed.apply(this, args).readOnly();\n  }\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.computed\n    @param {String} dependentKey\n    @return {Ember.ComputedProperty} computes the sum of all values in the dependentKey's array\n    @since 1.4.0\n    @public\n  */\n\n  function sum(dependentKey) {\n    return reduceMacro(dependentKey, function (sum, item) {\n      return sum + item;\n    }, 0);\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    let Person = Ember.Object.extend({\n      childAges: Ember.computed.mapBy('children', 'age'),\n      maxChildAge: Ember.computed.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.computed\n    @param {String} dependentKey\n    @return {Ember.ComputedProperty} computes the largest value in the dependentKey's array\n    @public\n  */\n\n  function max(dependentKey) {\n    return reduceMacro(dependentKey, function (max, item) {\n      return Math.max(max, item);\n    }, -Infinity);\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    let Person = Ember.Object.extend({\n      childAges: Ember.computed.mapBy('children', 'age'),\n      minChildAge: Ember.computed.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.computed\n    @param {String} dependentKey\n    @return {Ember.ComputedProperty} computes the smallest value in the dependentKey's array\n    @public\n  */\n\n  function min(dependentKey) {\n    return reduceMacro(dependentKey, function (min, item) {\n      return Math.min(min, item);\n    }, Infinity);\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    let Hamster = Ember.Object.extend({\n      excitingChores: Ember.computed.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.computed\n    @param {String} dependentKey\n    @param {Function} callback\n    @return {Ember.ComputedProperty} an array mapped via the callback\n    @public\n  */\n\n  function map(dependentKey, callback) {\n    return arrayMacro(dependentKey, function (value) {\n      return value.map(callback, this);\n    });\n  }\n\n  /**\n    Returns an array mapped to the specified key.\n  \n    ```javascript\n    let Person = Ember.Object.extend({\n      childAges: Ember.computed.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.computed\n    @param {String} dependentKey\n    @param {String} propertyKey\n    @return {Ember.ComputedProperty} an array mapped to the specified key\n    @public\n  */\n\n  function mapBy(dependentKey, propertyKey) {\n    _emberDebug.assert('Ember.computed.mapBy expects a property string for its second argument, ' + 'perhaps you meant to use \"map\"', typeof propertyKey === 'string');\n\n    return map(dependentKey + '.@each.' + propertyKey, function (item) {\n      return _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    let Hamster = Ember.Object.extend({\n      remainingChores: Ember.computed.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    let Hamster = Ember.Object.extend({\n      remainingChores: Ember.computed.filter('chores.@each.done', function(chore, index, array) {\n        return !chore.get('done');\n      })\n    });\n  \n    let hamster = Hamster.create({\n      chores: Ember.A([\n        Ember.Object.create({ name: 'cook', done: true }),\n        Ember.Object.create({ name: 'clean', done: true }),\n        Ember.Object.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.computed\n    @param {String} dependentKey\n    @param {Function} callback\n    @return {Ember.ComputedProperty} the filtered array\n    @public\n  */\n\n  function filter(dependentKey, callback) {\n    return arrayMacro(dependentKey, function (value) {\n      return value.filter(callback, this);\n    });\n  }\n\n  /**\n    Filters the array by the property and value\n  \n    ```javascript\n    let Hamster = Ember.Object.extend({\n      remainingChores: Ember.computed.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.computed\n    @param {String} dependentKey\n    @param {String} propertyKey\n    @param {*} value\n    @return {Ember.ComputedProperty} the filtered array\n    @public\n  */\n\n  function filterBy(dependentKey, propertyKey, value) {\n    var callback = undefined;\n\n    if (arguments.length === 2) {\n      callback = function (item) {\n        return _emberMetal.get(item, propertyKey);\n      };\n    } else {\n      callback = function (item) {\n        return _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    let Hamster = Ember.Object.extend({\n      uniqueFruits: Ember.computed.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.computed\n    @param {String} propertyKey*\n    @return {Ember.ComputedProperty} computes a new array with all the\n    unique elements from the dependent array\n    @public\n  */\n\n  function uniq() {\n    for (var _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 _this2 = this;\n\n      var uniq = _emberRuntimeSystemNative_array.A();\n\n      dependentKeys.forEach(function (dependentKey) {\n        var value = _emberMetal.get(_this2, dependentKey);\n        if (_emberRuntimeUtils.isArray(value)) {\n          value.forEach(function (item) {\n            if (uniq.indexOf(item) === -1) {\n              uniq.push(item);\n            }\n          });\n        }\n      });\n\n      return uniq;\n    });\n  }\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    let Hamster = Ember.Object.extend({\n      uniqueFruits: Ember.computed.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.computed\n    @param {String} dependentKey\n    @param {String} propertyKey\n    @return {Ember.ComputedProperty} computes a new array with all the\n    unique elements from the dependent array\n    @public\n  */\n\n  function uniqBy(dependentKey, propertyKey) {\n    return _emberMetal.computed(dependentKey + '.[]', function () {\n      var uniq = _emberRuntimeSystemNative_array.A();\n      var seen = Object.create(null);\n      var list = _emberMetal.get(this, dependentKey);\n      if (_emberRuntimeUtils.isArray(list)) {\n        list.forEach(function (item) {\n          var guid = _emberUtils.guidFor(_emberMetal.get(item, propertyKey));\n          if (!(guid in seen)) {\n            seen[guid] = true;\n            uniq.push(item);\n          }\n        });\n      }\n      return uniq;\n    }).readOnly();\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    let Hamster = Ember.Object.extend({\n      uniqueFruits: Ember.computed.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.computed\n    @param {String} propertyKey*\n    @return {Ember.ComputedProperty} computes a new array with all the\n    unique elements from the dependent array\n    @public\n  */\n  var union = uniq;\n\n  exports.union = union;\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    let obj = Ember.Object.extend({\n      friendsInCommon: Ember.computed.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.computed\n    @param {String} propertyKey*\n    @return {Ember.ComputedProperty} computes a new array with all the\n    duplicated elements from the dependent arrays\n    @public\n  */\n\n  function intersect() {\n    for (var _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 _this3 = this;\n\n      var arrays = dependentKeys.map(function (dependentKey) {\n        var array = _emberMetal.get(_this3, dependentKey);\n\n        return _emberRuntimeUtils.isArray(array) ? array : [];\n      });\n\n      var results = arrays.pop().filter(function (candidate) {\n        for (var i = 0; i < arrays.length; i++) {\n          var found = false;\n          var array = arrays[i];\n          for (var j = 0; j < array.length; j++) {\n            if (array[j] === candidate) {\n              found = true;\n              break;\n            }\n          }\n\n          if (found === false) {\n            return false;\n          }\n        }\n\n        return true;\n      });\n\n      return _emberRuntimeSystemNative_array.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    let Hamster = Ember.Object.extend({\n      likes: ['banana', 'grape', 'kale'],\n      wants: Ember.computed.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.computed\n    @param {String} setAProperty\n    @param {String} setBProperty\n    @return {Ember.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  function setDiff(setAProperty, setBProperty) {\n    if (arguments.length !== 2) {\n      throw new _emberDebug.Error('setDiff requires exactly two dependent arrays.');\n    }\n\n    return _emberMetal.computed(setAProperty + '.[]', setBProperty + '.[]', function () {\n      var setA = this.get(setAProperty);\n      var setB = this.get(setBProperty);\n\n      if (!_emberRuntimeUtils.isArray(setA)) {\n        return _emberRuntimeSystemNative_array.A();\n      }\n      if (!_emberRuntimeUtils.isArray(setB)) {\n        return _emberRuntimeSystemNative_array.A(setA);\n      }\n\n      return setA.filter(function (x) {\n        return setB.indexOf(x) === -1;\n      });\n    }).readOnly();\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    let Hamster = Ember.Object.extend({\n      clothes: Ember.computed.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.computed\n    @param {String} dependentKey*\n    @return {Ember.ComputedProperty} computed property which maps\n    values of all passed in properties to an array.\n    @public\n  */\n\n  function collect() {\n    for (var _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 = _emberMetal.getProperties(this, dependentKeys);\n      var res = _emberRuntimeSystemNative_array.A();\n      for (var key in properties) {\n        if (properties.hasOwnProperty(key)) {\n          if (_emberMetal.isNone(properties[key])) {\n            res.push(null);\n          } else {\n            res.push(properties[key]);\n          }\n        }\n      }\n      return res;\n    });\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    let ToDoList = Ember.Object.extend({\n      // using standard ascending sort\n      todosSorting: ['name'],\n      sortedTodos: Ember.computed.sort('todos', 'todosSorting'),\n  \n      // using descending sort\n      todosSortingDesc: ['name:desc'],\n      sortedTodosDesc: Ember.computed.sort('todos', 'todosSortingDesc'),\n  \n      // using a custom sort function\n      priorityTodos: Ember.computed.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.computed\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 {Ember.ComputedProperty} computes a new sorted array based\n    on the sort property array or callback function\n    @public\n  */\n\n  function sort(itemsKey, sortDefinition) {\n    _emberDebug.assert('Ember.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 customSort(itemsKey, comparator) {\n    return arrayMacro(itemsKey, function (value) {\n      var _this4 = this;\n\n      return value.slice().sort(function (x, y) {\n        return comparator.call(_this4, x, y);\n      });\n    });\n  }\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 _this5 = this;\n\n      var itemsKeyIsAtThis = itemsKey === '@this';\n      var sortProperties = _emberMetal.get(this, sortPropertiesKey);\n\n      _emberDebug.assert('The sort definition for \\'' + key + '\\' on ' + this + ' must be a function or an array of strings', _emberRuntimeUtils.isArray(sortProperties) && sortProperties.every(function (s) {\n        return typeof s === 'string';\n      }));\n\n      var normalizedSortProperties = normalizeSortProperties(sortProperties);\n\n      // Add/remove property observers as required.\n      var activeObserversMap = cp._activeObserverMap || (cp._activeObserverMap = new _emberMetal.WeakMap());\n      var activeObservers = activeObserversMap.get(this);\n\n      if (activeObservers) {\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      activeObservers = normalizedSortProperties.map(function (_ref) {\n        var prop = _ref[0];\n\n        var path = itemsKeyIsAtThis ? '@each.' + prop : itemsKey + '.@each.' + prop;\n        var args = [_this5, path, sortPropertyDidChange];\n        _emberMetal.addObserver.apply(undefined, args);\n        return args;\n      });\n\n      activeObserversMap.set(this, activeObservers);\n\n      // Sort and return the array.\n      var items = itemsKeyIsAtThis ? this : _emberMetal.get(this, itemsKey);\n\n      if (_emberRuntimeUtils.isArray(items)) {\n        return sortByNormalizedSortProperties(items, normalizedSortProperties);\n      } else {\n        return _emberRuntimeSystemNative_array.A();\n      }\n    });\n\n    cp._activeObserverMap = undefined;\n\n    return cp.property(sortPropertiesKey + '.[]').readOnly();\n  }\n\n  function normalizeSortProperties(sortProperties) {\n    return sortProperties.map(function (p) {\n      var _p$split = p.split(':');\n\n      var prop = _p$split[0];\n      var direction = _p$split[1];\n\n      direction = direction || 'asc';\n\n      return [prop, direction];\n    });\n  }\n\n  function sortByNormalizedSortProperties(items, normalizedSortProperties) {\n    return _emberRuntimeSystemNative_array.A(items.slice().sort(function (itemA, itemB) {\n      for (var i = 0; i < normalizedSortProperties.length; i++) {\n        var _normalizedSortProperties$i = normalizedSortProperties[i];\n        var prop = _normalizedSortProperties$i[0];\n        var direction = _normalizedSortProperties$i[1];\n\n        var result = _emberRuntimeCompare.default(_emberMetal.get(itemA, prop), _emberMetal.get(itemB, prop));\n        if (result !== 0) {\n          return direction === 'desc' ? -1 * result : result;\n        }\n      }\n\n      return 0;\n    }));\n  }\n});\nenifed('ember-runtime/controllers/controller', ['exports', 'ember-debug', 'ember-runtime/system/object', 'ember-runtime/mixins/controller', 'ember-runtime/inject', 'ember-runtime/mixins/action_handler'], function (exports, _emberDebug, _emberRuntimeSystemObject, _emberRuntimeMixinsController, _emberRuntimeInject, _emberRuntimeMixinsAction_handler) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  /**\n    @class Controller\n    @namespace Ember\n    @extends Ember.Object\n    @uses Ember.ControllerMixin\n    @public\n  */\n  var Controller = _emberRuntimeSystemObject.default.extend(_emberRuntimeMixinsController.default);\n\n  _emberRuntimeMixinsAction_handler.deprecateUnderscoreActions(Controller);\n\n  function controllerInjectionHelper(factory) {\n    _emberDebug.assert('Defining an injected controller property on a ' + 'non-controller is not allowed.', _emberRuntimeMixinsController.default.detect(factory.PrototypeMixin));\n  }\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    ```javascript\n    App.PostController = Ember.Controller.extend({\n      posts: Ember.inject.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. This is functionally equivalent to:\n  \n    ```javascript\n    App.PostController = Ember.Controller.extend({\n      needs: 'posts',\n      posts: Ember.computed.alias('controllers.posts')\n    });\n    ```\n  \n    @method controller\n    @since 1.10.0\n    @for Ember.inject\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  _emberRuntimeInject.createInjectionHelper('controller', controllerInjectionHelper);\n\n  exports.default = Controller;\n});\nenifed('ember-runtime/copy', ['exports', 'ember-debug', 'ember-runtime/system/object', 'ember-runtime/mixins/copyable'], function (exports, _emberDebug, _emberRuntimeSystemObject, _emberRuntimeMixinsCopyable) {\n  'use strict';\n\n  exports.default = copy;\n\n  function _copy(obj, deep, seen, copies) {\n    var ret = undefined,\n        loc = undefined,\n        key = undefined;\n\n    // primitive data types are immutable, just return them.\n    if (typeof obj !== 'object' || obj === null) {\n      return obj;\n    }\n\n    // avoid cyclical loops\n    if (deep && (loc = seen.indexOf(obj)) >= 0) {\n      return copies[loc];\n    }\n\n    _emberDebug.assert('Cannot clone an Ember.Object that does not implement Ember.Copyable', !(obj instanceof _emberRuntimeSystemObject.default) || _emberRuntimeMixinsCopyable.default && _emberRuntimeMixinsCopyable.default.detect(obj));\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 (_emberRuntimeMixinsCopyable.default && _emberRuntimeMixinsCopyable.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      ret = {};\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\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 `Ember.Copyable` interface, then this\n    function will delegate to the object's `copy()` method and return the\n    result. See `Ember.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    @for Ember\n    @param {Object} obj The object to clone\n    @param {Boolean} [deep=false] If true, a deep copy of the object is made.\n    @return {Object} The copied object\n    @public\n  */\n\n  function copy(obj, deep) {\n    // fast paths\n    if ('object' !== typeof obj || obj === null) {\n      return obj; // can't copy primitives\n    }\n\n    if (_emberRuntimeMixinsCopyable.default && _emberRuntimeMixinsCopyable.default.detect(obj)) {\n      return obj.copy(deep);\n    }\n\n    return _copy(obj, deep, deep ? [] : null, deep ? [] : null);\n  }\n});\nenifed('ember-runtime/ext/function', ['exports', 'ember-environment', 'ember-metal', 'ember-debug'], function (exports, _emberEnvironment, _emberMetal, _emberDebug) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  'use strict';\n\n  var a_slice = Array.prototype.slice;\n  var FunctionPrototype = Function.prototype;\n\n  if (_emberEnvironment.ENV.EXTEND_PROTOTYPES.Function) {\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       ```javascript\n      MyApp.President = Ember.Object.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       let president = MyApp.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       ```javascript\n      MyApp.President = Ember.Object.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 [Ember.ComputedProperty](/api/classes/Ember.ComputedProperty.html), [Ember.computed](/api/classes/Ember.computed.html).\n       @method property\n      @for Function\n      @public\n    */\n    FunctionPrototype.property = function () {\n      var ret = _emberMetal.computed(this);\n      // ComputedProperty.prototype.property expands properties; no need for us to\n      // do so here.\n      return ret.property.apply(ret, arguments);\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      Ember.Object.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 `Ember.observer`.\n       @method observes\n      @for Function\n      @public\n    */\n    FunctionPrototype.observes = function () {\n      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      args.push(this);\n      return _emberMetal.observer.apply(this, args);\n    };\n\n    FunctionPrototype._observesImmediately = function () {\n      _emberDebug.assert('Immediate observers must observe internal properties only, ' + 'not properties on other objects.', function checkIsInternalProperty() {\n        for (var i = 0; i < arguments.length; i++) {\n          if (arguments[i].indexOf('.') !== -1) {\n            return false;\n          }\n        }\n        return true;\n      });\n\n      // observes handles property expansion\n      return this.observes.apply(this, arguments);\n    };\n    /**\n      The `observesImmediately` extension of Javascript's Function prototype is\n      available when `EmberENV.EXTEND_PROTOTYPES` or\n      `EmberENV.EXTEND_PROTOTYPES.Function` is true, which is the default.\n       You can observe property changes simply by adding the `observesImmediately`\n      call to the end of your method declarations in classes that you write.\n      For example:\n       ```javascript\n      Ember.Object.extend({\n        valueObserver: function() {\n          // Executes immediately after the \"value\" property changes\n        }.observesImmediately('value')\n      });\n      ```\n       In the future, `observes` may become asynchronous. In this event,\n      `observesImmediately` will maintain the synchronous behavior.\n       See `Ember.immediateObserver`.\n       @method observesImmediately\n      @for Function\n      @deprecated\n      @private\n    */\n    FunctionPrototype.observesImmediately = _emberDebug.deprecateFunc('Function#observesImmediately is deprecated. Use Function#observes instead', { id: 'ember-runtime.ext-function', until: '3.0.0' }, FunctionPrototype._observesImmediately);\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      Ember.Mixin.create({\n        doSomethingWithElement: function() {\n          // Executes whenever the \"didInsertElement\" event fires\n        }.on('didInsertElement')\n      });\n      ```\n       See `Ember.on`.\n       @method on\n      @for Function\n      @public\n    */\n    FunctionPrototype.on = function () {\n      var events = a_slice.call(arguments);\n      this.__ember_listens__ = events;\n\n      return this;\n    };\n  }\n});\nenifed('ember-runtime/ext/rsvp', ['exports', 'rsvp', 'ember-metal', 'ember-debug'], function (exports, _rsvp, _emberMetal, _emberDebug) {\n  'use strict';\n\n  exports.onerrorDefault = onerrorDefault;\n\n  var backburner = _emberMetal.run.backburner;\n  _emberMetal.run._addQueue('rsvpAfter', 'destroy');\n\n  _rsvp.configure('async', function (callback, promise) {\n    backburner.schedule('actions', null, callback, promise);\n  });\n\n  _rsvp.configure('after', function (cb) {\n    backburner.schedule('rsvpAfter', null, cb);\n  });\n\n  _rsvp.on('error', onerrorDefault);\n\n  function onerrorDefault(reason) {\n    var error = errorFor(reason);\n    if (error) {\n      _emberMetal.dispatchError(error);\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      _emberDebug.assert('The URL \\'' + reason.message + '\\' did not match any routes in your application', false);\n      return;\n    }\n\n    if (reason.name === 'TransitionAborted') {\n      return;\n    }\n\n    return reason;\n  }\n\n  function unwrapErrorThrown(reason) {\n    var error = reason.errorThrown;\n    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});\nenifed('ember-runtime/ext/string', ['exports', 'ember-environment', 'ember-runtime/system/string'], function (exports, _emberEnvironment, _emberRuntimeSystemString) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  'use strict';\n\n  var StringPrototype = String.prototype;\n\n  if (_emberEnvironment.ENV.EXTEND_PROTOTYPES.String) {\n    /**\n      See [Ember.String.fmt](/api/classes/Ember.String.html#method_fmt).\n       @method fmt\n      @for String\n      @private\n      @deprecated\n    */\n    StringPrototype.fmt = function () {\n      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      return _emberRuntimeSystemString.fmt(this, args);\n    };\n\n    /**\n      See [Ember.String.w](/api/classes/Ember.String.html#method_w).\n       @method w\n      @for String\n      @private\n    */\n    StringPrototype.w = function () {\n      return _emberRuntimeSystemString.w(this);\n    };\n\n    /**\n      See [Ember.String.loc](/api/classes/Ember.String.html#method_loc).\n       @method loc\n      @for String\n      @private\n    */\n    StringPrototype.loc = function () {\n      for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n        args[_key2] = arguments[_key2];\n      }\n\n      return _emberRuntimeSystemString.loc(this, args);\n    };\n\n    /**\n      See [Ember.String.camelize](/api/classes/Ember.String.html#method_camelize).\n       @method camelize\n      @for String\n      @private\n    */\n    StringPrototype.camelize = function () {\n      return _emberRuntimeSystemString.camelize(this);\n    };\n\n    /**\n      See [Ember.String.decamelize](/api/classes/Ember.String.html#method_decamelize).\n       @method decamelize\n      @for String\n      @private\n    */\n    StringPrototype.decamelize = function () {\n      return _emberRuntimeSystemString.decamelize(this);\n    };\n\n    /**\n      See [Ember.String.dasherize](/api/classes/Ember.String.html#method_dasherize).\n       @method dasherize\n      @for String\n      @private\n    */\n    StringPrototype.dasherize = function () {\n      return _emberRuntimeSystemString.dasherize(this);\n    };\n\n    /**\n      See [Ember.String.underscore](/api/classes/Ember.String.html#method_underscore).\n       @method underscore\n      @for String\n      @private\n    */\n    StringPrototype.underscore = function () {\n      return _emberRuntimeSystemString.underscore(this);\n    };\n\n    /**\n      See [Ember.String.classify](/api/classes/Ember.String.html#method_classify).\n       @method classify\n      @for String\n      @private\n    */\n    StringPrototype.classify = function () {\n      return _emberRuntimeSystemString.classify(this);\n    };\n\n    /**\n      See [Ember.String.capitalize](/api/classes/Ember.String.html#method_capitalize).\n       @method capitalize\n      @for String\n      @private\n    */\n    StringPrototype.capitalize = function () {\n      return _emberRuntimeSystemString.capitalize(this);\n    };\n  }\n});\nenifed('ember-runtime/index', ['exports', 'ember-runtime/ext/string', 'ember-runtime/ext/function', 'ember-runtime/system/object', 'ember-runtime/system/string', 'ember-runtime/mixins/registry_proxy', 'ember-runtime/mixins/container_proxy', 'ember-runtime/copy', 'ember-runtime/inject', 'ember-runtime/compare', 'ember-runtime/is-equal', 'ember-runtime/mixins/array', 'ember-runtime/mixins/comparable', 'ember-runtime/system/namespace', 'ember-runtime/system/array_proxy', 'ember-runtime/system/object_proxy', 'ember-runtime/system/core_object', 'ember-runtime/system/native_array', 'ember-runtime/mixins/action_handler', 'ember-runtime/mixins/copyable', 'ember-runtime/mixins/enumerable', 'ember-runtime/mixins/freezable', 'ember-runtime/mixins/-proxy', 'ember-runtime/system/lazy_load', 'ember-runtime/mixins/observable', 'ember-runtime/mixins/mutable_enumerable', 'ember-runtime/mixins/mutable_array', 'ember-runtime/mixins/target_action_support', 'ember-runtime/mixins/evented', 'ember-runtime/mixins/promise_proxy', 'ember-runtime/computed/computed_macros', 'ember-runtime/computed/reduce_computed_macros', 'ember-runtime/controllers/controller', 'ember-runtime/mixins/controller', 'ember-runtime/system/service', 'ember-runtime/ext/rsvp', 'ember-runtime/utils', 'ember-runtime/string_registry'], function (exports, _emberRuntimeExtString, _emberRuntimeExtFunction, _emberRuntimeSystemObject, _emberRuntimeSystemString, _emberRuntimeMixinsRegistry_proxy, _emberRuntimeMixinsContainer_proxy, _emberRuntimeCopy, _emberRuntimeInject, _emberRuntimeCompare, _emberRuntimeIsEqual, _emberRuntimeMixinsArray, _emberRuntimeMixinsComparable, _emberRuntimeSystemNamespace, _emberRuntimeSystemArray_proxy, _emberRuntimeSystemObject_proxy, _emberRuntimeSystemCore_object, _emberRuntimeSystemNative_array, _emberRuntimeMixinsAction_handler, _emberRuntimeMixinsCopyable, _emberRuntimeMixinsEnumerable, _emberRuntimeMixinsFreezable, _emberRuntimeMixinsProxy, _emberRuntimeSystemLazy_load, _emberRuntimeMixinsObservable, _emberRuntimeMixinsMutable_enumerable, _emberRuntimeMixinsMutable_array, _emberRuntimeMixinsTarget_action_support, _emberRuntimeMixinsEvented, _emberRuntimeMixinsPromise_proxy, _emberRuntimeComputedComputed_macros, _emberRuntimeComputedReduce_computed_macros, _emberRuntimeControllersController, _emberRuntimeMixinsController, _emberRuntimeSystemService, _emberRuntimeExtRsvp, _emberRuntimeUtils, _emberRuntimeString_registry) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  'use strict';\n\n  exports.Object = _emberRuntimeSystemObject.default;\n  exports.FrameworkObject = _emberRuntimeSystemObject.FrameworkObject;\n  exports.String = _emberRuntimeSystemString.default;\n  exports.RegistryProxyMixin = _emberRuntimeMixinsRegistry_proxy.default;\n  exports.buildFakeRegistryWithDeprecations = _emberRuntimeMixinsRegistry_proxy.buildFakeRegistryWithDeprecations;\n  exports.ContainerProxyMixin = _emberRuntimeMixinsContainer_proxy.default;\n  exports.copy = _emberRuntimeCopy.default;\n  exports.inject = _emberRuntimeInject.default;\n  exports.compare = _emberRuntimeCompare.default;\n  exports.isEqual = _emberRuntimeIsEqual.default;\n  exports.Array = _emberRuntimeMixinsArray.default;\n  exports.objectAt = _emberRuntimeMixinsArray.objectAt;\n  exports.isEmberArray = _emberRuntimeMixinsArray.isEmberArray;\n  exports.addArrayObserver = _emberRuntimeMixinsArray.addArrayObserver;\n  exports.removeArrayObserver = _emberRuntimeMixinsArray.removeArrayObserver;\n  exports.Comparable = _emberRuntimeMixinsComparable.default;\n  exports.Namespace = _emberRuntimeSystemNamespace.default;\n  exports.isNamespaceSearchDisabled = _emberRuntimeSystemNamespace.isSearchDisabled;\n  exports.setNamespaceSearchDisabled = _emberRuntimeSystemNamespace.setSearchDisabled;\n  exports.ArrayProxy = _emberRuntimeSystemArray_proxy.default;\n  exports.ObjectProxy = _emberRuntimeSystemObject_proxy.default;\n  exports.CoreObject = _emberRuntimeSystemCore_object.default;\n  exports.NativeArray = _emberRuntimeSystemNative_array.default;\n  exports.A = _emberRuntimeSystemNative_array.A;\n  exports.ActionHandler = _emberRuntimeMixinsAction_handler.default;\n  exports.deprecateUnderscoreActions = _emberRuntimeMixinsAction_handler.deprecateUnderscoreActions;\n  exports.Copyable = _emberRuntimeMixinsCopyable.default;\n  exports.Enumerable = _emberRuntimeMixinsEnumerable.default;\n  exports.Freezable = _emberRuntimeMixinsFreezable.Freezable;\n  exports.FROZEN_ERROR = _emberRuntimeMixinsFreezable.FROZEN_ERROR;\n  exports._ProxyMixin = _emberRuntimeMixinsProxy.default;\n  exports.onLoad = _emberRuntimeSystemLazy_load.onLoad;\n  exports.runLoadHooks = _emberRuntimeSystemLazy_load.runLoadHooks;\n  exports._loaded = _emberRuntimeSystemLazy_load._loaded;\n  exports.Observable = _emberRuntimeMixinsObservable.default;\n  exports.MutableEnumerable = _emberRuntimeMixinsMutable_enumerable.default;\n  exports.MutableArray = _emberRuntimeMixinsMutable_array.default;\n  exports.removeAt = _emberRuntimeMixinsMutable_array.removeAt;\n  exports.TargetActionSupport = _emberRuntimeMixinsTarget_action_support.default;\n  exports.Evented = _emberRuntimeMixinsEvented.default;\n  exports.PromiseProxyMixin = _emberRuntimeMixinsPromise_proxy.default;\n  exports.empty = _emberRuntimeComputedComputed_macros.empty;\n  exports.notEmpty = _emberRuntimeComputedComputed_macros.notEmpty;\n  exports.none = _emberRuntimeComputedComputed_macros.none;\n  exports.not = _emberRuntimeComputedComputed_macros.not;\n  exports.bool = _emberRuntimeComputedComputed_macros.bool;\n  exports.match = _emberRuntimeComputedComputed_macros.match;\n  exports.equal = _emberRuntimeComputedComputed_macros.equal;\n  exports.gt = _emberRuntimeComputedComputed_macros.gt;\n  exports.gte = _emberRuntimeComputedComputed_macros.gte;\n  exports.lt = _emberRuntimeComputedComputed_macros.lt;\n  exports.lte = _emberRuntimeComputedComputed_macros.lte;\n  exports.oneWay = _emberRuntimeComputedComputed_macros.oneWay;\n  exports.readOnly = _emberRuntimeComputedComputed_macros.readOnly;\n  exports.deprecatingAlias = _emberRuntimeComputedComputed_macros.deprecatingAlias;\n  exports.and = _emberRuntimeComputedComputed_macros.and;\n  exports.or = _emberRuntimeComputedComputed_macros.or;\n  exports.sum = _emberRuntimeComputedReduce_computed_macros.sum;\n  exports.min = _emberRuntimeComputedReduce_computed_macros.min;\n  exports.max = _emberRuntimeComputedReduce_computed_macros.max;\n  exports.map = _emberRuntimeComputedReduce_computed_macros.map;\n  exports.sort = _emberRuntimeComputedReduce_computed_macros.sort;\n  exports.setDiff = _emberRuntimeComputedReduce_computed_macros.setDiff;\n  exports.mapBy = _emberRuntimeComputedReduce_computed_macros.mapBy;\n  exports.filter = _emberRuntimeComputedReduce_computed_macros.filter;\n  exports.filterBy = _emberRuntimeComputedReduce_computed_macros.filterBy;\n  exports.uniq = _emberRuntimeComputedReduce_computed_macros.uniq;\n  exports.uniqBy = _emberRuntimeComputedReduce_computed_macros.uniqBy;\n  exports.union = _emberRuntimeComputedReduce_computed_macros.union;\n  exports.intersect = _emberRuntimeComputedReduce_computed_macros.intersect;\n  exports.collect = _emberRuntimeComputedReduce_computed_macros.collect;\n  exports.Controller = _emberRuntimeControllersController.default;\n  exports.ControllerMixin = _emberRuntimeMixinsController.default;\n  exports.Service = _emberRuntimeSystemService.default;\n  exports.RSVP = _emberRuntimeExtRsvp.default;\n  exports.onerrorDefault = _emberRuntimeExtRsvp.onerrorDefault;\n  // just for side effect of extending Ember.RSVP\n  exports.isArray = _emberRuntimeUtils.isArray;\n  exports.typeOf = _emberRuntimeUtils.typeOf;\n  exports.getStrings = _emberRuntimeString_registry.getStrings;\n  exports.setStrings = _emberRuntimeString_registry.setStrings;\n});\n// just for side effect of extending String.prototype\n// just for side effect of extending Function.prototype\nenifed('ember-runtime/inject', ['exports', 'ember-metal', 'ember-debug'], function (exports, _emberMetal, _emberDebug) {\n  'use strict';\n\n  exports.default = inject;\n  exports.createInjectionHelper = createInjectionHelper;\n  exports.validatePropertyInjections = validatePropertyInjections;\n\n  /**\n    Namespace for injection helper methods.\n  \n    @class inject\n    @namespace Ember\n    @static\n    @public\n  */\n\n  function inject() {\n    _emberDebug.assert('Injected properties must be created through helpers, see \\'' + Object.keys(inject).join('\"', '\"') + '\\'');\n  }\n\n  // Dictionary of injection validations by type, added to by `createInjectionHelper`\n  var typeValidators = {};\n\n  /**\n    This method allows other Ember modules to register injection helpers for a\n    given container type. Helpers are exported to the `inject` namespace as the\n    container type itself.\n  \n    @private\n    @method createInjectionHelper\n    @since 1.10.0\n    @for Ember\n    @param {String} type The container type the helper will inject\n    @param {Function} validator A validation callback that is executed at mixin-time\n  */\n\n  function createInjectionHelper(type, validator) {\n    typeValidators[type] = validator;\n\n    inject[type] = function (name) {\n      return new _emberMetal.InjectedProperty(type, name);\n    };\n  }\n\n  /**\n    Validation function that runs per-type validation functions once for each\n    injected type encountered.\n  \n    @private\n    @method validatePropertyInjections\n    @since 1.10.0\n    @for Ember\n    @param {Object} factory The factory object\n  */\n\n  function validatePropertyInjections(factory) {\n    var proto = factory.proto();\n    var types = [];\n\n    for (var key in proto) {\n      var desc = proto[key];\n      if (desc instanceof _emberMetal.InjectedProperty && types.indexOf(desc.type) === -1) {\n        types.push(desc.type);\n      }\n    }\n\n    if (types.length) {\n      for (var i = 0; i < types.length; i++) {\n        var validator = typeValidators[types[i]];\n\n        if (typeof validator === 'function') {\n          validator(factory);\n        }\n      }\n    }\n\n    return true;\n  }\n});\nenifed('ember-runtime/is-equal', ['exports'], function (exports) {\n  /**\n    Compares two objects, returning true if they are equal.\n  \n    ```javascript\n    Ember.isEqual('hello', 'hello');                   // true\n    Ember.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    let Person = Ember.Object.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    Ember.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    Ember.isEqual([4, 2], [4, 2]);                     // false\n    ```\n  \n    @method isEqual\n    @for Ember\n    @param {Object} a first object to compare\n    @param {Object} b second object to compare\n    @return {Boolean}\n    @public\n  */\n  'use strict';\n\n  exports.default = isEqual;\n\n  function isEqual(a, b) {\n    if (a && typeof a.isEqual === 'function') {\n      return a.isEqual(b);\n    }\n\n    if (a instanceof Date && b instanceof Date) {\n      return a.getTime() === b.getTime();\n    }\n\n    return a === b;\n  }\n});\nenifed('ember-runtime/mixins/-proxy', ['exports', '@glimmer/reference', 'ember-metal', 'ember-debug', 'ember-runtime/computed/computed_macros'], function (exports, _glimmerReference, _emberMetal, _emberDebug, _emberRuntimeComputedComputed_macros) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  'use strict';\n\n  function contentPropertyWillChange(content, contentKey) {\n    var key = contentKey.slice(8); // remove \"content.\"\n    if (key in this) {\n      return;\n    } // if shadowed in proxy\n    _emberMetal.propertyWillChange(this, key);\n  }\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    _emberMetal.propertyDidChange(this, key);\n  }\n\n  var ProxyTag = (function (_CachedTag) {\n    babelHelpers.inherits(ProxyTag, _CachedTag);\n\n    function ProxyTag(proxy) {\n      babelHelpers.classCallCheck(this, ProxyTag);\n\n      _CachedTag.call(this);\n\n      var content = _emberMetal.get(proxy, 'content');\n\n      this.proxy = proxy;\n      this.proxyWrapperTag = new _glimmerReference.DirtyableTag();\n      this.proxyContentTag = new _glimmerReference.UpdatableTag(_emberMetal.tagFor(content));\n    }\n\n    /**\n      `Ember.ProxyMixin` forwards all properties not defined by the proxy itself\n      to a proxied `content` object.  See Ember.ObjectProxy for more details.\n    \n      @class ProxyMixin\n      @namespace Ember\n      @private\n    */\n\n    ProxyTag.prototype.compute = function compute() {\n      return Math.max(this.proxyWrapperTag.value(), this.proxyContentTag.value());\n    };\n\n    ProxyTag.prototype.dirty = function dirty() {\n      this.proxyWrapperTag.dirty();\n    };\n\n    ProxyTag.prototype.contentDidChange = function contentDidChange() {\n      var content = _emberMetal.get(this.proxy, 'content');\n      this.proxyContentTag.update(_emberMetal.tagFor(content));\n    };\n\n    return ProxyTag;\n  })(_glimmerReference.CachedTag);\n\n  exports.default = _emberMetal.Mixin.create({\n    /**\n      The object whose properties will be forwarded.\n       @property content\n      @type Ember.Object\n      @default null\n      @private\n    */\n    content: null,\n\n    init: function () {\n      this._super.apply(this, arguments);\n      _emberMetal.meta(this).setProxy();\n    },\n\n    _initializeTag: _emberMetal.on('init', function () {\n      _emberMetal.meta(this)._tag = new ProxyTag(this);\n    }),\n\n    _contentDidChange: _emberMetal.observer('content', function () {\n      _emberDebug.assert('Can\\'t set Proxy\\'s content to itself', _emberMetal.get(this, 'content') !== this);\n      _emberMetal.tagFor(this).contentDidChange();\n    }),\n\n    isTruthy: _emberRuntimeComputedComputed_macros.bool('content'),\n\n    _debugContainerKey: null,\n\n    willWatchProperty: function (key) {\n      var contentKey = 'content.' + key;\n      _emberMetal._addBeforeObserver(this, contentKey, null, contentPropertyWillChange);\n      _emberMetal.addObserver(this, contentKey, null, contentPropertyDidChange);\n    },\n\n    didUnwatchProperty: function (key) {\n      var contentKey = 'content.' + key;\n      _emberMetal._removeBeforeObserver(this, contentKey, null, contentPropertyWillChange);\n      _emberMetal.removeObserver(this, contentKey, null, contentPropertyDidChange);\n    },\n\n    unknownProperty: function (key) {\n      var content = _emberMetal.get(this, 'content');\n      if (content) {\n        _emberDebug.deprecate('You attempted to access `' + key + '` from `' + this + '`, but object proxying is deprecated. Please use `model.' + key + '` instead.', !this.isController, { id: 'ember-runtime.controller-proxy', until: '3.0.0' });\n        return _emberMetal.get(content, key);\n      }\n    },\n\n    setUnknownProperty: function (key, value) {\n      var m = _emberMetal.meta(this);\n      if (m.proto === this) {\n        // if marked as prototype then just defineProperty\n        // rather than delegate\n        _emberMetal.defineProperty(this, key, null, value);\n        return value;\n      }\n\n      var content = _emberMetal.get(this, 'content');\n      _emberDebug.assert('Cannot delegate set(\\'' + key + '\\', ' + value + ') to the \\'content\\' property of object proxy ' + this + ': its \\'content\\' is undefined.', content);\n\n      _emberDebug.deprecate('You attempted to set `' + key + '` from `' + this + '`, but object proxying is deprecated. Please use `model.' + key + '` instead.', !this.isController, { id: 'ember-runtime.controller-proxy', until: '3.0.0' });\n      return _emberMetal.set(content, key, value);\n    }\n  });\n});\nenifed('ember-runtime/mixins/action_handler', ['exports', 'ember-metal', 'ember-debug'], function (exports, _emberMetal, _emberDebug) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  'use strict';\n\n  exports.deprecateUnderscoreActions = deprecateUnderscoreActions;\n\n  /**\n    `Ember.ActionHandler` is available on some familiar classes including\n    `Ember.Route`, `Ember.Component`, and `Ember.Controller`.\n    (Internally the mixin is used by `Ember.CoreView`, `Ember.ControllerMixin`,\n    and `Ember.Route` and available to the above classes through\n    inheritance.)\n  \n    @class ActionHandler\n    @namespace Ember\n    @private\n  */\n  var ActionHandler = _emberMetal.Mixin.create({\n    mergedProperties: ['actions'],\n\n    /**\n      The collection of functions, keyed by name, available on this\n      `ActionHandler` as action targets.\n       These functions will be invoked when a matching `{{action}}` is triggered\n      from within a template and the application's current route is this route.\n       Actions can also be invoked from other parts of your application\n      via `ActionHandler#send`.\n       The `actions` hash will inherit action handlers from\n      the `actions` hash defined on extended parent classes\n      or mixins rather than just replace the entire hash, e.g.:\n       ```js\n      App.CanDisplayBanner = Ember.Mixin.create({\n        actions: {\n          displayBanner(msg) {\n            // ...\n          }\n        }\n      });\n       App.WelcomeRoute = Ember.Route.extend(App.CanDisplayBanner, {\n        actions: {\n          playMusic() {\n            // ...\n          }\n        }\n      });\n       // `WelcomeRoute`, when active, will be able to respond\n      // to both actions, since the actions hash is merged rather\n      // then replaced when extending mixins / parent classes.\n      this.send('displayBanner');\n      this.send('playMusic');\n      ```\n       Within a Controller, Route or Component's action handler,\n      the value of the `this` context is the Controller, Route or\n      Component object:\n       ```js\n      App.SongRoute = Ember.Route.extend({\n        actions: {\n          myAction() {\n            this.controllerFor(\"song\");\n            this.transitionTo(\"other.route\");\n            ...\n          }\n        }\n      });\n      ```\n       It is also possible to call `this._super(...arguments)` from within an\n      action handler if it overrides a handler defined on a parent\n      class or mixin:\n       Take for example the following routes:\n       ```js\n      App.DebugRoute = Ember.Mixin.create({\n        actions: {\n          debugRouteInformation() {\n            console.debug(\"trololo\");\n          }\n        }\n      });\n       App.AnnoyingDebugRoute = Ember.Route.extend(App.DebugRoute, {\n        actions: {\n          debugRouteInformation() {\n            // also call the debugRouteInformation of mixed in App.DebugRoute\n            this._super(...arguments);\n             // show additional annoyance\n            window.alert(...);\n          }\n        }\n      });\n      ```\n       ## Bubbling\n       By default, an action will stop bubbling once a handler defined\n      on the `actions` hash handles it. To continue bubbling the action,\n      you must return `true` from the handler:\n       ```js\n      App.Router.map(function() {\n        this.route(\"album\", function() {\n          this.route(\"song\");\n        });\n      });\n       App.AlbumRoute = Ember.Route.extend({\n        actions: {\n          startPlaying: function() {\n          }\n        }\n      });\n       App.AlbumSongRoute = Ember.Route.extend({\n        actions: {\n          startPlaying() {\n            // ...\n             if (actionShouldAlsoBeTriggeredOnParentRoute) {\n              return true;\n            }\n          }\n        }\n      });\n      ```\n       @property actions\n      @type Object\n      @default null\n      @public\n    */\n\n    /**\n      Triggers a named action on the `ActionHandler`. Any parameters\n      supplied after the `actionName` string will be passed as arguments\n      to the action target function.\n       If the `ActionHandler` has its `target` property set, actions may\n      bubble to the `target`. Bubbling happens when an `actionName` can\n      not be found in the `ActionHandler`'s `actions` hash or if the\n      action target function returns `true`.\n       Example\n       ```js\n      App.WelcomeRoute = Ember.Route.extend({\n        actions: {\n          playTheme() {\n             this.send('playMusic', 'theme.mp3');\n          },\n          playMusic(track) {\n            // ...\n          }\n        }\n      });\n      ```\n       @method send\n      @param {String} actionName The action to trigger\n      @param {*} context a context to send with the action\n      @public\n    */\n    send: function (actionName) {\n      for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        args[_key - 1] = arguments[_key];\n      }\n\n      if (this.actions && this.actions[actionName]) {\n        var shouldBubble = this.actions[actionName].apply(this, args) === true;\n        if (!shouldBubble) {\n          return;\n        }\n      }\n\n      var target = _emberMetal.get(this, 'target');\n      if (target) {\n        _emberDebug.assert('The `target` for ' + this + ' (' + target + ') does not have a `send` method', typeof target.send === 'function');\n        target.send.apply(target, arguments);\n      }\n    },\n\n    willMergeMixin: function (props) {\n      _emberDebug.assert('Specifying `_actions` and `actions` in the same mixin is not supported.', !props.actions || !props._actions);\n\n      if (props._actions) {\n        _emberDebug.deprecate('Specifying actions in `_actions` is deprecated, please use `actions` instead.', false, { id: 'ember-runtime.action-handler-_actions', until: '3.0.0' });\n\n        props.actions = props._actions;\n        delete props._actions;\n      }\n    }\n  });\n\n  exports.default = ActionHandler;\n\n  function deprecateUnderscoreActions(factory) {\n    Object.defineProperty(factory.prototype, '_actions', {\n      configurable: true,\n      enumerable: false,\n      set: function (value) {\n        _emberDebug.assert('You cannot set `_actions` on ' + this + ', please use `actions` instead.');\n      },\n      get: function () {\n        _emberDebug.deprecate('Usage of `_actions` is deprecated, use `actions` instead.', false, { id: 'ember-runtime.action-handler-_actions', until: '3.0.0' });\n        return _emberMetal.get(this, 'actions');\n      }\n    });\n  }\n});\nenifed('ember-runtime/mixins/array', ['exports', 'ember-utils', 'ember-metal', 'ember-debug', 'ember-runtime/mixins/enumerable', 'ember-runtime/system/each_proxy'], function (exports, _emberUtils, _emberMetal, _emberDebug, _emberRuntimeMixinsEnumerable, _emberRuntimeSystemEach_proxy) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  // ..........................................................\n  // HELPERS\n  //\n  'use strict';\n\n  var _Mixin$create;\n\n  exports.addArrayObserver = addArrayObserver;\n  exports.removeArrayObserver = removeArrayObserver;\n  exports.objectAt = objectAt;\n  exports.arrayContentWillChange = arrayContentWillChange;\n  exports.arrayContentDidChange = arrayContentDidChange;\n  exports.isEmberArray = isEmberArray;\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 = _emberMetal.get(obj, 'hasArrayObservers');\n\n    if (hasObservers === notify) {\n      _emberMetal.propertyWillChange(obj, 'hasArrayObservers');\n    }\n\n    operation(obj, '@array:before', target, willChange);\n    operation(obj, '@array:change', target, didChange);\n\n    if (hasObservers === notify) {\n      _emberMetal.propertyDidChange(obj, 'hasArrayObservers');\n    }\n\n    return obj;\n  }\n\n  function addArrayObserver(array, target, opts) {\n    return arrayObserversHelper(array, target, opts, _emberMetal.addListener, false);\n  }\n\n  function removeArrayObserver(array, target, opts) {\n    return arrayObserversHelper(array, target, opts, _emberMetal.removeListener, true);\n  }\n\n  function objectAt(content, idx) {\n    if (content.objectAt) {\n      return content.objectAt(idx);\n    }\n\n    return content[idx];\n  }\n\n  function arrayContentWillChange(array, startIdx, removeAmt, addAmt) {\n    var removing = undefined,\n        lim = undefined;\n\n    // if no args are passed assume everything changes\n    if (startIdx === undefined) {\n      startIdx = 0;\n      removeAmt = addAmt = -1;\n    } else {\n      if (removeAmt === undefined) {\n        removeAmt = -1;\n      }\n\n      if (addAmt === undefined) {\n        addAmt = -1;\n      }\n    }\n\n    if (array.__each) {\n      array.__each.arrayWillChange(array, startIdx, removeAmt, addAmt);\n    }\n\n    _emberMetal.sendEvent(array, '@array:before', [array, startIdx, removeAmt, addAmt]);\n\n    if (startIdx >= 0 && removeAmt >= 0 && _emberMetal.get(array, 'hasEnumerableObservers')) {\n      removing = [];\n      lim = startIdx + removeAmt;\n\n      for (var idx = startIdx; idx < lim; idx++) {\n        removing.push(objectAt(array, idx));\n      }\n    } else {\n      removing = removeAmt;\n    }\n\n    array.enumerableContentWillChange(removing, addAmt);\n\n    return array;\n  }\n\n  function arrayContentDidChange(array, startIdx, removeAmt, addAmt) {\n    // if no args are passed assume everything changes\n    if (startIdx === undefined) {\n      startIdx = 0;\n      removeAmt = addAmt = -1;\n    } else {\n      if (removeAmt === undefined) {\n        removeAmt = -1;\n      }\n\n      if (addAmt === undefined) {\n        addAmt = -1;\n      }\n    }\n\n    var adding = undefined;\n    if (startIdx >= 0 && addAmt >= 0 && _emberMetal.get(array, 'hasEnumerableObservers')) {\n      adding = [];\n      var lim = startIdx + addAmt;\n\n      for (var idx = startIdx; idx < lim; idx++) {\n        adding.push(objectAt(array, idx));\n      }\n    } else {\n      adding = addAmt;\n    }\n\n    array.enumerableContentDidChange(removeAmt, adding);\n\n    if (array.__each) {\n      array.__each.arrayDidChange(array, startIdx, removeAmt, addAmt);\n    }\n\n    _emberMetal.sendEvent(array, '@array:change', [array, startIdx, removeAmt, addAmt]);\n\n    var meta = _emberMetal.peekMeta(array);\n    var cache = meta && meta.readableCache();\n\n    if (cache) {\n      if (cache.firstObject !== undefined && objectAt(array, 0) !== _emberMetal.cacheFor.get(cache, 'firstObject')) {\n        _emberMetal.propertyWillChange(array, 'firstObject');\n        _emberMetal.propertyDidChange(array, 'firstObject');\n      }\n      if (cache.lastObject !== undefined && objectAt(array, _emberMetal.get(array, 'length') - 1) !== _emberMetal.cacheFor.get(cache, 'lastObject')) {\n        _emberMetal.propertyWillChange(array, 'lastObject');\n        _emberMetal.propertyDidChange(array, 'lastObject');\n      }\n    }\n    return array;\n  }\n\n  var EMBER_ARRAY = _emberUtils.symbol('EMBER_ARRAY');\n\n  function isEmberArray(obj) {\n    return obj && !!obj[EMBER_ARRAY];\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    Unlike `Ember.Enumerable,` this mixin defines methods specifically for\n    collections that provide index-ordered access to their contents. When you\n    are designing code that needs to accept any kind of Array-like object, you\n    should use these methods instead of Array primitives because these will\n    properly notify observers of 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 `Ember.Array` in your own class, you must override two\n    primitives to use it: `length()` and `objectAt()`.\n  \n    Note that the Ember.Array mixin also incorporates the `Ember.Enumerable`\n    mixin. All `Ember.Array`-like objects are also enumerable.\n  \n    @class Array\n    @namespace Ember\n    @uses Ember.Enumerable\n    @since Ember 0.9.0\n    @public\n  */\n  var ArrayMixin = _emberMetal.Mixin.create(_emberRuntimeMixinsEnumerable.default, (_Mixin$create = {}, _Mixin$create[EMBER_ARRAY] = true, _Mixin$create.length = null, _Mixin$create.objectAt = function (idx) {\n    if (idx < 0 || idx >= _emberMetal.get(this, 'length')) {\n      return undefined;\n    }\n\n    return _emberMetal.get(this, idx);\n  }, _Mixin$create.objectsAt = function (indexes) {\n    var _this = this;\n\n    return indexes.map(function (idx) {\n      return objectAt(_this, idx);\n    });\n  }, _Mixin$create.nextObject = function (idx) {\n    return objectAt(this, idx);\n  }, _Mixin$create['[]'] = _emberMetal.computed({\n    get: function (key) {\n      return this;\n    },\n    set: function (key, value) {\n      this.replace(0, _emberMetal.get(this, 'length'), value);\n      return this;\n    }\n  }), _Mixin$create.firstObject = _emberMetal.computed(function () {\n    return objectAt(this, 0);\n  }).readOnly(), _Mixin$create.lastObject = _emberMetal.computed(function () {\n    return objectAt(this, _emberMetal.get(this, 'length') - 1);\n  }).readOnly(), _Mixin$create.contains = function (obj) {\n    _emberDebug.deprecate('`Enumerable#contains` is deprecated, use `Enumerable#includes` instead.', false, { id: 'ember-runtime.enumerable-contains', until: '3.0.0', url: 'http://emberjs.com/deprecations/v2.x#toc_enumerable-contains' });\n\n    return this.indexOf(obj) >= 0;\n  }, _Mixin$create.slice = function (beginIndex, endIndex) {\n    var ret = _emberMetal.default.A();\n    var length = _emberMetal.get(this, 'length');\n\n    if (_emberMetal.isNone(beginIndex)) {\n      beginIndex = 0;\n    }\n\n    if (_emberMetal.isNone(endIndex) || endIndex > length) {\n      endIndex = length;\n    }\n\n    if (beginIndex < 0) {\n      beginIndex = length + beginIndex;\n    }\n\n    if (endIndex < 0) {\n      endIndex = length + endIndex;\n    }\n\n    while (beginIndex < endIndex) {\n      ret[ret.length] = objectAt(this, beginIndex++);\n    }\n\n    return ret;\n  }, _Mixin$create.indexOf = function (object, startAt) {\n    var len = _emberMetal.get(this, 'length');\n\n    if (startAt === undefined) {\n      startAt = 0;\n    }\n\n    if (startAt < 0) {\n      startAt += len;\n    }\n\n    for (var idx = startAt; idx < len; idx++) {\n      if (objectAt(this, idx) === object) {\n        return idx;\n      }\n    }\n\n    return -1;\n  }, _Mixin$create.lastIndexOf = function (object, startAt) {\n    var len = _emberMetal.get(this, 'length');\n\n    if (startAt === undefined || startAt >= len) {\n      startAt = len - 1;\n    }\n\n    if (startAt < 0) {\n      startAt += len;\n    }\n\n    for (var idx = startAt; idx >= 0; idx--) {\n      if (objectAt(this, idx) === object) {\n        return idx;\n      }\n    }\n\n    return -1;\n  }, _Mixin$create.addArrayObserver = function (target, opts) {\n    return addArrayObserver(this, target, opts);\n  }, _Mixin$create.removeArrayObserver = function (target, opts) {\n    return removeArrayObserver(this, target, opts);\n  }, _Mixin$create.hasArrayObservers = _emberMetal.computed(function () {\n    return _emberMetal.hasListeners(this, '@array:change') || _emberMetal.hasListeners(this, '@array:before');\n  }), _Mixin$create.arrayContentWillChange = function (startIdx, removeAmt, addAmt) {\n    return arrayContentWillChange(this, startIdx, removeAmt, addAmt);\n  }, _Mixin$create.arrayContentDidChange = function (startIdx, removeAmt, addAmt) {\n    return arrayContentDidChange(this, startIdx, removeAmt, addAmt);\n  }, _Mixin$create.includes = function (obj, startAt) {\n    var len = _emberMetal.get(this, 'length');\n\n    if (startAt === undefined) {\n      startAt = 0;\n    }\n\n    if (startAt < 0) {\n      startAt += len;\n    }\n\n    for (var idx = startAt; idx < len; idx++) {\n      var currentObj = objectAt(this, idx);\n\n      // SameValueZero comparison (NaN !== NaN)\n      if (obj === currentObj || obj !== obj && currentObj !== currentObj) {\n        return true;\n      }\n    }\n\n    return false;\n  }, _Mixin$create['@each'] = _emberMetal.computed(function () {\n    // TODO use Symbol or add to meta\n    if (!this.__each) {\n      this.__each = new _emberRuntimeSystemEach_proxy.default(this);\n    }\n\n    return this.__each;\n  }).volatile().readOnly(), _Mixin$create));\n\n  exports.default = ArrayMixin;\n});\n// ES6TODO: Ember.A\n\n/**\n  __Required.__ You must implement this method to apply this mixin.\n   Your array must support the `length` property. Your replace methods should\n  set this property whenever it changes.\n   @property {Number} length\n  @public\n*/\n\n/**\n  Returns the object at the given `index`. If the given `index` is negative\n  or is greater or equal than the array length, returns `undefined`.\n   This is one of the primitives you must implement to support `Ember.Array`.\n  If your object supports retrieving the value of an array item using `get()`\n  (i.e. `myArray.get(0)`), then you do not need to implement this method\n  yourself.\n   ```javascript\n  let arr = ['a', 'b', 'c', 'd'];\n   arr.objectAt(0);   // 'a'\n  arr.objectAt(3);   // 'd'\n  arr.objectAt(-1);  // undefined\n  arr.objectAt(4);   // undefined\n  arr.objectAt(5);   // undefined\n  ```\n   @method objectAt\n  @param {Number} idx The index of the item to return.\n  @return {*} item at index or undefined\n  @public\n*/\n\n/**\n  This returns the objects at the specified indexes, using `objectAt`.\n   ```javascript\n  let arr = ['a', 'b', 'c', 'd'];\n   arr.objectsAt([0, 1, 2]);  // ['a', 'b', 'c']\n  arr.objectsAt([2, 3, 4]);  // ['c', 'd', undefined]\n  ```\n   @method objectsAt\n  @param {Array} indexes An array of indexes of items to return.\n  @return {Array}\n  @public\n */\n\n// overrides Ember.Enumerable version\n\n/**\n  This is the handler for the special array content property. If you get\n  this property, it will return this. If you set this property to a new\n  array, it will replace the current content.\n   This property overrides the default property defined in `Ember.Enumerable`.\n   @property []\n  @return this\n  @public\n*/\n\n// optimized version from Enumerable\n\n// Add any extra methods to Ember.Array that are native to the built-in Array.\n/**\n  Returns a new array that is a slice of the receiver. This implementation\n  uses the observable array methods to retrieve the objects for the new\n  slice.\n   ```javascript\n  let arr = ['red', 'green', 'blue'];\n   arr.slice(0);       // ['red', 'green', 'blue']\n  arr.slice(0, 2);    // ['red', 'green']\n  arr.slice(1, 100);  // ['green', 'blue']\n  ```\n   @method slice\n  @param {Number} beginIndex (Optional) index to begin slicing from.\n  @param {Number} endIndex (Optional) index to end the slice at (but not included).\n  @return {Array} New array with specified slice\n  @public\n*/\n\n/**\n  Returns the index of the given object's first occurrence.\n  If no `startAt` argument is given, the starting location to\n  search is 0. If it's negative, will count backward from\n  the end of the array. Returns -1 if no match is found.\n   ```javascript\n  let arr = ['a', 'b', 'c', 'd', 'a'];\n   arr.indexOf('a');       //  0\n  arr.indexOf('z');       // -1\n  arr.indexOf('a', 2);    //  4\n  arr.indexOf('a', -1);   //  4\n  arr.indexOf('b', 3);    // -1\n  arr.indexOf('a', 100);  // -1\n  ```\n   @method indexOf\n  @param {Object} object the item to search for\n  @param {Number} startAt optional starting location to search, default 0\n  @return {Number} index or -1 if not found\n  @public\n*/\n\n/**\n  Returns the index of the given object's last occurrence.\n  If no `startAt` argument is given, the search starts from\n  the last position. If it's negative, will count backward\n  from the end of the array. Returns -1 if no match is found.\n   ```javascript\n  let arr = ['a', 'b', 'c', 'd', 'a'];\n   arr.lastIndexOf('a');       //  4\n  arr.lastIndexOf('z');       // -1\n  arr.lastIndexOf('a', 2);    //  0\n  arr.lastIndexOf('a', -1);   //  4\n  arr.lastIndexOf('b', 3);    //  1\n  arr.lastIndexOf('a', 100);  //  4\n  ```\n   @method lastIndexOf\n  @param {Object} object the item to search for\n  @param {Number} startAt optional starting location to search, default 0\n  @return {Number} index or -1 if not found\n  @public\n*/\n\n// ..........................................................\n// ARRAY OBSERVERS\n//\n\n/**\n  Adds an array observer to the receiving array. The array observer object\n  normally must implement two methods:\n   * `arrayWillChange(observedObj, start, removeCount, addCount)` - This method will be\n    called just before the array is modified.\n  * `arrayDidChange(observedObj, start, removeCount, addCount)` - This method will be\n    called just after the array is modified.\n   Both callbacks will be passed the observed object, starting index of the\n  change as well as a count of the items to be removed and added. You can use\n  these callbacks to optionally inspect the array during the change, clear\n  caches, or do any other bookkeeping necessary.\n   In addition to passing a target, you can also include an options hash\n  which you can use to override the method names that will be invoked on the\n  target.\n   @method addArrayObserver\n  @param {Object} target The observer object.\n  @param {Object} opts Optional hash of configuration options including\n    `willChange` and `didChange` option.\n  @return {Ember.Array} receiver\n  @public\n*/\n\n/**\n  Removes an array observer from the object if the observer is current\n  registered. Calling this method multiple times with the same object will\n  have no effect.\n   @method removeArrayObserver\n  @param {Object} target The object observing the array.\n  @param {Object} opts Optional hash of configuration options including\n    `willChange` and `didChange` option.\n  @return {Ember.Array} receiver\n  @public\n*/\n\n/**\n  Becomes true whenever the array currently has observers watching changes\n  on the array.\n   @property {Boolean} hasArrayObservers\n  @public\n*/\n\n/**\n  If you are implementing an object that supports `Ember.Array`, call this\n  method just before the array content changes to notify any observers and\n  invalidate any related properties. Pass the starting index of the change\n  as well as a delta of the amounts to change.\n   @method arrayContentWillChange\n  @param {Number} startIdx The starting index in the array that will change.\n  @param {Number} removeAmt The number of items that will be removed. If you\n    pass `null` assumes 0\n  @param {Number} addAmt The number of items that will be added. If you\n    pass `null` assumes 0.\n  @return {Ember.Array} receiver\n  @public\n*/\n\n/**\n  If you are implementing an object that supports `Ember.Array`, call this\n  method just after the array content changes to notify any observers and\n  invalidate any related properties. Pass the starting index of the change\n  as well as a delta of the amounts to change.\n   @method arrayContentDidChange\n  @param {Number} startIdx The starting index in the array that did change.\n  @param {Number} removeAmt The number of items that were removed. If you\n    pass `null` assumes 0\n  @param {Number} addAmt The number of items that were added. If you\n    pass `null` assumes 0.\n  @return {Ember.Array} receiver\n  @public\n*/\n\n/**\n  Returns `true` if the passed object can be found in the array.\n  This method is a Polyfill for ES 2016 Array.includes.\n  If no `startAt` argument is given, the starting location to\n  search is 0. If it's negative, searches from the index of\n  `this.length + startAt` by asc.\n   ```javascript\n  [1, 2, 3].includes(2);     // true\n  [1, 2, 3].includes(4);     // false\n  [1, 2, 3].includes(3, 2);  // true\n  [1, 2, 3].includes(3, 3);  // false\n  [1, 2, 3].includes(3, -1); // true\n  [1, 2, 3].includes(1, -1); // false\n  [1, 2, 3].includes(1, -4); // true\n  [1, 2, NaN].includes(NaN); // true\n  ```\n   @method includes\n  @param {Object} obj The object to search for.\n  @param {Number} startAt optional starting location to search, default 0\n  @return {Boolean} `true` if object is found in the array.\n  @public\n*/\n\n/**\n  Returns a special object that can be used to observe individual properties\n  on the array. Just get an equivalent property on this object and it will\n  return an enumerable that maps automatically to the named key on the\n  member objects.\n   `@each` should only be used in a non-terminal context. Example:\n   ```javascript\n  myMethod: computed('posts.@each.author', function(){\n    ...\n  });\n  ```\n   If you merely want to watch for the array being changed, like an object being\n  replaced, added or removed, use `[]` instead of `@each`.\n   ```javascript\n  myMethod: computed('posts.[]', function(){\n    ...\n  });\n  ```\n   @property @each\n  @public\n*/\nenifed('ember-runtime/mixins/comparable', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  /**\n    Implements some standard methods for comparing objects. Add this mixin to\n    any class you create that can compare its instances.\n  \n    You should implement the `compare()` method.\n  \n    @class Comparable\n    @namespace Ember\n    @since Ember 0.9\n    @private\n  */\n  exports.default = _emberMetal.Mixin.create({\n\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});\nenifed('ember-runtime/mixins/container_proxy', ['exports', 'ember-metal', 'container', 'ember-debug'], function (exports, _emberMetal, _container, _emberDebug) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n  'use strict';\n\n  var _containerProxyMixin;\n\n  /**\n    ContainerProxyMixin is used to provide public access to specific\n    container functionality.\n  \n    @class ContainerProxyMixin\n    @private\n  */\n  var containerProxyMixin = (_containerProxyMixin = {\n    /**\n     The container stores state.\n      @private\n     @property {Ember.Container} __container__\n     */\n    __container__: null,\n\n    /**\n     Returns an object that can be used to provide an owner to a\n     manually created instance.\n      Example:\n      ```\n     let owner = Ember.getOwner(this);\n      User.create(\n       owner.ownerInjection(),\n       { username: 'rwjblue' }\n     )\n     ```\n      @public\n     @method ownerInjection\n     @since 2.3.0\n     @return {Object}\n    */\n    ownerInjection: function () {\n      return this.__container__.ownerInjection();\n    },\n\n    /**\n     Given a fullName return a corresponding instance.\n      The default behaviour is for lookup to return a singleton instance.\n     The singleton is scoped to the container, allowing multiple containers\n     to all have their own locally scoped singletons.\n      ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n      registry.register('api:twitter', Twitter);\n      let twitter = container.lookup('api:twitter');\n      twitter instanceof Twitter; // => true\n      // by default the container will return singletons\n     let twitter2 = container.lookup('api:twitter');\n     twitter2 instanceof Twitter; // => true\n      twitter === twitter2; //=> true\n     ```\n      If singletons are not wanted an optional flag can be provided at lookup.\n      ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n      registry.register('api:twitter', Twitter);\n      let twitter = container.lookup('api:twitter', { singleton: false });\n     let twitter2 = container.lookup('api:twitter', { singleton: false });\n      twitter === twitter2; //=> false\n     ```\n      @public\n     @method lookup\n     @param {String} fullName\n     @param {Object} options\n     @return {any}\n     */\n    lookup: function (fullName, options) {\n      return this.__container__.lookup(fullName, options);\n    },\n\n    /**\n     Given a fullName return the corresponding factory.\n      @private\n     @method _lookupFactory\n     @param {String} fullName\n     @return {any}\n     */\n    _lookupFactory: function (fullName, options) {\n      return this.__container__.lookupFactory(fullName, options);\n    }\n\n  }, _containerProxyMixin[_container.FACTORY_FOR] = function () {\n    var _container__;\n\n    return (_container__ = this.__container__)[_container.FACTORY_FOR].apply(_container__, arguments);\n  }, _containerProxyMixin[_container.LOOKUP_FACTORY] = function () {\n    var _container__2;\n\n    return (_container__2 = this.__container__)[_container.LOOKUP_FACTORY].apply(_container__2, arguments);\n  }, _containerProxyMixin._resolveLocalLookupName = function (name, source) {\n    return this.__container__.registry.expandLocalLookup('component:' + name, {\n      source: source\n    });\n  }, _containerProxyMixin.willDestroy = function () {\n    this._super.apply(this, arguments);\n\n    if (this.__container__) {\n      _emberMetal.run(this.__container__, 'destroy');\n    }\n  }, _containerProxyMixin);\n\n  if (true) {\n    /**\n     Given a fullName return a factory manager.\n      This method returns a manager which can be used for introspection of the\n     factory's class or for the creation of factory instances with initial\n     properties. The manager is an object with the following properties:\n      * `class` - The registered or resolved class.\n     * `create` - A function that will create an instance of the class with\n       any dependencies injected.\n      For example:\n      ```javascript\n     let owner = Ember.getOwner(otherInstance);\n     // the owner is commonly the `applicationInstance`, and can be accessed via\n     // an instance initializer.\n      let factory = owner.factoryFor('service:bespoke');\n      factory.class;\n     // The registered or resolved class. For example when used with an Ember-CLI\n     // app, this would be the default export from `app/services/bespoke.js`.\n      let instance = factory.create({\n       someProperty: 'an initial property value'\n     });\n     // Create an instance with any injections and the passed options as\n     // initial properties.\n     ```\n      @public\n     @class ContainerProxyMixin\n     @method factoryFor\n     @param {String} fullName\n     @param {Object} options\n     @return {FactoryManager}\n     */\n    containerProxyMixin.factoryFor = function ContainerProxyMixin_factoryFor(fullName) {\n      var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n      return this.__container__.factoryFor(fullName, options);\n    };\n  }\n\n  exports.default = _emberMetal.Mixin.create(containerProxyMixin);\n});\n\n/**\n Given a name and a source path, resolve the fullName\n  @private\n @method _resolveLocalLookupName\n @param {String} fullName\n @param {String} source\n @return {String}\n */\n\n/**\n @private\n */\nenifed('ember-runtime/mixins/controller', ['exports', 'ember-metal', 'ember-runtime/mixins/action_handler', 'ember-runtime/mixins/controller_content_model_alias_deprecation'], function (exports, _emberMetal, _emberRuntimeMixinsAction_handler, _emberRuntimeMixinsController_content_model_alias_deprecation) {\n  'use strict';\n\n  /**\n    @class ControllerMixin\n    @namespace Ember\n    @uses Ember.ActionHandler\n    @private\n  */\n  exports.default = _emberMetal.Mixin.create(_emberRuntimeMixinsAction_handler.default, _emberRuntimeMixinsController_content_model_alias_deprecation.default, {\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    /**\n      @private\n    */\n    content: _emberMetal.alias('model')\n\n  });\n});\nenifed('ember-runtime/mixins/controller_content_model_alias_deprecation', ['exports', 'ember-metal', 'ember-debug'], function (exports, _emberMetal, _emberDebug) {\n  'use strict';\n\n  /*\n    The ControllerContentModelAliasDeprecation mixin is used to provide a useful\n    deprecation warning when specifying `content` directly on a `Ember.Controller`\n    (without also specifying `model`).\n  \n    Ember versions prior to 1.7 used `model` as an alias of `content`, but due to\n    much confusion this alias was reversed (so `content` is now an alias of `model).\n  \n    This change reduces many caveats with model/content, and also sets a\n    simple ground rule: Never set a controllers content, rather always set\n    its model and ember will do the right thing.\n  \n    Used internally by Ember in `Ember.Controller`.\n  */\n  exports.default = _emberMetal.Mixin.create({\n    /**\n      @private\n       Moves `content` to `model`  at extend time if a `model` is not also specified.\n       Note that this currently modifies the mixin themselves, which is technically\n      dubious but is practically of little consequence. This may change in the\n      future.\n       @method willMergeMixin\n      @since 1.4.0\n    */\n    willMergeMixin: function (props) {\n      // Calling super is only OK here since we KNOW that\n      // there is another Mixin loaded first.\n      this._super.apply(this, arguments);\n\n      var modelSpecified = !!props.model;\n\n      if (props.content && !modelSpecified) {\n        props.model = props.content;\n        delete props['content'];\n\n        _emberDebug.deprecate('Do not specify `content` on a Controller, use `model` instead.', false, { id: 'ember-runtime.will-merge-mixin', until: '3.0.0' });\n      }\n    }\n  });\n});\nenifed('ember-runtime/mixins/copyable', ['exports', 'ember-metal', 'ember-debug', 'ember-runtime/mixins/freezable'], function (exports, _emberMetal, _emberDebug, _emberRuntimeMixinsFreezable) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  'use strict';\n\n  /**\n    Implements some standard methods for copying an object. Add this mixin to\n    any object you create that can create a copy of itself. This mixin is\n    added automatically to the built-in array.\n  \n    You should generally implement the `copy()` method to return a copy of the\n    receiver.\n  \n    Note that `frozenCopy()` will only work if you also implement\n    `Ember.Freezable`.\n  \n    @class Copyable\n    @namespace Ember\n    @since Ember 0.9\n    @private\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    /**\n      If the object implements `Ember.Freezable`, then this will return a new\n      copy if the object is not frozen and the receiver if the object is frozen.\n       Raises an exception if you try to call this method on a object that does\n      not support freezing.\n       You should use this method whenever you want a copy of a freezable object\n      since a freezable object can simply return itself without actually\n      consuming more memory.\n       @method frozenCopy\n      @return {Object} copy of receiver or receiver\n      @deprecated Use `Object.freeze` instead.\n      @private\n    */\n    frozenCopy: function () {\n      _emberDebug.deprecate('`frozenCopy` is deprecated, use `Object.freeze` instead.', false, { id: 'ember-runtime.frozen-copy', until: '3.0.0' });\n      if (_emberRuntimeMixinsFreezable.Freezable && _emberRuntimeMixinsFreezable.Freezable.detect(this)) {\n        return _emberMetal.get(this, 'isFrozen') ? this : this.copy().freeze();\n      } else {\n        throw new _emberDebug.Error(this + ' does not support freezing');\n      }\n    }\n  });\n});\nenifed('ember-runtime/mixins/enumerable', ['exports', 'ember-utils', 'ember-metal', 'ember-debug', 'ember-runtime/compare', 'require'], function (exports, _emberUtils, _emberMetal, _emberDebug, _emberRuntimeCompare, _require) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  // ..........................................................\n  // HELPERS\n  //\n\n  'use strict';\n\n  var _emberA = undefined;\n\n  function emberA() {\n    return (_emberA || (_emberA = _require.default('ember-runtime/system/native_array').A))();\n  }\n\n  var contexts = [];\n\n  function popCtx() {\n    return contexts.length === 0 ? {} : contexts.pop();\n  }\n\n  function pushCtx(ctx) {\n    contexts.push(ctx);\n    return null;\n  }\n\n  function iter(key, value) {\n    var valueProvided = arguments.length === 2;\n\n    function i(item) {\n      var cur = _emberMetal.get(item, key);\n      return valueProvided ? value === cur : !!cur;\n    }\n\n    return i;\n  }\n\n  /**\n    This mixin defines the common interface implemented by enumerable objects\n    in Ember. Most of these methods follow the standard Array iteration\n    API defined up to JavaScript 1.8 (excluding language-specific features that\n    cannot be emulated in older versions of JavaScript).\n  \n    This mixin is applied automatically to the Array class on page load, so you\n    can use any of these methods on simple arrays. If Array already implements\n    one of these methods, the mixin will not override them.\n  \n    ## Writing Your Own Enumerable\n  \n    To make your own custom class enumerable, you need two items:\n  \n    1. You must have a length property. This property should change whenever\n       the number of items in your enumerable object changes. If you use this\n       with an `Ember.Object` subclass, you should be sure to change the length\n       property using `set().`\n  \n    2. You must implement `nextObject().` See documentation.\n  \n    Once you have these two methods implemented, apply the `Ember.Enumerable` mixin\n    to your class and you will be able to enumerate the contents of your object\n    like any other collection.\n  \n    ## Using Ember Enumeration with Other Libraries\n  \n    Many other libraries provide some kind of iterator or enumeration like\n    facility. This is often where the most common API conflicts occur.\n    Ember's API is designed to be as friendly as possible with other\n    libraries by implementing only methods that mostly correspond to the\n    JavaScript 1.8 API.\n  \n    @class Enumerable\n    @namespace Ember\n    @since Ember 0.9\n    @private\n  */\n  var Enumerable = _emberMetal.Mixin.create({\n\n    /**\n      __Required.__ You must implement this method to apply this mixin.\n       Implement this method to make your class enumerable.\n       This method will be called repeatedly during enumeration. The index value\n      will always begin with 0 and increment monotonically. You don't have to\n      rely on the index value to determine what object to return, but you should\n      always check the value and start from the beginning when you see the\n      requested index is 0.\n       The `previousObject` is the object that was returned from the last call\n      to `nextObject` for the current iteration. This is a useful way to\n      manage iteration if you are tracing a linked list, for example.\n       Finally the context parameter will always contain a hash you can use as\n      a \"scratchpad\" to maintain any other state you need in order to iterate\n      properly. The context object is reused and is not reset between\n      iterations so make sure you setup the context with a fresh state whenever\n      the index parameter is 0.\n       Generally iterators will continue to call `nextObject` until the index\n      reaches the current length-1. If you run out of data before this\n      time for some reason, you should simply return undefined.\n       The default implementation of this method simply looks up the index.\n      This works great on any Array-like objects.\n       @method nextObject\n      @param {Number} index the current index of the iteration\n      @param {Object} previousObject the value returned by the last call to\n        `nextObject`.\n      @param {Object} context a context object you can use to maintain state.\n      @return {Object} the next object in the iteration or undefined\n      @private\n    */\n    nextObject: null,\n\n    /**\n      Helper method returns the first object from a collection. This is usually\n      used by bindings and other parts of the framework to extract a single\n      object if the enumerable contains only one item.\n       If you override this method, you should implement it so that it will\n      always return the same value each time it is called. If your enumerable\n      contains only one object, this method should always return that object.\n      If your enumerable is empty, this method should return `undefined`.\n       ```javascript\n      let arr = ['a', 'b', 'c'];\n      arr.get('firstObject');  // 'a'\n       let arr = [];\n      arr.get('firstObject');  // undefined\n      ```\n       @property firstObject\n      @return {Object} the object or undefined\n      @readOnly\n      @public\n    */\n    firstObject: _emberMetal.computed('[]', function () {\n      if (_emberMetal.get(this, 'length') === 0) {\n        return undefined;\n      }\n\n      // handle generic enumerables\n      var context = popCtx();\n      var ret = this.nextObject(0, null, context);\n\n      pushCtx(context);\n\n      return ret;\n    }).readOnly(),\n\n    /**\n      Helper method returns the last object from a collection. If your enumerable\n      contains only one object, this method should always return that object.\n      If your enumerable is empty, this method should return `undefined`.\n       ```javascript\n      let arr = ['a', 'b', 'c'];\n      arr.get('lastObject');  // 'c'\n       let arr = [];\n      arr.get('lastObject');  // undefined\n      ```\n       @property lastObject\n      @return {Object} the last object or undefined\n      @readOnly\n      @public\n    */\n    lastObject: _emberMetal.computed('[]', function () {\n      var len = _emberMetal.get(this, 'length');\n\n      if (len === 0) {\n        return undefined;\n      }\n\n      var context = popCtx();\n      var idx = 0;\n      var last = null;\n      var cur = undefined;\n\n      do {\n        last = cur;\n        cur = this.nextObject(idx++, last, context);\n      } while (cur !== undefined);\n\n      pushCtx(context);\n\n      return last;\n    }).readOnly(),\n\n    /**\n      Returns `true` if the passed object can be found in the receiver. The\n      default version will iterate through the enumerable until the object\n      is found. You may want to override this with a more efficient version.\n       ```javascript\n      let arr = ['a', 'b', 'c'];\n       arr.contains('a'); // true\n      arr.contains('z'); // false\n      ```\n       @method contains\n      @deprecated Use `Enumerable#includes` instead. See http://emberjs.com/deprecations/v2.x#toc_enumerable-contains\n      @param {Object} obj The object to search for.\n      @return {Boolean} `true` if object is found in enumerable.\n      @public\n    */\n    contains: function (obj) {\n      _emberDebug.deprecate('`Enumerable#contains` is deprecated, use `Enumerable#includes` instead.', false, { id: 'ember-runtime.enumerable-contains', until: '3.0.0', url: 'http://emberjs.com/deprecations/v2.x#toc_enumerable-contains' });\n\n      var found = this.find(function (item) {\n        return item === obj;\n      });\n\n      return found !== undefined;\n    },\n\n    /**\n      Iterates through the enumerable, calling the passed function on each\n      item. This method corresponds to the `forEach()` method defined in\n      JavaScript 1.6.\n       The callback method you provide should have the following signature (all\n      parameters are optional):\n       ```javascript\n      function(item, index, enumerable);\n      ```\n       - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `enumerable` is the enumerable object itself.\n       Note that in addition to a callback, you can also pass an optional target\n      object that will be set as `this` on the context. This is a good way\n      to give your iterator function access to the current object.\n       @method forEach\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Object} receiver\n      @public\n    */\n    forEach: function (callback, target) {\n      if (typeof callback !== 'function') {\n        throw new TypeError();\n      }\n\n      var context = popCtx();\n      var len = _emberMetal.get(this, 'length');\n      var last = null;\n\n      if (target === undefined) {\n        target = null;\n      }\n\n      for (var idx = 0; idx < len; idx++) {\n        var next = this.nextObject(idx, last, context);\n        callback.call(target, next, idx, this);\n        last = next;\n      }\n\n      last = null;\n      context = pushCtx(context);\n\n      return this;\n    },\n\n    /**\n      Alias for `mapBy`\n       @method getEach\n      @param {String} key name of the property\n      @return {Array} The mapped array.\n      @public\n    */\n    getEach: _emberMetal.aliasMethod('mapBy'),\n\n    /**\n      Sets the value on the named property for each member. This is more\n      ergonomic than using other methods defined on this helper. If the object\n      implements Ember.Observable, the value will be changed to `set(),` otherwise\n      it will be set directly. `null` objects are skipped.\n       @method setEach\n      @param {String} key The key to set\n      @param {Object} value The object to set\n      @return {Object} receiver\n      @public\n    */\n    setEach: function (key, value) {\n      return this.forEach(function (item) {\n        return _emberMetal.set(item, key, value);\n      });\n    },\n\n    /**\n      Maps all of the items in the enumeration to another value, returning\n      a new array. This method corresponds to `map()` defined in JavaScript 1.6.\n       The callback method you provide should have the following signature (all\n      parameters are optional):\n       ```javascript\n      function(item, index, enumerable);\n      ```\n       - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `enumerable` is the enumerable object itself.\n       It should return the mapped value.\n       Note that in addition to a callback, you can also pass an optional target\n      object that will be set as `this` on the context. This is a good way\n      to give your iterator function access to the current object.\n       @method map\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Array} The mapped array.\n      @public\n    */\n    map: function (callback, target) {\n      var ret = emberA();\n\n      this.forEach(function (x, idx, i) {\n        return ret[idx] = callback.call(target, x, idx, i);\n      });\n\n      return ret;\n    },\n\n    /**\n      Similar to map, this specialized function returns the value of the named\n      property on all items in the enumeration.\n       @method mapBy\n      @param {String} key name of the property\n      @return {Array} The mapped array.\n      @public\n    */\n    mapBy: function (key) {\n      return this.map(function (next) {\n        return _emberMetal.get(next, key);\n      });\n    },\n\n    /**\n      Returns an array with all of the items in the enumeration that the passed\n      function returns true for. This method corresponds to `filter()` defined in\n      JavaScript 1.6.\n       The callback method you provide should have the following signature (all\n      parameters are optional):\n       ```javascript\n      function(item, index, enumerable);\n      ```\n       - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `enumerable` is the enumerable object itself.\n       It should return `true` to include the item in the results, `false`\n      otherwise.\n       Note that in addition to a callback, you can also pass an optional target\n      object that will be set as `this` on the context. This is a good way\n      to give your iterator function access to the current object.\n       @method filter\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Array} A filtered array.\n      @public\n    */\n    filter: function (callback, target) {\n      var ret = emberA();\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    },\n\n    /**\n      Returns an array with all of the items in the enumeration where the passed\n      function returns false. This method is the inverse of filter().\n       The callback method you provide should have the following signature (all\n      parameters are optional):\n       ```javascript\n      function(item, index, enumerable);\n      ```\n       - *item* is the current item in the iteration.\n      - *index* is the current index in the iteration\n      - *enumerable* is the enumerable object itself.\n       It should return a falsey value to include the item in the results.\n       Note that in addition to a callback, you can also pass an optional target\n      object that will be set as \"this\" on the context. This is a good way\n      to give your iterator function access to the current object.\n       @method reject\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Array} A rejected array.\n      @public\n    */\n    reject: function (callback, target) {\n      return this.filter(function () {\n        return !callback.apply(target, arguments);\n      });\n    },\n\n    /**\n      Returns an array with just the items with the matched property. You\n      can pass an optional second argument with the target value. Otherwise\n      this will match any property that evaluates to `true`.\n       @method filterBy\n      @param {String} key the property to test\n      @param {*} [value] optional value to test against.\n      @return {Array} filtered array\n      @public\n    */\n    filterBy: function (key, value) {\n      return this.filter(iter.apply(this, arguments));\n    },\n\n    /**\n      Returns an array with the items that do not have truthy values for\n      key.  You can pass an optional second argument with the target value.  Otherwise\n      this will match any property that evaluates to false.\n       @method rejectBy\n      @param {String} key the property to test\n      @param {String} [value] optional value to test against.\n      @return {Array} rejected array\n      @public\n    */\n    rejectBy: function (key, value) {\n      var exactValue = function (item) {\n        return _emberMetal.get(item, key) === value;\n      };\n      var hasValue = function (item) {\n        return !!_emberMetal.get(item, key);\n      };\n      var use = arguments.length === 2 ? exactValue : hasValue;\n\n      return this.reject(use);\n    },\n\n    /**\n      Returns the first item in the array for which the callback returns true.\n      This method works similar to the `filter()` method defined in JavaScript 1.6\n      except that it will stop working on the array once a match is found.\n       The callback method you provide should have the following signature (all\n      parameters are optional):\n       ```javascript\n      function(item, index, enumerable);\n      ```\n       - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `enumerable` is the enumerable object itself.\n       It should return the `true` to include the item in the results, `false`\n      otherwise.\n       Note that in addition to a callback, you can also pass an optional target\n      object that will be set as `this` on the context. This is a good way\n      to give your iterator function access to the current object.\n       @method find\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Object} Found item or `undefined`.\n      @public\n    */\n    find: function (callback, target) {\n      var len = _emberMetal.get(this, 'length');\n\n      if (target === undefined) {\n        target = null;\n      }\n\n      var context = popCtx();\n      var found = false;\n      var last = null;\n      var next = undefined,\n          ret = undefined;\n\n      for (var idx = 0; idx < len && !found; idx++) {\n        next = this.nextObject(idx, last, context);\n\n        found = callback.call(target, next, idx, this);\n        if (found) {\n          ret = next;\n        }\n\n        last = next;\n      }\n\n      next = last = null;\n      context = pushCtx(context);\n\n      return ret;\n    },\n\n    /**\n      Returns the first item with a property matching the passed value. You\n      can pass an optional second argument with the target value. Otherwise\n      this will match any property that evaluates to `true`.\n       This method works much like the more generic `find()` method.\n       @method findBy\n      @param {String} key the property to test\n      @param {String} [value] optional value to test against.\n      @return {Object} found item or `undefined`\n      @public\n    */\n    findBy: function (key, value) {\n      return this.find(iter.apply(this, arguments));\n    },\n\n    /**\n      Returns `true` if the passed function returns true for every item in the\n      enumeration. This corresponds with the `every()` method in JavaScript 1.6.\n       The callback method you provide should have the following signature (all\n      parameters are optional):\n       ```javascript\n      function(item, index, enumerable);\n      ```\n       - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `enumerable` is the enumerable object itself.\n       It should return the `true` or `false`.\n       Note that in addition to a callback, you can also pass an optional target\n      object that will be set as `this` on the context. This is a good way\n      to give your iterator function access to the current object.\n       Example Usage:\n       ```javascript\n      if (people.every(isEngineer)) {\n        Paychecks.addBigBonus();\n      }\n      ```\n       @method every\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Boolean}\n      @public\n    */\n    every: function (callback, target) {\n      return !this.find(function (x, idx, i) {\n        return !callback.call(target, x, idx, i);\n      });\n    },\n\n    /**\n      Returns `true` if the passed property resolves to the value of the second\n      argument for all items in the enumerable. This method is often simpler/faster\n      than using a callback.\n       @method isEvery\n      @param {String} key the property to test\n      @param {String} [value] optional value to test against. Defaults to `true`\n      @return {Boolean}\n      @since 1.3.0\n      @public\n    */\n    isEvery: function (key, value) {\n      return this.every(iter.apply(this, arguments));\n    },\n\n    /**\n      Returns `true` if the passed function returns true for any item in the\n      enumeration.\n       The callback method you provide should have the following signature (all\n      parameters are optional):\n       ```javascript\n      function(item, index, enumerable);\n      ```\n       - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `enumerable` is the enumerable object itself.\n       It should return `true` to include the item in the results, `false`\n      otherwise.\n       Note that in addition to a callback, you can also pass an optional target\n      object that will be set as `this` on the context. This is a good way\n      to give your iterator function access to the current object.\n       Usage Example:\n       ```javascript\n      if (people.any(isManager)) {\n        Paychecks.addBiggerBonus();\n      }\n      ```\n       @method any\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Boolean} `true` if the passed function returns `true` for any item\n      @public\n    */\n    any: function (callback, target) {\n      var len = _emberMetal.get(this, 'length');\n      var context = popCtx();\n      var found = false;\n      var last = null;\n      var next = undefined;\n\n      if (target === undefined) {\n        target = null;\n      }\n\n      for (var idx = 0; idx < len && !found; idx++) {\n        next = this.nextObject(idx, last, context);\n        found = callback.call(target, next, idx, this);\n        last = next;\n      }\n\n      next = last = null;\n      context = pushCtx(context);\n      return found;\n    },\n\n    /**\n      Returns `true` if the passed property resolves to the value of the second\n      argument for any item in the enumerable. This method is often simpler/faster\n      than using a callback.\n       @method isAny\n      @param {String} key the property to test\n      @param {String} [value] optional value to test against. Defaults to `true`\n      @return {Boolean}\n      @since 1.3.0\n      @public\n    */\n    isAny: function (key, value) {\n      return this.any(iter.apply(this, arguments));\n    },\n\n    /**\n      This will combine the values of the enumerator into a single value. It\n      is a useful way to collect a summary value from an enumeration. This\n      corresponds to the `reduce()` method defined in JavaScript 1.8.\n       The callback method you provide should have the following signature (all\n      parameters are optional):\n       ```javascript\n      function(previousValue, item, index, enumerable);\n      ```\n       - `previousValue` is the value returned by the last call to the iterator.\n      - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `enumerable` is the enumerable object itself.\n       Return the new cumulative value.\n       In addition to the callback you can also pass an `initialValue`. An error\n      will be raised if you do not pass an initial value and the enumerator is\n      empty.\n       Note that unlike the other methods, this method does not allow you to\n      pass a target object to set as this for the callback. It's part of the\n      spec. Sorry.\n       @method reduce\n      @param {Function} callback The callback to execute\n      @param {Object} initialValue Initial value for the reduce\n      @param {String} reducerProperty internal use only.\n      @return {Object} The reduced value.\n      @public\n    */\n    reduce: function (callback, initialValue, reducerProperty) {\n      if (typeof callback !== 'function') {\n        throw new TypeError();\n      }\n\n      var ret = initialValue;\n\n      this.forEach(function (item, i) {\n        ret = callback(ret, item, i, this, reducerProperty);\n      }, this);\n\n      return ret;\n    },\n\n    /**\n      Invokes the named method on every object in the receiver that\n      implements it. This method corresponds to the implementation in\n      Prototype 1.6.\n       @method invoke\n      @param {String} methodName the name of the method\n      @param {Object...} args optional arguments to pass as well.\n      @return {Array} return values from calling invoke.\n      @public\n    */\n    invoke: function (methodName) {\n      for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        args[_key - 1] = arguments[_key];\n      }\n\n      var ret = emberA();\n\n      this.forEach(function (x, idx) {\n        var method = x && x[methodName];\n\n        if ('function' === typeof method) {\n          ret[idx] = args ? method.apply(x, args) : x[methodName]();\n        }\n      }, this);\n\n      return ret;\n    },\n\n    /**\n      Simply converts the enumerable into a genuine array. The order is not\n      guaranteed. Corresponds to the method implemented by Prototype.\n       @method toArray\n      @return {Array} the enumerable as an array.\n      @public\n    */\n    toArray: function () {\n      var ret = emberA();\n\n      this.forEach(function (o, idx) {\n        return ret[idx] = o;\n      });\n\n      return ret;\n    },\n\n    /**\n      Returns a copy of the array with all `null` and `undefined` elements removed.\n       ```javascript\n      let arr = ['a', null, 'c', undefined];\n      arr.compact();  // ['a', 'c']\n      ```\n       @method compact\n      @return {Array} the array without null and undefined elements.\n      @public\n    */\n    compact: function () {\n      return this.filter(function (value) {\n        return value != null;\n      });\n    },\n\n    /**\n      Returns a new enumerable that excludes the passed value. The default\n      implementation returns an array regardless of the receiver type.\n      If the receiver does not contain the value it returns the original enumerable.\n       ```javascript\n      let arr = ['a', 'b', 'a', 'c'];\n      arr.without('a');  // ['b', 'c']\n      ```\n       @method without\n      @param {Object} value\n      @return {Ember.Enumerable}\n      @public\n    */\n    without: function (value) {\n      if (!this.includes(value)) {\n        return this; // nothing to do\n      }\n\n      var ret = emberA();\n\n      this.forEach(function (k) {\n        // SameValueZero comparison (NaN !== NaN)\n        if (!(k === value || k !== k && value !== value)) {\n          ret[ret.length] = k;\n        }\n      });\n\n      return ret;\n    },\n\n    /**\n      Returns a new enumerable that contains only unique values. The default\n      implementation returns an array regardless of the receiver type.\n       ```javascript\n      let arr = ['a', 'a', 'b', 'b'];\n      arr.uniq();  // ['a', 'b']\n      ```\n       This only works on primitive data types, e.g. Strings, Numbers, etc.\n       @method uniq\n      @return {Ember.Enumerable}\n      @public\n    */\n    uniq: function () {\n      var ret = emberA();\n\n      this.forEach(function (k) {\n        if (ret.indexOf(k) < 0) {\n          ret.push(k);\n        }\n      });\n\n      return ret;\n    },\n\n    /**\n      This property will trigger anytime the enumerable's content changes.\n      You can observe this property to be notified of changes to the enumerable's\n      content.\n       For plain enumerables, this property is read only. `Array` overrides\n      this method.\n       @property []\n      @type Array\n      @return this\n      @private\n    */\n    '[]': _emberMetal.computed({\n      get: function (key) {\n        return this;\n      }\n    }),\n\n    // ..........................................................\n    // ENUMERABLE OBSERVERS\n    //\n\n    /**\n      Registers an enumerable observer. Must implement `Ember.EnumerableObserver`\n      mixin.\n       @method addEnumerableObserver\n      @param {Object} target\n      @param {Object} [opts]\n      @return this\n      @private\n    */\n    addEnumerableObserver: function (target, opts) {\n      var willChange = opts && opts.willChange || 'enumerableWillChange';\n      var didChange = opts && opts.didChange || 'enumerableDidChange';\n      var hasObservers = _emberMetal.get(this, 'hasEnumerableObservers');\n\n      if (!hasObservers) {\n        _emberMetal.propertyWillChange(this, 'hasEnumerableObservers');\n      }\n\n      _emberMetal.addListener(this, '@enumerable:before', target, willChange);\n      _emberMetal.addListener(this, '@enumerable:change', target, didChange);\n\n      if (!hasObservers) {\n        _emberMetal.propertyDidChange(this, 'hasEnumerableObservers');\n      }\n\n      return this;\n    },\n\n    /**\n      Removes a registered enumerable observer.\n       @method removeEnumerableObserver\n      @param {Object} target\n      @param {Object} [opts]\n      @return this\n      @private\n    */\n    removeEnumerableObserver: function (target, opts) {\n      var willChange = opts && opts.willChange || 'enumerableWillChange';\n      var didChange = opts && opts.didChange || 'enumerableDidChange';\n      var hasObservers = _emberMetal.get(this, 'hasEnumerableObservers');\n\n      if (hasObservers) {\n        _emberMetal.propertyWillChange(this, 'hasEnumerableObservers');\n      }\n\n      _emberMetal.removeListener(this, '@enumerable:before', target, willChange);\n      _emberMetal.removeListener(this, '@enumerable:change', target, didChange);\n\n      if (hasObservers) {\n        _emberMetal.propertyDidChange(this, 'hasEnumerableObservers');\n      }\n\n      return this;\n    },\n\n    /**\n      Becomes true whenever the array currently has observers watching changes\n      on the array.\n       @property hasEnumerableObservers\n      @type Boolean\n      @private\n    */\n    hasEnumerableObservers: _emberMetal.computed(function () {\n      return _emberMetal.hasListeners(this, '@enumerable:change') || _emberMetal.hasListeners(this, '@enumerable:before');\n    }),\n\n    /**\n      Invoke this method just before the contents of your enumerable will\n      change. You can either omit the parameters completely or pass the objects\n      to be removed or added if available or just a count.\n       @method enumerableContentWillChange\n      @param {Ember.Enumerable|Number} removing An enumerable of the objects to\n        be removed or the number of items to be removed.\n      @param {Ember.Enumerable|Number} adding An enumerable of the objects to be\n        added or the number of items to be added.\n      @chainable\n      @private\n    */\n    enumerableContentWillChange: function (removing, adding) {\n      var removeCnt = undefined,\n          addCnt = undefined,\n          hasDelta = undefined;\n\n      if ('number' === typeof removing) {\n        removeCnt = removing;\n      } else if (removing) {\n        removeCnt = _emberMetal.get(removing, 'length');\n      } else {\n        removeCnt = removing = -1;\n      }\n\n      if ('number' === typeof adding) {\n        addCnt = adding;\n      } else if (adding) {\n        addCnt = _emberMetal.get(adding, 'length');\n      } else {\n        addCnt = adding = -1;\n      }\n\n      hasDelta = addCnt < 0 || removeCnt < 0 || addCnt - removeCnt !== 0;\n\n      if (removing === -1) {\n        removing = null;\n      }\n\n      if (adding === -1) {\n        adding = null;\n      }\n\n      _emberMetal.propertyWillChange(this, '[]');\n\n      if (hasDelta) {\n        _emberMetal.propertyWillChange(this, 'length');\n      }\n\n      _emberMetal.sendEvent(this, '@enumerable:before', [this, removing, adding]);\n\n      return this;\n    },\n\n    /**\n      Invoke this method when the contents of your enumerable has changed.\n      This will notify any observers watching for content changes. If you are\n      implementing an ordered enumerable (such as an array), also pass the\n      start and end values where the content changed so that it can be used to\n      notify range observers.\n       @method enumerableContentDidChange\n      @param {Ember.Enumerable|Number} removing An enumerable of the objects to\n        be removed or the number of items to be removed.\n      @param {Ember.Enumerable|Number} adding  An enumerable of the objects to\n        be added or the number of items to be added.\n      @chainable\n      @private\n    */\n    enumerableContentDidChange: function (removing, adding) {\n      var removeCnt = undefined,\n          addCnt = undefined,\n          hasDelta = undefined;\n\n      if ('number' === typeof removing) {\n        removeCnt = removing;\n      } else if (removing) {\n        removeCnt = _emberMetal.get(removing, 'length');\n      } else {\n        removeCnt = removing = -1;\n      }\n\n      if ('number' === typeof adding) {\n        addCnt = adding;\n      } else if (adding) {\n        addCnt = _emberMetal.get(adding, 'length');\n      } else {\n        addCnt = adding = -1;\n      }\n\n      hasDelta = addCnt < 0 || removeCnt < 0 || addCnt - removeCnt !== 0;\n\n      if (removing === -1) {\n        removing = null;\n      }\n\n      if (adding === -1) {\n        adding = null;\n      }\n\n      _emberMetal.sendEvent(this, '@enumerable:change', [this, removing, adding]);\n\n      if (hasDelta) {\n        _emberMetal.propertyDidChange(this, 'length');\n      }\n\n      _emberMetal.propertyDidChange(this, '[]');\n\n      return this;\n    },\n\n    /**\n      Converts the enumerable into an array and sorts by the keys\n      specified in the argument.\n       You may provide multiple arguments to sort by multiple properties.\n       @method sortBy\n      @param {String} property name(s) to sort on\n      @return {Array} The sorted array.\n      @since 1.2.0\n      @public\n    */\n    sortBy: function () {\n      var sortKeys = arguments;\n\n      return this.toArray().sort(function (a, b) {\n        for (var i = 0; i < sortKeys.length; i++) {\n          var key = sortKeys[i];\n          var propA = _emberMetal.get(a, key);\n          var propB = _emberMetal.get(b, key);\n          // return 1 or -1 else continue to the next sortKey\n          var compareValue = _emberRuntimeCompare.default(propA, propB);\n\n          if (compareValue) {\n            return compareValue;\n          }\n        }\n        return 0;\n      });\n    },\n\n    /**\n      Returns a new enumerable that contains only items containing a unique property value.\n      The default implementation returns an array regardless of the receiver type.\n       ```javascript\n      let arr = [{ value: 'a' }, { value: 'a' }, { value: 'b' }, { value: 'b' }];\n      arr.uniqBy('value');  // [{ value: 'a' }, { value: 'b' }]\n      ```\n       @method uniqBy\n      @return {Ember.Enumerable}\n      @public\n    */\n\n    uniqBy: function (key) {\n      var ret = emberA();\n      var seen = Object.create(null);\n\n      this.forEach(function (item) {\n        var guid = _emberUtils.guidFor(_emberMetal.get(item, key));\n        if (!(guid in seen)) {\n          seen[guid] = true;\n          ret.push(item);\n        }\n      });\n\n      return ret;\n    },\n\n    /**\n      Returns `true` if the passed object can be found in the enumerable.\n       ```javascript\n      [1, 2, 3].includes(2);                     // true\n      [1, 2, 3].includes(4);                     // false\n      [1, 2, undefined].includes(undefined);     // true\n      [1, 2, null].includes(null);               // true\n      [1, 2, NaN].includes(NaN);                 // true\n      ```\n       @method includes\n      @param {Object} obj The object to search for.\n      @return {Boolean} `true` if object is found in the enumerable.\n      @public\n    */\n    includes: function (obj) {\n      _emberDebug.assert('Enumerable#includes cannot accept a second argument \"startAt\" as enumerable items are unordered.', arguments.length === 1);\n\n      var len = _emberMetal.get(this, 'length');\n      var idx = undefined,\n          next = undefined;\n      var last = null;\n      var found = false;\n\n      var context = popCtx();\n\n      for (idx = 0; idx < len && !found; idx++) {\n        next = this.nextObject(idx, last, context);\n\n        found = obj === next || obj !== obj && next !== next;\n\n        last = next;\n      }\n\n      next = last = null;\n      context = pushCtx(context);\n\n      return found;\n    }\n  });\n\n  exports.default = Enumerable;\n});\nenifed('ember-runtime/mixins/evented', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  /**\n    This mixin allows for Ember objects to subscribe to and emit events.\n  \n    ```javascript\n    App.Person = Ember.Object.extend(Ember.Evented, {\n      greet: function() {\n        // ...\n        this.trigger('greet');\n      }\n    });\n  \n    var person = App.Person.create();\n  \n    person.on('greet', function() {\n      console.log('Our person has greeted');\n    });\n  \n    person.greet();\n  \n    // outputs: 'Our person has greeted'\n    ```\n  \n    You can also chain multiple event subscriptions:\n  \n    ```javascript\n    person.on('greet', function() {\n      console.log('Our person has greeted');\n    }).one('greet', function() {\n      console.log('Offer one-time special');\n    }).off('event', this, forgetThis);\n    ```\n  \n    @class Evented\n    @namespace Ember\n    @public\n   */\n  exports.default = _emberMetal.Mixin.create({\n\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      _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      _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      for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        args[_key - 1] = arguments[_key];\n      }\n\n      _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      _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 _emberMetal.hasListeners(this, name);\n    }\n  });\n});\nenifed('ember-runtime/mixins/freezable', ['exports', 'ember-metal', 'ember-debug'], function (exports, _emberMetal, _emberDebug) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  'use strict';\n\n  /**\n    The `Ember.Freezable` mixin implements some basic methods for marking an\n    object as frozen. Once an object is frozen it should be read only. No changes\n    may be made the internal state of the object.\n  \n    ## Enforcement\n  \n    To fully support freezing in your subclass, you must include this mixin and\n    override any method that might alter any property on the object to instead\n    raise an exception. You can check the state of an object by checking the\n    `isFrozen` property.\n  \n    Although future versions of JavaScript may support language-level freezing\n    object objects, that is not the case today. Even if an object is freezable,\n    it is still technically possible to modify the object, even though it could\n    break other parts of your application that do not expect a frozen object to\n    change. It is, therefore, very important that you always respect the\n    `isFrozen` property on all freezable objects.\n  \n    ## Example Usage\n  \n    The example below shows a simple object that implement the `Ember.Freezable`\n    protocol.\n  \n    ```javascript\n    Contact = Ember.Object.extend(Ember.Freezable, {\n      firstName: null,\n      lastName: null,\n  \n      // swaps the names\n      swapNames: function() {\n        if (this.get('isFrozen')) throw Ember.FROZEN_ERROR;\n        var tmp = this.get('firstName');\n        this.set('firstName', this.get('lastName'));\n        this.set('lastName', tmp);\n        return this;\n      }\n  \n    });\n  \n    c = Contact.create({ firstName: \"John\", lastName: \"Doe\" });\n    c.swapNames();  // returns c\n    c.freeze();\n    c.swapNames();  // EXCEPTION\n    ```\n  \n    ## Copying\n  \n    Usually the `Ember.Freezable` protocol is implemented in cooperation with the\n    `Ember.Copyable` protocol, which defines a `frozenCopy()` method that will\n    return a frozen object, if the object implements this method as well.\n  \n    @class Freezable\n    @namespace Ember\n    @since Ember 0.9\n    @deprecated Use `Object.freeze` instead.\n    @private\n  */\n  var Freezable = _emberMetal.Mixin.create({\n\n    init: function () {\n      _emberDebug.deprecate('`Ember.Freezable` is deprecated, use `Object.freeze` instead.', false, { id: 'ember-runtime.freezable-init', until: '3.0.0' });\n      this._super.apply(this, arguments);\n    },\n\n    /**\n      Set to `true` when the object is frozen. Use this property to detect\n      whether your object is frozen or not.\n       @property isFrozen\n      @type Boolean\n      @private\n    */\n    isFrozen: false,\n\n    /**\n      Freezes the object. Once this method has been called the object should\n      no longer allow any properties to be edited.\n       @method freeze\n      @return {Object} receiver\n      @private\n    */\n    freeze: function () {\n      if (_emberMetal.get(this, 'isFrozen')) {\n        return this;\n      }\n\n      _emberMetal.set(this, 'isFrozen', true);\n      return this;\n    }\n\n  });\n\n  exports.Freezable = Freezable;\n  var FROZEN_ERROR = 'Frozen object cannot be modified.';\n  exports.FROZEN_ERROR = FROZEN_ERROR;\n});\nenifed('ember-runtime/mixins/mutable_array', ['exports', 'ember-metal', 'ember-runtime/mixins/array', 'ember-runtime/mixins/mutable_enumerable', 'ember-runtime/mixins/enumerable', 'ember-debug'], function (exports, _emberMetal, _emberRuntimeMixinsArray, _emberRuntimeMixinsMutable_enumerable, _emberRuntimeMixinsEnumerable, _emberDebug) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  'use strict';\n\n  exports.removeAt = removeAt;\n  var OUT_OF_RANGE_EXCEPTION = 'Index out of range';\n  var EMPTY = [];\n\n  // ..........................................................\n  // HELPERS\n  //\n\n  function removeAt(array, start, len) {\n    if ('number' === typeof start) {\n      if (start < 0 || start >= _emberMetal.get(array, 'length')) {\n        throw new _emberDebug.Error(OUT_OF_RANGE_EXCEPTION);\n      }\n\n      // fast case\n      if (len === undefined) {\n        len = 1;\n      }\n\n      array.replace(start, len, EMPTY);\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    @namespace Ember\n    @uses Ember.Array\n    @uses Ember.MutableEnumerable\n    @public\n  */\n  exports.default = _emberMetal.Mixin.create(_emberRuntimeMixinsArray.default, _emberRuntimeMixinsMutable_enumerable.default, {\n\n    /**\n      __Required.__ You must implement this method to apply this mixin.\n       This is one of the primitives you must implement to support `Ember.Array`.\n      You should replace amt objects started at idx with the objects in the\n      passed array. You should also call `this.enumerableContentDidChange()`\n       @method replace\n      @param {Number} idx Starting index in the array to replace. If\n        idx >= length, then append to the end of the array.\n      @param {Number} amt Number of elements that should be removed from\n        the array, starting at *idx*.\n      @param {Array} objects An array of zero or more objects that should be\n        inserted into the array at *idx*\n      @public\n    */\n    replace: null,\n\n    /**\n      Remove all elements from the array. This is useful if you\n      want to reuse an existing array without having to recreate it.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.length;  // 3\n      colors.clear(); // []\n      colors.length;  // 0\n      ```\n       @method clear\n      @return {Ember.Array} An empty Array.\n      @public\n    */\n    clear: function () {\n      var len = _emberMetal.get(this, 'length');\n      if (len === 0) {\n        return this;\n      }\n\n      this.replace(0, len, EMPTY);\n      return this;\n    },\n\n    /**\n      This will use the primitive `replace()` method to insert an object at the\n      specified index.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.insertAt(2, 'yellow');  // ['red', 'green', 'yellow', 'blue']\n      colors.insertAt(5, 'orange');  // Error: Index out of range\n      ```\n       @method insertAt\n      @param {Number} idx index of insert the object at.\n      @param {Object} object object to insert\n      @return {Ember.Array} receiver\n      @public\n    */\n    insertAt: function (idx, object) {\n      if (idx > _emberMetal.get(this, 'length')) {\n        throw new _emberDebug.Error(OUT_OF_RANGE_EXCEPTION);\n      }\n\n      this.replace(idx, 0, [object]);\n      return this;\n    },\n\n    /**\n      Remove an object at the specified index using the `replace()` primitive\n      method. You can pass either a single index, or a start and a length.\n       If you pass a start and length that is beyond the\n      length this method will throw an `OUT_OF_RANGE_EXCEPTION`.\n       ```javascript\n      let colors = ['red', 'green', 'blue', 'yellow', 'orange'];\n       colors.removeAt(0);     // ['green', 'blue', 'yellow', 'orange']\n      colors.removeAt(2, 2);  // ['green', 'blue']\n      colors.removeAt(4, 2);  // Error: Index out of range\n      ```\n       @method removeAt\n      @param {Number} start index, start of range\n      @param {Number} len length of passing range\n      @return {Ember.Array} receiver\n      @public\n    */\n    removeAt: function (start, len) {\n      return removeAt(this, start, len);\n    },\n\n    /**\n      Push the object onto the end of the array. Works just like `push()` but it\n      is KVO-compliant.\n       ```javascript\n      let colors = ['red', 'green'];\n       colors.pushObject('black');     // ['red', 'green', 'black']\n      colors.pushObject(['yellow']);  // ['red', 'green', ['yellow']]\n      ```\n       @method pushObject\n      @param {*} obj object to push\n      @return object same object passed as a param\n      @public\n    */\n    pushObject: function (obj) {\n      this.insertAt(_emberMetal.get(this, 'length'), obj);\n      return obj;\n    },\n\n    /**\n      Add the objects in the passed numerable to the end of the array. Defers\n      notifying observers of the change until all objects are added.\n       ```javascript\n      let colors = ['red'];\n       colors.pushObjects(['yellow', 'orange']);  // ['red', 'yellow', 'orange']\n      ```\n       @method pushObjects\n      @param {Ember.Enumerable} objects the objects to add\n      @return {Ember.Array} receiver\n      @public\n    */\n    pushObjects: function (objects) {\n      if (!(_emberRuntimeMixinsEnumerable.default.detect(objects) || Array.isArray(objects))) {\n        throw new TypeError('Must pass Ember.Enumerable to Ember.MutableArray#pushObjects');\n      }\n      this.replace(_emberMetal.get(this, 'length'), 0, objects);\n      return this;\n    },\n\n    /**\n      Pop object from array or nil if none are left. Works just like `pop()` but\n      it is KVO-compliant.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.popObject();   // 'blue'\n      console.log(colors);  // ['red', 'green']\n      ```\n       @method popObject\n      @return object\n      @public\n    */\n    popObject: function () {\n      var len = _emberMetal.get(this, 'length');\n      if (len === 0) {\n        return null;\n      }\n\n      var ret = _emberRuntimeMixinsArray.objectAt(this, len - 1);\n      this.removeAt(len - 1, 1);\n      return ret;\n    },\n\n    /**\n      Shift an object from start of array or nil if none are left. Works just\n      like `shift()` but it is KVO-compliant.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.shiftObject();  // 'red'\n      console.log(colors);   // ['green', 'blue']\n      ```\n       @method shiftObject\n      @return object\n      @public\n    */\n    shiftObject: function () {\n      if (_emberMetal.get(this, 'length') === 0) {\n        return null;\n      }\n\n      var ret = _emberRuntimeMixinsArray.objectAt(this, 0);\n      this.removeAt(0);\n      return ret;\n    },\n\n    /**\n      Unshift an object to start of array. Works just like `unshift()` but it is\n      KVO-compliant.\n       ```javascript\n      let colors = ['red'];\n       colors.unshiftObject('yellow');    // ['yellow', 'red']\n      colors.unshiftObject(['black']);   // [['black'], 'yellow', 'red']\n      ```\n       @method unshiftObject\n      @param {*} obj object to unshift\n      @return object same object passed as a param\n      @public\n    */\n    unshiftObject: function (obj) {\n      this.insertAt(0, obj);\n      return obj;\n    },\n\n    /**\n      Adds the named objects to the beginning of the array. Defers notifying\n      observers until all objects have been added.\n       ```javascript\n      let colors = ['red'];\n       colors.unshiftObjects(['black', 'white']);   // ['black', 'white', 'red']\n      colors.unshiftObjects('yellow'); // Type Error: 'undefined' is not a function\n      ```\n       @method unshiftObjects\n      @param {Ember.Enumerable} objects the objects to add\n      @return {Ember.Array} receiver\n      @public\n    */\n    unshiftObjects: function (objects) {\n      this.replace(0, 0, objects);\n      return this;\n    },\n\n    /**\n      Reverse objects in the array. Works just like `reverse()` but it is\n      KVO-compliant.\n       @method reverseObjects\n      @return {Ember.Array} receiver\n       @public\n    */\n    reverseObjects: function () {\n      var len = _emberMetal.get(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\n    /**\n      Replace all the receiver's content with content of the argument.\n      If argument is an empty array receiver will be cleared.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.setObjects(['black', 'white']);  // ['black', 'white']\n      colors.setObjects([]);                  // []\n      ```\n       @method setObjects\n      @param {Ember.Array} objects array whose content will be used for replacing\n          the content of the receiver\n      @return {Ember.Array} receiver with the new content\n      @public\n    */\n    setObjects: function (objects) {\n      if (objects.length === 0) {\n        return this.clear();\n      }\n\n      var len = _emberMetal.get(this, 'length');\n      this.replace(0, len, objects);\n      return this;\n    },\n\n    // ..........................................................\n    // IMPLEMENT Ember.MutableEnumerable\n    //\n\n    /**\n      Remove all occurrences of an object in the array.\n       ```javascript\n      let cities = ['Chicago', 'Berlin', 'Lima', 'Chicago'];\n       cities.removeObject('Chicago');  // ['Berlin', 'Lima']\n      cities.removeObject('Lima');     // ['Berlin']\n      cities.removeObject('Tokyo')     // ['Berlin']\n      ```\n       @method removeObject\n      @param {*} obj object to remove\n      @return {Ember.Array} receiver\n      @public\n    */\n    removeObject: function (obj) {\n      var loc = _emberMetal.get(this, 'length') || 0;\n      while (--loc >= 0) {\n        var curObject = _emberRuntimeMixinsArray.objectAt(this, loc);\n\n        if (curObject === obj) {\n          this.removeAt(loc);\n        }\n      }\n      return this;\n    },\n\n    /**\n      Push the object onto the end of the array if it is not already\n      present in the array.\n       ```javascript\n      let cities = ['Chicago', 'Berlin'];\n       cities.addObject('Lima');    // ['Chicago', 'Berlin', 'Lima']\n      cities.addObject('Berlin');  // ['Chicago', 'Berlin', 'Lima']\n      ```\n       @method addObject\n      @param {*} obj object to add, if not already present\n      @return {Ember.Array} receiver\n      @public\n    */\n    addObject: function (obj) {\n      var included = this.includes(obj);\n\n      if (!included) {\n        this.pushObject(obj);\n      }\n\n      return this;\n    }\n  });\n});\nenifed('ember-runtime/mixins/mutable_enumerable', ['exports', 'ember-runtime/mixins/enumerable', 'ember-metal'], function (exports, _emberRuntimeMixinsEnumerable, _emberMetal) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  /**\n    This mixin defines the API for modifying generic enumerables. These methods\n    can be applied to an object regardless of whether it is ordered or\n    unordered.\n  \n    Note that an Enumerable can change even if it does not implement this mixin.\n    For example, a MappedEnumerable cannot be directly modified but if its\n    underlying enumerable changes, it will change also.\n  \n    ## Adding Objects\n  \n    To add an object to an enumerable, use the `addObject()` method. This\n    method will only add the object to the enumerable if the object is not\n    already present and is of a type supported by the enumerable.\n  \n    ```javascript\n    set.addObject(contact);\n    ```\n  \n    ## Removing Objects\n  \n    To remove an object from an enumerable, use the `removeObject()` method. This\n    will only remove the object if it is present in the enumerable, otherwise\n    this method has no effect.\n  \n    ```javascript\n    set.removeObject(contact);\n    ```\n  \n    ## Implementing In Your Own Code\n  \n    If you are implementing an object and want to support this API, just include\n    this mixin in your class and implement the required methods. In your unit\n    tests, be sure to apply the Ember.MutableEnumerableTests to your object.\n  \n    @class MutableEnumerable\n    @namespace Ember\n    @uses Ember.Enumerable\n    @public\n  */\n  exports.default = _emberMetal.Mixin.create(_emberRuntimeMixinsEnumerable.default, {\n\n    /**\n      __Required.__ You must implement this method to apply this mixin.\n       Attempts to add the passed object to the receiver if the object is not\n      already present in the collection. If the object is present, this method\n      has no effect.\n       If the passed object is of a type not supported by the receiver,\n      then this method should raise an exception.\n       @method addObject\n      @param {Object} object The object to add to the enumerable.\n      @return {Object} the passed object\n      @public\n    */\n    addObject: null,\n\n    /**\n      Adds each object in the passed enumerable to the receiver.\n       @method addObjects\n      @param {Ember.Enumerable} objects the objects to add.\n      @return {Object} receiver\n      @public\n    */\n    addObjects: function (objects) {\n      var _this = this;\n\n      _emberMetal.beginPropertyChanges(this);\n      objects.forEach(function (obj) {\n        return _this.addObject(obj);\n      });\n      _emberMetal.endPropertyChanges(this);\n      return this;\n    },\n\n    /**\n      __Required.__ You must implement this method to apply this mixin.\n       Attempts to remove the passed object from the receiver collection if the\n      object is present in the collection. If the object is not present,\n      this method has no effect.\n       If the passed object is of a type not supported by the receiver,\n      then this method should raise an exception.\n       @method removeObject\n      @param {Object} object The object to remove from the enumerable.\n      @return {Object} the passed object\n      @public\n    */\n    removeObject: null,\n\n    /**\n      Removes each object in the passed enumerable from the receiver.\n       @method removeObjects\n      @param {Ember.Enumerable} objects the objects to remove\n      @return {Object} receiver\n      @public\n    */\n    removeObjects: function (objects) {\n      _emberMetal.beginPropertyChanges(this);\n      for (var i = objects.length - 1; i >= 0; i--) {\n        this.removeObject(objects[i]);\n      }\n      _emberMetal.endPropertyChanges(this);\n      return this;\n    }\n  });\n});\nenifed('ember-runtime/mixins/observable', ['exports', 'ember-metal', 'ember-debug'], function (exports, _emberMetal, _emberDebug) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  'use strict';\n\n  /**\n    ## Overview\n  \n    This mixin provides properties and property observing functionality, core\n    features of the Ember object model.\n  \n    Properties and observers allow one object to observe changes to a\n    property on another object. This is one of the fundamental ways that\n    models, controllers and views communicate with each other in an Ember\n    application.\n  \n    Any object that has this mixin applied can be used in observer\n    operations. That includes `Ember.Object` and most objects you will\n    interact with as you write your Ember application.\n  \n    Note that you will not generally apply this mixin to classes yourself,\n    but you will use the features provided by this module frequently, so it\n    is important to understand how to use it.\n  \n    ## Using `get()` and `set()`\n  \n    Because of Ember's support for bindings and observers, you will always\n    access properties using the get method, and set properties using the\n    set method. This allows the observing objects to be notified and\n    computed properties to be handled properly.\n  \n    More documentation about `get` and `set` are below.\n  \n    ## Observing Property Changes\n  \n    You typically observe property changes simply by using the `Ember.observer`\n    function in classes that you write.\n  \n    For example:\n  \n    ```javascript\n    Ember.Object.extend({\n      valueObserver: Ember.observer('value', function(sender, key, value, rev) {\n        // Executes whenever the \"value\" property changes\n        // See the addObserver method for more information about the callback arguments\n      })\n    });\n    ```\n  \n    Although this is the most common way to add an observer, this capability\n    is actually built into the `Ember.Object` class on top of two methods\n    defined in this mixin: `addObserver` and `removeObserver`. You can use\n    these two methods to add and remove observers yourself if you need to\n    do so at runtime.\n  \n    To add an observer for a property, call:\n  \n    ```javascript\n    object.addObserver('propertyKey', targetObject, targetAction)\n    ```\n  \n    This will call the `targetAction` method on the `targetObject` whenever\n    the value of the `propertyKey` changes.\n  \n    Note that if `propertyKey` is a computed property, the observer will be\n    called when any of the property dependencies are changed, even if the\n    resulting value of the computed property is unchanged. This is necessary\n    because computed properties are not computed until `get` is called.\n  \n    @class Observable\n    @namespace Ember\n    @public\n  */\n  exports.default = _emberMetal.Mixin.create({\n\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      fullName: Ember.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 _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      for (var _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 _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 _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 {Ember.Observable}\n      @private\n    */\n    beginPropertyChanges: function () {\n      _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 {Ember.Observable}\n      @private\n    */\n    endPropertyChanges: function () {\n      _emberMetal.endPropertyChanges();\n      return this;\n    },\n\n    /**\n      Notify the observer system that a property is about to change.\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 and `propertyDidChange()` instead. Calling these two methods\n      together will notify all observers that the property has potentially\n      changed value.\n       Note that you must always call `propertyWillChange` and `propertyDidChange`\n      as a pair. If you do not, it may get the property change groups out of\n      order and cause notifications to be delivered more often than you would\n      like.\n       @method propertyWillChange\n      @param {String} keyName The property key that is about to change.\n      @return {Ember.Observable}\n      @private\n    */\n    propertyWillChange: function (keyName) {\n      _emberMetal.propertyWillChange(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 and `propertyWillChange()` instead. Calling these two methods\n      together will notify all observers that the property has potentially\n      changed value.\n       Note that you must always call `propertyWillChange` and `propertyDidChange`\n      as a pair. If you do not, it may get the property change groups out of\n      order and cause notifications to be delivered more often than you would\n      like.\n       @method propertyDidChange\n      @param {String} keyName The property key that has just changed.\n      @return {Ember.Observable}\n      @private\n    */\n    propertyDidChange: function (keyName) {\n      _emberMetal.propertyDidChange(this, keyName);\n      return this;\n    },\n\n    /**\n      Convenience method to call `propertyWillChange` and `propertyDidChange` in\n      succession.\n       @method notifyPropertyChange\n      @param {String} keyName The property key to be notified about.\n      @return {Ember.Observable}\n      @public\n    */\n    notifyPropertyChange: function (keyName) {\n      this.propertyWillChange(keyName);\n      this.propertyDidChange(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       ```javascript\n      export default Ember.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      @public\n    */\n    addObserver: function (key, target, method) {\n      _emberMetal.addObserver(this, key, target, method);\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      @public\n    */\n    removeObserver: function (key, target, method) {\n      _emberMetal.removeObserver(this, key, target, method);\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 _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 _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, increment) {\n      if (_emberMetal.isNone(increment)) {\n        increment = 1;\n      }\n      _emberDebug.assert('Must pass a numeric value to incrementProperty', !isNaN(parseFloat(increment)) && isFinite(increment));\n      return _emberMetal.set(this, keyName, (parseFloat(_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, decrement) {\n      if (_emberMetal.isNone(decrement)) {\n        decrement = 1;\n      }\n      _emberDebug.assert('Must pass a numeric value to decrementProperty', !isNaN(parseFloat(decrement)) && isFinite(decrement));\n      return _emberMetal.set(this, keyName, (_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 _emberMetal.set(this, keyName, !_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 _emberMetal.cacheFor(this, keyName);\n    },\n\n    // intended for debugging purposes\n    observersForKey: function (keyName) {\n      return _emberMetal.observersFor(this, keyName);\n    }\n  });\n});\nenifed('ember-runtime/mixins/promise_proxy', ['exports', 'ember-metal', 'ember-debug', 'ember-runtime/computed/computed_macros'], function (exports, _emberMetal, _emberDebug, _emberRuntimeComputedComputed_macros) {\n  'use strict';\n\n  /**\n    @module ember\n    @submodule ember-runtime\n  */\n\n  function tap(proxy, promise) {\n    _emberMetal.setProperties(proxy, {\n      isFulfilled: false,\n      isRejected: false\n    });\n\n    return promise.then(function (value) {\n      if (!proxy.isDestroyed && !proxy.isDestroying) {\n        _emberMetal.setProperties(proxy, {\n          content: value,\n          isFulfilled: true\n        });\n      }\n      return value;\n    }, function (reason) {\n      if (!proxy.isDestroyed && !proxy.isDestroying) {\n        _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    let ObjectPromiseProxy = Ember.ObjectProxy.extend(Ember.PromiseProxyMixin);\n  \n    let proxy = ObjectPromiseProxy.create({\n      promise: Ember.RSVP.cast($.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.cast` 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 Ember.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: _emberRuntimeComputedComputed_macros.not('isSettled').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: _emberRuntimeComputedComputed_macros.or('isRejected', 'isFulfilled').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      Ember.ObjectProxy.extend(Ember.PromiseProxyMixin).create({\n        promise: <thenable>\n      });\n      ```\n       @property promise\n      @public\n    */\n    promise: _emberMetal.computed({\n      get: function () {\n        throw new _emberDebug.Error('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\n  function promiseAlias(name) {\n    return function () {\n      var promise = _emberMetal.get(this, 'promise');\n      return promise[name].apply(promise, arguments);\n    };\n  }\n});\nenifed('ember-runtime/mixins/registry_proxy', ['exports', 'ember-metal', 'ember-debug'], function (exports, _emberMetal, _emberDebug) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  'use strict';\n\n  exports.buildFakeRegistryWithDeprecations = buildFakeRegistryWithDeprecations;\n\n  /**\n    RegistryProxyMixin is used to provide public access to specific\n    registry functionality.\n  \n    @class RegistryProxyMixin\n    @private\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: registryAlias('resolve'),\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      let App = Ember.Application.create();\n       App.Orange = Ember.Object.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      let App = Ember.Application.create();\n      let Session = Ember.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 = Ember.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      let App = Ember.Application.create();\n       App.Person = Ember.Object.extend();\n      App.Orange = Ember.Object.extend();\n      App.Email = Ember.Object.extend();\n      App.session = Ember.Object.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     let App = Ember.Application.create();\n     let User = Ember.Object.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     Register an option for a particular factory.\n      @public\n     @method registerOption\n     @param {String} fullName\n     @param {String} optionName\n     @param {Object} options\n     */\n    registerOption: registryAlias('option'),\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     let App = Ember.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      let App = Ember.Application.create();\n      let Session = Ember.Object.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 = Ember.Controller.extend({\n        isLoggedIn: Ember.computed.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\n  function buildFakeRegistryWithDeprecations(instance, typeForMessage) {\n    var fakeRegistry = {};\n    var registryProps = {\n      resolve: 'resolveRegistration',\n      register: 'register',\n      unregister: 'unregister',\n      has: 'hasRegistration',\n      option: 'registerOption',\n      options: 'registerOptions',\n      getOptions: 'registeredOptions',\n      optionsForType: 'registerOptionsForType',\n      getOptionsForType: 'registeredOptionsForType',\n      injection: 'inject'\n    };\n\n    for (var deprecatedProperty in registryProps) {\n      fakeRegistry[deprecatedProperty] = buildFakeRegistryFunction(instance, typeForMessage, deprecatedProperty, registryProps[deprecatedProperty]);\n    }\n\n    return fakeRegistry;\n  }\n\n  function buildFakeRegistryFunction(instance, typeForMessage, deprecatedProperty, nonDeprecatedProperty) {\n    return function () {\n      _emberDebug.deprecate('Using `' + typeForMessage + '.registry.' + deprecatedProperty + '` is deprecated. Please use `' + typeForMessage + '.' + nonDeprecatedProperty + '` instead.', false, {\n        id: 'ember-application.app-instance-registry',\n        until: '3.0.0',\n        url: 'http://emberjs.com/deprecations/v2.x/#toc_ember-application-registry-ember-applicationinstance-registry'\n      });\n      return instance[nonDeprecatedProperty].apply(instance, arguments);\n    };\n  }\n});\nenifed('ember-runtime/mixins/target_action_support', ['exports', 'ember-environment', 'ember-metal', 'ember-debug'], function (exports, _emberEnvironment, _emberMetal, _emberDebug) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  'use strict';\n\n  /**\n  `Ember.TargetActionSupport` is a mixin that can be included in a class\n  to add a `triggerAction` method with semantics similar to the Handlebars\n  `{{action}}` helper. In normal Ember usage, the `{{action}}` helper is\n  usually the best choice. This mixin is most often useful when you are\n  doing more complex event handling in Components.\n  \n  @class TargetActionSupport\n  @namespace Ember\n  @extends Ember.Mixin\n  @private\n  */\n  exports.default = _emberMetal.Mixin.create({\n    target: null,\n    action: null,\n    actionContext: null,\n\n    actionContextObject: _emberMetal.computed('actionContext', function () {\n      var actionContext = _emberMetal.get(this, 'actionContext');\n\n      if (typeof actionContext === 'string') {\n        var value = _emberMetal.get(this, actionContext);\n        if (value === undefined) {\n          value = _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    App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n      target: Ember.computed.alias('controller'),\n      action: 'save',\n      actionContext: Ember.computed.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    App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n      target: Ember.computed.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\n      var action = opts.action || _emberMetal.get(this, 'action');\n      var target = opts.target;\n\n      if (!target) {\n        target = getTarget(this);\n      }\n\n      var actionContext = opts.actionContext;\n\n      function args(options, actionName) {\n        var ret = [];\n        if (actionName) {\n          ret.push(actionName);\n        }\n\n        return ret.concat(options);\n      }\n\n      if (typeof actionContext === 'undefined') {\n        actionContext = _emberMetal.get(this, 'actionContextObject') || this;\n      }\n\n      if (target && action) {\n        var ret = undefined;\n\n        if (target.send) {\n          var _target;\n\n          ret = (_target = target).send.apply(_target, args(actionContext, action));\n        } else {\n          var _target2;\n\n          _emberDebug.assert('The action \\'' + action + '\\' did not exist on ' + target, typeof target[action] === 'function');\n          ret = (_target2 = target)[action].apply(_target2, args(actionContext));\n        }\n\n        if (ret !== false) {\n          ret = true;\n        }\n\n        return ret;\n      } else {\n        return false;\n      }\n    }\n  });\n\n  function getTarget(instance) {\n    // TODO: Deprecate specifying `targetObject`\n    var target = _emberMetal.get(instance, 'targetObject');\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 (instance._targetObject) {\n      return instance._targetObject;\n    }\n\n    target = _emberMetal.get(instance, 'target');\n    if (target) {\n      if (typeof target === 'string') {\n        var value = _emberMetal.get(instance, target);\n        if (value === undefined) {\n          value = _emberMetal.get(_emberEnvironment.context.lookup, target);\n        }\n\n        return value;\n      } else {\n        return target;\n      }\n    }\n\n    return null;\n  }\n});\nenifed(\"ember-runtime/string_registry\", [\"exports\"], function (exports) {\n  // STATE within a module is frowned apon, this exists\n  // to support Ember.STRINGS but shield ember internals from this legacy global\n  // API.\n  \"use strict\";\n\n  exports.setStrings = setStrings;\n  exports.getStrings = getStrings;\n  exports.get = get;\n  var STRINGS = {};\n\n  function setStrings(strings) {\n    STRINGS = strings;\n  }\n\n  function getStrings() {\n    return STRINGS;\n  }\n\n  function get(name) {\n    return STRINGS[name];\n  }\n});\nenifed('ember-runtime/system/application', ['exports', 'ember-runtime/system/namespace'], function (exports, _emberRuntimeSystemNamespace) {\n  'use strict';\n\n  exports.default = _emberRuntimeSystemNamespace.default.extend();\n});\nenifed('ember-runtime/system/array_proxy', ['exports', 'ember-metal', 'ember-runtime/utils', 'ember-runtime/system/object', 'ember-runtime/mixins/mutable_array', 'ember-runtime/mixins/enumerable', 'ember-runtime/mixins/array', 'ember-debug'], function (exports, _emberMetal, _emberRuntimeUtils, _emberRuntimeSystemObject, _emberRuntimeMixinsMutable_array, _emberRuntimeMixinsEnumerable, _emberRuntimeMixinsArray, _emberDebug) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  var OUT_OF_RANGE_EXCEPTION = 'Index out of range';\n  var EMPTY = [];\n\n  function K() {\n    return this;\n  }\n\n  /**\n    An ArrayProxy wraps any other object that implements `Ember.Array` and/or\n    `Ember.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    let pets = ['dog', 'cat', 'fish'];\n    let ap = Ember.ArrayProxy.create({ content: Ember.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    let pets = ['dog', 'cat', 'fish'];\n    let ap = Ember.ArrayProxy.create({\n        content: Ember.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    @class ArrayProxy\n    @namespace Ember\n    @extends Ember.Object\n    @uses Ember.MutableArray\n    @public\n  */\n  exports.default = _emberRuntimeSystemObject.default.extend(_emberRuntimeMixinsMutable_array.default, {\n\n    /**\n      The content array. Must be an object that implements `Ember.Array` and/or\n      `Ember.MutableArray.`\n       @property content\n      @type Ember.Array\n      @private\n    */\n    content: null,\n\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     @private\n    */\n    arrangedContent: _emberMetal.alias('content'),\n\n    /**\n      Should actually retrieve the object at the specified index from the\n      content. You can override this method in subclasses to transform the\n      content item to something new.\n       This method will only be called if content is non-`null`.\n       @method objectAtContent\n      @param {Number} idx The index to retrieve.\n      @return {Object} the value or undefined if none found\n      @public\n    */\n    objectAtContent: function (idx) {\n      return _emberRuntimeMixinsArray.objectAt(_emberMetal.get(this, 'arrangedContent'), idx);\n    },\n\n    /**\n      Should actually replace the specified objects on the content array.\n      You can override this method in subclasses to transform the content item\n      into something new.\n       This method will only be called if content is non-`null`.\n       @method replaceContent\n      @param {Number} idx The starting index\n      @param {Number} amt The number of items to remove from the content.\n      @param {Array} objects Optional array of objects to insert or null if no\n        objects.\n      @return {void}\n      @private\n    */\n    replaceContent: function (idx, amt, objects) {\n      _emberMetal.get(this, 'content').replace(idx, amt, objects);\n    },\n\n    /**\n      Invoked when the content property is about to change. Notifies observers that the\n      entire array content will change.\n       @private\n      @method _contentWillChange\n    */\n    _contentWillChange: _emberMetal._beforeObserver('content', function () {\n      this._teardownContent();\n    }),\n\n    _teardownContent: function () {\n      var content = _emberMetal.get(this, 'content');\n\n      if (content) {\n        _emberRuntimeMixinsArray.removeArrayObserver(content, this, {\n          willChange: 'contentArrayWillChange',\n          didChange: 'contentArrayDidChange'\n        });\n      }\n    },\n\n    /**\n      Override to implement content array `willChange` observer.\n       @method contentArrayWillChange\n       @param {Ember.Array} contentArray the content array\n      @param {Number} start starting index of the change\n      @param {Number} removeCount count of items removed\n      @param {Number} addCount count of items added\n      @private\n    */\n    contentArrayWillChange: K,\n    /**\n      Override to implement content array `didChange` observer.\n       @method contentArrayDidChange\n       @param {Ember.Array} contentArray the content array\n      @param {Number} start starting index of the change\n      @param {Number} removeCount count of items removed\n      @param {Number} addCount count of items added\n      @private\n    */\n    contentArrayDidChange: K,\n\n    /**\n      Invoked when the content property changes. Notifies observers that the\n      entire array content has changed.\n       @private\n      @method _contentDidChange\n    */\n    _contentDidChange: _emberMetal.observer('content', function () {\n      var content = _emberMetal.get(this, 'content');\n\n      _emberDebug.assert('Can\\'t set ArrayProxy\\'s content to itself', content !== this);\n\n      this._setupContent();\n    }),\n\n    _setupContent: function () {\n      var content = _emberMetal.get(this, 'content');\n\n      if (content) {\n        _emberDebug.assert('ArrayProxy expects an Array or Ember.ArrayProxy, but you passed ' + typeof content, _emberRuntimeUtils.isArray(content) || content.isDestroyed);\n\n        _emberRuntimeMixinsArray.addArrayObserver(content, this, {\n          willChange: 'contentArrayWillChange',\n          didChange: 'contentArrayDidChange'\n        });\n      }\n    },\n\n    _arrangedContentWillChange: _emberMetal._beforeObserver('arrangedContent', function () {\n      var arrangedContent = _emberMetal.get(this, 'arrangedContent');\n      var len = arrangedContent ? _emberMetal.get(arrangedContent, 'length') : 0;\n\n      this.arrangedContentArrayWillChange(this, 0, len, undefined);\n      this.arrangedContentWillChange(this);\n\n      this._teardownArrangedContent(arrangedContent);\n    }),\n\n    _arrangedContentDidChange: _emberMetal.observer('arrangedContent', function () {\n      var arrangedContent = _emberMetal.get(this, 'arrangedContent');\n      var len = arrangedContent ? _emberMetal.get(arrangedContent, 'length') : 0;\n\n      _emberDebug.assert('Can\\'t set ArrayProxy\\'s content to itself', arrangedContent !== this);\n\n      this._setupArrangedContent();\n\n      this.arrangedContentDidChange(this);\n      this.arrangedContentArrayDidChange(this, 0, undefined, len);\n    }),\n\n    _setupArrangedContent: function () {\n      var arrangedContent = _emberMetal.get(this, 'arrangedContent');\n\n      if (arrangedContent) {\n        _emberDebug.assert('ArrayProxy expects an Array or Ember.ArrayProxy, but you passed ' + typeof arrangedContent, _emberRuntimeUtils.isArray(arrangedContent) || arrangedContent.isDestroyed);\n\n        _emberRuntimeMixinsArray.addArrayObserver(arrangedContent, this, {\n          willChange: 'arrangedContentArrayWillChange',\n          didChange: 'arrangedContentArrayDidChange'\n        });\n      }\n    },\n\n    _teardownArrangedContent: function () {\n      var arrangedContent = _emberMetal.get(this, 'arrangedContent');\n\n      if (arrangedContent) {\n        _emberRuntimeMixinsArray.removeArrayObserver(arrangedContent, this, {\n          willChange: 'arrangedContentArrayWillChange',\n          didChange: 'arrangedContentArrayDidChange'\n        });\n      }\n    },\n\n    arrangedContentWillChange: K,\n    arrangedContentDidChange: K,\n\n    objectAt: function (idx) {\n      return _emberMetal.get(this, 'content') && this.objectAtContent(idx);\n    },\n\n    length: _emberMetal.computed(function () {\n      var arrangedContent = _emberMetal.get(this, 'arrangedContent');\n      return arrangedContent ? _emberMetal.get(arrangedContent, 'length') : 0;\n      // No dependencies since Enumerable notifies length of change\n    }),\n\n    _replace: function (idx, amt, objects) {\n      var content = _emberMetal.get(this, 'content');\n      _emberDebug.assert('The content property of ' + this.constructor + ' should be set before modifying it', content);\n      if (content) {\n        this.replaceContent(idx, amt, objects);\n      }\n\n      return this;\n    },\n\n    replace: function () {\n      if (_emberMetal.get(this, 'arrangedContent') === _emberMetal.get(this, 'content')) {\n        this._replace.apply(this, arguments);\n      } else {\n        throw new _emberDebug.Error('Using replace on an arranged ArrayProxy is not allowed.');\n      }\n    },\n\n    _insertAt: function (idx, object) {\n      if (idx > _emberMetal.get(this, 'content.length')) {\n        throw new _emberDebug.Error(OUT_OF_RANGE_EXCEPTION);\n      }\n\n      this._replace(idx, 0, [object]);\n      return this;\n    },\n\n    insertAt: function (idx, object) {\n      if (_emberMetal.get(this, 'arrangedContent') === _emberMetal.get(this, 'content')) {\n        return this._insertAt(idx, object);\n      } else {\n        throw new _emberDebug.Error('Using insertAt on an arranged ArrayProxy is not allowed.');\n      }\n    },\n\n    removeAt: function (start, len) {\n      if ('number' === typeof start) {\n        var content = _emberMetal.get(this, 'content');\n        var arrangedContent = _emberMetal.get(this, 'arrangedContent');\n        var indices = [];\n\n        if (start < 0 || start >= _emberMetal.get(this, 'length')) {\n          throw new _emberDebug.Error(OUT_OF_RANGE_EXCEPTION);\n        }\n\n        if (len === undefined) {\n          len = 1;\n        }\n\n        // Get a list of indices in original content to remove\n        for (var i = start; i < start + len; i++) {\n          // Use arrangedContent here so we avoid confusion with objects transformed by objectAtContent\n          indices.push(content.indexOf(_emberRuntimeMixinsArray.objectAt(arrangedContent, i)));\n        }\n\n        // Replace in reverse order since indices will change\n        indices.sort(function (a, b) {\n          return b - a;\n        });\n\n        _emberMetal.beginPropertyChanges();\n        for (var i = 0; i < indices.length; i++) {\n          this._replace(indices[i], 1, EMPTY);\n        }\n        _emberMetal.endPropertyChanges();\n      }\n\n      return this;\n    },\n\n    pushObject: function (obj) {\n      this._insertAt(_emberMetal.get(this, 'content.length'), obj);\n      return obj;\n    },\n\n    pushObjects: function (objects) {\n      if (!(_emberRuntimeMixinsEnumerable.default.detect(objects) || _emberRuntimeUtils.isArray(objects))) {\n        throw new TypeError('Must pass Ember.Enumerable to Ember.MutableArray#pushObjects');\n      }\n      this._replace(_emberMetal.get(this, 'length'), 0, objects);\n      return this;\n    },\n\n    setObjects: function (objects) {\n      if (objects.length === 0) {\n        return this.clear();\n      }\n\n      var len = _emberMetal.get(this, 'length');\n      this._replace(0, len, objects);\n      return this;\n    },\n\n    unshiftObject: function (obj) {\n      this._insertAt(0, obj);\n      return obj;\n    },\n\n    unshiftObjects: function (objects) {\n      this._replace(0, 0, objects);\n      return this;\n    },\n\n    slice: function () {\n      var arr = this.toArray();\n      return arr.slice.apply(arr, arguments);\n    },\n\n    arrangedContentArrayWillChange: function (item, idx, removedCnt, addedCnt) {\n      this.arrayContentWillChange(idx, removedCnt, addedCnt);\n    },\n\n    arrangedContentArrayDidChange: function (item, idx, removedCnt, addedCnt) {\n      this.arrayContentDidChange(idx, removedCnt, addedCnt);\n    },\n\n    init: function () {\n      this._super.apply(this, arguments);\n      this._setupContent();\n      this._setupArrangedContent();\n    },\n\n    willDestroy: function () {\n      this._teardownArrangedContent();\n      this._teardownContent();\n    }\n  });\n});\nenifed('ember-runtime/system/core_object', ['exports', 'ember-utils', 'ember-metal', 'ember-runtime/mixins/action_handler', 'ember-runtime/inject', 'ember-debug'], function (exports, _emberUtils, _emberMetal, _emberRuntimeMixinsAction_handler, _emberRuntimeInject, _emberDebug) {\n  /**\n    @module ember\n    @submodule ember-runtime\n  */\n\n  // using ember-metal/lib/main here to ensure that ember-debug is setup\n  // if present\n  'use strict';\n\n  var _Mixin$create, _ClassMixinProps;\n\n  var _templateObject = babelHelpers.taggedTemplateLiteralLoose(['.'], ['.']);\n\n  var schedule = _emberMetal.run.schedule;\n  var applyMixin = _emberMetal.Mixin._apply;\n  var finishPartial = _emberMetal.Mixin.finishPartial;\n  var reopen = _emberMetal.Mixin.prototype.reopen;\n\n  var POST_INIT = _emberUtils.symbol('POST_INIT');\n\n  exports.POST_INIT = POST_INIT;\n  function makeCtor() {\n    // Note: avoid accessing any properties on the object since it makes the\n    // method a lot faster. This is glue code so we want it to be as fast as\n    // possible.\n\n    var wasApplied = false;\n    var initProperties = undefined,\n        initFactory = undefined;\n\n    var Class = (function () {\n      function Class() {\nbabelHelpers.classCallCheck(this, Class);\n\n        if (!wasApplied) {\n          Class.proto(); // prepare prototype...\n        }\n\n        if (arguments.length > 0) {\n          initProperties = [arguments[0]];\n        }\n\n        this.__defineNonEnumerable(_emberUtils.GUID_KEY_PROPERTY);\n        var m = _emberMetal.meta(this);\n        var proto = m.proto;\n        m.proto = this;\n\n        if (initFactory) {\n          m.factory = initFactory;\n          initFactory = null;\n        }\n        if (initProperties) {\n          // capture locally so we can clear the closed over variable\n          var props = initProperties;\n          initProperties = null;\n\n          var concatenatedProperties = this.concatenatedProperties;\n          var mergedProperties = this.mergedProperties;\n\n          for (var i = 0; i < props.length; i++) {\n            var properties = props[i];\n            _emberDebug.assert('Ember.Object.create no longer supports mixing in other ' + 'definitions, use .extend & .create separately instead.', !(properties instanceof _emberMetal.Mixin));\n\n            if (typeof properties !== 'object' && properties !== undefined) {\n              throw new _emberDebug.Error('Ember.Object.create only accepts objects.');\n            }\n\n            if (!properties) {\n              continue;\n            }\n\n            var keyNames = Object.keys(properties);\n\n            for (var j = 0; j < keyNames.length; j++) {\n              var keyName = keyNames[j];\n              var value = properties[keyName];\n\n              if (_emberMetal.detectBinding(keyName)) {\n                m.writeBindings(keyName, value);\n              }\n\n              var possibleDesc = this[keyName];\n              var desc = possibleDesc !== null && typeof possibleDesc === 'object' && possibleDesc.isDescriptor ? possibleDesc : undefined;\n\n              _emberDebug.assert('Ember.Object.create no longer supports defining computed ' + 'properties. Define computed properties using extend() or reopen() ' + 'before calling create().', !(value instanceof _emberMetal.ComputedProperty));\n              _emberDebug.assert('Ember.Object.create no longer supports defining methods that call _super.', !(typeof value === 'function' && value.toString().indexOf('._super') !== -1));\n              _emberDebug.assert('`actions` must be provided at extend time, not at create time, ' + 'when Ember.ActionHandler is used (i.e. views, controllers & routes).', !(keyName === 'actions' && _emberRuntimeMixinsAction_handler.default.detect(this)));\n\n              if (concatenatedProperties && concatenatedProperties.length > 0 && concatenatedProperties.indexOf(keyName) >= 0) {\n                var baseValue = this[keyName];\n\n                if (baseValue) {\n                  if ('function' === typeof baseValue.concat) {\n                    value = baseValue.concat(value);\n                  } else {\n                    value = _emberUtils.makeArray(baseValue).concat(value);\n                  }\n                } else {\n                  value = _emberUtils.makeArray(value);\n                }\n              }\n\n              if (mergedProperties && mergedProperties.length && mergedProperties.indexOf(keyName) >= 0) {\n                var originalValue = this[keyName];\n\n                value = _emberUtils.assign({}, originalValue, value);\n              }\n\n              if (desc) {\n                desc.set(this, keyName, value);\n              } else {\n                if (typeof this.setUnknownProperty === 'function' && !(keyName in this)) {\n                  this.setUnknownProperty(keyName, value);\n                } else {\n                  if (true) {\n                    _emberMetal.defineProperty(this, keyName, null, value); // setup mandatory setter\n                  } else {\n                      this[keyName] = value;\n                    }\n                }\n              }\n            }\n          }\n        }\n\n        finishPartial(this, m);\n\n        this.init.apply(this, arguments);\n\n        this[POST_INIT]();\n\n        m.proto = proto;\n        _emberMetal.finishChains(m);\n        _emberMetal.sendEvent(this, 'init');\n      }\n\n      Class.willReopen = function willReopen() {\n        if (wasApplied) {\n          Class.PrototypeMixin = _emberMetal.Mixin.create(Class.PrototypeMixin);\n        }\n\n        wasApplied = false;\n      };\n\n      Class._initProperties = function _initProperties(args) {\n        initProperties = args;\n      };\n\n      Class._initFactory = function _initFactory(factory) {\n        initFactory = factory;\n      };\n\n      Class.proto = function proto() {\n        var superclass = Class.superclass;\n        if (superclass) {\n          superclass.proto();\n        }\n\n        if (!wasApplied) {\n          wasApplied = true;\n          Class.PrototypeMixin.applyPartial(Class.prototype);\n        }\n\n        return this.prototype;\n      };\n\n      return Class;\n    })();\n\n    Class.toString = _emberMetal.Mixin.prototype.toString;\n\n    return Class;\n  }\n\n  /**\n    @class CoreObject\n    @namespace Ember\n    @public\n  */\n  var CoreObject = makeCtor();\n  CoreObject.toString = function () {\n    return 'Ember.CoreObject';\n  };\n  CoreObject.PrototypeMixin = _emberMetal.Mixin.create((_Mixin$create = {\n    reopen: function () {\n      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      applyMixin(this, args, true);\n      return this;\n    },\n\n    /**\n      An overridable method called when objects are instantiated. By default,\n      does nothing unless it is overridden during class definition.\n       Example:\n       ```javascript\n      const Person = Ember.Object.extend({\n        init() {\n          alert(`Name is ${this.get('name')}`);\n        }\n      });\n       let steve = Person.create({\n        name: 'Steve'\n      });\n       // alerts 'Name is Steve'.\n      ```\n       NOTE: If you do override `init` for a framework class like `Ember.View`,\n      be sure to call `this._super(...arguments)` in your\n      `init` declaration! If you don't, Ember may not have an opportunity to\n      do important setup work, and you'll see strange behavior in your\n      application.\n       @method init\n      @public\n    */\n    init: function () {}\n\n  }, _Mixin$create[POST_INIT] = function () {}, _Mixin$create.__defineNonEnumerable = function (property) {\n    Object.defineProperty(this, property.name, property.descriptor);\n    //this[property.name] = property.descriptor.value;\n  }, _Mixin$create.concatenatedProperties = null, _Mixin$create.mergedProperties = null, _Mixin$create.isDestroyed = _emberMetal.descriptor({\n    get: function () {\n      return _emberMetal.meta(this).isSourceDestroyed();\n    },\n\n    set: function (value) {\n      // prevent setting while applying mixins\n      if (typeof value === 'object' && value !== null && value.isDescriptor) {\n        return;\n      }\n\n      _emberDebug.assert(('You cannot set `' + this + '.isDestroyed` directly, please use ').destroy()(_templateObject), false);\n    }\n  }), _Mixin$create.isDestroying = _emberMetal.descriptor({\n    get: function () {\n      return _emberMetal.meta(this).isSourceDestroying();\n    },\n\n    set: function (value) {\n      // prevent setting while applying mixins\n      if (typeof value === 'object' && value !== null && value.isDescriptor) {\n        return;\n      }\n\n      _emberDebug.assert(('You cannot set `' + this + '.isDestroying` directly, please use ').destroy()(_templateObject), false);\n    }\n  }), _Mixin$create.destroy = function () {\n    var m = _emberMetal.meta(this);\n    if (m.isSourceDestroying()) {\n      return;\n    }\n\n    m.setSourceDestroying();\n\n    schedule('actions', this, this.willDestroy);\n    schedule('destroy', this, this._scheduledDestroy, m);\n\n    return this;\n  }, _Mixin$create.willDestroy = function () {}, _Mixin$create._scheduledDestroy = function (m) {\n    if (m.isSourceDestroyed()) {\n      return;\n    }\n    _emberMetal.destroy(this);\n    m.setSourceDestroyed();\n  }, _Mixin$create.bind = function (to, from) {\n    if (!(from instanceof _emberMetal.Binding)) {\n      from = _emberMetal.Binding.from(from);\n    }\n    from.to(to).connect(this);\n    return from;\n  }, _Mixin$create.toString = function () {\n    var hasToStringExtension = typeof this.toStringExtension === 'function';\n    var extension = hasToStringExtension ? ':' + this.toStringExtension() : '';\n\n    var ret = '<' + (this[_emberUtils.NAME_KEY] || _emberMetal.meta(this).factory || this.constructor.toString()) + ':' + _emberUtils.guidFor(this) + extension + '>';\n\n    return ret;\n  }, _Mixin$create));\n\n  CoreObject.PrototypeMixin.ownerConstructor = CoreObject;\n\n  CoreObject.__super__ = null;\n\n  var ClassMixinProps = (_ClassMixinProps = {\n\n    ClassMixin: _emberMetal.REQUIRED,\n\n    PrototypeMixin: _emberMetal.REQUIRED,\n\n    isClass: true,\n\n    isMethod: false\n  }, _ClassMixinProps[_emberUtils.NAME_KEY] = null, _ClassMixinProps[_emberUtils.GUID_KEY] = null, _ClassMixinProps.extend = function () {\n    var Class = makeCtor();\n    var proto = undefined;\n    Class.ClassMixin = _emberMetal.Mixin.create(this.ClassMixin);\n    Class.PrototypeMixin = _emberMetal.Mixin.create(this.PrototypeMixin);\n\n    Class.ClassMixin.ownerConstructor = Class;\n    Class.PrototypeMixin.ownerConstructor = Class;\n\n    reopen.apply(Class.PrototypeMixin, arguments);\n\n    Class.superclass = this;\n    Class.__super__ = this.prototype;\n\n    proto = Class.prototype = Object.create(this.prototype);\n    proto.constructor = Class;\n    _emberUtils.generateGuid(proto);\n    _emberMetal.meta(proto).proto = proto; // this will disable observers on prototype\n\n    Class.ClassMixin.apply(Class);\n    return Class;\n  }, _ClassMixinProps.create = function () {\n    var C = this;\n\n    for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n      args[_key2] = arguments[_key2];\n    }\n\n    if (args.length > 0) {\n      this._initProperties(args);\n    }\n    return new C();\n  }, _ClassMixinProps.reopen = function () {\n    this.willReopen();\n    reopen.apply(this.PrototypeMixin, arguments);\n    return this;\n  }, _ClassMixinProps.reopenClass = function () {\n    reopen.apply(this.ClassMixin, arguments);\n    applyMixin(this, arguments, false);\n    return this;\n  }, _ClassMixinProps.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  }, _ClassMixinProps.detectInstance = function (obj) {\n    return obj instanceof this;\n  }, _ClassMixinProps.metaForProperty = function (key) {\n    var proto = this.proto();\n    var possibleDesc = proto[key];\n    var desc = possibleDesc !== null && typeof possibleDesc === 'object' && possibleDesc.isDescriptor ? possibleDesc : undefined;\n\n    _emberDebug.assert('metaForProperty() could not find a computed property with key \\'' + key + '\\'.', !!desc && desc instanceof _emberMetal.ComputedProperty);\n    return desc._meta || {};\n  }, _ClassMixinProps._computedProperties = _emberMetal.computed(function () {\n    _emberMetal._hasCachedComputedProperties();\n    var proto = this.proto();\n    var property = undefined;\n    var properties = [];\n\n    for (var _name in proto) {\n      property = proto[_name];\n\n      if (property && property.isDescriptor) {\n        properties.push({\n          name: _name,\n          meta: property._meta\n        });\n      }\n    }\n    return properties;\n  }).readOnly(), _ClassMixinProps.eachComputedProperty = function (callback, binding) {\n    var property = undefined;\n    var empty = {};\n\n    var properties = _emberMetal.get(this, '_computedProperties');\n\n    for (var i = 0; i < properties.length; i++) {\n      property = properties[i];\n      callback.call(binding || this, property.name, property.meta || empty);\n    }\n  }, _ClassMixinProps);\n\n  function injectedPropertyAssertion() {\n    _emberDebug.assert('Injected properties are invalid', _emberRuntimeInject.validatePropertyInjections(this));\n  }\n\n  _emberDebug.runInDebug(function () {\n    /**\n      Provides lookup-time type validation for injected properties.\n       @private\n      @method _onLookup\n    */\n    ClassMixinProps._onLookup = injectedPropertyAssertion;\n  });\n\n  /**\n    Returns a hash of property names and container names that injected\n    properties will lookup on the container lazily.\n  \n    @method _lazyInjections\n    @return {Object} Hash of all lazy injected property keys to container names\n    @private\n  */\n  ClassMixinProps._lazyInjections = function () {\n    var injections = {};\n    var proto = this.proto();\n    var key = undefined;\n    var desc = undefined;\n\n    for (key in proto) {\n      desc = proto[key];\n      if (desc instanceof _emberMetal.InjectedProperty) {\n        injections[key] = desc.type + ':' + (desc.name || key);\n      }\n    }\n\n    return injections;\n  };\n\n  var ClassMixin = _emberMetal.Mixin.create(ClassMixinProps);\n\n  ClassMixin.ownerConstructor = CoreObject;\n\n  CoreObject.ClassMixin = ClassMixin;\n\n  ClassMixin.apply(CoreObject);\n  exports.default = CoreObject;\n});\n// Private, and only for didInitAttrs willRecieveAttrs\n\n/**\n  Defines the properties that will be concatenated from the superclass\n  (instead of overridden).\n   By default, when you extend an Ember class a property defined in\n  the subclass overrides a property with the same name that is defined\n  in the superclass. However, there are some cases where it is preferable\n  to build up a property's value by combining the superclass' property\n  value with the subclass' value. An example of this in use within Ember\n  is the `classNames` property of `Ember.View`.\n   Here is some sample code showing the difference between a concatenated\n  property and a normal one:\n   ```javascript\n  const Bar = Ember.Object.extend({\n    // Configure which properties to concatenate\n    concatenatedProperties: ['concatenatedProperty'],\n     someNonConcatenatedProperty: ['bar'],\n    concatenatedProperty: ['bar']\n  });\n   const FooBar = Bar.extend({\n    someNonConcatenatedProperty: ['foo'],\n    concatenatedProperty: ['foo']\n  });\n   let fooBar = FooBar.create();\n  fooBar.get('someNonConcatenatedProperty'); // ['foo']\n  fooBar.get('concatenatedProperty'); // ['bar', 'foo']\n  ```\n   This behavior extends to object creation as well. Continuing the\n  above example:\n   ```javascript\n  let fooBar = FooBar.create({\n    someNonConcatenatedProperty: ['baz'],\n    concatenatedProperty: ['baz']\n  })\n  fooBar.get('someNonConcatenatedProperty'); // ['baz']\n  fooBar.get('concatenatedProperty'); // ['bar', 'foo', 'baz']\n  ```\n   Adding a single property that is not an array will just add it in the array:\n   ```javascript\n  let fooBar = FooBar.create({\n    concatenatedProperty: 'baz'\n  })\n  view.get('concatenatedProperty'); // ['bar', 'foo', 'baz']\n  ```\n   Using the `concatenatedProperties` property, we can tell Ember to mix the\n  content of the properties.\n   In `Ember.Component` the `classNames`, `classNameBindings` and\n  `attributeBindings` properties are concatenated.\n   This feature is available for you to use throughout the Ember object model,\n  although typical app developers are likely to use it infrequently. Since\n  it changes expectations about behavior of properties, you should properly\n  document its usage in each individual concatenated property (to not\n  mislead your users to think they can override the property in a subclass).\n   @property concatenatedProperties\n  @type Array\n  @default null\n  @public\n*/\n\n/**\n  Defines the properties that will be merged from the superclass\n  (instead of overridden).\n   By default, when you extend an Ember class a property defined in\n  the subclass overrides a property with the same name that is defined\n  in the superclass. However, there are some cases where it is preferable\n  to build up a property's value by merging the superclass property value\n  with the subclass property's value. An example of this in use within Ember\n  is the `queryParams` property of routes.\n   Here is some sample code showing the difference between a merged\n  property and a normal one:\n   ```javascript\n  const Bar = Ember.Object.extend({\n    // Configure which properties are to be merged\n    mergedProperties: ['mergedProperty'],\n     someNonMergedProperty: {\n      nonMerged: 'superclass value of nonMerged'\n    },\n    mergedProperty: {\n      page: { replace: false },\n      limit: { replace: true }\n    }\n  });\n   const FooBar = Bar.extend({\n    someNonMergedProperty: {\n      completelyNonMerged: 'subclass value of nonMerged'\n    },\n    mergedProperty: {\n      limit: { replace: false }\n    }\n  });\n   let fooBar = FooBar.create();\n   fooBar.get('someNonMergedProperty');\n  // => { completelyNonMerged: 'subclass value of nonMerged' }\n  //\n  // Note the entire object, including the nonMerged property of\n  // the superclass object, has been replaced\n   fooBar.get('mergedProperty');\n  // => {\n  //   page: {replace: false},\n  //   limit: {replace: false}\n  // }\n  //\n  // Note the page remains from the superclass, and the\n  // `limit` property's value of `false` has been merged from\n  // the subclass.\n  ```\n   This behavior is not available during object `create` calls. It is only\n  available at `extend` time.\n   In `Ember.Route` the `queryParams` property is merged.\n   This feature is available for you to use throughout the Ember object model,\n  although typical app developers are likely to use it infrequently. Since\n  it changes expectations about behavior of properties, you should properly\n  document its usage in each individual merged property (to not\n  mislead your users to think they can override the property in a subclass).\n   @property mergedProperties\n  @type Array\n  @default null\n  @public\n*/\n\n/**\n  Destroyed object property flag.\n   if this property is `true` the observers and bindings were already\n  removed by the effect of calling the `destroy()` method.\n   @property isDestroyed\n  @default false\n  @public\n*/\n\n/**\n  Destruction scheduled flag. The `destroy()` method has been called.\n   The object stays intact until the end of the run loop at which point\n  the `isDestroyed` flag is set.\n   @property isDestroying\n  @default false\n  @public\n*/\n\n/**\n  Destroys an object by setting the `isDestroyed` flag and removing its\n  metadata, which effectively destroys observers and bindings.\n   If you try to set a property on a destroyed object, an exception will be\n  raised.\n   Note that destruction is scheduled for the end of the run loop and does not\n  happen immediately.  It will set an isDestroying flag immediately.\n   @method destroy\n  @return {Ember.Object} receiver\n  @public\n*/\n\n/**\n  Override to implement teardown.\n   @method willDestroy\n  @public\n*/\n\n/**\n  Invoked by the run loop to actually destroy the object. This is\n  scheduled for execution by the `destroy` method.\n   @private\n  @method _scheduledDestroy\n*/\n\n/**\n  Returns a string representation which attempts to provide more information\n  than Javascript's `toString` typically does, in a generic way for all Ember\n  objects.\n   ```javascript\n  const Person = Ember.Object.extend()\n  person = Person.create()\n  person.toString() //=> \"<Person:ember1024>\"\n  ```\n   If the object's class is not defined on an Ember namespace, it will\n  indicate it is a subclass of the registered superclass:\n  ```javascript\n  const Student = Person.extend()\n  let student = Student.create()\n  student.toString() //=> \"<(subclass of Person):ember1025>\"\n  ```\n   If the method `toStringExtension` is defined, its return value will be\n  included in the output.\n   ```javascript\n  const Teacher = Person.extend({\n    toStringExtension() {\n      return this.get('fullName');\n    }\n  });\n  teacher = Teacher.create()\n  teacher.toString(); //=> \"<Teacher:ember1026:Tom Dale>\"\n  ```\n   @method toString\n  @return {String} string representation\n  @public\n*/\n\n/**\n  Creates a new subclass.\n   ```javascript\n  const Person = Ember.Object.extend({\n    say(thing) {\n      alert(thing);\n     }\n  });\n  ```\n   This defines a new subclass of Ember.Object: `Person`. It contains one method: `say()`.\n   You can also create a subclass from any existing class by calling its `extend()` method.\n  For example, you might want to create a subclass of Ember's built-in `Ember.Component` class:\n   ```javascript\n  const PersonComponent = Ember.Component.extend({\n    tagName: 'li',\n    classNameBindings: ['isAdministrator']\n  });\n  ```\n   When defining a subclass, you can override methods but still access the\n  implementation of your parent class by calling the special `_super()` method:\n   ```javascript\n  const Person = Ember.Object.extend({\n    say(thing) {\n      let name = this.get('name');\n      alert(`${name} says: ${thing}`);\n    }\n  });\n   const Soldier = Person.extend({\n    say(thing) {\n      this._super(`${thing}, sir!`);\n    },\n    march(numberOfHours) {\n      alert(`${this.get('name')} marches for ${numberOfHours} hours.`);\n    }\n  });\n   let yehuda = Soldier.create({\n    name: 'Yehuda Katz'\n  });\n   yehuda.say('Yes');  // alerts \"Yehuda Katz says: Yes, sir!\"\n  ```\n   The `create()` on line #17 creates an *instance* of the `Soldier` class.\n  The `extend()` on line #8 creates a *subclass* of `Person`. Any instance\n  of the `Person` class will *not* have the `march()` method.\n   You can also pass `Mixin` classes to add additional properties to the subclass.\n   ```javascript\n  const Person = Ember.Object.extend({\n    say(thing) {\n      alert(`${this.get('name')} says: ${thing}`);\n    }\n  });\n   const SingingMixin = Mixin.create({\n    sing(thing){\n      alert(`${this.get('name')} sings: la la la ${thing}`);\n    }\n  });\n   const BroadwayStar = Person.extend(SingingMixin, {\n    dance() {\n      alert(`${this.get('name')} dances: tap tap tap tap `);\n    }\n  });\n  ```\n   The `BroadwayStar` class contains three methods: `say()`, `sing()`, and `dance()`.\n   @method extend\n  @static\n   @param {Mixin} [mixins]* One or more Mixin classes\n  @param {Object} [arguments]* Object containing values to use within the new class\n  @public\n*/\n\n/**\n  Creates an instance of a class. Accepts either no arguments, or an object\n  containing values to initialize the newly instantiated object with.\n   ```javascript\n  const Person = Ember.Object.extend({\n    helloWorld() {\n      alert(`Hi, my name is ${this.get('name')}`);\n    }\n  });\n   let tom = Person.create({\n    name: 'Tom Dale'\n  });\n   tom.helloWorld(); // alerts \"Hi, my name is Tom Dale\".\n  ```\n   `create` will call the `init` function if defined during\n  `Ember.AnyObject.extend`\n   If no arguments are passed to `create`, it will not set values to the new\n  instance during initialization:\n   ```javascript\n  let noName = Person.create();\n  noName.helloWorld(); // alerts undefined\n  ```\n   NOTE: For performance reasons, you cannot declare methods or computed\n  properties during `create`. You should instead declare methods and computed\n  properties when using `extend`.\n   @method create\n  @static\n  @param [arguments]*\n  @public\n*/\n\n/**\n  Augments a constructor's prototype with additional\n  properties and functions:\n   ```javascript\n  const MyObject = Ember.Object.extend({\n    name: 'an object'\n  });\n   o = MyObject.create();\n  o.get('name'); // 'an object'\n   MyObject.reopen({\n    say(msg) {\n      console.log(msg);\n    }\n  });\n   o2 = MyObject.create();\n  o2.say('hello'); // logs \"hello\"\n   o.say('goodbye'); // logs \"goodbye\"\n  ```\n   To add functions and properties to the constructor itself,\n  see `reopenClass`\n   @method reopen\n  @public\n*/\n\n/**\n  Augments a constructor's own properties and functions:\n   ```javascript\n  const MyObject = Ember.Object.extend({\n    name: 'an object'\n  });\n   MyObject.reopenClass({\n    canBuild: false\n  });\n   MyObject.canBuild; // false\n  o = MyObject.create();\n  ```\n   In other words, this creates static properties and functions for the class.\n  These are only available on the class and not on any instance of that class.\n   ```javascript\n  const Person = Ember.Object.extend({\n    name: '',\n    sayHello() {\n      alert(`Hello. My name is ${this.get('name')}`);\n    }\n  });\n   Person.reopenClass({\n    species: 'Homo sapiens',\n     createPerson(name) {\n      return Person.create({ name });\n    }\n  });\n   let tom = Person.create({\n    name: 'Tom Dale'\n  });\n  let yehuda = Person.createPerson('Yehuda Katz');\n   tom.sayHello(); // \"Hello. My name is Tom Dale\"\n  yehuda.sayHello(); // \"Hello. My name is Yehuda Katz\"\n  alert(Person.species); // \"Homo sapiens\"\n  ```\n   Note that `species` and `createPerson` are *not* valid on the `tom` and `yehuda`\n  variables. They are only valid on `Person`.\n   To add functions and properties to instances of\n  a constructor by extending the constructor's prototype\n  see `reopen`\n   @method reopenClass\n  @public\n*/\n\n/**\n  In some cases, you may want to annotate computed properties with additional\n  metadata about how they function or what values they operate on. For\n  example, computed property functions may close over variables that are then\n  no longer available for introspection.\n   You can pass a hash of these values to a computed property like this:\n   ```javascript\n  person: Ember.computed(function() {\n    let personId = this.get('personId');\n    return Person.create({ id: personId });\n  }).meta({ type: Person })\n  ```\n   Once you've done this, you can retrieve the values saved to the computed\n  property from your class like this:\n   ```javascript\n  MyClass.metaForProperty('person');\n  ```\n   This will return the original hash that was passed to `meta()`.\n   @static\n  @method metaForProperty\n  @param key {String} property name\n  @private\n*/\n\n/**\n  Iterate over each computed property for the class, passing its name\n  and any associated metadata (see `metaForProperty`) to the callback.\n   @static\n  @method eachComputedProperty\n  @param {Function} callback\n  @param {Object} binding\n  @private\n*/\nenifed('ember-runtime/system/each_proxy', ['exports', 'ember-debug', 'ember-metal', 'ember-runtime/mixins/array'], function (exports, _emberDebug, _emberMetal, _emberRuntimeMixinsArray) {\n  'use strict';\n\n  exports.default = EachProxy;\n\n  /**\n    This is the object instance returned when you get the `@each` property on an\n    array. It uses the unknownProperty handler to automatically create\n    EachArray instances for property names.\n    @class EachProxy\n    @private\n  */\n\n  function EachProxy(content) {\n    this._content = content;\n    this._keys = undefined;\n    this.__ember_meta__ = null;\n  }\n\n  EachProxy.prototype = {\n    __defineNonEnumerable: function (property) {\n      this[property.name] = property.descriptor.value;\n    },\n\n    // ..........................................................\n    // ARRAY CHANGES\n    // Invokes whenever the content array itself changes.\n\n    arrayWillChange: function (content, idx, removedCnt, addedCnt) {\n      var keys = this._keys;\n      var lim = removedCnt > 0 ? idx + removedCnt : -1;\n      for (var key in keys) {\n        if (lim > 0) {\n          removeObserverForContentKey(content, key, this, idx, lim);\n        }\n        _emberMetal.propertyWillChange(this, key);\n      }\n    },\n\n    arrayDidChange: function (content, idx, removedCnt, addedCnt) {\n      var keys = this._keys;\n      var lim = addedCnt > 0 ? idx + addedCnt : -1;\n      for (var key in keys) {\n        if (lim > 0) {\n          addObserverForContentKey(content, key, this, idx, lim);\n        }\n        _emberMetal.propertyDidChange(this, key);\n      }\n    },\n\n    // ..........................................................\n    // LISTEN FOR NEW OBSERVERS AND OTHER EVENT LISTENERS\n    // Start monitoring keys based on who is listening...\n\n    willWatchProperty: function (property) {\n      this.beginObservingContentKey(property);\n    },\n\n    didUnwatchProperty: function (property) {\n      this.stopObservingContentKey(property);\n    },\n\n    // ..........................................................\n    // CONTENT KEY OBSERVING\n    // Actual watch keys on the source content.\n\n    beginObservingContentKey: function (keyName) {\n      var keys = this._keys;\n      if (!keys) {\n        keys = this._keys = Object.create(null);\n      }\n\n      if (!keys[keyName]) {\n        keys[keyName] = 1;\n        var content = this._content;\n        var len = _emberMetal.get(content, 'length');\n\n        addObserverForContentKey(content, keyName, this, 0, len);\n      } else {\n        keys[keyName]++;\n      }\n    },\n\n    stopObservingContentKey: function (keyName) {\n      var keys = this._keys;\n      if (keys && keys[keyName] > 0 && --keys[keyName] <= 0) {\n        var content = this._content;\n        var len = _emberMetal.get(content, 'length');\n\n        removeObserverForContentKey(content, keyName, this, 0, len);\n      }\n    },\n\n    contentKeyWillChange: function (obj, keyName) {\n      _emberMetal.propertyWillChange(this, keyName);\n    },\n\n    contentKeyDidChange: function (obj, keyName) {\n      _emberMetal.propertyDidChange(this, keyName);\n    }\n  };\n\n  function addObserverForContentKey(content, keyName, proxy, idx, loc) {\n    while (--loc >= idx) {\n      var item = _emberRuntimeMixinsArray.objectAt(content, loc);\n      if (item) {\n        _emberDebug.assert('When using @each to observe the array ' + content + ', the array must return an object', typeof item === 'object');\n        _emberMetal._addBeforeObserver(item, keyName, proxy, 'contentKeyWillChange');\n        _emberMetal.addObserver(item, keyName, proxy, 'contentKeyDidChange');\n      }\n    }\n  }\n\n  function removeObserverForContentKey(content, keyName, proxy, idx, loc) {\n    while (--loc >= idx) {\n      var item = _emberRuntimeMixinsArray.objectAt(content, loc);\n      if (item) {\n        _emberMetal._removeBeforeObserver(item, keyName, proxy, 'contentKeyWillChange');\n        _emberMetal.removeObserver(item, keyName, proxy, 'contentKeyDidChange');\n      }\n    }\n  }\n});\nenifed('ember-runtime/system/lazy_load', ['exports', 'ember-environment'], function (exports, _emberEnvironment) {\n  /*globals CustomEvent */\n\n  'use strict';\n\n  exports.onLoad = onLoad;\n  exports.runLoadHooks = runLoadHooks;\n\n  /**\n    @module ember\n    @submodule ember-runtime\n  */\n\n  var loadHooks = _emberEnvironment.ENV.EMBER_LOAD_HOOKS || {};\n  var loaded = {};\n  var _loaded = loaded;\n\n  exports._loaded = _loaded;\n  /**\n    Detects when a specific package of Ember (e.g. 'Ember.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    Ember.onLoad('Ember.Application' function(hbars) {\n      hbars.registerHelper(...);\n    });\n    ```\n  \n    @method onLoad\n    @for Ember\n    @param name {String} name of hook\n    @param callback {Function} callback to be called\n    @private\n  */\n\n  function onLoad(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 Ember.Application) has finished\n    loading. Triggers any callbacks registered for this event.\n  \n    @method runLoadHooks\n    @for Ember\n    @param name {String} name of hook\n    @param object {Object} object to pass to callbacks\n    @private\n  */\n\n  function runLoadHooks(name, object) {\n    loaded[name] = object;\n    var window = _emberEnvironment.environment.window;\n\n    if (window && typeof CustomEvent === 'function') {\n      var _event = new CustomEvent(name, { detail: object, name: name });\n      window.dispatchEvent(_event);\n    }\n\n    if (loadHooks[name]) {\n      loadHooks[name].forEach(function (callback) {\n        return callback(object);\n      });\n    }\n  }\n});\nenifed('ember-runtime/system/namespace', ['exports', 'ember-utils', 'ember-metal', 'ember-environment', 'ember-runtime/system/object'], function (exports, _emberUtils, _emberMetal, _emberEnvironment, _emberRuntimeSystemObject) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n  'use strict';\n\n  exports.isSearchDisabled = isSearchDisabled;\n  exports.setSearchDisabled = setSearchDisabled;\n\n  var searchDisabled = false;\n\n  function isSearchDisabled() {\n    return searchDisabled;\n  }\n\n  function setSearchDisabled(flag) {\n    searchDisabled = !!flag;\n  }\n\n  /**\n    A Namespace is an object usually used to contain other objects or methods\n    such as an application or framework. Create a namespace anytime you want\n    to define one of these new containers.\n  \n    # Example Usage\n  \n    ```javascript\n    MyFramework = Ember.Namespace.create({\n      VERSION: '1.0.0'\n    });\n    ```\n  \n    @class Namespace\n    @namespace Ember\n    @extends Ember.Object\n    @public\n  */\n  var Namespace = _emberRuntimeSystemObject.default.extend({\n    isNamespace: true,\n\n    init: function () {\n      Namespace.NAMESPACES.push(this);\n      Namespace.PROCESSED = false;\n    },\n\n    toString: function () {\n      var name = _emberMetal.get(this, 'name') || _emberMetal.get(this, 'modulePrefix');\n      if (name) {\n        return name;\n      }\n\n      findNamespaces();\n      return this[_emberUtils.NAME_KEY];\n    },\n\n    nameClasses: function () {\n      processNamespace([this.toString()], this, {});\n    },\n\n    destroy: function () {\n      var namespaces = Namespace.NAMESPACES;\n      var toString = this.toString();\n\n      if (toString) {\n        _emberEnvironment.context.lookup[toString] = undefined;\n        delete Namespace.NAMESPACES_BY_ID[toString];\n      }\n      namespaces.splice(namespaces.indexOf(this), 1);\n      this._super.apply(this, arguments);\n    }\n  });\n\n  Namespace.reopenClass({\n    NAMESPACES: [_emberMetal.default],\n    NAMESPACES_BY_ID: {\n      Ember: _emberMetal.default\n    },\n    PROCESSED: false,\n    processAll: processAllNamespaces,\n    byName: function (name) {\n      if (!searchDisabled) {\n        processAllNamespaces();\n      }\n\n      return NAMESPACES_BY_ID[name];\n    }\n  });\n\n  var NAMESPACES_BY_ID = Namespace.NAMESPACES_BY_ID;\n\n  var hasOwnProp = ({}).hasOwnProperty;\n\n  function processNamespace(paths, root, seen) {\n    var idx = paths.length;\n\n    NAMESPACES_BY_ID[paths.join('.')] = root;\n\n    // Loop over all of the keys in the namespace, looking for classes\n    for (var key in root) {\n      if (!hasOwnProp.call(root, key)) {\n        continue;\n      }\n      var obj = root[key];\n\n      // If we are processing the `Ember` namespace, for example, the\n      // `paths` will start with `[\"Ember\"]`. Every iteration through\n      // the loop will update the **second** element of this list with\n      // the key, so processing `Ember.View` will make the Array\n      // `['Ember', 'View']`.\n      paths[idx] = key;\n\n      // If we have found an unprocessed class\n      if (obj && obj.toString === classToString && !obj[_emberUtils.NAME_KEY]) {\n        // Replace the class' `toString` with the dot-separated path\n        // and set its `NAME_KEY`\n        obj[_emberUtils.NAME_KEY] = paths.join('.');\n\n        // Support nested namespaces\n      } else if (obj && obj.isNamespace) {\n          // Skip aliased namespaces\n          if (seen[_emberUtils.guidFor(obj)]) {\n            continue;\n          }\n          seen[_emberUtils.guidFor(obj)] = true;\n\n          // Process the child namespace\n          processNamespace(paths, obj, seen);\n        }\n    }\n\n    paths.length = idx; // cut out last item\n  }\n\n  function isUppercase(code) {\n    return code >= 65 && // A\n    code <= 90; // Z\n  }\n\n  function tryIsNamespace(lookup, prop) {\n    try {\n      var obj = lookup[prop];\n      return obj && obj.isNamespace && obj;\n    } catch (e) {\n      // continue\n    }\n  }\n\n  function findNamespaces() {\n    if (Namespace.PROCESSED) {\n      return;\n    }\n    var lookup = _emberEnvironment.context.lookup;\n    var keys = Object.keys(lookup);\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n      // Only process entities that start with uppercase A-Z\n      if (!isUppercase(key.charCodeAt(0))) {\n        continue;\n      }\n      var obj = tryIsNamespace(lookup, key);\n      if (obj) {\n        obj[_emberUtils.NAME_KEY] = key;\n      }\n    }\n  }\n\n  function superClassString(mixin) {\n    var superclass = mixin.superclass;\n    if (superclass) {\n      if (superclass[_emberUtils.NAME_KEY]) {\n        return superclass[_emberUtils.NAME_KEY];\n      }\n      return superClassString(superclass);\n    }\n  }\n\n  function calculateToString(target) {\n    var str = undefined;\n\n    if (!searchDisabled) {\n      processAllNamespaces();\n      // can also be set by processAllNamespaces\n      str = target[_emberUtils.NAME_KEY];\n      if (str) {\n        return str;\n      } else {\n        str = superClassString(target);\n        str = str ? '(subclass of ' + str + ')' : str;\n      }\n    }\n    if (str) {\n      return str;\n    } else {\n      return '(unknown mixin)';\n    }\n  }\n\n  function classToString() {\n    var name = this[_emberUtils.NAME_KEY];\n    if (name) {\n      return name;\n    }\n\n    return this[_emberUtils.NAME_KEY] = calculateToString(this);\n  }\n\n  function processAllNamespaces() {\n    var unprocessedNamespaces = !Namespace.PROCESSED;\n    var unprocessedMixins = _emberMetal.hasUnprocessedMixins();\n\n    if (unprocessedNamespaces) {\n      findNamespaces();\n      Namespace.PROCESSED = true;\n    }\n\n    if (unprocessedNamespaces || unprocessedMixins) {\n      var namespaces = Namespace.NAMESPACES;\n      var namespace = undefined;\n\n      for (var i = 0; i < namespaces.length; i++) {\n        namespace = namespaces[i];\n        processNamespace([namespace.toString()], namespace, {});\n      }\n\n      _emberMetal.clearUnprocessedMixins();\n    }\n  }\n\n  _emberMetal.Mixin.prototype.toString = classToString; // ES6TODO: altering imported objects. SBB.\n\n  exports.default = Namespace;\n});\n// Preloaded into namespaces\nenifed('ember-runtime/system/native_array', ['exports', 'ember-metal', 'ember-environment', 'ember-runtime/mixins/array', 'ember-runtime/mixins/mutable_array', 'ember-runtime/mixins/observable', 'ember-runtime/mixins/copyable', 'ember-runtime/mixins/freezable', 'ember-runtime/copy'], function (exports, _emberMetal, _emberEnvironment, _emberRuntimeMixinsArray, _emberRuntimeMixinsMutable_array, _emberRuntimeMixinsObservable, _emberRuntimeMixinsCopyable, _emberRuntimeMixinsFreezable, _emberRuntimeCopy) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n  'use strict';\n\n  var _NativeArray;\n\n  // Add Ember.Array to Array.prototype. Remove methods with native\n  // implementations and supply some more optimized versions of generic methods\n  // because they are so common.\n\n  /**\n    The NativeArray mixin contains the properties needed to make the native\n    Array support Ember.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 NativeArray\n    @namespace Ember\n    @uses Ember.MutableArray\n    @uses Ember.Observable\n    @uses Ember.Copyable\n    @public\n  */\n  var NativeArray = _emberMetal.Mixin.create(_emberRuntimeMixinsMutable_array.default, _emberRuntimeMixinsObservable.default, _emberRuntimeMixinsCopyable.default, {\n\n    // because length is a built-in property we need to know to just get the\n    // original property.\n    get: function (key) {\n      if ('number' === typeof key) {\n        return this[key];\n      } else {\n        return this._super(key);\n      }\n    },\n\n    objectAt: function (idx) {\n      return this[idx];\n    },\n\n    // primitive for array support.\n    replace: function (idx, amt, objects) {\n      if (this.isFrozen) {\n        throw _emberRuntimeMixinsFreezable.FROZEN_ERROR;\n      }\n\n      // if we replaced exactly the same number of items, then pass only the\n      // replaced range. Otherwise, pass the full remaining array length\n      // since everything has shifted\n      var len = objects ? _emberMetal.get(objects, 'length') : 0;\n      _emberRuntimeMixinsArray.arrayContentWillChange(this, idx, amt, len);\n\n      if (len === 0) {\n        this.splice(idx, amt);\n      } else {\n        _emberMetal.replace(this, idx, amt, objects);\n      }\n\n      _emberRuntimeMixinsArray.arrayContentDidChange(this, idx, amt, len);\n      return this;\n    },\n\n    // If you ask for an unknown property, then try to collect the value\n    // from member items.\n    unknownProperty: function (key, value) {\n      var ret = undefined; // = this.reducedProperty(key, value);\n      if (value !== undefined && ret === undefined) {\n        ret = this[key] = value;\n      }\n      return ret;\n    },\n\n    indexOf: Array.prototype.indexOf,\n    lastIndexOf: Array.prototype.lastIndexOf,\n\n    copy: function (deep) {\n      if (deep) {\n        return this.map(function (item) {\n          return _emberRuntimeCopy.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 // TODO: only use default export\n   = NativeArray = (_NativeArray = NativeArray).without.apply(_NativeArray, ignore);\n\n  /**\n    Creates an `Ember.NativeArray` from an Array like object.\n    Does not modify the original object. Ember.A is not needed if\n    `EmberENV.EXTEND_PROTOTYPES` is `true` (the default value). However,\n    it is recommended that you use Ember.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    ```js\n    export default Ember.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', Ember.A());\n        }\n      }\n    });\n    ```\n  \n    @method A\n    @for Ember\n    @return {Ember.NativeArray}\n    @public\n  */\n  var A = undefined;\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 _emberRuntimeMixinsArray.default.detect(arr) ? arr : NativeArray.apply(arr);\n    };\n  }\n\n  _emberMetal.default.A = A;\n  exports.A = A;\n  exports.NativeArray = NativeArray;\n  exports.default = NativeArray;\n});\n// Ember.A circular\nenifed('ember-runtime/system/object', ['exports', 'ember-utils', 'ember-metal', 'ember-runtime/system/core_object', 'ember-runtime/mixins/observable', 'ember-debug'], function (exports, _emberUtils, _emberMetal, _emberRuntimeSystemCore_object, _emberRuntimeMixinsObservable, _emberDebug) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  'use strict';\n\n  var _CoreObject$extend;\n\n  var OVERRIDE_CONTAINER_KEY = _emberUtils.symbol('OVERRIDE_CONTAINER_KEY');\n  var OVERRIDE_OWNER = _emberUtils.symbol('OVERRIDE_OWNER');\n\n  /**\n    `Ember.Object` is the main base class for all Ember objects. It is a subclass\n    of `Ember.CoreObject` with the `Ember.Observable` mixin applied. For details,\n    see the documentation for each of these.\n  \n    @class Object\n    @namespace Ember\n    @extends Ember.CoreObject\n    @uses Ember.Observable\n    @public\n  */\n  var EmberObject = _emberRuntimeSystemCore_object.default.extend(_emberRuntimeMixinsObservable.default, (_CoreObject$extend = {\n    _debugContainerKey: _emberMetal.descriptor({\n      enumerable: false,\n      get: function () {\n        if (this[OVERRIDE_CONTAINER_KEY]) {\n          return this[OVERRIDE_CONTAINER_KEY];\n        }\n\n        var meta = _emberMetal.meta(this);\n        var factory = meta.factory;\n\n        return factory && factory.fullName;\n      },\n\n      // we need a setter here largely to support the legacy\n      // `owner._lookupFactory` and its double extend\n      set: function (value) {\n        this[OVERRIDE_CONTAINER_KEY] = value;\n      }\n    })\n\n  }, _CoreObject$extend[_emberUtils.OWNER] = _emberMetal.descriptor({\n    enumerable: false,\n    get: function () {\n      if (this[OVERRIDE_OWNER]) {\n        return this[OVERRIDE_OWNER];\n      }\n\n      var meta = _emberMetal.meta(this);\n      var factory = meta.factory;\n\n      return factory && factory.owner;\n    },\n\n    // we need a setter here largely to support the legacy\n    // `owner._lookupFactory` and its double extend\n    set: function (value) {\n      this[OVERRIDE_OWNER] = value;\n    }\n  }), _CoreObject$extend));\n\n  EmberObject.toString = function () {\n    return 'Ember.Object';\n  };\n\n  var FrameworkObject = EmberObject;\n\n  exports.FrameworkObject = FrameworkObject;\n  _emberDebug.runInDebug(function () {\n    var _EmberObject$extend;\n\n    var INIT_WAS_CALLED = _emberUtils.symbol('INIT_WAS_CALLED');\n    var ASSERT_INIT_WAS_CALLED = _emberUtils.symbol('ASSERT_INIT_WAS_CALLED');\n\n    exports.FrameworkObject = FrameworkObject = EmberObject.extend((_EmberObject$extend = {\n      init: function () {\n        this._super.apply(this, arguments);\n        this[INIT_WAS_CALLED] = true;\n      }\n\n    }, _EmberObject$extend[ASSERT_INIT_WAS_CALLED] = _emberMetal.on('init', function () {\n      _emberDebug.assert('You must call `this._super(...arguments);` when overriding `init` on a framework object. Please update ' + this + ' to call `this._super(...arguments);` from `init`.', this[INIT_WAS_CALLED]);\n    }), _EmberObject$extend));\n  });\n\n  exports.default = EmberObject;\n});\nenifed('ember-runtime/system/object_proxy', ['exports', 'ember-runtime/system/object', 'ember-runtime/mixins/-proxy'], function (exports, _emberRuntimeSystemObject, _emberRuntimeMixinsProxy) {\n  'use strict';\n\n  /**\n    `Ember.ObjectProxy` forwards all properties not defined by the proxy itself\n    to a proxied `content` object.\n  \n    ```javascript\n    object = Ember.Object.create({\n      name: 'Foo'\n    });\n  \n    proxy = Ember.ObjectProxy.create({\n      content: object\n    });\n  \n    // Access and change existing properties\n    proxy.get('name')          // 'Foo'\n    proxy.set('name', 'Bar');\n    object.get('name')         // 'Bar'\n  \n    // Create new 'description' property on `object`\n    proxy.set('description', 'Foo is a whizboo baz');\n    object.get('description')  // 'Foo is a whizboo baz'\n    ```\n  \n    While `content` is unset, setting a property to be delegated will throw an\n    Error.\n  \n    ```javascript\n    proxy = Ember.ObjectProxy.create({\n      content: null,\n      flag: null\n    });\n    proxy.set('flag', true);\n    proxy.get('flag');         // true\n    proxy.get('foo');          // undefined\n    proxy.set('foo', 'data');  // throws Error\n    ```\n  \n    Delegated properties can be bound to and will change when content is updated.\n  \n    Computed properties on the proxy itself can depend on delegated properties.\n  \n    ```javascript\n    ProxyWithComputedProperty = Ember.ObjectProxy.extend({\n      fullName: Ember.computed('firstName', 'lastName', function() {\n        var firstName = this.get('firstName'),\n            lastName = this.get('lastName');\n        if (firstName && lastName) {\n          return firstName + ' ' + lastName;\n        }\n        return firstName || lastName;\n      })\n    });\n  \n    proxy = ProxyWithComputedProperty.create();\n  \n    proxy.get('fullName');  // undefined\n    proxy.set('content', {\n      firstName: 'Tom', lastName: 'Dale'\n    }); // triggers property change for fullName on proxy\n  \n    proxy.get('fullName');  // 'Tom Dale'\n    ```\n  \n    @class ObjectProxy\n    @namespace Ember\n    @extends Ember.Object\n    @uses Ember.ProxyMixin\n    @public\n  */\n\n  exports.default = _emberRuntimeSystemObject.default.extend(_emberRuntimeMixinsProxy.default);\n});\nenifed('ember-runtime/system/service', ['exports', 'ember-runtime/system/object', 'ember-runtime/inject'], function (exports, _emberRuntimeSystemObject, _emberRuntimeInject) {\n  'use strict';\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    ```javascript\n    App.ApplicationRoute = Ember.Route.extend({\n      authManager: Ember.inject.service('auth'),\n  \n      model: function() {\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 service\n    @since 1.10.0\n    @for Ember.inject\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  _emberRuntimeInject.createInjectionHelper('service');\n\n  /**\n    @class Service\n    @namespace Ember\n    @extends Ember.Object\n    @since 1.10.0\n    @public\n  */\n  var Service = _emberRuntimeSystemObject.default.extend();\n\n  Service.reopenClass({\n    isServiceFactory: true\n  });\n\n  exports.default = Service;\n});\nenifed('ember-runtime/system/string', ['exports', 'ember-metal', 'ember-debug', 'ember-utils', 'ember-runtime/utils', 'ember-runtime/string_registry'], function (exports, _emberMetal, _emberDebug, _emberUtils, _emberRuntimeUtils, _emberRuntimeString_registry) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n  'use strict';\n\n  var STRING_DASHERIZE_REGEXP = /[ _]/g;\n\n  var STRING_DASHERIZE_CACHE = new _emberMetal.Cache(1000, function (key) {\n    return decamelize(key).replace(STRING_DASHERIZE_REGEXP, '-');\n  });\n\n  var STRING_CAMELIZE_REGEXP_1 = /(\\-|\\_|\\.|\\s)+(.)?/g;\n  var STRING_CAMELIZE_REGEXP_2 = /(^|\\/)([A-Z])/g;\n\n  var CAMELIZE_CACHE = new _emberMetal.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\n  var STRING_CLASSIFY_REGEXP_1 = /^(\\-|_)+(.)?/;\n  var STRING_CLASSIFY_REGEXP_2 = /(.)(\\-|\\_|\\.|\\s)+(.)?/g;\n  var STRING_CLASSIFY_REGEXP_3 = /(^|\\/|\\.)([a-z])/g;\n\n  var CLASSIFY_CACHE = new _emberMetal.Cache(1000, function (str) {\n    var replace1 = function (match, separator, chr) {\n      return chr ? '_' + chr.toUpperCase() : '';\n    };\n    var replace2 = function (match, initialChar, separator, chr) {\n      return initialChar + (chr ? chr.toUpperCase() : '');\n    };\n    var parts = str.split('/');\n    for (var i = 0; i < parts.length; i++) {\n      parts[i] = parts[i].replace(STRING_CLASSIFY_REGEXP_1, replace1).replace(STRING_CLASSIFY_REGEXP_2, replace2);\n    }\n    return parts.join('/').replace(STRING_CLASSIFY_REGEXP_3, function (match, separator, chr) {\n      return match.toUpperCase();\n    });\n  });\n\n  var STRING_UNDERSCORE_REGEXP_1 = /([a-z\\d])([A-Z]+)/g;\n  var STRING_UNDERSCORE_REGEXP_2 = /\\-|\\s+/g;\n\n  var UNDERSCORE_CACHE = new _emberMetal.Cache(1000, function (str) {\n    return str.replace(STRING_UNDERSCORE_REGEXP_1, '$1_$2').replace(STRING_UNDERSCORE_REGEXP_2, '_').toLowerCase();\n  });\n\n  var STRING_CAPITALIZE_REGEXP = /(^|\\/)([a-z])/g;\n\n  var CAPITALIZE_CACHE = new _emberMetal.Cache(1000, function (str) {\n    return str.replace(STRING_CAPITALIZE_REGEXP, function (match, separator, chr) {\n      return match.toUpperCase();\n    });\n  });\n\n  var STRING_DECAMELIZE_REGEXP = /([a-z\\d])([A-Z])/g;\n\n  var DECAMELIZE_CACHE = new _emberMetal.Cache(1000, function (str) {\n    return str.replace(STRING_DECAMELIZE_REGEXP, '$1_$2').toLowerCase();\n  });\n\n  function _fmt(str, formats) {\n    var cachedFormats = formats;\n\n    if (!_emberRuntimeUtils.isArray(cachedFormats) || arguments.length > 2) {\n      cachedFormats = new Array(arguments.length - 1);\n\n      for (var i = 1; i < arguments.length; i++) {\n        cachedFormats[i - 1] = arguments[i];\n      }\n    }\n\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      argIndex = argIndex ? parseInt(argIndex, 10) - 1 : idx++;\n      s = cachedFormats[argIndex];\n      return s === null ? '(null)' : s === undefined ? '' : _emberUtils.inspect(s);\n    });\n  }\n\n  function fmt(str, formats) {\n    _emberDebug.deprecate('Ember.String.fmt is deprecated, use ES6 template strings instead.', false, { id: 'ember-string-utils.fmt', until: '3.0.0', url: 'http://babeljs.io/docs/learn-es2015/#template-strings' });\n    return _fmt.apply(undefined, arguments);\n  }\n\n  function loc(str, formats) {\n    if (!_emberRuntimeUtils.isArray(formats) || arguments.length > 2) {\n      formats = Array.prototype.slice.call(arguments, 1);\n    }\n\n    str = _emberRuntimeString_registry.get(str) || str;\n    return _fmt(str, formats);\n  }\n\n  function w(str) {\n    return str.split(/\\s+/);\n  }\n\n  function decamelize(str) {\n    return DECAMELIZE_CACHE.get(str);\n  }\n\n  function dasherize(str) {\n    return STRING_DASHERIZE_CACHE.get(str);\n  }\n\n  function camelize(str) {\n    return CAMELIZE_CACHE.get(str);\n  }\n\n  function classify(str) {\n    return CLASSIFY_CACHE.get(str);\n  }\n\n  function underscore(str) {\n    return UNDERSCORE_CACHE.get(str);\n  }\n\n  function capitalize(str) {\n    return CAPITALIZE_CACHE.get(str);\n  }\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    @namespace Ember\n    @static\n    @public\n  */\n  exports.default = {\n    /**\n      Apply formatting options to the string. This will look for occurrences\n      of \"%@\" in your string and substitute them with the arguments you pass into\n      this method. If you want to control the specific order of replacement,\n      you can add a number after the key as well to indicate which argument\n      you want to insert.\n       Ordered insertions are most useful when building loc strings where values\n      you need to insert may appear in different orders.\n       ```javascript\n      \"Hello %@ %@\".fmt('John', 'Doe');     // \"Hello John Doe\"\n      \"Hello %@2, %@1\".fmt('John', 'Doe');  // \"Hello Doe, John\"\n      ```\n       @method fmt\n      @param {String} str The string to format\n      @param {Array} formats An array of parameters to interpolate into string.\n      @return {String} formatted string\n      @public\n      @deprecated Use ES6 template strings instead: http://babeljs.io/docs/learn-es2015/#template-strings\n    */\n    fmt: fmt,\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. See\n      `Ember.String.fmt()` for more information on formatting.\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       ```javascript\n      Ember.STRINGS = {\n        '_Hello World': 'Bonjour le monde',\n        '_Hello %@ %@': 'Bonjour %@ %@'\n      };\n       Ember.String.loc(\"_Hello World\");  // 'Bonjour le monde';\n      Ember.String.loc(\"_Hello %@ %@\", [\"John\", \"Smith\"]);  // \"Bonjour John Smith\";\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    loc: loc,\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       ```javascript\n      Ember.String.w(\"alpha beta gamma\").forEach(function(key) {\n        console.log(key);\n      });\n       // > alpha\n      // > beta\n      // > gamma\n      ```\n       @method w\n      @param {String} str The string to split\n      @return {Array} array containing the split strings\n      @public\n    */\n    w: w,\n\n    /**\n      Converts a camelized string into all lower case separated by underscores.\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       @method decamelize\n      @param {String} str The string to decamelize.\n      @return {String} the decamelized string.\n      @public\n    */\n    decamelize: decamelize,\n\n    /**\n      Replaces underscores, spaces, or camelCase with dashes.\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       @method dasherize\n      @param {String} str The string to dasherize.\n      @return {String} the dasherized string.\n      @public\n    */\n    dasherize: dasherize,\n\n    /**\n      Returns the lowerCamelCase form of a string.\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       @method camelize\n      @param {String} str The string to camelize.\n      @return {String} the camelized string.\n      @public\n    */\n    camelize: camelize,\n\n    /**\n      Returns the UpperCamelCase form of a string.\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       @method classify\n      @param {String} str the string to classify\n      @return {String} the classified string\n      @public\n    */\n    classify: classify,\n\n    /**\n      More general than decamelize. Returns the lower\\_case\\_and\\_underscored\n      form of a string.\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       @method underscore\n      @param {String} str The string to underscore.\n      @return {String} the underscored string.\n      @public\n    */\n    underscore: underscore,\n\n    /**\n      Returns the Capitalized form of a string\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       @method capitalize\n      @param {String} str The string to capitalize.\n      @return {String} The capitalized string.\n      @public\n    */\n    capitalize: capitalize\n  };\n  exports.fmt = fmt;\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});\nenifed('ember-runtime/utils', ['exports', 'ember-runtime/mixins/array', 'ember-runtime/system/object'], function (exports, _emberRuntimeMixinsArray, _emberRuntimeSystemObject) {\n  'use strict';\n\n  exports.isArray = isArray;\n  exports.typeOf = typeOf;\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\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 `Ember.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 `Ember.Array`)\n  \n    ```javascript\n    Ember.isArray();                                          // false\n    Ember.isArray([]);                                        // true\n    Ember.isArray(Ember.ArrayProxy.create({ content: [] }));  // true\n    ```\n  \n    @method isArray\n    @for Ember\n    @param {Object} obj The object to test\n    @return {Boolean} true if the passed object is an array or Array-like\n    @public\n  */\n\n  function isArray(obj) {\n    if (!obj || obj.setInterval) {\n      return false;\n    }\n    if (Array.isArray(obj)) {\n      return true;\n    }\n    if (_emberRuntimeMixinsArray.default.detect(obj)) {\n      return true;\n    }\n\n    var type = typeOf(obj);\n    if ('array' === type) {\n      return true;\n    }\n    if (obj.length !== undefined && 'object' === type) {\n      return true;\n    }\n    return false;\n  }\n\n  /**\n    Returns a consistent type for the passed object.\n  \n    Use this instead of the built-in `typeof` to get the type of an item.\n    It will return the same result across all browsers and includes a bit\n    more detail. Here is what will be returned:\n  \n        | Return Value  | Meaning                                              |\n        |---------------|------------------------------------------------------|\n        | 'string'      | String primitive or String object.                   |\n        | 'number'      | Number primitive or Number object.                   |\n        | 'boolean'     | Boolean primitive or Boolean object.                 |\n        | 'null'        | Null value                                           |\n        | 'undefined'   | Undefined value                                      |\n        | 'function'    | A function                                           |\n        | 'array'       | An instance of Array                                 |\n        | 'regexp'      | An instance of RegExp                                |\n        | 'date'        | An instance of Date                                  |\n        | 'filelist'    | An instance of FileList                              |\n        | 'class'       | An Ember class (created using Ember.Object.extend()) |\n        | 'instance'    | An Ember object instance                             |\n        | 'error'       | An instance of the Error object                      |\n        | 'object'      | A JavaScript object not inheriting from Ember.Object |\n  \n    Examples:\n  \n    ```javascript\n    Ember.typeOf();                       // 'undefined'\n    Ember.typeOf(null);                   // 'null'\n    Ember.typeOf(undefined);              // 'undefined'\n    Ember.typeOf('michael');              // 'string'\n    Ember.typeOf(new String('michael'));  // 'string'\n    Ember.typeOf(101);                    // 'number'\n    Ember.typeOf(new Number(101));        // 'number'\n    Ember.typeOf(true);                   // 'boolean'\n    Ember.typeOf(new Boolean(true));      // 'boolean'\n    Ember.typeOf(Ember.makeArray);        // 'function'\n    Ember.typeOf([1, 2, 90]);             // 'array'\n    Ember.typeOf(/abc/);                  // 'regexp'\n    Ember.typeOf(new Date());             // 'date'\n    Ember.typeOf(event.target.files);     // 'filelist'\n    Ember.typeOf(Ember.Object.extend());  // 'class'\n    Ember.typeOf(Ember.Object.create());  // 'instance'\n    Ember.typeOf(new Error('teamocil'));  // 'error'\n  \n    // 'normal' JavaScript object\n    Ember.typeOf({ a: 'b' });             // 'object'\n    ```\n  \n    @method typeOf\n    @for Ember\n    @param {Object} item the item to check\n    @return {String} the type\n    @public\n  */\n\n  function typeOf(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 (_emberRuntimeSystemObject.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 _emberRuntimeSystemObject.default) {\n        ret = 'instance';\n      } else if (item instanceof Date) {\n        ret = 'date';\n      }\n    }\n\n    return ret;\n  }\n});\nenifed('ember-testing/adapters/adapter', ['exports', 'ember-runtime'], function (exports, _emberRuntime) {\n  'use strict';\n\n  function K() {\n    return this;\n  }\n\n  /**\n   @module ember\n   @submodule ember-testing\n  */\n\n  /**\n    The primary purpose of this class is to create hooks that can be implemented\n    by an adapter for various test frameworks.\n  \n    @class Adapter\n    @namespace Ember.Test\n    @public\n  */\n  exports.default = _emberRuntime.Object.extend({\n    /**\n      This callback will be called whenever an async operation is about to start.\n       Override this to call your framework's methods that handle async\n      operations.\n       @public\n      @method asyncStart\n    */\n    asyncStart: K,\n\n    /**\n      This callback will be called whenever an async operation has completed.\n       @public\n      @method asyncEnd\n    */\n    asyncEnd: K,\n\n    /**\n      Override this method with your testing framework's false assertion.\n      This function is called whenever an exception occurs causing the testing\n      promise to fail.\n       QUnit example:\n       ```javascript\n        exception: function(error) {\n          ok(false, error);\n        };\n      ```\n       @public\n      @method exception\n      @param {String} error The exception to be raised.\n    */\n    exception: function (error) {\n      throw error;\n    }\n  });\n});\nenifed('ember-testing/adapters/qunit', ['exports', 'ember-utils', 'ember-testing/adapters/adapter'], function (exports, _emberUtils, _emberTestingAdaptersAdapter) {\n  'use strict';\n\n  /**\n    This class implements the methods defined by Ember.Test.Adapter for the\n    QUnit testing framework.\n  \n    @class QUnitAdapter\n    @namespace Ember.Test\n    @extends Ember.Test.Adapter\n    @public\n  */\n  exports.default = _emberTestingAdaptersAdapter.default.extend({\n    asyncStart: function () {\n      QUnit.stop();\n    },\n    asyncEnd: function () {\n      QUnit.start();\n    },\n    exception: function (error) {\n      ok(false, _emberUtils.inspect(error));\n    }\n  });\n});\nenifed('ember-testing/events', ['exports', 'ember-views', 'ember-metal'], function (exports, _emberViews, _emberMetal) {\n  'use strict';\n\n  exports.focus = focus;\n  exports.fireEvent = fireEvent;\n\n  var DEFAULT_EVENT_OPTIONS = { canBubble: true, cancelable: true };\n  var KEYBOARD_EVENT_TYPES = ['keydown', 'keypress', 'keyup'];\n  var MOUSE_EVENT_TYPES = ['click', 'mousedown', 'mouseup', 'dblclick', 'mouseenter', 'mouseleave', 'mousemove', 'mouseout', 'mouseover'];\n\n  function focus(el) {\n    if (!el) {\n      return;\n    }\n    var $el = _emberViews.jQuery(el);\n    if ($el.is(':input, [contenteditable=true]')) {\n      var type = $el.prop('type');\n      if (type !== 'checkbox' && type !== 'radio' && type !== 'hidden') {\n        _emberMetal.run(null, function () {\n          // Firefox does not trigger the `focusin` event if the window\n          // does not have focus. If the document doesn't have focus just\n          // use trigger('focusin') instead.\n\n          if (!document.hasFocus || document.hasFocus()) {\n            el.focus();\n          } else {\n            $el.trigger('focusin');\n          }\n        });\n      }\n    }\n  }\n\n  function fireEvent(element, type) {\n    var options = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];\n\n    if (!element) {\n      return;\n    }\n    var event = undefined;\n    if (KEYBOARD_EVENT_TYPES.indexOf(type) > -1) {\n      event = buildKeyboardEvent(type, options);\n    } else if (MOUSE_EVENT_TYPES.indexOf(type) > -1) {\n      var rect = element.getBoundingClientRect();\n      var x = rect.left + 1;\n      var y = rect.top + 1;\n      var simulatedCoordinates = {\n        screenX: x + 5,\n        screenY: y + 95,\n        clientX: x,\n        clientY: y\n      };\n      event = buildMouseEvent(type, _emberViews.jQuery.extend(simulatedCoordinates, options));\n    } else {\n      event = buildBasicEvent(type, options);\n    }\n    element.dispatchEvent(event);\n  }\n\n  function buildBasicEvent(type) {\n    var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n    var event = document.createEvent('Events');\n    event.initEvent(type, true, true);\n    _emberViews.jQuery.extend(event, options);\n    return event;\n  }\n\n  function buildMouseEvent(type) {\n    var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n    var event = undefined;\n    try {\n      event = document.createEvent('MouseEvents');\n      var eventOpts = _emberViews.jQuery.extend({}, DEFAULT_EVENT_OPTIONS, options);\n      event.initMouseEvent(type, eventOpts.canBubble, eventOpts.cancelable, window, eventOpts.detail, eventOpts.screenX, eventOpts.screenY, eventOpts.clientX, eventOpts.clientY, eventOpts.ctrlKey, eventOpts.altKey, eventOpts.shiftKey, eventOpts.metaKey, eventOpts.button, eventOpts.relatedTarget);\n    } catch (e) {\n      event = buildBasicEvent(type, options);\n    }\n    return event;\n  }\n\n  function buildKeyboardEvent(type) {\n    var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n    var event = undefined;\n    try {\n      event = document.createEvent('KeyEvents');\n      var eventOpts = _emberViews.jQuery.extend({}, DEFAULT_EVENT_OPTIONS, options);\n      event.initKeyEvent(type, eventOpts.canBubble, eventOpts.cancelable, window, eventOpts.ctrlKey, eventOpts.altKey, eventOpts.shiftKey, eventOpts.metaKey, eventOpts.keyCode, eventOpts.charCode);\n    } catch (e) {\n      event = buildBasicEvent(type, options);\n    }\n    return event;\n  }\n});\nenifed('ember-testing/ext/application', ['exports', 'ember-application', 'ember-testing/setup_for_testing', 'ember-testing/test/helpers', 'ember-testing/test/promise', 'ember-testing/test/run', 'ember-testing/test/on_inject_helpers', 'ember-testing/test/adapter'], function (exports, _emberApplication, _emberTestingSetup_for_testing, _emberTestingTestHelpers, _emberTestingTestPromise, _emberTestingTestRun, _emberTestingTestOn_inject_helpers, _emberTestingTestAdapter) {\n  'use strict';\n\n  _emberApplication.Application.reopen({\n    /**\n     This property contains the testing helpers for the current application. These\n     are created once you call `injectTestHelpers` on your `Ember.Application`\n     instance. The included helpers are also available on the `window` object by\n     default, but can be used from this object on the individual application also.\n       @property testHelpers\n      @type {Object}\n      @default {}\n      @public\n    */\n    testHelpers: {},\n\n    /**\n     This property will contain the original methods that were registered\n     on the `helperContainer` before `injectTestHelpers` is called.\n      When `removeTestHelpers` is called, these methods are restored to the\n     `helperContainer`.\n       @property originalMethods\n      @type {Object}\n      @default {}\n      @private\n      @since 1.3.0\n    */\n    originalMethods: {},\n\n    /**\n    This property indicates whether or not this application is currently in\n    testing mode. This is set when `setupForTesting` is called on the current\n    application.\n     @property testing\n    @type {Boolean}\n    @default false\n    @since 1.3.0\n    @public\n    */\n    testing: false,\n\n    /**\n      This hook defers the readiness of the application, so that you can start\n      the app when your tests are ready to run. It also sets the router's\n      location to 'none', so that the window's location will not be modified\n      (preventing both accidental leaking of state between tests and interference\n      with your testing framework).\n       Example:\n       ```\n      App.setupForTesting();\n      ```\n       @method setupForTesting\n      @public\n    */\n    setupForTesting: function () {\n      _emberTestingSetup_for_testing.default();\n\n      this.testing = true;\n\n      this.Router.reopen({\n        location: 'none'\n      });\n    },\n\n    /**\n      This will be used as the container to inject the test helpers into. By\n      default the helpers are injected into `window`.\n       @property helperContainer\n      @type {Object} The object to be used for test helpers.\n      @default window\n      @since 1.2.0\n      @private\n    */\n    helperContainer: null,\n\n    /**\n      This injects the test helpers into the `helperContainer` object. If an object is provided\n      it will be used as the helperContainer. If `helperContainer` is not set it will default\n      to `window`. If a function of the same name has already been defined it will be cached\n      (so that it can be reset if the helper is removed with `unregisterHelper` or\n      `removeTestHelpers`).\n       Any callbacks registered with `onInjectHelpers` will be called once the\n      helpers have been injected.\n       Example:\n      ```\n      App.injectTestHelpers();\n      ```\n       @method injectTestHelpers\n      @public\n    */\n    injectTestHelpers: function (helperContainer) {\n      if (helperContainer) {\n        this.helperContainer = helperContainer;\n      } else {\n        this.helperContainer = window;\n      }\n\n      this.reopen({\n        willDestroy: function () {\n          this._super.apply(this, arguments);\n          this.removeTestHelpers();\n        }\n      });\n\n      this.testHelpers = {};\n      for (var _name in _emberTestingTestHelpers.helpers) {\n        this.originalMethods[_name] = this.helperContainer[_name];\n        this.testHelpers[_name] = this.helperContainer[_name] = helper(this, _name);\n        protoWrap(_emberTestingTestPromise.default.prototype, _name, helper(this, _name), _emberTestingTestHelpers.helpers[_name].meta.wait);\n      }\n\n      _emberTestingTestOn_inject_helpers.invokeInjectHelpersCallbacks(this);\n    },\n\n    /**\n      This removes all helpers that have been registered, and resets and functions\n      that were overridden by the helpers.\n       Example:\n       ```javascript\n      App.removeTestHelpers();\n      ```\n       @public\n      @method removeTestHelpers\n    */\n    removeTestHelpers: function () {\n      if (!this.helperContainer) {\n        return;\n      }\n\n      for (var _name2 in _emberTestingTestHelpers.helpers) {\n        this.helperContainer[_name2] = this.originalMethods[_name2];\n        delete _emberTestingTestPromise.default.prototype[_name2];\n        delete this.testHelpers[_name2];\n        delete this.originalMethods[_name2];\n      }\n    }\n  });\n\n  // This method is no longer needed\n  // But still here for backwards compatibility\n  // of helper chaining\n  function protoWrap(proto, name, callback, isAsync) {\n    proto[name] = function () {\n      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      if (isAsync) {\n        return callback.apply(this, args);\n      } else {\n        return this.then(function () {\n          return callback.apply(this, args);\n        });\n      }\n    };\n  }\n\n  function helper(app, name) {\n    var fn = _emberTestingTestHelpers.helpers[name].method;\n    var meta = _emberTestingTestHelpers.helpers[name].meta;\n    if (!meta.wait) {\n      return function () {\n        for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n          args[_key2] = arguments[_key2];\n        }\n\n        return fn.apply(app, [app].concat(args));\n      };\n    }\n\n    return function () {\n      for (var _len3 = arguments.length, args = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n        args[_key3] = arguments[_key3];\n      }\n\n      var lastPromise = _emberTestingTestRun.default(function () {\n        return _emberTestingTestPromise.resolve(_emberTestingTestPromise.getLastPromise());\n      });\n\n      // wait for last helper's promise to resolve and then\n      // execute. To be safe, we need to tell the adapter we're going\n      // asynchronous here, because fn may not be invoked before we\n      // return.\n      _emberTestingTestAdapter.asyncStart();\n      return lastPromise.then(function () {\n        return fn.apply(app, [app].concat(args));\n      }).finally(_emberTestingTestAdapter.asyncEnd);\n    };\n  }\n});\nenifed('ember-testing/ext/rsvp', ['exports', 'ember-runtime', 'ember-metal', 'ember-debug', 'ember-testing/test/adapter'], function (exports, _emberRuntime, _emberMetal, _emberDebug, _emberTestingTestAdapter) {\n  'use strict';\n\n  _emberRuntime.RSVP.configure('async', function (callback, promise) {\n    // if schedule will cause autorun, we need to inform adapter\n    if (_emberDebug.isTesting() && !_emberMetal.run.backburner.currentInstance) {\n      _emberTestingTestAdapter.asyncStart();\n      _emberMetal.run.backburner.schedule('actions', function () {\n        _emberTestingTestAdapter.asyncEnd();\n        callback(promise);\n      });\n    } else {\n      _emberMetal.run.backburner.schedule('actions', function () {\n        return callback(promise);\n      });\n    }\n  });\n\n  exports.default = _emberRuntime.RSVP;\n});\nenifed('ember-testing/helpers', ['exports', 'ember-debug', 'ember-testing/test/helpers', 'ember-testing/helpers/and_then', 'ember-testing/helpers/click', 'ember-testing/helpers/current_path', 'ember-testing/helpers/current_route_name', 'ember-testing/helpers/current_url', 'ember-testing/helpers/fill_in', 'ember-testing/helpers/find', 'ember-testing/helpers/find_with_assert', 'ember-testing/helpers/key_event', 'ember-testing/helpers/pause_test', 'ember-testing/helpers/trigger_event', 'ember-testing/helpers/visit', 'ember-testing/helpers/wait'], function (exports, _emberDebug, _emberTestingTestHelpers, _emberTestingHelpersAnd_then, _emberTestingHelpersClick, _emberTestingHelpersCurrent_path, _emberTestingHelpersCurrent_route_name, _emberTestingHelpersCurrent_url, _emberTestingHelpersFill_in, _emberTestingHelpersFind, _emberTestingHelpersFind_with_assert, _emberTestingHelpersKey_event, _emberTestingHelpersPause_test, _emberTestingHelpersTrigger_event, _emberTestingHelpersVisit, _emberTestingHelpersWait) {\n  'use strict';\n\n  _emberTestingTestHelpers.registerAsyncHelper('visit', _emberTestingHelpersVisit.default);\n  _emberTestingTestHelpers.registerAsyncHelper('click', _emberTestingHelpersClick.default);\n  _emberTestingTestHelpers.registerAsyncHelper('keyEvent', _emberTestingHelpersKey_event.default);\n  _emberTestingTestHelpers.registerAsyncHelper('fillIn', _emberTestingHelpersFill_in.default);\n  _emberTestingTestHelpers.registerAsyncHelper('wait', _emberTestingHelpersWait.default);\n  _emberTestingTestHelpers.registerAsyncHelper('andThen', _emberTestingHelpersAnd_then.default);\n  _emberTestingTestHelpers.registerAsyncHelper('pauseTest', _emberTestingHelpersPause_test.pauseTest);\n  _emberTestingTestHelpers.registerAsyncHelper('triggerEvent', _emberTestingHelpersTrigger_event.default);\n\n  _emberTestingTestHelpers.registerHelper('find', _emberTestingHelpersFind.default);\n  _emberTestingTestHelpers.registerHelper('findWithAssert', _emberTestingHelpersFind_with_assert.default);\n  _emberTestingTestHelpers.registerHelper('currentRouteName', _emberTestingHelpersCurrent_route_name.default);\n  _emberTestingTestHelpers.registerHelper('currentPath', _emberTestingHelpersCurrent_path.default);\n  _emberTestingTestHelpers.registerHelper('currentURL', _emberTestingHelpersCurrent_url.default);\n\n  if (true) {\n    _emberTestingTestHelpers.registerHelper('resumeTest', _emberTestingHelpersPause_test.resumeTest);\n  }\n});\nenifed(\"ember-testing/helpers/and_then\", [\"exports\"], function (exports) {\n  /**\n  @module ember\n  @submodule ember-testing\n  */\n  \"use strict\";\n\n  exports.default = andThen;\n\n  function andThen(app, callback) {\n    return app.testHelpers.wait(callback(app));\n  }\n});\nenifed('ember-testing/helpers/click', ['exports', 'ember-testing/events'], function (exports, _emberTestingEvents) {\n  /**\n  @module ember\n  @submodule ember-testing\n  */\n  'use strict';\n\n  exports.default = click;\n\n  /**\n    Clicks an element and triggers any actions triggered by the element's `click`\n    event.\n  \n    Example:\n  \n    ```javascript\n    click('.some-jQuery-selector').then(function() {\n      // assert something\n    });\n    ```\n  \n    @method click\n    @param {String} selector jQuery selector for finding element on the DOM\n    @param {Object} context A DOM Element, Document, or jQuery to use as context\n    @return {RSVP.Promise}\n    @public\n  */\n\n  function click(app, selector, context) {\n    var $el = app.testHelpers.findWithAssert(selector, context);\n    var el = $el[0];\n\n    _emberTestingEvents.fireEvent(el, 'mousedown');\n\n    _emberTestingEvents.focus(el);\n\n    _emberTestingEvents.fireEvent(el, 'mouseup');\n    _emberTestingEvents.fireEvent(el, 'click');\n\n    return app.testHelpers.wait();\n  }\n});\nenifed('ember-testing/helpers/current_path', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n  /**\n  @module ember\n  @submodule ember-testing\n  */\n  'use strict';\n\n  exports.default = currentPath;\n\n  /**\n    Returns the current path.\n  \n  Example:\n  \n  ```javascript\n  function validateURL() {\n    equal(currentPath(), 'some.path.index', \"correct path was transitioned into.\");\n  }\n  \n  click('#some-link-id').then(validateURL);\n  ```\n  \n  @method currentPath\n  @return {Object} The currently active path.\n  @since 1.5.0\n  @public\n  */\n\n  function currentPath(app) {\n    var routingService = app.__container__.lookup('service:-routing');\n    return _emberMetal.get(routingService, 'currentPath');\n  }\n});\nenifed('ember-testing/helpers/current_route_name', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n  /**\n  @module ember\n  @submodule ember-testing\n  */\n  'use strict';\n\n  exports.default = currentRouteName;\n\n  /**\n    Returns the currently active route name.\n  Example:\n  ```javascript\n  function validateRouteName() {\n    equal(currentRouteName(), 'some.path', \"correct route was transitioned into.\");\n  }\n  visit('/some/path').then(validateRouteName)\n  ```\n  @method currentRouteName\n  @return {Object} The name of the currently active route.\n  @since 1.5.0\n  @public\n  */\n\n  function currentRouteName(app) {\n    var routingService = app.__container__.lookup('service:-routing');\n    return _emberMetal.get(routingService, 'currentRouteName');\n  }\n});\nenifed('ember-testing/helpers/current_url', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n  /**\n  @module ember\n  @submodule ember-testing\n  */\n  'use strict';\n\n  exports.default = currentURL;\n\n  /**\n    Returns the current URL.\n  \n  Example:\n  \n  ```javascript\n  function validateURL() {\n    equal(currentURL(), '/some/path', \"correct URL was transitioned into.\");\n  }\n  \n  click('#some-link-id').then(validateURL);\n  ```\n  \n  @method currentURL\n  @return {Object} The currently active URL.\n  @since 1.5.0\n  @public\n  */\n\n  function currentURL(app) {\n    var router = app.__container__.lookup('router:main');\n    return _emberMetal.get(router, 'location').getURL();\n  }\n});\nenifed('ember-testing/helpers/fill_in', ['exports', 'ember-testing/events'], function (exports, _emberTestingEvents) {\n  /**\n  @module ember\n  @submodule ember-testing\n  */\n  'use strict';\n\n  exports.default = fillIn;\n\n  /**\n    Fills in an input element with some text.\n  \n    Example:\n  \n    ```javascript\n    fillIn('#email', 'you@example.com').then(function() {\n      // assert something\n    });\n    ```\n  \n    @method fillIn\n    @param {String} selector jQuery selector finding an input element on the DOM\n    to fill text with\n    @param {String} text text to place inside the input element\n    @return {RSVP.Promise}\n    @public\n  */\n\n  function fillIn(app, selector, contextOrText, text) {\n    var $el = undefined,\n        el = undefined,\n        context = undefined;\n    if (typeof text === 'undefined') {\n      text = contextOrText;\n    } else {\n      context = contextOrText;\n    }\n    $el = app.testHelpers.findWithAssert(selector, context);\n    el = $el[0];\n    _emberTestingEvents.focus(el);\n\n    $el.eq(0).val(text);\n    _emberTestingEvents.fireEvent(el, 'input');\n    _emberTestingEvents.fireEvent(el, 'change');\n\n    return app.testHelpers.wait();\n  }\n});\nenifed('ember-testing/helpers/find', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n  /**\n  @module ember\n  @submodule ember-testing\n  */\n  'use strict';\n\n  exports.default = find;\n\n  /**\n    Finds an element in the context of the app's container element. A simple alias\n    for `app.$(selector)`.\n  \n    Example:\n  \n    ```javascript\n    var $el = find('.my-selector');\n    ```\n  \n    With the `context` param:\n  \n    ```javascript\n    var $el = find('.my-selector', '.parent-element-class');\n    ```\n  \n    @method find\n    @param {String} selector jQuery string selector for element lookup\n    @param {String} [context] (optional) jQuery selector that will limit the selector\n                              argument to find only within the context's children\n    @return {Object} jQuery object representing the results of the query\n    @public\n  */\n\n  function find(app, selector, context) {\n    var $el = undefined;\n    context = context || _emberMetal.get(app, 'rootElement');\n    $el = app.$(selector, context);\n    return $el;\n  }\n});\nenifed('ember-testing/helpers/find_with_assert', ['exports'], function (exports) {\n  /**\n  @module ember\n  @submodule ember-testing\n  */\n  /**\n    Like `find`, but throws an error if the element selector returns no results.\n  \n    Example:\n  \n    ```javascript\n    var $el = findWithAssert('.doesnt-exist'); // throws error\n    ```\n  \n    With the `context` param:\n  \n    ```javascript\n    var $el = findWithAssert('.selector-id', '.parent-element-class'); // assert will pass\n    ```\n  \n    @method findWithAssert\n    @param {String} selector jQuery selector string for finding an element within\n    the DOM\n    @param {String} [context] (optional) jQuery selector that will limit the\n    selector argument to find only within the context's children\n    @return {Object} jQuery object representing the results of the query\n    @throws {Error} throws error if jQuery object returned has a length of 0\n    @public\n  */\n  'use strict';\n\n  exports.default = findWithAssert;\n\n  function findWithAssert(app, selector, context) {\n    var $el = app.testHelpers.find(selector, context);\n    if ($el.length === 0) {\n      throw new Error('Element ' + selector + ' not found.');\n    }\n    return $el;\n  }\n});\nenifed('ember-testing/helpers/key_event', ['exports'], function (exports) {\n  /**\n  @module ember\n  @submodule ember-testing\n  */\n  /**\n    Simulates a key event, e.g. `keypress`, `keydown`, `keyup` with the desired keyCode\n    Example:\n    ```javascript\n    keyEvent('.some-jQuery-selector', 'keypress', 13).then(function() {\n     // assert something\n    });\n    ```\n    @method keyEvent\n    @param {String} selector jQuery selector for finding element on the DOM\n    @param {String} type the type of key event, e.g. `keypress`, `keydown`, `keyup`\n    @param {Number} keyCode the keyCode of the simulated key event\n    @return {RSVP.Promise}\n    @since 1.5.0\n    @public\n  */\n  'use strict';\n\n  exports.default = keyEvent;\n\n  function keyEvent(app, selector, contextOrType, typeOrKeyCode, keyCode) {\n    var context = undefined,\n        type = undefined;\n\n    if (typeof keyCode === 'undefined') {\n      context = null;\n      keyCode = typeOrKeyCode;\n      type = contextOrType;\n    } else {\n      context = contextOrType;\n      type = typeOrKeyCode;\n    }\n\n    return app.testHelpers.triggerEvent(selector, context, type, { keyCode: keyCode, which: keyCode });\n  }\n});\nenifed('ember-testing/helpers/pause_test', ['exports', 'ember-runtime', 'ember-console', 'ember-debug'], function (exports, _emberRuntime, _emberConsole, _emberDebug) {\n  /**\n  @module ember\n  @submodule ember-testing\n  */\n  'use strict';\n\n  exports.resumeTest = resumeTest;\n  exports.pauseTest = pauseTest;\n\n  var resume = undefined;\n\n  /**\n   Resumes a test paused by `pauseTest`.\n  \n   @method resumeTest\n   @return {void}\n   @public\n  */\n\n  function resumeTest() {\n    _emberDebug.assert('Testing has not been paused. There is nothing to resume.', resume);\n    resume();\n    resume = undefined;\n  }\n\n  /**\n   Pauses the current test - this is useful for debugging while testing or for test-driving.\n   It allows you to inspect the state of your application at any point.\n   Example (The test will pause before clicking the button):\n  \n   ```javascript\n   visit('/')\n   return pauseTest();\n   click('.btn');\n   ```\n   @since 1.9.0\n   @method pauseTest\n   @return {Object} A promise that will never resolve\n   @public\n  */\n\n  function pauseTest() {\n    if (true) {\n      _emberConsole.default.info('Testing paused. Use `resumeTest()` to continue.');\n    }\n\n    return new _emberRuntime.RSVP.Promise(function (resolve) {\n      if (true) {\n        resume = resolve;\n      }\n    }, 'TestAdapter paused promise');\n  }\n});\nenifed('ember-testing/helpers/trigger_event', ['exports', 'ember-testing/events'], function (exports, _emberTestingEvents) {\n  /**\n  @module ember\n  @submodule ember-testing\n  */\n  'use strict';\n\n  exports.default = triggerEvent;\n\n  /**\n    Triggers the given DOM event on the element identified by the provided selector.\n    Example:\n    ```javascript\n    triggerEvent('#some-elem-id', 'blur');\n    ```\n    This is actually used internally by the `keyEvent` helper like so:\n    ```javascript\n    triggerEvent('#some-elem-id', 'keypress', { keyCode: 13 });\n    ```\n   @method triggerEvent\n   @param {String} selector jQuery selector for finding element on the DOM\n   @param {String} [context] jQuery selector that will limit the selector\n                             argument to find only within the context's children\n   @param {String} type The event type to be triggered.\n   @param {Object} [options] The options to be passed to jQuery.Event.\n   @return {RSVP.Promise}\n   @since 1.5.0\n   @public\n  */\n\n  function triggerEvent(app, selector, contextOrType, typeOrOptions, possibleOptions) {\n    var arity = arguments.length;\n    var context = undefined,\n        type = undefined,\n        options = undefined;\n\n    if (arity === 3) {\n      // context and options are optional, so this is\n      // app, selector, type\n      context = null;\n      type = contextOrType;\n      options = {};\n    } else if (arity === 4) {\n      // context and options are optional, so this is\n      if (typeof typeOrOptions === 'object') {\n        // either\n        // app, selector, type, options\n        context = null;\n        type = contextOrType;\n        options = typeOrOptions;\n      } else {\n        // or\n        // app, selector, context, type\n        context = contextOrType;\n        type = typeOrOptions;\n        options = {};\n      }\n    } else {\n      context = contextOrType;\n      type = typeOrOptions;\n      options = possibleOptions;\n    }\n\n    var $el = app.testHelpers.findWithAssert(selector, context);\n    var el = $el[0];\n\n    _emberTestingEvents.fireEvent(el, type, options);\n\n    return app.testHelpers.wait();\n  }\n});\nenifed('ember-testing/helpers/visit', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n  /**\n  @module ember\n  @submodule ember-testing\n  */\n  'use strict';\n\n  exports.default = visit;\n\n  /**\n    Loads a route, sets up any controllers, and renders any templates associated\n    with the route as though a real user had triggered the route change while\n    using your app.\n  \n    Example:\n  \n    ```javascript\n    visit('posts/index').then(function() {\n      // assert something\n    });\n    ```\n  \n    @method visit\n    @param {String} url the name of the route\n    @return {RSVP.Promise}\n    @public\n  */\n\n  function visit(app, url) {\n    var router = app.__container__.lookup('router:main');\n    var shouldHandleURL = false;\n\n    app.boot().then(function () {\n      router.location.setURL(url);\n\n      if (shouldHandleURL) {\n        _emberMetal.run(app.__deprecatedInstance__, 'handleURL', url);\n      }\n    });\n\n    if (app._readinessDeferrals > 0) {\n      router['initialURL'] = url;\n      _emberMetal.run(app, 'advanceReadiness');\n      delete router['initialURL'];\n    } else {\n      shouldHandleURL = true;\n    }\n\n    return app.testHelpers.wait();\n  }\n});\nenifed('ember-testing/helpers/wait', ['exports', 'ember-testing/test/waiters', 'ember-runtime', 'ember-metal', 'ember-testing/test/pending_requests'], function (exports, _emberTestingTestWaiters, _emberRuntime, _emberMetal, _emberTestingTestPending_requests) {\n  /**\n  @module ember\n  @submodule ember-testing\n  */\n  'use strict';\n\n  exports.default = wait;\n\n  /**\n    Causes the run loop to process any pending events. This is used to ensure that\n    any async operations from other helpers (or your assertions) have been processed.\n  \n    This is most often used as the return value for the helper functions (see 'click',\n    'fillIn','visit',etc). However, there is a method to register a test helper which\n    utilizes this method without the need to actually call `wait()` in your helpers.\n  \n    The `wait` helper is built into `registerAsyncHelper` by default. You will not need\n    to `return app.testHelpers.wait();` - the wait behavior is provided for you.\n  \n    Example:\n  \n    ```javascript\n    Ember.Test.registerAsyncHelper('loginUser', function(app, username, password) {\n      visit('secured/path/here')\n        .fillIn('#username', username)\n        .fillIn('#password', password)\n        .click('.submit');\n    });\n  \n    @method wait\n    @param {Object} value The value to be returned.\n    @return {RSVP.Promise}\n    @public\n    @since 1.0.0\n  */\n\n  function wait(app, value) {\n    return new _emberRuntime.RSVP.Promise(function (resolve) {\n      var router = app.__container__.lookup('router:main');\n\n      // Every 10ms, poll for the async thing to have finished\n      var watcher = setInterval(function () {\n        // 1. If the router is loading, keep polling\n        var routerIsLoading = router._routerMicrolib && !!router._routerMicrolib.activeTransition;\n        if (routerIsLoading) {\n          return;\n        }\n\n        // 2. If there are pending Ajax requests, keep polling\n        if (_emberTestingTestPending_requests.pendingRequests()) {\n          return;\n        }\n\n        // 3. If there are scheduled timers or we are inside of a run loop, keep polling\n        if (_emberMetal.run.hasScheduledTimers() || _emberMetal.run.currentRunLoop) {\n          return;\n        }\n\n        if (_emberTestingTestWaiters.checkWaiters()) {\n          return;\n        }\n\n        // Stop polling\n        clearInterval(watcher);\n\n        // Synchronously resolve the promise\n        _emberMetal.run(null, resolve, value);\n      }, 10);\n    });\n  }\n});\nenifed('ember-testing/index', ['exports', 'ember-testing/support', 'ember-testing/ext/application', 'ember-testing/ext/rsvp', 'ember-testing/helpers', 'ember-testing/initializers', 'ember-testing/test', 'ember-testing/adapters/adapter', 'ember-testing/setup_for_testing', 'ember-testing/adapters/qunit'], function (exports, _emberTestingSupport, _emberTestingExtApplication, _emberTestingExtRsvp, _emberTestingHelpers, _emberTestingInitializers, _emberTestingTest, _emberTestingAdaptersAdapter, _emberTestingSetup_for_testing, _emberTestingAdaptersQunit) {\n  'use strict';\n\n  exports.Test = _emberTestingTest.default;\n  exports.Adapter = _emberTestingAdaptersAdapter.default;\n  exports.setupForTesting = _emberTestingSetup_for_testing.default;\n  exports.QUnitAdapter = _emberTestingAdaptersQunit.default;\n});\n// to handle various edge cases\n// setup RSVP + run loop integration\n// adds helpers to helpers object in Test\n// to setup initializer\n\n/**\n  @module ember\n  @submodule ember-testing\n*/\nenifed('ember-testing/initializers', ['exports', 'ember-runtime'], function (exports, _emberRuntime) {\n  'use strict';\n\n  var name = 'deferReadiness in `testing` mode';\n\n  _emberRuntime.onLoad('Ember.Application', function (Application) {\n    if (!Application.initializers[name]) {\n      Application.initializer({\n        name: name,\n\n        initialize: function (application) {\n          if (application.testing) {\n            application.deferReadiness();\n          }\n        }\n      });\n    }\n  });\n});\nenifed('ember-testing/setup_for_testing', ['exports', 'ember-debug', 'ember-views', 'ember-testing/test/adapter', 'ember-testing/test/pending_requests', 'ember-testing/adapters/adapter', 'ember-testing/adapters/qunit'], function (exports, _emberDebug, _emberViews, _emberTestingTestAdapter, _emberTestingTestPending_requests, _emberTestingAdaptersAdapter, _emberTestingAdaptersQunit) {\n  /* global self */\n\n  'use strict';\n\n  exports.default = setupForTesting;\n\n  /**\n    Sets Ember up for testing. This is useful to perform\n    basic setup steps in order to unit test.\n  \n    Use `App.setupForTesting` to perform integration tests (full\n    application testing).\n  \n    @method setupForTesting\n    @namespace Ember\n    @since 1.5.0\n    @private\n  */\n\n  function setupForTesting() {\n    _emberDebug.setTesting(true);\n\n    var adapter = _emberTestingTestAdapter.getAdapter();\n    // if adapter is not manually set default to QUnit\n    if (!adapter) {\n      _emberTestingTestAdapter.setAdapter(typeof self.QUnit === 'undefined' ? new _emberTestingAdaptersAdapter.default() : new _emberTestingAdaptersQunit.default());\n    }\n\n    if (_emberViews.jQuery) {\n      _emberViews.jQuery(document).off('ajaxSend', _emberTestingTestPending_requests.incrementPendingRequests);\n      _emberViews.jQuery(document).off('ajaxComplete', _emberTestingTestPending_requests.decrementPendingRequests);\n\n      _emberTestingTestPending_requests.clearPendingRequests();\n\n      _emberViews.jQuery(document).on('ajaxSend', _emberTestingTestPending_requests.incrementPendingRequests);\n      _emberViews.jQuery(document).on('ajaxComplete', _emberTestingTestPending_requests.decrementPendingRequests);\n    }\n  }\n});\nenifed('ember-testing/support', ['exports', 'ember-debug', 'ember-views', 'ember-environment'], function (exports, _emberDebug, _emberViews, _emberEnvironment) {\n  'use strict';\n\n  /**\n    @module ember\n    @submodule ember-testing\n  */\n\n  var $ = _emberViews.jQuery;\n\n  /**\n    This method creates a checkbox and triggers the click event to fire the\n    passed in handler. It is used to correct for a bug in older versions\n    of jQuery (e.g 1.8.3).\n  \n    @private\n    @method testCheckboxClick\n  */\n  function testCheckboxClick(handler) {\n    var input = document.createElement('input');\n    $(input).attr('type', 'checkbox').css({ position: 'absolute', left: '-1000px', top: '-1000px' }).appendTo('body').on('click', handler).trigger('click').remove();\n  }\n\n  if (_emberEnvironment.environment.hasDOM && typeof $ === 'function') {\n    $(function () {\n      /*\n        Determine whether a checkbox checked using jQuery's \"click\" method will have\n        the correct value for its checked property.\n         If we determine that the current jQuery version exhibits this behavior,\n        patch it to work correctly as in the commit for the actual fix:\n        https://github.com/jquery/jquery/commit/1fb2f92.\n      */\n      testCheckboxClick(function () {\n        if (!this.checked && !$.event.special.click) {\n          $.event.special.click = {\n            // For checkbox, fire native event so checked state will be right\n            trigger: function () {\n              if ($.nodeName(this, 'input') && this.type === 'checkbox' && this.click) {\n                this.click();\n                return false;\n              }\n            }\n          };\n        }\n      });\n\n      // Try again to verify that the patch took effect or blow up.\n      testCheckboxClick(function () {\n        _emberDebug.warn('clicked checkboxes should be checked! the jQuery patch didn\\'t work', this.checked, { id: 'ember-testing.test-checkbox-click' });\n      });\n    });\n  }\n});\nenifed('ember-testing/test', ['exports', 'ember-testing/test/helpers', 'ember-testing/test/on_inject_helpers', 'ember-testing/test/promise', 'ember-testing/test/waiters', 'ember-testing/test/adapter'], function (exports, _emberTestingTestHelpers, _emberTestingTestOn_inject_helpers, _emberTestingTestPromise, _emberTestingTestWaiters, _emberTestingTestAdapter) {\n  /**\n    @module ember\n    @submodule ember-testing\n  */\n  'use strict';\n\n  /**\n    This is a container for an assortment of testing related functionality:\n  \n    * Choose your default test adapter (for your framework of choice).\n    * Register/Unregister additional test helpers.\n    * Setup callbacks to be fired when the test helpers are injected into\n      your application.\n  \n    @class Test\n    @namespace Ember\n    @public\n  */\n  var Test = {\n    /**\n      Hash containing all known test helpers.\n       @property _helpers\n      @private\n      @since 1.7.0\n    */\n    _helpers: _emberTestingTestHelpers.helpers,\n\n    registerHelper: _emberTestingTestHelpers.registerHelper,\n    registerAsyncHelper: _emberTestingTestHelpers.registerAsyncHelper,\n    unregisterHelper: _emberTestingTestHelpers.unregisterHelper,\n    onInjectHelpers: _emberTestingTestOn_inject_helpers.onInjectHelpers,\n    Promise: _emberTestingTestPromise.default,\n    promise: _emberTestingTestPromise.promise,\n    resolve: _emberTestingTestPromise.resolve,\n    registerWaiter: _emberTestingTestWaiters.registerWaiter,\n    unregisterWaiter: _emberTestingTestWaiters.unregisterWaiter,\n    checkWaiters: _emberTestingTestWaiters.checkWaiters\n  };\n\n  /**\n   Used to allow ember-testing to communicate with a specific testing\n   framework.\n  \n   You can manually set it before calling `App.setupForTesting()`.\n  \n   Example:\n  \n   ```javascript\n   Ember.Test.adapter = MyCustomAdapter.create()\n   ```\n  \n   If you do not set it, ember-testing will default to `Ember.Test.QUnitAdapter`.\n  \n   @public\n   @for Ember.Test\n   @property adapter\n   @type {Class} The adapter to be used.\n   @default Ember.Test.QUnitAdapter\n  */\n  Object.defineProperty(Test, 'adapter', {\n    get: _emberTestingTestAdapter.getAdapter,\n    set: _emberTestingTestAdapter.setAdapter\n  });\n\n  Object.defineProperty(Test, 'waiters', {\n    get: _emberTestingTestWaiters.generateDeprecatedWaitersArray\n  });\n\n  exports.default = Test;\n});\nenifed('ember-testing/test/adapter', ['exports', 'ember-console', 'ember-metal'], function (exports, _emberConsole, _emberMetal) {\n  'use strict';\n\n  exports.getAdapter = getAdapter;\n  exports.setAdapter = setAdapter;\n  exports.asyncStart = asyncStart;\n  exports.asyncEnd = asyncEnd;\n\n  var adapter = undefined;\n\n  function getAdapter() {\n    return adapter;\n  }\n\n  function setAdapter(value) {\n    adapter = value;\n    if (value) {\n      _emberMetal.setDispatchOverride(adapterDispatch);\n    } else {\n      _emberMetal.setDispatchOverride(null);\n    }\n  }\n\n  function asyncStart() {\n    if (adapter) {\n      adapter.asyncStart();\n    }\n  }\n\n  function asyncEnd() {\n    if (adapter) {\n      adapter.asyncEnd();\n    }\n  }\n\n  function adapterDispatch(error) {\n    adapter.exception(error);\n    _emberConsole.default.error(error.stack);\n  }\n});\nenifed('ember-testing/test/helpers', ['exports', 'ember-testing/test/promise'], function (exports, _emberTestingTestPromise) {\n  'use strict';\n\n  exports.registerHelper = registerHelper;\n  exports.registerAsyncHelper = registerAsyncHelper;\n  exports.unregisterHelper = unregisterHelper;\n  var helpers = {};\n\n  exports.helpers = helpers;\n  /**\n    `registerHelper` is used to register a test helper that will be injected\n    when `App.injectTestHelpers` is called.\n  \n    The helper method will always be called with the current Application as\n    the first parameter.\n  \n    For example:\n  \n    ```javascript\n    Ember.Test.registerHelper('boot', function(app) {\n      Ember.run(app, app.advanceReadiness);\n    });\n    ```\n  \n    This helper can later be called without arguments because it will be\n    called with `app` as the first parameter.\n  \n    ```javascript\n    App = Ember.Application.create();\n    App.injectTestHelpers();\n    boot();\n    ```\n  \n    @public\n    @for Ember.Test\n    @method registerHelper\n    @param {String} name The name of the helper method to add.\n    @param {Function} helperMethod\n    @param options {Object}\n  */\n\n  function registerHelper(name, helperMethod) {\n    helpers[name] = {\n      method: helperMethod,\n      meta: { wait: false }\n    };\n  }\n\n  /**\n    `registerAsyncHelper` is used to register an async test helper that will be injected\n    when `App.injectTestHelpers` is called.\n  \n    The helper method will always be called with the current Application as\n    the first parameter.\n  \n    For example:\n  \n    ```javascript\n    Ember.Test.registerAsyncHelper('boot', function(app) {\n      Ember.run(app, app.advanceReadiness);\n    });\n    ```\n  \n    The advantage of an async helper is that it will not run\n    until the last async helper has completed.  All async helpers\n    after it will wait for it complete before running.\n  \n  \n    For example:\n  \n    ```javascript\n    Ember.Test.registerAsyncHelper('deletePost', function(app, postId) {\n      click('.delete-' + postId);\n    });\n  \n    // ... in your test\n    visit('/post/2');\n    deletePost(2);\n    visit('/post/3');\n    deletePost(3);\n    ```\n  \n    @public\n    @for Ember.Test\n    @method registerAsyncHelper\n    @param {String} name The name of the helper method to add.\n    @param {Function} helperMethod\n    @since 1.2.0\n  */\n\n  function registerAsyncHelper(name, helperMethod) {\n    helpers[name] = {\n      method: helperMethod,\n      meta: { wait: true }\n    };\n  }\n\n  /**\n    Remove a previously added helper method.\n  \n    Example:\n  \n    ```javascript\n    Ember.Test.unregisterHelper('wait');\n    ```\n  \n    @public\n    @method unregisterHelper\n    @param {String} name The helper to remove.\n  */\n\n  function unregisterHelper(name) {\n    delete helpers[name];\n    delete _emberTestingTestPromise.default.prototype[name];\n  }\n});\nenifed(\"ember-testing/test/on_inject_helpers\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.onInjectHelpers = onInjectHelpers;\n  exports.invokeInjectHelpersCallbacks = invokeInjectHelpersCallbacks;\n  var callbacks = [];\n\n  exports.callbacks = callbacks;\n  /**\n    Used to register callbacks to be fired whenever `App.injectTestHelpers`\n    is called.\n  \n    The callback will receive the current application as an argument.\n  \n    Example:\n  \n    ```javascript\n    Ember.Test.onInjectHelpers(function() {\n      Ember.$(document).ajaxSend(function() {\n        Test.pendingRequests++;\n      });\n  \n      Ember.$(document).ajaxComplete(function() {\n        Test.pendingRequests--;\n      });\n    });\n    ```\n  \n    @public\n    @for Ember.Test\n    @method onInjectHelpers\n    @param {Function} callback The function to be called.\n  */\n\n  function onInjectHelpers(callback) {\n    callbacks.push(callback);\n  }\n\n  function invokeInjectHelpersCallbacks(app) {\n    for (var i = 0; i < callbacks.length; i++) {\n      callbacks[i](app);\n    }\n  }\n});\nenifed(\"ember-testing/test/pending_requests\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.pendingRequests = pendingRequests;\n  exports.clearPendingRequests = clearPendingRequests;\n  exports.incrementPendingRequests = incrementPendingRequests;\n  exports.decrementPendingRequests = decrementPendingRequests;\n  var requests = [];\n\n  function pendingRequests() {\n    return requests.length;\n  }\n\n  function clearPendingRequests() {\n    requests.length = 0;\n  }\n\n  function incrementPendingRequests(_, xhr) {\n    requests.push(xhr);\n  }\n\n  function decrementPendingRequests(_, xhr) {\n    for (var i = 0; i < requests.length; i++) {\n      if (xhr === requests[i]) {\n        requests.splice(i, 1);\n        break;\n      }\n    }\n  }\n});\nenifed('ember-testing/test/promise', ['exports', 'ember-runtime', 'ember-testing/test/run'], function (exports, _emberRuntime, _emberTestingTestRun) {\n  'use strict';\n\n  exports.promise = promise;\n  exports.resolve = resolve;\n  exports.getLastPromise = getLastPromise;\n\n  var lastPromise = undefined;\n\n  var TestPromise = (function (_RSVP$Promise) {\n    babelHelpers.inherits(TestPromise, _RSVP$Promise);\n\n    function TestPromise() {\n      babelHelpers.classCallCheck(this, TestPromise);\n\n      _RSVP$Promise.apply(this, arguments);\n      lastPromise = this;\n    }\n\n    /**\n      This returns a thenable tailored for testing.  It catches failed\n      `onSuccess` callbacks and invokes the `Ember.Test.adapter.exception`\n      callback in the last chained then.\n    \n      This method should be returned by async helpers such as `wait`.\n    \n      @public\n      @for Ember.Test\n      @method promise\n      @param {Function} resolver The function used to resolve the promise.\n      @param {String} label An optional string for identifying the promise.\n    */\n\n    TestPromise.prototype.then = function then(onFulfillment) {\n      var _RSVP$Promise$prototype$then;\n\n      for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        args[_key - 1] = arguments[_key];\n      }\n\n      return (_RSVP$Promise$prototype$then = _RSVP$Promise.prototype.then).call.apply(_RSVP$Promise$prototype$then, [this, function (result) {\n        return isolate(onFulfillment, result);\n      }].concat(args));\n    };\n\n    return TestPromise;\n  })(_emberRuntime.RSVP.Promise);\n\n  exports.default = TestPromise;\n\n  function promise(resolver, label) {\n    var fullLabel = 'Ember.Test.promise: ' + (label || '<Unknown Promise>');\n    return new TestPromise(resolver, fullLabel);\n  }\n\n  /**\n    Replacement for `Ember.RSVP.resolve`\n    The only difference is this uses\n    an instance of `Ember.Test.Promise`\n  \n    @public\n    @for Ember.Test\n    @method resolve\n    @param {Mixed} The value to resolve\n    @since 1.2.0\n  */\n\n  function resolve(result, label) {\n    return TestPromise.resolve(result, label);\n  }\n\n  function getLastPromise() {\n    return lastPromise;\n  }\n\n  // This method isolates nested async methods\n  // so that they don't conflict with other last promises.\n  //\n  // 1. Set `Ember.Test.lastPromise` to null\n  // 2. Invoke method\n  // 3. Return the last promise created during method\n  function isolate(onFulfillment, result) {\n    // Reset lastPromise for nested helpers\n    lastPromise = null;\n\n    var value = onFulfillment(result);\n\n    var promise = lastPromise;\n    lastPromise = null;\n\n    // If the method returned a promise\n    // return that promise. If not,\n    // return the last async helper's promise\n    if (value && value instanceof TestPromise || !promise) {\n      return value;\n    } else {\n      return _emberTestingTestRun.default(function () {\n        return resolve(promise).then(function () {\n          return value;\n        });\n      });\n    }\n  }\n});\nenifed('ember-testing/test/run', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n  'use strict';\n\n  exports.default = run;\n\n  function run(fn) {\n    if (!_emberMetal.run.currentRunLoop) {\n      return _emberMetal.run(fn);\n    } else {\n      return fn();\n    }\n  }\n});\nenifed('ember-testing/test/waiters', ['exports', 'ember-debug'], function (exports, _emberDebug) {\n  'use strict';\n\n  exports.registerWaiter = registerWaiter;\n  exports.unregisterWaiter = unregisterWaiter;\n  exports.checkWaiters = checkWaiters;\n  exports.generateDeprecatedWaitersArray = generateDeprecatedWaitersArray;\n\n  var contexts = [];\n  var callbacks = [];\n\n  /**\n     This allows ember-testing to play nicely with other asynchronous\n     events, such as an application that is waiting for a CSS3\n     transition or an IndexDB transaction. The waiter runs periodically\n     after each async helper (i.e. `click`, `andThen`, `visit`, etc) has executed,\n     until the returning result is truthy. After the waiters finish, the next async helper\n     is executed and the process repeats.\n  \n     For example:\n  \n     ```javascript\n     Ember.Test.registerWaiter(function() {\n       return myPendingTransactions() == 0;\n     });\n     ```\n     The `context` argument allows you to optionally specify the `this`\n     with which your callback will be invoked.\n  \n     For example:\n  \n     ```javascript\n     Ember.Test.registerWaiter(MyDB, MyDB.hasPendingTransactions);\n     ```\n  \n     @public\n     @for Ember.Test\n     @method registerWaiter\n     @param {Object} context (optional)\n     @param {Function} callback\n     @since 1.2.0\n  */\n\n  function registerWaiter(context, callback) {\n    if (arguments.length === 1) {\n      callback = context;\n      context = null;\n    }\n    if (indexOf(context, callback) > -1) {\n      return;\n    }\n    contexts.push(context);\n    callbacks.push(callback);\n  }\n\n  /**\n     `unregisterWaiter` is used to unregister a callback that was\n     registered with `registerWaiter`.\n  \n     @public\n     @for Ember.Test\n     @method unregisterWaiter\n     @param {Object} context (optional)\n     @param {Function} callback\n     @since 1.2.0\n  */\n\n  function unregisterWaiter(context, callback) {\n    if (!callbacks.length) {\n      return;\n    }\n    if (arguments.length === 1) {\n      callback = context;\n      context = null;\n    }\n    var i = indexOf(context, callback);\n    if (i === -1) {\n      return;\n    }\n    contexts.splice(i, 1);\n    callbacks.splice(i, 1);\n  }\n\n  /**\n    Iterates through each registered test waiter, and invokes\n    its callback. If any waiter returns false, this method will return\n    true indicating that the waiters have not settled yet.\n  \n    This is generally used internally from the acceptance/integration test\n    infrastructure.\n  \n    @public\n    @for Ember.Test\n    @static\n    @method checkWaiters\n  */\n\n  function checkWaiters() {\n    if (!callbacks.length) {\n      return false;\n    }\n    for (var i = 0; i < callbacks.length; i++) {\n      var context = contexts[i];\n      var callback = callbacks[i];\n      if (!callback.call(context)) {\n        return true;\n      }\n    }\n    return false;\n  }\n\n  function indexOf(context, callback) {\n    for (var i = 0; i < callbacks.length; i++) {\n      if (callbacks[i] === callback && contexts[i] === context) {\n        return i;\n      }\n    }\n    return -1;\n  }\n\n  function generateDeprecatedWaitersArray() {\n    _emberDebug.deprecate('Usage of `Ember.Test.waiters` is deprecated. Please refactor to `Ember.Test.checkWaiters`.', false, { until: '2.8.0', id: 'ember-testing.test-waiters' });\n\n    var array = new Array(callbacks.length);\n    for (var i = 0; i < callbacks.length; i++) {\n      var context = contexts[i];\n      var callback = callbacks[i];\n\n      array[i] = [context, callback];\n    }\n\n    return array;\n  }\n});\nenifed(\"ember-utils/apply-str\", [\"exports\"], function (exports) {\n  /**\n   @param {Object} t target\n   @param {String} m method\n   @param {Array} a args\n   @private\n   */\n  \"use strict\";\n\n  exports.default = applyStr;\n\n  function applyStr(t, m, a) {\n    var l = a && a.length;\n    if (!a || !l) {\n      return t[m]();\n    }\n    switch (l) {\n      case 1:\n        return t[m](a[0]);\n      case 2:\n        return t[m](a[0], a[1]);\n      case 3:\n        return t[m](a[0], a[1], a[2]);\n      case 4:\n        return t[m](a[0], a[1], a[2], a[3]);\n      case 5:\n        return t[m](a[0], a[1], a[2], a[3], a[4]);\n      default:\n        return t[m].apply(t, a);\n    }\n  }\n});\nenifed(\"ember-utils/assign\", [\"exports\"], function (exports) {\n  /**\n    Copy properties from a source object to a target object.\n  \n    ```javascript\n    var a = { first: 'Yehuda' };\n    var b = { last: 'Katz' };\n    var c = { company: 'Tilde Inc.' };\n    Ember.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\n    @param {Object} original The object to assign into\n    @param {Object} ...args The objects to copy properties from\n    @return {Object}\n    @public\n  */\n  \"use strict\";\n\n  exports.default = assign;\n\n  function assign(original) {\n    for (var i = 1; i < arguments.length; i++) {\n      var arg = arguments[i];\n      if (!arg) {\n        continue;\n      }\n\n      var updates = Object.keys(arg);\n\n      for (var _i = 0; _i < updates.length; _i++) {\n        var prop = updates[_i];\n        original[prop] = arg[prop];\n      }\n    }\n\n    return original;\n  }\n});\nenifed('ember-utils/dictionary', ['exports'], function (exports) {\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  'use strict';\n\n  exports.default = makeDictionary;\n\n  function makeDictionary(parent) {\n    var dict = Object.create(parent);\n    dict['_dict'] = null;\n    delete dict['_dict'];\n    return dict;\n  }\n});\nenifed('ember-utils/guid', ['exports', 'ember-utils/intern'], function (exports, _emberUtilsIntern) {\n  'use strict';\n\n  exports.uuid = uuid;\n  exports.generateGuid = generateGuid;\n  exports.guidFor = guidFor;\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  /**\n   Generates a universally unique identifier. This method\n   is used internally by Ember for assisting with\n   the generation of GUID's and other unique identifiers.\n  \n   @public\n   @return {Number} [description]\n   */\n\n  function uuid() {\n    return ++_uuid;\n  }\n\n  /**\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\n  // Used for guid generation...\n  var numberCache = [];\n  var stringCache = {};\n\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 = _emberUtilsIntern.default('__ember' + +new Date());\n\n  exports.GUID_KEY = GUID_KEY;\n  var GUID_DESC = {\n    writable: true,\n    configurable: true,\n    enumerable: false,\n    value: null\n  };\n\n  exports.GUID_DESC = GUID_DESC;\n  var nullDescriptor = {\n    configurable: true,\n    writable: true,\n    enumerable: false,\n    value: null\n  };\n\n  var GUID_KEY_PROPERTY = {\n    name: GUID_KEY,\n    descriptor: nullDescriptor\n  };\n\n  exports.GUID_KEY_PROPERTY = GUID_KEY_PROPERTY;\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 `Ember.guidFor(obj)`, which return an existing guid if available.\n  \n    @private\n    @method generateGuid\n    @for Ember\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  function generateGuid(obj, prefix) {\n    if (!prefix) {\n      prefix = GUID_PREFIX;\n    }\n\n    var ret = prefix + uuid();\n    if (obj) {\n      if (obj[GUID_KEY] === null) {\n        obj[GUID_KEY] = ret;\n      } else {\n        GUID_DESC.value = ret;\n        if (obj.__defineNonEnumerable) {\n          obj.__defineNonEnumerable(GUID_KEY_PROPERTY);\n        } else {\n          Object.defineProperty(obj, GUID_KEY, GUID_DESC);\n        }\n      }\n    }\n    return ret;\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    `Ember.Object`-based or not, but be aware that it will add a `_guid`\n    property.\n  \n    You can also use this method on DOM Element objects.\n  \n    @public\n    @method guidFor\n    @for Ember\n    @param {Object} obj any object, string, number, Element, or primitive\n    @return {String} the unique guid for this instance.\n  */\n\n  function guidFor(obj) {\n    var type = typeof obj;\n    var isObject = type === 'object' && obj !== null;\n    var isFunction = type === 'function';\n\n    if ((isObject || isFunction) && obj[GUID_KEY]) {\n      return obj[GUID_KEY];\n    }\n\n    // special cases where we don't want to add a key to object\n    if (obj === undefined) {\n      return '(undefined)';\n    }\n\n    if (obj === null) {\n      return '(null)';\n    }\n\n    var ret = undefined;\n\n    // Don't allow prototype changes to String etc. to change the guidFor\n    switch (type) {\n      case 'number':\n        ret = numberCache[obj];\n\n        if (!ret) {\n          ret = numberCache[obj] = 'nu' + obj;\n        }\n\n        return ret;\n\n      case 'string':\n        ret = stringCache[obj];\n\n        if (!ret) {\n          ret = stringCache[obj] = 'st' + uuid();\n        }\n\n        return ret;\n\n      case 'boolean':\n        return obj ? '(true)' : '(false)';\n\n      default:\n        if (obj === Object) {\n          return '(Object)';\n        }\n\n        if (obj === Array) {\n          return '(Array)';\n        }\n\n        ret = GUID_PREFIX + uuid();\n\n        if (obj[GUID_KEY] === null) {\n          obj[GUID_KEY] = ret;\n        } else {\n          GUID_DESC.value = ret;\n\n          if (obj.__defineNonEnumerable) {\n            obj.__defineNonEnumerable(GUID_KEY_PROPERTY);\n          } else {\n            Object.defineProperty(obj, GUID_KEY, GUID_DESC);\n          }\n        }\n        return ret;\n    }\n  }\n});\nenifed('ember-utils/index', ['exports', 'ember-utils/symbol', 'ember-utils/owner', 'ember-utils/assign', 'ember-utils/dictionary', 'ember-utils/guid', 'ember-utils/intern', 'ember-utils/super', 'ember-utils/inspect', 'ember-utils/lookup-descriptor', 'ember-utils/invoke', 'ember-utils/make-array', 'ember-utils/apply-str', 'ember-utils/name', 'ember-utils/to-string', 'ember-utils/weak-map-utils', 'ember-utils/proxy-utils'], function (exports, _emberUtilsSymbol, _emberUtilsOwner, _emberUtilsAssign, _emberUtilsDictionary, _emberUtilsGuid, _emberUtilsIntern, _emberUtilsSuper, _emberUtilsInspect, _emberUtilsLookupDescriptor, _emberUtilsInvoke, _emberUtilsMakeArray, _emberUtilsApplyStr, _emberUtilsName, _emberUtilsToString, _emberUtilsWeakMapUtils, _emberUtilsProxyUtils) {\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  'use strict';\n\n  exports.symbol = _emberUtilsSymbol.default;\n  exports.getOwner = _emberUtilsOwner.getOwner;\n  exports.setOwner = _emberUtilsOwner.setOwner;\n  exports.OWNER = _emberUtilsOwner.OWNER;\n  exports.assign = _emberUtilsAssign.default;\n  exports.dictionary = _emberUtilsDictionary.default;\n  exports.uuid = _emberUtilsGuid.uuid;\n  exports.GUID_KEY = _emberUtilsGuid.GUID_KEY;\n  exports.GUID_DESC = _emberUtilsGuid.GUID_DESC;\n  exports.GUID_KEY_PROPERTY = _emberUtilsGuid.GUID_KEY_PROPERTY;\n  exports.generateGuid = _emberUtilsGuid.generateGuid;\n  exports.guidFor = _emberUtilsGuid.guidFor;\n  exports.intern = _emberUtilsIntern.default;\n  exports.checkHasSuper = _emberUtilsSuper.checkHasSuper;\n  exports.ROOT = _emberUtilsSuper.ROOT;\n  exports.wrap = _emberUtilsSuper.wrap;\n  exports.inspect = _emberUtilsInspect.default;\n  exports.lookupDescriptor = _emberUtilsLookupDescriptor.default;\n  exports.canInvoke = _emberUtilsInvoke.canInvoke;\n  exports.tryInvoke = _emberUtilsInvoke.tryInvoke;\n  exports.makeArray = _emberUtilsMakeArray.default;\n  exports.applyStr = _emberUtilsApplyStr.default;\n  exports.NAME_KEY = _emberUtilsName.default;\n  exports.toString = _emberUtilsToString.default;\n  exports.HAS_NATIVE_WEAKMAP = _emberUtilsWeakMapUtils.HAS_NATIVE_WEAKMAP;\n  exports.HAS_NATIVE_PROXY = _emberUtilsProxyUtils.HAS_NATIVE_PROXY;\n});\nenifed('ember-utils/inspect', ['exports'], function (exports) {\n  'use strict';\n\n  exports.default = inspect;\n  var objectToString = Object.prototype.toString;\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    @for Ember\n    @param {Object} obj The object you want to inspect.\n    @return {String} A description of the object\n    @since 1.4.0\n    @private\n  */\n\n  function inspect(obj) {\n    if (obj === null) {\n      return 'null';\n    }\n    if (obj === undefined) {\n      return 'undefined';\n    }\n    if (Array.isArray(obj)) {\n      return '[' + obj + ']';\n    }\n    // for non objects\n    var type = typeof obj;\n    if (type !== 'object' && type !== 'symbol') {\n      return '' + obj;\n    }\n    // overridden toString\n    if (typeof obj.toString === 'function' && obj.toString !== objectToString) {\n      return obj.toString();\n    }\n\n    // Object.prototype.toString === {}.toString\n    var v = undefined;\n    var ret = [];\n    for (var key in obj) {\n      if (obj.hasOwnProperty(key)) {\n        v = obj[key];\n        if (v === 'toString') {\n          continue;\n        } // ignore useless items\n        if (typeof v === 'function') {\n          v = 'function() { ... }';\n        }\n\n        if (v && typeof v.toString !== 'function') {\n          ret.push(key + ': ' + objectToString.call(v));\n        } else {\n          ret.push(key + ': ' + v);\n        }\n      }\n    }\n    return '{' + ret.join(', ') + '}';\n  }\n});\nenifed(\"ember-utils/intern\", [\"exports\"], function (exports) {\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  \"use strict\";\n\n  exports.default = intern;\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});\nenifed('ember-utils/invoke', ['exports', 'ember-utils/apply-str'], function (exports, _emberUtilsApplyStr) {\n  'use strict';\n\n  exports.canInvoke = canInvoke;\n  exports.tryInvoke = tryInvoke;\n\n  /**\n    Checks to see if the `methodName` exists on the `obj`.\n  \n    ```javascript\n    let foo = { bar: function() { return 'bar'; }, baz: null };\n  \n    Ember.canInvoke(foo, 'bar'); // true\n    Ember.canInvoke(foo, 'baz'); // false\n    Ember.canInvoke(foo, 'bat'); // false\n    ```\n  \n    @method canInvoke\n    @for Ember\n    @param {Object} obj The object to check for the method\n    @param {String} methodName The method name to check for\n    @return {Boolean}\n    @private\n  */\n\n  function canInvoke(obj, methodName) {\n    return !!(obj && typeof obj[methodName] === 'function');\n  }\n\n  /**\n    Checks to see if the `methodName` exists on the `obj`,\n    and if it does, invokes it with the arguments passed.\n  \n    ```javascript\n    let d = new Date('03/15/2013');\n  \n    Ember.tryInvoke(d, 'getTime');              // 1363320000000\n    Ember.tryInvoke(d, 'setFullYear', [2014]);  // 1394856000000\n    Ember.tryInvoke(d, 'noSuchMethod', [2014]); // undefined\n    ```\n  \n    @method tryInvoke\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    @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  function tryInvoke(obj, methodName, args) {\n    if (canInvoke(obj, methodName)) {\n      return args ? _emberUtilsApplyStr.default(obj, methodName, args) : _emberUtilsApplyStr.default(obj, methodName);\n    }\n  }\n});\nenifed(\"ember-utils/lookup-descriptor\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.default = lookupDescriptor;\n\n  function lookupDescriptor(obj, keyName) {\n    var current = obj;\n    while (current) {\n      var descriptor = Object.getOwnPropertyDescriptor(current, keyName);\n\n      if (descriptor) {\n        return descriptor;\n      }\n\n      current = Object.getPrototypeOf(current);\n    }\n\n    return null;\n  }\n});\nenifed(\"ember-utils/make-array\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.default = makeArray;\n  var isArray = Array.isArray;\n\n  /**\n   Forces the passed object to be part of an array. If the object is already\n   an array, it will return the object. Otherwise, it will add the object to\n   an array. If obj is `null` or `undefined`, it will return an empty array.\n  \n   ```javascript\n   Ember.makeArray();            // []\n   Ember.makeArray(null);        // []\n   Ember.makeArray(undefined);   // []\n   Ember.makeArray('lindsay');   // ['lindsay']\n   Ember.makeArray([1, 2, 42]);  // [1, 2, 42]\n  \n   let controller = Ember.ArrayProxy.create({ content: [] });\n  \n   Ember.makeArray(controller) === controller;  // true\n   ```\n  \n   @method makeArray\n   @for Ember\n   @param {Object} obj the object\n   @return {Array}\n   @private\n   */\n\n  function makeArray(obj) {\n    if (obj === null || obj === undefined) {\n      return [];\n    }\n    return isArray(obj) ? obj : [obj];\n  }\n});\nenifed('ember-utils/name', ['exports', 'ember-utils/symbol'], function (exports, _emberUtilsSymbol) {\n  'use strict';\n\n  exports.default = _emberUtilsSymbol.default('NAME_KEY');\n});\nenifed('ember-utils/owner', ['exports', 'ember-utils/symbol'], function (exports, _emberUtilsSymbol) {\n  /**\n  @module ember\n  @submodule ember-runtime\n  */\n\n  'use strict';\n\n  exports.getOwner = getOwner;\n  exports.setOwner = setOwner;\n  var OWNER = _emberUtilsSymbol.default('OWNER');\n\n  exports.OWNER = OWNER;\n  /**\n    Framework objects in an Ember application (components, services, routes, etc.)\n    are created via a factory and dependency injection system. Each of these\n    objects is the responsibility of an \"owner\", which handled its\n    instantiation and manages its lifetime.\n  \n    `getOwner` fetches the owner object responsible for an instance. This can\n    be used to lookup or resolve other class instances, or register new factories\n    into the owner.\n  \n    For example, this component dynamically looks up a service based on the\n    `audioType` passed as an attribute:\n  \n    ```app/components/play-audio.js\n    import Ember from 'ember';\n  \n    // Usage:\n    //\n    //   {{play-audio audioType=model.audioType audioFile=model.file}}\n    //\n    export default Ember.Component.extend({\n      audioService: Ember.computed('audioType', function() {\n        let owner = Ember.getOwner(this);\n        return owner.lookup(`service:${this.get('audioType')}`);\n      }),\n      click() {\n        let player = this.get('audioService');\n        player.play(this.get('audioFile'));\n      }\n    });\n    ```\n  \n    @method getOwner\n    @for Ember\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  function getOwner(object) {\n    return object[OWNER];\n  }\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    @for Ember\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  function setOwner(object, owner) {\n    object[OWNER] = owner;\n  }\n});\nenifed('ember-utils/proxy-utils', ['exports'], function (exports) {\n  'use strict';\n\n  var HAS_NATIVE_PROXY = typeof Proxy === 'function';\n  exports.HAS_NATIVE_PROXY = HAS_NATIVE_PROXY;\n});\nenifed('ember-utils/super', ['exports'], function (exports) {\n  'use strict';\n\n  exports.ROOT = ROOT;\n  exports.wrap = wrap;\n  var HAS_SUPER_PATTERN = /\\.(_super|call\\(this|apply\\(this)/;\n  var fnToString = Function.prototype.toString;\n\n  var checkHasSuper = (function () {\n    var sourceAvailable = fnToString.call(function () {\n      return this;\n    }).indexOf('return this') > -1;\n\n    if (sourceAvailable) {\n      return function checkHasSuper(func) {\n        return HAS_SUPER_PATTERN.test(fnToString.call(func));\n      };\n    }\n\n    return function checkHasSuper() {\n      return true;\n    };\n  })();\n\n  exports.checkHasSuper = checkHasSuper;\n\n  function ROOT() {}\n\n  ROOT.__hasSuper = false;\n\n  function hasSuper(func) {\n    if (func.__hasSuper === undefined) {\n      func.__hasSuper = checkHasSuper(func);\n    }\n    return func.__hasSuper;\n  }\n\n  /**\n    Wraps the passed function so that `this._super` will point to the superFunc\n    when the function is invoked. This is the primitive we use to implement\n    calls to super.\n  \n    @private\n    @method wrap\n    @for Ember\n    @param {Function} func The function to call\n    @param {Function} superFunc The super function.\n    @return {Function} wrapped function.\n  */\n\n  function wrap(func, superFunc) {\n    if (!hasSuper(func)) {\n      return func;\n    }\n    // ensure an unwrapped super that calls _super is wrapped with a terminal _super\n    if (!superFunc.wrappedFunction && hasSuper(superFunc)) {\n      return _wrap(func, _wrap(superFunc, ROOT));\n    }\n    return _wrap(func, superFunc);\n  }\n\n  function _wrap(func, superFunc) {\n    function superWrapper() {\n      var orig = this._super;\n      this._super = superFunc;\n      var ret = func.apply(this, arguments);\n      this._super = orig;\n      return ret;\n    }\n\n    superWrapper.wrappedFunction = func;\n    superWrapper.__ember_observes__ = func.__ember_observes__;\n    superWrapper.__ember_observesBefore__ = func.__ember_observesBefore__;\n    superWrapper.__ember_listens__ = func.__ember_listens__;\n\n    return superWrapper;\n  }\n});\nenifed('ember-utils/symbol', ['exports', 'ember-utils/guid', 'ember-utils/intern'], function (exports, _emberUtilsGuid, _emberUtilsIntern) {\n  'use strict';\n\n  exports.default = symbol;\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 = _emberUtilsGuid.GUID_KEY + Math.floor(Math.random() * new Date());\n    return _emberUtilsIntern.default('__' + debugName + '__ [id=' + id + ']');\n  }\n});\nenifed('ember-utils/to-string', ['exports'], function (exports) {\n  'use strict';\n\n  exports.default = toString;\n  var objectToString = Object.prototype.toString;\n\n  function isNone(obj) {\n    return obj === null || obj === undefined;\n  }\n\n  /*\n   A `toString` util function that supports objects without a `toString`\n   method, e.g. an object created with `Object.create(null)`.\n  */\n\n  function toString(obj) {\n    var type = typeof obj;\n    if (type === \"string\") {\n      return obj;\n    }\n\n    if (Array.isArray(obj)) {\n      // Reimplement Array.prototype.join according to spec (22.1.3.13)\n      // Changing ToString(element) with this safe version of ToString.\n      var len = obj.length;\n      var sep = ',';\n      var r = '';\n\n      for (var k = 0; k < len; k++) {\n        if (k > 0) {\n          r += ',';\n        }\n\n        if (!isNone(obj[k])) {\n          r += toString(obj[k]);\n        }\n      }\n\n      return r;\n    } else if (obj != null && typeof obj.toString === 'function') {\n      return obj.toString();\n    } else {\n      return objectToString.call(obj);\n    }\n  }\n});\nenifed('ember-utils/weak-map-utils', ['exports'], function (exports) {\n  'use strict';\n\n  var HAS_NATIVE_WEAKMAP = (function () {\n    // detect if `WeakMap` is even present\n    var hasWeakMap = typeof WeakMap === 'function';\n    if (!hasWeakMap) {\n      return false;\n    }\n\n    var instance = new WeakMap();\n    // use `Object`'s `.toString` directly to prevent us from detecting\n    // polyfills as native weakmaps\n    return Object.prototype.toString.call(instance) === '[object WeakMap]';\n  })();\n  exports.HAS_NATIVE_WEAKMAP = HAS_NATIVE_WEAKMAP;\n});\nenifed('ember-views/compat/attrs', ['exports', 'ember-utils'], function (exports, _emberUtils) {\n  'use strict';\n\n  var MUTABLE_CELL = _emberUtils.symbol('MUTABLE_CELL');\n  exports.MUTABLE_CELL = MUTABLE_CELL;\n});\nenifed('ember-views/compat/fallback-view-registry', ['exports', 'ember-utils'], function (exports, _emberUtils) {\n  'use strict';\n\n  exports.default = _emberUtils.dictionary(null);\n});\nenifed('ember-views/component_lookup', ['exports', 'ember-debug', 'ember-runtime', 'container'], function (exports, _emberDebug, _emberRuntime, _container) {\n  'use strict';\n\n  exports.default = _emberRuntime.Object.extend({\n    componentFor: function (name, owner, options) {\n      _emberDebug.assert('You cannot use \\'' + name + '\\' as a component name. Component names must contain a hyphen.', ~name.indexOf('-'));\n      var fullName = 'component:' + name;\n      return owner[_container.FACTORY_FOR](fullName, options);\n    },\n\n    layoutFor: function (name, owner, options) {\n      _emberDebug.assert('You cannot use \\'' + name + '\\' as a component name. Component names must contain a hyphen.', ~name.indexOf('-'));\n\n      var templateFullName = 'template:components/' + name;\n      return owner.lookup(templateFullName, options);\n    }\n  });\n});\nenifed('ember-views/index', ['exports', 'ember-views/system/ext', 'ember-views/system/jquery', 'ember-views/system/utils', 'ember-views/system/event_dispatcher', 'ember-views/component_lookup', 'ember-views/mixins/text_support', 'ember-views/views/core_view', 'ember-views/mixins/class_names_support', 'ember-views/mixins/child_views_support', 'ember-views/mixins/view_state_support', 'ember-views/mixins/view_support', 'ember-views/mixins/action_support', 'ember-views/compat/attrs', 'ember-views/system/lookup_partial', 'ember-views/utils/lookup-component', 'ember-views/system/action_manager', 'ember-views/compat/fallback-view-registry'], function (exports, _emberViewsSystemExt, _emberViewsSystemJquery, _emberViewsSystemUtils, _emberViewsSystemEvent_dispatcher, _emberViewsComponent_lookup, _emberViewsMixinsText_support, _emberViewsViewsCore_view, _emberViewsMixinsClass_names_support, _emberViewsMixinsChild_views_support, _emberViewsMixinsView_state_support, _emberViewsMixinsView_support, _emberViewsMixinsAction_support, _emberViewsCompatAttrs, _emberViewsSystemLookup_partial, _emberViewsUtilsLookupComponent, _emberViewsSystemAction_manager, _emberViewsCompatFallbackViewRegistry) {\n  /**\n  @module ember\n  @submodule ember-views\n  */\n\n  'use strict';\n\n  exports.jQuery = _emberViewsSystemJquery.default;\n  exports.isSimpleClick = _emberViewsSystemUtils.isSimpleClick;\n  exports.getViewBounds = _emberViewsSystemUtils.getViewBounds;\n  exports.getViewClientRects = _emberViewsSystemUtils.getViewClientRects;\n  exports.getViewBoundingClientRect = _emberViewsSystemUtils.getViewBoundingClientRect;\n  exports.getRootViews = _emberViewsSystemUtils.getRootViews;\n  exports.getChildViews = _emberViewsSystemUtils.getChildViews;\n  exports.getViewId = _emberViewsSystemUtils.getViewId;\n  exports.getViewElement = _emberViewsSystemUtils.getViewElement;\n  exports.setViewElement = _emberViewsSystemUtils.setViewElement;\n  exports.constructStyleDeprecationMessage = _emberViewsSystemUtils.constructStyleDeprecationMessage;\n  exports.EventDispatcher = _emberViewsSystemEvent_dispatcher.default;\n  exports.ComponentLookup = _emberViewsComponent_lookup.default;\n  exports.TextSupport = _emberViewsMixinsText_support.default;\n  exports.CoreView = _emberViewsViewsCore_view.default;\n  exports.ClassNamesSupport = _emberViewsMixinsClass_names_support.default;\n  exports.ChildViewsSupport = _emberViewsMixinsChild_views_support.default;\n  exports.ViewStateSupport = _emberViewsMixinsView_state_support.default;\n  exports.ViewMixin = _emberViewsMixinsView_support.default;\n  exports.dispatchLifeCycleHook = _emberViewsMixinsView_support.dispatchLifeCycleHook;\n  exports.ActionSupport = _emberViewsMixinsAction_support.default;\n  exports.MUTABLE_CELL = _emberViewsCompatAttrs.MUTABLE_CELL;\n  exports.lookupPartial = _emberViewsSystemLookup_partial.default;\n  exports.hasPartial = _emberViewsSystemLookup_partial.hasPartial;\n  exports.lookupComponent = _emberViewsUtilsLookupComponent.default;\n  exports.ActionManager = _emberViewsSystemAction_manager.default;\n  exports.fallbackViewRegistry = _emberViewsCompatFallbackViewRegistry.default;\n});\n// for the side effect of extending Ember.run.queues\nenifed('ember-views/mixins/action_support', ['exports', 'ember-utils', 'ember-metal', 'ember-debug', 'ember-views/compat/attrs'], function (exports, _emberUtils, _emberMetal, _emberDebug, _emberViewsCompatAttrs) {\n  /**\n   @module ember\n   @submodule ember-views\n  */\n  'use strict';\n\n  function validateAction(component, actionName) {\n    if (actionName && actionName[_emberViewsCompatAttrs.MUTABLE_CELL]) {\n      actionName = actionName.value;\n    }\n\n    _emberDebug.assert('The default action was triggered on the component ' + component.toString() + ', but the action name (' + actionName + ') was not a string.', _emberMetal.isNone(actionName) || typeof actionName === 'string' || typeof actionName === 'function');\n    return actionName;\n  }\n\n  /**\n   @class ActionSupport\n   @namespace Ember\n   @private\n  */\n  exports.default = _emberMetal.Mixin.create({\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       ```javascript\n      // app/components/play-button.js\n      export default Ember.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       ```javascript\n      // app/controller/application.js\n      export default Ember.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       ```javascript\n      // app/components/next-button.js\n      export default Ember.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       ```javascript\n      // app/controllers/application.js\n      App.ApplicationController = Ember.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    */\n    sendAction: function (action) {\n      for (var _len = arguments.length, contexts = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        contexts[_key - 1] = arguments[_key];\n      }\n\n      var actionName = undefined;\n\n      // Send the default action\n      if (action === undefined) {\n        action = 'action';\n      }\n      actionName = _emberMetal.get(this, 'attrs.' + action) || _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\n    send: function (actionName) {\n      for (var _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 action = this.actions && this.actions[actionName];\n\n      if (action) {\n        var shouldBubble = action.apply(this, args) === true;\n        if (!shouldBubble) {\n          return;\n        }\n      }\n\n      var target = _emberMetal.get(this, 'target');\n      if (target) {\n        _emberDebug.assert('The `target` for ' + this + ' (' + target + ') does not have a `send` method', typeof target.send === 'function');\n        target.send.apply(target, arguments);\n      } else {\n        _emberDebug.assert(_emberUtils.inspect(this) + ' had no action handler for: ' + actionName, action);\n      }\n    }\n  });\n});\nenifed('ember-views/mixins/child_views_support', ['exports', 'ember-utils', 'ember-metal', 'ember-views/system/utils'], function (exports, _emberUtils, _emberMetal, _emberViewsSystemUtils) {\n  /**\n  @module ember\n  @submodule ember-views\n  */\n  'use strict';\n\n  exports.default = _emberMetal.Mixin.create({\n    init: function () {\n      this._super.apply(this, arguments);\n      _emberViewsSystemUtils.initChildViews(this);\n    },\n\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: _emberMetal.descriptor({\n      configurable: false,\n      enumerable: false,\n      get: function () {\n        return _emberViewsSystemUtils.getChildViews(this);\n      }\n    }),\n\n    appendChild: function (view) {\n      this.linkChild(view);\n      _emberViewsSystemUtils.addChildView(this, view);\n    },\n\n    linkChild: function (instance) {\n      if (!_emberUtils.getOwner(instance)) {\n        _emberUtils.setOwner(instance, _emberUtils.getOwner(this));\n      }\n    }\n  });\n});\nenifed('ember-views/mixins/class_names_support', ['exports', 'ember-metal', 'ember-debug'], function (exports, _emberMetal, _emberDebug) {\n  /**\n  @module ember\n  @submodule ember-views\n  */\n\n  'use strict';\n\n  var EMPTY_ARRAY = Object.freeze([]);\n\n  /**\n    @class ClassNamesSupport\n    @namespace Ember\n    @private\n  */\n  exports.default = _emberMetal.Mixin.create({\n    concatenatedProperties: ['classNames', 'classNameBindings'],\n\n    init: function () {\n      this._super.apply(this, arguments);\n\n      _emberDebug.assert('Only arrays are allowed for \\'classNameBindings\\'', Array.isArray(this.classNameBindings));\n      _emberDebug.assert('Only arrays of static class strings are allowed for \\'classNames\\'. For dynamic classes, use \\'classNameBindings\\'.', 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      Ember.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      Ember.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      Ember.Component.extend({\n        classNameBindings: ['isUrgent:urgent'],\n        isUrgent: true\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});\nenifed('ember-views/mixins/text_support', ['exports', 'ember-metal', 'ember-runtime'], function (exports, _emberMetal, _emberRuntime) {\n  /**\n  @module ember\n  @submodule ember-views\n  */\n\n  'use strict';\n\n  var KEY_EVENTS = {\n    13: 'insertNewline',\n    27: 'cancel'\n  };\n\n  /**\n    `TextSupport` is a shared mixin used by both `Ember.TextField` and\n    `Ember.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 specifed 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        App = Ember.Application.create();\n  \n        App.ApplicationController = Ember.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  | insert-newline |\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 Ember.Mixin\n    @private\n  */\n  exports.default = _emberMetal.Mixin.create(_emberRuntime.TargetActionSupport, {\n    value: '',\n\n    attributeBindings: ['autocapitalize', 'autocorrect', 'autofocus', 'disabled', 'form', 'maxlength', '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      The action to be sent when the user presses the return key.\n       This is similar to the `{{action}}` helper, but is fired when\n      the user presses the return key when editing a text field, and sends\n      the value of the field as the context.\n       @property action\n      @type String\n      @default null\n      @private\n    */\n    action: null,\n\n    /**\n      The event that should send the action.\n       Options are:\n       * `enter`: the user pressed enter\n      * `keyPress`: the user pressed a key\n       @property onEvent\n      @type String\n      @default enter\n      @private\n    */\n    onEvent: 'enter',\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 map = KEY_EVENTS;\n      var method = map[event.keyCode];\n\n      this._elementValueDidChange();\n      if (method) {\n        return this[method](event);\n      }\n    },\n\n    _elementValueDidChange: function () {\n      _emberMetal.set(this, 'value', this.element.value);\n    },\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\n      this.sendAction('key-up', _emberMetal.get(this, 'value'), 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      this.sendAction('key-down', _emberMetal.get(this, 'value'), 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 action = _emberMetal.get(view, 'attrs.' + eventName) || _emberMetal.get(view, eventName);\n    var on = _emberMetal.get(view, 'onEvent');\n    var value = _emberMetal.get(view, 'value');\n\n    // back-compat support for keyPress as an event name even though\n    // it's also a method name that consumes the event (and therefore\n    // incompatible with sendAction semantics).\n    if (on === eventName || on === 'keyPress' && eventName === 'key-press') {\n      view.sendAction('action', value);\n    }\n\n    view.sendAction(eventName, value);\n\n    if (action || on === eventName) {\n      if (!_emberMetal.get(view, 'bubbles')) {\n        event.stopPropagation();\n      }\n    }\n  }\n});\nenifed('ember-views/mixins/view_state_support', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n  /**\n  @module ember\n  @submodule ember-views\n  */\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});\nenifed('ember-views/mixins/view_support', ['exports', 'ember-utils', 'ember-metal', 'ember-debug', 'ember-environment', 'ember-views/system/utils', 'ember-runtime/system/core_object', 'ember-views/system/jquery'], function (exports, _emberUtils, _emberMetal, _emberDebug, _emberEnvironment, _emberViewsSystemUtils, _emberRuntimeSystemCore_object, _emberViewsSystemJquery) {\n  'use strict';\n\n  var _Mixin$create;\n\n  function K() {\n    return this;\n  }\n\n  var dispatchLifeCycleHook = function (component, hook, oldAttrs, newAttrs) {\n    component.trigger(hook, { attrs: newAttrs, oldAttrs: oldAttrs, newAttrs: newAttrs });\n  };\n\n  exports.dispatchLifeCycleHook = dispatchLifeCycleHook;\n  _emberDebug.runInDebug(function () {\n    var Attrs = (function () {\n      function Attrs(oldAttrs, newAttrs, message) {\n        babelHelpers.classCallCheck(this, Attrs);\n\n        this._oldAttrs = oldAttrs;\n        this._newAttrs = newAttrs;\n        this._message = message;\n      }\n\n      babelHelpers.createClass(Attrs, [{\n        key: 'attrs',\n        get: function () {\n          return this.newAttrs;\n        }\n      }, {\n        key: 'oldAttrs',\n        get: function () {\n          _emberDebug.deprecate(this._message, false, {\n            id: 'ember-views.lifecycle-hook-arguments',\n            until: '2.13.0',\n            url: 'http://emberjs.com/deprecations/v2.x/#toc_arguments-in-component-lifecycle-hooks'\n          });\n\n          return this._oldAttrs;\n        }\n      }, {\n        key: 'newAttrs',\n        get: function () {\n          _emberDebug.deprecate(this._message, false, {\n            id: 'ember-views.lifecycle-hook-arguments',\n            until: '2.13.0',\n            url: 'http://emberjs.com/deprecations/v2.x/#toc_arguments-in-component-lifecycle-hooks'\n          });\n\n          return this._newAttrs;\n        }\n      }]);\n      return Attrs;\n    })();\n\n    exports.dispatchLifeCycleHook = dispatchLifeCycleHook = function (component, hook, oldAttrs, newAttrs) {\n      if (typeof component[hook] === 'function' && component[hook].length !== 0) {\n        // Already warned in init\n        component.trigger(hook, { attrs: newAttrs, oldAttrs: oldAttrs, newAttrs: newAttrs });\n      } else {\n        component.trigger(hook, new Attrs(oldAttrs, newAttrs, '[DEPRECATED] Ember will stop passing arguments to component lifecycle hooks. Please change `' + component.toString() + '#' + hook + '` to stop taking arguments.'));\n      }\n    };\n  });\n\n  /**\n   @class ViewMixin\n   @namespace Ember\n   @private\n  */\n  exports.default = _emberMetal.Mixin.create((_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       ```javascript\n      Ember.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       ```javascript\n      Ember.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       ```javascript\n      Ember.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  }, _Mixin$create[_emberRuntimeSystemCore_object.POST_INIT] = function () {\n    dispatchLifeCycleHook(this, 'didInitAttrs', undefined, this.attrs);\n    dispatchLifeCycleHook(this, 'didReceiveAttrs', undefined, this.attrs);\n  }, _Mixin$create.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  }, _Mixin$create.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  }, _Mixin$create.rerender = function () {\n    return this._currentState.rerender(this);\n  }, _Mixin$create.element = _emberMetal.descriptor({\n    configurable: false,\n    enumerable: false,\n    get: function () {\n      return this.renderer.getElement(this);\n    }\n  }), _Mixin$create.$ = function (sel) {\n    _emberDebug.assert('You cannot access this.$() on a component with `tagName: \\'\\'` specified.', this.tagName !== '');\n    if (this.element) {\n      return sel ? _emberViewsSystemJquery.default(sel, this.element) : _emberViewsSystemJquery.default(this.element);\n    }\n  }, _Mixin$create.appendTo = function (selector) {\n    var env = this._environment || _emberEnvironment.environment;\n    var target = undefined;\n\n    if (env.hasDOM) {\n      target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n\n      _emberDebug.assert('You tried to append to (' + selector + ') but that isn\\'t in the DOM', target);\n      _emberDebug.assert('You cannot append to an existing Ember.View.', !_emberViewsSystemUtils.matches(target, '.ember-view'));\n      _emberDebug.assert('You cannot append to an existing Ember.View.', (function () {\n        var node = target.parentNode;\n        while (node) {\n          if (node.nodeType !== 9 && _emberViewsSystemUtils.matches(node, '.ember-view')) {\n            return false;\n          }\n\n          node = node.parentNode;\n        }\n\n        return true;\n      })());\n    } else {\n      target = selector;\n\n      _emberDebug.assert('You tried to append to a selector string (' + selector + ') in an environment without jQuery', typeof target !== 'string');\n      _emberDebug.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  }, _Mixin$create.renderToElement = function () {\n    var tagName = arguments.length <= 0 || arguments[0] === undefined ? 'body' : arguments[0];\n\n    _emberDebug.deprecate('Using the `renderToElement` is deprecated in favor of `appendTo`. Called in ' + this.toString(), false, {\n      id: 'ember-views.render-to-element',\n      until: '2.12.0',\n      url: 'http://emberjs.com/deprecations/v2.x#toc_code-rendertoelement-code'\n    });\n\n    var element = this.renderer.createElement(tagName);\n\n    this.renderer.appendTo(this, element);\n    return element;\n  }, _Mixin$create.replaceIn = function (selector) {\n    var target = _emberViewsSystemJquery.default(selector);\n\n    _emberDebug.assert('You tried to replace in (' + selector + ') but that isn\\'t in the DOM', target.length > 0);\n    _emberDebug.assert('You cannot replace an existing Ember.View.', !target.is('.ember-view') && !target.parents().is('.ember-view'));\n\n    this.renderer.replaceIn(this, target[0]);\n\n    return this;\n  }, _Mixin$create.append = function () {\n    return this.appendTo(document.body);\n  }, _Mixin$create.elementId = null, _Mixin$create.findElementInParentElement = function (parentElem) {\n    var id = '#' + this.elementId;\n    return _emberViewsSystemJquery.default(id)[0] || _emberViewsSystemJquery.default(id, parentElem)[0];\n  }, _Mixin$create.willInsertElement = K, _Mixin$create.didInsertElement = K, _Mixin$create.willClearRender = K, _Mixin$create.destroy = function () {\n    this._super.apply(this, arguments);\n    this._currentState.destroy(this);\n  }, _Mixin$create.willDestroyElement = K, _Mixin$create.parentViewDidChange = K, _Mixin$create.tagName = null, _Mixin$create.init = function () {\n    this._super.apply(this, arguments);\n\n    if (!this.elementId && this.tagName !== '') {\n      this.elementId = _emberUtils.guidFor(this);\n    }\n\n    // if we find an `eventManager` property, deopt the\n    // `EventDispatcher`'s `canDispatchToEventManager` property\n    // if `null`\n    if (this.eventManager) {\n      var owner = _emberUtils.getOwner(this);\n      var dispatcher = owner && owner.lookup('event_dispatcher:main');\n\n      if (dispatcher && dispatcher.canDispatchToEventManager === null) {\n        dispatcher.canDispatchToEventManager = true;\n      }\n    }\n\n    _emberDebug.deprecate('[DEPRECATED] didInitAttrs called in ' + this.toString() + '.', typeof this.didInitAttrs !== 'function', {\n      id: 'ember-views.did-init-attrs',\n      until: '3.0.0',\n      url: 'http://emberjs.com/deprecations/v2.x#toc_ember-component-didinitattrs'\n    });\n\n    _emberDebug.deprecate('[DEPRECATED] Ember will stop passing arguments to component lifecycle hooks. Please change `' + this.toString() + '#didInitAttrs` to stop taking arguments.', typeof this.didInitAttrs !== 'function' || this.didInitAttrs.length === 0, {\n      id: 'ember-views.lifecycle-hook-arguments',\n      until: '2.13.0',\n      url: 'http://emberjs.com/deprecations/v2.x/#toc_arguments-in-component-lifecycle-hooks'\n    });\n\n    _emberDebug.deprecate('[DEPRECATED] Ember will stop passing arguments to component lifecycle hooks. Please change `' + this.toString() + '#didReceiveAttrs` to stop taking arguments.', typeof this.didReceiveAttrs !== 'function' || this.didReceiveAttrs.length === 0, {\n      id: 'ember-views.lifecycle-hook-arguments',\n      until: '2.13.0',\n      url: 'http://emberjs.com/deprecations/v2.x/#toc_arguments-in-component-lifecycle-hooks'\n    });\n\n    _emberDebug.deprecate('[DEPRECATED] Ember will stop passing arguments to component lifecycle hooks. Please change `' + this.toString() + '#didUpdateAttrs` to stop taking arguments.', typeof this.didUpdateAttrs !== 'function' || this.didUpdateAttrs.length === 0, {\n      id: 'ember-views.lifecycle-hook-arguments',\n      until: '2.13.0',\n      url: 'http://emberjs.com/deprecations/v2.x/#toc_arguments-in-component-lifecycle-hooks'\n    });\n\n    _emberDebug.assert('Using a custom `.render` function is no longer supported.', !this.render);\n  }, _Mixin$create.__defineNonEnumerable = function (property) {\n    this[property.name] = property.descriptor.value;\n  }, _Mixin$create.handleEvent = function (eventName, evt) {\n    return this._currentState.handleEvent(this, eventName, evt);\n  }, _Mixin$create));\n});\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 Ember.Mixin.\n  @return Ember.View\n  @deprecated use `yield` and contextual components for composition instead.\n  @private\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\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\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\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\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 `Ember.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\n/**\n  Creates a new DOM element, renders the view into it, then returns the\n  element.\n   By default, the element created and rendered into will be a `BODY` element,\n  since this is the default context that views are rendered into when being\n  inserted directly into the DOM.\n   ```js\n  let element = view.renderToElement();\n  element.tagName; // => \"BODY\"\n  ```\n   You can override the kind of element rendered into and returned by\n  specifying an optional tag name as the first argument.\n   ```js\n  let element = view.renderToElement('table');\n  element.tagName; // => \"TABLE\"\n  ```\n   This method is useful if you want to render the view into an element that\n  is not in the document's body. Instead, a new `body` element, detached from\n  the DOM is returned. FastBoot uses this to serialize the rendered view into\n  a string for transmission over the network.\n   ```js\n  app.visit('/').then(function(instance) {\n    let element;\n    Ember.run(function() {\n      element = renderToElement(instance);\n    });\n     res.send(serialize(element));\n  });\n  ```\n   @method renderToElement\n  @param {String} tagName The tag of the element to create and render into. Defaults to \"body\".\n  @return {HTMLBodyElement} element\n  @deprecated Use appendTo instead.\n  @private\n*/\n\n/**\n  Replaces the content of the specified parent element with this view's\n  element. If the view does not have an HTML representation yet,\n  the element will be generated automatically.\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   @method replaceIn\n  @param {String|DOMElement|jQuery} target A selector, element, HTML string, or jQuery object\n  @return {Ember.View} received\n  @private\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\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   ```javascript\n    export default Ember.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\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\n/**\n  Called when a view is going to insert an element into the DOM.\n   @event willInsertElement\n  @public\n*/\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\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\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\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\n/**\n  Called when the parentView property has changed.\n   @event parentViewDidChange\n  @private\n*/\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\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\n// .......................................................\n// EVENT HANDLING\n//\n\n/**\n  Handle events from `Ember.EventDispatcher`\n   @method handleEvent\n  @param eventName {String}\n  @param evt {Event}\n  @private\n*/\nenifed(\"ember-views/system/action_manager\", [\"exports\"], function (exports) {\n  /**\n  @module ember\n  @submodule ember-views\n  */\n\n  \"use strict\";\n\n  exports.default = ActionManager;\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});\nenifed('ember-views/system/event_dispatcher', ['exports', 'ember-utils', 'ember-debug', 'ember-metal', 'ember-runtime', 'ember-views/system/jquery', 'ember-views/system/action_manager', 'ember-environment', 'ember-views/compat/fallback-view-registry'], function (exports, _emberUtils, _emberDebug, _emberMetal, _emberRuntime, _emberViewsSystemJquery, _emberViewsSystemAction_manager, _emberEnvironment, _emberViewsCompatFallbackViewRegistry) {\n  /**\n  @module ember\n  @submodule ember-views\n  */\n\n  'use strict';\n\n  var ROOT_ELEMENT_CLASS = 'ember-application';\n  var ROOT_ELEMENT_SELECTOR = '.' + ROOT_ELEMENT_CLASS;\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    /**\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 `Ember.Application.customEvents` hash.\n       To add new events to be listened to:\n       ```javascript\n      let App = Ember.Application.create({\n        customEvents: {\n          paste: 'paste'\n        }\n      });\n      ```\n       To prevent default events from being listened to:\n       ```javascript\n      let App = Ember.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    /**\n      It enables events to be dispatched to the view's `eventManager.` When present,\n      this object takes precedence over handling of events on the view itself.\n       Note that most Ember applications do not use this feature. If your app also\n      does not use it, consider setting this property to false to gain some performance\n      improvement by allowing the EventDispatcher to skip the search for the\n      `eventManager` on the view tree.\n       ```javascript\n      let EventDispatcher = Em.EventDispatcher.extend({\n        events: {\n            click       : 'click',\n            focusin     : 'focusIn',\n            focusout    : 'focusOut',\n            change      : 'change'\n        },\n        canDispatchToEventManager: false\n      });\n      container.register('event_dispatcher:main', EventDispatcher);\n      ```\n       @property canDispatchToEventManager\n      @type boolean\n      @default false\n      @since 1.7.0\n      @private\n    */\n    canDispatchToEventManager: null,\n\n    init: function () {\n      this._super();\n      _emberDebug.assert('EventDispatcher should never be instantiated in fastboot mode. Please report this as an Ember bug.', _emberEnvironment.environment.hasDOM);\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 event = undefined;\n      var events = this._finalEvents = _emberUtils.assign({}, _emberMetal.get(this, 'events'), addedEvents);\n\n      if (_emberMetal.isNone(rootElement)) {\n        rootElement = _emberMetal.get(this, 'rootElement');\n      } else {\n        _emberMetal.set(this, 'rootElement', rootElement);\n      }\n\n      rootElement = _emberViewsSystemJquery.default(rootElement);\n\n      _emberDebug.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      _emberDebug.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      _emberDebug.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      var viewRegistry = this._getViewRegistry();\n\n      for (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 self = this;\n\n      if (eventName === null) {\n        return;\n      }\n\n      rootElement.on(event + '.ember', '.ember-view', function (evt, triggeringManager) {\n        var view = viewRegistry[this.id];\n        var result = true;\n\n        var manager = self.canDispatchToEventManager ? self._findNearestEventManager(view, eventName) : null;\n\n        if (manager && manager !== triggeringManager) {\n          result = self._dispatchEvent(manager, evt, eventName, view);\n        } else if (view) {\n          result = self._bubbleEvent(view, evt, eventName);\n        }\n\n        return result;\n      });\n\n      rootElement.on(event + '.ember', '[data-ember-action]', function (evt) {\n        var attributes = evt.currentTarget.attributes;\n        var handledActions = [];\n\n        for (var i = 0; i < attributes.length; i++) {\n          var attr = attributes.item(i);\n          var attrName = attr.name;\n\n          if (attrName.lastIndexOf('data-ember-action-', 0) !== -1) {\n            var action = _emberViewsSystemAction_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            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 = _emberUtils.getOwner(this);\n      var viewRegistry = owner && owner.lookup('-view-registry:main') || _emberViewsCompatFallbackViewRegistry.default;\n\n      return viewRegistry;\n    },\n\n    _findNearestEventManager: function (view, eventName) {\n      var manager = null;\n\n      while (view) {\n        manager = _emberMetal.get(view, 'eventManager');\n        if (manager && manager[eventName]) {\n          break;\n        }\n\n        view = _emberMetal.get(view, 'parentView');\n      }\n\n      return manager;\n    },\n\n    _dispatchEvent: function (object, evt, eventName, view) {\n      var result = true;\n\n      var handler = object[eventName];\n      if (typeof handler === 'function') {\n        result = _emberMetal.run(object, handler, evt, view);\n        // Do not preventDefault in eventManagers.\n        evt.stopPropagation();\n      } else {\n        result = this._bubbleEvent(view, evt, eventName);\n      }\n\n      return result;\n    },\n\n    _bubbleEvent: function (view, evt, eventName) {\n      return view.handleEvent(eventName, evt);\n    },\n\n    destroy: function () {\n      var rootElement = _emberMetal.get(this, 'rootElement');\n      _emberViewsSystemJquery.default(rootElement).off('.ember', '**').removeClass(ROOT_ELEMENT_CLASS);\n      return this._super.apply(this, arguments);\n    },\n\n    toString: function () {\n      return '(EventDispatcher)';\n    }\n  });\n});\nenifed('ember-views/system/ext', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n  /**\n  @module ember\n  @submodule ember-views\n  */\n\n  'use strict';\n\n  // Add a new named queue for rendering views that happens\n  // after bindings have synced, and a queue for scheduling actions\n  // that should occur after view rendering.\n  _emberMetal.run._addQueue('render', 'actions');\n  _emberMetal.run._addQueue('afterRender', 'render');\n});\nenifed('ember-views/system/jquery', ['exports', 'ember-environment'], function (exports, _emberEnvironment) {\n  'use strict';\n\n  var jQuery = undefined;\n\n  if (_emberEnvironment.environment.hasDOM) {\n    jQuery = _emberEnvironment.context.imports.jQuery;\n\n    if (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    }\n  }\n\n  exports.default = jQuery;\n});\nenifed('ember-views/system/lookup_partial', ['exports', 'ember-debug'], function (exports, _emberDebug) {\n  'use strict';\n\n  exports.default = lookupPartial;\n  exports.hasPartial = hasPartial;\n\n  function parseUnderscoredName(templateName) {\n    var nameParts = templateName.split('/');\n    var lastPart = nameParts[nameParts.length - 1];\n\n    nameParts[nameParts.length - 1] = '_' + lastPart;\n\n    return nameParts.join('/');\n  }\n\n  function lookupPartial(templateName, owner) {\n    if (templateName == null) {\n      return;\n    }\n\n    var template = templateFor(owner, parseUnderscoredName(templateName), templateName);\n\n    _emberDebug.assert('Unable to find partial with name \"' + templateName + '\"', !!template);\n\n    return template;\n  }\n\n  function hasPartial(name, owner) {\n    if (!owner) {\n      throw new _emberDebug.Error('Container was not found when looking up a views template. ' + 'This is most likely due to manually instantiating an Ember.View. ' + 'See: http://git.io/EKPpnA');\n    }\n\n    return owner.hasRegistration('template:' + parseUnderscoredName(name)) || owner.hasRegistration('template:' + name);\n  }\n\n  function templateFor(owner, underscored, name) {\n    if (!name) {\n      return;\n    }\n    _emberDebug.assert('templateNames are not allowed to contain periods: ' + name, name.indexOf('.') === -1);\n\n    if (!owner) {\n      throw new _emberDebug.Error('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});\nenifed('ember-views/system/utils', ['exports', 'ember-utils'], function (exports, _emberUtils) {\n  /* globals Element */\n  'use strict';\n\n  exports.isSimpleClick = isSimpleClick;\n  exports.constructStyleDeprecationMessage = constructStyleDeprecationMessage;\n  exports.getRootViews = getRootViews;\n  exports.getViewId = getViewId;\n  exports.getViewElement = getViewElement;\n  exports.initViewElement = initViewElement;\n  exports.setViewElement = setViewElement;\n  exports.getChildViews = getChildViews;\n  exports.initChildViews = initChildViews;\n  exports.addChildView = addChildView;\n  exports.collectChildViews = collectChildViews;\n  exports.getViewBounds = getViewBounds;\n  exports.getViewRange = getViewRange;\n  exports.getViewClientRects = getViewClientRects;\n  exports.getViewBoundingClientRect = getViewBoundingClientRect;\n  exports.matches = matches;\n\n  /**\n  @module ember\n  @submodule ember-views\n  */\n\n  function isSimpleClick(event) {\n    var modifier = event.shiftKey || event.metaKey || event.altKey || event.ctrlKey;\n    var secondaryClick = event.which > 1; // IE9 may return undefined\n\n    return !modifier && !secondaryClick;\n  }\n\n  function constructStyleDeprecationMessage(affectedStyle) {\n    return '' + 'Binding style attributes may introduce cross-site scripting vulnerabilities; ' + 'please ensure that values being bound are properly escaped. For more information, ' + 'including how to disable this warning, see ' + 'http://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  function getRootViews(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  function getViewId(view) {\n    if (view.tagName === '') {\n      return _emberUtils.guidFor(view);\n    } else {\n      return view.elementId || _emberUtils.guidFor(view);\n    }\n  }\n\n  var VIEW_ELEMENT = _emberUtils.symbol('VIEW_ELEMENT');\n\n  /**\n    @private\n    @method getViewElement\n    @param {Ember.View} view\n   */\n\n  function getViewElement(view) {\n    return view[VIEW_ELEMENT];\n  }\n\n  function initViewElement(view) {\n    view[VIEW_ELEMENT] = null;\n  }\n\n  function setViewElement(view, element) {\n    return view[VIEW_ELEMENT] = element;\n  }\n\n  var CHILD_VIEW_IDS = _emberUtils.symbol('CHILD_VIEW_IDS');\n\n  /**\n    @private\n    @method getChildViews\n    @param {Ember.View} view\n  */\n\n  function getChildViews(view) {\n    var owner = _emberUtils.getOwner(view);\n    var registry = owner.lookup('-view-registry:main');\n    return collectChildViews(view, registry);\n  }\n\n  function initChildViews(view) {\n    view[CHILD_VIEW_IDS] = [];\n  }\n\n  function addChildView(parent, child) {\n    parent[CHILD_VIEW_IDS].push(getViewId(child));\n  }\n\n  function collectChildViews(view, registry) {\n    var ids = [];\n    var views = [];\n\n    view[CHILD_VIEW_IDS].forEach(function (id) {\n      var view = registry[id];\n\n      if (view && !view.isDestroying && !view.isDestroyed && ids.indexOf(id) === -1) {\n        ids.push(id);\n        views.push(view);\n      }\n    });\n\n    view[CHILD_VIEW_IDS] = ids;\n\n    return views;\n  }\n\n  /**\n    @private\n    @method getViewBounds\n    @param {Ember.View} view\n  */\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\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  }\n\n  /**\n    `getViewClientRects` provides information about the position of the border\n    box edges of a view relative to the viewport.\n  \n    It is only intended to be used by development tools like the Ember Inspector\n    and may not work on older browsers.\n  \n    @private\n    @method getViewClientRects\n    @param {Ember.View} view\n  */\n\n  function getViewClientRects(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 Inpsector\n    and may not work on older browsers.\n  \n    @private\n    @method getViewBoundingClientRect\n    @param {Ember.View} view\n  */\n\n  function getViewBoundingClientRect(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  var elMatches = typeof Element !== 'undefined' && (Element.prototype.matches || Element.prototype.matchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector || Element.prototype.oMatchesSelector || Element.prototype.webkitMatchesSelector);\n\n  exports.elMatches = elMatches;\n\n  function matches(el, selector) {\n    return elMatches.call(el, selector);\n  }\n});\nenifed('ember-views/utils/lookup-component', ['exports', 'container'], function (exports, _container) {\n  'use strict';\n\n  exports.default = lookupComponent;\n\n  var _templateObject = babelHelpers.taggedTemplateLiteralLoose(['component:-default'], ['component:-default']);\n\n  function lookupComponentPair(componentLookup, owner, name, options) {\n    var component = componentLookup.componentFor(name, owner, options);\n    var layout = componentLookup.layoutFor(name, owner, options);\n\n    var result = { layout: layout, component: component };\n\n    if (layout && !component) {\n      result.component = owner[_container.FACTORY_FOR](_container.privatize(_templateObject));\n    }\n\n    return result;\n  }\n\n  function lookupComponent(owner, name, options) {\n    var componentLookup = owner.lookup('component-lookup:main');\n\n    var source = options && options.source;\n\n    if (source) {\n      var localResult = lookupComponentPair(componentLookup, owner, name, options);\n\n      if (localResult.component || localResult.layout) {\n        return localResult;\n      }\n    }\n\n    return lookupComponentPair(componentLookup, owner, name);\n  }\n});\nenifed('ember-views/views/core_view', ['exports', 'ember-runtime', 'ember-views/system/utils', 'ember-views/views/states'], function (exports, _emberRuntime, _emberViewsSystemUtils, _emberViewsViewsStates) {\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 `Ember.Component` and other classes that don't need\n    the full functionality of `Ember.Component`.\n  \n    Unless you have specific needs for `CoreView`, you will use `Ember.Component`\n    in your applications.\n  \n    @class CoreView\n    @namespace Ember\n    @extends Ember.Object\n    @deprecated Use `Ember.Component` instead.\n    @uses Ember.Evented\n    @uses Ember.ActionHandler\n    @private\n  */\n  var CoreView = _emberRuntime.FrameworkObject.extend(_emberRuntime.Evented, _emberRuntime.ActionHandler, {\n    isView: true,\n\n    _states: _emberViewsViewsStates.cloneStates(_emberViewsViewsStates.states),\n\n    init: function () {\n      this._super.apply(this, arguments);\n      this._state = 'preRender';\n      this._currentState = this._states.preRender;\n\n      _emberViewsSystemUtils.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\n    /**\n      Override the default event firing from `Ember.Evented` to\n      also call methods with the given name.\n       @method trigger\n      @param name {String}\n      @private\n    */\n    trigger: function () {\n      this._super.apply(this, arguments);\n      var name = arguments[0];\n      var method = this[name];\n      if (method) {\n        var args = new Array(arguments.length - 1);\n        for (var i = 1; i < arguments.length; i++) {\n          args[i - 1] = arguments[i];\n        }\n        return method.apply(this, args);\n      }\n    },\n\n    has: function (name) {\n      return _emberRuntime.typeOf(this[name]) === 'function' || this._super(name);\n    }\n  });\n\n  _emberRuntime.deprecateUnderscoreActions(CoreView);\n\n  CoreView.reopenClass({\n    isViewFactory: true\n  });\n\n  exports.default = CoreView;\n});\nenifed('ember-views/views/states', ['exports', 'ember-utils', 'ember-views/views/states/default', 'ember-views/views/states/pre_render', 'ember-views/views/states/has_element', 'ember-views/views/states/in_dom', 'ember-views/views/states/destroying'], function (exports, _emberUtils, _emberViewsViewsStatesDefault, _emberViewsViewsStatesPre_render, _emberViewsViewsStatesHas_element, _emberViewsViewsStatesIn_dom, _emberViewsViewsStatesDestroying) {\n  'use strict';\n\n  exports.cloneStates = cloneStates;\n\n  function cloneStates(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      _emberUtils.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  var states = {\n    _default: _emberViewsViewsStatesDefault.default,\n    preRender: _emberViewsViewsStatesPre_render.default,\n    inDOM: _emberViewsViewsStatesIn_dom.default,\n    hasElement: _emberViewsViewsStatesHas_element.default,\n    destroying: _emberViewsViewsStatesDestroying.default\n  };\n  exports.states = states;\n});\nenifed('ember-views/views/states/default', ['exports', 'ember-debug'], function (exports, _emberDebug) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-views\n  */\n  exports.default = {\n    // appendChild is only legal while rendering the buffer.\n    appendChild: function () {\n      throw new _emberDebug.EmberError('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\n    rerender: function () {},\n\n    destroy: function () {}\n  };\n});\nenifed('ember-views/views/states/destroying', ['exports', 'ember-utils', 'ember-debug', 'ember-views/views/states/default'], function (exports, _emberUtils, _emberDebug, _emberViewsViewsStatesDefault) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-views\n  */\n\n  var destroying = Object.create(_emberViewsViewsStatesDefault.default);\n\n  _emberUtils.assign(destroying, {\n    appendChild: function () {\n      throw new _emberDebug.Error('You can\\'t call appendChild on a view being destroyed');\n    },\n    rerender: function () {\n      throw new _emberDebug.Error('You can\\'t call rerender on a view being destroyed');\n    }\n  });\n\n  exports.default = destroying;\n});\nenifed('ember-views/views/states/has_element', ['exports', 'ember-utils', 'ember-views/views/states/default', 'ember-metal'], function (exports, _emberUtils, _emberViewsViewsStatesDefault, _emberMetal) {\n  'use strict';\n\n  var hasElement = Object.create(_emberViewsViewsStatesDefault.default);\n\n  _emberUtils.assign(hasElement, {\n\n    rerender: function (view) {\n      view.renderer.rerender(view);\n    },\n\n    destroy: function (view) {\n      view.renderer.remove(view);\n    },\n\n    // Handle events from `Ember.EventDispatcher`\n    handleEvent: function (view, eventName, event) {\n      if (view.has(eventName)) {\n        // Handler should be able to re-dispatch events, so we don't\n        // preventDefault or stopPropagation.\n        return _emberMetal.flaggedInstrument('interaction.' + eventName, { event: event, view: view }, function () {\n          return _emberMetal.run.join(view, view.trigger, eventName, event);\n        });\n      } else {\n        return true; // continue event propagation\n      }\n    }\n  });\n\n  exports.default = hasElement;\n});\nenifed('ember-views/views/states/in_dom', ['exports', 'ember-utils', 'ember-metal', 'ember-debug', 'ember-views/views/states/has_element'], function (exports, _emberUtils, _emberMetal, _emberDebug, _emberViewsViewsStatesHas_element) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-views\n  */\n\n  var inDOM = Object.create(_emberViewsViewsStatesHas_element.default);\n\n  _emberUtils.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      _emberDebug.runInDebug(function () {\n        _emberMetal._addBeforeObserver(view, 'elementId', function () {\n          throw new _emberDebug.Error('Changing a view\\'s elementId after creation is not allowed');\n        });\n      });\n    },\n\n    exit: function (view) {\n      view.renderer.unregister(view);\n    }\n  });\n\n  exports.default = inDOM;\n});\nenifed('ember-views/views/states/pre_render', ['exports', 'ember-views/views/states/default'], function (exports, _emberViewsViewsStatesDefault) {\n  'use strict';\n\n  /**\n  @module ember\n  @submodule ember-views\n  */\n\n  exports.default = Object.create(_emberViewsViewsStatesDefault.default);\n});\nenifed(\"ember-views/views/view\", [\"exports\"], function (exports) {\n  \"use strict\";\n});\n/**\n@module ember\n@submodule ember-views\n*/\n\n/**\n  @class View\n  @namespace Ember\n  @extends Ember.CoreView\n  @deprecated See http://emberjs.com/deprecations/v1.x/#toc_ember-view\n  @uses Ember.ClassNamesSupport\n  @private\n*/\nenifed(\"ember/features\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.default = { \"features-stripped-test\": false, \"ember-libraries-isregistered\": false, \"ember-improved-instrumentation\": false, \"ember-metal-weakmap\": false, \"ember-glimmer-allow-backtracking-rerender\": false, \"ember-testing-resume-test\": true, \"ember-factory-for\": true, \"ember-no-double-extend\": true, \"ember-routing-router-service\": false, \"ember-unique-location-history-state\": true, \"mandatory-setter\": true, \"ember-glimmer-detect-backtracking-rerender\": true };\n});\nenifed('ember/index', ['exports', 'require', 'ember-environment', 'ember-utils', 'container', 'ember-metal', 'ember-debug', 'backburner', 'ember-console', 'ember-runtime', 'ember-glimmer', 'ember/version', 'ember-views', 'ember-routing', 'ember-application', 'ember-extension-support'], function (exports, _require, _emberEnvironment, _emberUtils, _container, _emberMetal, _emberDebug, _backburner, _emberConsole, _emberRuntime, _emberGlimmer, _emberVersion, _emberViews, _emberRouting, _emberApplication, _emberExtensionSupport) {\n  'use strict';\n\n  // ember-utils exports\n  _emberMetal.default.getOwner = _emberUtils.getOwner;\n  _emberMetal.default.setOwner = _emberUtils.setOwner;\n  _emberMetal.default.generateGuid = _emberUtils.generateGuid;\n  _emberMetal.default.GUID_KEY = _emberUtils.GUID_KEY;\n  _emberMetal.default.guidFor = _emberUtils.guidFor;\n  _emberMetal.default.inspect = _emberUtils.inspect;\n  _emberMetal.default.makeArray = _emberUtils.makeArray;\n  _emberMetal.default.canInvoke = _emberUtils.canInvoke;\n  _emberMetal.default.tryInvoke = _emberUtils.tryInvoke;\n  _emberMetal.default.wrap = _emberUtils.wrap;\n  _emberMetal.default.applyStr = _emberUtils.applyStr;\n  _emberMetal.default.uuid = _emberUtils.uuid;\n  _emberMetal.default.assign = Object.assign || _emberUtils.assign;\n\n  // container exports\n  _emberMetal.default.Container = _container.Container;\n  _emberMetal.default.Registry = _container.Registry;\n\n  // need to import this directly, to ensure the babel feature\n  // flag plugin works properly\n\n  var computed = _emberMetal.computed;\n  computed.alias = _emberMetal.alias;\n  _emberMetal.default.computed = computed;\n  _emberMetal.default.ComputedProperty = _emberMetal.ComputedProperty;\n  _emberMetal.default.cacheFor = _emberMetal.cacheFor;\n\n  _emberMetal.default.assert = function () {};\n  _emberMetal.default.warn = function () {};\n  _emberMetal.default.debug = function () {};\n  _emberMetal.default.deprecate = function () {};\n  _emberMetal.default.deprecateFunc = function () {\n    return arguments[arguments.length - 1];\n  };\n  _emberMetal.default.runInDebug = function () {};\n\n  _emberDebug.runInDebug(function () {\n    _emberMetal.default.assert = _emberDebug.assert;\n    _emberMetal.default.warn = _emberDebug.warn;\n    _emberMetal.default.debug = _emberDebug.debug;\n    _emberMetal.default.deprecate = _emberDebug.deprecate;\n    _emberMetal.default.deprecateFunc = _emberDebug.deprecateFunc;\n    _emberMetal.default.runInDebug = _emberDebug.runInDebug;\n  });\n\n  /**\n    @public\n    @class Ember.Debug\n  */\n  _emberMetal.default.Debug = {\n    registerDeprecationHandler: _emberDebug.registerDeprecationHandler,\n    registerWarnHandler: _emberDebug.registerWarnHandler\n  };\n  _emberMetal.default.merge = _emberMetal.merge;\n\n  _emberMetal.default.instrument = _emberMetal.instrument;\n  _emberMetal.default.subscribe = _emberMetal.instrumentationSubscribe;\n  _emberMetal.default.Instrumentation = {\n    instrument: _emberMetal.instrument,\n    subscribe: _emberMetal.instrumentationSubscribe,\n    unsubscribe: _emberMetal.instrumentationUnsubscribe,\n    reset: _emberMetal.instrumentationReset\n  };\n\n  _emberMetal.default.Error = _emberDebug.Error;\n  _emberMetal.default.META_DESC = _emberMetal.META_DESC;\n  _emberMetal.default.meta = _emberMetal.meta;\n  _emberMetal.default.get = _emberMetal.get;\n  _emberMetal.default.getWithDefault = _emberMetal.getWithDefault;\n  _emberMetal.default._getPath = _emberMetal._getPath;\n  _emberMetal.default.set = _emberMetal.set;\n  _emberMetal.default.trySet = _emberMetal.trySet;\n  _emberMetal.default.FEATURES = _emberDebug.FEATURES;\n  _emberMetal.default.FEATURES.isEnabled = _emberDebug.isFeatureEnabled;\n  _emberMetal.default._Cache = _emberMetal.Cache;\n  _emberMetal.default.on = _emberMetal.on;\n  _emberMetal.default.addListener = _emberMetal.addListener;\n  _emberMetal.default.removeListener = _emberMetal.removeListener;\n  _emberMetal.default._suspendListener = _emberMetal.suspendListener;\n  _emberMetal.default._suspendListeners = _emberMetal.suspendListeners;\n  _emberMetal.default.sendEvent = _emberMetal.sendEvent;\n  _emberMetal.default.hasListeners = _emberMetal.hasListeners;\n  _emberMetal.default.watchedEvents = _emberMetal.watchedEvents;\n  _emberMetal.default.listenersFor = _emberMetal.listenersFor;\n  _emberMetal.default.accumulateListeners = _emberMetal.accumulateListeners;\n  _emberMetal.default.isNone = _emberMetal.isNone;\n  _emberMetal.default.isEmpty = _emberMetal.isEmpty;\n  _emberMetal.default.isBlank = _emberMetal.isBlank;\n  _emberMetal.default.isPresent = _emberMetal.isPresent;\n  _emberMetal.default.run = _emberMetal.run;\n  _emberMetal.default._ObserverSet = _emberMetal.ObserverSet;\n  _emberMetal.default.propertyWillChange = _emberMetal.propertyWillChange;\n  _emberMetal.default.propertyDidChange = _emberMetal.propertyDidChange;\n  _emberMetal.default.overrideChains = _emberMetal.overrideChains;\n  _emberMetal.default.beginPropertyChanges = _emberMetal.beginPropertyChanges;\n  _emberMetal.default.endPropertyChanges = _emberMetal.endPropertyChanges;\n  _emberMetal.default.changeProperties = _emberMetal.changeProperties;\n  _emberMetal.default.platform = {\n    defineProperty: true,\n    hasPropertyAccessors: true\n  };\n  _emberMetal.default.defineProperty = _emberMetal.defineProperty;\n  _emberMetal.default.watchKey = _emberMetal.watchKey;\n  _emberMetal.default.unwatchKey = _emberMetal.unwatchKey;\n  _emberMetal.default.removeChainWatcher = _emberMetal.removeChainWatcher;\n  _emberMetal.default._ChainNode = _emberMetal.ChainNode;\n  _emberMetal.default.finishChains = _emberMetal.finishChains;\n  _emberMetal.default.watchPath = _emberMetal.watchPath;\n  _emberMetal.default.unwatchPath = _emberMetal.unwatchPath;\n  _emberMetal.default.watch = _emberMetal.watch;\n  _emberMetal.default.isWatching = _emberMetal.isWatching;\n  _emberMetal.default.unwatch = _emberMetal.unwatch;\n  _emberMetal.default.destroy = _emberMetal.destroy;\n  _emberMetal.default.libraries = _emberMetal.libraries;\n  _emberMetal.default.OrderedSet = _emberMetal.OrderedSet;\n  _emberMetal.default.Map = _emberMetal.Map;\n  _emberMetal.default.MapWithDefault = _emberMetal.MapWithDefault;\n  _emberMetal.default.getProperties = _emberMetal.getProperties;\n  _emberMetal.default.setProperties = _emberMetal.setProperties;\n  _emberMetal.default.expandProperties = _emberMetal.expandProperties;\n  _emberMetal.default.NAME_KEY = _emberUtils.NAME_KEY;\n  _emberMetal.default.addObserver = _emberMetal.addObserver;\n  _emberMetal.default.observersFor = _emberMetal.observersFor;\n  _emberMetal.default.removeObserver = _emberMetal.removeObserver;\n  _emberMetal.default._suspendObserver = _emberMetal._suspendObserver;\n  _emberMetal.default._suspendObservers = _emberMetal._suspendObservers;\n  _emberMetal.default.required = _emberMetal.required;\n  _emberMetal.default.aliasMethod = _emberMetal.aliasMethod;\n  _emberMetal.default.observer = _emberMetal.observer;\n  _emberMetal.default.immediateObserver = _emberMetal._immediateObserver;\n  _emberMetal.default.mixin = _emberMetal.mixin;\n  _emberMetal.default.Mixin = _emberMetal.Mixin;\n  _emberMetal.default.bind = _emberMetal.bind;\n  _emberMetal.default.Binding = _emberMetal.Binding;\n  _emberMetal.default.isGlobalPath = _emberMetal.isGlobalPath;\n\n  if (_emberDebug.isFeatureEnabled('ember-metal-weakmap')) {\n    _emberMetal.default.WeakMap = _emberMetal.WeakMap;\n  }\n\n  Object.defineProperty(_emberMetal.default, 'ENV', {\n    get: function () {\n      return _emberEnvironment.ENV;\n    },\n    enumerable: false\n  });\n\n  /**\n   The context that Ember searches for namespace instances on.\n  \n   @private\n   */\n  Object.defineProperty(_emberMetal.default, 'lookup', {\n    get: function () {\n      return _emberEnvironment.context.lookup;\n    },\n    set: function (value) {\n      _emberEnvironment.context.lookup = value;\n    },\n    enumerable: false\n  });\n\n  _emberMetal.default.EXTEND_PROTOTYPES = _emberEnvironment.ENV.EXTEND_PROTOTYPES;\n\n  // BACKWARDS COMPAT ACCESSORS FOR ENV FLAGS\n  Object.defineProperty(_emberMetal.default, 'LOG_STACKTRACE_ON_DEPRECATION', {\n    get: function () {\n      return _emberEnvironment.ENV.LOG_STACKTRACE_ON_DEPRECATION;\n    },\n    set: function (value) {\n      _emberEnvironment.ENV.LOG_STACKTRACE_ON_DEPRECATION = !!value;\n    },\n    enumerable: false\n  });\n\n  Object.defineProperty(_emberMetal.default, 'LOG_VERSION', {\n    get: function () {\n      return _emberEnvironment.ENV.LOG_VERSION;\n    },\n    set: function (value) {\n      _emberEnvironment.ENV.LOG_VERSION = !!value;\n    },\n    enumerable: false\n  });\n\n  _emberDebug.runInDebug(function () {\n    Object.defineProperty(_emberMetal.default, 'MODEL_FACTORY_INJECTIONS', {\n      get: function () {\n        return false;\n      },\n      set: function (value) {\n        _emberDebug.deprecate('Ember.MODEL_FACTORY_INJECTIONS is no longer required', false, {\n          id: 'ember-metal.model_factory_injections',\n          until: '2.17.0',\n          url: 'http://emberjs.com/deprecations/v2.x#toc_code-ember-model-factory-injections'\n        });\n      },\n      enumerable: false\n    });\n  });\n\n  Object.defineProperty(_emberMetal.default, 'LOG_BINDINGS', {\n    get: function () {\n      return _emberEnvironment.ENV.LOG_BINDINGS;\n    },\n    set: function (value) {\n      _emberEnvironment.ENV.LOG_BINDINGS = !!value;\n    },\n    enumerable: false\n  });\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    Ember.onerror = function(error) {\n      Em.$.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(_emberMetal.default, 'onerror', {\n    get: _emberMetal.getOnerror,\n    set: _emberMetal.setOnerror,\n    enumerable: false\n  });\n\n  /**\n    An empty function useful for some operations. Always returns `this`.\n  \n    @method K\n    @return {Object}\n    @public\n  */\n  function deprecatedEmberK() {\n    return this;\n  }\n\n  Object.defineProperty(_emberMetal.default, 'K', {\n    get: function () {\n      _emberDebug.deprecate('Ember.K is deprecated in favor of defining a function inline.', false, {\n        id: 'ember-metal.ember-k',\n        until: '3.0.0',\n        url: 'http://emberjs.com/deprecations/v2.x#toc_code-ember-k-code'\n      });\n\n      return deprecatedEmberK;\n    }\n  });\n\n  Object.defineProperty(_emberMetal.default, 'testing', {\n    get: _emberDebug.isTesting,\n    set: _emberDebug.setTesting,\n    enumerable: false\n  });\n\n  /**\n   @class Backburner\n   @for Ember\n   @private\n   */\n  _emberMetal.default.Backburner = function () {\n    _emberDebug.deprecate('Usage of Ember.Backburner is deprecated.', false, {\n      id: 'ember-metal.ember-backburner',\n      until: '2.8.0',\n      url: 'http://emberjs.com/deprecations/v2.x/#toc_ember-backburner'\n    });\n\n    function BackburnerAlias(args) {\n      return _backburner.default.apply(this, args);\n    }\n\n    BackburnerAlias.prototype = _backburner.default.prototype;\n\n    return new BackburnerAlias(arguments);\n  };\n\n  _emberMetal.default._Backburner = _backburner.default;\n\n  _emberMetal.default.Logger = _emberConsole.default;\n\n  // ****ember-runtime****\n\n  _emberMetal.default.String = _emberRuntime.String;\n  _emberMetal.default.Object = _emberRuntime.Object;\n  _emberMetal.default._RegistryProxyMixin = _emberRuntime.RegistryProxyMixin;\n  _emberMetal.default._ContainerProxyMixin = _emberRuntime.ContainerProxyMixin;\n  _emberMetal.default.compare = _emberRuntime.compare;\n  _emberMetal.default.copy = _emberRuntime.copy;\n  _emberMetal.default.isEqual = _emberRuntime.isEqual;\n  _emberMetal.default.inject = _emberRuntime.inject;\n  _emberMetal.default.Array = _emberRuntime.Array;\n  _emberMetal.default.Comparable = _emberRuntime.Comparable;\n  _emberMetal.default.Enumerable = _emberRuntime.Enumerable;\n  _emberMetal.default.ArrayProxy = _emberRuntime.ArrayProxy;\n  _emberMetal.default.ObjectProxy = _emberRuntime.ObjectProxy;\n  _emberMetal.default.ActionHandler = _emberRuntime.ActionHandler;\n  _emberMetal.default.CoreObject = _emberRuntime.CoreObject;\n  _emberMetal.default.NativeArray = _emberRuntime.NativeArray;\n  _emberMetal.default.Copyable = _emberRuntime.Copyable;\n  _emberMetal.default.Freezable = _emberRuntime.Freezable;\n  _emberMetal.default.FROZEN_ERROR = _emberRuntime.FROZEN_ERROR;\n  _emberMetal.default.MutableEnumerable = _emberRuntime.MutableEnumerable;\n  _emberMetal.default.MutableArray = _emberRuntime.MutableArray;\n  _emberMetal.default.TargetActionSupport = _emberRuntime.TargetActionSupport;\n  _emberMetal.default.Evented = _emberRuntime.Evented;\n  _emberMetal.default.PromiseProxyMixin = _emberRuntime.PromiseProxyMixin;\n  _emberMetal.default.Observable = _emberRuntime.Observable;\n  _emberMetal.default.typeOf = _emberRuntime.typeOf;\n  _emberMetal.default.isArray = _emberRuntime.isArray;\n  _emberMetal.default.Object = _emberRuntime.Object;\n  _emberMetal.default.onLoad = _emberRuntime.onLoad;\n  _emberMetal.default.runLoadHooks = _emberRuntime.runLoadHooks;\n  _emberMetal.default.Controller = _emberRuntime.Controller;\n  _emberMetal.default.ControllerMixin = _emberRuntime.ControllerMixin;\n  _emberMetal.default.Service = _emberRuntime.Service;\n  _emberMetal.default._ProxyMixin = _emberRuntime._ProxyMixin;\n  _emberMetal.default.RSVP = _emberRuntime.RSVP;\n  _emberMetal.default.Namespace = _emberRuntime.Namespace;\n\n  // ES6TODO: this seems a less than ideal way/place to add properties to Ember.computed\n  computed.empty = _emberRuntime.empty;\n  computed.notEmpty = _emberRuntime.notEmpty;\n  computed.none = _emberRuntime.none;\n  computed.not = _emberRuntime.not;\n  computed.bool = _emberRuntime.bool;\n  computed.match = _emberRuntime.match;\n  computed.equal = _emberRuntime.equal;\n  computed.gt = _emberRuntime.gt;\n  computed.gte = _emberRuntime.gte;\n  computed.lt = _emberRuntime.lt;\n  computed.lte = _emberRuntime.lte;\n  computed.oneWay = _emberRuntime.oneWay;\n  computed.reads = _emberRuntime.oneWay;\n  computed.readOnly = _emberRuntime.readOnly;\n  computed.deprecatingAlias = _emberRuntime.deprecatingAlias;\n  computed.and = _emberRuntime.and;\n  computed.or = _emberRuntime.or;\n  computed.any = _emberRuntime.any;\n\n  computed.sum = _emberRuntime.sum;\n  computed.min = _emberRuntime.min;\n  computed.max = _emberRuntime.max;\n  computed.map = _emberRuntime.map;\n  computed.sort = _emberRuntime.sort;\n  computed.setDiff = _emberRuntime.setDiff;\n  computed.mapBy = _emberRuntime.mapBy;\n  computed.filter = _emberRuntime.filter;\n  computed.filterBy = _emberRuntime.filterBy;\n  computed.uniq = _emberRuntime.uniq;\n\n  computed.uniqBy = _emberRuntime.uniqBy;\n  computed.union = _emberRuntime.union;\n  computed.intersect = _emberRuntime.intersect;\n  computed.collect = _emberRuntime.collect;\n\n  /**\n   Defines the hash of localized strings for the current language. Used by\n   the `Ember.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(_emberMetal.default, 'STRINGS', {\n    configurable: false,\n    get: _emberRuntime.getStrings,\n    set: _emberRuntime.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(_emberMetal.default, 'BOOTED', {\n    configurable: false,\n    enumerable: false,\n    get: _emberRuntime.isNamespaceSearchDisabled,\n    set: _emberRuntime.setNamespaceSearchDisabled\n  });\n\n  _emberMetal.default.Component = _emberGlimmer.Component;\n  _emberGlimmer.Helper.helper = _emberGlimmer.helper;\n  _emberMetal.default.Helper = _emberGlimmer.Helper;\n  _emberMetal.default.Checkbox = _emberGlimmer.Checkbox;\n  _emberMetal.default.TextField = _emberGlimmer.TextField;\n  _emberMetal.default.TextArea = _emberGlimmer.TextArea;\n  _emberMetal.default.LinkComponent = _emberGlimmer.LinkComponent;\n\n  if (_emberEnvironment.ENV.EXTEND_PROTOTYPES.String) {\n    String.prototype.htmlSafe = function () {\n      return _emberGlimmer.htmlSafe(this);\n    };\n  }\n\n  var EmberHandlebars = _emberMetal.default.Handlebars = _emberMetal.default.Handlebars || {};\n  var EmberHTMLBars = _emberMetal.default.HTMLBars = _emberMetal.default.HTMLBars || {};\n  var EmberHandleBarsUtils = EmberHandlebars.Utils = EmberHandlebars.Utils || {};\n\n  Object.defineProperty(EmberHandlebars, 'SafeString', {\n    get: _emberGlimmer._getSafeString\n  });\n\n  EmberHTMLBars.template = EmberHandlebars.template = _emberGlimmer.template;\n  EmberHandleBarsUtils.escapeExpression = _emberGlimmer.escapeExpression;\n  _emberRuntime.String.htmlSafe = _emberGlimmer.htmlSafe;\n\n  _emberRuntime.String.isHTMLSafe = _emberGlimmer.isHTMLSafe;\n  EmberHTMLBars.makeBoundHelper = _emberGlimmer.makeBoundHelper;\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(_emberMetal.default, 'TEMPLATES', {\n    get: _emberGlimmer.getTemplates,\n    set: _emberGlimmer.setTemplates,\n    configurable: false,\n    enumerable: false\n  });\n\n  exports.VERSION = _emberVersion.default;\n\n  /**\n   The semantic version\n   @property VERSION\n   @type String\n   @public\n   */\n  _emberMetal.default.VERSION = _emberVersion.default;\n\n  _emberMetal.libraries.registerCoreLibrary('Ember', _emberVersion.default);\n\n  _emberMetal.default.create = _emberDebug.deprecateFunc('Ember.create is deprecated in favor of Object.create', { id: 'ember-metal.ember-create', until: '3.0.0' }, Object.create);\n  _emberMetal.default.keys = _emberDebug.deprecateFunc('Ember.keys is deprecated in favor of Object.keys', { id: 'ember-metal.ember.keys', until: '3.0.0' }, Object.keys);\n\n  // require the main entry points for each of these packages\n  // this is so that the global exports occur properly\n\n  /**\n   Alias for jQuery\n  \n   @method $\n   @for Ember\n   @public\n   */\n  _emberMetal.default.$ = _emberViews.jQuery;\n\n  _emberMetal.default.ViewTargetActionSupport = _emberViews.ViewTargetActionSupport;\n\n  _emberMetal.default.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  };\n\n  _emberMetal.default.TextSupport = _emberViews.TextSupport;\n  _emberMetal.default.ComponentLookup = _emberViews.ComponentLookup;\n  _emberMetal.default.EventDispatcher = _emberViews.EventDispatcher;\n\n  _emberMetal.default.Location = _emberRouting.Location;\n  _emberMetal.default.AutoLocation = _emberRouting.AutoLocation;\n  _emberMetal.default.HashLocation = _emberRouting.HashLocation;\n  _emberMetal.default.HistoryLocation = _emberRouting.HistoryLocation;\n  _emberMetal.default.NoneLocation = _emberRouting.NoneLocation;\n  _emberMetal.default.controllerFor = _emberRouting.controllerFor;\n  _emberMetal.default.generateControllerFactory = _emberRouting.generateControllerFactory;\n  _emberMetal.default.generateController = _emberRouting.generateController;\n  _emberMetal.default.RouterDSL = _emberRouting.RouterDSL;\n  _emberMetal.default.Router = _emberRouting.Router;\n  _emberMetal.default.Route = _emberRouting.Route;\n\n  _emberMetal.default.Application = _emberApplication.Application;\n  _emberMetal.default.ApplicationInstance = _emberApplication.ApplicationInstance;\n  _emberMetal.default.Engine = _emberApplication.Engine;\n  _emberMetal.default.EngineInstance = _emberApplication.EngineInstance;\n  _emberMetal.default.DefaultResolver = _emberMetal.default.Resolver = _emberApplication.Resolver;\n\n  _emberRuntime.runLoadHooks('Ember.Application', _emberApplication.Application);\n\n  _emberMetal.default.DataAdapter = _emberExtensionSupport.DataAdapter;\n  _emberMetal.default.ContainerDebugAdapter = _emberExtensionSupport.ContainerDebugAdapter;\n\n  if (_require.has('ember-template-compiler')) {\n    _require.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 (_require.has('ember-testing')) {\n    var testing = _require.default('ember-testing');\n\n    _emberMetal.default.Test = testing.Test;\n    _emberMetal.default.Test.Adapter = testing.Adapter;\n    _emberMetal.default.Test.QUnitAdapter = testing.QUnitAdapter;\n    _emberMetal.default.setupForTesting = testing.setupForTesting;\n  }\n\n  _emberRuntime.runLoadHooks('Ember');\n\n  /**\n  @module ember\n  */\n  exports.default = _emberMetal.default;\n\n  /* globals module */\n  if (typeof module === 'object' && module.exports) {\n    module.exports = _emberMetal.default;\n  } else {\n    _emberEnvironment.context.exports.Ember = _emberEnvironment.context.exports.Em = _emberMetal.default;\n  }\n});\n\n// ****ember-environment****\n\n// ****ember-metal****\n\n// computed macros\n\n// reduced computed macros\nenifed(\"ember/version\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.default = \"2.13.4\";\n});\nenifed('internal-test-helpers/apply-mixins', ['exports', 'ember-utils'], function (exports, _emberUtils) {\n  'use strict';\n\n  exports.default = applyMixins;\n\n  function isGenerator(mixin) {\n    return Array.isArray(mixin.cases) && typeof mixin.generate === 'function';\n  }\n\n  function applyMixins(TestClass) {\n    for (var _len = arguments.length, mixins = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n      mixins[_key - 1] = arguments[_key];\n    }\n\n    mixins.forEach(function (mixinOrGenerator) {\n      var mixin = undefined;\n\n      if (isGenerator(mixinOrGenerator)) {\n        (function () {\n          var generator = mixinOrGenerator;\n          mixin = {};\n\n          generator.cases.forEach(function (value, idx) {\n            _emberUtils.assign(mixin, generator.generate(value, idx));\n          });\n        })();\n      } else {\n        mixin = mixinOrGenerator;\n      }\n\n      _emberUtils.assign(TestClass.prototype, mixin);\n    });\n\n    return TestClass;\n  }\n});\nenifed('internal-test-helpers/build-owner', ['exports', 'container', 'ember-routing', 'ember-application', 'ember-debug', 'ember-runtime'], function (exports, _container, _emberRouting, _emberApplication, _emberDebug, _emberRuntime) {\n  'use strict';\n\n  exports.default = buildOwner;\n\n  function buildOwner() {\n    var _EmberObject$extend;\n\n    var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\n    var ownerOptions = options.ownerOptions || {};\n    var resolver = options.resolver;\n    var bootOptions = options.bootOptions || {};\n\n    var Owner = _emberRuntime.Object.extend(_emberRuntime.RegistryProxyMixin, _emberRuntime.ContainerProxyMixin, (_EmberObject$extend = {}, _EmberObject$extend[_container.FACTORY_FOR] = function () {\n      var _container__;\n\n      return (_container__ = this.__container__)[_container.FACTORY_FOR].apply(_container__, arguments);\n    }, _EmberObject$extend[_container.LOOKUP_FACTORY] = function () {\n      var _container__2;\n\n      return (_container__2 = this.__container__)[_container.LOOKUP_FACTORY].apply(_container__2, arguments);\n    }, _EmberObject$extend));\n\n    if (true) {\n      Owner.reopen({\n        factoryFor: function () {\n          var _container__3;\n\n          return (_container__3 = this.__container__).factoryFor.apply(_container__3, arguments);\n        }\n      });\n    }\n\n    var namespace = _emberRuntime.Object.create({\n      Resolver: { create: function () {\n          return resolver;\n        } }\n    });\n\n    var fallbackRegistry = _emberApplication.Application.buildRegistry(namespace);\n    fallbackRegistry.register('router:main', _emberRouting.Router);\n\n    var registry = new _container.Registry({\n      fallback: fallbackRegistry\n    });\n\n    _emberApplication.ApplicationInstance.setupRegistry(registry, bootOptions);\n\n    var owner = Owner.create({\n      __registry__: registry,\n      __container__: null\n    }, ownerOptions);\n\n    var container = registry.container({ owner: owner });\n    owner.__container__ = container;\n\n    return owner;\n  }\n});\nenifed('internal-test-helpers/confirm-export', ['exports', 'require'], function (exports, _require) {\n  'use strict';\n\n  exports.default = confirmExport;\n\n  function getDescriptor(obj, path) {\n    var parts = path.split('.');\n    var value = obj;\n    for (var i = 0; i < parts.length - 1; i++) {\n      var part = parts[i];\n      value = value[part];\n      if (!value) {\n        return undefined;\n      }\n    }\n    var last = parts[parts.length - 1];\n    return Object.getOwnPropertyDescriptor(value, last);\n  }\n\n  function confirmExport(Ember, assert, path, moduleId, exportName) {\n    var desc = getDescriptor(Ember, path);\n    assert.ok(desc, 'the property exists on the global');\n\n    var mod = _require.default(moduleId);\n    if (typeof exportName === 'string') {\n      assert.equal(desc.value, mod[exportName], 'Ember.' + path + ' is exported correctly');\n      assert.notEqual(mod[exportName], undefined, 'Ember.' + path + ' is not `undefined`');\n    } else {\n      assert.equal(desc.get, mod[exportName.get], 'Ember.' + path + ' getter is exported correctly');\n      assert.notEqual(desc.get, undefined, 'Ember.' + path + ' getter is not undefined');\n\n      if (exportName.set) {\n        assert.equal(desc.set, mod[exportName.set], 'Ember.' + path + ' setter is exported correctly');\n        assert.notEqual(desc.set, undefined, 'Ember.' + path + ' setter is not undefined');\n      }\n    }\n  }\n});\nenifed('internal-test-helpers/equal-inner-html', ['exports'], function (exports) {\n  // detect side-effects of cloning svg elements in IE9-11\n  'use strict';\n\n  exports.default = equalInnerHTML;\n  var ieSVGInnerHTML = (function () {\n    if (!document.createElementNS) {\n      return false;\n    }\n    var div = document.createElement('div');\n    var node = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n    div.appendChild(node);\n    var clone = div.cloneNode(true);\n    return clone.innerHTML === '<svg xmlns=\"http://www.w3.org/2000/svg\" />';\n  })();\n\n  function normalizeInnerHTML(actualHTML) {\n    if (ieSVGInnerHTML) {\n      // Replace `<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"50%\" />` with `<svg height=\"50%\"></svg>`, etc.\n      // drop namespace attribute\n      actualHTML = actualHTML.replace(/ xmlns=\"[^\"]+\"/, '');\n      // replace self-closing elements\n      actualHTML = actualHTML.replace(/<([^ >]+) [^\\/>]*\\/>/gi, function (tag, tagName) {\n        return tag.slice(0, tag.length - 3) + '></' + tagName + '>';\n      });\n    }\n\n    return actualHTML;\n  }\n\n  function equalInnerHTML(fragment, html) {\n    var actualHTML = normalizeInnerHTML(fragment.innerHTML);\n    QUnit.push(actualHTML === html, actualHTML, html);\n  }\n});\nenifed('internal-test-helpers/equal-tokens', ['exports', 'simple-html-tokenizer'], function (exports, _simpleHtmlTokenizer) {\n  'use strict';\n\n  exports.default = equalTokens;\n\n  function generateTokens(containerOrHTML) {\n    if (typeof containerOrHTML === 'string') {\n      return {\n        tokens: _simpleHtmlTokenizer.tokenize(containerOrHTML),\n        html: containerOrHTML\n      };\n    } else {\n      return {\n        tokens: _simpleHtmlTokenizer.tokenize(containerOrHTML.innerHTML),\n        html: containerOrHTML.innerHTML\n      };\n    }\n  }\n\n  function normalizeTokens(tokens) {\n    tokens.forEach(function (token) {\n      if (token.type === 'StartTag') {\n        token.attributes = token.attributes.sort(function (a, b) {\n          if (a[0] > b[0]) {\n            return 1;\n          }\n          if (a[0] < b[0]) {\n            return -1;\n          }\n          return 0;\n        });\n      }\n    });\n  }\n\n  function equalTokens(actualContainer, expectedHTML) {\n    var message = arguments.length <= 2 || arguments[2] === undefined ? null : arguments[2];\n\n    var actual = generateTokens(actualContainer);\n    var expected = generateTokens(expectedHTML);\n\n    normalizeTokens(actual.tokens);\n    normalizeTokens(expected.tokens);\n\n    var equiv = QUnit.equiv(actual.tokens, expected.tokens);\n\n    if (equiv && expected.html !== actual.html) {\n      deepEqual(actual.tokens, expected.tokens, message);\n    } else {\n      QUnit.push(QUnit.equiv(actual.tokens, expected.tokens), actual.html, expected.html, message);\n    }\n  }\n});\nenifed('internal-test-helpers/factory', ['exports'], function (exports) {\n  'use strict';\n\n  exports.default = factory;\n  function setProperties(object, properties) {\n    for (var key in properties) {\n      if (properties.hasOwnProperty(key)) {\n        object[key] = properties[key];\n      }\n    }\n  }\n\n  var guids = 0;\n\n  function factory() {\n    /*jshint validthis: true */\n\n    function Klass(options) {\n      setProperties(this, options);\n      this._guid = guids++;\n      this.isDestroyed = false;\n    }\n\n    Klass.prototype.constructor = Klass;\n    Klass.prototype.destroy = function () {\n      this.isDestroyed = true;\n    };\n\n    Klass.prototype.toString = function () {\n      return '<Factory:' + this._guid + '>';\n    };\n\n    Klass.create = create;\n    Klass.extend = extend;\n    Klass.reopen = extend;\n    Klass.reopenClass = reopenClass;\n\n    return Klass;\n\n    function create(options) {\n      return new this.prototype.constructor(options);\n    }\n\n    function reopenClass(options) {\n      setProperties(this, options);\n    }\n\n    function extend(options) {\n      function Child(options) {\n        Klass.call(this, options);\n      }\n\n      var Parent = this;\n\n      Child.prototype = new Parent();\n      Child.prototype.constructor = Child;\n\n      setProperties(Child, Klass);\n      setProperties(Child.prototype, options);\n\n      Child.create = create;\n      Child.extend = extend;\n      Child.reopen = extend;\n\n      Child.reopenClass = reopenClass;\n\n      return Child;\n    }\n  }\n});\nenifed('internal-test-helpers/index', ['exports', 'internal-test-helpers/factory', 'internal-test-helpers/build-owner', 'internal-test-helpers/confirm-export', 'internal-test-helpers/equal-inner-html', 'internal-test-helpers/equal-tokens', 'internal-test-helpers/module-for', 'internal-test-helpers/strip', 'internal-test-helpers/apply-mixins', 'internal-test-helpers/matchers', 'internal-test-helpers/run', 'internal-test-helpers/test-groups', 'internal-test-helpers/test-cases/abstract', 'internal-test-helpers/test-cases/abstract-application', 'internal-test-helpers/test-cases/application', 'internal-test-helpers/test-cases/query-param', 'internal-test-helpers/test-cases/abstract-rendering', 'internal-test-helpers/test-cases/rendering', 'internal-test-helpers/test-cases/router'], function (exports, _internalTestHelpersFactory, _internalTestHelpersBuildOwner, _internalTestHelpersConfirmExport, _internalTestHelpersEqualInnerHtml, _internalTestHelpersEqualTokens, _internalTestHelpersModuleFor, _internalTestHelpersStrip, _internalTestHelpersApplyMixins, _internalTestHelpersMatchers, _internalTestHelpersRun, _internalTestHelpersTestGroups, _internalTestHelpersTestCasesAbstract, _internalTestHelpersTestCasesAbstractApplication, _internalTestHelpersTestCasesApplication, _internalTestHelpersTestCasesQueryParam, _internalTestHelpersTestCasesAbstractRendering, _internalTestHelpersTestCasesRendering, _internalTestHelpersTestCasesRouter) {\n  'use strict';\n\n  exports.factory = _internalTestHelpersFactory.default;\n  exports.buildOwner = _internalTestHelpersBuildOwner.default;\n  exports.confirmExport = _internalTestHelpersConfirmExport.default;\n  exports.equalInnerHTML = _internalTestHelpersEqualInnerHtml.default;\n  exports.equalTokens = _internalTestHelpersEqualTokens.default;\n  exports.moduleFor = _internalTestHelpersModuleFor.default;\n  exports.strip = _internalTestHelpersStrip.default;\n  exports.applyMixins = _internalTestHelpersApplyMixins.default;\n  exports.equalsElement = _internalTestHelpersMatchers.equalsElement;\n  exports.classes = _internalTestHelpersMatchers.classes;\n  exports.styles = _internalTestHelpersMatchers.styles;\n  exports.regex = _internalTestHelpersMatchers.regex;\n  exports.runAppend = _internalTestHelpersRun.runAppend;\n  exports.runDestroy = _internalTestHelpersRun.runDestroy;\n  exports.testBoth = _internalTestHelpersTestGroups.testBoth;\n  exports.testWithDefault = _internalTestHelpersTestGroups.testWithDefault;\n  exports.AbstractTestCase = _internalTestHelpersTestCasesAbstract.default;\n  exports.AbstractApplicationTestCase = _internalTestHelpersTestCasesAbstractApplication.default;\n  exports.ApplicationTestCase = _internalTestHelpersTestCasesApplication.default;\n  exports.QueryParamTestCase = _internalTestHelpersTestCasesQueryParam.default;\n  exports.AbstractRenderingTestCase = _internalTestHelpersTestCasesAbstractRendering.default;\n  exports.RenderingTestCase = _internalTestHelpersTestCasesRendering.default;\n  exports.RouterTestCase = _internalTestHelpersTestCasesRouter.default;\n});\nenifed('internal-test-helpers/matchers', ['exports'], function (exports) {\n  'use strict';\n\n  exports.regex = regex;\n  exports.classes = classes;\n  exports.styles = styles;\n  exports.equalsElement = equalsElement;\n  var HTMLElement = window.HTMLElement;\n  var MATCHER_BRAND = '3d4ef194-13be-4ccf-8dc7-862eea02c93e';\n\n  function isMatcher(obj) {\n    return typeof obj === 'object' && obj !== null && MATCHER_BRAND in obj;\n  }\n\n  function equalsAttr(expected) {\n    var _ref;\n\n    return _ref = {}, _ref[MATCHER_BRAND] = true, _ref.match = function (actual) {\n      return expected === actual;\n    }, _ref.expected = function () {\n      return expected;\n    }, _ref.message = function () {\n      return 'should equal ' + this.expected();\n    }, _ref;\n  }\n\n  function regex(r) {\n    var _ref2;\n\n    return _ref2 = {}, _ref2[MATCHER_BRAND] = true, _ref2.match = function (v) {\n      return r.test(v);\n    }, _ref2.expected = function () {\n      return r.toString();\n    }, _ref2.message = function () {\n      return 'should match ' + this.expected();\n    }, _ref2;\n  }\n\n  function classes(expected) {\n    var _ref3;\n\n    return _ref3 = {}, _ref3[MATCHER_BRAND] = true, _ref3.match = function (actual) {\n      actual = actual.trim();\n      return actual && expected.split(/\\s+/).sort().join(' ') === actual.trim().split(/\\s+/).sort().join(' ');\n    }, _ref3.expected = function () {\n      return expected;\n    }, _ref3.message = function () {\n      return 'should match ' + this.expected();\n    }, _ref3;\n  }\n\n  function styles(expected) {\n    var _ref4;\n\n    return _ref4 = {}, _ref4[MATCHER_BRAND] = true, _ref4.match = function (actual) {\n      // coerce `null` or `undefined` to an empty string\n      // needed for matching empty styles on IE9 - IE11\n      actual = actual || '';\n      actual = actual.trim();\n\n      return expected.split(';').map(function (s) {\n        return s.trim();\n      }).filter(function (s) {\n        return s;\n      }).sort().join('; ') === actual.split(';').map(function (s) {\n        return s.trim();\n      }).filter(function (s) {\n        return s;\n      }).sort().join('; ');\n    }, _ref4.expected = function () {\n      return expected;\n    }, _ref4.message = function () {\n      return 'should match ' + this.expected();\n    }, _ref4;\n  }\n\n  function equalsElement(element, tagName, attributes, content) {\n    QUnit.push(element.tagName === tagName.toUpperCase(), element.tagName.toLowerCase(), tagName, 'expect tagName to be ' + tagName);\n\n    var expectedAttrs = {};\n    var expectedCount = 0;\n\n    for (var _name in attributes) {\n      var expected = attributes[_name];\n      if (expected !== null) {\n        expectedCount++;\n      }\n\n      var matcher = isMatcher(expected) ? expected : equalsAttr(expected);\n\n      expectedAttrs[_name] = matcher;\n\n      QUnit.push(expectedAttrs[_name].match(element.getAttribute(_name)), element.getAttribute(_name), matcher.expected(), 'Element\\'s ' + _name + ' attribute ' + matcher.message());\n    }\n\n    var actualAttributes = {};\n\n    for (var i = 0, l = element.attributes.length; i < l; i++) {\n      actualAttributes[element.attributes[i].name] = element.attributes[i].value;\n    }\n\n    if (!(element instanceof HTMLElement)) {\n      QUnit.push(element instanceof HTMLElement, null, null, 'Element must be an HTML Element, not an SVG Element');\n    } else {\n      QUnit.push(element.attributes.length === expectedCount || !attributes, element.attributes.length, expectedCount, 'Expected ' + expectedCount + ' attributes; got ' + element.outerHTML);\n\n      if (content !== null) {\n        QUnit.push(element.innerHTML === content, element.innerHTML, content, 'The element had \\'' + content + '\\' as its content');\n      }\n    }\n  }\n});\nenifed('internal-test-helpers/module-for', ['exports', 'internal-test-helpers/apply-mixins'], function (exports, _internalTestHelpersApplyMixins) {\n  'use strict';\n\n  exports.default = moduleFor;\n\n  function moduleFor(description, TestClass) {\n    var context = undefined;\n\n    QUnit.module(description, {\n      setup: function () {\n        context = new TestClass();\n      },\n\n      teardown: function () {\n        context.teardown();\n      }\n    });\n\n    for (var _len = arguments.length, mixins = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n      mixins[_key - 2] = arguments[_key];\n    }\n\n    _internalTestHelpersApplyMixins.default(TestClass, mixins);\n\n    var proto = TestClass.prototype;\n\n    while (proto !== Object.prototype) {\n      Object.keys(proto).forEach(generateTest);\n      proto = Object.getPrototypeOf(proto);\n    }\n\n    function generateTest(name) {\n      if (name.indexOf('@test ') === 0) {\n        QUnit.test(name.slice(5), function (assert) {\n          return context[name](assert);\n        });\n      } else if (name.indexOf('@skip ') === 0) {\n        QUnit.skip(name.slice(5), function (assert) {\n          return context[name](assert);\n        });\n      }\n    }\n  }\n});\nenifed('internal-test-helpers/run', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n  'use strict';\n\n  exports.runAppend = runAppend;\n  exports.runDestroy = runDestroy;\n\n  function runAppend(view) {\n    _emberMetal.run(view, 'appendTo', '#qunit-fixture');\n  }\n\n  function runDestroy(toDestroy) {\n    if (toDestroy) {\n      _emberMetal.run(toDestroy, 'destroy');\n    }\n  }\n});\nenifed('internal-test-helpers/strip', ['exports'], function (exports) {\n  'use strict';\n\n  exports.default = strip;\n\n  function strip(_ref) {\n    for (var _len = arguments.length, values = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n      values[_key - 1] = arguments[_key];\n    }\n\n    var strings = _ref;\n\n    var str = strings.map(function (string, index) {\n      var interpolated = values[index];\n      return string + (interpolated !== undefined ? interpolated : '');\n    }).join('');\n    return str.split('\\n').map(function (s) {\n      return s.trim();\n    }).join('');\n  }\n});\nenifed('internal-test-helpers/test-cases/abstract-application', ['exports', 'ember-metal', 'ember-views', 'ember-application', 'ember-routing', 'ember-template-compiler', 'internal-test-helpers/test-cases/abstract', 'internal-test-helpers/run'], function (exports, _emberMetal, _emberViews, _emberApplication, _emberRouting, _emberTemplateCompiler, _internalTestHelpersTestCasesAbstract, _internalTestHelpersRun) {\n  'use strict';\n\n  var AbstractApplicationTestCase = (function (_AbstractTestCase) {\n    babelHelpers.inherits(AbstractApplicationTestCase, _AbstractTestCase);\n\n    function AbstractApplicationTestCase() {\n      babelHelpers.classCallCheck(this, AbstractApplicationTestCase);\n\n      _AbstractTestCase.call(this);\n\n      this.element = _emberViews.jQuery('#qunit-fixture')[0];\n\n      this.application = _emberMetal.run(_emberApplication.Application, 'create', this.applicationOptions);\n\n      this.router = this.application.Router = _emberRouting.Router.extend(this.routerOptions);\n\n      this.applicationInstance = null;\n    }\n\n    AbstractApplicationTestCase.prototype.teardown = function teardown() {\n      if (this.applicationInstance) {\n        _internalTestHelpersRun.runDestroy(this.applicationInstance);\n      }\n\n      _internalTestHelpersRun.runDestroy(this.application);\n    };\n\n    AbstractApplicationTestCase.prototype.visit = function visit(url, options) {\n      var _this = this;\n\n      var applicationInstance = this.applicationInstance;\n\n      if (applicationInstance) {\n        return _emberMetal.run(applicationInstance, 'visit', url, options);\n      } else {\n        return _emberMetal.run(this.application, 'visit', url, options).then(function (instance) {\n          _this.applicationInstance = instance;\n        });\n      }\n    };\n\n    AbstractApplicationTestCase.prototype.transitionTo = function transitionTo() {\n      return _emberMetal.run.apply(undefined, [this.appRouter, 'transitionTo'].concat(babelHelpers.slice.call(arguments)));\n    };\n\n    AbstractApplicationTestCase.prototype.compile = function compile(string, options) {\n      return _emberTemplateCompiler.compile.apply(undefined, arguments);\n    };\n\n    AbstractApplicationTestCase.prototype.registerRoute = function registerRoute(name, route) {\n      this.application.register('route:' + name, route);\n    };\n\n    AbstractApplicationTestCase.prototype.registerTemplate = function registerTemplate(name, template) {\n      this.application.register('template:' + name, this.compile(template, {\n        moduleName: name\n      }));\n    };\n\n    AbstractApplicationTestCase.prototype.registerComponent = function registerComponent(name, _ref) {\n      var _ref$ComponentClass = _ref.ComponentClass;\n      var ComponentClass = _ref$ComponentClass === undefined ? null : _ref$ComponentClass;\n      var _ref$template = _ref.template;\n      var template = _ref$template === undefined ? null : _ref$template;\n\n      if (ComponentClass) {\n        this.application.register('component:' + name, ComponentClass);\n      }\n\n      if (typeof template === 'string') {\n        this.application.register('template:components/' + name, this.compile(template, {\n          moduleName: 'components/' + name\n        }));\n      }\n    };\n\n    AbstractApplicationTestCase.prototype.registerController = function registerController(name, controller) {\n      this.application.register('controller:' + name, controller);\n    };\n\n    AbstractApplicationTestCase.prototype.registerEngine = function registerEngine(name, engine) {\n      this.application.register('engine:' + name, engine);\n    };\n\n    babelHelpers.createClass(AbstractApplicationTestCase, [{\n      key: 'applicationOptions',\n      get: function () {\n        return {\n          rootElement: '#qunit-fixture',\n          autoboot: false\n        };\n      }\n    }, {\n      key: 'routerOptions',\n      get: function () {\n        return {\n          location: 'none'\n        };\n      }\n    }, {\n      key: 'appRouter',\n      get: function () {\n        return this.applicationInstance.lookup('router:main');\n      }\n    }]);\n    return AbstractApplicationTestCase;\n  })(_internalTestHelpersTestCasesAbstract.default);\n\n  exports.default = AbstractApplicationTestCase;\n});\nenifed('internal-test-helpers/test-cases/abstract-rendering', ['exports', 'ember-utils', 'ember-template-compiler', 'ember-views', 'ember-glimmer', 'internal-test-helpers/test-cases/abstract', 'internal-test-helpers/build-owner', 'internal-test-helpers/run'], function (exports, _emberUtils, _emberTemplateCompiler, _emberViews, _emberGlimmer, _internalTestHelpersTestCasesAbstract, _internalTestHelpersBuildOwner, _internalTestHelpersRun) {\n  'use strict';\n\n  var TextNode = window.Text;\n\n  var AbstractRenderingTestCase = (function (_AbstractTestCase) {\n    babelHelpers.inherits(AbstractRenderingTestCase, _AbstractTestCase);\n\n    function AbstractRenderingTestCase() {\n      babelHelpers.classCallCheck(this, AbstractRenderingTestCase);\n\n      _AbstractTestCase.call(this);\n      var owner = this.owner = _internalTestHelpersBuildOwner.default({\n        ownerOptions: this.getOwnerOptions(),\n        bootOptions: this.getBootOptions(),\n        resolver: this.getResolver()\n      });\n\n      this.renderer = this.owner.lookup('renderer:-dom');\n      this.element = _emberViews.jQuery('#qunit-fixture')[0];\n      this.component = null;\n\n      owner.register('event_dispatcher:main', _emberViews.EventDispatcher);\n      owner.inject('event_dispatcher:main', '_viewRegistry', '-view-registry:main');\n      owner.lookup('event_dispatcher:main').setup(this.getCustomDispatcherEvents(), this.element);\n    }\n\n    AbstractRenderingTestCase.prototype.compile = function compile() {\n      return _emberTemplateCompiler.compile.apply(undefined, arguments);\n    };\n\n    AbstractRenderingTestCase.prototype.getCustomDispatcherEvents = function getCustomDispatcherEvents() {\n      return {};\n    };\n\n    AbstractRenderingTestCase.prototype.getOwnerOptions = function getOwnerOptions() {};\n\n    AbstractRenderingTestCase.prototype.getBootOptions = function getBootOptions() {};\n\n    AbstractRenderingTestCase.prototype.getResolver = function getResolver() {};\n\n    AbstractRenderingTestCase.prototype.teardown = function teardown() {\n      if (this.component) {\n        _internalTestHelpersRun.runDestroy(this.component);\n      }\n      if (this.owner) {\n        _internalTestHelpersRun.runDestroy(this.owner);\n      }\n    };\n\n    AbstractRenderingTestCase.prototype.render = function render(templateStr) {\n      var context = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n      var owner = this.owner;\n\n      owner.register('template:-top-level', this.compile(templateStr, {\n        moduleName: '-top-level'\n      }));\n\n      var attrs = _emberUtils.assign({}, context, {\n        tagName: '',\n        layoutName: '-top-level'\n      });\n\n      owner.register('component:-top-level', _emberGlimmer.Component.extend(attrs));\n\n      this.component = owner.lookup('component:-top-level');\n\n      _internalTestHelpersRun.runAppend(this.component);\n    };\n\n    AbstractRenderingTestCase.prototype.rerender = function rerender() {\n      this.component.rerender();\n    };\n\n    AbstractRenderingTestCase.prototype.registerHelper = function registerHelper(name, funcOrClassBody) {\n      var type = typeof funcOrClassBody;\n\n      if (type === 'function') {\n        this.owner.register('helper:' + name, _emberGlimmer.helper(funcOrClassBody));\n      } else if (type === 'object' && type !== null) {\n        this.owner.register('helper:' + name, _emberGlimmer.Helper.extend(funcOrClassBody));\n      } else {\n        throw new Error('Cannot register ' + funcOrClassBody + ' as a helper');\n      }\n    };\n\n    AbstractRenderingTestCase.prototype.registerPartial = function registerPartial(name, template) {\n      var owner = this.env.owner || this.owner;\n      if (typeof template === 'string') {\n        var moduleName = 'template:' + name;\n        owner.register(moduleName, this.compile(template, { moduleName: moduleName }));\n      }\n    };\n\n    AbstractRenderingTestCase.prototype.registerComponent = function registerComponent(name, _ref) {\n      var _ref$ComponentClass = _ref.ComponentClass;\n      var ComponentClass = _ref$ComponentClass === undefined ? null : _ref$ComponentClass;\n      var _ref$template = _ref.template;\n      var template = _ref$template === undefined ? null : _ref$template;\n      var owner = this.owner;\n\n      if (ComponentClass) {\n        owner.register('component:' + name, ComponentClass);\n      }\n\n      if (typeof template === 'string') {\n        owner.register('template:components/' + name, this.compile(template, {\n          moduleName: 'components/' + name\n        }));\n      }\n    };\n\n    AbstractRenderingTestCase.prototype.registerTemplate = function registerTemplate(name, template) {\n      var owner = this.owner;\n\n      if (typeof template === 'string') {\n        owner.register('template:' + name, this.compile(template, {\n          moduleName: name\n        }));\n      } else {\n        throw new Error('Registered template \"' + name + '\" must be a string');\n      }\n    };\n\n    AbstractRenderingTestCase.prototype.registerService = function registerService(name, klass) {\n      this.owner.register('service:' + name, klass);\n    };\n\n    AbstractRenderingTestCase.prototype.assertTextNode = function assertTextNode(node, text) {\n      if (!(node instanceof TextNode)) {\n        throw new Error('Expecting a text node, but got ' + node);\n      }\n\n      this.assert.strictEqual(node.textContent, text, 'node.textContent');\n    };\n\n    babelHelpers.createClass(AbstractRenderingTestCase, [{\n      key: 'context',\n      get: function () {\n        return this.component;\n      }\n    }]);\n    return AbstractRenderingTestCase;\n  })(_internalTestHelpersTestCasesAbstract.default);\n\n  exports.default = AbstractRenderingTestCase;\n});\nenifed('internal-test-helpers/test-cases/abstract', ['exports', 'ember-utils', 'ember-metal', 'ember-views', 'internal-test-helpers/equal-inner-html', 'internal-test-helpers/equal-tokens', 'internal-test-helpers/matchers'], function (exports, _emberUtils, _emberMetal, _emberViews, _internalTestHelpersEqualInnerHtml, _internalTestHelpersEqualTokens, _internalTestHelpersMatchers) {\n  'use strict';\n\n  var TextNode = window.Text;\n  var HTMLElement = window.HTMLElement;\n  var Comment = window.Comment;\n\n  function isMarker(node) {\n    if (node instanceof Comment && node.textContent === '') {\n      return true;\n    }\n\n    if (node instanceof TextNode && node.textContent === '') {\n      return true;\n    }\n\n    return false;\n  }\n\n  var AbstractTestCase = (function () {\n    function AbstractTestCase() {\n      babelHelpers.classCallCheck(this, AbstractTestCase);\n\n      this.element = null;\n      this.snapshot = null;\n      this.assert = QUnit.config.current.assert;\n    }\n\n    AbstractTestCase.prototype.teardown = function teardown() {};\n\n    AbstractTestCase.prototype.runTask = function runTask(callback) {\n      _emberMetal.run(callback);\n    };\n\n    AbstractTestCase.prototype.runTaskNext = function runTaskNext(callback) {\n      _emberMetal.run.next(callback);\n    };\n\n    // The following methods require `this.element` to work\n\n    AbstractTestCase.prototype.nthChild = function nthChild(n) {\n      var i = 0;\n      var node = this.element.firstChild;\n\n      while (node) {\n        if (!isMarker(node)) {\n          i++;\n        }\n\n        if (i > n) {\n          break;\n        } else {\n          node = node.nextSibling;\n        }\n      }\n\n      return node;\n    };\n\n    AbstractTestCase.prototype.$ = function $(sel) {\n      return sel ? _emberViews.jQuery(sel, this.element) : _emberViews.jQuery(this.element);\n    };\n\n    AbstractTestCase.prototype.textValue = function textValue() {\n      return this.$().text();\n    };\n\n    AbstractTestCase.prototype.takeSnapshot = function takeSnapshot() {\n      var snapshot = this.snapshot = [];\n\n      var node = this.element.firstChild;\n\n      while (node) {\n        if (!isMarker(node)) {\n          snapshot.push(node);\n        }\n\n        node = node.nextSibling;\n      }\n\n      return snapshot;\n    };\n\n    AbstractTestCase.prototype.assertText = function assertText(text) {\n      this.assert.strictEqual(this.textValue(), text, '#qunit-fixture content should be: `' + text + '`');\n    };\n\n    AbstractTestCase.prototype.assertInnerHTML = function assertInnerHTML(html) {\n      _internalTestHelpersEqualInnerHtml.default(this.element, html);\n    };\n\n    AbstractTestCase.prototype.assertHTML = function assertHTML(html) {\n      _internalTestHelpersEqualTokens.default(this.element, html, '#qunit-fixture content should be: `' + html + '`');\n    };\n\n    AbstractTestCase.prototype.assertElement = function assertElement(node, _ref) {\n      var _ref$ElementType = _ref.ElementType;\n      var ElementType = _ref$ElementType === undefined ? HTMLElement : _ref$ElementType;\n      var tagName = _ref.tagName;\n      var _ref$attrs = _ref.attrs;\n      var attrs = _ref$attrs === undefined ? null : _ref$attrs;\n      var _ref$content = _ref.content;\n      var content = _ref$content === undefined ? null : _ref$content;\n\n      if (!(node instanceof ElementType)) {\n        throw new Error('Expecting a ' + ElementType.name + ', but got ' + node);\n      }\n\n      _internalTestHelpersMatchers.equalsElement(node, tagName, attrs, content);\n    };\n\n    AbstractTestCase.prototype.assertComponentElement = function assertComponentElement(node, _ref2) {\n      var _ref2$ElementType = _ref2.ElementType;\n      var ElementType = _ref2$ElementType === undefined ? HTMLElement : _ref2$ElementType;\n      var _ref2$tagName = _ref2.tagName;\n      var tagName = _ref2$tagName === undefined ? 'div' : _ref2$tagName;\n      var _ref2$attrs = _ref2.attrs;\n      var attrs = _ref2$attrs === undefined ? null : _ref2$attrs;\n      var _ref2$content = _ref2.content;\n      var content = _ref2$content === undefined ? null : _ref2$content;\n\n      attrs = _emberUtils.assign({}, { id: _internalTestHelpersMatchers.regex(/^ember\\d*$/), class: _internalTestHelpersMatchers.classes('ember-view') }, attrs || {});\n      this.assertElement(node, { ElementType: ElementType, tagName: tagName, attrs: attrs, content: content });\n    };\n\n    AbstractTestCase.prototype.assertSameNode = function assertSameNode(actual, expected) {\n      this.assert.strictEqual(actual, expected, 'DOM node stability');\n    };\n\n    AbstractTestCase.prototype.assertInvariants = function assertInvariants(oldSnapshot, newSnapshot) {\n      oldSnapshot = oldSnapshot || this.snapshot;\n      newSnapshot = newSnapshot || this.takeSnapshot();\n\n      this.assert.strictEqual(newSnapshot.length, oldSnapshot.length, 'Same number of nodes');\n\n      for (var i = 0; i < oldSnapshot.length; i++) {\n        this.assertSameNode(newSnapshot[i], oldSnapshot[i]);\n      }\n    };\n\n    AbstractTestCase.prototype.assertPartialInvariants = function assertPartialInvariants(start, end) {\n      this.assertInvariants(this.snapshot, this.takeSnapshot().slice(start, end));\n    };\n\n    AbstractTestCase.prototype.assertStableRerender = function assertStableRerender() {\n      var _this = this;\n\n      this.takeSnapshot();\n      this.runTask(function () {\n        return _this.rerender();\n      });\n      this.assertInvariants();\n    };\n\n    babelHelpers.createClass(AbstractTestCase, [{\n      key: 'firstChild',\n      get: function () {\n        return this.nthChild(0);\n      }\n    }, {\n      key: 'nodesCount',\n      get: function () {\n        var count = 0;\n        var node = this.element.firstChild;\n\n        while (node) {\n          if (!isMarker(node)) {\n            count++;\n          }\n\n          node = node.nextSibling;\n        }\n\n        return count;\n      }\n    }]);\n    return AbstractTestCase;\n  })();\n\n  exports.default = AbstractTestCase;\n});\nenifed('internal-test-helpers/test-cases/application', ['exports', 'internal-test-helpers/test-cases/abstract-application'], function (exports, _internalTestHelpersTestCasesAbstractApplication) {\n  'use strict';\n\n  var ApplicationTestCase = (function (_AbstractApplicationTestCase) {\n    babelHelpers.inherits(ApplicationTestCase, _AbstractApplicationTestCase);\n\n    function ApplicationTestCase() {\n      babelHelpers.classCallCheck(this, ApplicationTestCase);\n\n      _AbstractApplicationTestCase.apply(this, arguments);\n    }\n\n    return ApplicationTestCase;\n  })(_internalTestHelpersTestCasesAbstractApplication.default);\n\n  exports.default = ApplicationTestCase;\n});\nenifed('internal-test-helpers/test-cases/query-param', ['exports', 'ember-runtime', 'ember-routing', 'ember-metal', 'internal-test-helpers/test-cases/application'], function (exports, _emberRuntime, _emberRouting, _emberMetal, _internalTestHelpersTestCasesApplication) {\n  'use strict';\n\n  var QueryParamTestCase = (function (_ApplicationTestCase) {\n    babelHelpers.inherits(QueryParamTestCase, _ApplicationTestCase);\n\n    function QueryParamTestCase() {\n      babelHelpers.classCallCheck(this, QueryParamTestCase);\n\n      _ApplicationTestCase.call(this);\n\n      var testCase = this;\n      testCase.expectedPushURL = null;\n      testCase.expectedReplaceURL = null;\n      this.application.register('location:test', _emberRouting.NoneLocation.extend({\n        setURL: function (path) {\n          if (testCase.expectedReplaceURL) {\n            testCase.assert.ok(false, 'pushState occurred but a replaceState was expected');\n          }\n\n          if (testCase.expectedPushURL) {\n            testCase.assert.equal(path, testCase.expectedPushURL, 'an expected pushState occurred');\n            testCase.expectedPushURL = null;\n          }\n\n          this.set('path', path);\n        },\n\n        replaceURL: function (path) {\n          if (testCase.expectedPushURL) {\n            testCase.assert.ok(false, 'replaceState occurred but a pushState was expected');\n          }\n\n          if (testCase.expectedReplaceURL) {\n            testCase.assert.equal(path, testCase.expectedReplaceURL, 'an expected replaceState occurred');\n            testCase.expectedReplaceURL = null;\n          }\n\n          this.set('path', path);\n        }\n      }));\n    }\n\n    QueryParamTestCase.prototype.visitAndAssert = function visitAndAssert(path) {\n      var _this = this;\n\n      return this.visit.apply(this, arguments).then(function () {\n        _this.assertCurrentPath(path);\n      });\n    };\n\n    QueryParamTestCase.prototype.getController = function getController(name) {\n      return this.applicationInstance.lookup('controller:' + name);\n    };\n\n    QueryParamTestCase.prototype.getRoute = function getRoute(name) {\n      return this.applicationInstance.lookup('route:' + name);\n    };\n\n    QueryParamTestCase.prototype.setAndFlush = function setAndFlush(obj, prop, value) {\n      return _emberMetal.run(obj, 'set', prop, value);\n    };\n\n    QueryParamTestCase.prototype.assertCurrentPath = function assertCurrentPath(path) {\n      var message = arguments.length <= 1 || arguments[1] === undefined ? 'current path equals \\'' + path + '\\'' : arguments[1];\n      return (function () {\n        this.assert.equal(this.appRouter.get('location.path'), path, message);\n      }).apply(this, arguments);\n    };\n\n    /**\n      Sets up a Controller for a given route with a single query param and default\n      value. Can optionally extend the controller with an object.\n       @public\n      @method setSingleQPController\n    */\n\n    QueryParamTestCase.prototype.setSingleQPController = function setSingleQPController(routeName) {\n      var param = arguments.length <= 1 || arguments[1] === undefined ? 'foo' : arguments[1];\n      var defaultValue = arguments.length <= 2 || arguments[2] === undefined ? 'bar' : arguments[2];\n\n      var _Controller$extend;\n\n      var options = arguments.length <= 3 || arguments[3] === undefined ? {} : arguments[3];\n\n      this.registerController(routeName, _emberRuntime.Controller.extend((_Controller$extend = {\n        queryParams: [param]\n      }, _Controller$extend[param] = defaultValue, _Controller$extend), options));\n    };\n\n    /**\n      Sets up a Controller for a given route with a custom property/url key mapping.\n       @public\n      @method setMappedQPController\n    */\n\n    QueryParamTestCase.prototype.setMappedQPController = function setMappedQPController(routeName) {\n      var prop = arguments.length <= 1 || arguments[1] === undefined ? 'page' : arguments[1];\n      var urlKey = arguments.length <= 2 || arguments[2] === undefined ? 'parentPage' : arguments[2];\n      var defaultValue = arguments.length <= 3 || arguments[3] === undefined ? 1 : arguments[3];\n\n      var _queryParams, _Controller$extend2;\n\n      var options = arguments.length <= 4 || arguments[4] === undefined ? {} : arguments[4];\n\n      this.registerController(routeName, _emberRuntime.Controller.extend((_Controller$extend2 = {\n        queryParams: (_queryParams = {}, _queryParams[prop] = urlKey, _queryParams)\n      }, _Controller$extend2[prop] = defaultValue, _Controller$extend2), options));\n    };\n\n    babelHelpers.createClass(QueryParamTestCase, [{\n      key: 'routerOptions',\n      get: function () {\n        return {\n          location: 'test'\n        };\n      }\n    }]);\n    return QueryParamTestCase;\n  })(_internalTestHelpersTestCasesApplication.default);\n\n  exports.default = QueryParamTestCase;\n});\nenifed('internal-test-helpers/test-cases/rendering', ['exports', 'ember-views', 'internal-test-helpers/test-cases/abstract-rendering'], function (exports, _emberViews, _internalTestHelpersTestCasesAbstractRendering) {\n  'use strict';\n\n  var RenderingTestCase = (function (_AbstractRenderingTestCase) {\n    babelHelpers.inherits(RenderingTestCase, _AbstractRenderingTestCase);\n\n    function RenderingTestCase() {\n      babelHelpers.classCallCheck(this, RenderingTestCase);\n\n      _AbstractRenderingTestCase.call(this);\n      var owner = this.owner;\n\n      this.env = owner.lookup('service:-glimmer-environment');\n      owner.register('component-lookup:main', _emberViews.ComponentLookup);\n      owner.registerOptionsForType('helper', { instantiate: false });\n      owner.registerOptionsForType('component', { singleton: false });\n    }\n\n    return RenderingTestCase;\n  })(_internalTestHelpersTestCasesAbstractRendering.default);\n\n  exports.default = RenderingTestCase;\n});\nenifed('internal-test-helpers/test-cases/router', ['exports', 'internal-test-helpers/test-cases/application'], function (exports, _internalTestHelpersTestCasesApplication) {\n  'use strict';\n\n  var RouterTestCase = (function (_ApplicationTestCase) {\n    babelHelpers.inherits(RouterTestCase, _ApplicationTestCase);\n\n    function RouterTestCase() {\n      babelHelpers.classCallCheck(this, RouterTestCase);\n\n      _ApplicationTestCase.call(this);\n\n      this.router.map(function () {\n        this.route('parent', { path: '/' }, function () {\n          this.route('child');\n          this.route('sister');\n          this.route('brother');\n        });\n        this.route('dynamic', { path: '/dynamic/:dynamic_id' });\n      });\n    }\n\n    babelHelpers.createClass(RouterTestCase, [{\n      key: 'routerService',\n      get: function () {\n        return this.applicationInstance.lookup('service:router');\n      }\n    }]);\n    return RouterTestCase;\n  })(_internalTestHelpersTestCasesApplication.default);\n\n  exports.default = RouterTestCase;\n});\nenifed('internal-test-helpers/test-groups', ['exports', 'ember-environment', 'ember-metal'], function (exports, _emberEnvironment, _emberMetal) {\n  'use strict';\n\n  exports.testBoth = testBoth;\n  exports.testWithDefault = testWithDefault;\n\n  // used by unit tests to test both accessor mode and non-accessor mode\n\n  function testBoth(testname, callback) {\n    function emberget(x, y) {\n      return _emberMetal.get(x, y);\n    }\n    function emberset(x, y, z) {\n      return _emberMetal.set(x, y, z);\n    }\n    function aget(x, y) {\n      return x[y];\n    }\n    function aset(x, y, z) {\n      return x[y] = z;\n    }\n\n    QUnit.test(testname + ' using getFromEmberMetal()/Ember.set()', function () {\n      callback(emberget, emberset);\n    });\n\n    QUnit.test(testname + ' using accessors', function () {\n      if (_emberEnvironment.ENV.USES_ACCESSORS) {\n        callback(aget, aset);\n      } else {\n        ok('SKIPPING ACCESSORS');\n      }\n    });\n  }\n\n  function testWithDefault(testname, callback) {\n    function emberget(x, y) {\n      return _emberMetal.get(x, y);\n    }\n    function embergetwithdefault(x, y, z) {\n      return _emberMetal.getWithDefault(x, y, z);\n    }\n    function getwithdefault(x, y, z) {\n      return x.getWithDefault(y, z);\n    }\n    function emberset(x, y, z) {\n      return _emberMetal.set(x, y, z);\n    }\n    function aget(x, y) {\n      return x[y];\n    }\n    function aset(x, y, z) {\n      return x[y] = z;\n    }\n\n    QUnit.test(testname + ' using obj.get()', function () {\n      callback(emberget, emberset);\n    });\n\n    QUnit.test(testname + ' using obj.getWithDefault()', function () {\n      callback(getwithdefault, emberset);\n    });\n\n    QUnit.test(testname + ' using getFromEmberMetal()', function () {\n      callback(emberget, emberset);\n    });\n\n    QUnit.test(testname + ' using Ember.getWithDefault()', function () {\n      callback(embergetwithdefault, emberset);\n    });\n\n    QUnit.test(testname + ' using accessors', function () {\n      if (_emberEnvironment.ENV.USES_ACCESSORS) {\n        callback(aget, aset);\n      } else {\n        ok('SKIPPING ACCESSORS');\n      }\n    });\n  }\n});\nenifed('route-recognizer', ['exports'], function (exports) { 'use strict';\n\nvar createObject = Object.create;\nfunction createMap() {\n    var map = createObject(null);\n    map[\"__\"] = undefined;\n    delete map[\"__\"];\n    return map;\n}\n\nvar Target = function Target(path, matcher, delegate) {\n    this.path = path;\n    this.matcher = matcher;\n    this.delegate = delegate;\n};\nTarget.prototype.to = function to (target, callback) {\n    var delegate = this.delegate;\n    if (delegate && delegate.willAddRoute) {\n        target = delegate.willAddRoute(this.matcher.target, target);\n    }\n    this.matcher.add(this.path, target);\n    if (callback) {\n        if (callback.length === 0) {\n            throw new Error(\"You must have an argument in the function passed to `to`\");\n        }\n        this.matcher.addChild(this.path, target, callback, this.delegate);\n    }\n};\nvar Matcher = function Matcher(target) {\n    this.routes = createMap();\n    this.children = createMap();\n    this.target = target;\n};\nMatcher.prototype.add = function add (path, target) {\n    this.routes[path] = target;\n};\nMatcher.prototype.addChild = function addChild (path, target, callback, delegate) {\n    var matcher = new Matcher(target);\n    this.children[path] = matcher;\n    var match = generateMatch(path, matcher, delegate);\n    if (delegate && delegate.contextEntered) {\n        delegate.contextEntered(target, match);\n    }\n    callback(match);\n};\nfunction generateMatch(startingPath, matcher, delegate) {\n    function match(path, callback) {\n        var fullPath = startingPath + path;\n        if (callback) {\n            callback(generateMatch(fullPath, matcher, delegate));\n        }\n        else {\n            return new Target(fullPath, matcher, delegate);\n        }\n    }\n    ;\n    return match;\n}\nfunction addRoute(routeArray, path, handler) {\n    var len = 0;\n    for (var i = 0; i < routeArray.length; i++) {\n        len += routeArray[i].path.length;\n    }\n    path = path.substr(len);\n    var route = { path: path, handler: handler };\n    routeArray.push(route);\n}\nfunction eachRoute(baseRoute, matcher, callback, binding) {\n    var routes = matcher.routes;\n    var paths = Object.keys(routes);\n    for (var i = 0; i < paths.length; i++) {\n        var path = paths[i];\n        var routeArray = baseRoute.slice();\n        addRoute(routeArray, path, routes[path]);\n        var nested = matcher.children[path];\n        if (nested) {\n            eachRoute(routeArray, nested, callback, binding);\n        }\n        else {\n            callback.call(binding, routeArray);\n        }\n    }\n}\nfunction map (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        }\n        else {\n            this.add(routes);\n        }\n    }, this);\n}\n\n// Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded\n// values that are not reserved (i.e., unicode characters, emoji, etc). The reserved\n// chars are \"/\" and \"%\".\n// Safe to call multiple times on the same path.\n// Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded\nfunction normalizePath(path) {\n    return path.split(\"/\")\n        .map(normalizeSegment)\n        .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\nvar SEGMENT_RESERVED_CHARS = /%|\\//g;\nfunction normalizeSegment(segment) {\n    if (segment.length < 3 || segment.indexOf(\"%\") === -1)\n        { return segment; }\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'].\nvar PATH_SEGMENT_ENCODINGS = /%(?:2(?:4|6|B|C)|3(?:B|D|A)|40)/g;\nfunction encodePathSegment(str) {\n    return encodeURIComponent(str).replace(PATH_SEGMENT_ENCODINGS, decodeURIComponent);\n}\n\nvar escapeRegex = /(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\)/g;\nvar isArray = Array.isArray;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction 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}\nvar eachChar = [];\neachChar[0 /* Static */] = function (segment, currentState) {\n    var state = currentState;\n    var value = segment.value;\n    for (var i = 0; i < value.length; i++) {\n        var ch = value.charCodeAt(i);\n        state = state.put(ch, false, false);\n    }\n    return state;\n};\neachChar[1 /* Dynamic */] = function (_, currentState) {\n    return currentState.put(47 /* SLASH */, true, true);\n};\neachChar[2 /* Star */] = function (_, currentState) {\n    return currentState.put(-1 /* ANY */, false, true);\n};\neachChar[4 /* Epsilon */] = function (_, currentState) {\n    return currentState;\n};\nvar regex = [];\nregex[0 /* Static */] = function (segment) {\n    return segment.value.replace(escapeRegex, \"\\\\$1\");\n};\nregex[1 /* Dynamic */] = function () {\n    return \"([^/]+)\";\n};\nregex[2 /* Star */] = function () {\n    return \"(.+)\";\n};\nregex[4 /* Epsilon */] = function () {\n    return \"\";\n};\nvar generate = [];\ngenerate[0 /* Static */] = function (segment) {\n    return segment.value;\n};\ngenerate[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    }\n    else {\n        return value;\n    }\n};\ngenerate[2 /* Star */] = function (segment, params) {\n    return getParam(params, segment.value);\n};\ngenerate[4 /* Epsilon */] = function () {\n    return \"\";\n};\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.\nfunction parse(segments, route, names, types, shouldDecodes) {\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    for (var i = 0; i < parts.length; i++) {\n        var part = parts[i];\n        var flags = 0;\n        var type = 0;\n        if (part === \"\") {\n            type = 4 /* Epsilon */;\n        }\n        else if (part.charCodeAt(0) === 58 /* COLON */) {\n            type = 1 /* Dynamic */;\n        }\n        else if (part.charCodeAt(0) === 42 /* STAR */) {\n            type = 2 /* Star */;\n        }\n        else {\n            type = 0 /* Static */;\n        }\n        flags = 2 << type;\n        if (flags & 12 /* Named */) {\n            part = part.slice(1);\n            names.push(part);\n            shouldDecodes.push((flags & 4 /* Decoded */) !== 0);\n        }\n        if (flags & 14 /* Counted */) {\n            types[type]++;\n        }\n        segments.push({ type: type, value: normalizeSegment(part) });\n    }\n}\nfunction 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.\nvar State = function State(states, id, char, negate, repeat) {\n    this.states = states;\n    this.id = id;\n    this.char = char;\n    this.negate = negate;\n    this.nextStates = repeat ? id : null;\n    this.pattern = \"\";\n    this._regex = undefined;\n    this.handlers = undefined;\n    this.types = undefined;\n};\nState.prototype.regex = function regex$1 () {\n    if (!this._regex) {\n        this._regex = new RegExp(this.pattern);\n    }\n    return this._regex;\n};\nState.prototype.get = function get (char, negate) {\n        var this$1 = this;\n\n    var nextStates = this.nextStates;\n    if (nextStates === null)\n        { return; }\n    if (isArray(nextStates)) {\n        for (var i = 0; i < nextStates.length; i++) {\n            var child = this$1.states[nextStates[i]];\n            if (isEqualCharSpec(child, char, negate)) {\n                return child;\n            }\n        }\n    }\n    else {\n        var child$1 = this.states[nextStates];\n        if (isEqualCharSpec(child$1, char, negate)) {\n            return child$1;\n        }\n    }\n};\nState.prototype.put = function put (char, negate, repeat) {\n    var state;\n    // If the character specification already exists in a child of the current\n    // state, just return that state.\n    if (state = this.get(char, negate)) {\n        return state;\n    }\n    // Make a new state for the character spec\n    var states = this.states;\n    state = new State(states, states.length, char, negate, repeat);\n    states[states.length] = state;\n    // Insert the new state as a child of the current state\n    if (this.nextStates == null) {\n        this.nextStates = state.id;\n    }\n    else if (isArray(this.nextStates)) {\n        this.nextStates.push(state.id);\n    }\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\nState.prototype.match = function match (ch) {\n        var this$1 = this;\n\n    var nextStates = this.nextStates;\n    if (!nextStates)\n        { return []; }\n    var returned = [];\n    if (isArray(nextStates)) {\n        for (var i = 0; i < nextStates.length; i++) {\n            var child = this$1.states[nextStates[i]];\n            if (isMatch(child, ch)) {\n                returned.push(child);\n            }\n        }\n    }\n    else {\n        var child$1 = this.states[nextStates];\n        if (isMatch(child$1, ch)) {\n            returned.push(child$1);\n        }\n    }\n    return returned;\n};\nfunction 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\nfunction 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}\nfunction recognizeChar(states, ch) {\n    var nextStates = [];\n    for (var i = 0, l = states.length; i < l; i++) {\n        var state = states[i];\n        nextStates = nextStates.concat(state.match(ch));\n    }\n    return nextStates;\n}\nvar RecognizeResults = function RecognizeResults(queryParams) {\n    this.length = 0;\n    this.queryParams = queryParams || {};\n};\n;\nRecognizeResults.prototype.splice = Array.prototype.splice;\nRecognizeResults.prototype.slice = Array.prototype.slice;\nRecognizeResults.prototype.push = Array.prototype.push;\nfunction findHandler(state, originalPath, queryParams) {\n    var handlers = state.handlers;\n    var regex = state.regex();\n    if (!regex || !handlers)\n        { throw new Error(\"state not initialized\"); }\n    var captures = originalPath.match(regex);\n    var currentCapture = 1;\n    var result = new RecognizeResults(queryParams);\n    result.length = handlers.length;\n    for (var i = 0; i < handlers.length; i++) {\n        var handler = handlers[i];\n        var names = handler.names;\n        var shouldDecodes = handler.shouldDecodes;\n        var params = {};\n        for (var j = 0; j < names.length; j++) {\n            var name = names[j];\n            var capture = captures && captures[currentCapture++];\n            if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS && shouldDecodes[j]) {\n                params[name] = capture && decodeURIComponent(capture);\n            }\n            else {\n                params[name] = capture;\n            }\n        }\n        result[i] = { handler: handler.handler, params: params, isDynamic: !!names.length };\n    }\n    return result;\n}\nfunction 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    }\n    catch (error) {\n        result = \"\";\n    }\n    return result;\n}\nvar RouteRecognizer = function RouteRecognizer() {\n    this.names = createMap();\n    var states = [];\n    var state = new State(states, 0, -1 /* ANY */, true, false);\n    states[0] = state;\n    this.states = states;\n    this.rootState = state;\n};\nRouteRecognizer.prototype.add = function add (routes, options) {\n    var currentState = this.rootState;\n    var pattern = \"^\";\n    var types = [0, 0, 0];\n    var handlers = new Array(routes.length);\n    var allSegments = [];\n    var isEmpty = true;\n    var j = 0;\n    for (var i = 0; i < routes.length; i++) {\n        var route = routes[i];\n        var names = [];\n        var shouldDecodes = [];\n        parse(allSegments, route.path, names, types, shouldDecodes);\n        // preserve j so it points to the start of newly added segments\n        for (; j < allSegments.length; j++) {\n            var segment = allSegments[j];\n            if (segment.type === 4 /* Epsilon */) {\n                continue;\n            }\n            isEmpty = false;\n            // Add a \"/\" for the new segment\n            currentState = currentState.put(47 /* SLASH */, false, false);\n            pattern += \"/\";\n            // Add a representation of the segment to the NFA and regex\n            currentState = eachChar[segment.type](segment, currentState);\n            pattern += regex[segment.type](segment);\n        }\n        var handler = { handler: route.handler, names: names, shouldDecodes: shouldDecodes };\n        handlers[i] = handler;\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};\nRouteRecognizer.prototype.handlersFor = function handlersFor (name) {\n    var route = this.names[name];\n    if (!route) {\n        throw new Error(\"There is no route named \" + name);\n    }\n    var result = new Array(route.handlers.length);\n    for (var i = 0; i < route.handlers.length; i++) {\n        result[i] = route.handlers[i];\n    }\n    return result;\n};\nRouteRecognizer.prototype.hasRoute = function hasRoute (name) {\n    return !!this.names[name];\n};\nRouteRecognizer.prototype.generate = function generate$1 (name, params) {\n    var route = this.names[name];\n    var output = \"\";\n    if (!route) {\n        throw new Error(\"There is no route named \" + name);\n    }\n    var segments = route.segments;\n    for (var i = 0; i < segments.length; i++) {\n        var segment = segments[i];\n        if (segment.type === 4 /* Epsilon */) {\n            continue;\n        }\n        output += \"/\";\n        output += generate[segment.type](segment, params);\n    }\n    if (output.charAt(0) !== \"/\") {\n        output = \"/\" + output;\n    }\n    if (params && params.queryParams) {\n        output += this.generateQueryString(params.queryParams);\n    }\n    return output;\n};\nRouteRecognizer.prototype.generateQueryString = function generateQueryString (params) {\n    var pairs = [];\n    var keys = Object.keys(params);\n    keys.sort();\n    for (var i = 0; i < keys.length; i++) {\n        var key = keys[i];\n        var value = params[key];\n        if (value == null) {\n            continue;\n        }\n        var pair = encodeURIComponent(key);\n        if (isArray(value)) {\n            for (var j = 0; j < value.length; j++) {\n                var arrayPair = key + \"[]\" + \"=\" + encodeURIComponent(value[j]);\n                pairs.push(arrayPair);\n            }\n        }\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};\nRouteRecognizer.prototype.parseQueryString = function parseQueryString (queryString) {\n    var pairs = queryString.split(\"&\");\n    var queryParams = {};\n    for (var i = 0; i < pairs.length; i++) {\n        var pair = pairs[i].split(\"=\"), key = decodeQueryParamPart(pair[0]), keyLength = key.length, isArray = false, value = (void 0);\n        if (pair.length === 1) {\n            value = \"true\";\n        }\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        }\n        else {\n            queryParams[key] = value;\n        }\n    }\n    return queryParams;\n};\nRouteRecognizer.prototype.recognize = function recognize (path) {\n    var results;\n    var states = [this.rootState];\n    var queryParams = {};\n    var isSlashDropped = false;\n    var hashStart = path.indexOf(\"#\");\n    if (hashStart !== -1) {\n        path = path.substr(0, hashStart);\n    }\n    var queryStart = path.indexOf(\"?\");\n    if (queryStart !== -1) {\n        var queryString = path.substr(queryStart + 1, path.length);\n        path = path.substr(0, queryStart);\n        queryParams = this.parseQueryString(queryString);\n    }\n    if (path.charAt(0) !== \"/\") {\n        path = \"/\" + path;\n    }\n    var originalPath = path;\n    if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n        path = normalizePath(path);\n    }\n    else {\n        path = decodeURI(path);\n        originalPath = decodeURI(originalPath);\n    }\n    var pathLen = path.length;\n    if (pathLen > 1 && path.charAt(pathLen - 1) === \"/\") {\n        path = path.substr(0, pathLen - 1);\n        originalPath = originalPath.substr(0, originalPath.length - 1);\n        isSlashDropped = true;\n    }\n    for (var i = 0; i < path.length; i++) {\n        states = recognizeChar(states, path.charCodeAt(i));\n        if (!states.length) {\n            break;\n        }\n    }\n    var solutions = [];\n    for (var i$1 = 0; i$1 < states.length; i$1++) {\n        if (states[i$1].handlers) {\n            solutions.push(states[i$1]);\n        }\n    }\n    states = sortSolutions(solutions);\n    var state = solutions[0];\n    if (state && state.handlers) {\n        // if a trailing slash was dropped and a star segment is the last segment\n        // specified, put the trailing slash back\n        if (isSlashDropped && state.pattern && state.pattern.slice(-5) === \"(.+)$\") {\n            originalPath = originalPath + \"/\";\n        }\n        results = findHandler(state, originalPath, queryParams);\n    }\n    return results;\n};\nRouteRecognizer.VERSION = \"0.3.0\";\n// Set to false to opt-out of encoding and decoding path segments.\n// See https://github.com/tildeio/route-recognizer/pull/55\nRouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS = true;\nRouteRecognizer.Normalizer = {\n    normalizeSegment: normalizeSegment, normalizePath: normalizePath, encodePathSegment: encodePathSegment\n};\nRouteRecognizer.prototype.map = map;\n\nexports['default'] = RouteRecognizer;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n});\nenifed('router', ['exports', 'route-recognizer', 'rsvp'], function (exports, RouteRecognizer, rsvp) { 'use strict';\n\nRouteRecognizer = 'default' in RouteRecognizer ? RouteRecognizer['default'] : RouteRecognizer;\n\nvar slice = Array.prototype.slice;\n\nvar _isArray;\nif (!Array.isArray) {\n  _isArray = function (x) {\n    return Object.prototype.toString.call(x) === \"[object Array]\";\n  };\n} else {\n  _isArray = Array.isArray;\n}\n\nvar isArray = _isArray;\n\n/**\n  Determines if an object is Promise by checking if it is \"thenable\".\n**/\nfunction isPromise(obj) {\n  return ((typeof obj === 'object' && obj !== null) || typeof obj === 'function') && typeof obj.then === 'function';\n}\n\nfunction merge(hash, other) {\n  for (var prop in other) {\n    if (other.hasOwnProperty(prop)) { hash[prop] = other[prop]; }\n  }\n}\n\nvar oCreate = Object.create || function(proto) {\n  function F() {}\n  F.prototype = proto;\n  return new F();\n};\n\n/**\n  @private\n\n  Extracts query params from the end of an array\n**/\nfunction extractQueryParams(array) {\n  var len = (array && array.length), head, queryParams;\n\n  if(len && len > 0 && array[len - 1] && array[len - 1].hasOwnProperty('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**/\nfunction coerceQueryParamsToString(queryParams) {\n  for (var key in queryParams) {\n    if (typeof queryParams[key] === 'number') {\n      queryParams[key] = '' + queryParams[key];\n    } else if (isArray(queryParams[key])) {\n      for (var i = 0, l = queryParams[key].length; i < l; i++) {\n        queryParams[key][i] = '' + queryParams[key][i];\n      }\n    }\n  }\n}\n/**\n  @private\n */\nfunction log(router, sequence, msg) {\n  if (!router.log) { return; }\n\n  if (arguments.length === 3) {\n    router.log(\"Transition #\" + sequence + \": \" + msg);\n  } else {\n    msg = sequence;\n    router.log(msg);\n  }\n}\n\nfunction bind(context, fn) {\n  var boundArgs = arguments;\n  return function(value) {\n    var args = slice.call(boundArgs, 2);\n    args.push(value);\n    return fn.apply(context, args);\n  };\n}\n\nfunction isParam(object) {\n  return (typeof object === \"string\" || object instanceof String || typeof object === \"number\" || object instanceof Number);\n}\n\n\nfunction forEach(array, callback) {\n  for (var i=0, l=array.length; i < l && false !== callback(array[i]); i++) { }\n}\n\nfunction 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\n  if (!handlerInfos) {\n    if (ignoreFailure) { return; }\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 (var i=handlerInfos.length-1; i>=0; i--) {\n    var handlerInfo = handlerInfos[i],\n        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    if (!handler) {\n      handlerInfo.handlerPromise.then(bind(null, delayedEvent, 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\nfunction getChangelist(oldObject, newObject) {\n  var key;\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 (oldObject.hasOwnProperty(key)) {\n      if (!newObject.hasOwnProperty(key)) {\n        didChange = true;\n        results.removed[key] = oldObject[key];\n      }\n    }\n  }\n\n  // Calculate changes\n  for (key in newObject) {\n    if (newObject.hasOwnProperty(key)) {\n      if (isArray(oldObject[key]) && isArray(newObject[key])) {\n        if (oldObject[key].length !== newObject[key].length) {\n          results.changed[key] = newObject[key];\n          didChange = true;\n        } else {\n          for (var 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      }\n      else {\n        if (oldObject[key] !== newObject[key]) {\n          results.changed[key] = newObject[key];\n          didChange = true;\n        }\n      }\n    }\n  }\n\n  return didChange && results;\n}\n\nfunction promiseLabel(label) {\n  return 'Router: ' + label;\n}\n\nfunction subclass(parentConstructor, proto) {\n  function C(props) {\n    parentConstructor.call(this, props || {});\n  }\n  C.prototype = oCreate(parentConstructor.prototype);\n  merge(C.prototype, proto);\n  return C;\n}\n\nfunction resolveHook(obj, hookName) {\n  if (!obj) { return; }\n  var underscored = \"_\" + hookName;\n  return obj[underscored] && underscored ||\n         obj[hookName] && hookName;\n}\n\nfunction callHook(obj, _hookName, arg1, arg2) {\n  var hookName = resolveHook(obj, _hookName);\n  return hookName && obj[hookName].call(obj, arg1, arg2);\n}\n\nfunction 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\nfunction TransitionState() {\n  this.handlerInfos = [];\n  this.queryParams = {};\n  this.params = {};\n}\n\nTransitionState.prototype = {\n  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  resolve: function(shouldContinue, payload) {\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 = payload || {};\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\"))\n    .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. beforeModel/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 ?\n                              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\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        var handler = resolvedHandlerInfo.handler;\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)\n                        .then(proceed, null, currentState.promiseLabel('Proceed'));\n    }\n  }\n};\n\nfunction 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\nTransitionAbortedError.prototype = oCreate(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 */\nfunction Transition(router, intent, state, error, previousTransition) {\n  var transition = this;\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\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 = (\n    previousTransition && (\n      previousTransition.isCausedByInitialTransition ||\n      previousTransition.sequence === 0\n    )\n  );\n\n  if (state) {\n    this.params = state.params;\n    this.queryParams = state.queryParams;\n    this.handlerInfos = state.handlerInfos;\n\n    var len = state.handlerInfos.length;\n    if (len) {\n      this.targetName = state.handlerInfos[len-1].name;\n    }\n\n    for (var i = 0; i < len; ++i) {\n      var handlerInfo = state.handlerInfos[i];\n\n      // TODO: this all seems hacky\n      if (!handlerInfo.isResolved) { break; }\n      this.pivotHandler = handlerInfo.handler;\n    }\n\n    this.sequence = router.currentSequence++;\n    this.promise = state.resolve(checkForAbort, this)['catch'](\n      catchHandlerForTransition(transition), promiseLabel('Handle Abort'));\n  } else {\n    this.promise = rsvp.Promise.resolve(this.state);\n    this.params = {};\n  }\n\n  function checkForAbort() {\n    if (transition.isAborted) {\n      return rsvp.Promise.reject(undefined, promiseLabel(\"Transition aborted - reject\"));\n    }\n  }\n}\n\nfunction catchHandlerForTransition(transition) {\n  return function(result) {\n    if (result.wasAborted || transition.isAborted) {\n      return rsvp.Promise.reject(logAbort(transition));\n    } else {\n      transition.trigger('error', result.error, transition, result.handlerWithError);\n      transition.abort();\n      return rsvp.Promise.reject(result.error);\n    }\n  };\n}\n\n\nTransition.prototype = {\n  targetName: null,\n  urlMethod: 'update',\n  intent: null,\n  pivotHandler: null,\n  resolveIndex: 0,\n  resolvedModels: null,\n  state: null,\n  queryParamsOnly: false,\n\n  isTransition: true,\n\n  isExiting: function(handler) {\n    var handlerInfos = this.handlerInfos;\n    for (var i = 0, len = handlerInfos.length; i < len; ++i) {\n      var handlerInfo = handlerInfos[i];\n      if (handlerInfo.name === handler || handlerInfo.handler === handler) {\n        return false;\n      }\n    }\n    return true;\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  promise: null,\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  data: null,\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  then: function(onFulfilled, onRejected, label) {\n    return this.promise.then(onFulfilled, onRejected, label);\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  catch: function(onRejection, label) {\n    return this.promise.catch(onRejection, label);\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  finally: function(callback, label) {\n    return this.promise.finally(callback, label);\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  abort: function() {\n    if (this.isAborted) { return this; }\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  /**\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  retry: function() {\n    // TODO: add tests for merged state retry()s\n    this.abort();\n    return this.router.transitionByIntent(this.intent, false);\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  method: function(method) {\n    this.urlMethod = method;\n    return this;\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  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  /**\n    Transitions are aborted and their promises rejected\n    when redirects occur; this method returns a promise\n    that will follow any redirects that occur and fulfill\n    with the value fulfilled by any redirecting transitions\n    that occur.\n\n    @method followRedirects\n    @return {Promise} a promise that fulfills with the same\n      value that the final redirecting transition fulfills with\n    @public\n   */\n  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  toString: function() {\n    return \"Transition (sequence \" + this.sequence + \")\";\n  },\n\n  /**\n    @private\n   */\n  log: function(message) {\n    log(this.router, this.sequence, message);\n  }\n};\n\n// Alias 'trigger' as 'send'\nTransition.prototype.send = Transition.prototype.trigger;\n\n/**\n  @private\n\n  Logs and returns an instance of TransitionAbortedError.\n */\nfunction logAbort(transition) {\n  log(transition.router, transition.sequence, \"detected abort.\");\n  return new TransitionAbortedError();\n}\n\nfunction TransitionIntent(props) {\n  this.initialize(props);\n\n  // TODO: wat\n  this.data = this.data || {};\n}\n\nTransitionIntent.prototype = {\n  initialize: null,\n  applyToState: null\n};\n\nvar DEFAULT_HANDLER = Object.freeze({});\n\nfunction HandlerInfo(_props) {\n  var props = _props || {};\n\n  // Set a default handler to ensure consistent object shape\n  this._handler = DEFAULT_HANDLER;\n\n  if (props.handler) {\n    var name = props.name;\n\n    // Setup a handlerPromise so that we can wait for asynchronously loaded handlers\n    this.handlerPromise = rsvp.Promise.resolve(props.handler);\n\n    // Wait until the 'handler' property has been updated when chaining to a handler\n    // that is a promise\n    if (isPromise(props.handler)) {\n      this.handlerPromise = this.handlerPromise.then(bind(this, this.updateHandler));\n      props.handler = undefined;\n    } else if (props.handler) {\n      // Store the name of the handler on the handler for easy checks later\n      props.handler._handlerName = name;\n    }\n  }\n\n  merge(this, props);\n  this.initialize(props);\n}\n\nHandlerInfo.prototype = {\n  name: null,\n\n  getHandler: function() {},\n\n  fetchHandler: function() {\n    var handler = this.getHandler(this.name);\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(bind(this, this.updateHandler));\n    } else if (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    return this.handler = undefined;\n  },\n\n  _handlerPromise: undefined,\n\n  params: null,\n  context: null,\n\n  // Injected by the handler info factory.\n  factory: null,\n\n  initialize: function() {},\n\n  log: function(payload, message) {\n    if (payload.log) {\n      payload.log(this.name + ': ' + message);\n    }\n  },\n\n  promiseLabel: function(label) {\n    return promiseLabel(\"'\" + this.name + \"' \" + label);\n  },\n\n  getUnresolved: function() {\n    return this;\n  },\n\n  serialize: function() {\n    return this.params || {};\n  },\n\n  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  resolve: function(shouldContinue, payload) {\n    var checkForAbort  = bind(this, this.checkForAbort,      shouldContinue),\n        beforeModel    = bind(this, this.runBeforeModelHook, payload),\n        model          = bind(this, this.getModel,           payload),\n        afterModel     = bind(this, this.runAfterModelHook,  payload),\n        becomeResolved = bind(this, this.becomeResolved,     payload),\n        self = this;\n\n    return rsvp.Promise.resolve(this.handlerPromise, this.promiseLabel(\"Start handler\"))\n            .then(function(handler) {\n              // We nest this chain in case the handlerPromise has an error so that\n              // we don't have to bubble it through every step\n              return rsvp.Promise.resolve(handler)\n                .then(checkForAbort, null, self.promiseLabel(\"Check for abort\"))\n                .then(beforeModel, null, self.promiseLabel(\"Before model\"))\n                .then(checkForAbort, null, self.promiseLabel(\"Check if aborted during 'beforeModel' hook\"))\n                .then(model, null, self.promiseLabel(\"Model\"))\n                .then(checkForAbort, null, self.promiseLabel(\"Check if aborted in 'model' hook\"))\n                .then(afterModel, null, self.promiseLabel(\"After model\"))\n                .then(checkForAbort, null, self.promiseLabel(\"Check if aborted in 'afterModel' hook\"))\n                .then(becomeResolved, null, self.promiseLabel(\"Become resolved\"));\n            }, function(error) {\n              throw error;\n            });\n  },\n\n  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  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])\n               .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  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  // overridden by subclasses\n  getModel: null,\n\n  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  stashResolvedModel: function(payload, resolvedModel) {\n    payload.resolvedModels = payload.resolvedModels || {};\n    payload.resolvedModels[this.name] = resolvedModel;\n  },\n\n  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    return this.factory('resolved', {\n      context: resolvedContext,\n      name: this.name,\n      handler: this.handler,\n      params: params\n    });\n  },\n\n  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) { return true; }\n\n    var contextsMatch = (other.context === this.context);\n    return other.name !== this.name ||\n           (this.hasOwnProperty('context') && !contextsMatch) ||\n           (this.hasOwnProperty('params') && !paramsMatch(this.params, other.params));\n  }\n};\n\nObject.defineProperty(HandlerInfo.prototype, '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\n  set: function(handler) {\n    return this._handler = handler;\n  }\n});\n\nObject.defineProperty(HandlerInfo.prototype, 'handlerPromise', {\n  get: function() {\n    if (this._handlerPromise) {\n      return this._handlerPromise;\n    }\n\n    this.fetchHandler();\n\n    return this._handlerPromise;\n  },\n\n  set: function(handlerPromise) {\n    return this._handlerPromise = handlerPromise;\n  }\n});\n\nfunction 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\nvar ResolvedHandlerInfo = subclass(HandlerInfo, {\n  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  getUnresolved: function() {\n    return this.factory('param', {\n      name: this.name,\n      handler: this.handler,\n      params: this.params\n    });\n  },\n\n  isResolved: true\n});\n\nvar UnresolvedHandlerInfoByObject = subclass(HandlerInfo, {\n  getModel: function(payload) {\n    this.log(payload, this.name + \": resolving provided model\");\n    return rsvp.Promise.resolve(this.context);\n  },\n\n  initialize: function(props) {\n    this.names = props.names || [];\n    this.context = props.context;\n  },\n\n  /**\n    @private\n\n    Serializes a handler using its custom `serialize` method or\n    by a default that looks up the expected property name from\n    the dynamic segment.\n\n    @param {Object} model the model to be serialized for this handler\n  */\n  serialize: function(_model) {\n    var model = _model || this.context,\n        names = this.names,\n        serializer = this.serializer || (this.handler && this.handler.serialize);\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 (serializer) {\n      return serializer(model, names);\n    }\n\n    if (names.length !== 1) { return; }\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\n// Generated by URL transitions and non-dynamic route segments in named Transitions.\nvar UnresolvedHandlerInfoByParam = subclass (HandlerInfo, {\n  initialize: function(props) {\n    this.params = props.params || {};\n  },\n\n  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') ||\n                   resolveHook(handler, 'model');\n\n    return this.runSharedModelHook(payload, hookName, [fullParams]);\n  }\n});\n\nhandlerInfoFactory.klasses = {\n  resolved: ResolvedHandlerInfo,\n  param: UnresolvedHandlerInfoByParam,\n  object: UnresolvedHandlerInfoByObject\n};\n\nfunction handlerInfoFactory(name, props) {\n  var Ctor = handlerInfoFactory.klasses[name],\n      handlerInfo = new Ctor(props || {});\n  handlerInfo.factory = handlerInfoFactory;\n  return handlerInfo;\n}\n\nvar NamedTransitionIntent = subclass(TransitionIntent, {\n  name: null,\n  pivotHandler: null,\n  contexts: null,\n  queryParams: null,\n\n  initialize: function(props) {\n    this.name = props.name;\n    this.pivotHandler = props.pivotHandler;\n    this.contexts = props.contexts || [];\n    this.queryParams = props.queryParams;\n  },\n\n  applyToState: function(oldState, recognizer, getHandler, isIntermediate, getSerializer) {\n\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  applyToHandlers: function(oldState, handlers, getHandler, targetRouteName, isIntermediate, checkingIfActive, getSerializer) {\n\n    var i, len;\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      var result = handlers[i];\n      var name = result.handler;\n\n      var oldHandlerInfo = oldState.handlerInfos[i];\n      var newHandlerInfo = null;\n\n      if (result.names.length > 0) {\n        if (i >= invalidateIndex) {\n          newHandlerInfo = this.createParamHandlerInfo(name, getHandler, result.names, objects, oldHandlerInfo);\n        } else {\n          var serializer = getSerializer(name);\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        var oldContext = oldHandlerInfo && oldHandlerInfo.context;\n        if (result.names.length > 0 && 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      var handlerToUse = oldHandlerInfo;\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  invalidateChildren: function(handlerInfos, invalidateIndex) {\n    for (var i = invalidateIndex, l = handlerInfos.length; i < l; ++i) {\n      var handlerInfo = handlerInfos[i];\n      handlerInfos[i] = handlerInfo.getUnresolved();\n    }\n  },\n\n  getHandlerInfoForDynamicSegment: function(name, getHandler, names, objects, oldHandlerInfo, targetRouteName, i, serializer) {\n    var objectToUse;\n    if (objects.length > 0) {\n\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        var preTransitionHandlerInfo = this.preTransitionState.handlerInfos[i];\n        objectToUse = preTransitionHandlerInfo && preTransitionHandlerInfo.context;\n      } else {\n        // Ideally we should throw this error to provide maximal\n        // information to the user that not enough context objects\n        // were provided, but this proves too cumbersome in Ember\n        // in cases where inner template helpers are evaluated\n        // before parent helpers un-render, in which cases this\n        // error somewhat prematurely fires.\n        //throw new Error(\"Not enough context objects were provided to complete a transition to \" + targetRouteName + \". Specifically, the \" + name + \" route needs an object that can be serialized into its dynamic URL segments [\" + names.join(', ') + \"]\");\n        return oldHandlerInfo;\n      }\n    }\n\n    return handlerInfoFactory('object', {\n      name: name,\n      getHandler: getHandler,\n      serializer: serializer,\n      context: objectToUse,\n      names: names\n    });\n  },\n\n  createParamHandlerInfo: function(name, getHandler, names, objects, oldHandlerInfo) {\n    var params = {};\n\n    // Soak up all the provided string/numbers\n    var numNames = names.length;\n    while (numNames--) {\n\n      // Only use old params if the names match with the new handler\n      var oldParams = (oldHandlerInfo && name === oldHandlerInfo.name && oldHandlerInfo.params) || {};\n\n      var peek = objects[objects.length - 1];\n      var paramName = names[numNames];\n      if (isParam(peek)) {\n        params[paramName] = \"\" + objects.pop();\n      } else {\n        // If we're here, this means only some of the params\n        // were string/number params, so try and use a param\n        // value from a previous handler.\n        if (oldParams.hasOwnProperty(paramName)) {\n          params[paramName] = oldParams[paramName];\n        } else {\n          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\nfunction 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\nUnrecognizedURLError.prototype = oCreate(Error.prototype);\n\nvar URLTransitionIntent = subclass(TransitionIntent, {\n  url: null,\n\n  initialize: function(props) {\n    this.url = props.url;\n  },\n\n  applyToState: function(oldState, recognizer, getHandler) {\n    var newState = new TransitionState();\n\n    var results = recognizer.recognize(this.url),\n        i, 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      var result = results[i];\n      var name = result.handler;\n      var newHandlerInfo = handlerInfoFactory('param', {\n        name: name,\n        getHandler: getHandler,\n        params: result.params\n      });\n      var handler = newHandlerInfo.handler;\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      var oldHandlerInfo = oldState.handlerInfos[i];\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\nvar pop = Array.prototype.pop;\n\nfunction Router(_options) {\n  var options = _options || {};\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  this.state = undefined;\n  this.activeTransition = undefined;\n  this._changedQueryParams = undefined;\n  this.oldState = undefined;\n  this.currentHandlerInfos = undefined;\n  this.state = undefined;\n  this.currentSequence = 0;\n\n  this.recognizer = new RouteRecognizer();\n  this.reset();\n}\n\nfunction 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\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        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  // 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\nRouter.prototype = {\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\n    This method extracts the String handler at the last `.to()`\n    call and uses it as the name of the whole route.\n\n    @param {Function} callback\n  */\n  map: function(callback) {\n    this.recognizer.delegate = this.delegate;\n\n    this.recognizer.map(callback, function(recognizer, routes) {\n      for (var i = routes.length - 1, proceed = true; i >= 0 && proceed; --i) {\n        var route = routes[i];\n        recognizer.add(routes, { as: route.handler });\n        proceed = route.path === '/' || route.path === '' || route.handler.slice(-6) === '.index';\n      }\n    });\n  },\n\n  hasRoute: function(route) {\n    return this.recognizer.hasRoute(route);\n  },\n\n  getHandler: function() {},\n\n  getSerializer: function() {},\n\n  queryParamsTransition: function(changelist, wasTransitioning, oldState, newState) {\n    var router = this;\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      var newTransition = new Transition(this);\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  // NOTE: this doesn't really belong here, but here\n  // it shall remain until our ES6 transpiler can\n  // handle cyclical deps.\n  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  /**\n    Clears the current and target route handlers and triggers exit\n    on each of them starting at the leaf and traversing up through\n    its ancestors.\n  */\n  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  activeTransition: null,\n\n  /**\n    var handler = handlerInfo.handler;\n    The entry point for handling a change to the URL (usually\n    via the back and forward button).\n\n    Returns an Array of handlers and the parameters associated\n    with those parameters.\n\n    @param {String} url a URL to process\n\n    @return {Array} an Array of `[handler, parameter]` tuples\n  */\n  handleURL: function(url) {\n    // Perform a URL-based transition, but don't change\n    // the URL afterward, since it already happened.\n    var args = slice.call(arguments);\n    if (url.charAt(0) !== '/') { args[0] = '/' + url; }\n\n    return doTransition(this, args).method(null);\n  },\n\n  /**\n    Hook point for updating the URL.\n\n    @param {String} url a URL to update to\n  */\n  updateURL: function() {\n    throw new Error(\"updateURL is not implemented\");\n  },\n\n  /**\n    Hook point for replacing the current URL, i.e. with replaceState\n\n    By default this behaves the same as `updateURL`\n\n    @param {String} url a URL to update to\n  */\n  replaceURL: function(url) {\n    this.updateURL(url);\n  },\n\n  /**\n    Transition into the specified named route.\n\n    If necessary, trigger the exit callback on any handlers\n    that are no longer represented by the target route.\n\n    @param {String} name the name of the route\n  */\n  transitionTo: function(/*name*/) {\n    return doTransition(this, arguments);\n  },\n\n  intermediateTransitionTo: function(/*name*/) {\n    return doTransition(this, arguments, true);\n  },\n\n  refresh: function(pivotHandler) {\n    var state = this.activeTransition ? this.activeTransition.state : this.state;\n    var handlerInfos = state.handlerInfos;\n    var params = {};\n    for (var i = 0, len = handlerInfos.length; i < len; ++i) {\n      var handlerInfo = handlerInfos[i];\n      params[handlerInfo.name] = handlerInfo.params || {};\n    }\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    return this.transitionByIntent(intent, false);\n  },\n\n  /**\n    Identical to `transitionTo` except that the current URL will be replaced\n    if possible.\n\n    This method is intended primarily for use with `replaceState`.\n\n    @param {String} name the name of the route\n  */\n  replaceWith: function(/*name*/) {\n    return doTransition(this, arguments).method('replace');\n  },\n\n  /**\n    Take a named route and context objects and generate a\n    URL.\n\n    @param {String} name the name of the route to generate\n      a URL for\n    @param {...Object} objects a list of objects to serialize\n\n    @return {String} a URL\n  */\n  generate: function(handlerName) {\n\n    var partitionedArgs = extractQueryParams(slice.call(arguments, 1)),\n      suppliedParams = partitionedArgs[0],\n      queryParams = partitionedArgs[1];\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({ name: handlerName, contexts: suppliedParams });\n    var state = intent.applyToState(this.state, this.recognizer, this.getHandler, null, this.getSerializer);\n    var params = {};\n\n    for (var i = 0, len = state.handlerInfos.length; i < len; ++i) {\n      var handlerInfo = state.handlerInfos[i];\n      var handlerParams = handlerInfo.serialize();\n      merge(params, handlerParams);\n    }\n    params.queryParams = queryParams;\n\n    return this.recognizer.generate(handlerName, params);\n  },\n\n  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    return intent.applyToState(state, this.recognizer, this.getHandler, null, this.getSerializer);\n  },\n\n  isActiveIntent: function(handlerName, contexts, queryParams, _state) {\n    var state = _state || this.state,\n        targetHandlerInfos = state.handlerInfos,\n        handlerInfo, len;\n\n    if (!targetHandlerInfos.length) { return false; }\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) { break; }\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) &&\n          activeQPsOnNewHandler.hasOwnProperty(key)) {\n        activeQPsOnNewHandler[key] = activeQueryParams[key];\n      }\n    }\n\n    return handlersEqual && !getChangelist(activeQPsOnNewHandler, queryParams);\n  },\n\n  isActive: function(handlerName) {\n    var partitionedArgs = extractQueryParams(slice.call(arguments, 1));\n    return this.isActiveIntent(handlerName, partitionedArgs[0], partitionedArgs[1]);\n  },\n\n  trigger: function(/*name*/) {\n    var args = slice.call(arguments);\n    trigger(this, this.currentHandlerInfos, false, args);\n  },\n\n  /**\n    Hook point for logging transition status updates.\n\n    @param {String} message The message to log.\n  */\n  log: null\n};\n\n/**\n  @private\n\n  Fires queryParamsDidChange event\n*/\nfunction fireQueryParamDidChange(router, newState, queryParamChangelist) {\n  // If queryParams changed trigger event\n  if (queryParamChangelist) {\n\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*/\nfunction 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/**\n  @private\n\n  Helper method used by setupContexts. Handles errors or redirects\n  that may happen in enter/setup.\n*/\nfunction 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/**\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*/\nfunction partitionHandlers(oldState, newState) {\n  var oldHandlers = oldState.handlerInfos;\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, contextChanged = false, i, l;\n\n  for (i=0, l=newHandlers.length; i<l; i++) {\n    var oldHandler = oldHandlers[i], newHandler = newHandlers[i];\n\n    if (!oldHandler || oldHandler.handler !== newHandler.handler) {\n      handlerChanged = true;\n    }\n\n    if (handlerChanged) {\n      handlers.entered.push(newHandler);\n      if (oldHandler) { handlers.exited.unshift(oldHandler); }\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\nfunction updateURL(transition, state/*, inputUrl*/) {\n  var urlMethod = transition.urlMethod;\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 (var i = handlerInfos.length - 1; i >= 0; --i) {\n    var handlerInfo = handlerInfos[i];\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    var 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    var 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    var replaceAndNotAborting = (\n      urlMethod === 'replace' &&\n      !transition.isCausedByAbortingTransition\n    );\n\n    if (initial || replaceAndNotAborting) {\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 */\nfunction finalizeTransition(transition, newState) {\n\n  try {\n    log(transition.router, transition.sequence, \"Resolved all models on destination route; finalizing transition.\");\n\n    var router = transition.router,\n        handlerInfos = newState.handlerInfos;\n\n    // Run all the necessary enter/setup/exit hooks\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      var infos = transition.state.handlerInfos;\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*/\nfunction doTransition(router, args, isIntermediate) {\n  // Normalize blank transitions to root URL transitions.\n  var name = args[0] || '/';\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\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    var handlerInfos = router.state.handlerInfos;\n    intent = new NamedTransitionIntent({\n      name: handlerInfos[handlerInfos.length - 1].name,\n      contexts: [],\n      queryParams: queryParams\n    });\n\n  } else if (name.charAt(0) === '/') {\n\n    log(router, \"Attempting URL transition to \" + name);\n    intent = new URLTransitionIntent({ url: name });\n\n  } else {\n\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\nfunction handlerInfosEqual(handlerInfos, otherHandlerInfos) {\n  if (handlerInfos.length !== otherHandlerInfos.length) {\n    return false;\n  }\n\n  for (var i = 0, len = handlerInfos.length; i < len; ++i) {\n    if (handlerInfos[i] !== otherHandlerInfos[i]) {\n      return false;\n    }\n  }\n  return true;\n}\n\nfunction 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) &&\n        newQueryParams[k] === null) {\n      delete newQueryParams[k];\n    }\n  }\n\n  var finalQueryParamsArray = [];\n  trigger(router, resolvedHandlers, true, ['finalizeQueryParamChange', newQueryParams, finalQueryParamsArray, transition]);\n\n  if (transition) {\n    transition._visibleQueryParams = {};\n  }\n\n  var finalQueryParams = {};\n  for (var i = 0, len = finalQueryParamsArray.length; i < len; ++i) {\n    var qp = finalQueryParamsArray[i];\n    finalQueryParams[qp.key] = qp.value;\n    if (transition && qp.visible !== false) {\n      transition._visibleQueryParams[qp.key] = qp.value;\n    }\n  }\n  return finalQueryParams;\n}\n\nfunction notifyExistingHandlers(router, newState, newTransition) {\n  var oldHandlers = router.state.handlerInfos,\n      changing = [],\n      leavingIndex = null,\n      leaving, leavingChecker, i, oldHandlerLen, oldHandler, 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      leavingIndex = i;\n      break;\n    }\n\n    if (!newHandler.isResolved) {\n      changing.push(oldHandler);\n    }\n  }\n\n  if (leavingIndex !== null) {\n    leaving = oldHandlers.slice(leavingIndex, oldHandlerLen);\n    leavingChecker = function(name) {\n      for (var h = 0, len = leaving.length; h < len; h++) {\n        if (leaving[h].name === name) {\n          return true;\n        }\n      }\n      return false;\n    };\n  }\n\n  trigger(router, oldHandlers, true, ['willTransition', newTransition]);\n\n  if (router.willTransition) {\n    router.willTransition(oldHandlers, newState.handlerInfos, newTransition);\n  }\n}\n\nexports['default'] = Router;\nexports.Transition = Transition;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n});\nenifed('rsvp', ['exports'], function (exports) {\n  'use strict';\n\n  var _rsvp;\n\n  function indexOf(callbacks, callback) {\n    for (var i = 0, l = callbacks.length; i < l; i++) {\n      if (callbacks[i] === callback) {\n        return i;\n      }\n    }\n\n    return -1;\n  }\n\n  function callbacksFor(object) {\n    var callbacks = object._promiseCallbacks;\n\n    if (!callbacks) {\n      callbacks = object._promiseCallbacks = {};\n    }\n\n    return callbacks;\n  }\n\n  /**\n    @class RSVP.EventTarget\n  */\n  var EventTarget = {\n\n    /**\n      `RSVP.EventTarget.mixin` extends an object with EventTarget methods. For\n      Example:\n       ```javascript\n      let object = {};\n       RSVP.EventTarget.mixin(object);\n       object.on('finished', function(event) {\n        // handle event\n      });\n       object.trigger('finished', { detail: value });\n      ```\n       `EventTarget.mixin` also works with prototypes:\n       ```javascript\n      let Person = function() {};\n      RSVP.EventTarget.mixin(Person.prototype);\n       let yehuda = new Person();\n      let tom = new Person();\n       yehuda.on('poke', function(event) {\n        console.log('Yehuda says OW');\n      });\n       tom.on('poke', function(event) {\n        console.log('Tom says OW');\n      });\n       yehuda.trigger('poke');\n      tom.trigger('poke');\n      ```\n       @method mixin\n      @for RSVP.EventTarget\n      @private\n      @param {Object} object object to extend with EventTarget methods\n    */\n    mixin: function (object) {\n      object['on'] = this['on'];\n      object['off'] = this['off'];\n      object['trigger'] = this['trigger'];\n      object._promiseCallbacks = undefined;\n      return object;\n    },\n\n    /**\n      Registers a callback to be executed when `eventName` is triggered\n       ```javascript\n      object.on('event', function(eventInfo){\n        // handle the event\n      });\n       object.trigger('event');\n      ```\n       @method on\n      @for RSVP.EventTarget\n      @private\n      @param {String} eventName name of the event to listen for\n      @param {Function} callback function to be called when the event is triggered.\n    */\n    on: function (eventName, callback) {\n      if (typeof callback !== 'function') {\n        throw new TypeError('Callback must be a function');\n      }\n\n      var allCallbacks = callbacksFor(this),\n          callbacks = undefined;\n\n      callbacks = allCallbacks[eventName];\n\n      if (!callbacks) {\n        callbacks = allCallbacks[eventName] = [];\n      }\n\n      if (indexOf(callbacks, callback) === -1) {\n        callbacks.push(callback);\n      }\n    },\n\n    /**\n      You can use `off` to stop firing a particular callback for an event:\n       ```javascript\n      function doStuff() { // do stuff! }\n      object.on('stuff', doStuff);\n       object.trigger('stuff'); // doStuff will be called\n       // Unregister ONLY the doStuff callback\n      object.off('stuff', doStuff);\n      object.trigger('stuff'); // doStuff will NOT be called\n      ```\n       If you don't pass a `callback` argument to `off`, ALL callbacks for the\n      event will not be executed when the event fires. For example:\n       ```javascript\n      let callback1 = function(){};\n      let callback2 = function(){};\n       object.on('stuff', callback1);\n      object.on('stuff', callback2);\n       object.trigger('stuff'); // callback1 and callback2 will be executed.\n       object.off('stuff');\n      object.trigger('stuff'); // callback1 and callback2 will not be executed!\n      ```\n       @method off\n      @for RSVP.EventTarget\n      @private\n      @param {String} eventName event to stop listening to\n      @param {Function} callback optional argument. If given, only the function\n      given will be removed from the event's callback queue. If no `callback`\n      argument is given, all callbacks will be removed from the event's callback\n      queue.\n    */\n    off: function (eventName, callback) {\n      var allCallbacks = callbacksFor(this),\n          callbacks = undefined,\n          index = undefined;\n\n      if (!callback) {\n        allCallbacks[eventName] = [];\n        return;\n      }\n\n      callbacks = allCallbacks[eventName];\n\n      index = indexOf(callbacks, callback);\n\n      if (index !== -1) {\n        callbacks.splice(index, 1);\n      }\n    },\n\n    /**\n      Use `trigger` to fire custom events. For example:\n       ```javascript\n      object.on('foo', function(){\n        console.log('foo event happened!');\n      });\n      object.trigger('foo');\n      // 'foo event happened!' logged to the console\n      ```\n       You can also pass a value as a second argument to `trigger` that will be\n      passed as an argument to all event listeners for the event:\n       ```javascript\n      object.on('foo', function(value){\n        console.log(value.name);\n      });\n       object.trigger('foo', { name: 'bar' });\n      // 'bar' logged to the console\n      ```\n       @method trigger\n      @for RSVP.EventTarget\n      @private\n      @param {String} eventName name of the event to be triggered\n      @param {*} options optional value to be passed to any event handlers for\n      the given `eventName`\n    */\n    trigger: function (eventName, options, label) {\n      var allCallbacks = callbacksFor(this),\n          callbacks = undefined,\n          callback = undefined;\n\n      if (callbacks = allCallbacks[eventName]) {\n        // Don't cache the callbacks.length since it may grow\n        for (var i = 0; i < callbacks.length; i++) {\n          callback = callbacks[i];\n\n          callback(options, label);\n        }\n      }\n    }\n  };\n\n  var config = {\n    instrument: false\n  };\n\n  EventTarget['mixin'](config);\n\n  function configure(name, value) {\n    if (name === 'onerror') {\n      // handle for legacy users that expect the actual\n      // error to be passed to their function added via\n      // `RSVP.configure('onerror', someFunctionHere);`\n      config['on']('error', value);\n      return;\n    }\n\n    if (arguments.length === 2) {\n      config[name] = value;\n    } else {\n      return config[name];\n    }\n  }\n\n  function objectOrFunction(x) {\n    return typeof x === 'function' || typeof x === 'object' && x !== null;\n  }\n\n  function isFunction(x) {\n    return typeof x === 'function';\n  }\n\n  function isMaybeThenable(x) {\n    return typeof x === 'object' && x !== null;\n  }\n\n  var _isArray = undefined;\n  if (!Array.isArray) {\n    _isArray = function (x) {\n      return Object.prototype.toString.call(x) === '[object Array]';\n    };\n  } else {\n    _isArray = Array.isArray;\n  }\n\n  var isArray = _isArray;\n\n  // Date.now is not available in browsers < IE9\n  // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/now#Compatibility\n  var now = Date.now || function () {\n    return new Date().getTime();\n  };\n\n  function F() {}\n\n  var o_create = Object.create || function (o) {\n    if (arguments.length > 1) {\n      throw new Error('Second argument not supported');\n    }\n    if (typeof o !== 'object') {\n      throw new TypeError('Argument must be an object');\n    }\n    F.prototype = o;\n    return new F();\n  };\n\n  var queue = [];\n\n  function scheduleFlush() {\n    setTimeout(function () {\n      for (var i = 0; i < queue.length; i++) {\n        var entry = queue[i];\n\n        var payload = entry.payload;\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: 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(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 noop() {}\n\n  var PENDING = void 0;\n  var FULFILLED = 1;\n  var REJECTED = 2;\n\n  var GET_THEN_ERROR = new ErrorObject();\n\n  function getThen(promise) {\n    try {\n      return promise.then;\n    } catch (error) {\n      GET_THEN_ERROR.error = error;\n      return GET_THEN_ERROR;\n    }\n  }\n\n  function tryThen(then, value, fulfillmentHandler, rejectionHandler) {\n    try {\n      then.call(value, fulfillmentHandler, rejectionHandler);\n    } catch (e) {\n      return e;\n    }\n  }\n\n  function handleForeignThenable(promise, thenable, then) {\n    config.async(function (promise) {\n      var sealed = false;\n      var error = tryThen(then, thenable, function (value) {\n        if (sealed) {\n          return;\n        }\n        sealed = true;\n        if (thenable !== value) {\n          resolve(promise, value, undefined);\n        } else {\n          fulfill(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 && error) {\n        sealed = true;\n        reject(promise, error);\n      }\n    }, promise);\n  }\n\n  function handleOwnThenable(promise, thenable) {\n    if (thenable._state === FULFILLED) {\n      fulfill(promise, thenable._result);\n    } else if (thenable._state === REJECTED) {\n      thenable._onError = null;\n      reject(promise, thenable._result);\n    } else {\n      subscribe(thenable, undefined, function (value) {\n        if (thenable !== value) {\n          resolve(promise, value, undefined);\n        } else {\n          fulfill(promise, value);\n        }\n      }, function (reason) {\n        return reject(promise, reason);\n      });\n    }\n  }\n\n  function handleMaybeThenable(promise, maybeThenable, then$$) {\n    if (maybeThenable.constructor === promise.constructor && then$$ === then && promise.constructor.resolve === resolve$1) {\n      handleOwnThenable(promise, maybeThenable);\n    } else {\n      if (then$$ === GET_THEN_ERROR) {\n        reject(promise, GET_THEN_ERROR.error);\n        GET_THEN_ERROR.error = null;\n      } else if (then$$ === undefined) {\n        fulfill(promise, maybeThenable);\n      } else if (isFunction(then$$)) {\n        handleForeignThenable(promise, maybeThenable, then$$);\n      } else {\n        fulfill(promise, maybeThenable);\n      }\n    }\n  }\n\n  function resolve(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    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 = undefined,\n        callback = undefined,\n        detail = promise._result;\n\n    for (var i = 0; i < subscribers.length; i += 3) {\n      child = subscribers[i];\n      callback = subscribers[i + settled];\n\n      if (child) {\n        invokeCallback(settled, child, callback, detail);\n      } else {\n        callback(detail);\n      }\n    }\n\n    promise._subscribers.length = 0;\n  }\n\n  function ErrorObject() {\n    this.error = null;\n  }\n\n  var TRY_CATCH_ERROR = new ErrorObject();\n\n  function tryCatch(callback, detail) {\n    try {\n      return callback(detail);\n    } catch (e) {\n      TRY_CATCH_ERROR.error = e;\n      return TRY_CATCH_ERROR;\n    }\n  }\n\n  function invokeCallback(settled, promise, callback, detail) {\n    var hasCallback = isFunction(callback),\n        value = undefined,\n        error = undefined,\n        succeeded = undefined,\n        failed = undefined;\n\n    if (hasCallback) {\n      value = tryCatch(callback, detail);\n\n      if (value === TRY_CATCH_ERROR) {\n        failed = true;\n        error = value.error;\n        value.error = null; // release\n      } else {\n          succeeded = true;\n        }\n\n      if (promise === value) {\n        reject(promise, withOwnPromise());\n        return;\n      }\n    } else {\n      value = detail;\n      succeeded = true;\n    }\n\n    if (promise._state !== PENDING) {\n      // noop\n    } else if (hasCallback && succeeded) {\n        resolve(promise, value);\n      } else if (failed) {\n        reject(promise, error);\n      } else if (settled === FULFILLED) {\n        fulfill(promise, value);\n      } else if (settled === 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(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 _arguments = arguments;\n\n    var parent = this;\n    var state = parent._state;\n\n    if (state === FULFILLED && !onFulfillment || state === REJECTED && !onRejection) {\n      config.instrument && instrument('chained', parent, parent);\n      return parent;\n    }\n\n    parent._onError = null;\n\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) {\n      (function () {\n        var callback = _arguments[state - 1];\n        config.async(function () {\n          return invokeCallback(state, child, callback, result);\n        });\n      })();\n    } else {\n      subscribe(parent, child, onFulfillment, onRejection);\n    }\n\n    return child;\n  }\n\n  function makeSettledResult(state, position, value) {\n    if (state === FULFILLED) {\n      return {\n        state: 'fulfilled',\n        value: value\n      };\n    } else {\n      return {\n        state: 'rejected',\n        reason: value\n      };\n    }\n  }\n\n  function Enumerator(Constructor, input, abortOnReject, label) {\n    this._instanceConstructor = Constructor;\n    this.promise = new Constructor(noop, label);\n    this._abortOnReject = abortOnReject;\n\n    if (this._validateInput(input)) {\n      this._input = input;\n      this.length = input.length;\n      this._remaining = input.length;\n\n      this._init();\n\n      if (this.length === 0) {\n        fulfill(this.promise, this._result);\n      } else {\n        this.length = this.length || 0;\n        this._enumerate();\n        if (this._remaining === 0) {\n          fulfill(this.promise, this._result);\n        }\n      }\n    } else {\n      reject(this.promise, this._validationError());\n    }\n  }\n\n  Enumerator.prototype._validateInput = function (input) {\n    return isArray(input);\n  };\n\n  Enumerator.prototype._validationError = function () {\n    return new Error('Array Methods must be provided an Array');\n  };\n\n  Enumerator.prototype._init = function () {\n    this._result = new Array(this.length);\n  };\n\n  Enumerator.prototype._enumerate = function () {\n    var length = this.length;\n    var promise = this.promise;\n    var input = this._input;\n\n    for (var i = 0; promise._state === PENDING && i < length; i++) {\n      this._eachEntry(input[i], i);\n    }\n  };\n\n  Enumerator.prototype._settleMaybeThenable = function (entry, i) {\n    var c = this._instanceConstructor;\n    var resolve = c.resolve;\n\n    if (resolve === resolve$1) {\n      var then$$ = getThen(entry);\n\n      if (then$$ === then && entry._state !== PENDING) {\n        entry._onError = null;\n        this._settledAt(entry._state, i, entry._result);\n      } else if (typeof then$$ !== 'function') {\n        this._remaining--;\n        this._result[i] = this._makeResult(FULFILLED, i, entry);\n      } else if (c === Promise) {\n        var promise = new c(noop);\n        handleMaybeThenable(promise, entry, then$$);\n        this._willSettleAt(promise, i);\n      } else {\n        this._willSettleAt(new c(function (resolve) {\n          return resolve(entry);\n        }), i);\n      }\n    } else {\n      this._willSettleAt(resolve(entry), i);\n    }\n  };\n\n  Enumerator.prototype._eachEntry = function (entry, i) {\n    if (isMaybeThenable(entry)) {\n      this._settleMaybeThenable(entry, i);\n    } else {\n      this._remaining--;\n      this._result[i] = this._makeResult(FULFILLED, i, entry);\n    }\n  };\n\n  Enumerator.prototype._settledAt = function (state, i, value) {\n    var promise = this.promise;\n\n    if (promise._state === PENDING) {\n      this._remaining--;\n\n      if (this._abortOnReject && state === REJECTED) {\n        reject(promise, value);\n      } else {\n        this._result[i] = this._makeResult(state, i, value);\n      }\n    }\n\n    if (this._remaining === 0) {\n      fulfill(promise, this._result);\n    }\n  };\n\n  Enumerator.prototype._makeResult = function (state, i, value) {\n    return value;\n  };\n\n  Enumerator.prototype._willSettleAt = function (promise, i) {\n    var enumerator = this;\n\n    subscribe(promise, undefined, function (value) {\n      return enumerator._settledAt(FULFILLED, i, value);\n    }, function (reason) {\n      return enumerator._settledAt(REJECTED, i, reason);\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  function all(entries, label) {\n    return new Enumerator(this, entries, true, /* abort on reject */label).promise;\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  function race(entries, label) {\n    /*jshint validthis:true */\n    var Constructor = this;\n\n    var promise = new Constructor(noop, label);\n\n    if (!isArray(entries)) {\n      reject(promise, new TypeError('You must pass an array to race.'));\n      return promise;\n    }\n\n    for (var i = 0; promise._state === PENDING && i < entries.length; i++) {\n      subscribe(Constructor.resolve(entries[i]), undefined, function (value) {\n        return resolve(promise, value);\n      }, function (reason) {\n        return reject(promise, reason);\n      });\n    }\n\n    return promise;\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  function reject$1(reason, label) {\n    /*jshint validthis:true */\n    var Constructor = this;\n    var promise = new Constructor(noop, label);\n    reject(promise, reason);\n    return promise;\n  }\n\n  var guidKey = 'rsvp_' + 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  function Promise(resolver, label) {\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.cast = resolve$1; // deprecated\n  Promise.all = all;\n  Promise.race = race;\n  Promise.resolve = resolve$1;\n  Promise.reject = reject$1;\n\n  Promise.prototype = {\n    constructor: Promise,\n\n    _guidKey: guidKey,\n\n    _onError: function (reason) {\n      var promise = this;\n      config.after(function () {\n        if (promise._onError) {\n          config['trigger']('error', reason, promise._label);\n        }\n      });\n    },\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    then: then,\n\n    /**\n      `catch` is simply sugar for `then(undefined, onRejection)` which makes it the same\n      as the catch block of a try/catch statement.\n    \n      ```js\n      function findAuthor(){\n        throw new Error('couldn\\'t find that author');\n      }\n    \n      // synchronous\n      try {\n        findAuthor();\n      } catch(reason) {\n        // something went wrong\n      }\n    \n      // async with promises\n      findAuthor().catch(function(reason){\n        // something went wrong\n      });\n      ```\n    \n      @method catch\n      @param {Function} onRejection\n      @param {String} label optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n    */\n    catch: function (onRejection, label) {\n      return this.then(undefined, onRejection, label);\n    },\n\n    /**\n      `finally` will be invoked regardless of the promise's fate just as native\n      try/catch/finally behaves\n    \n      Synchronous example:\n    \n      ```js\n      findAuthor() {\n        if (Math.random() > 0.5) {\n          throw new Error();\n        }\n        return new Author();\n      }\n    \n      try {\n        return findAuthor(); // succeed or fail\n      } catch(error) {\n        return findOtherAuthor();\n      } finally {\n        // always runs\n        // doesn't affect the return value\n      }\n      ```\n    \n      Asynchronous example:\n    \n      ```js\n      findAuthor().catch(function(reason){\n        return findOtherAuthor();\n      }).finally(function(){\n        // author was either found, or not\n      });\n      ```\n    \n      @method finally\n      @param {Function} callback\n      @param {String} label optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n    */\n    finally: 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\n  function Result() {\n    this.value = undefined;\n  }\n\n  var ERROR = new Result();\n  var GET_THEN_ERROR$1 = new Result();\n\n  function getThen$1(obj) {\n    try {\n      return obj.then;\n    } catch (error) {\n      ERROR.value = error;\n      return ERROR;\n    }\n  }\n\n  function tryApply(f, s, a) {\n    try {\n      f.apply(s, a);\n    } catch (error) {\n      ERROR.value = error;\n      return ERROR;\n    }\n  }\n\n  function makeObject(_, argumentNames) {\n    var obj = {};\n    var length = _.length;\n    var args = new Array(length);\n\n    for (var x = 0; x < length; x++) {\n      args[x] = _[x];\n    }\n\n    for (var i = 0; i < argumentNames.length; i++) {\n      var _name = argumentNames[i];\n      obj[_name] = args[i + 1];\n    }\n\n    return obj;\n  }\n\n  function arrayResult(_) {\n    var length = _.length;\n    var args = new Array(length - 1);\n\n    for (var i = 1; i < length; i++) {\n      args[i - 1] = _[i];\n    }\n\n    return args;\n  }\n\n  function wrapThenable(then, promise) {\n    return {\n      then: function (onFulFillment, onRejection) {\n        return then.call(promise, onFulFillment, onRejection);\n      }\n    };\n  }\n\n  /**\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 self = this;\n      var l = arguments.length;\n      var args = new Array(l + 1);\n      var promiseInput = false;\n\n      for (var i = 0; i < l; ++i) {\n        var arg = arguments[i];\n\n        if (!promiseInput) {\n          // TODO: clean this up\n          promiseInput = needsPromiseInput(arg);\n          if (promiseInput === GET_THEN_ERROR$1) {\n            var p = new Promise(noop);\n            reject(p, GET_THEN_ERROR$1.value);\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) reject(promise, err);else if (options === undefined) resolve(promise, val);else if (options === true) resolve(promise, arrayResult(arguments));else if (isArray(options)) resolve(promise, makeObject(arguments, options));else resolve(promise, val);\n      };\n\n      if (promiseInput) {\n        return handlePromiseInput(promise, args, nodeFunc, self);\n      } else {\n        return handleValueInput(promise, args, nodeFunc, self);\n      }\n    };\n\n    babelHelpers.defaults(fn, nodeFunc);\n\n    return fn;\n  }\n\n  function handleValueInput(promise, args, nodeFunc, self) {\n    var result = tryApply(nodeFunc, self, args);\n    if (result === ERROR) {\n      reject(promise, result.value);\n    }\n    return promise;\n  }\n\n  function handlePromiseInput(promise, args, nodeFunc, self) {\n    return Promise.all(args).then(function (args) {\n      var result = tryApply(nodeFunc, self, args);\n      if (result === ERROR) {\n        reject(promise, result.value);\n      }\n      return promise;\n    });\n  }\n\n  function needsPromiseInput(arg) {\n    if (arg && typeof arg === 'object') {\n      if (arg.constructor === Promise) {\n        return true;\n      } else {\n        return getThen$1(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  function AllSettled(Constructor, entries, label) {\n    this._superConstructor(Constructor, entries, false, /* don't abort on reject */label);\n  }\n\n  AllSettled.prototype = o_create(Enumerator.prototype);\n  AllSettled.prototype._superConstructor = Enumerator;\n  AllSettled.prototype._makeResult = makeSettledResult;\n  AllSettled.prototype._validationError = function () {\n    return new Error('allSettled must be called with an array');\n  };\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  \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  \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  \n    ```javascript\n    { state: 'fulfilled', value: value }\n      or\n    { state: 'rejected', reason: reason }\n    ```\n  \n    Example:\n  \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  \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  \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    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  function PromiseHash(Constructor, object, label) {\n    this._superConstructor(Constructor, object, true, label);\n  }\n\n  PromiseHash.prototype = o_create(Enumerator.prototype);\n  PromiseHash.prototype._superConstructor = Enumerator;\n  PromiseHash.prototype._init = function () {\n    this._result = {};\n  };\n\n  PromiseHash.prototype._validateInput = function (input) {\n    return input && typeof input === 'object';\n  };\n\n  PromiseHash.prototype._validationError = function () {\n    return new Error('Promise.hash must be called with an object');\n  };\n\n  PromiseHash.prototype._enumerate = function () {\n    var enumerator = this;\n    var promise = enumerator.promise;\n    var input = enumerator._input;\n    var results = [];\n\n    for (var key in input) {\n      if (promise._state === PENDING && Object.prototype.hasOwnProperty.call(input, key)) {\n        results.push({\n          position: key,\n          entry: input[key]\n        });\n      }\n    }\n\n    var length = results.length;\n    enumerator._remaining = length;\n    var result = undefined;\n\n    for (var i = 0; promise._state === PENDING && i < length; i++) {\n      result = results[i];\n      enumerator._eachEntry(result.entry, result.position);\n    }\n  };\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    return new PromiseHash(Promise, object, label).promise;\n  }\n\n  function HashSettled(Constructor, object, label) {\n    this._superConstructor(Constructor, object, false, label);\n  }\n\n  HashSettled.prototype = o_create(PromiseHash.prototype);\n  HashSettled.prototype._superConstructor = Enumerator;\n  HashSettled.prototype._makeResult = makeSettledResult;\n\n  HashSettled.prototype._validationError = function () {\n    return new Error('hashSettled must be called with an object');\n  };\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  function hashSettled(object, label) {\n    return new HashSettled(Promise, object, 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  /**\n   `RSVP.map` is similar to JavaScript's native `map` method, except that it\n    waits for all promises to become fulfilled before running the `mapFn` on\n    each item in given to `promises`. `RSVP.map` returns a promise that will\n    become fulfilled with the result of running `mapFn` on the values the promises\n    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    return Promise.all(promises, label).then(function (values) {\n      if (!isFunction(mapFn)) {\n        throw new TypeError(\"You must pass a function as map's second argument.\");\n      }\n\n      var length = values.length;\n      var results = new Array(length);\n\n      for (var i = 0; i < length; i++) {\n        results[i] = mapFn(values[i]);\n      }\n\n      return Promise.all(results, label);\n    });\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  /**\n   `RSVP.filter` is similar to JavaScript's native `filter` method, except that it\n    waits for all promises to become fulfilled before running the `filterFn` on\n    each item in given to `promises`. `RSVP.filter` returns a promise that will\n    become fulfilled with the result of running `filterFn` on the values the\n    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 resolveAll(promises, label) {\n    return Promise.all(promises, label);\n  }\n\n  function resolveSingle(promise, label) {\n    return Promise.resolve(promise, label).then(function (promises) {\n      return resolveAll(promises, label);\n    });\n  }\n\n  function filter(promises, filterFn, label) {\n    var promise = isArray(promises) ? resolveAll(promises, label) : resolveSingle(promises, label);\n    return promise.then(function (values) {\n      if (!isFunction(filterFn)) {\n        throw new TypeError(\"You must pass a function as filter's second argument.\");\n      }\n\n      var length = values.length;\n      var filtered = new Array(length);\n\n      for (var i = 0; i < length; i++) {\n        filtered[i] = filterFn(values[i]);\n      }\n\n      return resolveAll(filtered, label).then(function (filtered) {\n        var results = new Array(length);\n        var newLength = 0;\n\n        for (var i = 0; i < length; i++) {\n          if (filtered[i]) {\n            results[newLength] = values[i];\n            newLength++;\n          }\n        }\n\n        results.length = newLength;\n\n        return results;\n      });\n    });\n  }\n\n  var len = 0;\n  var vertxNext = undefined;\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    for (var i = 0; i < len; i += 2) {\n      var callback = queue$1[i];\n      var arg = queue$1[i + 1];\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    try {\n      var r = require;\n      var vertx = r('vertx');\n      vertxNext = vertx.runOnLoop || vertx.runOnContext;\n      return useVertxTimer();\n    } catch (e) {\n      return useSetTimeout();\n    }\n  }\n\n  var scheduleFlush$1 = undefined;\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 require === 'function') {\n    scheduleFlush$1 = attemptVertex();\n  } else {\n    scheduleFlush$1 = useSetTimeout();\n  }\n\n  var platform = undefined;\n\n  /* global self */\n  if (typeof self === 'object') {\n    platform = self;\n\n    /* global global */\n  } else if (typeof global === 'object') {\n      platform = global;\n    } else {\n      throw new Error('no global: `self` or `global` found');\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    var callbacks = window['__PROMISE_INSTRUMENTATION__'];\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  var rsvp = (_rsvp = {\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  }, _rsvp['async'] = async, _rsvp.filter = // babel seems to error if async isn't a computed prop here...\n  filter, _rsvp);\n\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  exports.default = rsvp;\n});\nrequireModule(\"ember\");\n\n}());\n","(function () {\n  function vendorModule() {\n    'use strict';\n\n    return {\n      'default': self['jQuery'],\n      __esModule: true\n    };\n  }\n\n  define('jquery', [], vendorModule);\n})();","/* globals document, self, top */\n(function () {\n  if (self === top) {\n    var antiClickjack = document.getElementById('antiClickjack')\n\n    if (!antiClickjack) return\n\n    antiClickjack.parentNode.removeChild(antiClickjack)\n  } else {\n    top.location = self.location\n  }\n})()\n","/*!\n * Chart.js\n * http://chartjs.org/\n * Version: 2.6.0\n *\n * Copyright 2017 Nick Downie\n * Released under the MIT license\n * https://github.com/chartjs/Chart.js/blob/master/LICENSE.md\n */\n(function(f){if(typeof exports===\"object\"&&typeof module!==\"undefined\"){module.exports=f()}else if(typeof define===\"function\"&&define.amd){define([],f)}else{var g;if(typeof window!==\"undefined\"){g=window}else if(typeof global!==\"undefined\"){g=global}else if(typeof self!==\"undefined\"){g=self}else{g=this}g.Chart = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==\"function\"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error(\"Cannot find module '\"+o+\"'\");throw f.code=\"MODULE_NOT_FOUND\",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==\"function\"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){\n\n},{}],2:[function(require,module,exports){\n/* MIT license */\r\nvar colorNames = require(6);\r\n\r\nmodule.exports = {\r\n   getRgba: getRgba,\r\n   getHsla: getHsla,\r\n   getRgb: getRgb,\r\n   getHsl: getHsl,\r\n   getHwb: getHwb,\r\n   getAlpha: getAlpha,\r\n\r\n   hexString: hexString,\r\n   rgbString: rgbString,\r\n   rgbaString: rgbaString,\r\n   percentString: percentString,\r\n   percentaString: percentaString,\r\n   hslString: hslString,\r\n   hslaString: hslaString,\r\n   hwbString: hwbString,\r\n   keyword: keyword\r\n}\r\n\r\nfunction getRgba(string) {\r\n   if (!string) {\r\n      return;\r\n   }\r\n   var abbr =  /^#([a-fA-F0-9]{3})$/,\r\n       hex =  /^#([a-fA-F0-9]{6})$/,\r\n       rgba = /^rgba?\\(\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)$/,\r\n       per = /^rgba?\\(\\s*([+-]?[\\d\\.]+)\\%\\s*,\\s*([+-]?[\\d\\.]+)\\%\\s*,\\s*([+-]?[\\d\\.]+)\\%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)$/,\r\n       keyword = /(\\w+)/;\r\n\r\n   var rgb = [0, 0, 0],\r\n       a = 1,\r\n       match = string.match(abbr);\r\n   if (match) {\r\n      match = match[1];\r\n      for (var i = 0; i < rgb.length; i++) {\r\n         rgb[i] = parseInt(match[i] + match[i], 16);\r\n      }\r\n   }\r\n   else if (match = string.match(hex)) {\r\n      match = match[1];\r\n      for (var i = 0; i < rgb.length; i++) {\r\n         rgb[i] = parseInt(match.slice(i * 2, i * 2 + 2), 16);\r\n      }\r\n   }\r\n   else if (match = string.match(rgba)) {\r\n      for (var i = 0; i < rgb.length; i++) {\r\n         rgb[i] = parseInt(match[i + 1]);\r\n      }\r\n      a = parseFloat(match[4]);\r\n   }\r\n   else if (match = string.match(per)) {\r\n      for (var i = 0; i < rgb.length; i++) {\r\n         rgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55);\r\n      }\r\n      a = parseFloat(match[4]);\r\n   }\r\n   else if (match = string.match(keyword)) {\r\n      if (match[1] == \"transparent\") {\r\n         return [0, 0, 0, 0];\r\n      }\r\n      rgb = colorNames[match[1]];\r\n      if (!rgb) {\r\n         return;\r\n      }\r\n   }\r\n\r\n   for (var i = 0; i < rgb.length; i++) {\r\n      rgb[i] = scale(rgb[i], 0, 255);\r\n   }\r\n   if (!a && a != 0) {\r\n      a = 1;\r\n   }\r\n   else {\r\n      a = scale(a, 0, 1);\r\n   }\r\n   rgb[3] = a;\r\n   return rgb;\r\n}\r\n\r\nfunction getHsla(string) {\r\n   if (!string) {\r\n      return;\r\n   }\r\n   var hsl = /^hsla?\\(\\s*([+-]?\\d+)(?:deg)?\\s*,\\s*([+-]?[\\d\\.]+)%\\s*,\\s*([+-]?[\\d\\.]+)%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)/;\r\n   var match = string.match(hsl);\r\n   if (match) {\r\n      var alpha = parseFloat(match[4]);\r\n      var h = scale(parseInt(match[1]), 0, 360),\r\n          s = scale(parseFloat(match[2]), 0, 100),\r\n          l = scale(parseFloat(match[3]), 0, 100),\r\n          a = scale(isNaN(alpha) ? 1 : alpha, 0, 1);\r\n      return [h, s, l, a];\r\n   }\r\n}\r\n\r\nfunction getHwb(string) {\r\n   if (!string) {\r\n      return;\r\n   }\r\n   var hwb = /^hwb\\(\\s*([+-]?\\d+)(?:deg)?\\s*,\\s*([+-]?[\\d\\.]+)%\\s*,\\s*([+-]?[\\d\\.]+)%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)/;\r\n   var match = string.match(hwb);\r\n   if (match) {\r\n    var alpha = parseFloat(match[4]);\r\n      var h = scale(parseInt(match[1]), 0, 360),\r\n          w = scale(parseFloat(match[2]), 0, 100),\r\n          b = scale(parseFloat(match[3]), 0, 100),\r\n          a = scale(isNaN(alpha) ? 1 : alpha, 0, 1);\r\n      return [h, w, b, a];\r\n   }\r\n}\r\n\r\nfunction getRgb(string) {\r\n   var rgba = getRgba(string);\r\n   return rgba && rgba.slice(0, 3);\r\n}\r\n\r\nfunction getHsl(string) {\r\n  var hsla = getHsla(string);\r\n  return hsla && hsla.slice(0, 3);\r\n}\r\n\r\nfunction getAlpha(string) {\r\n   var vals = getRgba(string);\r\n   if (vals) {\r\n      return vals[3];\r\n   }\r\n   else if (vals = getHsla(string)) {\r\n      return vals[3];\r\n   }\r\n   else if (vals = getHwb(string)) {\r\n      return vals[3];\r\n   }\r\n}\r\n\r\n// generators\r\nfunction hexString(rgb) {\r\n   return \"#\" + hexDouble(rgb[0]) + hexDouble(rgb[1])\r\n              + hexDouble(rgb[2]);\r\n}\r\n\r\nfunction rgbString(rgba, alpha) {\r\n   if (alpha < 1 || (rgba[3] && rgba[3] < 1)) {\r\n      return rgbaString(rgba, alpha);\r\n   }\r\n   return \"rgb(\" + rgba[0] + \", \" + rgba[1] + \", \" + rgba[2] + \")\";\r\n}\r\n\r\nfunction rgbaString(rgba, alpha) {\r\n   if (alpha === undefined) {\r\n      alpha = (rgba[3] !== undefined ? rgba[3] : 1);\r\n   }\r\n   return \"rgba(\" + rgba[0] + \", \" + rgba[1] + \", \" + rgba[2]\r\n           + \", \" + alpha + \")\";\r\n}\r\n\r\nfunction percentString(rgba, alpha) {\r\n   if (alpha < 1 || (rgba[3] && rgba[3] < 1)) {\r\n      return percentaString(rgba, alpha);\r\n   }\r\n   var r = Math.round(rgba[0]/255 * 100),\r\n       g = Math.round(rgba[1]/255 * 100),\r\n       b = Math.round(rgba[2]/255 * 100);\r\n\r\n   return \"rgb(\" + r + \"%, \" + g + \"%, \" + b + \"%)\";\r\n}\r\n\r\nfunction percentaString(rgba, alpha) {\r\n   var r = Math.round(rgba[0]/255 * 100),\r\n       g = Math.round(rgba[1]/255 * 100),\r\n       b = Math.round(rgba[2]/255 * 100);\r\n   return \"rgba(\" + r + \"%, \" + g + \"%, \" + b + \"%, \" + (alpha || rgba[3] || 1) + \")\";\r\n}\r\n\r\nfunction hslString(hsla, alpha) {\r\n   if (alpha < 1 || (hsla[3] && hsla[3] < 1)) {\r\n      return hslaString(hsla, alpha);\r\n   }\r\n   return \"hsl(\" + hsla[0] + \", \" + hsla[1] + \"%, \" + hsla[2] + \"%)\";\r\n}\r\n\r\nfunction hslaString(hsla, alpha) {\r\n   if (alpha === undefined) {\r\n      alpha = (hsla[3] !== undefined ? hsla[3] : 1);\r\n   }\r\n   return \"hsla(\" + hsla[0] + \", \" + hsla[1] + \"%, \" + hsla[2] + \"%, \"\r\n           + alpha + \")\";\r\n}\r\n\r\n// hwb is a bit different than rgb(a) & hsl(a) since there is no alpha specific syntax\r\n// (hwb have alpha optional & 1 is default value)\r\nfunction hwbString(hwb, alpha) {\r\n   if (alpha === undefined) {\r\n      alpha = (hwb[3] !== undefined ? hwb[3] : 1);\r\n   }\r\n   return \"hwb(\" + hwb[0] + \", \" + hwb[1] + \"%, \" + hwb[2] + \"%\"\r\n           + (alpha !== undefined && alpha !== 1 ? \", \" + alpha : \"\") + \")\";\r\n}\r\n\r\nfunction keyword(rgb) {\r\n  return reverseNames[rgb.slice(0, 3)];\r\n}\r\n\r\n// helpers\r\nfunction scale(num, min, max) {\r\n   return Math.min(Math.max(min, num), max);\r\n}\r\n\r\nfunction hexDouble(num) {\r\n  var str = num.toString(16).toUpperCase();\r\n  return (str.length < 2) ? \"0\" + str : str;\r\n}\r\n\r\n\r\n//create a list of reverse color names\r\nvar reverseNames = {};\r\nfor (var name in colorNames) {\r\n   reverseNames[colorNames[name]] = name;\r\n}\r\n\n},{\"6\":6}],3:[function(require,module,exports){\n/* MIT license */\nvar convert = require(5);\nvar string = require(2);\n\nvar Color = function (obj) {\n\tif (obj instanceof Color) {\n\t\treturn obj;\n\t}\n\tif (!(this instanceof Color)) {\n\t\treturn new Color(obj);\n\t}\n\n\tthis.valid = false;\n\tthis.values = {\n\t\trgb: [0, 0, 0],\n\t\thsl: [0, 0, 0],\n\t\thsv: [0, 0, 0],\n\t\thwb: [0, 0, 0],\n\t\tcmyk: [0, 0, 0, 0],\n\t\talpha: 1\n\t};\n\n\t// parse Color() argument\n\tvar vals;\n\tif (typeof obj === 'string') {\n\t\tvals = string.getRgba(obj);\n\t\tif (vals) {\n\t\t\tthis.setValues('rgb', vals);\n\t\t} else if (vals = string.getHsla(obj)) {\n\t\t\tthis.setValues('hsl', vals);\n\t\t} else if (vals = string.getHwb(obj)) {\n\t\t\tthis.setValues('hwb', vals);\n\t\t}\n\t} else if (typeof obj === 'object') {\n\t\tvals = obj;\n\t\tif (vals.r !== undefined || vals.red !== undefined) {\n\t\t\tthis.setValues('rgb', vals);\n\t\t} else if (vals.l !== undefined || vals.lightness !== undefined) {\n\t\t\tthis.setValues('hsl', vals);\n\t\t} else if (vals.v !== undefined || vals.value !== undefined) {\n\t\t\tthis.setValues('hsv', vals);\n\t\t} else if (vals.w !== undefined || vals.whiteness !== undefined) {\n\t\t\tthis.setValues('hwb', vals);\n\t\t} else if (vals.c !== undefined || vals.cyan !== undefined) {\n\t\t\tthis.setValues('cmyk', vals);\n\t\t}\n\t}\n};\n\nColor.prototype = {\n\tisValid: function () {\n\t\treturn this.valid;\n\t},\n\trgb: function () {\n\t\treturn this.setSpace('rgb', arguments);\n\t},\n\thsl: function () {\n\t\treturn this.setSpace('hsl', arguments);\n\t},\n\thsv: function () {\n\t\treturn this.setSpace('hsv', arguments);\n\t},\n\thwb: function () {\n\t\treturn this.setSpace('hwb', arguments);\n\t},\n\tcmyk: function () {\n\t\treturn this.setSpace('cmyk', arguments);\n\t},\n\n\trgbArray: function () {\n\t\treturn this.values.rgb;\n\t},\n\thslArray: function () {\n\t\treturn this.values.hsl;\n\t},\n\thsvArray: function () {\n\t\treturn this.values.hsv;\n\t},\n\thwbArray: function () {\n\t\tvar values = this.values;\n\t\tif (values.alpha !== 1) {\n\t\t\treturn values.hwb.concat([values.alpha]);\n\t\t}\n\t\treturn values.hwb;\n\t},\n\tcmykArray: function () {\n\t\treturn this.values.cmyk;\n\t},\n\trgbaArray: function () {\n\t\tvar values = this.values;\n\t\treturn values.rgb.concat([values.alpha]);\n\t},\n\thslaArray: function () {\n\t\tvar values = this.values;\n\t\treturn values.hsl.concat([values.alpha]);\n\t},\n\talpha: function (val) {\n\t\tif (val === undefined) {\n\t\t\treturn this.values.alpha;\n\t\t}\n\t\tthis.setValues('alpha', val);\n\t\treturn this;\n\t},\n\n\tred: function (val) {\n\t\treturn this.setChannel('rgb', 0, val);\n\t},\n\tgreen: function (val) {\n\t\treturn this.setChannel('rgb', 1, val);\n\t},\n\tblue: function (val) {\n\t\treturn this.setChannel('rgb', 2, val);\n\t},\n\thue: function (val) {\n\t\tif (val) {\n\t\t\tval %= 360;\n\t\t\tval = val < 0 ? 360 + val : val;\n\t\t}\n\t\treturn this.setChannel('hsl', 0, val);\n\t},\n\tsaturation: function (val) {\n\t\treturn this.setChannel('hsl', 1, val);\n\t},\n\tlightness: function (val) {\n\t\treturn this.setChannel('hsl', 2, val);\n\t},\n\tsaturationv: function (val) {\n\t\treturn this.setChannel('hsv', 1, val);\n\t},\n\twhiteness: function (val) {\n\t\treturn this.setChannel('hwb', 1, val);\n\t},\n\tblackness: function (val) {\n\t\treturn this.setChannel('hwb', 2, val);\n\t},\n\tvalue: function (val) {\n\t\treturn this.setChannel('hsv', 2, val);\n\t},\n\tcyan: function (val) {\n\t\treturn this.setChannel('cmyk', 0, val);\n\t},\n\tmagenta: function (val) {\n\t\treturn this.setChannel('cmyk', 1, val);\n\t},\n\tyellow: function (val) {\n\t\treturn this.setChannel('cmyk', 2, val);\n\t},\n\tblack: function (val) {\n\t\treturn this.setChannel('cmyk', 3, val);\n\t},\n\n\thexString: function () {\n\t\treturn string.hexString(this.values.rgb);\n\t},\n\trgbString: function () {\n\t\treturn string.rgbString(this.values.rgb, this.values.alpha);\n\t},\n\trgbaString: function () {\n\t\treturn string.rgbaString(this.values.rgb, this.values.alpha);\n\t},\n\tpercentString: function () {\n\t\treturn string.percentString(this.values.rgb, this.values.alpha);\n\t},\n\thslString: function () {\n\t\treturn string.hslString(this.values.hsl, this.values.alpha);\n\t},\n\thslaString: function () {\n\t\treturn string.hslaString(this.values.hsl, this.values.alpha);\n\t},\n\thwbString: function () {\n\t\treturn string.hwbString(this.values.hwb, this.values.alpha);\n\t},\n\tkeyword: function () {\n\t\treturn string.keyword(this.values.rgb, this.values.alpha);\n\t},\n\n\trgbNumber: function () {\n\t\tvar rgb = this.values.rgb;\n\t\treturn (rgb[0] << 16) | (rgb[1] << 8) | rgb[2];\n\t},\n\n\tluminosity: function () {\n\t\t// http://www.w3.org/TR/WCAG20/#relativeluminancedef\n\t\tvar rgb = this.values.rgb;\n\t\tvar lum = [];\n\t\tfor (var i = 0; i < rgb.length; i++) {\n\t\t\tvar chan = rgb[i] / 255;\n\t\t\tlum[i] = (chan <= 0.03928) ? chan / 12.92 : Math.pow(((chan + 0.055) / 1.055), 2.4);\n\t\t}\n\t\treturn 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];\n\t},\n\n\tcontrast: function (color2) {\n\t\t// http://www.w3.org/TR/WCAG20/#contrast-ratiodef\n\t\tvar lum1 = this.luminosity();\n\t\tvar lum2 = color2.luminosity();\n\t\tif (lum1 > lum2) {\n\t\t\treturn (lum1 + 0.05) / (lum2 + 0.05);\n\t\t}\n\t\treturn (lum2 + 0.05) / (lum1 + 0.05);\n\t},\n\n\tlevel: function (color2) {\n\t\tvar contrastRatio = this.contrast(color2);\n\t\tif (contrastRatio >= 7.1) {\n\t\t\treturn 'AAA';\n\t\t}\n\n\t\treturn (contrastRatio >= 4.5) ? 'AA' : '';\n\t},\n\n\tdark: function () {\n\t\t// YIQ equation from http://24ways.org/2010/calculating-color-contrast\n\t\tvar rgb = this.values.rgb;\n\t\tvar yiq = (rgb[0] * 299 + rgb[1] * 587 + rgb[2] * 114) / 1000;\n\t\treturn yiq < 128;\n\t},\n\n\tlight: function () {\n\t\treturn !this.dark();\n\t},\n\n\tnegate: function () {\n\t\tvar rgb = [];\n\t\tfor (var i = 0; i < 3; i++) {\n\t\t\trgb[i] = 255 - this.values.rgb[i];\n\t\t}\n\t\tthis.setValues('rgb', rgb);\n\t\treturn this;\n\t},\n\n\tlighten: function (ratio) {\n\t\tvar hsl = this.values.hsl;\n\t\thsl[2] += hsl[2] * ratio;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\tdarken: function (ratio) {\n\t\tvar hsl = this.values.hsl;\n\t\thsl[2] -= hsl[2] * ratio;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\tsaturate: function (ratio) {\n\t\tvar hsl = this.values.hsl;\n\t\thsl[1] += hsl[1] * ratio;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\tdesaturate: function (ratio) {\n\t\tvar hsl = this.values.hsl;\n\t\thsl[1] -= hsl[1] * ratio;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\twhiten: function (ratio) {\n\t\tvar hwb = this.values.hwb;\n\t\thwb[1] += hwb[1] * ratio;\n\t\tthis.setValues('hwb', hwb);\n\t\treturn this;\n\t},\n\n\tblacken: function (ratio) {\n\t\tvar hwb = this.values.hwb;\n\t\thwb[2] += hwb[2] * ratio;\n\t\tthis.setValues('hwb', hwb);\n\t\treturn this;\n\t},\n\n\tgreyscale: function () {\n\t\tvar rgb = this.values.rgb;\n\t\t// http://en.wikipedia.org/wiki/Grayscale#Converting_color_to_grayscale\n\t\tvar val = rgb[0] * 0.3 + rgb[1] * 0.59 + rgb[2] * 0.11;\n\t\tthis.setValues('rgb', [val, val, val]);\n\t\treturn this;\n\t},\n\n\tclearer: function (ratio) {\n\t\tvar alpha = this.values.alpha;\n\t\tthis.setValues('alpha', alpha - (alpha * ratio));\n\t\treturn this;\n\t},\n\n\topaquer: function (ratio) {\n\t\tvar alpha = this.values.alpha;\n\t\tthis.setValues('alpha', alpha + (alpha * ratio));\n\t\treturn this;\n\t},\n\n\trotate: function (degrees) {\n\t\tvar hsl = this.values.hsl;\n\t\tvar hue = (hsl[0] + degrees) % 360;\n\t\thsl[0] = hue < 0 ? 360 + hue : hue;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\t/**\n\t * Ported from sass implementation in C\n\t * https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209\n\t */\n\tmix: function (mixinColor, weight) {\n\t\tvar color1 = this;\n\t\tvar color2 = mixinColor;\n\t\tvar p = weight === undefined ? 0.5 : weight;\n\n\t\tvar w = 2 * p - 1;\n\t\tvar a = color1.alpha() - color2.alpha();\n\n\t\tvar w1 = (((w * a === -1) ? w : (w + a) / (1 + w * a)) + 1) / 2.0;\n\t\tvar w2 = 1 - w1;\n\n\t\treturn this\n\t\t\t.rgb(\n\t\t\t\tw1 * color1.red() + w2 * color2.red(),\n\t\t\t\tw1 * color1.green() + w2 * color2.green(),\n\t\t\t\tw1 * color1.blue() + w2 * color2.blue()\n\t\t\t)\n\t\t\t.alpha(color1.alpha() * p + color2.alpha() * (1 - p));\n\t},\n\n\ttoJSON: function () {\n\t\treturn this.rgb();\n\t},\n\n\tclone: function () {\n\t\t// NOTE(SB): using node-clone creates a dependency to Buffer when using browserify,\n\t\t// making the final build way to big to embed in Chart.js. So let's do it manually,\n\t\t// assuming that values to clone are 1 dimension arrays containing only numbers,\n\t\t// except 'alpha' which is a number.\n\t\tvar result = new Color();\n\t\tvar source = this.values;\n\t\tvar target = result.values;\n\t\tvar value, type;\n\n\t\tfor (var prop in source) {\n\t\t\tif (source.hasOwnProperty(prop)) {\n\t\t\t\tvalue = source[prop];\n\t\t\t\ttype = ({}).toString.call(value);\n\t\t\t\tif (type === '[object Array]') {\n\t\t\t\t\ttarget[prop] = value.slice(0);\n\t\t\t\t} else if (type === '[object Number]') {\n\t\t\t\t\ttarget[prop] = value;\n\t\t\t\t} else {\n\t\t\t\t\tconsole.error('unexpected color value:', value);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t}\n};\n\nColor.prototype.spaces = {\n\trgb: ['red', 'green', 'blue'],\n\thsl: ['hue', 'saturation', 'lightness'],\n\thsv: ['hue', 'saturation', 'value'],\n\thwb: ['hue', 'whiteness', 'blackness'],\n\tcmyk: ['cyan', 'magenta', 'yellow', 'black']\n};\n\nColor.prototype.maxes = {\n\trgb: [255, 255, 255],\n\thsl: [360, 100, 100],\n\thsv: [360, 100, 100],\n\thwb: [360, 100, 100],\n\tcmyk: [100, 100, 100, 100]\n};\n\nColor.prototype.getValues = function (space) {\n\tvar values = this.values;\n\tvar vals = {};\n\n\tfor (var i = 0; i < space.length; i++) {\n\t\tvals[space.charAt(i)] = values[space][i];\n\t}\n\n\tif (values.alpha !== 1) {\n\t\tvals.a = values.alpha;\n\t}\n\n\t// {r: 255, g: 255, b: 255, a: 0.4}\n\treturn vals;\n};\n\nColor.prototype.setValues = function (space, vals) {\n\tvar values = this.values;\n\tvar spaces = this.spaces;\n\tvar maxes = this.maxes;\n\tvar alpha = 1;\n\tvar i;\n\n\tthis.valid = true;\n\n\tif (space === 'alpha') {\n\t\talpha = vals;\n\t} else if (vals.length) {\n\t\t// [10, 10, 10]\n\t\tvalues[space] = vals.slice(0, space.length);\n\t\talpha = vals[space.length];\n\t} else if (vals[space.charAt(0)] !== undefined) {\n\t\t// {r: 10, g: 10, b: 10}\n\t\tfor (i = 0; i < space.length; i++) {\n\t\t\tvalues[space][i] = vals[space.charAt(i)];\n\t\t}\n\n\t\talpha = vals.a;\n\t} else if (vals[spaces[space][0]] !== undefined) {\n\t\t// {red: 10, green: 10, blue: 10}\n\t\tvar chans = spaces[space];\n\n\t\tfor (i = 0; i < space.length; i++) {\n\t\t\tvalues[space][i] = vals[chans[i]];\n\t\t}\n\n\t\talpha = vals.alpha;\n\t}\n\n\tvalues.alpha = Math.max(0, Math.min(1, (alpha === undefined ? values.alpha : alpha)));\n\n\tif (space === 'alpha') {\n\t\treturn false;\n\t}\n\n\tvar capped;\n\n\t// cap values of the space prior converting all values\n\tfor (i = 0; i < space.length; i++) {\n\t\tcapped = Math.max(0, Math.min(maxes[space][i], values[space][i]));\n\t\tvalues[space][i] = Math.round(capped);\n\t}\n\n\t// convert to all the other color spaces\n\tfor (var sname in spaces) {\n\t\tif (sname !== space) {\n\t\t\tvalues[sname] = convert[space][sname](values[space]);\n\t\t}\n\t}\n\n\treturn true;\n};\n\nColor.prototype.setSpace = function (space, args) {\n\tvar vals = args[0];\n\n\tif (vals === undefined) {\n\t\t// color.rgb()\n\t\treturn this.getValues(space);\n\t}\n\n\t// color.rgb(10, 10, 10)\n\tif (typeof vals === 'number') {\n\t\tvals = Array.prototype.slice.call(args);\n\t}\n\n\tthis.setValues(space, vals);\n\treturn this;\n};\n\nColor.prototype.setChannel = function (space, index, val) {\n\tvar svalues = this.values[space];\n\tif (val === undefined) {\n\t\t// color.red()\n\t\treturn svalues[index];\n\t} else if (val === svalues[index]) {\n\t\t// color.red(color.red())\n\t\treturn this;\n\t}\n\n\t// color.red(100)\n\tsvalues[index] = val;\n\tthis.setValues(space, svalues);\n\n\treturn this;\n};\n\nif (typeof window !== 'undefined') {\n\twindow.Color = Color;\n}\n\nmodule.exports = Color;\n\n},{\"2\":2,\"5\":5}],4:[function(require,module,exports){\n/* MIT license */\n\nmodule.exports = {\n  rgb2hsl: rgb2hsl,\n  rgb2hsv: rgb2hsv,\n  rgb2hwb: rgb2hwb,\n  rgb2cmyk: rgb2cmyk,\n  rgb2keyword: rgb2keyword,\n  rgb2xyz: rgb2xyz,\n  rgb2lab: rgb2lab,\n  rgb2lch: rgb2lch,\n\n  hsl2rgb: hsl2rgb,\n  hsl2hsv: hsl2hsv,\n  hsl2hwb: hsl2hwb,\n  hsl2cmyk: hsl2cmyk,\n  hsl2keyword: hsl2keyword,\n\n  hsv2rgb: hsv2rgb,\n  hsv2hsl: hsv2hsl,\n  hsv2hwb: hsv2hwb,\n  hsv2cmyk: hsv2cmyk,\n  hsv2keyword: hsv2keyword,\n\n  hwb2rgb: hwb2rgb,\n  hwb2hsl: hwb2hsl,\n  hwb2hsv: hwb2hsv,\n  hwb2cmyk: hwb2cmyk,\n  hwb2keyword: hwb2keyword,\n\n  cmyk2rgb: cmyk2rgb,\n  cmyk2hsl: cmyk2hsl,\n  cmyk2hsv: cmyk2hsv,\n  cmyk2hwb: cmyk2hwb,\n  cmyk2keyword: cmyk2keyword,\n\n  keyword2rgb: keyword2rgb,\n  keyword2hsl: keyword2hsl,\n  keyword2hsv: keyword2hsv,\n  keyword2hwb: keyword2hwb,\n  keyword2cmyk: keyword2cmyk,\n  keyword2lab: keyword2lab,\n  keyword2xyz: keyword2xyz,\n\n  xyz2rgb: xyz2rgb,\n  xyz2lab: xyz2lab,\n  xyz2lch: xyz2lch,\n\n  lab2xyz: lab2xyz,\n  lab2rgb: lab2rgb,\n  lab2lch: lab2lch,\n\n  lch2lab: lch2lab,\n  lch2xyz: lch2xyz,\n  lch2rgb: lch2rgb\n}\n\n\nfunction rgb2hsl(rgb) {\n  var r = rgb[0]/255,\n      g = rgb[1]/255,\n      b = rgb[2]/255,\n      min = Math.min(r, g, b),\n      max = Math.max(r, g, b),\n      delta = max - min,\n      h, s, l;\n\n  if (max == min)\n    h = 0;\n  else if (r == max)\n    h = (g - b) / delta;\n  else if (g == max)\n    h = 2 + (b - r) / delta;\n  else if (b == max)\n    h = 4 + (r - g)/ delta;\n\n  h = Math.min(h * 60, 360);\n\n  if (h < 0)\n    h += 360;\n\n  l = (min + max) / 2;\n\n  if (max == min)\n    s = 0;\n  else if (l <= 0.5)\n    s = delta / (max + min);\n  else\n    s = delta / (2 - max - min);\n\n  return [h, s * 100, l * 100];\n}\n\nfunction rgb2hsv(rgb) {\n  var r = rgb[0],\n      g = rgb[1],\n      b = rgb[2],\n      min = Math.min(r, g, b),\n      max = Math.max(r, g, b),\n      delta = max - min,\n      h, s, v;\n\n  if (max == 0)\n    s = 0;\n  else\n    s = (delta/max * 1000)/10;\n\n  if (max == min)\n    h = 0;\n  else if (r == max)\n    h = (g - b) / delta;\n  else if (g == max)\n    h = 2 + (b - r) / delta;\n  else if (b == max)\n    h = 4 + (r - g) / delta;\n\n  h = Math.min(h * 60, 360);\n\n  if (h < 0)\n    h += 360;\n\n  v = ((max / 255) * 1000) / 10;\n\n  return [h, s, v];\n}\n\nfunction rgb2hwb(rgb) {\n  var r = rgb[0],\n      g = rgb[1],\n      b = rgb[2],\n      h = rgb2hsl(rgb)[0],\n      w = 1/255 * Math.min(r, Math.min(g, b)),\n      b = 1 - 1/255 * Math.max(r, Math.max(g, b));\n\n  return [h, w * 100, b * 100];\n}\n\nfunction rgb2cmyk(rgb) {\n  var r = rgb[0] / 255,\n      g = rgb[1] / 255,\n      b = rgb[2] / 255,\n      c, m, y, k;\n\n  k = Math.min(1 - r, 1 - g, 1 - b);\n  c = (1 - r - k) / (1 - k) || 0;\n  m = (1 - g - k) / (1 - k) || 0;\n  y = (1 - b - k) / (1 - k) || 0;\n  return [c * 100, m * 100, y * 100, k * 100];\n}\n\nfunction rgb2keyword(rgb) {\n  return reverseKeywords[JSON.stringify(rgb)];\n}\n\nfunction rgb2xyz(rgb) {\n  var r = rgb[0] / 255,\n      g = rgb[1] / 255,\n      b = rgb[2] / 255;\n\n  // assume sRGB\n  r = r > 0.04045 ? Math.pow(((r + 0.055) / 1.055), 2.4) : (r / 12.92);\n  g = g > 0.04045 ? Math.pow(((g + 0.055) / 1.055), 2.4) : (g / 12.92);\n  b = b > 0.04045 ? Math.pow(((b + 0.055) / 1.055), 2.4) : (b / 12.92);\n\n  var x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805);\n  var y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722);\n  var z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505);\n\n  return [x * 100, y *100, z * 100];\n}\n\nfunction rgb2lab(rgb) {\n  var xyz = rgb2xyz(rgb),\n        x = xyz[0],\n        y = xyz[1],\n        z = xyz[2],\n        l, a, b;\n\n  x /= 95.047;\n  y /= 100;\n  z /= 108.883;\n\n  x = x > 0.008856 ? Math.pow(x, 1/3) : (7.787 * x) + (16 / 116);\n  y = y > 0.008856 ? Math.pow(y, 1/3) : (7.787 * y) + (16 / 116);\n  z = z > 0.008856 ? Math.pow(z, 1/3) : (7.787 * z) + (16 / 116);\n\n  l = (116 * y) - 16;\n  a = 500 * (x - y);\n  b = 200 * (y - z);\n\n  return [l, a, b];\n}\n\nfunction rgb2lch(args) {\n  return lab2lch(rgb2lab(args));\n}\n\nfunction hsl2rgb(hsl) {\n  var h = hsl[0] / 360,\n      s = hsl[1] / 100,\n      l = hsl[2] / 100,\n      t1, t2, t3, rgb, val;\n\n  if (s == 0) {\n    val = l * 255;\n    return [val, val, val];\n  }\n\n  if (l < 0.5)\n    t2 = l * (1 + s);\n  else\n    t2 = l + s - l * s;\n  t1 = 2 * l - t2;\n\n  rgb = [0, 0, 0];\n  for (var i = 0; i < 3; i++) {\n    t3 = h + 1 / 3 * - (i - 1);\n    t3 < 0 && t3++;\n    t3 > 1 && t3--;\n\n    if (6 * t3 < 1)\n      val = t1 + (t2 - t1) * 6 * t3;\n    else if (2 * t3 < 1)\n      val = t2;\n    else if (3 * t3 < 2)\n      val = t1 + (t2 - t1) * (2 / 3 - t3) * 6;\n    else\n      val = t1;\n\n    rgb[i] = val * 255;\n  }\n\n  return rgb;\n}\n\nfunction hsl2hsv(hsl) {\n  var h = hsl[0],\n      s = hsl[1] / 100,\n      l = hsl[2] / 100,\n      sv, v;\n\n  if(l === 0) {\n      // no need to do calc on black\n      // also avoids divide by 0 error\n      return [0, 0, 0];\n  }\n\n  l *= 2;\n  s *= (l <= 1) ? l : 2 - l;\n  v = (l + s) / 2;\n  sv = (2 * s) / (l + s);\n  return [h, sv * 100, v * 100];\n}\n\nfunction hsl2hwb(args) {\n  return rgb2hwb(hsl2rgb(args));\n}\n\nfunction hsl2cmyk(args) {\n  return rgb2cmyk(hsl2rgb(args));\n}\n\nfunction hsl2keyword(args) {\n  return rgb2keyword(hsl2rgb(args));\n}\n\n\nfunction hsv2rgb(hsv) {\n  var h = hsv[0] / 60,\n      s = hsv[1] / 100,\n      v = hsv[2] / 100,\n      hi = Math.floor(h) % 6;\n\n  var f = h - Math.floor(h),\n      p = 255 * v * (1 - s),\n      q = 255 * v * (1 - (s * f)),\n      t = 255 * v * (1 - (s * (1 - f))),\n      v = 255 * v;\n\n  switch(hi) {\n    case 0:\n      return [v, t, p];\n    case 1:\n      return [q, v, p];\n    case 2:\n      return [p, v, t];\n    case 3:\n      return [p, q, v];\n    case 4:\n      return [t, p, v];\n    case 5:\n      return [v, p, q];\n  }\n}\n\nfunction hsv2hsl(hsv) {\n  var h = hsv[0],\n      s = hsv[1] / 100,\n      v = hsv[2] / 100,\n      sl, l;\n\n  l = (2 - s) * v;\n  sl = s * v;\n  sl /= (l <= 1) ? l : 2 - l;\n  sl = sl || 0;\n  l /= 2;\n  return [h, sl * 100, l * 100];\n}\n\nfunction hsv2hwb(args) {\n  return rgb2hwb(hsv2rgb(args))\n}\n\nfunction hsv2cmyk(args) {\n  return rgb2cmyk(hsv2rgb(args));\n}\n\nfunction hsv2keyword(args) {\n  return rgb2keyword(hsv2rgb(args));\n}\n\n// http://dev.w3.org/csswg/css-color/#hwb-to-rgb\nfunction hwb2rgb(hwb) {\n  var h = hwb[0] / 360,\n      wh = hwb[1] / 100,\n      bl = hwb[2] / 100,\n      ratio = wh + bl,\n      i, v, f, n;\n\n  // wh + bl cant be > 1\n  if (ratio > 1) {\n    wh /= ratio;\n    bl /= ratio;\n  }\n\n  i = Math.floor(6 * h);\n  v = 1 - bl;\n  f = 6 * h - i;\n  if ((i & 0x01) != 0) {\n    f = 1 - f;\n  }\n  n = wh + f * (v - wh);  // linear interpolation\n\n  switch (i) {\n    default:\n    case 6:\n    case 0: r = v; g = n; b = wh; break;\n    case 1: r = n; g = v; b = wh; break;\n    case 2: r = wh; g = v; b = n; break;\n    case 3: r = wh; g = n; b = v; break;\n    case 4: r = n; g = wh; b = v; break;\n    case 5: r = v; g = wh; b = n; break;\n  }\n\n  return [r * 255, g * 255, b * 255];\n}\n\nfunction hwb2hsl(args) {\n  return rgb2hsl(hwb2rgb(args));\n}\n\nfunction hwb2hsv(args) {\n  return rgb2hsv(hwb2rgb(args));\n}\n\nfunction hwb2cmyk(args) {\n  return rgb2cmyk(hwb2rgb(args));\n}\n\nfunction hwb2keyword(args) {\n  return rgb2keyword(hwb2rgb(args));\n}\n\nfunction cmyk2rgb(cmyk) {\n  var c = cmyk[0] / 100,\n      m = cmyk[1] / 100,\n      y = cmyk[2] / 100,\n      k = cmyk[3] / 100,\n      r, g, b;\n\n  r = 1 - Math.min(1, c * (1 - k) + k);\n  g = 1 - Math.min(1, m * (1 - k) + k);\n  b = 1 - Math.min(1, y * (1 - k) + k);\n  return [r * 255, g * 255, b * 255];\n}\n\nfunction cmyk2hsl(args) {\n  return rgb2hsl(cmyk2rgb(args));\n}\n\nfunction cmyk2hsv(args) {\n  return rgb2hsv(cmyk2rgb(args));\n}\n\nfunction cmyk2hwb(args) {\n  return rgb2hwb(cmyk2rgb(args));\n}\n\nfunction cmyk2keyword(args) {\n  return rgb2keyword(cmyk2rgb(args));\n}\n\n\nfunction xyz2rgb(xyz) {\n  var x = xyz[0] / 100,\n      y = xyz[1] / 100,\n      z = xyz[2] / 100,\n      r, g, b;\n\n  r = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);\n  g = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);\n  b = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);\n\n  // assume sRGB\n  r = r > 0.0031308 ? ((1.055 * Math.pow(r, 1.0 / 2.4)) - 0.055)\n    : r = (r * 12.92);\n\n  g = g > 0.0031308 ? ((1.055 * Math.pow(g, 1.0 / 2.4)) - 0.055)\n    : g = (g * 12.92);\n\n  b = b > 0.0031308 ? ((1.055 * Math.pow(b, 1.0 / 2.4)) - 0.055)\n    : b = (b * 12.92);\n\n  r = Math.min(Math.max(0, r), 1);\n  g = Math.min(Math.max(0, g), 1);\n  b = Math.min(Math.max(0, b), 1);\n\n  return [r * 255, g * 255, b * 255];\n}\n\nfunction xyz2lab(xyz) {\n  var x = xyz[0],\n      y = xyz[1],\n      z = xyz[2],\n      l, a, b;\n\n  x /= 95.047;\n  y /= 100;\n  z /= 108.883;\n\n  x = x > 0.008856 ? Math.pow(x, 1/3) : (7.787 * x) + (16 / 116);\n  y = y > 0.008856 ? Math.pow(y, 1/3) : (7.787 * y) + (16 / 116);\n  z = z > 0.008856 ? Math.pow(z, 1/3) : (7.787 * z) + (16 / 116);\n\n  l = (116 * y) - 16;\n  a = 500 * (x - y);\n  b = 200 * (y - z);\n\n  return [l, a, b];\n}\n\nfunction xyz2lch(args) {\n  return lab2lch(xyz2lab(args));\n}\n\nfunction lab2xyz(lab) {\n  var l = lab[0],\n      a = lab[1],\n      b = lab[2],\n      x, y, z, y2;\n\n  if (l <= 8) {\n    y = (l * 100) / 903.3;\n    y2 = (7.787 * (y / 100)) + (16 / 116);\n  } else {\n    y = 100 * Math.pow((l + 16) / 116, 3);\n    y2 = Math.pow(y / 100, 1/3);\n  }\n\n  x = x / 95.047 <= 0.008856 ? x = (95.047 * ((a / 500) + y2 - (16 / 116))) / 7.787 : 95.047 * Math.pow((a / 500) + y2, 3);\n\n  z = z / 108.883 <= 0.008859 ? z = (108.883 * (y2 - (b / 200) - (16 / 116))) / 7.787 : 108.883 * Math.pow(y2 - (b / 200), 3);\n\n  return [x, y, z];\n}\n\nfunction lab2lch(lab) {\n  var l = lab[0],\n      a = lab[1],\n      b = lab[2],\n      hr, h, c;\n\n  hr = Math.atan2(b, a);\n  h = hr * 360 / 2 / Math.PI;\n  if (h < 0) {\n    h += 360;\n  }\n  c = Math.sqrt(a * a + b * b);\n  return [l, c, h];\n}\n\nfunction lab2rgb(args) {\n  return xyz2rgb(lab2xyz(args));\n}\n\nfunction lch2lab(lch) {\n  var l = lch[0],\n      c = lch[1],\n      h = lch[2],\n      a, b, hr;\n\n  hr = h / 360 * 2 * Math.PI;\n  a = c * Math.cos(hr);\n  b = c * Math.sin(hr);\n  return [l, a, b];\n}\n\nfunction lch2xyz(args) {\n  return lab2xyz(lch2lab(args));\n}\n\nfunction lch2rgb(args) {\n  return lab2rgb(lch2lab(args));\n}\n\nfunction keyword2rgb(keyword) {\n  return cssKeywords[keyword];\n}\n\nfunction keyword2hsl(args) {\n  return rgb2hsl(keyword2rgb(args));\n}\n\nfunction keyword2hsv(args) {\n  return rgb2hsv(keyword2rgb(args));\n}\n\nfunction keyword2hwb(args) {\n  return rgb2hwb(keyword2rgb(args));\n}\n\nfunction keyword2cmyk(args) {\n  return rgb2cmyk(keyword2rgb(args));\n}\n\nfunction keyword2lab(args) {\n  return rgb2lab(keyword2rgb(args));\n}\n\nfunction keyword2xyz(args) {\n  return rgb2xyz(keyword2rgb(args));\n}\n\nvar cssKeywords = {\n  aliceblue:  [240,248,255],\n  antiquewhite: [250,235,215],\n  aqua: [0,255,255],\n  aquamarine: [127,255,212],\n  azure:  [240,255,255],\n  beige:  [245,245,220],\n  bisque: [255,228,196],\n  black:  [0,0,0],\n  blanchedalmond: [255,235,205],\n  blue: [0,0,255],\n  blueviolet: [138,43,226],\n  brown:  [165,42,42],\n  burlywood:  [222,184,135],\n  cadetblue:  [95,158,160],\n  chartreuse: [127,255,0],\n  chocolate:  [210,105,30],\n  coral:  [255,127,80],\n  cornflowerblue: [100,149,237],\n  cornsilk: [255,248,220],\n  crimson:  [220,20,60],\n  cyan: [0,255,255],\n  darkblue: [0,0,139],\n  darkcyan: [0,139,139],\n  darkgoldenrod:  [184,134,11],\n  darkgray: [169,169,169],\n  darkgreen:  [0,100,0],\n  darkgrey: [169,169,169],\n  darkkhaki:  [189,183,107],\n  darkmagenta:  [139,0,139],\n  darkolivegreen: [85,107,47],\n  darkorange: [255,140,0],\n  darkorchid: [153,50,204],\n  darkred:  [139,0,0],\n  darksalmon: [233,150,122],\n  darkseagreen: [143,188,143],\n  darkslateblue:  [72,61,139],\n  darkslategray:  [47,79,79],\n  darkslategrey:  [47,79,79],\n  darkturquoise:  [0,206,209],\n  darkviolet: [148,0,211],\n  deeppink: [255,20,147],\n  deepskyblue:  [0,191,255],\n  dimgray:  [105,105,105],\n  dimgrey:  [105,105,105],\n  dodgerblue: [30,144,255],\n  firebrick:  [178,34,34],\n  floralwhite:  [255,250,240],\n  forestgreen:  [34,139,34],\n  fuchsia:  [255,0,255],\n  gainsboro:  [220,220,220],\n  ghostwhite: [248,248,255],\n  gold: [255,215,0],\n  goldenrod:  [218,165,32],\n  gray: [128,128,128],\n  green:  [0,128,0],\n  greenyellow:  [173,255,47],\n  grey: [128,128,128],\n  honeydew: [240,255,240],\n  hotpink:  [255,105,180],\n  indianred:  [205,92,92],\n  indigo: [75,0,130],\n  ivory:  [255,255,240],\n  khaki:  [240,230,140],\n  lavender: [230,230,250],\n  lavenderblush:  [255,240,245],\n  lawngreen:  [124,252,0],\n  lemonchiffon: [255,250,205],\n  lightblue:  [173,216,230],\n  lightcoral: [240,128,128],\n  lightcyan:  [224,255,255],\n  lightgoldenrodyellow: [250,250,210],\n  lightgray:  [211,211,211],\n  lightgreen: [144,238,144],\n  lightgrey:  [211,211,211],\n  lightpink:  [255,182,193],\n  lightsalmon:  [255,160,122],\n  lightseagreen:  [32,178,170],\n  lightskyblue: [135,206,250],\n  lightslategray: [119,136,153],\n  lightslategrey: [119,136,153],\n  lightsteelblue: [176,196,222],\n  lightyellow:  [255,255,224],\n  lime: [0,255,0],\n  limegreen:  [50,205,50],\n  linen:  [250,240,230],\n  magenta:  [255,0,255],\n  maroon: [128,0,0],\n  mediumaquamarine: [102,205,170],\n  mediumblue: [0,0,205],\n  mediumorchid: [186,85,211],\n  mediumpurple: [147,112,219],\n  mediumseagreen: [60,179,113],\n  mediumslateblue:  [123,104,238],\n  mediumspringgreen:  [0,250,154],\n  mediumturquoise:  [72,209,204],\n  mediumvioletred:  [199,21,133],\n  midnightblue: [25,25,112],\n  mintcream:  [245,255,250],\n  mistyrose:  [255,228,225],\n  moccasin: [255,228,181],\n  navajowhite:  [255,222,173],\n  navy: [0,0,128],\n  oldlace:  [253,245,230],\n  olive:  [128,128,0],\n  olivedrab:  [107,142,35],\n  orange: [255,165,0],\n  orangered:  [255,69,0],\n  orchid: [218,112,214],\n  palegoldenrod:  [238,232,170],\n  palegreen:  [152,251,152],\n  paleturquoise:  [175,238,238],\n  palevioletred:  [219,112,147],\n  papayawhip: [255,239,213],\n  peachpuff:  [255,218,185],\n  peru: [205,133,63],\n  pink: [255,192,203],\n  plum: [221,160,221],\n  powderblue: [176,224,230],\n  purple: [128,0,128],\n  rebeccapurple: [102, 51, 153],\n  red:  [255,0,0],\n  rosybrown:  [188,143,143],\n  royalblue:  [65,105,225],\n  saddlebrown:  [139,69,19],\n  salmon: [250,128,114],\n  sandybrown: [244,164,96],\n  seagreen: [46,139,87],\n  seashell: [255,245,238],\n  sienna: [160,82,45],\n  silver: [192,192,192],\n  skyblue:  [135,206,235],\n  slateblue:  [106,90,205],\n  slategray:  [112,128,144],\n  slategrey:  [112,128,144],\n  snow: [255,250,250],\n  springgreen:  [0,255,127],\n  steelblue:  [70,130,180],\n  tan:  [210,180,140],\n  teal: [0,128,128],\n  thistle:  [216,191,216],\n  tomato: [255,99,71],\n  turquoise:  [64,224,208],\n  violet: [238,130,238],\n  wheat:  [245,222,179],\n  white:  [255,255,255],\n  whitesmoke: [245,245,245],\n  yellow: [255,255,0],\n  yellowgreen:  [154,205,50]\n};\n\nvar reverseKeywords = {};\nfor (var key in cssKeywords) {\n  reverseKeywords[JSON.stringify(cssKeywords[key])] = key;\n}\n\n},{}],5:[function(require,module,exports){\nvar conversions = require(4);\n\nvar convert = function() {\n   return new Converter();\n}\n\nfor (var func in conversions) {\n  // export Raw versions\n  convert[func + \"Raw\"] =  (function(func) {\n    // accept array or plain args\n    return function(arg) {\n      if (typeof arg == \"number\")\n        arg = Array.prototype.slice.call(arguments);\n      return conversions[func](arg);\n    }\n  })(func);\n\n  var pair = /(\\w+)2(\\w+)/.exec(func),\n      from = pair[1],\n      to = pair[2];\n\n  // export rgb2hsl and [\"rgb\"][\"hsl\"]\n  convert[from] = convert[from] || {};\n\n  convert[from][to] = convert[func] = (function(func) { \n    return function(arg) {\n      if (typeof arg == \"number\")\n        arg = Array.prototype.slice.call(arguments);\n      \n      var val = conversions[func](arg);\n      if (typeof val == \"string\" || val === undefined)\n        return val; // keyword\n\n      for (var i = 0; i < val.length; i++)\n        val[i] = Math.round(val[i]);\n      return val;\n    }\n  })(func);\n}\n\n\n/* Converter does lazy conversion and caching */\nvar Converter = function() {\n   this.convs = {};\n};\n\n/* Either get the values for a space or\n  set the values for a space, depending on args */\nConverter.prototype.routeSpace = function(space, args) {\n   var values = args[0];\n   if (values === undefined) {\n      // color.rgb()\n      return this.getValues(space);\n   }\n   // color.rgb(10, 10, 10)\n   if (typeof values == \"number\") {\n      values = Array.prototype.slice.call(args);        \n   }\n\n   return this.setValues(space, values);\n};\n  \n/* Set the values for a space, invalidating cache */\nConverter.prototype.setValues = function(space, values) {\n   this.space = space;\n   this.convs = {};\n   this.convs[space] = values;\n   return this;\n};\n\n/* Get the values for a space. If there's already\n  a conversion for the space, fetch it, otherwise\n  compute it */\nConverter.prototype.getValues = function(space) {\n   var vals = this.convs[space];\n   if (!vals) {\n      var fspace = this.space,\n          from = this.convs[fspace];\n      vals = convert[fspace][space](from);\n\n      this.convs[space] = vals;\n   }\n  return vals;\n};\n\n[\"rgb\", \"hsl\", \"hsv\", \"cmyk\", \"keyword\"].forEach(function(space) {\n   Converter.prototype[space] = function(vals) {\n      return this.routeSpace(space, arguments);\n   }\n});\n\nmodule.exports = convert;\n},{\"4\":4}],6:[function(require,module,exports){\nmodule.exports = {\r\n\t\"aliceblue\": [240, 248, 255],\r\n\t\"antiquewhite\": [250, 235, 215],\r\n\t\"aqua\": [0, 255, 255],\r\n\t\"aquamarine\": [127, 255, 212],\r\n\t\"azure\": [240, 255, 255],\r\n\t\"beige\": [245, 245, 220],\r\n\t\"bisque\": [255, 228, 196],\r\n\t\"black\": [0, 0, 0],\r\n\t\"blanchedalmond\": [255, 235, 205],\r\n\t\"blue\": [0, 0, 255],\r\n\t\"blueviolet\": [138, 43, 226],\r\n\t\"brown\": [165, 42, 42],\r\n\t\"burlywood\": [222, 184, 135],\r\n\t\"cadetblue\": [95, 158, 160],\r\n\t\"chartreuse\": [127, 255, 0],\r\n\t\"chocolate\": [210, 105, 30],\r\n\t\"coral\": [255, 127, 80],\r\n\t\"cornflowerblue\": [100, 149, 237],\r\n\t\"cornsilk\": [255, 248, 220],\r\n\t\"crimson\": [220, 20, 60],\r\n\t\"cyan\": [0, 255, 255],\r\n\t\"darkblue\": [0, 0, 139],\r\n\t\"darkcyan\": [0, 139, 139],\r\n\t\"darkgoldenrod\": [184, 134, 11],\r\n\t\"darkgray\": [169, 169, 169],\r\n\t\"darkgreen\": [0, 100, 0],\r\n\t\"darkgrey\": [169, 169, 169],\r\n\t\"darkkhaki\": [189, 183, 107],\r\n\t\"darkmagenta\": [139, 0, 139],\r\n\t\"darkolivegreen\": [85, 107, 47],\r\n\t\"darkorange\": [255, 140, 0],\r\n\t\"darkorchid\": [153, 50, 204],\r\n\t\"darkred\": [139, 0, 0],\r\n\t\"darksalmon\": [233, 150, 122],\r\n\t\"darkseagreen\": [143, 188, 143],\r\n\t\"darkslateblue\": [72, 61, 139],\r\n\t\"darkslategray\": [47, 79, 79],\r\n\t\"darkslategrey\": [47, 79, 79],\r\n\t\"darkturquoise\": [0, 206, 209],\r\n\t\"darkviolet\": [148, 0, 211],\r\n\t\"deeppink\": [255, 20, 147],\r\n\t\"deepskyblue\": [0, 191, 255],\r\n\t\"dimgray\": [105, 105, 105],\r\n\t\"dimgrey\": [105, 105, 105],\r\n\t\"dodgerblue\": [30, 144, 255],\r\n\t\"firebrick\": [178, 34, 34],\r\n\t\"floralwhite\": [255, 250, 240],\r\n\t\"forestgreen\": [34, 139, 34],\r\n\t\"fuchsia\": [255, 0, 255],\r\n\t\"gainsboro\": [220, 220, 220],\r\n\t\"ghostwhite\": [248, 248, 255],\r\n\t\"gold\": [255, 215, 0],\r\n\t\"goldenrod\": [218, 165, 32],\r\n\t\"gray\": [128, 128, 128],\r\n\t\"green\": [0, 128, 0],\r\n\t\"greenyellow\": [173, 255, 47],\r\n\t\"grey\": [128, 128, 128],\r\n\t\"honeydew\": [240, 255, 240],\r\n\t\"hotpink\": [255, 105, 180],\r\n\t\"indianred\": [205, 92, 92],\r\n\t\"indigo\": [75, 0, 130],\r\n\t\"ivory\": [255, 255, 240],\r\n\t\"khaki\": [240, 230, 140],\r\n\t\"lavender\": [230, 230, 250],\r\n\t\"lavenderblush\": [255, 240, 245],\r\n\t\"lawngreen\": [124, 252, 0],\r\n\t\"lemonchiffon\": [255, 250, 205],\r\n\t\"lightblue\": [173, 216, 230],\r\n\t\"lightcoral\": [240, 128, 128],\r\n\t\"lightcyan\": [224, 255, 255],\r\n\t\"lightgoldenrodyellow\": [250, 250, 210],\r\n\t\"lightgray\": [211, 211, 211],\r\n\t\"lightgreen\": [144, 238, 144],\r\n\t\"lightgrey\": [211, 211, 211],\r\n\t\"lightpink\": [255, 182, 193],\r\n\t\"lightsalmon\": [255, 160, 122],\r\n\t\"lightseagreen\": [32, 178, 170],\r\n\t\"lightskyblue\": [135, 206, 250],\r\n\t\"lightslategray\": [119, 136, 153],\r\n\t\"lightslategrey\": [119, 136, 153],\r\n\t\"lightsteelblue\": [176, 196, 222],\r\n\t\"lightyellow\": [255, 255, 224],\r\n\t\"lime\": [0, 255, 0],\r\n\t\"limegreen\": [50, 205, 50],\r\n\t\"linen\": [250, 240, 230],\r\n\t\"magenta\": [255, 0, 255],\r\n\t\"maroon\": [128, 0, 0],\r\n\t\"mediumaquamarine\": [102, 205, 170],\r\n\t\"mediumblue\": [0, 0, 205],\r\n\t\"mediumorchid\": [186, 85, 211],\r\n\t\"mediumpurple\": [147, 112, 219],\r\n\t\"mediumseagreen\": [60, 179, 113],\r\n\t\"mediumslateblue\": [123, 104, 238],\r\n\t\"mediumspringgreen\": [0, 250, 154],\r\n\t\"mediumturquoise\": [72, 209, 204],\r\n\t\"mediumvioletred\": [199, 21, 133],\r\n\t\"midnightblue\": [25, 25, 112],\r\n\t\"mintcream\": [245, 255, 250],\r\n\t\"mistyrose\": [255, 228, 225],\r\n\t\"moccasin\": [255, 228, 181],\r\n\t\"navajowhite\": [255, 222, 173],\r\n\t\"navy\": [0, 0, 128],\r\n\t\"oldlace\": [253, 245, 230],\r\n\t\"olive\": [128, 128, 0],\r\n\t\"olivedrab\": [107, 142, 35],\r\n\t\"orange\": [255, 165, 0],\r\n\t\"orangered\": [255, 69, 0],\r\n\t\"orchid\": [218, 112, 214],\r\n\t\"palegoldenrod\": [238, 232, 170],\r\n\t\"palegreen\": [152, 251, 152],\r\n\t\"paleturquoise\": [175, 238, 238],\r\n\t\"palevioletred\": [219, 112, 147],\r\n\t\"papayawhip\": [255, 239, 213],\r\n\t\"peachpuff\": [255, 218, 185],\r\n\t\"peru\": [205, 133, 63],\r\n\t\"pink\": [255, 192, 203],\r\n\t\"plum\": [221, 160, 221],\r\n\t\"powderblue\": [176, 224, 230],\r\n\t\"purple\": [128, 0, 128],\r\n\t\"rebeccapurple\": [102, 51, 153],\r\n\t\"red\": [255, 0, 0],\r\n\t\"rosybrown\": [188, 143, 143],\r\n\t\"royalblue\": [65, 105, 225],\r\n\t\"saddlebrown\": [139, 69, 19],\r\n\t\"salmon\": [250, 128, 114],\r\n\t\"sandybrown\": [244, 164, 96],\r\n\t\"seagreen\": [46, 139, 87],\r\n\t\"seashell\": [255, 245, 238],\r\n\t\"sienna\": [160, 82, 45],\r\n\t\"silver\": [192, 192, 192],\r\n\t\"skyblue\": [135, 206, 235],\r\n\t\"slateblue\": [106, 90, 205],\r\n\t\"slategray\": [112, 128, 144],\r\n\t\"slategrey\": [112, 128, 144],\r\n\t\"snow\": [255, 250, 250],\r\n\t\"springgreen\": [0, 255, 127],\r\n\t\"steelblue\": [70, 130, 180],\r\n\t\"tan\": [210, 180, 140],\r\n\t\"teal\": [0, 128, 128],\r\n\t\"thistle\": [216, 191, 216],\r\n\t\"tomato\": [255, 99, 71],\r\n\t\"turquoise\": [64, 224, 208],\r\n\t\"violet\": [238, 130, 238],\r\n\t\"wheat\": [245, 222, 179],\r\n\t\"white\": [255, 255, 255],\r\n\t\"whitesmoke\": [245, 245, 245],\r\n\t\"yellow\": [255, 255, 0],\r\n\t\"yellowgreen\": [154, 205, 50]\r\n};\n},{}],7:[function(require,module,exports){\n/**\n * @namespace Chart\n */\nvar Chart = require(28)();\n\nrequire(26)(Chart);\nrequire(40)(Chart);\nrequire(22)(Chart);\nrequire(25)(Chart);\nrequire(30)(Chart);\nrequire(21)(Chart);\nrequire(23)(Chart);\nrequire(24)(Chart);\nrequire(29)(Chart);\nrequire(32)(Chart);\nrequire(33)(Chart);\nrequire(31)(Chart);\nrequire(27)(Chart);\nrequire(34)(Chart);\n\nrequire(35)(Chart);\nrequire(36)(Chart);\nrequire(37)(Chart);\nrequire(38)(Chart);\n\nrequire(46)(Chart);\nrequire(44)(Chart);\nrequire(45)(Chart);\nrequire(47)(Chart);\nrequire(48)(Chart);\nrequire(49)(Chart);\n\n// Controllers must be loaded after elements\n// See Chart.core.datasetController.dataElementType\nrequire(15)(Chart);\nrequire(16)(Chart);\nrequire(17)(Chart);\nrequire(18)(Chart);\nrequire(19)(Chart);\nrequire(20)(Chart);\n\nrequire(8)(Chart);\nrequire(9)(Chart);\nrequire(10)(Chart);\nrequire(11)(Chart);\nrequire(12)(Chart);\nrequire(13)(Chart);\nrequire(14)(Chart);\n\n// Loading built-it plugins\nvar plugins = [];\n\nplugins.push(\n    require(41)(Chart),\n    require(42)(Chart),\n    require(43)(Chart)\n);\n\nChart.plugins.register(plugins);\n\nmodule.exports = Chart;\nif (typeof window !== 'undefined') {\n\twindow.Chart = Chart;\n}\n\n},{\"10\":10,\"11\":11,\"12\":12,\"13\":13,\"14\":14,\"15\":15,\"16\":16,\"17\":17,\"18\":18,\"19\":19,\"20\":20,\"21\":21,\"22\":22,\"23\":23,\"24\":24,\"25\":25,\"26\":26,\"27\":27,\"28\":28,\"29\":29,\"30\":30,\"31\":31,\"32\":32,\"33\":33,\"34\":34,\"35\":35,\"36\":36,\"37\":37,\"38\":38,\"40\":40,\"41\":41,\"42\":42,\"43\":43,\"44\":44,\"45\":45,\"46\":46,\"47\":47,\"48\":48,\"49\":49,\"8\":8,\"9\":9}],8:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tChart.Bar = function(context, config) {\n\t\tconfig.type = 'bar';\n\n\t\treturn new Chart(context, config);\n\t};\n\n};\n\n},{}],9:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tChart.Bubble = function(context, config) {\n\t\tconfig.type = 'bubble';\n\t\treturn new Chart(context, config);\n\t};\n\n};\n\n},{}],10:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tChart.Doughnut = function(context, config) {\n\t\tconfig.type = 'doughnut';\n\n\t\treturn new Chart(context, config);\n\t};\n\n};\n\n},{}],11:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tChart.Line = function(context, config) {\n\t\tconfig.type = 'line';\n\n\t\treturn new Chart(context, config);\n\t};\n\n};\n\n},{}],12:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tChart.PolarArea = function(context, config) {\n\t\tconfig.type = 'polarArea';\n\n\t\treturn new Chart(context, config);\n\t};\n\n};\n\n},{}],13:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tChart.Radar = function(context, config) {\n\t\tconfig.type = 'radar';\n\n\t\treturn new Chart(context, config);\n\t};\n\n};\n\n},{}],14:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar defaultConfig = {\n\t\thover: {\n\t\t\tmode: 'single'\n\t\t},\n\n\t\tscales: {\n\t\t\txAxes: [{\n\t\t\t\ttype: 'linear', // scatter should not use a category axis\n\t\t\t\tposition: 'bottom',\n\t\t\t\tid: 'x-axis-1' // need an ID so datasets can reference the scale\n\t\t\t}],\n\t\t\tyAxes: [{\n\t\t\t\ttype: 'linear',\n\t\t\t\tposition: 'left',\n\t\t\t\tid: 'y-axis-1'\n\t\t\t}]\n\t\t},\n\n\t\ttooltips: {\n\t\t\tcallbacks: {\n\t\t\t\ttitle: function() {\n\t\t\t\t\t// Title doesn't make sense for scatter since we format the data as a point\n\t\t\t\t\treturn '';\n\t\t\t\t},\n\t\t\t\tlabel: function(tooltipItem) {\n\t\t\t\t\treturn '(' + tooltipItem.xLabel + ', ' + tooltipItem.yLabel + ')';\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\t// Register the default config for this type\n\tChart.defaults.scatter = defaultConfig;\n\n\t// Scatter charts use line controllers\n\tChart.controllers.scatter = Chart.controllers.line;\n\n\tChart.Scatter = function(context, config) {\n\t\tconfig.type = 'scatter';\n\t\treturn new Chart(context, config);\n\t};\n\n};\n\n},{}],15:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\n\tChart.defaults.bar = {\n\t\thover: {\n\t\t\tmode: 'label'\n\t\t},\n\n\t\tscales: {\n\t\t\txAxes: [{\n\t\t\t\ttype: 'category',\n\n\t\t\t\t// Specific to Bar Controller\n\t\t\t\tcategoryPercentage: 0.8,\n\t\t\t\tbarPercentage: 0.9,\n\n\t\t\t\t// grid line settings\n\t\t\t\tgridLines: {\n\t\t\t\t\toffsetGridLines: true\n\t\t\t\t}\n\t\t\t}],\n\t\t\tyAxes: [{\n\t\t\t\ttype: 'linear'\n\t\t\t}]\n\t\t}\n\t};\n\n\tChart.controllers.bar = Chart.DatasetController.extend({\n\n\t\tdataElementType: Chart.elements.Rectangle,\n\n\t\tinitialize: function() {\n\t\t\tvar me = this;\n\t\t\tvar meta;\n\n\t\t\tChart.DatasetController.prototype.initialize.apply(me, arguments);\n\n\t\t\tmeta = me.getMeta();\n\t\t\tmeta.stack = me.getDataset().stack;\n\t\t\tmeta.bar = true;\n\t\t},\n\n\t\tupdate: function(reset) {\n\t\t\tvar me = this;\n\t\t\tvar elements = me.getMeta().data;\n\t\t\tvar i, ilen;\n\n\t\t\tme._ruler = me.getRuler();\n\n\t\t\tfor (i = 0, ilen = elements.length; i < ilen; ++i) {\n\t\t\t\tme.updateElement(elements[i], i, reset);\n\t\t\t}\n\t\t},\n\n\t\tupdateElement: function(rectangle, index, reset) {\n\t\t\tvar me = this;\n\t\t\tvar chart = me.chart;\n\t\t\tvar meta = me.getMeta();\n\t\t\tvar dataset = me.getDataset();\n\t\t\tvar custom = rectangle.custom || {};\n\t\t\tvar rectangleOptions = chart.options.elements.rectangle;\n\n\t\t\trectangle._xScale = me.getScaleForId(meta.xAxisID);\n\t\t\trectangle._yScale = me.getScaleForId(meta.yAxisID);\n\t\t\trectangle._datasetIndex = me.index;\n\t\t\trectangle._index = index;\n\n\t\t\trectangle._model = {\n\t\t\t\tdatasetLabel: dataset.label,\n\t\t\t\tlabel: chart.data.labels[index],\n\t\t\t\tborderSkipped: custom.borderSkipped ? custom.borderSkipped : rectangleOptions.borderSkipped,\n\t\t\t\tbackgroundColor: custom.backgroundColor ? custom.backgroundColor : helpers.getValueAtIndexOrDefault(dataset.backgroundColor, index, rectangleOptions.backgroundColor),\n\t\t\t\tborderColor: custom.borderColor ? custom.borderColor : helpers.getValueAtIndexOrDefault(dataset.borderColor, index, rectangleOptions.borderColor),\n\t\t\t\tborderWidth: custom.borderWidth ? custom.borderWidth : helpers.getValueAtIndexOrDefault(dataset.borderWidth, index, rectangleOptions.borderWidth)\n\t\t\t};\n\n\t\t\tme.updateElementGeometry(rectangle, index, reset);\n\n\t\t\trectangle.pivot();\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tupdateElementGeometry: function(rectangle, index, reset) {\n\t\t\tvar me = this;\n\t\t\tvar model = rectangle._model;\n\t\t\tvar vscale = me.getValueScale();\n\t\t\tvar base = vscale.getBasePixel();\n\t\t\tvar horizontal = vscale.isHorizontal();\n\t\t\tvar ruler = me._ruler || me.getRuler();\n\t\t\tvar vpixels = me.calculateBarValuePixels(me.index, index);\n\t\t\tvar ipixels = me.calculateBarIndexPixels(me.index, index, ruler);\n\n\t\t\tmodel.horizontal = horizontal;\n\t\t\tmodel.base = reset? base : vpixels.base;\n\t\t\tmodel.x = horizontal? reset? base : vpixels.head : ipixels.center;\n\t\t\tmodel.y = horizontal? ipixels.center : reset? base : vpixels.head;\n\t\t\tmodel.height = horizontal? ipixels.size : undefined;\n\t\t\tmodel.width = horizontal? undefined : ipixels.size;\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tgetValueScaleId: function() {\n\t\t\treturn this.getMeta().yAxisID;\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tgetIndexScaleId: function() {\n\t\t\treturn this.getMeta().xAxisID;\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tgetValueScale: function() {\n\t\t\treturn this.getScaleForId(this.getValueScaleId());\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tgetIndexScale: function() {\n\t\t\treturn this.getScaleForId(this.getIndexScaleId());\n\t\t},\n\n\t\t/**\n\t\t * Returns the effective number of stacks based on groups and bar visibility.\n\t\t * @private\n\t\t */\n\t\tgetStackCount: function(last) {\n\t\t\tvar me = this;\n\t\t\tvar chart = me.chart;\n\t\t\tvar scale = me.getIndexScale();\n\t\t\tvar stacked = scale.options.stacked;\n\t\t\tvar ilen = last === undefined? chart.data.datasets.length : last + 1;\n\t\t\tvar stacks = [];\n\t\t\tvar i, meta;\n\n\t\t\tfor (i = 0; i < ilen; ++i) {\n\t\t\t\tmeta = chart.getDatasetMeta(i);\n\t\t\t\tif (meta.bar && chart.isDatasetVisible(i) &&\n\t\t\t\t\t(stacked === false ||\n\t\t\t\t\t(stacked === true && stacks.indexOf(meta.stack) === -1) ||\n\t\t\t\t\t(stacked === undefined && (meta.stack === undefined || stacks.indexOf(meta.stack) === -1)))) {\n\t\t\t\t\tstacks.push(meta.stack);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn stacks.length;\n\t\t},\n\n\t\t/**\n\t\t * Returns the stack index for the given dataset based on groups and bar visibility.\n\t\t * @private\n\t\t */\n\t\tgetStackIndex: function(datasetIndex) {\n\t\t\treturn this.getStackCount(datasetIndex) - 1;\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tgetRuler: function() {\n\t\t\tvar me = this;\n\t\t\tvar scale = me.getIndexScale();\n\t\t\tvar options = scale.options;\n\t\t\tvar stackCount = me.getStackCount();\n\t\t\tvar fullSize = scale.isHorizontal()? scale.width : scale.height;\n\t\t\tvar tickSize = fullSize / scale.ticks.length;\n\t\t\tvar categorySize = tickSize * options.categoryPercentage;\n\t\t\tvar fullBarSize = categorySize / stackCount;\n\t\t\tvar barSize = fullBarSize * options.barPercentage;\n\n\t\t\tbarSize = Math.min(\n\t\t\t\thelpers.getValueOrDefault(options.barThickness, barSize),\n\t\t\t\thelpers.getValueOrDefault(options.maxBarThickness, Infinity));\n\n\t\t\treturn {\n\t\t\t\tstackCount: stackCount,\n\t\t\t\ttickSize: tickSize,\n\t\t\t\tcategorySize: categorySize,\n\t\t\t\tcategorySpacing: tickSize - categorySize,\n\t\t\t\tfullBarSize: fullBarSize,\n\t\t\t\tbarSize: barSize,\n\t\t\t\tbarSpacing: fullBarSize - barSize,\n\t\t\t\tscale: scale\n\t\t\t};\n\t\t},\n\n\t\t/**\n\t\t * Note: pixel values are not clamped to the scale area.\n\t\t * @private\n\t\t */\n\t\tcalculateBarValuePixels: function(datasetIndex, index) {\n\t\t\tvar me = this;\n\t\t\tvar chart = me.chart;\n\t\t\tvar meta = me.getMeta();\n\t\t\tvar scale = me.getValueScale();\n\t\t\tvar datasets = chart.data.datasets;\n\t\t\tvar value = Number(datasets[datasetIndex].data[index]);\n\t\t\tvar stacked = scale.options.stacked;\n\t\t\tvar stack = meta.stack;\n\t\t\tvar start = 0;\n\t\t\tvar i, imeta, ivalue, base, head, size;\n\n\t\t\tif (stacked || (stacked === undefined && stack !== undefined)) {\n\t\t\t\tfor (i = 0; i < datasetIndex; ++i) {\n\t\t\t\t\timeta = chart.getDatasetMeta(i);\n\n\t\t\t\t\tif (imeta.bar &&\n\t\t\t\t\t\timeta.stack === stack &&\n\t\t\t\t\t\timeta.controller.getValueScaleId() === scale.id &&\n\t\t\t\t\t\tchart.isDatasetVisible(i)) {\n\n\t\t\t\t\t\tivalue = Number(datasets[i].data[index]);\n\t\t\t\t\t\tif ((value < 0 && ivalue < 0) || (value >= 0 && ivalue > 0)) {\n\t\t\t\t\t\t\tstart += ivalue;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tbase = scale.getPixelForValue(start);\n\t\t\thead = scale.getPixelForValue(start + value);\n\t\t\tsize = (head - base) / 2;\n\n\t\t\treturn {\n\t\t\t\tsize: size,\n\t\t\t\tbase: base,\n\t\t\t\thead: head,\n\t\t\t\tcenter: head + size / 2\n\t\t\t};\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tcalculateBarIndexPixels: function(datasetIndex, index, ruler) {\n\t\t\tvar me = this;\n\t\t\tvar scale = ruler.scale;\n\t\t\tvar isCombo = me.chart.isCombo;\n\t\t\tvar stackIndex = me.getStackIndex(datasetIndex);\n\t\t\tvar base = scale.getPixelForValue(null, index, datasetIndex, isCombo);\n\t\t\tvar size = ruler.barSize;\n\n\t\t\tbase -= isCombo? ruler.tickSize / 2 : 0;\n\t\t\tbase += ruler.fullBarSize * stackIndex;\n\t\t\tbase += ruler.categorySpacing / 2;\n\t\t\tbase += ruler.barSpacing / 2;\n\n\t\t\treturn {\n\t\t\t\tsize: size,\n\t\t\t\tbase: base,\n\t\t\t\thead: base + size,\n\t\t\t\tcenter: base + size / 2\n\t\t\t};\n\t\t},\n\n\t\tdraw: function() {\n\t\t\tvar me = this;\n\t\t\tvar chart = me.chart;\n\t\t\tvar elements = me.getMeta().data;\n\t\t\tvar dataset = me.getDataset();\n\t\t\tvar ilen = elements.length;\n\t\t\tvar i = 0;\n\t\t\tvar d;\n\n\t\t\thelpers.canvas.clipArea(chart.ctx, chart.chartArea);\n\n\t\t\tfor (; i<ilen; ++i) {\n\t\t\t\td = dataset.data[i];\n\t\t\t\tif (d !== null && d !== undefined && !isNaN(d)) {\n\t\t\t\t\telements[i].draw();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\thelpers.canvas.unclipArea(chart.ctx);\n\t\t},\n\n\t\tsetHoverStyle: function(rectangle) {\n\t\t\tvar dataset = this.chart.data.datasets[rectangle._datasetIndex];\n\t\t\tvar index = rectangle._index;\n\t\t\tvar custom = rectangle.custom || {};\n\t\t\tvar model = rectangle._model;\n\n\t\t\tmodel.backgroundColor = custom.hoverBackgroundColor ? custom.hoverBackgroundColor : helpers.getValueAtIndexOrDefault(dataset.hoverBackgroundColor, index, helpers.getHoverColor(model.backgroundColor));\n\t\t\tmodel.borderColor = custom.hoverBorderColor ? custom.hoverBorderColor : helpers.getValueAtIndexOrDefault(dataset.hoverBorderColor, index, helpers.getHoverColor(model.borderColor));\n\t\t\tmodel.borderWidth = custom.hoverBorderWidth ? custom.hoverBorderWidth : helpers.getValueAtIndexOrDefault(dataset.hoverBorderWidth, index, model.borderWidth);\n\t\t},\n\n\t\tremoveHoverStyle: function(rectangle) {\n\t\t\tvar dataset = this.chart.data.datasets[rectangle._datasetIndex];\n\t\t\tvar index = rectangle._index;\n\t\t\tvar custom = rectangle.custom || {};\n\t\t\tvar model = rectangle._model;\n\t\t\tvar rectangleElementOptions = this.chart.options.elements.rectangle;\n\n\t\t\tmodel.backgroundColor = custom.backgroundColor ? custom.backgroundColor : helpers.getValueAtIndexOrDefault(dataset.backgroundColor, index, rectangleElementOptions.backgroundColor);\n\t\t\tmodel.borderColor = custom.borderColor ? custom.borderColor : helpers.getValueAtIndexOrDefault(dataset.borderColor, index, rectangleElementOptions.borderColor);\n\t\t\tmodel.borderWidth = custom.borderWidth ? custom.borderWidth : helpers.getValueAtIndexOrDefault(dataset.borderWidth, index, rectangleElementOptions.borderWidth);\n\t\t}\n\t});\n\n\n\t// including horizontalBar in the bar file, instead of a file of its own\n\t// it extends bar (like pie extends doughnut)\n\tChart.defaults.horizontalBar = {\n\t\thover: {\n\t\t\tmode: 'label'\n\t\t},\n\n\t\tscales: {\n\t\t\txAxes: [{\n\t\t\t\ttype: 'linear',\n\t\t\t\tposition: 'bottom'\n\t\t\t}],\n\t\t\tyAxes: [{\n\t\t\t\tposition: 'left',\n\t\t\t\ttype: 'category',\n\n\t\t\t\t// Specific to Horizontal Bar Controller\n\t\t\t\tcategoryPercentage: 0.8,\n\t\t\t\tbarPercentage: 0.9,\n\n\t\t\t\t// grid line settings\n\t\t\t\tgridLines: {\n\t\t\t\t\toffsetGridLines: true\n\t\t\t\t}\n\t\t\t}]\n\t\t},\n\t\telements: {\n\t\t\trectangle: {\n\t\t\t\tborderSkipped: 'left'\n\t\t\t}\n\t\t},\n\t\ttooltips: {\n\t\t\tcallbacks: {\n\t\t\t\ttitle: function(tooltipItems, data) {\n\t\t\t\t\t// Pick first xLabel for now\n\t\t\t\t\tvar title = '';\n\n\t\t\t\t\tif (tooltipItems.length > 0) {\n\t\t\t\t\t\tif (tooltipItems[0].yLabel) {\n\t\t\t\t\t\t\ttitle = tooltipItems[0].yLabel;\n\t\t\t\t\t\t} else if (data.labels.length > 0 && tooltipItems[0].index < data.labels.length) {\n\t\t\t\t\t\t\ttitle = data.labels[tooltipItems[0].index];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn title;\n\t\t\t\t},\n\t\t\t\tlabel: function(tooltipItem, data) {\n\t\t\t\t\tvar datasetLabel = data.datasets[tooltipItem.datasetIndex].label || '';\n\t\t\t\t\treturn datasetLabel + ': ' + tooltipItem.xLabel;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\tChart.controllers.horizontalBar = Chart.controllers.bar.extend({\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tgetValueScaleId: function() {\n\t\t\treturn this.getMeta().xAxisID;\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tgetIndexScaleId: function() {\n\t\t\treturn this.getMeta().yAxisID;\n\t\t}\n\t});\n};\n\n},{}],16:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\n\tChart.defaults.bubble = {\n\t\thover: {\n\t\t\tmode: 'single'\n\t\t},\n\n\t\tscales: {\n\t\t\txAxes: [{\n\t\t\t\ttype: 'linear', // bubble should probably use a linear scale by default\n\t\t\t\tposition: 'bottom',\n\t\t\t\tid: 'x-axis-0' // need an ID so datasets can reference the scale\n\t\t\t}],\n\t\t\tyAxes: [{\n\t\t\t\ttype: 'linear',\n\t\t\t\tposition: 'left',\n\t\t\t\tid: 'y-axis-0'\n\t\t\t}]\n\t\t},\n\n\t\ttooltips: {\n\t\t\tcallbacks: {\n\t\t\t\ttitle: function() {\n\t\t\t\t\t// Title doesn't make sense for scatter since we format the data as a point\n\t\t\t\t\treturn '';\n\t\t\t\t},\n\t\t\t\tlabel: function(tooltipItem, data) {\n\t\t\t\t\tvar datasetLabel = data.datasets[tooltipItem.datasetIndex].label || '';\n\t\t\t\t\tvar dataPoint = data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index];\n\t\t\t\t\treturn datasetLabel + ': (' + tooltipItem.xLabel + ', ' + tooltipItem.yLabel + ', ' + dataPoint.r + ')';\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\tChart.controllers.bubble = Chart.DatasetController.extend({\n\n\t\tdataElementType: Chart.elements.Point,\n\n\t\tupdate: function(reset) {\n\t\t\tvar me = this;\n\t\t\tvar meta = me.getMeta();\n\t\t\tvar points = meta.data;\n\n\t\t\t// Update Points\n\t\t\thelpers.each(points, function(point, index) {\n\t\t\t\tme.updateElement(point, index, reset);\n\t\t\t});\n\t\t},\n\n\t\tupdateElement: function(point, index, reset) {\n\t\t\tvar me = this;\n\t\t\tvar meta = me.getMeta();\n\t\t\tvar xScale = me.getScaleForId(meta.xAxisID);\n\t\t\tvar yScale = me.getScaleForId(meta.yAxisID);\n\n\t\t\tvar custom = point.custom || {};\n\t\t\tvar dataset = me.getDataset();\n\t\t\tvar data = dataset.data[index];\n\t\t\tvar pointElementOptions = me.chart.options.elements.point;\n\t\t\tvar dsIndex = me.index;\n\n\t\t\thelpers.extend(point, {\n\t\t\t\t// Utility\n\t\t\t\t_xScale: xScale,\n\t\t\t\t_yScale: yScale,\n\t\t\t\t_datasetIndex: dsIndex,\n\t\t\t\t_index: index,\n\n\t\t\t\t// Desired view properties\n\t\t\t\t_model: {\n\t\t\t\t\tx: reset ? xScale.getPixelForDecimal(0.5) : xScale.getPixelForValue(typeof data === 'object' ? data : NaN, index, dsIndex, me.chart.isCombo),\n\t\t\t\t\ty: reset ? yScale.getBasePixel() : yScale.getPixelForValue(data, index, dsIndex),\n\t\t\t\t\t// Appearance\n\t\t\t\t\tradius: reset ? 0 : custom.radius ? custom.radius : me.getRadius(data),\n\n\t\t\t\t\t// Tooltip\n\t\t\t\t\thitRadius: custom.hitRadius ? custom.hitRadius : helpers.getValueAtIndexOrDefault(dataset.hitRadius, index, pointElementOptions.hitRadius)\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t// Trick to reset the styles of the point\n\t\t\tChart.DatasetController.prototype.removeHoverStyle.call(me, point, pointElementOptions);\n\n\t\t\tvar model = point._model;\n\t\t\tmodel.skip = custom.skip ? custom.skip : (isNaN(model.x) || isNaN(model.y));\n\n\t\t\tpoint.pivot();\n\t\t},\n\n\t\tgetRadius: function(value) {\n\t\t\treturn value.r || this.chart.options.elements.point.radius;\n\t\t},\n\n\t\tsetHoverStyle: function(point) {\n\t\t\tvar me = this;\n\t\t\tChart.DatasetController.prototype.setHoverStyle.call(me, point);\n\n\t\t\t// Radius\n\t\t\tvar dataset = me.chart.data.datasets[point._datasetIndex];\n\t\t\tvar index = point._index;\n\t\t\tvar custom = point.custom || {};\n\t\t\tvar model = point._model;\n\t\t\tmodel.radius = custom.hoverRadius ? custom.hoverRadius : (helpers.getValueAtIndexOrDefault(dataset.hoverRadius, index, me.chart.options.elements.point.hoverRadius)) + me.getRadius(dataset.data[index]);\n\t\t},\n\n\t\tremoveHoverStyle: function(point) {\n\t\t\tvar me = this;\n\t\t\tChart.DatasetController.prototype.removeHoverStyle.call(me, point, me.chart.options.elements.point);\n\n\t\t\tvar dataVal = me.chart.data.datasets[point._datasetIndex].data[point._index];\n\t\t\tvar custom = point.custom || {};\n\t\t\tvar model = point._model;\n\n\t\t\tmodel.radius = custom.radius ? custom.radius : me.getRadius(dataVal);\n\t\t}\n\t});\n};\n\n},{}],17:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers,\n\t\tdefaults = Chart.defaults;\n\n\tdefaults.doughnut = {\n\t\tanimation: {\n\t\t\t// Boolean - Whether we animate the rotation of the Doughnut\n\t\t\tanimateRotate: true,\n\t\t\t// Boolean - Whether we animate scaling the Doughnut from the centre\n\t\t\tanimateScale: false\n\t\t},\n\t\taspectRatio: 1,\n\t\thover: {\n\t\t\tmode: 'single'\n\t\t},\n\t\tlegendCallback: function(chart) {\n\t\t\tvar text = [];\n\t\t\ttext.push('<ul class=\"' + chart.id + '-legend\">');\n\n\t\t\tvar data = chart.data;\n\t\t\tvar datasets = data.datasets;\n\t\t\tvar labels = data.labels;\n\n\t\t\tif (datasets.length) {\n\t\t\t\tfor (var i = 0; i < datasets[0].data.length; ++i) {\n\t\t\t\t\ttext.push('<li><span style=\"background-color:' + datasets[0].backgroundColor[i] + '\"></span>');\n\t\t\t\t\tif (labels[i]) {\n\t\t\t\t\t\ttext.push(labels[i]);\n\t\t\t\t\t}\n\t\t\t\t\ttext.push('</li>');\n\t\t\t\t}\n\t\t\t}\n\n\t\t\ttext.push('</ul>');\n\t\t\treturn text.join('');\n\t\t},\n\t\tlegend: {\n\t\t\tlabels: {\n\t\t\t\tgenerateLabels: function(chart) {\n\t\t\t\t\tvar data = chart.data;\n\t\t\t\t\tif (data.labels.length && data.datasets.length) {\n\t\t\t\t\t\treturn data.labels.map(function(label, i) {\n\t\t\t\t\t\t\tvar meta = chart.getDatasetMeta(0);\n\t\t\t\t\t\t\tvar ds = data.datasets[0];\n\t\t\t\t\t\t\tvar arc = meta.data[i];\n\t\t\t\t\t\t\tvar custom = arc && arc.custom || {};\n\t\t\t\t\t\t\tvar getValueAtIndexOrDefault = helpers.getValueAtIndexOrDefault;\n\t\t\t\t\t\t\tvar arcOpts = chart.options.elements.arc;\n\t\t\t\t\t\t\tvar fill = custom.backgroundColor ? custom.backgroundColor : getValueAtIndexOrDefault(ds.backgroundColor, i, arcOpts.backgroundColor);\n\t\t\t\t\t\t\tvar stroke = custom.borderColor ? custom.borderColor : getValueAtIndexOrDefault(ds.borderColor, i, arcOpts.borderColor);\n\t\t\t\t\t\t\tvar bw = custom.borderWidth ? custom.borderWidth : getValueAtIndexOrDefault(ds.borderWidth, i, arcOpts.borderWidth);\n\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\ttext: label,\n\t\t\t\t\t\t\t\tfillStyle: fill,\n\t\t\t\t\t\t\t\tstrokeStyle: stroke,\n\t\t\t\t\t\t\t\tlineWidth: bw,\n\t\t\t\t\t\t\t\thidden: isNaN(ds.data[i]) || meta.data[i].hidden,\n\n\t\t\t\t\t\t\t\t// Extra data used for toggling the correct item\n\t\t\t\t\t\t\t\tindex: i\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\treturn [];\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tonClick: function(e, legendItem) {\n\t\t\t\tvar index = legendItem.index;\n\t\t\t\tvar chart = this.chart;\n\t\t\t\tvar i, ilen, meta;\n\n\t\t\t\tfor (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) {\n\t\t\t\t\tmeta = chart.getDatasetMeta(i);\n\t\t\t\t\t// toggle visibility of index if exists\n\t\t\t\t\tif (meta.data[index]) {\n\t\t\t\t\t\tmeta.data[index].hidden = !meta.data[index].hidden;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tchart.update();\n\t\t\t}\n\t\t},\n\n\t\t// The percentage of the chart that we cut out of the middle.\n\t\tcutoutPercentage: 50,\n\n\t\t// The rotation of the chart, where the first data arc begins.\n\t\trotation: Math.PI * -0.5,\n\n\t\t// The total circumference of the chart.\n\t\tcircumference: Math.PI * 2.0,\n\n\t\t// Need to override these to give a nice default\n\t\ttooltips: {\n\t\t\tcallbacks: {\n\t\t\t\ttitle: function() {\n\t\t\t\t\treturn '';\n\t\t\t\t},\n\t\t\t\tlabel: function(tooltipItem, data) {\n\t\t\t\t\tvar dataLabel = data.labels[tooltipItem.index];\n\t\t\t\t\tvar value = ': ' + data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index];\n\n\t\t\t\t\tif (helpers.isArray(dataLabel)) {\n\t\t\t\t\t\t// show value on first line of multiline label\n\t\t\t\t\t\t// need to clone because we are changing the value\n\t\t\t\t\t\tdataLabel = dataLabel.slice();\n\t\t\t\t\t\tdataLabel[0] += value;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tdataLabel += value;\n\t\t\t\t\t}\n\n\t\t\t\t\treturn dataLabel;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\tdefaults.pie = helpers.clone(defaults.doughnut);\n\thelpers.extend(defaults.pie, {\n\t\tcutoutPercentage: 0\n\t});\n\n\n\tChart.controllers.doughnut = Chart.controllers.pie = Chart.DatasetController.extend({\n\n\t\tdataElementType: Chart.elements.Arc,\n\n\t\tlinkScales: helpers.noop,\n\n\t\t// Get index of the dataset in relation to the visible datasets. This allows determining the inner and outer radius correctly\n\t\tgetRingIndex: function(datasetIndex) {\n\t\t\tvar ringIndex = 0;\n\n\t\t\tfor (var j = 0; j < datasetIndex; ++j) {\n\t\t\t\tif (this.chart.isDatasetVisible(j)) {\n\t\t\t\t\t++ringIndex;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn ringIndex;\n\t\t},\n\n\t\tupdate: function(reset) {\n\t\t\tvar me = this;\n\t\t\tvar chart = me.chart,\n\t\t\t\tchartArea = chart.chartArea,\n\t\t\t\topts = chart.options,\n\t\t\t\tarcOpts = opts.elements.arc,\n\t\t\t\tavailableWidth = chartArea.right - chartArea.left - arcOpts.borderWidth,\n\t\t\t\tavailableHeight = chartArea.bottom - chartArea.top - arcOpts.borderWidth,\n\t\t\t\tminSize = Math.min(availableWidth, availableHeight),\n\t\t\t\toffset = {\n\t\t\t\t\tx: 0,\n\t\t\t\t\ty: 0\n\t\t\t\t},\n\t\t\t\tmeta = me.getMeta(),\n\t\t\t\tcutoutPercentage = opts.cutoutPercentage,\n\t\t\t\tcircumference = opts.circumference;\n\n\t\t\t// If the chart's circumference isn't a full circle, calculate minSize as a ratio of the width/height of the arc\n\t\t\tif (circumference < Math.PI * 2.0) {\n\t\t\t\tvar startAngle = opts.rotation % (Math.PI * 2.0);\n\t\t\t\tstartAngle += Math.PI * 2.0 * (startAngle >= Math.PI ? -1 : startAngle < -Math.PI ? 1 : 0);\n\t\t\t\tvar endAngle = startAngle + circumference;\n\t\t\t\tvar start = {x: Math.cos(startAngle), y: Math.sin(startAngle)};\n\t\t\t\tvar end = {x: Math.cos(endAngle), y: Math.sin(endAngle)};\n\t\t\t\tvar contains0 = (startAngle <= 0 && 0 <= endAngle) || (startAngle <= Math.PI * 2.0 && Math.PI * 2.0 <= endAngle);\n\t\t\t\tvar contains90 = (startAngle <= Math.PI * 0.5 && Math.PI * 0.5 <= endAngle) || (startAngle <= Math.PI * 2.5 && Math.PI * 2.5 <= endAngle);\n\t\t\t\tvar contains180 = (startAngle <= -Math.PI && -Math.PI <= endAngle) || (startAngle <= Math.PI && Math.PI <= endAngle);\n\t\t\t\tvar contains270 = (startAngle <= -Math.PI * 0.5 && -Math.PI * 0.5 <= endAngle) || (startAngle <= Math.PI * 1.5 && Math.PI * 1.5 <= endAngle);\n\t\t\t\tvar cutout = cutoutPercentage / 100.0;\n\t\t\t\tvar min = {x: contains180 ? -1 : Math.min(start.x * (start.x < 0 ? 1 : cutout), end.x * (end.x < 0 ? 1 : cutout)), y: contains270 ? -1 : Math.min(start.y * (start.y < 0 ? 1 : cutout), end.y * (end.y < 0 ? 1 : cutout))};\n\t\t\t\tvar max = {x: contains0 ? 1 : Math.max(start.x * (start.x > 0 ? 1 : cutout), end.x * (end.x > 0 ? 1 : cutout)), y: contains90 ? 1 : Math.max(start.y * (start.y > 0 ? 1 : cutout), end.y * (end.y > 0 ? 1 : cutout))};\n\t\t\t\tvar size = {width: (max.x - min.x) * 0.5, height: (max.y - min.y) * 0.5};\n\t\t\t\tminSize = Math.min(availableWidth / size.width, availableHeight / size.height);\n\t\t\t\toffset = {x: (max.x + min.x) * -0.5, y: (max.y + min.y) * -0.5};\n\t\t\t}\n\n\t\t\tchart.borderWidth = me.getMaxBorderWidth(meta.data);\n\t\t\tchart.outerRadius = Math.max((minSize - chart.borderWidth) / 2, 0);\n\t\t\tchart.innerRadius = Math.max(cutoutPercentage ? (chart.outerRadius / 100) * (cutoutPercentage) : 0, 0);\n\t\t\tchart.radiusLength = (chart.outerRadius - chart.innerRadius) / chart.getVisibleDatasetCount();\n\t\t\tchart.offsetX = offset.x * chart.outerRadius;\n\t\t\tchart.offsetY = offset.y * chart.outerRadius;\n\n\t\t\tmeta.total = me.calculateTotal();\n\n\t\t\tme.outerRadius = chart.outerRadius - (chart.radiusLength * me.getRingIndex(me.index));\n\t\t\tme.innerRadius = Math.max(me.outerRadius - chart.radiusLength, 0);\n\n\t\t\thelpers.each(meta.data, function(arc, index) {\n\t\t\t\tme.updateElement(arc, index, reset);\n\t\t\t});\n\t\t},\n\n\t\tupdateElement: function(arc, index, reset) {\n\t\t\tvar me = this;\n\t\t\tvar chart = me.chart,\n\t\t\t\tchartArea = chart.chartArea,\n\t\t\t\topts = chart.options,\n\t\t\t\tanimationOpts = opts.animation,\n\t\t\t\tcenterX = (chartArea.left + chartArea.right) / 2,\n\t\t\t\tcenterY = (chartArea.top + chartArea.bottom) / 2,\n\t\t\t\tstartAngle = opts.rotation, // non reset case handled later\n\t\t\t\tendAngle = opts.rotation, // non reset case handled later\n\t\t\t\tdataset = me.getDataset(),\n\t\t\t\tcircumference = reset && animationOpts.animateRotate ? 0 : arc.hidden ? 0 : me.calculateCircumference(dataset.data[index]) * (opts.circumference / (2.0 * Math.PI)),\n\t\t\t\tinnerRadius = reset && animationOpts.animateScale ? 0 : me.innerRadius,\n\t\t\t\touterRadius = reset && animationOpts.animateScale ? 0 : me.outerRadius,\n\t\t\t\tvalueAtIndexOrDefault = helpers.getValueAtIndexOrDefault;\n\n\t\t\thelpers.extend(arc, {\n\t\t\t\t// Utility\n\t\t\t\t_datasetIndex: me.index,\n\t\t\t\t_index: index,\n\n\t\t\t\t// Desired view properties\n\t\t\t\t_model: {\n\t\t\t\t\tx: centerX + chart.offsetX,\n\t\t\t\t\ty: centerY + chart.offsetY,\n\t\t\t\t\tstartAngle: startAngle,\n\t\t\t\t\tendAngle: endAngle,\n\t\t\t\t\tcircumference: circumference,\n\t\t\t\t\touterRadius: outerRadius,\n\t\t\t\t\tinnerRadius: innerRadius,\n\t\t\t\t\tlabel: valueAtIndexOrDefault(dataset.label, index, chart.data.labels[index])\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tvar model = arc._model;\n\t\t\t// Resets the visual styles\n\t\t\tthis.removeHoverStyle(arc);\n\n\t\t\t// Set correct angles if not resetting\n\t\t\tif (!reset || !animationOpts.animateRotate) {\n\t\t\t\tif (index === 0) {\n\t\t\t\t\tmodel.startAngle = opts.rotation;\n\t\t\t\t} else {\n\t\t\t\t\tmodel.startAngle = me.getMeta().data[index - 1]._model.endAngle;\n\t\t\t\t}\n\n\t\t\t\tmodel.endAngle = model.startAngle + model.circumference;\n\t\t\t}\n\n\t\t\tarc.pivot();\n\t\t},\n\n\t\tremoveHoverStyle: function(arc) {\n\t\t\tChart.DatasetController.prototype.removeHoverStyle.call(this, arc, this.chart.options.elements.arc);\n\t\t},\n\n\t\tcalculateTotal: function() {\n\t\t\tvar dataset = this.getDataset();\n\t\t\tvar meta = this.getMeta();\n\t\t\tvar total = 0;\n\t\t\tvar value;\n\n\t\t\thelpers.each(meta.data, function(element, index) {\n\t\t\t\tvalue = dataset.data[index];\n\t\t\t\tif (!isNaN(value) && !element.hidden) {\n\t\t\t\t\ttotal += Math.abs(value);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t/* if (total === 0) {\n\t\t\t\ttotal = NaN;\n\t\t\t}*/\n\n\t\t\treturn total;\n\t\t},\n\n\t\tcalculateCircumference: function(value) {\n\t\t\tvar total = this.getMeta().total;\n\t\t\tif (total > 0 && !isNaN(value)) {\n\t\t\t\treturn (Math.PI * 2.0) * (value / total);\n\t\t\t}\n\t\t\treturn 0;\n\t\t},\n\n\t\t// gets the max border or hover width to properly scale pie charts\n\t\tgetMaxBorderWidth: function(elements) {\n\t\t\tvar max = 0,\n\t\t\t\tindex = this.index,\n\t\t\t\tlength = elements.length,\n\t\t\t\tborderWidth,\n\t\t\t\thoverWidth;\n\n\t\t\tfor (var i = 0; i < length; i++) {\n\t\t\t\tborderWidth = elements[i]._model ? elements[i]._model.borderWidth : 0;\n\t\t\t\thoverWidth = elements[i]._chart ? elements[i]._chart.config.data.datasets[index].hoverBorderWidth : 0;\n\n\t\t\t\tmax = borderWidth > max ? borderWidth : max;\n\t\t\t\tmax = hoverWidth > max ? hoverWidth : max;\n\t\t\t}\n\t\t\treturn max;\n\t\t}\n\t});\n};\n\n},{}],18:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\n\tChart.defaults.line = {\n\t\tshowLines: true,\n\t\tspanGaps: false,\n\n\t\thover: {\n\t\t\tmode: 'label'\n\t\t},\n\n\t\tscales: {\n\t\t\txAxes: [{\n\t\t\t\ttype: 'category',\n\t\t\t\tid: 'x-axis-0'\n\t\t\t}],\n\t\t\tyAxes: [{\n\t\t\t\ttype: 'linear',\n\t\t\t\tid: 'y-axis-0'\n\t\t\t}]\n\t\t}\n\t};\n\n\tfunction lineEnabled(dataset, options) {\n\t\treturn helpers.getValueOrDefault(dataset.showLine, options.showLines);\n\t}\n\n\tChart.controllers.line = Chart.DatasetController.extend({\n\n\t\tdatasetElementType: Chart.elements.Line,\n\n\t\tdataElementType: Chart.elements.Point,\n\n\t\tupdate: function(reset) {\n\t\t\tvar me = this;\n\t\t\tvar meta = me.getMeta();\n\t\t\tvar line = meta.dataset;\n\t\t\tvar points = meta.data || [];\n\t\t\tvar options = me.chart.options;\n\t\t\tvar lineElementOptions = options.elements.line;\n\t\t\tvar scale = me.getScaleForId(meta.yAxisID);\n\t\t\tvar i, ilen, custom;\n\t\t\tvar dataset = me.getDataset();\n\t\t\tvar showLine = lineEnabled(dataset, options);\n\n\t\t\t// Update Line\n\t\t\tif (showLine) {\n\t\t\t\tcustom = line.custom || {};\n\n\t\t\t\t// Compatibility: If the properties are defined with only the old name, use those values\n\t\t\t\tif ((dataset.tension !== undefined) && (dataset.lineTension === undefined)) {\n\t\t\t\t\tdataset.lineTension = dataset.tension;\n\t\t\t\t}\n\n\t\t\t\t// Utility\n\t\t\t\tline._scale = scale;\n\t\t\t\tline._datasetIndex = me.index;\n\t\t\t\t// Data\n\t\t\t\tline._children = points;\n\t\t\t\t// Model\n\t\t\t\tline._model = {\n\t\t\t\t\t// Appearance\n\t\t\t\t\t// The default behavior of lines is to break at null values, according\n\t\t\t\t\t// to https://github.com/chartjs/Chart.js/issues/2435#issuecomment-216718158\n\t\t\t\t\t// This option gives lines the ability to span gaps\n\t\t\t\t\tspanGaps: dataset.spanGaps ? dataset.spanGaps : options.spanGaps,\n\t\t\t\t\ttension: custom.tension ? custom.tension : helpers.getValueOrDefault(dataset.lineTension, lineElementOptions.tension),\n\t\t\t\t\tbackgroundColor: custom.backgroundColor ? custom.backgroundColor : (dataset.backgroundColor || lineElementOptions.backgroundColor),\n\t\t\t\t\tborderWidth: custom.borderWidth ? custom.borderWidth : (dataset.borderWidth || lineElementOptions.borderWidth),\n\t\t\t\t\tborderColor: custom.borderColor ? custom.borderColor : (dataset.borderColor || lineElementOptions.borderColor),\n\t\t\t\t\tborderCapStyle: custom.borderCapStyle ? custom.borderCapStyle : (dataset.borderCapStyle || lineElementOptions.borderCapStyle),\n\t\t\t\t\tborderDash: custom.borderDash ? custom.borderDash : (dataset.borderDash || lineElementOptions.borderDash),\n\t\t\t\t\tborderDashOffset: custom.borderDashOffset ? custom.borderDashOffset : (dataset.borderDashOffset || lineElementOptions.borderDashOffset),\n\t\t\t\t\tborderJoinStyle: custom.borderJoinStyle ? custom.borderJoinStyle : (dataset.borderJoinStyle || lineElementOptions.borderJoinStyle),\n\t\t\t\t\tfill: custom.fill ? custom.fill : (dataset.fill !== undefined ? dataset.fill : lineElementOptions.fill),\n\t\t\t\t\tsteppedLine: custom.steppedLine ? custom.steppedLine : helpers.getValueOrDefault(dataset.steppedLine, lineElementOptions.stepped),\n\t\t\t\t\tcubicInterpolationMode: custom.cubicInterpolationMode ? custom.cubicInterpolationMode : helpers.getValueOrDefault(dataset.cubicInterpolationMode, lineElementOptions.cubicInterpolationMode),\n\t\t\t\t};\n\n\t\t\t\tline.pivot();\n\t\t\t}\n\n\t\t\t// Update Points\n\t\t\tfor (i=0, ilen=points.length; i<ilen; ++i) {\n\t\t\t\tme.updateElement(points[i], i, reset);\n\t\t\t}\n\n\t\t\tif (showLine && line._model.tension !== 0) {\n\t\t\t\tme.updateBezierControlPoints();\n\t\t\t}\n\n\t\t\t// Now pivot the point for animation\n\t\t\tfor (i=0, ilen=points.length; i<ilen; ++i) {\n\t\t\t\tpoints[i].pivot();\n\t\t\t}\n\t\t},\n\n\t\tgetPointBackgroundColor: function(point, index) {\n\t\t\tvar backgroundColor = this.chart.options.elements.point.backgroundColor;\n\t\t\tvar dataset = this.getDataset();\n\t\t\tvar custom = point.custom || {};\n\n\t\t\tif (custom.backgroundColor) {\n\t\t\t\tbackgroundColor = custom.backgroundColor;\n\t\t\t} else if (dataset.pointBackgroundColor) {\n\t\t\t\tbackgroundColor = helpers.getValueAtIndexOrDefault(dataset.pointBackgroundColor, index, backgroundColor);\n\t\t\t} else if (dataset.backgroundColor) {\n\t\t\t\tbackgroundColor = dataset.backgroundColor;\n\t\t\t}\n\n\t\t\treturn backgroundColor;\n\t\t},\n\n\t\tgetPointBorderColor: function(point, index) {\n\t\t\tvar borderColor = this.chart.options.elements.point.borderColor;\n\t\t\tvar dataset = this.getDataset();\n\t\t\tvar custom = point.custom || {};\n\n\t\t\tif (custom.borderColor) {\n\t\t\t\tborderColor = custom.borderColor;\n\t\t\t} else if (dataset.pointBorderColor) {\n\t\t\t\tborderColor = helpers.getValueAtIndexOrDefault(dataset.pointBorderColor, index, borderColor);\n\t\t\t} else if (dataset.borderColor) {\n\t\t\t\tborderColor = dataset.borderColor;\n\t\t\t}\n\n\t\t\treturn borderColor;\n\t\t},\n\n\t\tgetPointBorderWidth: function(point, index) {\n\t\t\tvar borderWidth = this.chart.options.elements.point.borderWidth;\n\t\t\tvar dataset = this.getDataset();\n\t\t\tvar custom = point.custom || {};\n\n\t\t\tif (!isNaN(custom.borderWidth)) {\n\t\t\t\tborderWidth = custom.borderWidth;\n\t\t\t} else if (!isNaN(dataset.pointBorderWidth)) {\n\t\t\t\tborderWidth = helpers.getValueAtIndexOrDefault(dataset.pointBorderWidth, index, borderWidth);\n\t\t\t} else if (!isNaN(dataset.borderWidth)) {\n\t\t\t\tborderWidth = dataset.borderWidth;\n\t\t\t}\n\n\t\t\treturn borderWidth;\n\t\t},\n\n\t\tupdateElement: function(point, index, reset) {\n\t\t\tvar me = this;\n\t\t\tvar meta = me.getMeta();\n\t\t\tvar custom = point.custom || {};\n\t\t\tvar dataset = me.getDataset();\n\t\t\tvar datasetIndex = me.index;\n\t\t\tvar value = dataset.data[index];\n\t\t\tvar yScale = me.getScaleForId(meta.yAxisID);\n\t\t\tvar xScale = me.getScaleForId(meta.xAxisID);\n\t\t\tvar pointOptions = me.chart.options.elements.point;\n\t\t\tvar x, y;\n\t\t\tvar labels = me.chart.data.labels || [];\n\t\t\tvar includeOffset = (labels.length === 1 || dataset.data.length === 1) || me.chart.isCombo;\n\n\t\t\t// Compatibility: If the properties are defined with only the old name, use those values\n\t\t\tif ((dataset.radius !== undefined) && (dataset.pointRadius === undefined)) {\n\t\t\t\tdataset.pointRadius = dataset.radius;\n\t\t\t}\n\t\t\tif ((dataset.hitRadius !== undefined) && (dataset.pointHitRadius === undefined)) {\n\t\t\t\tdataset.pointHitRadius = dataset.hitRadius;\n\t\t\t}\n\n\t\t\tx = xScale.getPixelForValue(typeof value === 'object' ? value : NaN, index, datasetIndex, includeOffset);\n\t\t\ty = reset ? yScale.getBasePixel() : me.calculatePointY(value, index, datasetIndex);\n\n\t\t\t// Utility\n\t\t\tpoint._xScale = xScale;\n\t\t\tpoint._yScale = yScale;\n\t\t\tpoint._datasetIndex = datasetIndex;\n\t\t\tpoint._index = index;\n\n\t\t\t// Desired view properties\n\t\t\tpoint._model = {\n\t\t\t\tx: x,\n\t\t\t\ty: y,\n\t\t\t\tskip: custom.skip || isNaN(x) || isNaN(y),\n\t\t\t\t// Appearance\n\t\t\t\tradius: custom.radius || helpers.getValueAtIndexOrDefault(dataset.pointRadius, index, pointOptions.radius),\n\t\t\t\tpointStyle: custom.pointStyle || helpers.getValueAtIndexOrDefault(dataset.pointStyle, index, pointOptions.pointStyle),\n\t\t\t\tbackgroundColor: me.getPointBackgroundColor(point, index),\n\t\t\t\tborderColor: me.getPointBorderColor(point, index),\n\t\t\t\tborderWidth: me.getPointBorderWidth(point, index),\n\t\t\t\ttension: meta.dataset._model ? meta.dataset._model.tension : 0,\n\t\t\t\tsteppedLine: meta.dataset._model ? meta.dataset._model.steppedLine : false,\n\t\t\t\t// Tooltip\n\t\t\t\thitRadius: custom.hitRadius || helpers.getValueAtIndexOrDefault(dataset.pointHitRadius, index, pointOptions.hitRadius)\n\t\t\t};\n\t\t},\n\n\t\tcalculatePointY: function(value, index, datasetIndex) {\n\t\t\tvar me = this;\n\t\t\tvar chart = me.chart;\n\t\t\tvar meta = me.getMeta();\n\t\t\tvar yScale = me.getScaleForId(meta.yAxisID);\n\t\t\tvar sumPos = 0;\n\t\t\tvar sumNeg = 0;\n\t\t\tvar i, ds, dsMeta;\n\n\t\t\tif (yScale.options.stacked) {\n\t\t\t\tfor (i = 0; i < datasetIndex; i++) {\n\t\t\t\t\tds = chart.data.datasets[i];\n\t\t\t\t\tdsMeta = chart.getDatasetMeta(i);\n\t\t\t\t\tif (dsMeta.type === 'line' && dsMeta.yAxisID === yScale.id && chart.isDatasetVisible(i)) {\n\t\t\t\t\t\tvar stackedRightValue = Number(yScale.getRightValue(ds.data[index]));\n\t\t\t\t\t\tif (stackedRightValue < 0) {\n\t\t\t\t\t\t\tsumNeg += stackedRightValue || 0;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tsumPos += stackedRightValue || 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tvar rightValue = Number(yScale.getRightValue(value));\n\t\t\t\tif (rightValue < 0) {\n\t\t\t\t\treturn yScale.getPixelForValue(sumNeg + rightValue);\n\t\t\t\t}\n\t\t\t\treturn yScale.getPixelForValue(sumPos + rightValue);\n\t\t\t}\n\n\t\t\treturn yScale.getPixelForValue(value);\n\t\t},\n\n\t\tupdateBezierControlPoints: function() {\n\t\t\tvar me = this;\n\t\t\tvar meta = me.getMeta();\n\t\t\tvar area = me.chart.chartArea;\n\t\t\tvar points = (meta.data || []);\n\t\t\tvar i, ilen, point, model, controlPoints;\n\n\t\t\t// Only consider points that are drawn in case the spanGaps option is used\n\t\t\tif (meta.dataset._model.spanGaps) {\n\t\t\t\tpoints = points.filter(function(pt) {\n\t\t\t\t\treturn !pt._model.skip;\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tfunction capControlPoint(pt, min, max) {\n\t\t\t\treturn Math.max(Math.min(pt, max), min);\n\t\t\t}\n\n\t\t\tif (meta.dataset._model.cubicInterpolationMode === 'monotone') {\n\t\t\t\thelpers.splineCurveMonotone(points);\n\t\t\t} else {\n\t\t\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\n\t\t\t\t\tpoint = points[i];\n\t\t\t\t\tmodel = point._model;\n\t\t\t\t\tcontrolPoints = helpers.splineCurve(\n\t\t\t\t\t\thelpers.previousItem(points, i)._model,\n\t\t\t\t\t\tmodel,\n\t\t\t\t\t\thelpers.nextItem(points, i)._model,\n\t\t\t\t\t\tmeta.dataset._model.tension\n\t\t\t\t\t);\n\t\t\t\t\tmodel.controlPointPreviousX = controlPoints.previous.x;\n\t\t\t\t\tmodel.controlPointPreviousY = controlPoints.previous.y;\n\t\t\t\t\tmodel.controlPointNextX = controlPoints.next.x;\n\t\t\t\t\tmodel.controlPointNextY = controlPoints.next.y;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (me.chart.options.elements.line.capBezierPoints) {\n\t\t\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\n\t\t\t\t\tmodel = points[i]._model;\n\t\t\t\t\tmodel.controlPointPreviousX = capControlPoint(model.controlPointPreviousX, area.left, area.right);\n\t\t\t\t\tmodel.controlPointPreviousY = capControlPoint(model.controlPointPreviousY, area.top, area.bottom);\n\t\t\t\t\tmodel.controlPointNextX = capControlPoint(model.controlPointNextX, area.left, area.right);\n\t\t\t\t\tmodel.controlPointNextY = capControlPoint(model.controlPointNextY, area.top, area.bottom);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\tdraw: function() {\n\t\t\tvar me = this;\n\t\t\tvar chart = me.chart;\n\t\t\tvar meta = me.getMeta();\n\t\t\tvar points = meta.data || [];\n\t\t\tvar area = chart.chartArea;\n\t\t\tvar ilen = points.length;\n\t\t\tvar i = 0;\n\n\t\t\tChart.canvasHelpers.clipArea(chart.ctx, area);\n\n\t\t\tif (lineEnabled(me.getDataset(), chart.options)) {\n\t\t\t\tmeta.dataset.draw();\n\t\t\t}\n\n\t\t\tChart.canvasHelpers.unclipArea(chart.ctx);\n\n\t\t\t// Draw the points\n\t\t\tfor (; i<ilen; ++i) {\n\t\t\t\tpoints[i].draw(area);\n\t\t\t}\n\t\t},\n\n\t\tsetHoverStyle: function(point) {\n\t\t\t// Point\n\t\t\tvar dataset = this.chart.data.datasets[point._datasetIndex];\n\t\t\tvar index = point._index;\n\t\t\tvar custom = point.custom || {};\n\t\t\tvar model = point._model;\n\n\t\t\tmodel.radius = custom.hoverRadius || helpers.getValueAtIndexOrDefault(dataset.pointHoverRadius, index, this.chart.options.elements.point.hoverRadius);\n\t\t\tmodel.backgroundColor = custom.hoverBackgroundColor || helpers.getValueAtIndexOrDefault(dataset.pointHoverBackgroundColor, index, helpers.getHoverColor(model.backgroundColor));\n\t\t\tmodel.borderColor = custom.hoverBorderColor || helpers.getValueAtIndexOrDefault(dataset.pointHoverBorderColor, index, helpers.getHoverColor(model.borderColor));\n\t\t\tmodel.borderWidth = custom.hoverBorderWidth || helpers.getValueAtIndexOrDefault(dataset.pointHoverBorderWidth, index, model.borderWidth);\n\t\t},\n\n\t\tremoveHoverStyle: function(point) {\n\t\t\tvar me = this;\n\t\t\tvar dataset = me.chart.data.datasets[point._datasetIndex];\n\t\t\tvar index = point._index;\n\t\t\tvar custom = point.custom || {};\n\t\t\tvar model = point._model;\n\n\t\t\t// Compatibility: If the properties are defined with only the old name, use those values\n\t\t\tif ((dataset.radius !== undefined) && (dataset.pointRadius === undefined)) {\n\t\t\t\tdataset.pointRadius = dataset.radius;\n\t\t\t}\n\n\t\t\tmodel.radius = custom.radius || helpers.getValueAtIndexOrDefault(dataset.pointRadius, index, me.chart.options.elements.point.radius);\n\t\t\tmodel.backgroundColor = me.getPointBackgroundColor(point, index);\n\t\t\tmodel.borderColor = me.getPointBorderColor(point, index);\n\t\t\tmodel.borderWidth = me.getPointBorderWidth(point, index);\n\t\t}\n\t});\n};\n\n},{}],19:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\n\tChart.defaults.polarArea = {\n\n\t\tscale: {\n\t\t\ttype: 'radialLinear',\n\t\t\tangleLines: {\n\t\t\t\tdisplay: false\n\t\t\t},\n\t\t\tgridLines: {\n\t\t\t\tcircular: true\n\t\t\t},\n\t\t\tpointLabels: {\n\t\t\t\tdisplay: false\n\t\t\t},\n\t\t\tticks: {\n\t\t\t\tbeginAtZero: true\n\t\t\t}\n\t\t},\n\n\t\t// Boolean - Whether to animate the rotation of the chart\n\t\tanimation: {\n\t\t\tanimateRotate: true,\n\t\t\tanimateScale: true\n\t\t},\n\n\t\tstartAngle: -0.5 * Math.PI,\n\t\taspectRatio: 1,\n\t\tlegendCallback: function(chart) {\n\t\t\tvar text = [];\n\t\t\ttext.push('<ul class=\"' + chart.id + '-legend\">');\n\n\t\t\tvar data = chart.data;\n\t\t\tvar datasets = data.datasets;\n\t\t\tvar labels = data.labels;\n\n\t\t\tif (datasets.length) {\n\t\t\t\tfor (var i = 0; i < datasets[0].data.length; ++i) {\n\t\t\t\t\ttext.push('<li><span style=\"background-color:' + datasets[0].backgroundColor[i] + '\"></span>');\n\t\t\t\t\tif (labels[i]) {\n\t\t\t\t\t\ttext.push(labels[i]);\n\t\t\t\t\t}\n\t\t\t\t\ttext.push('</li>');\n\t\t\t\t}\n\t\t\t}\n\n\t\t\ttext.push('</ul>');\n\t\t\treturn text.join('');\n\t\t},\n\t\tlegend: {\n\t\t\tlabels: {\n\t\t\t\tgenerateLabels: function(chart) {\n\t\t\t\t\tvar data = chart.data;\n\t\t\t\t\tif (data.labels.length && data.datasets.length) {\n\t\t\t\t\t\treturn data.labels.map(function(label, i) {\n\t\t\t\t\t\t\tvar meta = chart.getDatasetMeta(0);\n\t\t\t\t\t\t\tvar ds = data.datasets[0];\n\t\t\t\t\t\t\tvar arc = meta.data[i];\n\t\t\t\t\t\t\tvar custom = arc.custom || {};\n\t\t\t\t\t\t\tvar getValueAtIndexOrDefault = helpers.getValueAtIndexOrDefault;\n\t\t\t\t\t\t\tvar arcOpts = chart.options.elements.arc;\n\t\t\t\t\t\t\tvar fill = custom.backgroundColor ? custom.backgroundColor : getValueAtIndexOrDefault(ds.backgroundColor, i, arcOpts.backgroundColor);\n\t\t\t\t\t\t\tvar stroke = custom.borderColor ? custom.borderColor : getValueAtIndexOrDefault(ds.borderColor, i, arcOpts.borderColor);\n\t\t\t\t\t\t\tvar bw = custom.borderWidth ? custom.borderWidth : getValueAtIndexOrDefault(ds.borderWidth, i, arcOpts.borderWidth);\n\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\ttext: label,\n\t\t\t\t\t\t\t\tfillStyle: fill,\n\t\t\t\t\t\t\t\tstrokeStyle: stroke,\n\t\t\t\t\t\t\t\tlineWidth: bw,\n\t\t\t\t\t\t\t\thidden: isNaN(ds.data[i]) || meta.data[i].hidden,\n\n\t\t\t\t\t\t\t\t// Extra data used for toggling the correct item\n\t\t\t\t\t\t\t\tindex: i\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\treturn [];\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tonClick: function(e, legendItem) {\n\t\t\t\tvar index = legendItem.index;\n\t\t\t\tvar chart = this.chart;\n\t\t\t\tvar i, ilen, meta;\n\n\t\t\t\tfor (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) {\n\t\t\t\t\tmeta = chart.getDatasetMeta(i);\n\t\t\t\t\tmeta.data[index].hidden = !meta.data[index].hidden;\n\t\t\t\t}\n\n\t\t\t\tchart.update();\n\t\t\t}\n\t\t},\n\n\t\t// Need to override these to give a nice default\n\t\ttooltips: {\n\t\t\tcallbacks: {\n\t\t\t\ttitle: function() {\n\t\t\t\t\treturn '';\n\t\t\t\t},\n\t\t\t\tlabel: function(tooltipItem, data) {\n\t\t\t\t\treturn data.labels[tooltipItem.index] + ': ' + tooltipItem.yLabel;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\tChart.controllers.polarArea = Chart.DatasetController.extend({\n\n\t\tdataElementType: Chart.elements.Arc,\n\n\t\tlinkScales: helpers.noop,\n\n\t\tupdate: function(reset) {\n\t\t\tvar me = this;\n\t\t\tvar chart = me.chart;\n\t\t\tvar chartArea = chart.chartArea;\n\t\t\tvar meta = me.getMeta();\n\t\t\tvar opts = chart.options;\n\t\t\tvar arcOpts = opts.elements.arc;\n\t\t\tvar minSize = Math.min(chartArea.right - chartArea.left, chartArea.bottom - chartArea.top);\n\t\t\tchart.outerRadius = Math.max((minSize - arcOpts.borderWidth / 2) / 2, 0);\n\t\t\tchart.innerRadius = Math.max(opts.cutoutPercentage ? (chart.outerRadius / 100) * (opts.cutoutPercentage) : 1, 0);\n\t\t\tchart.radiusLength = (chart.outerRadius - chart.innerRadius) / chart.getVisibleDatasetCount();\n\n\t\t\tme.outerRadius = chart.outerRadius - (chart.radiusLength * me.index);\n\t\t\tme.innerRadius = me.outerRadius - chart.radiusLength;\n\n\t\t\tmeta.count = me.countVisibleElements();\n\n\t\t\thelpers.each(meta.data, function(arc, index) {\n\t\t\t\tme.updateElement(arc, index, reset);\n\t\t\t});\n\t\t},\n\n\t\tupdateElement: function(arc, index, reset) {\n\t\t\tvar me = this;\n\t\t\tvar chart = me.chart;\n\t\t\tvar dataset = me.getDataset();\n\t\t\tvar opts = chart.options;\n\t\t\tvar animationOpts = opts.animation;\n\t\t\tvar scale = chart.scale;\n\t\t\tvar getValueAtIndexOrDefault = helpers.getValueAtIndexOrDefault;\n\t\t\tvar labels = chart.data.labels;\n\n\t\t\tvar circumference = me.calculateCircumference(dataset.data[index]);\n\t\t\tvar centerX = scale.xCenter;\n\t\t\tvar centerY = scale.yCenter;\n\n\t\t\t// If there is NaN data before us, we need to calculate the starting angle correctly.\n\t\t\t// We could be way more efficient here, but its unlikely that the polar area chart will have a lot of data\n\t\t\tvar visibleCount = 0;\n\t\t\tvar meta = me.getMeta();\n\t\t\tfor (var i = 0; i < index; ++i) {\n\t\t\t\tif (!isNaN(dataset.data[i]) && !meta.data[i].hidden) {\n\t\t\t\t\t++visibleCount;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// var negHalfPI = -0.5 * Math.PI;\n\t\t\tvar datasetStartAngle = opts.startAngle;\n\t\t\tvar distance = arc.hidden ? 0 : scale.getDistanceFromCenterForValue(dataset.data[index]);\n\t\t\tvar startAngle = datasetStartAngle + (circumference * visibleCount);\n\t\t\tvar endAngle = startAngle + (arc.hidden ? 0 : circumference);\n\n\t\t\tvar resetRadius = animationOpts.animateScale ? 0 : scale.getDistanceFromCenterForValue(dataset.data[index]);\n\n\t\t\thelpers.extend(arc, {\n\t\t\t\t// Utility\n\t\t\t\t_datasetIndex: me.index,\n\t\t\t\t_index: index,\n\t\t\t\t_scale: scale,\n\n\t\t\t\t// Desired view properties\n\t\t\t\t_model: {\n\t\t\t\t\tx: centerX,\n\t\t\t\t\ty: centerY,\n\t\t\t\t\tinnerRadius: 0,\n\t\t\t\t\touterRadius: reset ? resetRadius : distance,\n\t\t\t\t\tstartAngle: reset && animationOpts.animateRotate ? datasetStartAngle : startAngle,\n\t\t\t\t\tendAngle: reset && animationOpts.animateRotate ? datasetStartAngle : endAngle,\n\t\t\t\t\tlabel: getValueAtIndexOrDefault(labels, index, labels[index])\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t// Apply border and fill style\n\t\t\tme.removeHoverStyle(arc);\n\n\t\t\tarc.pivot();\n\t\t},\n\n\t\tremoveHoverStyle: function(arc) {\n\t\t\tChart.DatasetController.prototype.removeHoverStyle.call(this, arc, this.chart.options.elements.arc);\n\t\t},\n\n\t\tcountVisibleElements: function() {\n\t\t\tvar dataset = this.getDataset();\n\t\t\tvar meta = this.getMeta();\n\t\t\tvar count = 0;\n\n\t\t\thelpers.each(meta.data, function(element, index) {\n\t\t\t\tif (!isNaN(dataset.data[index]) && !element.hidden) {\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\treturn count;\n\t\t},\n\n\t\tcalculateCircumference: function(value) {\n\t\t\tvar count = this.getMeta().count;\n\t\t\tif (count > 0 && !isNaN(value)) {\n\t\t\t\treturn (2 * Math.PI) / count;\n\t\t\t}\n\t\t\treturn 0;\n\t\t}\n\t});\n};\n\n},{}],20:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\n\tChart.defaults.radar = {\n\t\taspectRatio: 1,\n\t\tscale: {\n\t\t\ttype: 'radialLinear'\n\t\t},\n\t\telements: {\n\t\t\tline: {\n\t\t\t\ttension: 0 // no bezier in radar\n\t\t\t}\n\t\t}\n\t};\n\n\tChart.controllers.radar = Chart.DatasetController.extend({\n\n\t\tdatasetElementType: Chart.elements.Line,\n\n\t\tdataElementType: Chart.elements.Point,\n\n\t\tlinkScales: helpers.noop,\n\n\t\tupdate: function(reset) {\n\t\t\tvar me = this;\n\t\t\tvar meta = me.getMeta();\n\t\t\tvar line = meta.dataset;\n\t\t\tvar points = meta.data;\n\t\t\tvar custom = line.custom || {};\n\t\t\tvar dataset = me.getDataset();\n\t\t\tvar lineElementOptions = me.chart.options.elements.line;\n\t\t\tvar scale = me.chart.scale;\n\n\t\t\t// Compatibility: If the properties are defined with only the old name, use those values\n\t\t\tif ((dataset.tension !== undefined) && (dataset.lineTension === undefined)) {\n\t\t\t\tdataset.lineTension = dataset.tension;\n\t\t\t}\n\n\t\t\thelpers.extend(meta.dataset, {\n\t\t\t\t// Utility\n\t\t\t\t_datasetIndex: me.index,\n\t\t\t\t_scale: scale,\n\t\t\t\t// Data\n\t\t\t\t_children: points,\n\t\t\t\t_loop: true,\n\t\t\t\t// Model\n\t\t\t\t_model: {\n\t\t\t\t\t// Appearance\n\t\t\t\t\ttension: custom.tension ? custom.tension : helpers.getValueOrDefault(dataset.lineTension, lineElementOptions.tension),\n\t\t\t\t\tbackgroundColor: custom.backgroundColor ? custom.backgroundColor : (dataset.backgroundColor || lineElementOptions.backgroundColor),\n\t\t\t\t\tborderWidth: custom.borderWidth ? custom.borderWidth : (dataset.borderWidth || lineElementOptions.borderWidth),\n\t\t\t\t\tborderColor: custom.borderColor ? custom.borderColor : (dataset.borderColor || lineElementOptions.borderColor),\n\t\t\t\t\tfill: custom.fill ? custom.fill : (dataset.fill !== undefined ? dataset.fill : lineElementOptions.fill),\n\t\t\t\t\tborderCapStyle: custom.borderCapStyle ? custom.borderCapStyle : (dataset.borderCapStyle || lineElementOptions.borderCapStyle),\n\t\t\t\t\tborderDash: custom.borderDash ? custom.borderDash : (dataset.borderDash || lineElementOptions.borderDash),\n\t\t\t\t\tborderDashOffset: custom.borderDashOffset ? custom.borderDashOffset : (dataset.borderDashOffset || lineElementOptions.borderDashOffset),\n\t\t\t\t\tborderJoinStyle: custom.borderJoinStyle ? custom.borderJoinStyle : (dataset.borderJoinStyle || lineElementOptions.borderJoinStyle),\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tmeta.dataset.pivot();\n\n\t\t\t// Update Points\n\t\t\thelpers.each(points, function(point, index) {\n\t\t\t\tme.updateElement(point, index, reset);\n\t\t\t}, me);\n\n\t\t\t// Update bezier control points\n\t\t\tme.updateBezierControlPoints();\n\t\t},\n\t\tupdateElement: function(point, index, reset) {\n\t\t\tvar me = this;\n\t\t\tvar custom = point.custom || {};\n\t\t\tvar dataset = me.getDataset();\n\t\t\tvar scale = me.chart.scale;\n\t\t\tvar pointElementOptions = me.chart.options.elements.point;\n\t\t\tvar pointPosition = scale.getPointPositionForValue(index, dataset.data[index]);\n\n\t\t\t// Compatibility: If the properties are defined with only the old name, use those values\n\t\t\tif ((dataset.radius !== undefined) && (dataset.pointRadius === undefined)) {\n\t\t\t\tdataset.pointRadius = dataset.radius;\n\t\t\t}\n\t\t\tif ((dataset.hitRadius !== undefined) && (dataset.pointHitRadius === undefined)) {\n\t\t\t\tdataset.pointHitRadius = dataset.hitRadius;\n\t\t\t}\n\n\t\t\thelpers.extend(point, {\n\t\t\t\t// Utility\n\t\t\t\t_datasetIndex: me.index,\n\t\t\t\t_index: index,\n\t\t\t\t_scale: scale,\n\n\t\t\t\t// Desired view properties\n\t\t\t\t_model: {\n\t\t\t\t\tx: reset ? scale.xCenter : pointPosition.x, // value not used in dataset scale, but we want a consistent API between scales\n\t\t\t\t\ty: reset ? scale.yCenter : pointPosition.y,\n\n\t\t\t\t\t// Appearance\n\t\t\t\t\ttension: custom.tension ? custom.tension : helpers.getValueOrDefault(dataset.lineTension, me.chart.options.elements.line.tension),\n\t\t\t\t\tradius: custom.radius ? custom.radius : helpers.getValueAtIndexOrDefault(dataset.pointRadius, index, pointElementOptions.radius),\n\t\t\t\t\tbackgroundColor: custom.backgroundColor ? custom.backgroundColor : helpers.getValueAtIndexOrDefault(dataset.pointBackgroundColor, index, pointElementOptions.backgroundColor),\n\t\t\t\t\tborderColor: custom.borderColor ? custom.borderColor : helpers.getValueAtIndexOrDefault(dataset.pointBorderColor, index, pointElementOptions.borderColor),\n\t\t\t\t\tborderWidth: custom.borderWidth ? custom.borderWidth : helpers.getValueAtIndexOrDefault(dataset.pointBorderWidth, index, pointElementOptions.borderWidth),\n\t\t\t\t\tpointStyle: custom.pointStyle ? custom.pointStyle : helpers.getValueAtIndexOrDefault(dataset.pointStyle, index, pointElementOptions.pointStyle),\n\n\t\t\t\t\t// Tooltip\n\t\t\t\t\thitRadius: custom.hitRadius ? custom.hitRadius : helpers.getValueAtIndexOrDefault(dataset.pointHitRadius, index, pointElementOptions.hitRadius)\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tpoint._model.skip = custom.skip ? custom.skip : (isNaN(point._model.x) || isNaN(point._model.y));\n\t\t},\n\t\tupdateBezierControlPoints: function() {\n\t\t\tvar chartArea = this.chart.chartArea;\n\t\t\tvar meta = this.getMeta();\n\n\t\t\thelpers.each(meta.data, function(point, index) {\n\t\t\t\tvar model = point._model;\n\t\t\t\tvar controlPoints = helpers.splineCurve(\n\t\t\t\t\thelpers.previousItem(meta.data, index, true)._model,\n\t\t\t\t\tmodel,\n\t\t\t\t\thelpers.nextItem(meta.data, index, true)._model,\n\t\t\t\t\tmodel.tension\n\t\t\t\t);\n\n\t\t\t\t// Prevent the bezier going outside of the bounds of the graph\n\t\t\t\tmodel.controlPointPreviousX = Math.max(Math.min(controlPoints.previous.x, chartArea.right), chartArea.left);\n\t\t\t\tmodel.controlPointPreviousY = Math.max(Math.min(controlPoints.previous.y, chartArea.bottom), chartArea.top);\n\n\t\t\t\tmodel.controlPointNextX = Math.max(Math.min(controlPoints.next.x, chartArea.right), chartArea.left);\n\t\t\t\tmodel.controlPointNextY = Math.max(Math.min(controlPoints.next.y, chartArea.bottom), chartArea.top);\n\n\t\t\t\t// Now pivot the point for animation\n\t\t\t\tpoint.pivot();\n\t\t\t});\n\t\t},\n\n\t\tsetHoverStyle: function(point) {\n\t\t\t// Point\n\t\t\tvar dataset = this.chart.data.datasets[point._datasetIndex];\n\t\t\tvar custom = point.custom || {};\n\t\t\tvar index = point._index;\n\t\t\tvar model = point._model;\n\n\t\t\tmodel.radius = custom.hoverRadius ? custom.hoverRadius : helpers.getValueAtIndexOrDefault(dataset.pointHoverRadius, index, this.chart.options.elements.point.hoverRadius);\n\t\t\tmodel.backgroundColor = custom.hoverBackgroundColor ? custom.hoverBackgroundColor : helpers.getValueAtIndexOrDefault(dataset.pointHoverBackgroundColor, index, helpers.getHoverColor(model.backgroundColor));\n\t\t\tmodel.borderColor = custom.hoverBorderColor ? custom.hoverBorderColor : helpers.getValueAtIndexOrDefault(dataset.pointHoverBorderColor, index, helpers.getHoverColor(model.borderColor));\n\t\t\tmodel.borderWidth = custom.hoverBorderWidth ? custom.hoverBorderWidth : helpers.getValueAtIndexOrDefault(dataset.pointHoverBorderWidth, index, model.borderWidth);\n\t\t},\n\n\t\tremoveHoverStyle: function(point) {\n\t\t\tvar dataset = this.chart.data.datasets[point._datasetIndex];\n\t\t\tvar custom = point.custom || {};\n\t\t\tvar index = point._index;\n\t\t\tvar model = point._model;\n\t\t\tvar pointElementOptions = this.chart.options.elements.point;\n\n\t\t\tmodel.radius = custom.radius ? custom.radius : helpers.getValueAtIndexOrDefault(dataset.pointRadius, index, pointElementOptions.radius);\n\t\t\tmodel.backgroundColor = custom.backgroundColor ? custom.backgroundColor : helpers.getValueAtIndexOrDefault(dataset.pointBackgroundColor, index, pointElementOptions.backgroundColor);\n\t\t\tmodel.borderColor = custom.borderColor ? custom.borderColor : helpers.getValueAtIndexOrDefault(dataset.pointBorderColor, index, pointElementOptions.borderColor);\n\t\t\tmodel.borderWidth = custom.borderWidth ? custom.borderWidth : helpers.getValueAtIndexOrDefault(dataset.pointBorderWidth, index, pointElementOptions.borderWidth);\n\t\t}\n\t});\n};\n\n},{}],21:[function(require,module,exports){\n/* global window: false */\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\n\tChart.defaults.global.animation = {\n\t\tduration: 1000,\n\t\teasing: 'easeOutQuart',\n\t\tonProgress: helpers.noop,\n\t\tonComplete: helpers.noop\n\t};\n\n\tChart.Animation = Chart.Element.extend({\n\t\tchart: null, // the animation associated chart instance\n\t\tcurrentStep: 0, // the current animation step\n\t\tnumSteps: 60, // default number of steps\n\t\teasing: '', // the easing to use for this animation\n\t\trender: null, // render function used by the animation service\n\n\t\tonAnimationProgress: null, // user specified callback to fire on each step of the animation\n\t\tonAnimationComplete: null, // user specified callback to fire when the animation finishes\n\t});\n\n\tChart.animationService = {\n\t\tframeDuration: 17,\n\t\tanimations: [],\n\t\tdropFrames: 0,\n\t\trequest: null,\n\n\t\t/**\n\t\t * @param {Chart} chart - The chart to animate.\n\t\t * @param {Chart.Animation} animation - The animation that we will animate.\n\t\t * @param {Number} duration - The animation duration in ms.\n\t\t * @param {Boolean} lazy - if true, the chart is not marked as animating to enable more responsive interactions\n\t\t */\n\t\taddAnimation: function(chart, animation, duration, lazy) {\n\t\t\tvar animations = this.animations;\n\t\t\tvar i, ilen;\n\n\t\t\tanimation.chart = chart;\n\n\t\t\tif (!lazy) {\n\t\t\t\tchart.animating = true;\n\t\t\t}\n\n\t\t\tfor (i=0, ilen=animations.length; i < ilen; ++i) {\n\t\t\t\tif (animations[i].chart === chart) {\n\t\t\t\t\tanimations[i] = animation;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tanimations.push(animation);\n\n\t\t\t// If there are no animations queued, manually kickstart a digest, for lack of a better word\n\t\t\tif (animations.length === 1) {\n\t\t\t\tthis.requestAnimationFrame();\n\t\t\t}\n\t\t},\n\n\t\tcancelAnimation: function(chart) {\n\t\t\tvar index = helpers.findIndex(this.animations, function(animation) {\n\t\t\t\treturn animation.chart === chart;\n\t\t\t});\n\n\t\t\tif (index !== -1) {\n\t\t\t\tthis.animations.splice(index, 1);\n\t\t\t\tchart.animating = false;\n\t\t\t}\n\t\t},\n\n\t\trequestAnimationFrame: function() {\n\t\t\tvar me = this;\n\t\t\tif (me.request === null) {\n\t\t\t\t// Skip animation frame requests until the active one is executed.\n\t\t\t\t// This can happen when processing mouse events, e.g. 'mousemove'\n\t\t\t\t// and 'mouseout' events will trigger multiple renders.\n\t\t\t\tme.request = helpers.requestAnimFrame.call(window, function() {\n\t\t\t\t\tme.request = null;\n\t\t\t\t\tme.startDigest();\n\t\t\t\t});\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tstartDigest: function() {\n\t\t\tvar me = this;\n\t\t\tvar startTime = Date.now();\n\t\t\tvar framesToDrop = 0;\n\n\t\t\tif (me.dropFrames > 1) {\n\t\t\t\tframesToDrop = Math.floor(me.dropFrames);\n\t\t\t\tme.dropFrames = me.dropFrames % 1;\n\t\t\t}\n\n\t\t\tme.advance(1 + framesToDrop);\n\n\t\t\tvar endTime = Date.now();\n\n\t\t\tme.dropFrames += (endTime - startTime) / me.frameDuration;\n\n\t\t\t// Do we have more stuff to animate?\n\t\t\tif (me.animations.length > 0) {\n\t\t\t\tme.requestAnimationFrame();\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tadvance: function(count) {\n\t\t\tvar animations = this.animations;\n\t\t\tvar animation, chart;\n\t\t\tvar i = 0;\n\n\t\t\twhile (i < animations.length) {\n\t\t\t\tanimation = animations[i];\n\t\t\t\tchart = animation.chart;\n\n\t\t\t\tanimation.currentStep = (animation.currentStep || 0) + count;\n\t\t\t\tanimation.currentStep = Math.min(animation.currentStep, animation.numSteps);\n\n\t\t\t\thelpers.callback(animation.render, [chart, animation], chart);\n\t\t\t\thelpers.callback(animation.onAnimationProgress, [animation], chart);\n\n\t\t\t\tif (animation.currentStep >= animation.numSteps) {\n\t\t\t\t\thelpers.callback(animation.onAnimationComplete, [animation], chart);\n\t\t\t\t\tchart.animating = false;\n\t\t\t\t\tanimations.splice(i, 1);\n\t\t\t\t} else {\n\t\t\t\t\t++i;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\t/**\n\t * Provided for backward compatibility, use Chart.Animation instead\n\t * @prop Chart.Animation#animationObject\n\t * @deprecated since version 2.6.0\n\t * @todo remove at version 3\n\t */\n\tObject.defineProperty(Chart.Animation.prototype, 'animationObject', {\n\t\tget: function() {\n\t\t\treturn this;\n\t\t}\n\t});\n\n\t/**\n\t * Provided for backward compatibility, use Chart.Animation#chart instead\n\t * @prop Chart.Animation#chartInstance\n\t * @deprecated since version 2.6.0\n\t * @todo remove at version 3\n\t */\n\tObject.defineProperty(Chart.Animation.prototype, 'chartInstance', {\n\t\tget: function() {\n\t\t\treturn this.chart;\n\t\t},\n\t\tset: function(value) {\n\t\t\tthis.chart = value;\n\t\t}\n\t});\n\n};\n\n},{}],22:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\t// Global Chart canvas helpers object for drawing items to canvas\n\tvar helpers = Chart.canvasHelpers = {};\n\n\thelpers.drawPoint = function(ctx, pointStyle, radius, x, y) {\n\t\tvar type, edgeLength, xOffset, yOffset, height, size;\n\n\t\tif (typeof pointStyle === 'object') {\n\t\t\ttype = pointStyle.toString();\n\t\t\tif (type === '[object HTMLImageElement]' || type === '[object HTMLCanvasElement]') {\n\t\t\t\tctx.drawImage(pointStyle, x - pointStyle.width / 2, y - pointStyle.height / 2, pointStyle.width, pointStyle.height);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tif (isNaN(radius) || radius <= 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tswitch (pointStyle) {\n\t\t// Default includes circle\n\t\tdefault:\n\t\t\tctx.beginPath();\n\t\t\tctx.arc(x, y, radius, 0, Math.PI * 2);\n\t\t\tctx.closePath();\n\t\t\tctx.fill();\n\t\t\tbreak;\n\t\tcase 'triangle':\n\t\t\tctx.beginPath();\n\t\t\tedgeLength = 3 * radius / Math.sqrt(3);\n\t\t\theight = edgeLength * Math.sqrt(3) / 2;\n\t\t\tctx.moveTo(x - edgeLength / 2, y + height / 3);\n\t\t\tctx.lineTo(x + edgeLength / 2, y + height / 3);\n\t\t\tctx.lineTo(x, y - 2 * height / 3);\n\t\t\tctx.closePath();\n\t\t\tctx.fill();\n\t\t\tbreak;\n\t\tcase 'rect':\n\t\t\tsize = 1 / Math.SQRT2 * radius;\n\t\t\tctx.beginPath();\n\t\t\tctx.fillRect(x - size, y - size, 2 * size, 2 * size);\n\t\t\tctx.strokeRect(x - size, y - size, 2 * size, 2 * size);\n\t\t\tbreak;\n\t\tcase 'rectRounded':\n\t\t\tvar offset = radius / Math.SQRT2;\n\t\t\tvar leftX = x - offset;\n\t\t\tvar topY = y - offset;\n\t\t\tvar sideSize = Math.SQRT2 * radius;\n\t\t\tChart.helpers.drawRoundedRectangle(ctx, leftX, topY, sideSize, sideSize, radius / 2);\n\t\t\tctx.fill();\n\t\t\tbreak;\n\t\tcase 'rectRot':\n\t\t\tsize = 1 / Math.SQRT2 * radius;\n\t\t\tctx.beginPath();\n\t\t\tctx.moveTo(x - size, y);\n\t\t\tctx.lineTo(x, y + size);\n\t\t\tctx.lineTo(x + size, y);\n\t\t\tctx.lineTo(x, y - size);\n\t\t\tctx.closePath();\n\t\t\tctx.fill();\n\t\t\tbreak;\n\t\tcase 'cross':\n\t\t\tctx.beginPath();\n\t\t\tctx.moveTo(x, y + radius);\n\t\t\tctx.lineTo(x, y - radius);\n\t\t\tctx.moveTo(x - radius, y);\n\t\t\tctx.lineTo(x + radius, y);\n\t\t\tctx.closePath();\n\t\t\tbreak;\n\t\tcase 'crossRot':\n\t\t\tctx.beginPath();\n\t\t\txOffset = Math.cos(Math.PI / 4) * radius;\n\t\t\tyOffset = Math.sin(Math.PI / 4) * radius;\n\t\t\tctx.moveTo(x - xOffset, y - yOffset);\n\t\t\tctx.lineTo(x + xOffset, y + yOffset);\n\t\t\tctx.moveTo(x - xOffset, y + yOffset);\n\t\t\tctx.lineTo(x + xOffset, y - yOffset);\n\t\t\tctx.closePath();\n\t\t\tbreak;\n\t\tcase 'star':\n\t\t\tctx.beginPath();\n\t\t\tctx.moveTo(x, y + radius);\n\t\t\tctx.lineTo(x, y - radius);\n\t\t\tctx.moveTo(x - radius, y);\n\t\t\tctx.lineTo(x + radius, y);\n\t\t\txOffset = Math.cos(Math.PI / 4) * radius;\n\t\t\tyOffset = Math.sin(Math.PI / 4) * radius;\n\t\t\tctx.moveTo(x - xOffset, y - yOffset);\n\t\t\tctx.lineTo(x + xOffset, y + yOffset);\n\t\t\tctx.moveTo(x - xOffset, y + yOffset);\n\t\t\tctx.lineTo(x + xOffset, y - yOffset);\n\t\t\tctx.closePath();\n\t\t\tbreak;\n\t\tcase 'line':\n\t\t\tctx.beginPath();\n\t\t\tctx.moveTo(x - radius, y);\n\t\t\tctx.lineTo(x + radius, y);\n\t\t\tctx.closePath();\n\t\t\tbreak;\n\t\tcase 'dash':\n\t\t\tctx.beginPath();\n\t\t\tctx.moveTo(x, y);\n\t\t\tctx.lineTo(x + radius, y);\n\t\t\tctx.closePath();\n\t\t\tbreak;\n\t\t}\n\n\t\tctx.stroke();\n\t};\n\n\thelpers.clipArea = function(ctx, clipArea) {\n\t\tctx.save();\n\t\tctx.beginPath();\n\t\tctx.rect(clipArea.left, clipArea.top, clipArea.right - clipArea.left, clipArea.bottom - clipArea.top);\n\t\tctx.clip();\n\t};\n\n\thelpers.unclipArea = function(ctx) {\n\t\tctx.restore();\n\t};\n\n\thelpers.lineTo = function(ctx, previous, target, flip) {\n\t\tif (target.steppedLine) {\n\t\t\tif (target.steppedLine === 'after') {\n\t\t\t\tctx.lineTo(previous.x, target.y);\n\t\t\t} else {\n\t\t\t\tctx.lineTo(target.x, previous.y);\n\t\t\t}\n\t\t\tctx.lineTo(target.x, target.y);\n\t\t\treturn;\n\t\t}\n\n\t\tif (!target.tension) {\n\t\t\tctx.lineTo(target.x, target.y);\n\t\t\treturn;\n\t\t}\n\n\t\tctx.bezierCurveTo(\n\t\t\tflip? previous.controlPointPreviousX : previous.controlPointNextX,\n\t\t\tflip? previous.controlPointPreviousY : previous.controlPointNextY,\n\t\t\tflip? target.controlPointNextX : target.controlPointPreviousX,\n\t\t\tflip? target.controlPointNextY : target.controlPointPreviousY,\n\t\t\ttarget.x,\n\t\t\ttarget.y);\n\t};\n\n\tChart.helpers.canvas = helpers;\n};\n\n},{}],23:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\tvar plugins = Chart.plugins;\n\tvar platform = Chart.platform;\n\n\t// Create a dictionary of chart types, to allow for extension of existing types\n\tChart.types = {};\n\n\t// Store a reference to each instance - allowing us to globally resize chart instances on window resize.\n\t// Destroy method on the chart will remove the instance of the chart from this reference.\n\tChart.instances = {};\n\n\t// Controllers available for dataset visualization eg. bar, line, slice, etc.\n\tChart.controllers = {};\n\n\t/**\n\t * Initializes the given config with global and chart default values.\n\t */\n\tfunction initConfig(config) {\n\t\tconfig = config || {};\n\n\t\t// Do NOT use configMerge() for the data object because this method merges arrays\n\t\t// and so would change references to labels and datasets, preventing data updates.\n\t\tvar data = config.data = config.data || {};\n\t\tdata.datasets = data.datasets || [];\n\t\tdata.labels = data.labels || [];\n\n\t\tconfig.options = helpers.configMerge(\n\t\t\tChart.defaults.global,\n\t\t\tChart.defaults[config.type],\n\t\t\tconfig.options || {});\n\n\t\treturn config;\n\t}\n\n\t/**\n\t * Updates the config of the chart\n\t * @param chart {Chart} chart to update the options for\n\t */\n\tfunction updateConfig(chart) {\n\t\tvar newOptions = chart.options;\n\n\t\t// Update Scale(s) with options\n\t\tif (newOptions.scale) {\n\t\t\tchart.scale.options = newOptions.scale;\n\t\t} else if (newOptions.scales) {\n\t\t\tnewOptions.scales.xAxes.concat(newOptions.scales.yAxes).forEach(function(scaleOptions) {\n\t\t\t\tchart.scales[scaleOptions.id].options = scaleOptions;\n\t\t\t});\n\t\t}\n\n\t\t// Tooltip\n\t\tchart.tooltip._options = newOptions.tooltips;\n\t}\n\n\tfunction positionIsHorizontal(position) {\n\t\treturn position === 'top' || position === 'bottom';\n\t}\n\n\thelpers.extend(Chart.prototype, /** @lends Chart */ {\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tconstruct: function(item, config) {\n\t\t\tvar me = this;\n\n\t\t\tconfig = initConfig(config);\n\n\t\t\tvar context = platform.acquireContext(item, config);\n\t\t\tvar canvas = context && context.canvas;\n\t\t\tvar height = canvas && canvas.height;\n\t\t\tvar width = canvas && canvas.width;\n\n\t\t\tme.id = helpers.uid();\n\t\t\tme.ctx = context;\n\t\t\tme.canvas = canvas;\n\t\t\tme.config = config;\n\t\t\tme.width = width;\n\t\t\tme.height = height;\n\t\t\tme.aspectRatio = height? width / height : null;\n\t\t\tme.options = config.options;\n\t\t\tme._bufferedRender = false;\n\n\t\t\t/**\n\t\t\t * Provided for backward compatibility, Chart and Chart.Controller have been merged,\n\t\t\t * the \"instance\" still need to be defined since it might be called from plugins.\n\t\t\t * @prop Chart#chart\n\t\t\t * @deprecated since version 2.6.0\n\t\t\t * @todo remove at version 3\n\t\t\t * @private\n\t\t\t */\n\t\t\tme.chart = me;\n\t\t\tme.controller = me;  // chart.chart.controller #inception\n\n\t\t\t// Add the chart instance to the global namespace\n\t\t\tChart.instances[me.id] = me;\n\n\t\t\t// Define alias to the config data: `chart.data === chart.config.data`\n\t\t\tObject.defineProperty(me, 'data', {\n\t\t\t\tget: function() {\n\t\t\t\t\treturn me.config.data;\n\t\t\t\t},\n\t\t\t\tset: function(value) {\n\t\t\t\t\tme.config.data = value;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tif (!context || !canvas) {\n\t\t\t\t// The given item is not a compatible context2d element, let's return before finalizing\n\t\t\t\t// the chart initialization but after setting basic chart / controller properties that\n\t\t\t\t// can help to figure out that the chart is not valid (e.g chart.canvas !== null);\n\t\t\t\t// https://github.com/chartjs/Chart.js/issues/2807\n\t\t\t\tconsole.error(\"Failed to create chart: can't acquire context from the given item\");\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tme.initialize();\n\t\t\tme.update();\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tinitialize: function() {\n\t\t\tvar me = this;\n\n\t\t\t// Before init plugin notification\n\t\t\tplugins.notify(me, 'beforeInit');\n\n\t\t\thelpers.retinaScale(me);\n\n\t\t\tme.bindEvents();\n\n\t\t\tif (me.options.responsive) {\n\t\t\t\t// Initial resize before chart draws (must be silent to preserve initial animations).\n\t\t\t\tme.resize(true);\n\t\t\t}\n\n\t\t\t// Make sure scales have IDs and are built before we build any controllers.\n\t\t\tme.ensureScalesHaveIDs();\n\t\t\tme.buildScales();\n\t\t\tme.initToolTip();\n\n\t\t\t// After init plugin notification\n\t\t\tplugins.notify(me, 'afterInit');\n\n\t\t\treturn me;\n\t\t},\n\n\t\tclear: function() {\n\t\t\thelpers.clear(this);\n\t\t\treturn this;\n\t\t},\n\n\t\tstop: function() {\n\t\t\t// Stops any current animation loop occurring\n\t\t\tChart.animationService.cancelAnimation(this);\n\t\t\treturn this;\n\t\t},\n\n\t\tresize: function(silent) {\n\t\t\tvar me = this;\n\t\t\tvar options = me.options;\n\t\t\tvar canvas = me.canvas;\n\t\t\tvar aspectRatio = (options.maintainAspectRatio && me.aspectRatio) || null;\n\n\t\t\t// the canvas render width and height will be casted to integers so make sure that\n\t\t\t// the canvas display style uses the same integer values to avoid blurring effect.\n\t\t\tvar newWidth = Math.floor(helpers.getMaximumWidth(canvas));\n\t\t\tvar newHeight = Math.floor(aspectRatio? newWidth / aspectRatio : helpers.getMaximumHeight(canvas));\n\n\t\t\tif (me.width === newWidth && me.height === newHeight) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tcanvas.width = me.width = newWidth;\n\t\t\tcanvas.height = me.height = newHeight;\n\t\t\tcanvas.style.width = newWidth + 'px';\n\t\t\tcanvas.style.height = newHeight + 'px';\n\n\t\t\thelpers.retinaScale(me);\n\n\t\t\tif (!silent) {\n\t\t\t\t// Notify any plugins about the resize\n\t\t\t\tvar newSize = {width: newWidth, height: newHeight};\n\t\t\t\tplugins.notify(me, 'resize', [newSize]);\n\n\t\t\t\t// Notify of resize\n\t\t\t\tif (me.options.onResize) {\n\t\t\t\t\tme.options.onResize(me, newSize);\n\t\t\t\t}\n\n\t\t\t\tme.stop();\n\t\t\t\tme.update(me.options.responsiveAnimationDuration);\n\t\t\t}\n\t\t},\n\n\t\tensureScalesHaveIDs: function() {\n\t\t\tvar options = this.options;\n\t\t\tvar scalesOptions = options.scales || {};\n\t\t\tvar scaleOptions = options.scale;\n\n\t\t\thelpers.each(scalesOptions.xAxes, function(xAxisOptions, index) {\n\t\t\t\txAxisOptions.id = xAxisOptions.id || ('x-axis-' + index);\n\t\t\t});\n\n\t\t\thelpers.each(scalesOptions.yAxes, function(yAxisOptions, index) {\n\t\t\t\tyAxisOptions.id = yAxisOptions.id || ('y-axis-' + index);\n\t\t\t});\n\n\t\t\tif (scaleOptions) {\n\t\t\t\tscaleOptions.id = scaleOptions.id || 'scale';\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Builds a map of scale ID to scale object for future lookup.\n\t\t */\n\t\tbuildScales: function() {\n\t\t\tvar me = this;\n\t\t\tvar options = me.options;\n\t\t\tvar scales = me.scales = {};\n\t\t\tvar items = [];\n\n\t\t\tif (options.scales) {\n\t\t\t\titems = items.concat(\n\t\t\t\t\t(options.scales.xAxes || []).map(function(xAxisOptions) {\n\t\t\t\t\t\treturn {options: xAxisOptions, dtype: 'category', dposition: 'bottom'};\n\t\t\t\t\t}),\n\t\t\t\t\t(options.scales.yAxes || []).map(function(yAxisOptions) {\n\t\t\t\t\t\treturn {options: yAxisOptions, dtype: 'linear', dposition: 'left'};\n\t\t\t\t\t})\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tif (options.scale) {\n\t\t\t\titems.push({\n\t\t\t\t\toptions: options.scale,\n\t\t\t\t\tdtype: 'radialLinear',\n\t\t\t\t\tisDefault: true,\n\t\t\t\t\tdposition: 'chartArea'\n\t\t\t\t});\n\t\t\t}\n\n\t\t\thelpers.each(items, function(item) {\n\t\t\t\tvar scaleOptions = item.options;\n\t\t\t\tvar scaleType = helpers.getValueOrDefault(scaleOptions.type, item.dtype);\n\t\t\t\tvar scaleClass = Chart.scaleService.getScaleConstructor(scaleType);\n\t\t\t\tif (!scaleClass) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (positionIsHorizontal(scaleOptions.position) !== positionIsHorizontal(item.dposition)) {\n\t\t\t\t\tscaleOptions.position = item.dposition;\n\t\t\t\t}\n\n\t\t\t\tvar scale = new scaleClass({\n\t\t\t\t\tid: scaleOptions.id,\n\t\t\t\t\toptions: scaleOptions,\n\t\t\t\t\tctx: me.ctx,\n\t\t\t\t\tchart: me\n\t\t\t\t});\n\n\t\t\t\tscales[scale.id] = scale;\n\n\t\t\t\t// TODO(SB): I think we should be able to remove this custom case (options.scale)\n\t\t\t\t// and consider it as a regular scale part of the \"scales\"\" map only! This would\n\t\t\t\t// make the logic easier and remove some useless? custom code.\n\t\t\t\tif (item.isDefault) {\n\t\t\t\t\tme.scale = scale;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tChart.scaleService.addScalesToLayout(this);\n\t\t},\n\n\t\tbuildOrUpdateControllers: function() {\n\t\t\tvar me = this;\n\t\t\tvar types = [];\n\t\t\tvar newControllers = [];\n\n\t\t\thelpers.each(me.data.datasets, function(dataset, datasetIndex) {\n\t\t\t\tvar meta = me.getDatasetMeta(datasetIndex);\n\t\t\t\tif (!meta.type) {\n\t\t\t\t\tmeta.type = dataset.type || me.config.type;\n\t\t\t\t}\n\n\t\t\t\ttypes.push(meta.type);\n\n\t\t\t\tif (meta.controller) {\n\t\t\t\t\tmeta.controller.updateIndex(datasetIndex);\n\t\t\t\t} else {\n\t\t\t\t\tvar ControllerClass = Chart.controllers[meta.type];\n\t\t\t\t\tif (ControllerClass === undefined) {\n\t\t\t\t\t\tthrow new Error('\"' + meta.type + '\" is not a chart type.');\n\t\t\t\t\t}\n\n\t\t\t\t\tmeta.controller = new ControllerClass(me, datasetIndex);\n\t\t\t\t\tnewControllers.push(meta.controller);\n\t\t\t\t}\n\t\t\t}, me);\n\n\t\t\tif (types.length > 1) {\n\t\t\t\tfor (var i = 1; i < types.length; i++) {\n\t\t\t\t\tif (types[i] !== types[i - 1]) {\n\t\t\t\t\t\tme.isCombo = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn newControllers;\n\t\t},\n\n\t\t/**\n\t\t * Reset the elements of all datasets\n\t\t * @private\n\t\t */\n\t\tresetElements: function() {\n\t\t\tvar me = this;\n\t\t\thelpers.each(me.data.datasets, function(dataset, datasetIndex) {\n\t\t\t\tme.getDatasetMeta(datasetIndex).controller.reset();\n\t\t\t}, me);\n\t\t},\n\n\t\t/**\n\t\t* Resets the chart back to it's state before the initial animation\n\t\t*/\n\t\treset: function() {\n\t\t\tthis.resetElements();\n\t\t\tthis.tooltip.initialize();\n\t\t},\n\n\t\tupdate: function(animationDuration, lazy) {\n\t\t\tvar me = this;\n\n\t\t\tupdateConfig(me);\n\n\t\t\tif (plugins.notify(me, 'beforeUpdate') === false) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// In case the entire data object changed\n\t\t\tme.tooltip._data = me.data;\n\n\t\t\t// Make sure dataset controllers are updated and new controllers are reset\n\t\t\tvar newControllers = me.buildOrUpdateControllers();\n\n\t\t\t// Make sure all dataset controllers have correct meta data counts\n\t\t\thelpers.each(me.data.datasets, function(dataset, datasetIndex) {\n\t\t\t\tme.getDatasetMeta(datasetIndex).controller.buildOrUpdateElements();\n\t\t\t}, me);\n\n\t\t\tme.updateLayout();\n\n\t\t\t// Can only reset the new controllers after the scales have been updated\n\t\t\thelpers.each(newControllers, function(controller) {\n\t\t\t\tcontroller.reset();\n\t\t\t});\n\n\t\t\tme.updateDatasets();\n\n\t\t\t// Do this before render so that any plugins that need final scale updates can use it\n\t\t\tplugins.notify(me, 'afterUpdate');\n\n\t\t\tif (me._bufferedRender) {\n\t\t\t\tme._bufferedRequest = {\n\t\t\t\t\tlazy: lazy,\n\t\t\t\t\tduration: animationDuration\n\t\t\t\t};\n\t\t\t} else {\n\t\t\t\tme.render(animationDuration, lazy);\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Updates the chart layout unless a plugin returns `false` to the `beforeLayout`\n\t\t * hook, in which case, plugins will not be called on `afterLayout`.\n\t\t * @private\n\t\t */\n\t\tupdateLayout: function() {\n\t\t\tvar me = this;\n\n\t\t\tif (plugins.notify(me, 'beforeLayout') === false) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tChart.layoutService.update(this, this.width, this.height);\n\n\t\t\t/**\n\t\t\t * Provided for backward compatibility, use `afterLayout` instead.\n\t\t\t * @method IPlugin#afterScaleUpdate\n\t\t\t * @deprecated since version 2.5.0\n\t\t\t * @todo remove at version 3\n\t\t\t * @private\n\t\t\t */\n\t\t\tplugins.notify(me, 'afterScaleUpdate');\n\t\t\tplugins.notify(me, 'afterLayout');\n\t\t},\n\n\t\t/**\n\t\t * Updates all datasets unless a plugin returns `false` to the `beforeDatasetsUpdate`\n\t\t * hook, in which case, plugins will not be called on `afterDatasetsUpdate`.\n\t\t * @private\n\t\t */\n\t\tupdateDatasets: function() {\n\t\t\tvar me = this;\n\n\t\t\tif (plugins.notify(me, 'beforeDatasetsUpdate') === false) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tfor (var i = 0, ilen = me.data.datasets.length; i < ilen; ++i) {\n\t\t\t\tme.updateDataset(i);\n\t\t\t}\n\n\t\t\tplugins.notify(me, 'afterDatasetsUpdate');\n\t\t},\n\n\t\t/**\n\t\t * Updates dataset at index unless a plugin returns `false` to the `beforeDatasetUpdate`\n\t\t * hook, in which case, plugins will not be called on `afterDatasetUpdate`.\n\t\t * @private\n\t\t */\n\t\tupdateDataset: function(index) {\n\t\t\tvar me = this;\n\t\t\tvar meta = me.getDatasetMeta(index);\n\t\t\tvar args = {\n\t\t\t\tmeta: meta,\n\t\t\t\tindex: index\n\t\t\t};\n\n\t\t\tif (plugins.notify(me, 'beforeDatasetUpdate', [args]) === false) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tmeta.controller.update();\n\n\t\t\tplugins.notify(me, 'afterDatasetUpdate', [args]);\n\t\t},\n\n\t\trender: function(duration, lazy) {\n\t\t\tvar me = this;\n\n\t\t\tif (plugins.notify(me, 'beforeRender') === false) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar animationOptions = me.options.animation;\n\t\t\tvar onComplete = function(animation) {\n\t\t\t\tplugins.notify(me, 'afterRender');\n\t\t\t\thelpers.callback(animationOptions && animationOptions.onComplete, [animation], me);\n\t\t\t};\n\n\t\t\tif (animationOptions && ((typeof duration !== 'undefined' && duration !== 0) || (typeof duration === 'undefined' && animationOptions.duration !== 0))) {\n\t\t\t\tvar animation = new Chart.Animation({\n\t\t\t\t\tnumSteps: (duration || animationOptions.duration) / 16.66, // 60 fps\n\t\t\t\t\teasing: animationOptions.easing,\n\n\t\t\t\t\trender: function(chart, animationObject) {\n\t\t\t\t\t\tvar easingFunction = helpers.easingEffects[animationObject.easing];\n\t\t\t\t\t\tvar currentStep = animationObject.currentStep;\n\t\t\t\t\t\tvar stepDecimal = currentStep / animationObject.numSteps;\n\n\t\t\t\t\t\tchart.draw(easingFunction(stepDecimal), stepDecimal, currentStep);\n\t\t\t\t\t},\n\n\t\t\t\t\tonAnimationProgress: animationOptions.onProgress,\n\t\t\t\t\tonAnimationComplete: onComplete\n\t\t\t\t});\n\n\t\t\t\tChart.animationService.addAnimation(me, animation, duration, lazy);\n\t\t\t} else {\n\t\t\t\tme.draw();\n\n\t\t\t\t// See https://github.com/chartjs/Chart.js/issues/3781\n\t\t\t\tonComplete(new Chart.Animation({numSteps: 0, chart: me}));\n\t\t\t}\n\n\t\t\treturn me;\n\t\t},\n\n\t\tdraw: function(easingValue) {\n\t\t\tvar me = this;\n\n\t\t\tme.clear();\n\n\t\t\tif (easingValue === undefined || easingValue === null) {\n\t\t\t\teasingValue = 1;\n\t\t\t}\n\n\t\t\tme.transition(easingValue);\n\n\t\t\tif (plugins.notify(me, 'beforeDraw', [easingValue]) === false) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Draw all the scales\n\t\t\thelpers.each(me.boxes, function(box) {\n\t\t\t\tbox.draw(me.chartArea);\n\t\t\t}, me);\n\n\t\t\tif (me.scale) {\n\t\t\t\tme.scale.draw();\n\t\t\t}\n\n\t\t\tme.drawDatasets(easingValue);\n\n\t\t\t// Finally draw the tooltip\n\t\t\tme.tooltip.draw();\n\n\t\t\tplugins.notify(me, 'afterDraw', [easingValue]);\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\ttransition: function(easingValue) {\n\t\t\tvar me = this;\n\n\t\t\tfor (var i=0, ilen=(me.data.datasets || []).length; i<ilen; ++i) {\n\t\t\t\tif (me.isDatasetVisible(i)) {\n\t\t\t\t\tme.getDatasetMeta(i).controller.transition(easingValue);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tme.tooltip.transition(easingValue);\n\t\t},\n\n\t\t/**\n\t\t * Draws all datasets unless a plugin returns `false` to the `beforeDatasetsDraw`\n\t\t * hook, in which case, plugins will not be called on `afterDatasetsDraw`.\n\t\t * @private\n\t\t */\n\t\tdrawDatasets: function(easingValue) {\n\t\t\tvar me = this;\n\n\t\t\tif (plugins.notify(me, 'beforeDatasetsDraw', [easingValue]) === false) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Draw datasets reversed to support proper line stacking\n\t\t\tfor (var i=(me.data.datasets || []).length - 1; i >= 0; --i) {\n\t\t\t\tif (me.isDatasetVisible(i)) {\n\t\t\t\t\tme.drawDataset(i, easingValue);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tplugins.notify(me, 'afterDatasetsDraw', [easingValue]);\n\t\t},\n\n\t\t/**\n\t\t * Draws dataset at index unless a plugin returns `false` to the `beforeDatasetDraw`\n\t\t * hook, in which case, plugins will not be called on `afterDatasetDraw`.\n\t\t * @private\n\t\t */\n\t\tdrawDataset: function(index, easingValue) {\n\t\t\tvar me = this;\n\t\t\tvar meta = me.getDatasetMeta(index);\n\t\t\tvar args = {\n\t\t\t\tmeta: meta,\n\t\t\t\tindex: index,\n\t\t\t\teasingValue: easingValue\n\t\t\t};\n\n\t\t\tif (plugins.notify(me, 'beforeDatasetDraw', [args]) === false) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tmeta.controller.draw(easingValue);\n\n\t\t\tplugins.notify(me, 'afterDatasetDraw', [args]);\n\t\t},\n\n\t\t// Get the single element that was clicked on\n\t\t// @return : An object containing the dataset index and element index of the matching element. Also contains the rectangle that was draw\n\t\tgetElementAtEvent: function(e) {\n\t\t\treturn Chart.Interaction.modes.single(this, e);\n\t\t},\n\n\t\tgetElementsAtEvent: function(e) {\n\t\t\treturn Chart.Interaction.modes.label(this, e, {intersect: true});\n\t\t},\n\n\t\tgetElementsAtXAxis: function(e) {\n\t\t\treturn Chart.Interaction.modes['x-axis'](this, e, {intersect: true});\n\t\t},\n\n\t\tgetElementsAtEventForMode: function(e, mode, options) {\n\t\t\tvar method = Chart.Interaction.modes[mode];\n\t\t\tif (typeof method === 'function') {\n\t\t\t\treturn method(this, e, options);\n\t\t\t}\n\n\t\t\treturn [];\n\t\t},\n\n\t\tgetDatasetAtEvent: function(e) {\n\t\t\treturn Chart.Interaction.modes.dataset(this, e, {intersect: true});\n\t\t},\n\n\t\tgetDatasetMeta: function(datasetIndex) {\n\t\t\tvar me = this;\n\t\t\tvar dataset = me.data.datasets[datasetIndex];\n\t\t\tif (!dataset._meta) {\n\t\t\t\tdataset._meta = {};\n\t\t\t}\n\n\t\t\tvar meta = dataset._meta[me.id];\n\t\t\tif (!meta) {\n\t\t\t\tmeta = dataset._meta[me.id] = {\n\t\t\t\t\ttype: null,\n\t\t\t\t\tdata: [],\n\t\t\t\t\tdataset: null,\n\t\t\t\t\tcontroller: null,\n\t\t\t\t\thidden: null,\t\t\t// See isDatasetVisible() comment\n\t\t\t\t\txAxisID: null,\n\t\t\t\t\tyAxisID: null\n\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn meta;\n\t\t},\n\n\t\tgetVisibleDatasetCount: function() {\n\t\t\tvar count = 0;\n\t\t\tfor (var i = 0, ilen = this.data.datasets.length; i<ilen; ++i) {\n\t\t\t\tif (this.isDatasetVisible(i)) {\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn count;\n\t\t},\n\n\t\tisDatasetVisible: function(datasetIndex) {\n\t\t\tvar meta = this.getDatasetMeta(datasetIndex);\n\n\t\t\t// meta.hidden is a per chart dataset hidden flag override with 3 states: if true or false,\n\t\t\t// the dataset.hidden value is ignored, else if null, the dataset hidden state is returned.\n\t\t\treturn typeof meta.hidden === 'boolean'? !meta.hidden : !this.data.datasets[datasetIndex].hidden;\n\t\t},\n\n\t\tgenerateLegend: function() {\n\t\t\treturn this.options.legendCallback(this);\n\t\t},\n\n\t\tdestroy: function() {\n\t\t\tvar me = this;\n\t\t\tvar canvas = me.canvas;\n\t\t\tvar meta, i, ilen;\n\n\t\t\tme.stop();\n\n\t\t\t// dataset controllers need to cleanup associated data\n\t\t\tfor (i = 0, ilen = me.data.datasets.length; i < ilen; ++i) {\n\t\t\t\tmeta = me.getDatasetMeta(i);\n\t\t\t\tif (meta.controller) {\n\t\t\t\t\tmeta.controller.destroy();\n\t\t\t\t\tmeta.controller = null;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (canvas) {\n\t\t\t\tme.unbindEvents();\n\t\t\t\thelpers.clear(me);\n\t\t\t\tplatform.releaseContext(me.ctx);\n\t\t\t\tme.canvas = null;\n\t\t\t\tme.ctx = null;\n\t\t\t}\n\n\t\t\tplugins.notify(me, 'destroy');\n\n\t\t\tdelete Chart.instances[me.id];\n\t\t},\n\n\t\ttoBase64Image: function() {\n\t\t\treturn this.canvas.toDataURL.apply(this.canvas, arguments);\n\t\t},\n\n\t\tinitToolTip: function() {\n\t\t\tvar me = this;\n\t\t\tme.tooltip = new Chart.Tooltip({\n\t\t\t\t_chart: me,\n\t\t\t\t_chartInstance: me,            // deprecated, backward compatibility\n\t\t\t\t_data: me.data,\n\t\t\t\t_options: me.options.tooltips\n\t\t\t}, me);\n\t\t\tme.tooltip.initialize();\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tbindEvents: function() {\n\t\t\tvar me = this;\n\t\t\tvar listeners = me._listeners = {};\n\t\t\tvar listener = function() {\n\t\t\t\tme.eventHandler.apply(me, arguments);\n\t\t\t};\n\n\t\t\thelpers.each(me.options.events, function(type) {\n\t\t\t\tplatform.addEventListener(me, type, listener);\n\t\t\t\tlisteners[type] = listener;\n\t\t\t});\n\n\t\t\t// Responsiveness is currently based on the use of an iframe, however this method causes\n\t\t\t// performance issues and could be troublesome when used with ad blockers. So make sure\n\t\t\t// that the user is still able to create a chart without iframe when responsive is false.\n\t\t\t// See https://github.com/chartjs/Chart.js/issues/2210\n\t\t\tif (me.options.responsive) {\n\t\t\t\tlistener = function() {\n\t\t\t\t\tme.resize();\n\t\t\t\t};\n\n\t\t\t\tplatform.addEventListener(me, 'resize', listener);\n\t\t\t\tlisteners.resize = listener;\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tunbindEvents: function() {\n\t\t\tvar me = this;\n\t\t\tvar listeners = me._listeners;\n\t\t\tif (!listeners) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tdelete me._listeners;\n\t\t\thelpers.each(listeners, function(listener, type) {\n\t\t\t\tplatform.removeEventListener(me, type, listener);\n\t\t\t});\n\t\t},\n\n\t\tupdateHoverStyle: function(elements, mode, enabled) {\n\t\t\tvar method = enabled? 'setHoverStyle' : 'removeHoverStyle';\n\t\t\tvar element, i, ilen;\n\n\t\t\tfor (i=0, ilen=elements.length; i<ilen; ++i) {\n\t\t\t\telement = elements[i];\n\t\t\t\tif (element) {\n\t\t\t\t\tthis.getDatasetMeta(element._datasetIndex).controller[method](element);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\teventHandler: function(e) {\n\t\t\tvar me = this;\n\t\t\tvar tooltip = me.tooltip;\n\n\t\t\tif (plugins.notify(me, 'beforeEvent', [e]) === false) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Buffer any update calls so that renders do not occur\n\t\t\tme._bufferedRender = true;\n\t\t\tme._bufferedRequest = null;\n\n\t\t\tvar changed = me.handleEvent(e);\n\t\t\tchanged |= tooltip && tooltip.handleEvent(e);\n\n\t\t\tplugins.notify(me, 'afterEvent', [e]);\n\n\t\t\tvar bufferedRequest = me._bufferedRequest;\n\t\t\tif (bufferedRequest) {\n\t\t\t\t// If we have an update that was triggered, we need to do a normal render\n\t\t\t\tme.render(bufferedRequest.duration, bufferedRequest.lazy);\n\t\t\t} else if (changed && !me.animating) {\n\t\t\t\t// If entering, leaving, or changing elements, animate the change via pivot\n\t\t\t\tme.stop();\n\n\t\t\t\t// We only need to render at this point. Updating will cause scales to be\n\t\t\t\t// recomputed generating flicker & using more memory than necessary.\n\t\t\t\tme.render(me.options.hover.animationDuration, true);\n\t\t\t}\n\n\t\t\tme._bufferedRender = false;\n\t\t\tme._bufferedRequest = null;\n\n\t\t\treturn me;\n\t\t},\n\n\t\t/**\n\t\t * Handle an event\n\t\t * @private\n\t\t * @param {IEvent} event the event to handle\n\t\t * @return {Boolean} true if the chart needs to re-render\n\t\t */\n\t\thandleEvent: function(e) {\n\t\t\tvar me = this;\n\t\t\tvar options = me.options || {};\n\t\t\tvar hoverOptions = options.hover;\n\t\t\tvar changed = false;\n\n\t\t\tme.lastActive = me.lastActive || [];\n\n\t\t\t// Find Active Elements for hover and tooltips\n\t\t\tif (e.type === 'mouseout') {\n\t\t\t\tme.active = [];\n\t\t\t} else {\n\t\t\t\tme.active = me.getElementsAtEventForMode(e, hoverOptions.mode, hoverOptions);\n\t\t\t}\n\n\t\t\t// On Hover hook\n\t\t\tif (hoverOptions.onHover) {\n\t\t\t\t// Need to call with native event here to not break backwards compatibility\n\t\t\t\thoverOptions.onHover.call(me, e.native, me.active);\n\t\t\t}\n\n\t\t\tif (e.type === 'mouseup' || e.type === 'click') {\n\t\t\t\tif (options.onClick) {\n\t\t\t\t\t// Use e.native here for backwards compatibility\n\t\t\t\t\toptions.onClick.call(me, e.native, me.active);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Remove styling for last active (even if it may still be active)\n\t\t\tif (me.lastActive.length) {\n\t\t\t\tme.updateHoverStyle(me.lastActive, hoverOptions.mode, false);\n\t\t\t}\n\n\t\t\t// Built in hover styling\n\t\t\tif (me.active.length && hoverOptions.mode) {\n\t\t\t\tme.updateHoverStyle(me.active, hoverOptions.mode, true);\n\t\t\t}\n\n\t\t\tchanged = !helpers.arrayEquals(me.active, me.lastActive);\n\n\t\t\t// Remember Last Actives\n\t\t\tme.lastActive = me.active;\n\n\t\t\treturn changed;\n\t\t}\n\t});\n\n\t/**\n\t * Provided for backward compatibility, use Chart instead.\n\t * @class Chart.Controller\n\t * @deprecated since version 2.6.0\n\t * @todo remove at version 3\n\t * @private\n\t */\n\tChart.Controller = Chart;\n};\n\n},{}],24:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\n\tvar arrayEvents = ['push', 'pop', 'shift', 'splice', 'unshift'];\n\n\t/**\n\t * Hooks the array methods that add or remove values ('push', pop', 'shift', 'splice',\n\t * 'unshift') and notify the listener AFTER the array has been altered. Listeners are\n\t * called on the 'onData*' callbacks (e.g. onDataPush, etc.) with same arguments.\n\t */\n\tfunction listenArrayEvents(array, listener) {\n\t\tif (array._chartjs) {\n\t\t\tarray._chartjs.listeners.push(listener);\n\t\t\treturn;\n\t\t}\n\n\t\tObject.defineProperty(array, '_chartjs', {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\tvalue: {\n\t\t\t\tlisteners: [listener]\n\t\t\t}\n\t\t});\n\n\t\tarrayEvents.forEach(function(key) {\n\t\t\tvar method = 'onData' + key.charAt(0).toUpperCase() + key.slice(1);\n\t\t\tvar base = array[key];\n\n\t\t\tObject.defineProperty(array, key, {\n\t\t\t\tconfigurable: true,\n\t\t\t\tenumerable: false,\n\t\t\t\tvalue: function() {\n\t\t\t\t\tvar args = Array.prototype.slice.call(arguments);\n\t\t\t\t\tvar res = base.apply(this, args);\n\n\t\t\t\t\thelpers.each(array._chartjs.listeners, function(object) {\n\t\t\t\t\t\tif (typeof object[method] === 'function') {\n\t\t\t\t\t\t\tobject[method].apply(object, args);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t\treturn res;\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * Removes the given array event listener and cleanup extra attached properties (such as\n\t * the _chartjs stub and overridden methods) if array doesn't have any more listeners.\n\t */\n\tfunction unlistenArrayEvents(array, listener) {\n\t\tvar stub = array._chartjs;\n\t\tif (!stub) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar listeners = stub.listeners;\n\t\tvar index = listeners.indexOf(listener);\n\t\tif (index !== -1) {\n\t\t\tlisteners.splice(index, 1);\n\t\t}\n\n\t\tif (listeners.length > 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tarrayEvents.forEach(function(key) {\n\t\t\tdelete array[key];\n\t\t});\n\n\t\tdelete array._chartjs;\n\t}\n\n\t// Base class for all dataset controllers (line, bar, etc)\n\tChart.DatasetController = function(chart, datasetIndex) {\n\t\tthis.initialize(chart, datasetIndex);\n\t};\n\n\thelpers.extend(Chart.DatasetController.prototype, {\n\n\t\t/**\n\t\t * Element type used to generate a meta dataset (e.g. Chart.element.Line).\n\t\t * @type {Chart.core.element}\n\t\t */\n\t\tdatasetElementType: null,\n\n\t\t/**\n\t\t * Element type used to generate a meta data (e.g. Chart.element.Point).\n\t\t * @type {Chart.core.element}\n\t\t */\n\t\tdataElementType: null,\n\n\t\tinitialize: function(chart, datasetIndex) {\n\t\t\tvar me = this;\n\t\t\tme.chart = chart;\n\t\t\tme.index = datasetIndex;\n\t\t\tme.linkScales();\n\t\t\tme.addElements();\n\t\t},\n\n\t\tupdateIndex: function(datasetIndex) {\n\t\t\tthis.index = datasetIndex;\n\t\t},\n\n\t\tlinkScales: function() {\n\t\t\tvar me = this;\n\t\t\tvar meta = me.getMeta();\n\t\t\tvar dataset = me.getDataset();\n\n\t\t\tif (meta.xAxisID === null) {\n\t\t\t\tmeta.xAxisID = dataset.xAxisID || me.chart.options.scales.xAxes[0].id;\n\t\t\t}\n\t\t\tif (meta.yAxisID === null) {\n\t\t\t\tmeta.yAxisID = dataset.yAxisID || me.chart.options.scales.yAxes[0].id;\n\t\t\t}\n\t\t},\n\n\t\tgetDataset: function() {\n\t\t\treturn this.chart.data.datasets[this.index];\n\t\t},\n\n\t\tgetMeta: function() {\n\t\t\treturn this.chart.getDatasetMeta(this.index);\n\t\t},\n\n\t\tgetScaleForId: function(scaleID) {\n\t\t\treturn this.chart.scales[scaleID];\n\t\t},\n\n\t\treset: function() {\n\t\t\tthis.update(true);\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tdestroy: function() {\n\t\t\tif (this._data) {\n\t\t\t\tunlistenArrayEvents(this._data, this);\n\t\t\t}\n\t\t},\n\n\t\tcreateMetaDataset: function() {\n\t\t\tvar me = this;\n\t\t\tvar type = me.datasetElementType;\n\t\t\treturn type && new type({\n\t\t\t\t_chart: me.chart,\n\t\t\t\t_datasetIndex: me.index\n\t\t\t});\n\t\t},\n\n\t\tcreateMetaData: function(index) {\n\t\t\tvar me = this;\n\t\t\tvar type = me.dataElementType;\n\t\t\treturn type && new type({\n\t\t\t\t_chart: me.chart,\n\t\t\t\t_datasetIndex: me.index,\n\t\t\t\t_index: index\n\t\t\t});\n\t\t},\n\n\t\taddElements: function() {\n\t\t\tvar me = this;\n\t\t\tvar meta = me.getMeta();\n\t\t\tvar data = me.getDataset().data || [];\n\t\t\tvar metaData = meta.data;\n\t\t\tvar i, ilen;\n\n\t\t\tfor (i=0, ilen=data.length; i<ilen; ++i) {\n\t\t\t\tmetaData[i] = metaData[i] || me.createMetaData(i);\n\t\t\t}\n\n\t\t\tmeta.dataset = meta.dataset || me.createMetaDataset();\n\t\t},\n\n\t\taddElementAndReset: function(index) {\n\t\t\tvar element = this.createMetaData(index);\n\t\t\tthis.getMeta().data.splice(index, 0, element);\n\t\t\tthis.updateElement(element, index, true);\n\t\t},\n\n\t\tbuildOrUpdateElements: function() {\n\t\t\tvar me = this;\n\t\t\tvar dataset = me.getDataset();\n\t\t\tvar data = dataset.data || (dataset.data = []);\n\n\t\t\t// In order to correctly handle data addition/deletion animation (an thus simulate\n\t\t\t// real-time charts), we need to monitor these data modifications and synchronize\n\t\t\t// the internal meta data accordingly.\n\t\t\tif (me._data !== data) {\n\t\t\t\tif (me._data) {\n\t\t\t\t\t// This case happens when the user replaced the data array instance.\n\t\t\t\t\tunlistenArrayEvents(me._data, me);\n\t\t\t\t}\n\n\t\t\t\tlistenArrayEvents(data, me);\n\t\t\t\tme._data = data;\n\t\t\t}\n\n\t\t\t// Re-sync meta data in case the user replaced the data array or if we missed\n\t\t\t// any updates and so make sure that we handle number of datapoints changing.\n\t\t\tme.resyncElements();\n\t\t},\n\n\t\tupdate: helpers.noop,\n\n\t\ttransition: function(easingValue) {\n\t\t\tvar meta = this.getMeta();\n\t\t\tvar elements = meta.data || [];\n\t\t\tvar ilen = elements.length;\n\t\t\tvar i = 0;\n\n\t\t\tfor (; i<ilen; ++i) {\n\t\t\t\telements[i].transition(easingValue);\n\t\t\t}\n\n\t\t\tif (meta.dataset) {\n\t\t\t\tmeta.dataset.transition(easingValue);\n\t\t\t}\n\t\t},\n\n\t\tdraw: function() {\n\t\t\tvar meta = this.getMeta();\n\t\t\tvar elements = meta.data || [];\n\t\t\tvar ilen = elements.length;\n\t\t\tvar i = 0;\n\n\t\t\tif (meta.dataset) {\n\t\t\t\tmeta.dataset.draw();\n\t\t\t}\n\n\t\t\tfor (; i<ilen; ++i) {\n\t\t\t\telements[i].draw();\n\t\t\t}\n\t\t},\n\n\t\tremoveHoverStyle: function(element, elementOpts) {\n\t\t\tvar dataset = this.chart.data.datasets[element._datasetIndex],\n\t\t\t\tindex = element._index,\n\t\t\t\tcustom = element.custom || {},\n\t\t\t\tvalueOrDefault = helpers.getValueAtIndexOrDefault,\n\t\t\t\tmodel = element._model;\n\n\t\t\tmodel.backgroundColor = custom.backgroundColor ? custom.backgroundColor : valueOrDefault(dataset.backgroundColor, index, elementOpts.backgroundColor);\n\t\t\tmodel.borderColor = custom.borderColor ? custom.borderColor : valueOrDefault(dataset.borderColor, index, elementOpts.borderColor);\n\t\t\tmodel.borderWidth = custom.borderWidth ? custom.borderWidth : valueOrDefault(dataset.borderWidth, index, elementOpts.borderWidth);\n\t\t},\n\n\t\tsetHoverStyle: function(element) {\n\t\t\tvar dataset = this.chart.data.datasets[element._datasetIndex],\n\t\t\t\tindex = element._index,\n\t\t\t\tcustom = element.custom || {},\n\t\t\t\tvalueOrDefault = helpers.getValueAtIndexOrDefault,\n\t\t\t\tgetHoverColor = helpers.getHoverColor,\n\t\t\t\tmodel = element._model;\n\n\t\t\tmodel.backgroundColor = custom.hoverBackgroundColor ? custom.hoverBackgroundColor : valueOrDefault(dataset.hoverBackgroundColor, index, getHoverColor(model.backgroundColor));\n\t\t\tmodel.borderColor = custom.hoverBorderColor ? custom.hoverBorderColor : valueOrDefault(dataset.hoverBorderColor, index, getHoverColor(model.borderColor));\n\t\t\tmodel.borderWidth = custom.hoverBorderWidth ? custom.hoverBorderWidth : valueOrDefault(dataset.hoverBorderWidth, index, model.borderWidth);\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tresyncElements: function() {\n\t\t\tvar me = this;\n\t\t\tvar meta = me.getMeta();\n\t\t\tvar data = me.getDataset().data;\n\t\t\tvar numMeta = meta.data.length;\n\t\t\tvar numData = data.length;\n\n\t\t\tif (numData < numMeta) {\n\t\t\t\tmeta.data.splice(numData, numMeta - numData);\n\t\t\t} else if (numData > numMeta) {\n\t\t\t\tme.insertElements(numMeta, numData - numMeta);\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tinsertElements: function(start, count) {\n\t\t\tfor (var i=0; i<count; ++i) {\n\t\t\t\tthis.addElementAndReset(start + i);\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tonDataPush: function() {\n\t\t\tthis.insertElements(this.getDataset().data.length-1, arguments.length);\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tonDataPop: function() {\n\t\t\tthis.getMeta().data.pop();\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tonDataShift: function() {\n\t\t\tthis.getMeta().data.shift();\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tonDataSplice: function(start, count) {\n\t\t\tthis.getMeta().data.splice(start, count);\n\t\t\tthis.insertElements(start, arguments.length - 2);\n\t\t},\n\n\t\t/**\n\t\t * @private\n\t\t */\n\t\tonDataUnshift: function() {\n\t\t\tthis.insertElements(0, arguments.length);\n\t\t}\n\t});\n\n\tChart.DatasetController.extend = helpers.inherits;\n};\n\n},{}],25:[function(require,module,exports){\n'use strict';\n\nvar color = require(3);\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\n\tfunction interpolate(start, view, model, ease) {\n\t\tvar keys = Object.keys(model);\n\t\tvar i, ilen, key, actual, origin, target, type, c0, c1;\n\n\t\tfor (i=0, ilen=keys.length; i<ilen; ++i) {\n\t\t\tkey = keys[i];\n\n\t\t\ttarget = model[key];\n\n\t\t\t// if a value is added to the model after pivot() has been called, the view\n\t\t\t// doesn't contain it, so let's initialize the view to the target value.\n\t\t\tif (!view.hasOwnProperty(key)) {\n\t\t\t\tview[key] = target;\n\t\t\t}\n\n\t\t\tactual = view[key];\n\n\t\t\tif (actual === target || key[0] === '_') {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (!start.hasOwnProperty(key)) {\n\t\t\t\tstart[key] = actual;\n\t\t\t}\n\n\t\t\torigin = start[key];\n\n\t\t\ttype = typeof(target);\n\n\t\t\tif (type === typeof(origin)) {\n\t\t\t\tif (type === 'string') {\n\t\t\t\t\tc0 = color(origin);\n\t\t\t\t\tif (c0.valid) {\n\t\t\t\t\t\tc1 = color(target);\n\t\t\t\t\t\tif (c1.valid) {\n\t\t\t\t\t\t\tview[key] = c1.mix(c0, ease).rgbString();\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else if (type === 'number' && isFinite(origin) && isFinite(target)) {\n\t\t\t\t\tview[key] = origin + (target - origin) * ease;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tview[key] = target;\n\t\t}\n\t}\n\n\tChart.elements = {};\n\n\tChart.Element = function(configuration) {\n\t\thelpers.extend(this, configuration);\n\t\tthis.initialize.apply(this, arguments);\n\t};\n\n\thelpers.extend(Chart.Element.prototype, {\n\n\t\tinitialize: function() {\n\t\t\tthis.hidden = false;\n\t\t},\n\n\t\tpivot: function() {\n\t\t\tvar me = this;\n\t\t\tif (!me._view) {\n\t\t\t\tme._view = helpers.clone(me._model);\n\t\t\t}\n\t\t\tme._start = {};\n\t\t\treturn me;\n\t\t},\n\n\t\ttransition: function(ease) {\n\t\t\tvar me = this;\n\t\t\tvar model = me._model;\n\t\t\tvar start = me._start;\n\t\t\tvar view = me._view;\n\n\t\t\t// No animation -> No Transition\n\t\t\tif (!model || ease === 1) {\n\t\t\t\tme._view = model;\n\t\t\t\tme._start = null;\n\t\t\t\treturn me;\n\t\t\t}\n\n\t\t\tif (!view) {\n\t\t\t\tview = me._view = {};\n\t\t\t}\n\n\t\t\tif (!start) {\n\t\t\t\tstart = me._start = {};\n\t\t\t}\n\n\t\t\tinterpolate(start, view, model, ease);\n\n\t\t\treturn me;\n\t\t},\n\n\t\ttooltipPosition: function() {\n\t\t\treturn {\n\t\t\t\tx: this._model.x,\n\t\t\t\ty: this._model.y\n\t\t\t};\n\t\t},\n\n\t\thasValue: function() {\n\t\t\treturn helpers.isNumber(this._model.x) && helpers.isNumber(this._model.y);\n\t\t}\n\t});\n\n\tChart.Element.extend = helpers.inherits;\n};\n\n},{\"3\":3}],26:[function(require,module,exports){\n/* global window: false */\n/* global document: false */\n'use strict';\n\nvar color = require(3);\n\nmodule.exports = function(Chart) {\n\t// Global Chart helpers object for utility methods and classes\n\tvar helpers = Chart.helpers = {};\n\n\t// -- Basic js utility methods\n\thelpers.each = function(loopable, callback, self, reverse) {\n\t\t// Check to see if null or undefined firstly.\n\t\tvar i, len;\n\t\tif (helpers.isArray(loopable)) {\n\t\t\tlen = loopable.length;\n\t\t\tif (reverse) {\n\t\t\t\tfor (i = len - 1; i >= 0; i--) {\n\t\t\t\t\tcallback.call(self, loopable[i], i);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor (i = 0; i < len; i++) {\n\t\t\t\t\tcallback.call(self, loopable[i], i);\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (typeof loopable === 'object') {\n\t\t\tvar keys = Object.keys(loopable);\n\t\t\tlen = keys.length;\n\t\t\tfor (i = 0; i < len; i++) {\n\t\t\t\tcallback.call(self, loopable[keys[i]], keys[i]);\n\t\t\t}\n\t\t}\n\t};\n\thelpers.clone = function(obj) {\n\t\tvar objClone = {};\n\t\thelpers.each(obj, function(value, key) {\n\t\t\tif (helpers.isArray(value)) {\n\t\t\t\tobjClone[key] = value.slice(0);\n\t\t\t} else if (typeof value === 'object' && value !== null) {\n\t\t\t\tobjClone[key] = helpers.clone(value);\n\t\t\t} else {\n\t\t\t\tobjClone[key] = value;\n\t\t\t}\n\t\t});\n\t\treturn objClone;\n\t};\n\thelpers.extend = function(base) {\n\t\tvar setFn = function(value, key) {\n\t\t\tbase[key] = value;\n\t\t};\n\t\tfor (var i = 1, ilen = arguments.length; i < ilen; i++) {\n\t\t\thelpers.each(arguments[i], setFn);\n\t\t}\n\t\treturn base;\n\t};\n\t// Need a special merge function to chart configs since they are now grouped\n\thelpers.configMerge = function(_base) {\n\t\tvar base = helpers.clone(_base);\n\t\thelpers.each(Array.prototype.slice.call(arguments, 1), function(extension) {\n\t\t\thelpers.each(extension, function(value, key) {\n\t\t\t\tvar baseHasProperty = base.hasOwnProperty(key);\n\t\t\t\tvar baseVal = baseHasProperty ? base[key] : {};\n\n\t\t\t\tif (key === 'scales') {\n\t\t\t\t\t// Scale config merging is complex. Add our own function here for that\n\t\t\t\t\tbase[key] = helpers.scaleMerge(baseVal, value);\n\t\t\t\t} else if (key === 'scale') {\n\t\t\t\t\t// Used in polar area & radar charts since there is only one scale\n\t\t\t\t\tbase[key] = helpers.configMerge(baseVal, Chart.scaleService.getScaleDefaults(value.type), value);\n\t\t\t\t} else if (baseHasProperty\n\t\t\t\t\t\t&& typeof baseVal === 'object'\n\t\t\t\t\t\t&& !helpers.isArray(baseVal)\n\t\t\t\t\t\t&& baseVal !== null\n\t\t\t\t\t\t&& typeof value === 'object'\n\t\t\t\t\t\t&& !helpers.isArray(value)) {\n\t\t\t\t\t// If we are overwriting an object with an object, do a merge of the properties.\n\t\t\t\t\tbase[key] = helpers.configMerge(baseVal, value);\n\t\t\t\t} else {\n\t\t\t\t\t// can just overwrite the value in this case\n\t\t\t\t\tbase[key] = value;\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\n\t\treturn base;\n\t};\n\thelpers.scaleMerge = function(_base, extension) {\n\t\tvar base = helpers.clone(_base);\n\n\t\thelpers.each(extension, function(value, key) {\n\t\t\tif (key === 'xAxes' || key === 'yAxes') {\n\t\t\t\t// These properties are arrays of items\n\t\t\t\tif (base.hasOwnProperty(key)) {\n\t\t\t\t\thelpers.each(value, function(valueObj, index) {\n\t\t\t\t\t\tvar axisType = helpers.getValueOrDefault(valueObj.type, key === 'xAxes' ? 'category' : 'linear');\n\t\t\t\t\t\tvar axisDefaults = Chart.scaleService.getScaleDefaults(axisType);\n\t\t\t\t\t\tif (index >= base[key].length || !base[key][index].type) {\n\t\t\t\t\t\t\tbase[key].push(helpers.configMerge(axisDefaults, valueObj));\n\t\t\t\t\t\t} else if (valueObj.type && valueObj.type !== base[key][index].type) {\n\t\t\t\t\t\t\t// Type changed. Bring in the new defaults before we bring in valueObj so that valueObj can override the correct scale defaults\n\t\t\t\t\t\t\tbase[key][index] = helpers.configMerge(base[key][index], axisDefaults, valueObj);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Type is the same\n\t\t\t\t\t\t\tbase[key][index] = helpers.configMerge(base[key][index], valueObj);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tbase[key] = [];\n\t\t\t\t\thelpers.each(value, function(valueObj) {\n\t\t\t\t\t\tvar axisType = helpers.getValueOrDefault(valueObj.type, key === 'xAxes' ? 'category' : 'linear');\n\t\t\t\t\t\tbase[key].push(helpers.configMerge(Chart.scaleService.getScaleDefaults(axisType), valueObj));\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} else if (base.hasOwnProperty(key) && typeof base[key] === 'object' && base[key] !== null && typeof value === 'object') {\n\t\t\t\t// If we are overwriting an object with an object, do a merge of the properties.\n\t\t\t\tbase[key] = helpers.configMerge(base[key], value);\n\n\t\t\t} else {\n\t\t\t\t// can just overwrite the value in this case\n\t\t\t\tbase[key] = value;\n\t\t\t}\n\t\t});\n\n\t\treturn base;\n\t};\n\thelpers.getValueAtIndexOrDefault = function(value, index, defaultValue) {\n\t\tif (value === undefined || value === null) {\n\t\t\treturn defaultValue;\n\t\t}\n\n\t\tif (helpers.isArray(value)) {\n\t\t\treturn index < value.length ? value[index] : defaultValue;\n\t\t}\n\n\t\treturn value;\n\t};\n\thelpers.getValueOrDefault = function(value, defaultValue) {\n\t\treturn value === undefined ? defaultValue : value;\n\t};\n\thelpers.indexOf = Array.prototype.indexOf?\n\t\tfunction(array, item) {\n\t\t\treturn array.indexOf(item);\n\t\t}:\n\t\tfunction(array, item) {\n\t\t\tfor (var i = 0, ilen = array.length; i < ilen; ++i) {\n\t\t\t\tif (array[i] === item) {\n\t\t\t\t\treturn i;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn -1;\n\t\t};\n\thelpers.where = function(collection, filterCallback) {\n\t\tif (helpers.isArray(collection) && Array.prototype.filter) {\n\t\t\treturn collection.filter(filterCallback);\n\t\t}\n\t\tvar filtered = [];\n\n\t\thelpers.each(collection, function(item) {\n\t\t\tif (filterCallback(item)) {\n\t\t\t\tfiltered.push(item);\n\t\t\t}\n\t\t});\n\n\t\treturn filtered;\n\t};\n\thelpers.findIndex = Array.prototype.findIndex?\n\t\tfunction(array, callback, scope) {\n\t\t\treturn array.findIndex(callback, scope);\n\t\t} :\n\t\tfunction(array, callback, scope) {\n\t\t\tscope = scope === undefined? array : scope;\n\t\t\tfor (var i = 0, ilen = array.length; i < ilen; ++i) {\n\t\t\t\tif (callback.call(scope, array[i], i, array)) {\n\t\t\t\t\treturn i;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn -1;\n\t\t};\n\thelpers.findNextWhere = function(arrayToSearch, filterCallback, startIndex) {\n\t\t// Default to start of the array\n\t\tif (startIndex === undefined || startIndex === null) {\n\t\t\tstartIndex = -1;\n\t\t}\n\t\tfor (var i = startIndex + 1; i < arrayToSearch.length; i++) {\n\t\t\tvar currentItem = arrayToSearch[i];\n\t\t\tif (filterCallback(currentItem)) {\n\t\t\t\treturn currentItem;\n\t\t\t}\n\t\t}\n\t};\n\thelpers.findPreviousWhere = function(arrayToSearch, filterCallback, startIndex) {\n\t\t// Default to end of the array\n\t\tif (startIndex === undefined || startIndex === null) {\n\t\t\tstartIndex = arrayToSearch.length;\n\t\t}\n\t\tfor (var i = startIndex - 1; i >= 0; i--) {\n\t\t\tvar currentItem = arrayToSearch[i];\n\t\t\tif (filterCallback(currentItem)) {\n\t\t\t\treturn currentItem;\n\t\t\t}\n\t\t}\n\t};\n\thelpers.inherits = function(extensions) {\n\t\t// Basic javascript inheritance based on the model created in Backbone.js\n\t\tvar me = this;\n\t\tvar ChartElement = (extensions && extensions.hasOwnProperty('constructor')) ? extensions.constructor : function() {\n\t\t\treturn me.apply(this, arguments);\n\t\t};\n\n\t\tvar Surrogate = function() {\n\t\t\tthis.constructor = ChartElement;\n\t\t};\n\t\tSurrogate.prototype = me.prototype;\n\t\tChartElement.prototype = new Surrogate();\n\n\t\tChartElement.extend = helpers.inherits;\n\n\t\tif (extensions) {\n\t\t\thelpers.extend(ChartElement.prototype, extensions);\n\t\t}\n\n\t\tChartElement.__super__ = me.prototype;\n\n\t\treturn ChartElement;\n\t};\n\thelpers.noop = function() {};\n\thelpers.uid = (function() {\n\t\tvar id = 0;\n\t\treturn function() {\n\t\t\treturn id++;\n\t\t};\n\t}());\n\t// -- Math methods\n\thelpers.isNumber = function(n) {\n\t\treturn !isNaN(parseFloat(n)) && isFinite(n);\n\t};\n\thelpers.almostEquals = function(x, y, epsilon) {\n\t\treturn Math.abs(x - y) < epsilon;\n\t};\n\thelpers.almostWhole = function(x, epsilon) {\n\t\tvar rounded = Math.round(x);\n\t\treturn (((rounded - epsilon) < x) && ((rounded + epsilon) > x));\n\t};\n\thelpers.max = function(array) {\n\t\treturn array.reduce(function(max, value) {\n\t\t\tif (!isNaN(value)) {\n\t\t\t\treturn Math.max(max, value);\n\t\t\t}\n\t\t\treturn max;\n\t\t}, Number.NEGATIVE_INFINITY);\n\t};\n\thelpers.min = function(array) {\n\t\treturn array.reduce(function(min, value) {\n\t\t\tif (!isNaN(value)) {\n\t\t\t\treturn Math.min(min, value);\n\t\t\t}\n\t\t\treturn min;\n\t\t}, Number.POSITIVE_INFINITY);\n\t};\n\thelpers.sign = Math.sign?\n\t\tfunction(x) {\n\t\t\treturn Math.sign(x);\n\t\t} :\n\t\tfunction(x) {\n\t\t\tx = +x; // convert to a number\n\t\t\tif (x === 0 || isNaN(x)) {\n\t\t\t\treturn x;\n\t\t\t}\n\t\t\treturn x > 0 ? 1 : -1;\n\t\t};\n\thelpers.log10 = Math.log10?\n\t\tfunction(x) {\n\t\t\treturn Math.log10(x);\n\t\t} :\n\t\tfunction(x) {\n\t\t\treturn Math.log(x) / Math.LN10;\n\t\t};\n\thelpers.toRadians = function(degrees) {\n\t\treturn degrees * (Math.PI / 180);\n\t};\n\thelpers.toDegrees = function(radians) {\n\t\treturn radians * (180 / Math.PI);\n\t};\n\t// Gets the angle from vertical upright to the point about a centre.\n\thelpers.getAngleFromPoint = function(centrePoint, anglePoint) {\n\t\tvar distanceFromXCenter = anglePoint.x - centrePoint.x,\n\t\t\tdistanceFromYCenter = anglePoint.y - centrePoint.y,\n\t\t\tradialDistanceFromCenter = Math.sqrt(distanceFromXCenter * distanceFromXCenter + distanceFromYCenter * distanceFromYCenter);\n\n\t\tvar angle = Math.atan2(distanceFromYCenter, distanceFromXCenter);\n\n\t\tif (angle < (-0.5 * Math.PI)) {\n\t\t\tangle += 2.0 * Math.PI; // make sure the returned angle is in the range of (-PI/2, 3PI/2]\n\t\t}\n\n\t\treturn {\n\t\t\tangle: angle,\n\t\t\tdistance: radialDistanceFromCenter\n\t\t};\n\t};\n\thelpers.distanceBetweenPoints = function(pt1, pt2) {\n\t\treturn Math.sqrt(Math.pow(pt2.x - pt1.x, 2) + Math.pow(pt2.y - pt1.y, 2));\n\t};\n\thelpers.aliasPixel = function(pixelWidth) {\n\t\treturn (pixelWidth % 2 === 0) ? 0 : 0.5;\n\t};\n\thelpers.splineCurve = function(firstPoint, middlePoint, afterPoint, t) {\n\t\t// Props to Rob Spencer at scaled innovation for his post on splining between points\n\t\t// http://scaledinnovation.com/analytics/splines/aboutSplines.html\n\n\t\t// This function must also respect \"skipped\" points\n\n\t\tvar previous = firstPoint.skip ? middlePoint : firstPoint,\n\t\t\tcurrent = middlePoint,\n\t\t\tnext = afterPoint.skip ? middlePoint : afterPoint;\n\n\t\tvar d01 = Math.sqrt(Math.pow(current.x - previous.x, 2) + Math.pow(current.y - previous.y, 2));\n\t\tvar d12 = Math.sqrt(Math.pow(next.x - current.x, 2) + Math.pow(next.y - current.y, 2));\n\n\t\tvar s01 = d01 / (d01 + d12);\n\t\tvar s12 = d12 / (d01 + d12);\n\n\t\t// If all points are the same, s01 & s02 will be inf\n\t\ts01 = isNaN(s01) ? 0 : s01;\n\t\ts12 = isNaN(s12) ? 0 : s12;\n\n\t\tvar fa = t * s01; // scaling factor for triangle Ta\n\t\tvar fb = t * s12;\n\n\t\treturn {\n\t\t\tprevious: {\n\t\t\t\tx: current.x - fa * (next.x - previous.x),\n\t\t\t\ty: current.y - fa * (next.y - previous.y)\n\t\t\t},\n\t\t\tnext: {\n\t\t\t\tx: current.x + fb * (next.x - previous.x),\n\t\t\t\ty: current.y + fb * (next.y - previous.y)\n\t\t\t}\n\t\t};\n\t};\n\thelpers.EPSILON = Number.EPSILON || 1e-14;\n\thelpers.splineCurveMonotone = function(points) {\n\t\t// This function calculates Bézier control points in a similar way than |splineCurve|,\n\t\t// but preserves monotonicity of the provided data and ensures no local extremums are added\n\t\t// between the dataset discrete points due to the interpolation.\n\t\t// See : https://en.wikipedia.org/wiki/Monotone_cubic_interpolation\n\n\t\tvar pointsWithTangents = (points || []).map(function(point) {\n\t\t\treturn {\n\t\t\t\tmodel: point._model,\n\t\t\t\tdeltaK: 0,\n\t\t\t\tmK: 0\n\t\t\t};\n\t\t});\n\n\t\t// Calculate slopes (deltaK) and initialize tangents (mK)\n\t\tvar pointsLen = pointsWithTangents.length;\n\t\tvar i, pointBefore, pointCurrent, pointAfter;\n\t\tfor (i = 0; i < pointsLen; ++i) {\n\t\t\tpointCurrent = pointsWithTangents[i];\n\t\t\tif (pointCurrent.model.skip) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tpointBefore = i > 0 ? pointsWithTangents[i - 1] : null;\n\t\t\tpointAfter = i < pointsLen - 1 ? pointsWithTangents[i + 1] : null;\n\t\t\tif (pointAfter && !pointAfter.model.skip) {\n\t\t\t\tvar slopeDeltaX = (pointAfter.model.x - pointCurrent.model.x);\n\n\t\t\t\t// In the case of two points that appear at the same x pixel, slopeDeltaX is 0\n\t\t\t\tpointCurrent.deltaK = slopeDeltaX !== 0 ? (pointAfter.model.y - pointCurrent.model.y) / slopeDeltaX : 0;\n\t\t\t}\n\n\t\t\tif (!pointBefore || pointBefore.model.skip) {\n\t\t\t\tpointCurrent.mK = pointCurrent.deltaK;\n\t\t\t} else if (!pointAfter || pointAfter.model.skip) {\n\t\t\t\tpointCurrent.mK = pointBefore.deltaK;\n\t\t\t} else if (this.sign(pointBefore.deltaK) !== this.sign(pointCurrent.deltaK)) {\n\t\t\t\tpointCurrent.mK = 0;\n\t\t\t} else {\n\t\t\t\tpointCurrent.mK = (pointBefore.deltaK + pointCurrent.deltaK) / 2;\n\t\t\t}\n\t\t}\n\n\t\t// Adjust tangents to ensure monotonic properties\n\t\tvar alphaK, betaK, tauK, squaredMagnitude;\n\t\tfor (i = 0; i < pointsLen - 1; ++i) {\n\t\t\tpointCurrent = pointsWithTangents[i];\n\t\t\tpointAfter = pointsWithTangents[i + 1];\n\t\t\tif (pointCurrent.model.skip || pointAfter.model.skip) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (helpers.almostEquals(pointCurrent.deltaK, 0, this.EPSILON)) {\n\t\t\t\tpointCurrent.mK = pointAfter.mK = 0;\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\talphaK = pointCurrent.mK / pointCurrent.deltaK;\n\t\t\tbetaK = pointAfter.mK / pointCurrent.deltaK;\n\t\t\tsquaredMagnitude = Math.pow(alphaK, 2) + Math.pow(betaK, 2);\n\t\t\tif (squaredMagnitude <= 9) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\ttauK = 3 / Math.sqrt(squaredMagnitude);\n\t\t\tpointCurrent.mK = alphaK * tauK * pointCurrent.deltaK;\n\t\t\tpointAfter.mK = betaK * tauK * pointCurrent.deltaK;\n\t\t}\n\n\t\t// Compute control points\n\t\tvar deltaX;\n\t\tfor (i = 0; i < pointsLen; ++i) {\n\t\t\tpointCurrent = pointsWithTangents[i];\n\t\t\tif (pointCurrent.model.skip) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tpointBefore = i > 0 ? pointsWithTangents[i - 1] : null;\n\t\t\tpointAfter = i < pointsLen - 1 ? pointsWithTangents[i + 1] : null;\n\t\t\tif (pointBefore && !pointBefore.model.skip) {\n\t\t\t\tdeltaX = (pointCurrent.model.x - pointBefore.model.x) / 3;\n\t\t\t\tpointCurrent.model.controlPointPreviousX = pointCurrent.model.x - deltaX;\n\t\t\t\tpointCurrent.model.controlPointPreviousY = pointCurrent.model.y - deltaX * pointCurrent.mK;\n\t\t\t}\n\t\t\tif (pointAfter && !pointAfter.model.skip) {\n\t\t\t\tdeltaX = (pointAfter.model.x - pointCurrent.model.x) / 3;\n\t\t\t\tpointCurrent.model.controlPointNextX = pointCurrent.model.x + deltaX;\n\t\t\t\tpointCurrent.model.controlPointNextY = pointCurrent.model.y + deltaX * pointCurrent.mK;\n\t\t\t}\n\t\t}\n\t};\n\thelpers.nextItem = function(collection, index, loop) {\n\t\tif (loop) {\n\t\t\treturn index >= collection.length - 1 ? collection[0] : collection[index + 1];\n\t\t}\n\t\treturn index >= collection.length - 1 ? collection[collection.length - 1] : collection[index + 1];\n\t};\n\thelpers.previousItem = function(collection, index, loop) {\n\t\tif (loop) {\n\t\t\treturn index <= 0 ? collection[collection.length - 1] : collection[index - 1];\n\t\t}\n\t\treturn index <= 0 ? collection[0] : collection[index - 1];\n\t};\n\t// Implementation of the nice number algorithm used in determining where axis labels will go\n\thelpers.niceNum = function(range, round) {\n\t\tvar exponent = Math.floor(helpers.log10(range));\n\t\tvar fraction = range / Math.pow(10, exponent);\n\t\tvar niceFraction;\n\n\t\tif (round) {\n\t\t\tif (fraction < 1.5) {\n\t\t\t\tniceFraction = 1;\n\t\t\t} else if (fraction < 3) {\n\t\t\t\tniceFraction = 2;\n\t\t\t} else if (fraction < 7) {\n\t\t\t\tniceFraction = 5;\n\t\t\t} else {\n\t\t\t\tniceFraction = 10;\n\t\t\t}\n\t\t} else if (fraction <= 1.0) {\n\t\t\tniceFraction = 1;\n\t\t} else if (fraction <= 2) {\n\t\t\tniceFraction = 2;\n\t\t} else if (fraction <= 5) {\n\t\t\tniceFraction = 5;\n\t\t} else {\n\t\t\tniceFraction = 10;\n\t\t}\n\n\t\treturn niceFraction * Math.pow(10, exponent);\n\t};\n\t// Easing functions adapted from Robert Penner's easing equations\n\t// http://www.robertpenner.com/easing/\n\tvar easingEffects = helpers.easingEffects = {\n\t\tlinear: function(t) {\n\t\t\treturn t;\n\t\t},\n\t\teaseInQuad: function(t) {\n\t\t\treturn t * t;\n\t\t},\n\t\teaseOutQuad: function(t) {\n\t\t\treturn -1 * t * (t - 2);\n\t\t},\n\t\teaseInOutQuad: function(t) {\n\t\t\tif ((t /= 1 / 2) < 1) {\n\t\t\t\treturn 1 / 2 * t * t;\n\t\t\t}\n\t\t\treturn -1 / 2 * ((--t) * (t - 2) - 1);\n\t\t},\n\t\teaseInCubic: function(t) {\n\t\t\treturn t * t * t;\n\t\t},\n\t\teaseOutCubic: function(t) {\n\t\t\treturn 1 * ((t = t / 1 - 1) * t * t + 1);\n\t\t},\n\t\teaseInOutCubic: function(t) {\n\t\t\tif ((t /= 1 / 2) < 1) {\n\t\t\t\treturn 1 / 2 * t * t * t;\n\t\t\t}\n\t\t\treturn 1 / 2 * ((t -= 2) * t * t + 2);\n\t\t},\n\t\teaseInQuart: function(t) {\n\t\t\treturn t * t * t * t;\n\t\t},\n\t\teaseOutQuart: function(t) {\n\t\t\treturn -1 * ((t = t / 1 - 1) * t * t * t - 1);\n\t\t},\n\t\teaseInOutQuart: function(t) {\n\t\t\tif ((t /= 1 / 2) < 1) {\n\t\t\t\treturn 1 / 2 * t * t * t * t;\n\t\t\t}\n\t\t\treturn -1 / 2 * ((t -= 2) * t * t * t - 2);\n\t\t},\n\t\teaseInQuint: function(t) {\n\t\t\treturn 1 * (t /= 1) * t * t * t * t;\n\t\t},\n\t\teaseOutQuint: function(t) {\n\t\t\treturn 1 * ((t = t / 1 - 1) * t * t * t * t + 1);\n\t\t},\n\t\teaseInOutQuint: function(t) {\n\t\t\tif ((t /= 1 / 2) < 1) {\n\t\t\t\treturn 1 / 2 * t * t * t * t * t;\n\t\t\t}\n\t\t\treturn 1 / 2 * ((t -= 2) * t * t * t * t + 2);\n\t\t},\n\t\teaseInSine: function(t) {\n\t\t\treturn -1 * Math.cos(t / 1 * (Math.PI / 2)) + 1;\n\t\t},\n\t\teaseOutSine: function(t) {\n\t\t\treturn 1 * Math.sin(t / 1 * (Math.PI / 2));\n\t\t},\n\t\teaseInOutSine: function(t) {\n\t\t\treturn -1 / 2 * (Math.cos(Math.PI * t / 1) - 1);\n\t\t},\n\t\teaseInExpo: function(t) {\n\t\t\treturn (t === 0) ? 1 : 1 * Math.pow(2, 10 * (t / 1 - 1));\n\t\t},\n\t\teaseOutExpo: function(t) {\n\t\t\treturn (t === 1) ? 1 : 1 * (-Math.pow(2, -10 * t / 1) + 1);\n\t\t},\n\t\teaseInOutExpo: function(t) {\n\t\t\tif (t === 0) {\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t\tif (t === 1) {\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\tif ((t /= 1 / 2) < 1) {\n\t\t\t\treturn 1 / 2 * Math.pow(2, 10 * (t - 1));\n\t\t\t}\n\t\t\treturn 1 / 2 * (-Math.pow(2, -10 * --t) + 2);\n\t\t},\n\t\teaseInCirc: function(t) {\n\t\t\tif (t >= 1) {\n\t\t\t\treturn t;\n\t\t\t}\n\t\t\treturn -1 * (Math.sqrt(1 - (t /= 1) * t) - 1);\n\t\t},\n\t\teaseOutCirc: function(t) {\n\t\t\treturn 1 * Math.sqrt(1 - (t = t / 1 - 1) * t);\n\t\t},\n\t\teaseInOutCirc: function(t) {\n\t\t\tif ((t /= 1 / 2) < 1) {\n\t\t\t\treturn -1 / 2 * (Math.sqrt(1 - t * t) - 1);\n\t\t\t}\n\t\t\treturn 1 / 2 * (Math.sqrt(1 - (t -= 2) * t) + 1);\n\t\t},\n\t\teaseInElastic: function(t) {\n\t\t\tvar s = 1.70158;\n\t\t\tvar p = 0;\n\t\t\tvar a = 1;\n\t\t\tif (t === 0) {\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t\tif ((t /= 1) === 1) {\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\tif (!p) {\n\t\t\t\tp = 1 * 0.3;\n\t\t\t}\n\t\t\tif (a < Math.abs(1)) {\n\t\t\t\ta = 1;\n\t\t\t\ts = p / 4;\n\t\t\t} else {\n\t\t\t\ts = p / (2 * Math.PI) * Math.asin(1 / a);\n\t\t\t}\n\t\t\treturn -(a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * 1 - s) * (2 * Math.PI) / p));\n\t\t},\n\t\teaseOutElastic: function(t) {\n\t\t\tvar s = 1.70158;\n\t\t\tvar p = 0;\n\t\t\tvar a = 1;\n\t\t\tif (t === 0) {\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t\tif ((t /= 1) === 1) {\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\tif (!p) {\n\t\t\t\tp = 1 * 0.3;\n\t\t\t}\n\t\t\tif (a < Math.abs(1)) {\n\t\t\t\ta = 1;\n\t\t\t\ts = p / 4;\n\t\t\t} else {\n\t\t\t\ts = p / (2 * Math.PI) * Math.asin(1 / a);\n\t\t\t}\n\t\t\treturn a * Math.pow(2, -10 * t) * Math.sin((t * 1 - s) * (2 * Math.PI) / p) + 1;\n\t\t},\n\t\teaseInOutElastic: function(t) {\n\t\t\tvar s = 1.70158;\n\t\t\tvar p = 0;\n\t\t\tvar a = 1;\n\t\t\tif (t === 0) {\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t\tif ((t /= 1 / 2) === 2) {\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\tif (!p) {\n\t\t\t\tp = 1 * (0.3 * 1.5);\n\t\t\t}\n\t\t\tif (a < Math.abs(1)) {\n\t\t\t\ta = 1;\n\t\t\t\ts = p / 4;\n\t\t\t} else {\n\t\t\t\ts = p / (2 * Math.PI) * Math.asin(1 / a);\n\t\t\t}\n\t\t\tif (t < 1) {\n\t\t\t\treturn -0.5 * (a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * 1 - s) * (2 * Math.PI) / p));\n\t\t\t}\n\t\t\treturn a * Math.pow(2, -10 * (t -= 1)) * Math.sin((t * 1 - s) * (2 * Math.PI) / p) * 0.5 + 1;\n\t\t},\n\t\teaseInBack: function(t) {\n\t\t\tvar s = 1.70158;\n\t\t\treturn 1 * (t /= 1) * t * ((s + 1) * t - s);\n\t\t},\n\t\teaseOutBack: function(t) {\n\t\t\tvar s = 1.70158;\n\t\t\treturn 1 * ((t = t / 1 - 1) * t * ((s + 1) * t + s) + 1);\n\t\t},\n\t\teaseInOutBack: function(t) {\n\t\t\tvar s = 1.70158;\n\t\t\tif ((t /= 1 / 2) < 1) {\n\t\t\t\treturn 1 / 2 * (t * t * (((s *= (1.525)) + 1) * t - s));\n\t\t\t}\n\t\t\treturn 1 / 2 * ((t -= 2) * t * (((s *= (1.525)) + 1) * t + s) + 2);\n\t\t},\n\t\teaseInBounce: function(t) {\n\t\t\treturn 1 - easingEffects.easeOutBounce(1 - t);\n\t\t},\n\t\teaseOutBounce: function(t) {\n\t\t\tif ((t /= 1) < (1 / 2.75)) {\n\t\t\t\treturn 1 * (7.5625 * t * t);\n\t\t\t} else if (t < (2 / 2.75)) {\n\t\t\t\treturn 1 * (7.5625 * (t -= (1.5 / 2.75)) * t + 0.75);\n\t\t\t} else if (t < (2.5 / 2.75)) {\n\t\t\t\treturn 1 * (7.5625 * (t -= (2.25 / 2.75)) * t + 0.9375);\n\t\t\t}\n\t\t\treturn 1 * (7.5625 * (t -= (2.625 / 2.75)) * t + 0.984375);\n\t\t},\n\t\teaseInOutBounce: function(t) {\n\t\t\tif (t < 1 / 2) {\n\t\t\t\treturn easingEffects.easeInBounce(t * 2) * 0.5;\n\t\t\t}\n\t\t\treturn easingEffects.easeOutBounce(t * 2 - 1) * 0.5 + 1 * 0.5;\n\t\t}\n\t};\n\t// Request animation polyfill - http://www.paulirish.com/2011/requestanimationframe-for-smart-animating/\n\thelpers.requestAnimFrame = (function() {\n\t\tif (typeof window === 'undefined') {\n\t\t\treturn function(callback) {\n\t\t\t\tcallback();\n\t\t\t};\n\t\t}\n\t\treturn window.requestAnimationFrame ||\n\t\t\twindow.webkitRequestAnimationFrame ||\n\t\t\twindow.mozRequestAnimationFrame ||\n\t\t\twindow.oRequestAnimationFrame ||\n\t\t\twindow.msRequestAnimationFrame ||\n\t\t\tfunction(callback) {\n\t\t\t\treturn window.setTimeout(callback, 1000 / 60);\n\t\t\t};\n\t}());\n\t// -- DOM methods\n\thelpers.getRelativePosition = function(evt, chart) {\n\t\tvar mouseX, mouseY;\n\t\tvar e = evt.originalEvent || evt,\n\t\t\tcanvas = evt.currentTarget || evt.srcElement,\n\t\t\tboundingRect = canvas.getBoundingClientRect();\n\n\t\tvar touches = e.touches;\n\t\tif (touches && touches.length > 0) {\n\t\t\tmouseX = touches[0].clientX;\n\t\t\tmouseY = touches[0].clientY;\n\n\t\t} else {\n\t\t\tmouseX = e.clientX;\n\t\t\tmouseY = e.clientY;\n\t\t}\n\n\t\t// Scale mouse coordinates into canvas coordinates\n\t\t// by following the pattern laid out by 'jerryj' in the comments of\n\t\t// http://www.html5canvastutorials.com/advanced/html5-canvas-mouse-coordinates/\n\t\tvar paddingLeft = parseFloat(helpers.getStyle(canvas, 'padding-left'));\n\t\tvar paddingTop = parseFloat(helpers.getStyle(canvas, 'padding-top'));\n\t\tvar paddingRight = parseFloat(helpers.getStyle(canvas, 'padding-right'));\n\t\tvar paddingBottom = parseFloat(helpers.getStyle(canvas, 'padding-bottom'));\n\t\tvar width = boundingRect.right - boundingRect.left - paddingLeft - paddingRight;\n\t\tvar height = boundingRect.bottom - boundingRect.top - paddingTop - paddingBottom;\n\n\t\t// We divide by the current device pixel ratio, because the canvas is scaled up by that amount in each direction. However\n\t\t// the backend model is in unscaled coordinates. Since we are going to deal with our model coordinates, we go back here\n\t\tmouseX = Math.round((mouseX - boundingRect.left - paddingLeft) / (width) * canvas.width / chart.currentDevicePixelRatio);\n\t\tmouseY = Math.round((mouseY - boundingRect.top - paddingTop) / (height) * canvas.height / chart.currentDevicePixelRatio);\n\n\t\treturn {\n\t\t\tx: mouseX,\n\t\t\ty: mouseY\n\t\t};\n\n\t};\n\thelpers.addEvent = function(node, eventType, method) {\n\t\tif (node.addEventListener) {\n\t\t\tnode.addEventListener(eventType, method);\n\t\t} else if (node.attachEvent) {\n\t\t\tnode.attachEvent('on' + eventType, method);\n\t\t} else {\n\t\t\tnode['on' + eventType] = method;\n\t\t}\n\t};\n\thelpers.removeEvent = function(node, eventType, handler) {\n\t\tif (node.removeEventListener) {\n\t\t\tnode.removeEventListener(eventType, handler, false);\n\t\t} else if (node.detachEvent) {\n\t\t\tnode.detachEvent('on' + eventType, handler);\n\t\t} else {\n\t\t\tnode['on' + eventType] = helpers.noop;\n\t\t}\n\t};\n\n\t// Private helper function to convert max-width/max-height values that may be percentages into a number\n\tfunction parseMaxStyle(styleValue, node, parentProperty) {\n\t\tvar valueInPixels;\n\t\tif (typeof(styleValue) === 'string') {\n\t\t\tvalueInPixels = parseInt(styleValue, 10);\n\n\t\t\tif (styleValue.indexOf('%') !== -1) {\n\t\t\t\t// percentage * size in dimension\n\t\t\t\tvalueInPixels = valueInPixels / 100 * node.parentNode[parentProperty];\n\t\t\t}\n\t\t} else {\n\t\t\tvalueInPixels = styleValue;\n\t\t}\n\n\t\treturn valueInPixels;\n\t}\n\n\t/**\n\t * Returns if the given value contains an effective constraint.\n\t * @private\n\t */\n\tfunction isConstrainedValue(value) {\n\t\treturn value !== undefined && value !== null && value !== 'none';\n\t}\n\n\t// Private helper to get a constraint dimension\n\t// @param domNode : the node to check the constraint on\n\t// @param maxStyle : the style that defines the maximum for the direction we are using (maxWidth / maxHeight)\n\t// @param percentageProperty : property of parent to use when calculating width as a percentage\n\t// @see http://www.nathanaeljones.com/blog/2013/reading-max-width-cross-browser\n\tfunction getConstraintDimension(domNode, maxStyle, percentageProperty) {\n\t\tvar view = document.defaultView;\n\t\tvar parentNode = domNode.parentNode;\n\t\tvar constrainedNode = view.getComputedStyle(domNode)[maxStyle];\n\t\tvar constrainedContainer = view.getComputedStyle(parentNode)[maxStyle];\n\t\tvar hasCNode = isConstrainedValue(constrainedNode);\n\t\tvar hasCContainer = isConstrainedValue(constrainedContainer);\n\t\tvar infinity = Number.POSITIVE_INFINITY;\n\n\t\tif (hasCNode || hasCContainer) {\n\t\t\treturn Math.min(\n\t\t\t\thasCNode? parseMaxStyle(constrainedNode, domNode, percentageProperty) : infinity,\n\t\t\t\thasCContainer? parseMaxStyle(constrainedContainer, parentNode, percentageProperty) : infinity);\n\t\t}\n\n\t\treturn 'none';\n\t}\n\t// returns Number or undefined if no constraint\n\thelpers.getConstraintWidth = function(domNode) {\n\t\treturn getConstraintDimension(domNode, 'max-width', 'clientWidth');\n\t};\n\t// returns Number or undefined if no constraint\n\thelpers.getConstraintHeight = function(domNode) {\n\t\treturn getConstraintDimension(domNode, 'max-height', 'clientHeight');\n\t};\n\thelpers.getMaximumWidth = function(domNode) {\n\t\tvar container = domNode.parentNode;\n\t\tvar paddingLeft = parseInt(helpers.getStyle(container, 'padding-left'), 10);\n\t\tvar paddingRight = parseInt(helpers.getStyle(container, 'padding-right'), 10);\n\t\tvar w = container.clientWidth - paddingLeft - paddingRight;\n\t\tvar cw = helpers.getConstraintWidth(domNode);\n\t\treturn isNaN(cw)? w : Math.min(w, cw);\n\t};\n\thelpers.getMaximumHeight = function(domNode) {\n\t\tvar container = domNode.parentNode;\n\t\tvar paddingTop = parseInt(helpers.getStyle(container, 'padding-top'), 10);\n\t\tvar paddingBottom = parseInt(helpers.getStyle(container, 'padding-bottom'), 10);\n\t\tvar h = container.clientHeight - paddingTop - paddingBottom;\n\t\tvar ch = helpers.getConstraintHeight(domNode);\n\t\treturn isNaN(ch)? h : Math.min(h, ch);\n\t};\n\thelpers.getStyle = function(el, property) {\n\t\treturn el.currentStyle ?\n\t\t\tel.currentStyle[property] :\n\t\t\tdocument.defaultView.getComputedStyle(el, null).getPropertyValue(property);\n\t};\n\thelpers.retinaScale = function(chart) {\n\t\tvar pixelRatio = chart.currentDevicePixelRatio = window.devicePixelRatio || 1;\n\t\tif (pixelRatio === 1) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar canvas = chart.canvas;\n\t\tvar height = chart.height;\n\t\tvar width = chart.width;\n\n\t\tcanvas.height = height * pixelRatio;\n\t\tcanvas.width = width * pixelRatio;\n\t\tchart.ctx.scale(pixelRatio, pixelRatio);\n\n\t\t// If no style has been set on the canvas, the render size is used as display size,\n\t\t// making the chart visually bigger, so let's enforce it to the \"correct\" values.\n\t\t// See https://github.com/chartjs/Chart.js/issues/3575\n\t\tcanvas.style.height = height + 'px';\n\t\tcanvas.style.width = width + 'px';\n\t};\n\t// -- Canvas methods\n\thelpers.clear = function(chart) {\n\t\tchart.ctx.clearRect(0, 0, chart.width, chart.height);\n\t};\n\thelpers.fontString = function(pixelSize, fontStyle, fontFamily) {\n\t\treturn fontStyle + ' ' + pixelSize + 'px ' + fontFamily;\n\t};\n\thelpers.longestText = function(ctx, font, arrayOfThings, cache) {\n\t\tcache = cache || {};\n\t\tvar data = cache.data = cache.data || {};\n\t\tvar gc = cache.garbageCollect = cache.garbageCollect || [];\n\n\t\tif (cache.font !== font) {\n\t\t\tdata = cache.data = {};\n\t\t\tgc = cache.garbageCollect = [];\n\t\t\tcache.font = font;\n\t\t}\n\n\t\tctx.font = font;\n\t\tvar longest = 0;\n\t\thelpers.each(arrayOfThings, function(thing) {\n\t\t\t// Undefined strings and arrays should not be measured\n\t\t\tif (thing !== undefined && thing !== null && helpers.isArray(thing) !== true) {\n\t\t\t\tlongest = helpers.measureText(ctx, data, gc, longest, thing);\n\t\t\t} else if (helpers.isArray(thing)) {\n\t\t\t\t// if it is an array lets measure each element\n\t\t\t\t// to do maybe simplify this function a bit so we can do this more recursively?\n\t\t\t\thelpers.each(thing, function(nestedThing) {\n\t\t\t\t\t// Undefined strings and arrays should not be measured\n\t\t\t\t\tif (nestedThing !== undefined && nestedThing !== null && !helpers.isArray(nestedThing)) {\n\t\t\t\t\t\tlongest = helpers.measureText(ctx, data, gc, longest, nestedThing);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\n\t\tvar gcLen = gc.length / 2;\n\t\tif (gcLen > arrayOfThings.length) {\n\t\t\tfor (var i = 0; i < gcLen; i++) {\n\t\t\t\tdelete data[gc[i]];\n\t\t\t}\n\t\t\tgc.splice(0, gcLen);\n\t\t}\n\t\treturn longest;\n\t};\n\thelpers.measureText = function(ctx, data, gc, longest, string) {\n\t\tvar textWidth = data[string];\n\t\tif (!textWidth) {\n\t\t\ttextWidth = data[string] = ctx.measureText(string).width;\n\t\t\tgc.push(string);\n\t\t}\n\t\tif (textWidth > longest) {\n\t\t\tlongest = textWidth;\n\t\t}\n\t\treturn longest;\n\t};\n\thelpers.numberOfLabelLines = function(arrayOfThings) {\n\t\tvar numberOfLines = 1;\n\t\thelpers.each(arrayOfThings, function(thing) {\n\t\t\tif (helpers.isArray(thing)) {\n\t\t\t\tif (thing.length > numberOfLines) {\n\t\t\t\t\tnumberOfLines = thing.length;\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\treturn numberOfLines;\n\t};\n\thelpers.drawRoundedRectangle = function(ctx, x, y, width, height, radius) {\n\t\tctx.beginPath();\n\t\tctx.moveTo(x + radius, y);\n\t\tctx.lineTo(x + width - radius, y);\n\t\tctx.quadraticCurveTo(x + width, y, x + width, y + radius);\n\t\tctx.lineTo(x + width, y + height - radius);\n\t\tctx.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);\n\t\tctx.lineTo(x + radius, y + height);\n\t\tctx.quadraticCurveTo(x, y + height, x, y + height - radius);\n\t\tctx.lineTo(x, y + radius);\n\t\tctx.quadraticCurveTo(x, y, x + radius, y);\n\t\tctx.closePath();\n\t};\n\n\thelpers.color = !color?\n\t\tfunction(value) {\n\t\t\tconsole.error('Color.js not found!');\n\t\t\treturn value;\n\t\t} :\n\t\tfunction(value) {\n\t\t\t/* global CanvasGradient */\n\t\t\tif (value instanceof CanvasGradient) {\n\t\t\t\tvalue = Chart.defaults.global.defaultColor;\n\t\t\t}\n\n\t\t\treturn color(value);\n\t\t};\n\n\thelpers.isArray = Array.isArray?\n\t\tfunction(obj) {\n\t\t\treturn Array.isArray(obj);\n\t\t} :\n\t\tfunction(obj) {\n\t\t\treturn Object.prototype.toString.call(obj) === '[object Array]';\n\t\t};\n\t// ! @see http://stackoverflow.com/a/14853974\n\thelpers.arrayEquals = function(a0, a1) {\n\t\tvar i, ilen, v0, v1;\n\n\t\tif (!a0 || !a1 || a0.length !== a1.length) {\n\t\t\treturn false;\n\t\t}\n\n\t\tfor (i = 0, ilen=a0.length; i < ilen; ++i) {\n\t\t\tv0 = a0[i];\n\t\t\tv1 = a1[i];\n\n\t\t\tif (v0 instanceof Array && v1 instanceof Array) {\n\t\t\t\tif (!helpers.arrayEquals(v0, v1)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t} else if (v0 !== v1) {\n\t\t\t\t// NOTE: two different object instances will never be equal: {x:20} != {x:20}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t};\n\thelpers.callback = function(fn, args, thisArg) {\n\t\tif (fn && typeof fn.call === 'function') {\n\t\t\tfn.apply(thisArg, args);\n\t\t}\n\t};\n\thelpers.getHoverColor = function(colorValue) {\n\t\t/* global CanvasPattern */\n\t\treturn (colorValue instanceof CanvasPattern) ?\n\t\t\tcolorValue :\n\t\t\thelpers.color(colorValue).saturate(0.5).darken(0.1).rgbString();\n\t};\n\n\t/**\n\t * Provided for backward compatibility, use Chart.helpers#callback instead.\n\t * @function Chart.helpers#callCallback\n\t * @deprecated since version 2.6.0\n\t * @todo remove at version 3\n\t */\n\thelpers.callCallback = helpers.callback;\n};\n\n},{\"3\":3}],27:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\tvar helpers = Chart.helpers;\n\n\t/**\n\t * Helper function to get relative position for an event\n\t * @param {Event|IEvent} event - The event to get the position for\n\t * @param {Chart} chart - The chart\n\t * @returns {Point} the event position\n\t */\n\tfunction getRelativePosition(e, chart) {\n\t\tif (e.native) {\n\t\t\treturn {\n\t\t\t\tx: e.x,\n\t\t\t\ty: e.y\n\t\t\t};\n\t\t}\n\n\t\treturn helpers.getRelativePosition(e, chart);\n\t}\n\n\t/**\n\t * Helper function to traverse all of the visible elements in the chart\n\t * @param chart {chart} the chart\n\t * @param handler {Function} the callback to execute for each visible item\n\t */\n\tfunction parseVisibleItems(chart, handler) {\n\t\tvar datasets = chart.data.datasets;\n\t\tvar meta, i, j, ilen, jlen;\n\n\t\tfor (i = 0, ilen = datasets.length; i < ilen; ++i) {\n\t\t\tif (!chart.isDatasetVisible(i)) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tmeta = chart.getDatasetMeta(i);\n\t\t\tfor (j = 0, jlen = meta.data.length; j < jlen; ++j) {\n\t\t\t\tvar element = meta.data[j];\n\t\t\t\tif (!element._view.skip) {\n\t\t\t\t\thandler(element);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Helper function to get the items that intersect the event position\n\t * @param items {ChartElement[]} elements to filter\n\t * @param position {Point} the point to be nearest to\n\t * @return {ChartElement[]} the nearest items\n\t */\n\tfunction getIntersectItems(chart, position) {\n\t\tvar elements = [];\n\n\t\tparseVisibleItems(chart, function(element) {\n\t\t\tif (element.inRange(position.x, position.y)) {\n\t\t\t\telements.push(element);\n\t\t\t}\n\t\t});\n\n\t\treturn elements;\n\t}\n\n\t/**\n\t * Helper function to get the items nearest to the event position considering all visible items in teh chart\n\t * @param chart {Chart} the chart to look at elements from\n\t * @param position {Point} the point to be nearest to\n\t * @param intersect {Boolean} if true, only consider items that intersect the position\n\t * @param distanceMetric {Function} Optional function to provide the distance between\n\t * @return {ChartElement[]} the nearest items\n\t */\n\tfunction getNearestItems(chart, position, intersect, distanceMetric) {\n\t\tvar minDistance = Number.POSITIVE_INFINITY;\n\t\tvar nearestItems = [];\n\n\t\tif (!distanceMetric) {\n\t\t\tdistanceMetric = helpers.distanceBetweenPoints;\n\t\t}\n\n\t\tparseVisibleItems(chart, function(element) {\n\t\t\tif (intersect && !element.inRange(position.x, position.y)) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar center = element.getCenterPoint();\n\t\t\tvar distance = distanceMetric(position, center);\n\n\t\t\tif (distance < minDistance) {\n\t\t\t\tnearestItems = [element];\n\t\t\t\tminDistance = distance;\n\t\t\t} else if (distance === minDistance) {\n\t\t\t\t// Can have multiple items at the same distance in which case we sort by size\n\t\t\t\tnearestItems.push(element);\n\t\t\t}\n\t\t});\n\n\t\treturn nearestItems;\n\t}\n\n\tfunction indexMode(chart, e, options) {\n\t\tvar position = getRelativePosition(e, chart);\n\t\tvar distanceMetric = function(pt1, pt2) {\n\t\t\treturn Math.abs(pt1.x - pt2.x);\n\t\t};\n\t\tvar items = options.intersect ? getIntersectItems(chart, position) : getNearestItems(chart, position, false, distanceMetric);\n\t\tvar elements = [];\n\n\t\tif (!items.length) {\n\t\t\treturn [];\n\t\t}\n\n\t\tchart.data.datasets.forEach(function(dataset, datasetIndex) {\n\t\t\tif (chart.isDatasetVisible(datasetIndex)) {\n\t\t\t\tvar meta = chart.getDatasetMeta(datasetIndex),\n\t\t\t\t\telement = meta.data[items[0]._index];\n\n\t\t\t\t// don't count items that are skipped (null data)\n\t\t\t\tif (element && !element._view.skip) {\n\t\t\t\t\telements.push(element);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\treturn elements;\n\t}\n\n\t/**\n\t * @interface IInteractionOptions\n\t */\n\t/**\n\t * If true, only consider items that intersect the point\n\t * @name IInterfaceOptions#boolean\n\t * @type Boolean\n\t */\n\n\t/**\n\t * Contains interaction related functions\n\t * @namespace Chart.Interaction\n\t */\n\tChart.Interaction = {\n\t\t// Helper function for different modes\n\t\tmodes: {\n\t\t\tsingle: function(chart, e) {\n\t\t\t\tvar position = getRelativePosition(e, chart);\n\t\t\t\tvar elements = [];\n\n\t\t\t\tparseVisibleItems(chart, function(element) {\n\t\t\t\t\tif (element.inRange(position.x, position.y)) {\n\t\t\t\t\t\telements.push(element);\n\t\t\t\t\t\treturn elements;\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\treturn elements.slice(0, 1);\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * @function Chart.Interaction.modes.label\n\t\t\t * @deprecated since version 2.4.0\n\t \t\t * @todo remove at version 3\n\t\t\t * @private\n\t\t\t */\n\t\t\tlabel: indexMode,\n\n\t\t\t/**\n\t\t\t * Returns items at the same index. If the options.intersect parameter is true, we only return items if we intersect something\n\t\t\t * If the options.intersect mode is false, we find the nearest item and return the items at the same index as that item\n\t\t\t * @function Chart.Interaction.modes.index\n\t\t\t * @since v2.4.0\n\t\t\t * @param chart {chart} the chart we are returning items from\n\t\t\t * @param e {Event} the event we are find things at\n\t\t\t * @param options {IInteractionOptions} options to use during interaction\n\t\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\n\t\t\t */\n\t\t\tindex: indexMode,\n\n\t\t\t/**\n\t\t\t * Returns items in the same dataset. If the options.intersect parameter is true, we only return items if we intersect something\n\t\t\t * If the options.intersect is false, we find the nearest item and return the items in that dataset\n\t\t\t * @function Chart.Interaction.modes.dataset\n\t\t\t * @param chart {chart} the chart we are returning items from\n\t\t\t * @param e {Event} the event we are find things at\n\t\t\t * @param options {IInteractionOptions} options to use during interaction\n\t\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\n\t\t\t */\n\t\t\tdataset: function(chart, e, options) {\n\t\t\t\tvar position = getRelativePosition(e, chart);\n\t\t\t\tvar items = options.intersect ? getIntersectItems(chart, position) : getNearestItems(chart, position, false);\n\n\t\t\t\tif (items.length > 0) {\n\t\t\t\t\titems = chart.getDatasetMeta(items[0]._datasetIndex).data;\n\t\t\t\t}\n\n\t\t\t\treturn items;\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * @function Chart.Interaction.modes.x-axis\n\t\t\t * @deprecated since version 2.4.0. Use index mode and intersect == true\n\t\t\t * @todo remove at version 3\n\t\t\t * @private\n\t\t\t */\n\t\t\t'x-axis': function(chart, e) {\n\t\t\t\treturn indexMode(chart, e, true);\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * Point mode returns all elements that hit test based on the event position\n\t\t\t * of the event\n\t\t\t * @function Chart.Interaction.modes.intersect\n\t\t\t * @param chart {chart} the chart we are returning items from\n\t\t\t * @param e {Event} the event we are find things at\n\t\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\n\t\t\t */\n\t\t\tpoint: function(chart, e) {\n\t\t\t\tvar position = getRelativePosition(e, chart);\n\t\t\t\treturn getIntersectItems(chart, position);\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * nearest mode returns the element closest to the point\n\t\t\t * @function Chart.Interaction.modes.intersect\n\t\t\t * @param chart {chart} the chart we are returning items from\n\t\t\t * @param e {Event} the event we are find things at\n\t\t\t * @param options {IInteractionOptions} options to use\n\t\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\n\t\t\t */\n\t\t\tnearest: function(chart, e, options) {\n\t\t\t\tvar position = getRelativePosition(e, chart);\n\t\t\t\tvar nearestItems = getNearestItems(chart, position, options.intersect);\n\n\t\t\t\t// We have multiple items at the same distance from the event. Now sort by smallest\n\t\t\t\tif (nearestItems.length > 1) {\n\t\t\t\t\tnearestItems.sort(function(a, b) {\n\t\t\t\t\t\tvar sizeA = a.getArea();\n\t\t\t\t\t\tvar sizeB = b.getArea();\n\t\t\t\t\t\tvar ret = sizeA - sizeB;\n\n\t\t\t\t\t\tif (ret === 0) {\n\t\t\t\t\t\t\t// if equal sort by dataset index\n\t\t\t\t\t\t\tret = a._datasetIndex - b._datasetIndex;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn ret;\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t// Return only 1 item\n\t\t\t\treturn nearestItems.slice(0, 1);\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * x mode returns the elements that hit-test at the current x coordinate\n\t\t\t * @function Chart.Interaction.modes.x\n\t\t\t * @param chart {chart} the chart we are returning items from\n\t\t\t * @param e {Event} the event we are find things at\n\t\t\t * @param options {IInteractionOptions} options to use\n\t\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\n\t\t\t */\n\t\t\tx: function(chart, e, options) {\n\t\t\t\tvar position = getRelativePosition(e, chart);\n\t\t\t\tvar items = [];\n\t\t\t\tvar intersectsItem = false;\n\n\t\t\t\tparseVisibleItems(chart, function(element) {\n\t\t\t\t\tif (element.inXRange(position.x)) {\n\t\t\t\t\t\titems.push(element);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (element.inRange(position.x, position.y)) {\n\t\t\t\t\t\tintersectsItem = true;\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\t// If we want to trigger on an intersect and we don't have any items\n\t\t\t\t// that intersect the position, return nothing\n\t\t\t\tif (options.intersect && !intersectsItem) {\n\t\t\t\t\titems = [];\n\t\t\t\t}\n\t\t\t\treturn items;\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * y mode returns the elements that hit-test at the current y coordinate\n\t\t\t * @function Chart.Interaction.modes.y\n\t\t\t * @param chart {chart} the chart we are returning items from\n\t\t\t * @param e {Event} the event we are find things at\n\t\t\t * @param options {IInteractionOptions} options to use\n\t\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\n\t\t\t */\n\t\t\ty: function(chart, e, options) {\n\t\t\t\tvar position = getRelativePosition(e, chart);\n\t\t\t\tvar items = [];\n\t\t\t\tvar intersectsItem = false;\n\n\t\t\t\tparseVisibleItems(chart, function(element) {\n\t\t\t\t\tif (element.inYRange(position.y)) {\n\t\t\t\t\t\titems.push(element);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (element.inRange(position.x, position.y)) {\n\t\t\t\t\t\tintersectsItem = true;\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\t// If we want to trigger on an intersect and we don't have any items\n\t\t\t\t// that intersect the position, return nothing\n\t\t\t\tif (options.intersect && !intersectsItem) {\n\t\t\t\t\titems = [];\n\t\t\t\t}\n\t\t\t\treturn items;\n\t\t\t}\n\t\t}\n\t};\n};\n\n},{}],28:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function() {\n\n\t// Occupy the global variable of Chart, and create a simple base class\n\tvar Chart = function(item, config) {\n\t\tthis.construct(item, config);\n\t\treturn this;\n\t};\n\n\t// Globally expose the defaults to allow for user updating/changing\n\tChart.defaults = {\n\t\tglobal: {\n\t\t\tresponsive: true,\n\t\t\tresponsiveAnimationDuration: 0,\n\t\t\tmaintainAspectRatio: true,\n\t\t\tevents: ['mousemove', 'mouseout', 'click', 'touchstart', 'touchmove'],\n\t\t\thover: {\n\t\t\t\tonHover: null,\n\t\t\t\tmode: 'nearest',\n\t\t\t\tintersect: true,\n\t\t\t\tanimationDuration: 400\n\t\t\t},\n\t\t\tonClick: null,\n\t\t\tdefaultColor: 'rgba(0,0,0,0.1)',\n\t\t\tdefaultFontColor: '#666',\n\t\t\tdefaultFontFamily: \"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif\",\n\t\t\tdefaultFontSize: 12,\n\t\t\tdefaultFontStyle: 'normal',\n\t\t\tshowLines: true,\n\n\t\t\t// Element defaults defined in element extensions\n\t\t\telements: {},\n\n\t\t\t// Legend callback string\n\t\t\tlegendCallback: function(chart) {\n\t\t\t\tvar text = [];\n\t\t\t\ttext.push('<ul class=\"' + chart.id + '-legend\">');\n\t\t\t\tfor (var i = 0; i < chart.data.datasets.length; i++) {\n\t\t\t\t\ttext.push('<li><span style=\"background-color:' + chart.data.datasets[i].backgroundColor + '\"></span>');\n\t\t\t\t\tif (chart.data.datasets[i].label) {\n\t\t\t\t\t\ttext.push(chart.data.datasets[i].label);\n\t\t\t\t\t}\n\t\t\t\t\ttext.push('</li>');\n\t\t\t\t}\n\t\t\t\ttext.push('</ul>');\n\n\t\t\t\treturn text.join('');\n\t\t\t}\n\t\t}\n\t};\n\n\tChart.Chart = Chart;\n\n\treturn Chart;\n};\n\n},{}],29:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\n\tfunction filterByPosition(array, position) {\n\t\treturn helpers.where(array, function(v) {\n\t\t\treturn v.position === position;\n\t\t});\n\t}\n\n\tfunction sortByWeight(array, reverse) {\n\t\tarray.forEach(function(v, i) {\n\t\t\tv._tmpIndex_ = i;\n\t\t\treturn v;\n\t\t});\n\t\tarray.sort(function(a, b) {\n\t\t\tvar v0 = reverse ? b : a;\n\t\t\tvar v1 = reverse ? a : b;\n\t\t\treturn v0.weight === v1.weight ?\n\t\t\t\tv0._tmpIndex_ - v1._tmpIndex_ :\n\t\t\t\tv0.weight - v1.weight;\n\t\t});\n\t\tarray.forEach(function(v) {\n\t\t\tdelete v._tmpIndex_;\n\t\t});\n\t}\n\n\t/**\n\t * @interface ILayoutItem\n\t * @prop {String} position - The position of the item in the chart layout. Possible values are\n\t * 'left', 'top', 'right', 'bottom', and 'chartArea'\n\t * @prop {Number} weight - The weight used to sort the item. Higher weights are further away from the chart area\n\t * @prop {Boolean} fullWidth - if true, and the item is horizontal, then push vertical boxes down\n\t * @prop {Function} isHorizontal - returns true if the layout item is horizontal (ie. top or bottom)\n\t * @prop {Function} update - Takes two parameters: width and height. Returns size of item\n\t * @prop {Function} getPadding -  Returns an object with padding on the edges\n\t * @prop {Number} width - Width of item. Must be valid after update()\n\t * @prop {Number} height - Height of item. Must be valid after update()\n\t * @prop {Number} left - Left edge of the item. Set by layout system and cannot be used in update\n\t * @prop {Number} top - Top edge of the item. Set by layout system and cannot be used in update\n\t * @prop {Number} right - Right edge of the item. Set by layout system and cannot be used in update\n\t * @prop {Number} bottom - Bottom edge of the item. Set by layout system and cannot be used in update\n\t */\n\n\t// The layout service is very self explanatory.  It's responsible for the layout within a chart.\n\t// Scales, Legends and Plugins all rely on the layout service and can easily register to be placed anywhere they need\n\t// It is this service's responsibility of carrying out that layout.\n\tChart.layoutService = {\n\t\tdefaults: {},\n\n\t\t/**\n\t\t * Register a box to a chart.\n\t\t * A box is simply a reference to an object that requires layout. eg. Scales, Legend, Title.\n\t\t * @param {Chart} chart - the chart to use\n\t\t * @param {ILayoutItem} item - the item to add to be layed out\n\t\t */\n\t\taddBox: function(chart, item) {\n\t\t\tif (!chart.boxes) {\n\t\t\t\tchart.boxes = [];\n\t\t\t}\n\n\t\t\t// initialize item with default values\n\t\t\titem.fullWidth = item.fullWidth || false;\n\t\t\titem.position = item.position || 'top';\n\t\t\titem.weight = item.weight || 0;\n\n\t\t\tchart.boxes.push(item);\n\t\t},\n\n\t\t/**\n\t\t * Remove a layoutItem from a chart\n\t\t * @param {Chart} chart - the chart to remove the box from\n\t\t * @param {Object} layoutItem - the item to remove from the layout\n\t\t */\n\t\tremoveBox: function(chart, layoutItem) {\n\t\t\tvar index = chart.boxes? chart.boxes.indexOf(layoutItem) : -1;\n\t\t\tif (index !== -1) {\n\t\t\t\tchart.boxes.splice(index, 1);\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Sets (or updates) options on the given `item`.\n\t\t * @param {Chart} chart - the chart in which the item lives (or will be added to)\n\t\t * @param {Object} item - the item to configure with the given options\n\t\t * @param {Object} options - the new item options.\n\t\t */\n\t\tconfigure: function(chart, item, options) {\n\t\t\tvar props = ['fullWidth', 'position', 'weight'];\n\t\t\tvar ilen = props.length;\n\t\t\tvar i = 0;\n\t\t\tvar prop;\n\n\t\t\tfor (; i<ilen; ++i) {\n\t\t\t\tprop = props[i];\n\t\t\t\tif (options.hasOwnProperty(prop)) {\n\t\t\t\t\titem[prop] = options[prop];\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Fits boxes of the given chart into the given size by having each box measure itself\n\t\t * then running a fitting algorithm\n\t\t * @param {Chart} chart - the chart\n\t\t * @param {Number} width - the width to fit into\n\t\t * @param {Number} height - the height to fit into\n\t\t */\n\t\tupdate: function(chart, width, height) {\n\t\t\tif (!chart) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar layoutOptions = chart.options.layout;\n\t\t\tvar padding = layoutOptions ? layoutOptions.padding : null;\n\n\t\t\tvar leftPadding = 0;\n\t\t\tvar rightPadding = 0;\n\t\t\tvar topPadding = 0;\n\t\t\tvar bottomPadding = 0;\n\n\t\t\tif (!isNaN(padding)) {\n\t\t\t\t// options.layout.padding is a number. assign to all\n\t\t\t\tleftPadding = padding;\n\t\t\t\trightPadding = padding;\n\t\t\t\ttopPadding = padding;\n\t\t\t\tbottomPadding = padding;\n\t\t\t} else {\n\t\t\t\tleftPadding = padding.left || 0;\n\t\t\t\trightPadding = padding.right || 0;\n\t\t\t\ttopPadding = padding.top || 0;\n\t\t\t\tbottomPadding = padding.bottom || 0;\n\t\t\t}\n\n\t\t\tvar leftBoxes = filterByPosition(chart.boxes, 'left');\n\t\t\tvar rightBoxes = filterByPosition(chart.boxes, 'right');\n\t\t\tvar topBoxes = filterByPosition(chart.boxes, 'top');\n\t\t\tvar bottomBoxes = filterByPosition(chart.boxes, 'bottom');\n\t\t\tvar chartAreaBoxes = filterByPosition(chart.boxes, 'chartArea');\n\n\t\t\t// Sort boxes by weight. A higher weight is further away from the chart area\n\t\t\tsortByWeight(leftBoxes, true);\n\t\t\tsortByWeight(rightBoxes, false);\n\t\t\tsortByWeight(topBoxes, true);\n\t\t\tsortByWeight(bottomBoxes, false);\n\n\t\t\t// Essentially we now have any number of boxes on each of the 4 sides.\n\t\t\t// Our canvas looks like the following.\n\t\t\t// The areas L1 and L2 are the left axes. R1 is the right axis, T1 is the top axis and\n\t\t\t// B1 is the bottom axis\n\t\t\t// There are also 4 quadrant-like locations (left to right instead of clockwise) reserved for chart overlays\n\t\t\t// These locations are single-box locations only, when trying to register a chartArea location that is already taken,\n\t\t\t// an error will be thrown.\n\t\t\t//\n\t\t\t// |----------------------------------------------------|\n\t\t\t// |                  T1 (Full Width)                   |\n\t\t\t// |----------------------------------------------------|\n\t\t\t// |    |    |                 T2                  |    |\n\t\t\t// |    |----|-------------------------------------|----|\n\t\t\t// |    |    | C1 |                           | C2 |    |\n\t\t\t// |    |    |----|                           |----|    |\n\t\t\t// |    |    |                                     |    |\n\t\t\t// | L1 | L2 |           ChartArea (C0)            | R1 |\n\t\t\t// |    |    |                                     |    |\n\t\t\t// |    |    |----|                           |----|    |\n\t\t\t// |    |    | C3 |                           | C4 |    |\n\t\t\t// |    |----|-------------------------------------|----|\n\t\t\t// |    |    |                 B1                  |    |\n\t\t\t// |----------------------------------------------------|\n\t\t\t// |                  B2 (Full Width)                   |\n\t\t\t// |----------------------------------------------------|\n\t\t\t//\n\t\t\t// What we do to find the best sizing, we do the following\n\t\t\t// 1. Determine the minimum size of the chart area.\n\t\t\t// 2. Split the remaining width equally between each vertical axis\n\t\t\t// 3. Split the remaining height equally between each horizontal axis\n\t\t\t// 4. Give each layout the maximum size it can be. The layout will return it's minimum size\n\t\t\t// 5. Adjust the sizes of each axis based on it's minimum reported size.\n\t\t\t// 6. Refit each axis\n\t\t\t// 7. Position each axis in the final location\n\t\t\t// 8. Tell the chart the final location of the chart area\n\t\t\t// 9. Tell any axes that overlay the chart area the positions of the chart area\n\n\t\t\t// Step 1\n\t\t\tvar chartWidth = width - leftPadding - rightPadding;\n\t\t\tvar chartHeight = height - topPadding - bottomPadding;\n\t\t\tvar chartAreaWidth = chartWidth / 2; // min 50%\n\t\t\tvar chartAreaHeight = chartHeight / 2; // min 50%\n\n\t\t\t// Step 2\n\t\t\tvar verticalBoxWidth = (width - chartAreaWidth) / (leftBoxes.length + rightBoxes.length);\n\n\t\t\t// Step 3\n\t\t\tvar horizontalBoxHeight = (height - chartAreaHeight) / (topBoxes.length + bottomBoxes.length);\n\n\t\t\t// Step 4\n\t\t\tvar maxChartAreaWidth = chartWidth;\n\t\t\tvar maxChartAreaHeight = chartHeight;\n\t\t\tvar minBoxSizes = [];\n\n\t\t\tfunction getMinimumBoxSize(box) {\n\t\t\t\tvar minSize;\n\t\t\t\tvar isHorizontal = box.isHorizontal();\n\n\t\t\t\tif (isHorizontal) {\n\t\t\t\t\tminSize = box.update(box.fullWidth ? chartWidth : maxChartAreaWidth, horizontalBoxHeight);\n\t\t\t\t\tmaxChartAreaHeight -= minSize.height;\n\t\t\t\t} else {\n\t\t\t\t\tminSize = box.update(verticalBoxWidth, chartAreaHeight);\n\t\t\t\t\tmaxChartAreaWidth -= minSize.width;\n\t\t\t\t}\n\n\t\t\t\tminBoxSizes.push({\n\t\t\t\t\thorizontal: isHorizontal,\n\t\t\t\t\tminSize: minSize,\n\t\t\t\t\tbox: box,\n\t\t\t\t});\n\t\t\t}\n\n\t\t\thelpers.each(leftBoxes.concat(rightBoxes, topBoxes, bottomBoxes), getMinimumBoxSize);\n\n\t\t\t// If a horizontal box has padding, we move the left boxes over to avoid ugly charts (see issue #2478)\n\t\t\tvar maxHorizontalLeftPadding = 0;\n\t\t\tvar maxHorizontalRightPadding = 0;\n\t\t\tvar maxVerticalTopPadding = 0;\n\t\t\tvar maxVerticalBottomPadding = 0;\n\n\t\t\thelpers.each(topBoxes.concat(bottomBoxes), function(horizontalBox) {\n\t\t\t\tif (horizontalBox.getPadding) {\n\t\t\t\t\tvar boxPadding = horizontalBox.getPadding();\n\t\t\t\t\tmaxHorizontalLeftPadding = Math.max(maxHorizontalLeftPadding, boxPadding.left);\n\t\t\t\t\tmaxHorizontalRightPadding = Math.max(maxHorizontalRightPadding, boxPadding.right);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\thelpers.each(leftBoxes.concat(rightBoxes), function(verticalBox) {\n\t\t\t\tif (verticalBox.getPadding) {\n\t\t\t\t\tvar boxPadding = verticalBox.getPadding();\n\t\t\t\t\tmaxVerticalTopPadding = Math.max(maxVerticalTopPadding, boxPadding.top);\n\t\t\t\t\tmaxVerticalBottomPadding = Math.max(maxVerticalBottomPadding, boxPadding.bottom);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t// At this point, maxChartAreaHeight and maxChartAreaWidth are the size the chart area could\n\t\t\t// be if the axes are drawn at their minimum sizes.\n\t\t\t// Steps 5 & 6\n\t\t\tvar totalLeftBoxesWidth = leftPadding;\n\t\t\tvar totalRightBoxesWidth = rightPadding;\n\t\t\tvar totalTopBoxesHeight = topPadding;\n\t\t\tvar totalBottomBoxesHeight = bottomPadding;\n\n\t\t\t// Function to fit a box\n\t\t\tfunction fitBox(box) {\n\t\t\t\tvar minBoxSize = helpers.findNextWhere(minBoxSizes, function(minBox) {\n\t\t\t\t\treturn minBox.box === box;\n\t\t\t\t});\n\n\t\t\t\tif (minBoxSize) {\n\t\t\t\t\tif (box.isHorizontal()) {\n\t\t\t\t\t\tvar scaleMargin = {\n\t\t\t\t\t\t\tleft: Math.max(totalLeftBoxesWidth, maxHorizontalLeftPadding),\n\t\t\t\t\t\t\tright: Math.max(totalRightBoxesWidth, maxHorizontalRightPadding),\n\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\tbottom: 0\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\t// Don't use min size here because of label rotation. When the labels are rotated, their rotation highly depends\n\t\t\t\t\t\t// on the margin. Sometimes they need to increase in size slightly\n\t\t\t\t\t\tbox.update(box.fullWidth ? chartWidth : maxChartAreaWidth, chartHeight / 2, scaleMargin);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbox.update(minBoxSize.minSize.width, maxChartAreaHeight);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Update, and calculate the left and right margins for the horizontal boxes\n\t\t\thelpers.each(leftBoxes.concat(rightBoxes), fitBox);\n\n\t\t\thelpers.each(leftBoxes, function(box) {\n\t\t\t\ttotalLeftBoxesWidth += box.width;\n\t\t\t});\n\n\t\t\thelpers.each(rightBoxes, function(box) {\n\t\t\t\ttotalRightBoxesWidth += box.width;\n\t\t\t});\n\n\t\t\t// Set the Left and Right margins for the horizontal boxes\n\t\t\thelpers.each(topBoxes.concat(bottomBoxes), fitBox);\n\n\t\t\t// Figure out how much margin is on the top and bottom of the vertical boxes\n\t\t\thelpers.each(topBoxes, function(box) {\n\t\t\t\ttotalTopBoxesHeight += box.height;\n\t\t\t});\n\n\t\t\thelpers.each(bottomBoxes, function(box) {\n\t\t\t\ttotalBottomBoxesHeight += box.height;\n\t\t\t});\n\n\t\t\tfunction finalFitVerticalBox(box) {\n\t\t\t\tvar minBoxSize = helpers.findNextWhere(minBoxSizes, function(minSize) {\n\t\t\t\t\treturn minSize.box === box;\n\t\t\t\t});\n\n\t\t\t\tvar scaleMargin = {\n\t\t\t\t\tleft: 0,\n\t\t\t\t\tright: 0,\n\t\t\t\t\ttop: totalTopBoxesHeight,\n\t\t\t\t\tbottom: totalBottomBoxesHeight\n\t\t\t\t};\n\n\t\t\t\tif (minBoxSize) {\n\t\t\t\t\tbox.update(minBoxSize.minSize.width, maxChartAreaHeight, scaleMargin);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Let the left layout know the final margin\n\t\t\thelpers.each(leftBoxes.concat(rightBoxes), finalFitVerticalBox);\n\n\t\t\t// Recalculate because the size of each layout might have changed slightly due to the margins (label rotation for instance)\n\t\t\ttotalLeftBoxesWidth = leftPadding;\n\t\t\ttotalRightBoxesWidth = rightPadding;\n\t\t\ttotalTopBoxesHeight = topPadding;\n\t\t\ttotalBottomBoxesHeight = bottomPadding;\n\n\t\t\thelpers.each(leftBoxes, function(box) {\n\t\t\t\ttotalLeftBoxesWidth += box.width;\n\t\t\t});\n\n\t\t\thelpers.each(rightBoxes, function(box) {\n\t\t\t\ttotalRightBoxesWidth += box.width;\n\t\t\t});\n\n\t\t\thelpers.each(topBoxes, function(box) {\n\t\t\t\ttotalTopBoxesHeight += box.height;\n\t\t\t});\n\t\t\thelpers.each(bottomBoxes, function(box) {\n\t\t\t\ttotalBottomBoxesHeight += box.height;\n\t\t\t});\n\n\t\t\t// We may be adding some padding to account for rotated x axis labels\n\t\t\tvar leftPaddingAddition = Math.max(maxHorizontalLeftPadding - totalLeftBoxesWidth, 0);\n\t\t\ttotalLeftBoxesWidth += leftPaddingAddition;\n\t\t\ttotalRightBoxesWidth += Math.max(maxHorizontalRightPadding - totalRightBoxesWidth, 0);\n\n\t\t\tvar topPaddingAddition = Math.max(maxVerticalTopPadding - totalTopBoxesHeight, 0);\n\t\t\ttotalTopBoxesHeight += topPaddingAddition;\n\t\t\ttotalBottomBoxesHeight += Math.max(maxVerticalBottomPadding - totalBottomBoxesHeight, 0);\n\n\t\t\t// Figure out if our chart area changed. This would occur if the dataset layout label rotation\n\t\t\t// changed due to the application of the margins in step 6. Since we can only get bigger, this is safe to do\n\t\t\t// without calling `fit` again\n\t\t\tvar newMaxChartAreaHeight = height - totalTopBoxesHeight - totalBottomBoxesHeight;\n\t\t\tvar newMaxChartAreaWidth = width - totalLeftBoxesWidth - totalRightBoxesWidth;\n\n\t\t\tif (newMaxChartAreaWidth !== maxChartAreaWidth || newMaxChartAreaHeight !== maxChartAreaHeight) {\n\t\t\t\thelpers.each(leftBoxes, function(box) {\n\t\t\t\t\tbox.height = newMaxChartAreaHeight;\n\t\t\t\t});\n\n\t\t\t\thelpers.each(rightBoxes, function(box) {\n\t\t\t\t\tbox.height = newMaxChartAreaHeight;\n\t\t\t\t});\n\n\t\t\t\thelpers.each(topBoxes, function(box) {\n\t\t\t\t\tif (!box.fullWidth) {\n\t\t\t\t\t\tbox.width = newMaxChartAreaWidth;\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\thelpers.each(bottomBoxes, function(box) {\n\t\t\t\t\tif (!box.fullWidth) {\n\t\t\t\t\t\tbox.width = newMaxChartAreaWidth;\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\tmaxChartAreaHeight = newMaxChartAreaHeight;\n\t\t\t\tmaxChartAreaWidth = newMaxChartAreaWidth;\n\t\t\t}\n\n\t\t\t// Step 7 - Position the boxes\n\t\t\tvar left = leftPadding + leftPaddingAddition;\n\t\t\tvar top = topPadding + topPaddingAddition;\n\n\t\t\tfunction placeBox(box) {\n\t\t\t\tif (box.isHorizontal()) {\n\t\t\t\t\tbox.left = box.fullWidth ? leftPadding : totalLeftBoxesWidth;\n\t\t\t\t\tbox.right = box.fullWidth ? width - rightPadding : totalLeftBoxesWidth + maxChartAreaWidth;\n\t\t\t\t\tbox.top = top;\n\t\t\t\t\tbox.bottom = top + box.height;\n\n\t\t\t\t\t// Move to next point\n\t\t\t\t\ttop = box.bottom;\n\n\t\t\t\t} else {\n\n\t\t\t\t\tbox.left = left;\n\t\t\t\t\tbox.right = left + box.width;\n\t\t\t\t\tbox.top = totalTopBoxesHeight;\n\t\t\t\t\tbox.bottom = totalTopBoxesHeight + maxChartAreaHeight;\n\n\t\t\t\t\t// Move to next point\n\t\t\t\t\tleft = box.right;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\thelpers.each(leftBoxes.concat(topBoxes), placeBox);\n\n\t\t\t// Account for chart width and height\n\t\t\tleft += maxChartAreaWidth;\n\t\t\ttop += maxChartAreaHeight;\n\n\t\t\thelpers.each(rightBoxes, placeBox);\n\t\t\thelpers.each(bottomBoxes, placeBox);\n\n\t\t\t// Step 8\n\t\t\tchart.chartArea = {\n\t\t\t\tleft: totalLeftBoxesWidth,\n\t\t\t\ttop: totalTopBoxesHeight,\n\t\t\t\tright: totalLeftBoxesWidth + maxChartAreaWidth,\n\t\t\t\tbottom: totalTopBoxesHeight + maxChartAreaHeight\n\t\t\t};\n\n\t\t\t// Step 9\n\t\t\thelpers.each(chartAreaBoxes, function(box) {\n\t\t\t\tbox.left = chart.chartArea.left;\n\t\t\t\tbox.top = chart.chartArea.top;\n\t\t\t\tbox.right = chart.chartArea.right;\n\t\t\t\tbox.bottom = chart.chartArea.bottom;\n\n\t\t\t\tbox.update(maxChartAreaWidth, maxChartAreaHeight);\n\t\t\t});\n\t\t}\n\t};\n};\n\n},{}],30:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\n\tChart.defaults.global.plugins = {};\n\n\t/**\n\t * The plugin service singleton\n\t * @namespace Chart.plugins\n\t * @since 2.1.0\n\t */\n\tChart.plugins = {\n\t\t/**\n\t\t * Globally registered plugins.\n\t\t * @private\n\t\t */\n\t\t_plugins: [],\n\n\t\t/**\n\t\t * This identifier is used to invalidate the descriptors cache attached to each chart\n\t\t * when a global plugin is registered or unregistered. In this case, the cache ID is\n\t\t * incremented and descriptors are regenerated during following API calls.\n\t\t * @private\n\t\t */\n\t\t_cacheId: 0,\n\n\t\t/**\n\t\t * Registers the given plugin(s) if not already registered.\n\t\t * @param {Array|Object} plugins plugin instance(s).\n\t\t */\n\t\tregister: function(plugins) {\n\t\t\tvar p = this._plugins;\n\t\t\t([]).concat(plugins).forEach(function(plugin) {\n\t\t\t\tif (p.indexOf(plugin) === -1) {\n\t\t\t\t\tp.push(plugin);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tthis._cacheId++;\n\t\t},\n\n\t\t/**\n\t\t * Unregisters the given plugin(s) only if registered.\n\t\t * @param {Array|Object} plugins plugin instance(s).\n\t\t */\n\t\tunregister: function(plugins) {\n\t\t\tvar p = this._plugins;\n\t\t\t([]).concat(plugins).forEach(function(plugin) {\n\t\t\t\tvar idx = p.indexOf(plugin);\n\t\t\t\tif (idx !== -1) {\n\t\t\t\t\tp.splice(idx, 1);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tthis._cacheId++;\n\t\t},\n\n\t\t/**\n\t\t * Remove all registered plugins.\n\t\t * @since 2.1.5\n\t\t */\n\t\tclear: function() {\n\t\t\tthis._plugins = [];\n\t\t\tthis._cacheId++;\n\t\t},\n\n\t\t/**\n\t\t * Returns the number of registered plugins?\n\t\t * @returns {Number}\n\t\t * @since 2.1.5\n\t\t */\n\t\tcount: function() {\n\t\t\treturn this._plugins.length;\n\t\t},\n\n\t\t/**\n\t\t * Returns all registered plugin instances.\n\t\t * @returns {Array} array of plugin objects.\n\t\t * @since 2.1.5\n\t\t */\n\t\tgetAll: function() {\n\t\t\treturn this._plugins;\n\t\t},\n\n\t\t/**\n\t\t * Calls enabled plugins for `chart` on the specified hook and with the given args.\n\t\t * This method immediately returns as soon as a plugin explicitly returns false. The\n\t\t * returned value can be used, for instance, to interrupt the current action.\n\t\t * @param {Object} chart - The chart instance for which plugins should be called.\n\t\t * @param {String} hook - The name of the plugin method to call (e.g. 'beforeUpdate').\n\t\t * @param {Array} [args] - Extra arguments to apply to the hook call.\n\t\t * @returns {Boolean} false if any of the plugins return false, else returns true.\n\t\t */\n\t\tnotify: function(chart, hook, args) {\n\t\t\tvar descriptors = this.descriptors(chart);\n\t\t\tvar ilen = descriptors.length;\n\t\t\tvar i, descriptor, plugin, params, method;\n\n\t\t\tfor (i=0; i<ilen; ++i) {\n\t\t\t\tdescriptor = descriptors[i];\n\t\t\t\tplugin = descriptor.plugin;\n\t\t\t\tmethod = plugin[hook];\n\t\t\t\tif (typeof method === 'function') {\n\t\t\t\t\tparams = [chart].concat(args || []);\n\t\t\t\t\tparams.push(descriptor.options);\n\t\t\t\t\tif (method.apply(plugin, params) === false) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn true;\n\t\t},\n\n\t\t/**\n\t\t * Returns descriptors of enabled plugins for the given chart.\n\t\t * @returns {Array} [{ plugin, options }]\n\t\t * @private\n\t\t */\n\t\tdescriptors: function(chart) {\n\t\t\tvar cache = chart._plugins || (chart._plugins = {});\n\t\t\tif (cache.id === this._cacheId) {\n\t\t\t\treturn cache.descriptors;\n\t\t\t}\n\n\t\t\tvar plugins = [];\n\t\t\tvar descriptors = [];\n\t\t\tvar config = (chart && chart.config) || {};\n\t\t\tvar defaults = Chart.defaults.global.plugins;\n\t\t\tvar options = (config.options && config.options.plugins) || {};\n\n\t\t\tthis._plugins.concat(config.plugins || []).forEach(function(plugin) {\n\t\t\t\tvar idx = plugins.indexOf(plugin);\n\t\t\t\tif (idx !== -1) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tvar id = plugin.id;\n\t\t\t\tvar opts = options[id];\n\t\t\t\tif (opts === false) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (opts === true) {\n\t\t\t\t\topts = helpers.clone(defaults[id]);\n\t\t\t\t}\n\n\t\t\t\tplugins.push(plugin);\n\t\t\t\tdescriptors.push({\n\t\t\t\t\tplugin: plugin,\n\t\t\t\t\toptions: opts || {}\n\t\t\t\t});\n\t\t\t});\n\n\t\t\tcache.descriptors = descriptors;\n\t\t\tcache.id = this._cacheId;\n\t\t\treturn descriptors;\n\t\t}\n\t};\n\n\t/**\n\t * Plugin extension hooks.\n\t * @interface IPlugin\n\t * @since 2.1.0\n\t */\n\t/**\n\t * @method IPlugin#beforeInit\n\t * @desc Called before initializing `chart`.\n\t * @param {Chart.Controller} chart - The chart instance.\n\t * @param {Object} options - The plugin options.\n\t */\n\t/**\n\t * @method IPlugin#afterInit\n\t * @desc Called after `chart` has been initialized and before the first update.\n\t * @param {Chart.Controller} chart - The chart instance.\n\t * @param {Object} options - The plugin options.\n\t */\n\t/**\n\t * @method IPlugin#beforeUpdate\n\t * @desc Called before updating `chart`. If any plugin returns `false`, the update\n\t * is cancelled (and thus subsequent render(s)) until another `update` is triggered.\n\t * @param {Chart.Controller} chart - The chart instance.\n\t * @param {Object} options - The plugin options.\n\t * @returns {Boolean} `false` to cancel the chart update.\n\t */\n\t/**\n\t * @method IPlugin#afterUpdate\n\t * @desc Called after `chart` has been updated and before rendering. Note that this\n\t * hook will not be called if the chart update has been previously cancelled.\n\t * @param {Chart.Controller} chart - The chart instance.\n\t * @param {Object} options - The plugin options.\n\t */\n\t/**\n\t * @method IPlugin#beforeDatasetsUpdate\n \t * @desc Called before updating the `chart` datasets. If any plugin returns `false`,\n\t * the datasets update is cancelled until another `update` is triggered.\n\t * @param {Chart.Controller} chart - The chart instance.\n\t * @param {Object} options - The plugin options.\n\t * @returns {Boolean} false to cancel the datasets update.\n\t * @since version 2.1.5\n\t */\n\t/**\n\t * @method IPlugin#afterDatasetsUpdate\n\t * @desc Called after the `chart` datasets have been updated. Note that this hook\n\t * will not be called if the datasets update has been previously cancelled.\n\t * @param {Chart.Controller} chart - The chart instance.\n\t * @param {Object} options - The plugin options.\n\t * @since version 2.1.5\n\t */\n\t/**\n\t * @method IPlugin#beforeDatasetUpdate\n \t * @desc Called before updating the `chart` dataset at the given `args.index`. If any plugin\n\t * returns `false`, the datasets update is cancelled until another `update` is triggered.\n\t * @param {Chart} chart - The chart instance.\n\t * @param {Object} args - The call arguments.\n\t * @param {Object} args.index - The dataset index.\n\t * @param {Number} args.meta - The dataset metadata.\n\t * @param {Object} options - The plugin options.\n\t * @returns {Boolean} `false` to cancel the chart datasets drawing.\n\t */\n\t/**\n\t * @method IPlugin#afterDatasetUpdate\n \t * @desc Called after the `chart` datasets at the given `args.index` has been updated. Note\n\t * that this hook will not be called if the datasets update has been previously cancelled.\n\t * @param {Chart} chart - The chart instance.\n\t * @param {Object} args - The call arguments.\n\t * @param {Object} args.index - The dataset index.\n\t * @param {Number} args.meta - The dataset metadata.\n\t * @param {Object} options - The plugin options.\n\t */\n\t/**\n\t * @method IPlugin#beforeLayout\n\t * @desc Called before laying out `chart`. If any plugin returns `false`,\n\t * the layout update is cancelled until another `update` is triggered.\n\t * @param {Chart.Controller} chart - The chart instance.\n\t * @param {Object} options - The plugin options.\n\t * @returns {Boolean} `false` to cancel the chart layout.\n\t */\n\t/**\n\t * @method IPlugin#afterLayout\n\t * @desc Called after the `chart` has been layed out. Note that this hook will not\n\t * be called if the layout update has been previously cancelled.\n\t * @param {Chart.Controller} chart - The chart instance.\n\t * @param {Object} options - The plugin options.\n\t */\n\t/**\n\t * @method IPlugin#beforeRender\n\t * @desc Called before rendering `chart`. If any plugin returns `false`,\n\t * the rendering is cancelled until another `render` is triggered.\n\t * @param {Chart.Controller} chart - The chart instance.\n\t * @param {Object} options - The plugin options.\n\t * @returns {Boolean} `false` to cancel the chart rendering.\n\t */\n\t/**\n\t * @method IPlugin#afterRender\n\t * @desc Called after the `chart` has been fully rendered (and animation completed). Note\n\t * that this hook will not be called if the rendering has been previously cancelled.\n\t * @param {Chart.Controller} chart - The chart instance.\n\t * @param {Object} options - The plugin options.\n\t */\n\t/**\n\t * @method IPlugin#beforeDraw\n\t * @desc Called before drawing `chart` at every animation frame specified by the given\n\t * easing value. If any plugin returns `false`, the frame drawing is cancelled until\n\t * another `render` is triggered.\n\t * @param {Chart.Controller} chart - The chart instance.\n\t * @param {Number} easingValue - The current animation value, between 0.0 and 1.0.\n\t * @param {Object} options - The plugin options.\n\t * @returns {Boolean} `false` to cancel the chart drawing.\n\t */\n\t/**\n\t * @method IPlugin#afterDraw\n\t * @desc Called after the `chart` has been drawn for the specific easing value. Note\n\t * that this hook will not be called if the drawing has been previously cancelled.\n\t * @param {Chart.Controller} chart - The chart instance.\n\t * @param {Number} easingValue - The current animation value, between 0.0 and 1.0.\n\t * @param {Object} options - The plugin options.\n\t */\n\t/**\n\t * @method IPlugin#beforeDatasetsDraw\n \t * @desc Called before drawing the `chart` datasets. If any plugin returns `false`,\n\t * the datasets drawing is cancelled until another `render` is triggered.\n\t * @param {Chart.Controller} chart - The chart instance.\n\t * @param {Number} easingValue - The current animation value, between 0.0 and 1.0.\n\t * @param {Object} options - The plugin options.\n\t * @returns {Boolean} `false` to cancel the chart datasets drawing.\n\t */\n\t/**\n\t * @method IPlugin#afterDatasetsDraw\n\t * @desc Called after the `chart` datasets have been drawn. Note that this hook\n\t * will not be called if the datasets drawing has been previously cancelled.\n\t * @param {Chart.Controller} chart - The chart instance.\n\t * @param {Number} easingValue - The current animation value, between 0.0 and 1.0.\n\t * @param {Object} options - The plugin options.\n\t */\n\t/**\n\t * @method IPlugin#beforeDatasetDraw\n \t * @desc Called before drawing the `chart` dataset at the given `args.index` (datasets\n\t * are drawn in the reverse order). If any plugin returns `false`, the datasets drawing\n\t * is cancelled until another `render` is triggered.\n\t * @param {Chart} chart - The chart instance.\n\t * @param {Object} args - The call arguments.\n\t * @param {Object} args.index - The dataset index.\n\t * @param {Number} args.meta - The dataset metadata.\n\t * @param {Number} args.easingValue - The current animation value, between 0.0 and 1.0.\n\t * @param {Object} options - The plugin options.\n\t * @returns {Boolean} `false` to cancel the chart datasets drawing.\n\t */\n\t/**\n\t * @method IPlugin#afterDatasetDraw\n \t * @desc Called after the `chart` datasets at the given `args.index` have been drawn\n\t * (datasets are drawn in the reverse order). Note that this hook will not be called\n\t * if the datasets drawing has been previously cancelled.\n\t * @param {Chart} chart - The chart instance.\n\t * @param {Object} args - The call arguments.\n\t * @param {Object} args.index - The dataset index.\n\t * @param {Number} args.meta - The dataset metadata.\n\t * @param {Number} args.easingValue - The current animation value, between 0.0 and 1.0.\n\t * @param {Object} options - The plugin options.\n\t */\n\t/**\n\t * @method IPlugin#beforeEvent\n \t * @desc Called before processing the specified `event`. If any plugin returns `false`,\n\t * the event will be discarded.\n\t * @param {Chart.Controller} chart - The chart instance.\n\t * @param {IEvent} event - The event object.\n\t * @param {Object} options - The plugin options.\n\t */\n\t/**\n\t * @method IPlugin#afterEvent\n\t * @desc Called after the `event` has been consumed. Note that this hook\n\t * will not be called if the `event` has been previously discarded.\n\t * @param {Chart.Controller} chart - The chart instance.\n\t * @param {IEvent} event - The event object.\n\t * @param {Object} options - The plugin options.\n\t */\n\t/**\n\t * @method IPlugin#resize\n\t * @desc Called after the chart as been resized.\n\t * @param {Chart.Controller} chart - The chart instance.\n\t * @param {Number} size - The new canvas display size (eq. canvas.style width & height).\n\t * @param {Object} options - The plugin options.\n\t */\n\t/**\n\t * @method IPlugin#destroy\n\t * @desc Called after the chart as been destroyed.\n\t * @param {Chart.Controller} chart - The chart instance.\n\t * @param {Object} options - The plugin options.\n\t */\n\n\t/**\n\t * Provided for backward compatibility, use Chart.plugins instead\n\t * @namespace Chart.pluginService\n\t * @deprecated since version 2.1.5\n\t * @todo remove at version 3\n\t * @private\n\t */\n\tChart.pluginService = Chart.plugins;\n\n\t/**\n\t * Provided for backward compatibility, inheriting from Chart.PlugingBase has no\n\t * effect, instead simply create/register plugins via plain JavaScript objects.\n\t * @interface Chart.PluginBase\n\t * @deprecated since version 2.5.0\n\t * @todo remove at version 3\n\t * @private\n\t */\n\tChart.PluginBase = Chart.Element.extend({});\n};\n\n},{}],31:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\n\tChart.defaults.scale = {\n\t\tdisplay: true,\n\t\tposition: 'left',\n\n\t\t// grid line settings\n\t\tgridLines: {\n\t\t\tdisplay: true,\n\t\t\tcolor: 'rgba(0, 0, 0, 0.1)',\n\t\t\tlineWidth: 1,\n\t\t\tdrawBorder: true,\n\t\t\tdrawOnChartArea: true,\n\t\t\tdrawTicks: true,\n\t\t\ttickMarkLength: 10,\n\t\t\tzeroLineWidth: 1,\n\t\t\tzeroLineColor: 'rgba(0,0,0,0.25)',\n\t\t\tzeroLineBorderDash: [],\n\t\t\tzeroLineBorderDashOffset: 0.0,\n\t\t\toffsetGridLines: false,\n\t\t\tborderDash: [],\n\t\t\tborderDashOffset: 0.0\n\t\t},\n\n\t\t// scale label\n\t\tscaleLabel: {\n\t\t\t// actual label\n\t\t\tlabelString: '',\n\n\t\t\t// display property\n\t\t\tdisplay: false\n\t\t},\n\n\t\t// label settings\n\t\tticks: {\n\t\t\tbeginAtZero: false,\n\t\t\tminRotation: 0,\n\t\t\tmaxRotation: 50,\n\t\t\tmirror: false,\n\t\t\tpadding: 0,\n\t\t\treverse: false,\n\t\t\tdisplay: true,\n\t\t\tautoSkip: true,\n\t\t\tautoSkipPadding: 0,\n\t\t\tlabelOffset: 0,\n\t\t\t// We pass through arrays to be rendered as multiline labels, we convert Others to strings here.\n\t\t\tcallback: Chart.Ticks.formatters.values\n\t\t}\n\t};\n\n\tfunction computeTextSize(context, tick, font) {\n\t\treturn helpers.isArray(tick) ?\n\t\t\thelpers.longestText(context, font, tick) :\n\t\t\tcontext.measureText(tick).width;\n\t}\n\n\tfunction parseFontOptions(options) {\n\t\tvar getValueOrDefault = helpers.getValueOrDefault;\n\t\tvar globalDefaults = Chart.defaults.global;\n\t\tvar size = getValueOrDefault(options.fontSize, globalDefaults.defaultFontSize);\n\t\tvar style = getValueOrDefault(options.fontStyle, globalDefaults.defaultFontStyle);\n\t\tvar family = getValueOrDefault(options.fontFamily, globalDefaults.defaultFontFamily);\n\n\t\treturn {\n\t\t\tsize: size,\n\t\t\tstyle: style,\n\t\t\tfamily: family,\n\t\t\tfont: helpers.fontString(size, style, family)\n\t\t};\n\t}\n\n\tChart.Scale = Chart.Element.extend({\n\t\t/**\n\t\t * Get the padding needed for the scale\n\t\t * @method getPadding\n\t\t * @private\n\t\t * @returns {Padding} the necessary padding\n\t\t */\n\t\tgetPadding: function() {\n\t\t\tvar me = this;\n\t\t\treturn {\n\t\t\t\tleft: me.paddingLeft || 0,\n\t\t\t\ttop: me.paddingTop || 0,\n\t\t\t\tright: me.paddingRight || 0,\n\t\t\t\tbottom: me.paddingBottom || 0\n\t\t\t};\n\t\t},\n\n\t\t// These methods are ordered by lifecyle. Utilities then follow.\n\t\t// Any function defined here is inherited by all scale types.\n\t\t// Any function can be extended by the scale type\n\n\t\tbeforeUpdate: function() {\n\t\t\thelpers.callback(this.options.beforeUpdate, [this]);\n\t\t},\n\t\tupdate: function(maxWidth, maxHeight, margins) {\n\t\t\tvar me = this;\n\n\t\t\t// Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)\n\t\t\tme.beforeUpdate();\n\n\t\t\t// Absorb the master measurements\n\t\t\tme.maxWidth = maxWidth;\n\t\t\tme.maxHeight = maxHeight;\n\t\t\tme.margins = helpers.extend({\n\t\t\t\tleft: 0,\n\t\t\t\tright: 0,\n\t\t\t\ttop: 0,\n\t\t\t\tbottom: 0\n\t\t\t}, margins);\n\t\t\tme.longestTextCache = me.longestTextCache || {};\n\n\t\t\t// Dimensions\n\t\t\tme.beforeSetDimensions();\n\t\t\tme.setDimensions();\n\t\t\tme.afterSetDimensions();\n\n\t\t\t// Data min/max\n\t\t\tme.beforeDataLimits();\n\t\t\tme.determineDataLimits();\n\t\t\tme.afterDataLimits();\n\n\t\t\t// Ticks\n\t\t\tme.beforeBuildTicks();\n\t\t\tme.buildTicks();\n\t\t\tme.afterBuildTicks();\n\n\t\t\tme.beforeTickToLabelConversion();\n\t\t\tme.convertTicksToLabels();\n\t\t\tme.afterTickToLabelConversion();\n\n\t\t\t// Tick Rotation\n\t\t\tme.beforeCalculateTickRotation();\n\t\t\tme.calculateTickRotation();\n\t\t\tme.afterCalculateTickRotation();\n\t\t\t// Fit\n\t\t\tme.beforeFit();\n\t\t\tme.fit();\n\t\t\tme.afterFit();\n\t\t\t//\n\t\t\tme.afterUpdate();\n\n\t\t\treturn me.minSize;\n\n\t\t},\n\t\tafterUpdate: function() {\n\t\t\thelpers.callback(this.options.afterUpdate, [this]);\n\t\t},\n\n\t\t//\n\n\t\tbeforeSetDimensions: function() {\n\t\t\thelpers.callback(this.options.beforeSetDimensions, [this]);\n\t\t},\n\t\tsetDimensions: function() {\n\t\t\tvar me = this;\n\t\t\t// Set the unconstrained dimension before label rotation\n\t\t\tif (me.isHorizontal()) {\n\t\t\t\t// Reset position before calculating rotation\n\t\t\t\tme.width = me.maxWidth;\n\t\t\t\tme.left = 0;\n\t\t\t\tme.right = me.width;\n\t\t\t} else {\n\t\t\t\tme.height = me.maxHeight;\n\n\t\t\t\t// Reset position before calculating rotation\n\t\t\t\tme.top = 0;\n\t\t\t\tme.bottom = me.height;\n\t\t\t}\n\n\t\t\t// Reset padding\n\t\t\tme.paddingLeft = 0;\n\t\t\tme.paddingTop = 0;\n\t\t\tme.paddingRight = 0;\n\t\t\tme.paddingBottom = 0;\n\t\t},\n\t\tafterSetDimensions: function() {\n\t\t\thelpers.callback(this.options.afterSetDimensions, [this]);\n\t\t},\n\n\t\t// Data limits\n\t\tbeforeDataLimits: function() {\n\t\t\thelpers.callback(this.options.beforeDataLimits, [this]);\n\t\t},\n\t\tdetermineDataLimits: helpers.noop,\n\t\tafterDataLimits: function() {\n\t\t\thelpers.callback(this.options.afterDataLimits, [this]);\n\t\t},\n\n\t\t//\n\t\tbeforeBuildTicks: function() {\n\t\t\thelpers.callback(this.options.beforeBuildTicks, [this]);\n\t\t},\n\t\tbuildTicks: helpers.noop,\n\t\tafterBuildTicks: function() {\n\t\t\thelpers.callback(this.options.afterBuildTicks, [this]);\n\t\t},\n\n\t\tbeforeTickToLabelConversion: function() {\n\t\t\thelpers.callback(this.options.beforeTickToLabelConversion, [this]);\n\t\t},\n\t\tconvertTicksToLabels: function() {\n\t\t\tvar me = this;\n\t\t\t// Convert ticks to strings\n\t\t\tvar tickOpts = me.options.ticks;\n\t\t\tme.ticks = me.ticks.map(tickOpts.userCallback || tickOpts.callback);\n\t\t},\n\t\tafterTickToLabelConversion: function() {\n\t\t\thelpers.callback(this.options.afterTickToLabelConversion, [this]);\n\t\t},\n\n\t\t//\n\n\t\tbeforeCalculateTickRotation: function() {\n\t\t\thelpers.callback(this.options.beforeCalculateTickRotation, [this]);\n\t\t},\n\t\tcalculateTickRotation: function() {\n\t\t\tvar me = this;\n\t\t\tvar context = me.ctx;\n\t\t\tvar tickOpts = me.options.ticks;\n\n\t\t\t// Get the width of each grid by calculating the difference\n\t\t\t// between x offsets between 0 and 1.\n\t\t\tvar tickFont = parseFontOptions(tickOpts);\n\t\t\tcontext.font = tickFont.font;\n\n\t\t\tvar labelRotation = tickOpts.minRotation || 0;\n\n\t\t\tif (me.options.display && me.isHorizontal()) {\n\t\t\t\tvar originalLabelWidth = helpers.longestText(context, tickFont.font, me.ticks, me.longestTextCache);\n\t\t\t\tvar labelWidth = originalLabelWidth;\n\t\t\t\tvar cosRotation;\n\t\t\t\tvar sinRotation;\n\n\t\t\t\t// Allow 3 pixels x2 padding either side for label readability\n\t\t\t\tvar tickWidth = me.getPixelForTick(1) - me.getPixelForTick(0) - 6;\n\n\t\t\t\t// Max label rotation can be set or default to 90 - also act as a loop counter\n\t\t\t\twhile (labelWidth > tickWidth && labelRotation < tickOpts.maxRotation) {\n\t\t\t\t\tvar angleRadians = helpers.toRadians(labelRotation);\n\t\t\t\t\tcosRotation = Math.cos(angleRadians);\n\t\t\t\t\tsinRotation = Math.sin(angleRadians);\n\n\t\t\t\t\tif (sinRotation * originalLabelWidth > me.maxHeight) {\n\t\t\t\t\t\t// go back one step\n\t\t\t\t\t\tlabelRotation--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tlabelRotation++;\n\t\t\t\t\tlabelWidth = cosRotation * originalLabelWidth;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tme.labelRotation = labelRotation;\n\t\t},\n\t\tafterCalculateTickRotation: function() {\n\t\t\thelpers.callback(this.options.afterCalculateTickRotation, [this]);\n\t\t},\n\n\t\t//\n\n\t\tbeforeFit: function() {\n\t\t\thelpers.callback(this.options.beforeFit, [this]);\n\t\t},\n\t\tfit: function() {\n\t\t\tvar me = this;\n\t\t\t// Reset\n\t\t\tvar minSize = me.minSize = {\n\t\t\t\twidth: 0,\n\t\t\t\theight: 0\n\t\t\t};\n\n\t\t\tvar opts = me.options;\n\t\t\tvar tickOpts = opts.ticks;\n\t\t\tvar scaleLabelOpts = opts.scaleLabel;\n\t\t\tvar gridLineOpts = opts.gridLines;\n\t\t\tvar display = opts.display;\n\t\t\tvar isHorizontal = me.isHorizontal();\n\n\t\t\tvar tickFont = parseFontOptions(tickOpts);\n\t\t\tvar scaleLabelFontSize = parseFontOptions(scaleLabelOpts).size * 1.5;\n\t\t\tvar tickMarkLength = opts.gridLines.tickMarkLength;\n\n\t\t\t// Width\n\t\t\tif (isHorizontal) {\n\t\t\t\t// subtract the margins to line up with the chartArea if we are a full width scale\n\t\t\t\tminSize.width = me.isFullWidth() ? me.maxWidth - me.margins.left - me.margins.right : me.maxWidth;\n\t\t\t} else {\n\t\t\t\tminSize.width = display && gridLineOpts.drawTicks ? tickMarkLength : 0;\n\t\t\t}\n\n\t\t\t// height\n\t\t\tif (isHorizontal) {\n\t\t\t\tminSize.height = display && gridLineOpts.drawTicks ? tickMarkLength : 0;\n\t\t\t} else {\n\t\t\t\tminSize.height = me.maxHeight; // fill all the height\n\t\t\t}\n\n\t\t\t// Are we showing a title for the scale?\n\t\t\tif (scaleLabelOpts.display && display) {\n\t\t\t\tif (isHorizontal) {\n\t\t\t\t\tminSize.height += scaleLabelFontSize;\n\t\t\t\t} else {\n\t\t\t\t\tminSize.width += scaleLabelFontSize;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Don't bother fitting the ticks if we are not showing them\n\t\t\tif (tickOpts.display && display) {\n\t\t\t\tvar largestTextWidth = helpers.longestText(me.ctx, tickFont.font, me.ticks, me.longestTextCache);\n\t\t\t\tvar tallestLabelHeightInLines = helpers.numberOfLabelLines(me.ticks);\n\t\t\t\tvar lineSpace = tickFont.size * 0.5;\n\n\t\t\t\tif (isHorizontal) {\n\t\t\t\t\t// A horizontal axis is more constrained by the height.\n\t\t\t\t\tme.longestLabelWidth = largestTextWidth;\n\n\t\t\t\t\tvar angleRadians = helpers.toRadians(me.labelRotation);\n\t\t\t\t\tvar cosRotation = Math.cos(angleRadians);\n\t\t\t\t\tvar sinRotation = Math.sin(angleRadians);\n\n\t\t\t\t\t// TODO - improve this calculation\n\t\t\t\t\tvar labelHeight = (sinRotation * largestTextWidth)\n\t\t\t\t\t\t+ (tickFont.size * tallestLabelHeightInLines)\n\t\t\t\t\t\t+ (lineSpace * tallestLabelHeightInLines);\n\n\t\t\t\t\tminSize.height = Math.min(me.maxHeight, minSize.height + labelHeight);\n\t\t\t\t\tme.ctx.font = tickFont.font;\n\n\t\t\t\t\tvar firstTick = me.ticks[0];\n\t\t\t\t\tvar firstLabelWidth = computeTextSize(me.ctx, firstTick, tickFont.font);\n\n\t\t\t\t\tvar lastTick = me.ticks[me.ticks.length - 1];\n\t\t\t\t\tvar lastLabelWidth = computeTextSize(me.ctx, lastTick, tickFont.font);\n\n\t\t\t\t\t// Ensure that our ticks are always inside the canvas. When rotated, ticks are right aligned which means that the right padding is dominated\n\t\t\t\t\t// by the font height\n\t\t\t\t\tif (me.labelRotation !== 0) {\n\t\t\t\t\t\tme.paddingLeft = opts.position === 'bottom'? (cosRotation * firstLabelWidth) + 3: (cosRotation * lineSpace) + 3; // add 3 px to move away from canvas edges\n\t\t\t\t\t\tme.paddingRight = opts.position === 'bottom'? (cosRotation * lineSpace) + 3: (cosRotation * lastLabelWidth) + 3;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tme.paddingLeft = firstLabelWidth / 2 + 3; // add 3 px to move away from canvas edges\n\t\t\t\t\t\tme.paddingRight = lastLabelWidth / 2 + 3;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t// A vertical axis is more constrained by the width. Labels are the dominant factor here, so get that length first\n\t\t\t\t\t// Account for padding\n\n\t\t\t\t\tif (tickOpts.mirror) {\n\t\t\t\t\t\tlargestTextWidth = 0;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlargestTextWidth += me.options.ticks.padding;\n\t\t\t\t\t}\n\t\t\t\t\tminSize.width = Math.min(me.maxWidth, minSize.width + largestTextWidth);\n\t\t\t\t\tme.paddingTop = tickFont.size / 2;\n\t\t\t\t\tme.paddingBottom = tickFont.size / 2;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tme.handleMargins();\n\n\t\t\tme.width = minSize.width;\n\t\t\tme.height = minSize.height;\n\t\t},\n\n\t\t/**\n\t\t * Handle margins and padding interactions\n\t\t * @private\n\t\t */\n\t\thandleMargins: function() {\n\t\t\tvar me = this;\n\t\t\tif (me.margins) {\n\t\t\t\tme.paddingLeft = Math.max(me.paddingLeft - me.margins.left, 0);\n\t\t\t\tme.paddingTop = Math.max(me.paddingTop - me.margins.top, 0);\n\t\t\t\tme.paddingRight = Math.max(me.paddingRight - me.margins.right, 0);\n\t\t\t\tme.paddingBottom = Math.max(me.paddingBottom - me.margins.bottom, 0);\n\t\t\t}\n\t\t},\n\n\t\tafterFit: function() {\n\t\t\thelpers.callback(this.options.afterFit, [this]);\n\t\t},\n\n\t\t// Shared Methods\n\t\tisHorizontal: function() {\n\t\t\treturn this.options.position === 'top' || this.options.position === 'bottom';\n\t\t},\n\t\tisFullWidth: function() {\n\t\t\treturn (this.options.fullWidth);\n\t\t},\n\n\t\t// Get the correct value. NaN bad inputs, If the value type is object get the x or y based on whether we are horizontal or not\n\t\tgetRightValue: function(rawValue) {\n\t\t\t// Null and undefined values first\n\t\t\tif (rawValue === null || typeof(rawValue) === 'undefined') {\n\t\t\t\treturn NaN;\n\t\t\t}\n\t\t\t// isNaN(object) returns true, so make sure NaN is checking for a number; Discard Infinite values\n\t\t\tif (typeof(rawValue) === 'number' && !isFinite(rawValue)) {\n\t\t\t\treturn NaN;\n\t\t\t}\n\t\t\t// If it is in fact an object, dive in one more level\n\t\t\tif (typeof(rawValue) === 'object') {\n\t\t\t\tif ((rawValue instanceof Date) || (rawValue.isValid)) {\n\t\t\t\t\treturn rawValue;\n\t\t\t\t}\n\t\t\t\treturn this.getRightValue(this.isHorizontal() ? rawValue.x : rawValue.y);\n\t\t\t}\n\n\t\t\t// Value is good, return it\n\t\t\treturn rawValue;\n\t\t},\n\n\t\t// Used to get the value to display in the tooltip for the data at the given index\n\t\t// function getLabelForIndex(index, datasetIndex)\n\t\tgetLabelForIndex: helpers.noop,\n\n\t\t// Used to get data value locations.  Value can either be an index or a numerical value\n\t\tgetPixelForValue: helpers.noop,\n\n\t\t// Used to get the data value from a given pixel. This is the inverse of getPixelForValue\n\t\tgetValueForPixel: helpers.noop,\n\n\t\t// Used for tick location, should\n\t\tgetPixelForTick: function(index, includeOffset) {\n\t\t\tvar me = this;\n\t\t\tif (me.isHorizontal()) {\n\t\t\t\tvar innerWidth = me.width - (me.paddingLeft + me.paddingRight);\n\t\t\t\tvar tickWidth = innerWidth / Math.max((me.ticks.length - ((me.options.gridLines.offsetGridLines) ? 0 : 1)), 1);\n\t\t\t\tvar pixel = (tickWidth * index) + me.paddingLeft;\n\n\t\t\t\tif (includeOffset) {\n\t\t\t\t\tpixel += tickWidth / 2;\n\t\t\t\t}\n\n\t\t\t\tvar finalVal = me.left + Math.round(pixel);\n\t\t\t\tfinalVal += me.isFullWidth() ? me.margins.left : 0;\n\t\t\t\treturn finalVal;\n\t\t\t}\n\t\t\tvar innerHeight = me.height - (me.paddingTop + me.paddingBottom);\n\t\t\treturn me.top + (index * (innerHeight / (me.ticks.length - 1)));\n\t\t},\n\n\t\t// Utility for getting the pixel location of a percentage of scale\n\t\tgetPixelForDecimal: function(decimal /* , includeOffset*/) {\n\t\t\tvar me = this;\n\t\t\tif (me.isHorizontal()) {\n\t\t\t\tvar innerWidth = me.width - (me.paddingLeft + me.paddingRight);\n\t\t\t\tvar valueOffset = (innerWidth * decimal) + me.paddingLeft;\n\n\t\t\t\tvar finalVal = me.left + Math.round(valueOffset);\n\t\t\t\tfinalVal += me.isFullWidth() ? me.margins.left : 0;\n\t\t\t\treturn finalVal;\n\t\t\t}\n\t\t\treturn me.top + (decimal * me.height);\n\t\t},\n\n\t\tgetBasePixel: function() {\n\t\t\treturn this.getPixelForValue(this.getBaseValue());\n\t\t},\n\n\t\tgetBaseValue: function() {\n\t\t\tvar me = this;\n\t\t\tvar min = me.min;\n\t\t\tvar max = me.max;\n\n\t\t\treturn me.beginAtZero ? 0:\n\t\t\t\tmin < 0 && max < 0? max :\n\t\t\t\tmin > 0 && max > 0? min :\n\t\t\t\t0;\n\t\t},\n\n\t\t// Actually draw the scale on the canvas\n\t\t// @param {rectangle} chartArea : the area of the chart to draw full grid lines on\n\t\tdraw: function(chartArea) {\n\t\t\tvar me = this;\n\t\t\tvar options = me.options;\n\t\t\tif (!options.display) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar context = me.ctx;\n\t\t\tvar globalDefaults = Chart.defaults.global;\n\t\t\tvar optionTicks = options.ticks;\n\t\t\tvar gridLines = options.gridLines;\n\t\t\tvar scaleLabel = options.scaleLabel;\n\n\t\t\tvar isRotated = me.labelRotation !== 0;\n\t\t\tvar skipRatio;\n\t\t\tvar useAutoskipper = optionTicks.autoSkip;\n\t\t\tvar isHorizontal = me.isHorizontal();\n\n\t\t\t// figure out the maximum number of gridlines to show\n\t\t\tvar maxTicks;\n\t\t\tif (optionTicks.maxTicksLimit) {\n\t\t\t\tmaxTicks = optionTicks.maxTicksLimit;\n\t\t\t}\n\n\t\t\tvar tickFontColor = helpers.getValueOrDefault(optionTicks.fontColor, globalDefaults.defaultFontColor);\n\t\t\tvar tickFont = parseFontOptions(optionTicks);\n\n\t\t\tvar tl = gridLines.drawTicks ? gridLines.tickMarkLength : 0;\n\n\t\t\tvar scaleLabelFontColor = helpers.getValueOrDefault(scaleLabel.fontColor, globalDefaults.defaultFontColor);\n\t\t\tvar scaleLabelFont = parseFontOptions(scaleLabel);\n\n\t\t\tvar labelRotationRadians = helpers.toRadians(me.labelRotation);\n\t\t\tvar cosRotation = Math.cos(labelRotationRadians);\n\t\t\tvar longestRotatedLabel = me.longestLabelWidth * cosRotation;\n\n\t\t\t// Make sure we draw text in the correct color and font\n\t\t\tcontext.fillStyle = tickFontColor;\n\n\t\t\tvar itemsToDraw = [];\n\n\t\t\tif (isHorizontal) {\n\t\t\t\tskipRatio = false;\n\n\t\t\t\tif ((longestRotatedLabel + optionTicks.autoSkipPadding) * me.ticks.length > (me.width - (me.paddingLeft + me.paddingRight))) {\n\t\t\t\t\tskipRatio = 1 + Math.floor(((longestRotatedLabel + optionTicks.autoSkipPadding) * me.ticks.length) / (me.width - (me.paddingLeft + me.paddingRight)));\n\t\t\t\t}\n\n\t\t\t\t// if they defined a max number of optionTicks,\n\t\t\t\t// increase skipRatio until that number is met\n\t\t\t\tif (maxTicks && me.ticks.length > maxTicks) {\n\t\t\t\t\twhile (!skipRatio || me.ticks.length / (skipRatio || 1) > maxTicks) {\n\t\t\t\t\t\tif (!skipRatio) {\n\t\t\t\t\t\t\tskipRatio = 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tskipRatio += 1;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (!useAutoskipper) {\n\t\t\t\t\tskipRatio = false;\n\t\t\t\t}\n\t\t\t}\n\n\n\t\t\tvar xTickStart = options.position === 'right' ? me.left : me.right - tl;\n\t\t\tvar xTickEnd = options.position === 'right' ? me.left + tl : me.right;\n\t\t\tvar yTickStart = options.position === 'bottom' ? me.top : me.bottom - tl;\n\t\t\tvar yTickEnd = options.position === 'bottom' ? me.top + tl : me.bottom;\n\n\t\t\thelpers.each(me.ticks, function(label, index) {\n\t\t\t\t// If the callback returned a null or undefined value, do not draw this line\n\t\t\t\tif (label === undefined || label === null) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tvar isLastTick = me.ticks.length === index + 1;\n\n\t\t\t\t// Since we always show the last tick,we need may need to hide the last shown one before\n\t\t\t\tvar shouldSkip = (skipRatio > 1 && index % skipRatio > 0) || (index % skipRatio === 0 && index + skipRatio >= me.ticks.length);\n\t\t\t\tif (shouldSkip && !isLastTick || (label === undefined || label === null)) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tvar lineWidth, lineColor, borderDash, borderDashOffset;\n\t\t\t\tif (index === (typeof me.zeroLineIndex !== 'undefined' ? me.zeroLineIndex : 0)) {\n\t\t\t\t\t// Draw the first index specially\n\t\t\t\t\tlineWidth = gridLines.zeroLineWidth;\n\t\t\t\t\tlineColor = gridLines.zeroLineColor;\n\t\t\t\t\tborderDash = gridLines.zeroLineBorderDash;\n\t\t\t\t\tborderDashOffset = gridLines.zeroLineBorderDashOffset;\n\t\t\t\t} else {\n\t\t\t\t\tlineWidth = helpers.getValueAtIndexOrDefault(gridLines.lineWidth, index);\n\t\t\t\t\tlineColor = helpers.getValueAtIndexOrDefault(gridLines.color, index);\n\t\t\t\t\tborderDash = helpers.getValueOrDefault(gridLines.borderDash, globalDefaults.borderDash);\n\t\t\t\t\tborderDashOffset = helpers.getValueOrDefault(gridLines.borderDashOffset, globalDefaults.borderDashOffset);\n\t\t\t\t}\n\n\t\t\t\t// Common properties\n\t\t\t\tvar tx1, ty1, tx2, ty2, x1, y1, x2, y2, labelX, labelY;\n\t\t\t\tvar textAlign = 'middle';\n\t\t\t\tvar textBaseline = 'middle';\n\n\t\t\t\tif (isHorizontal) {\n\n\t\t\t\t\tif (options.position === 'bottom') {\n\t\t\t\t\t\t// bottom\n\t\t\t\t\t\ttextBaseline = !isRotated? 'top':'middle';\n\t\t\t\t\t\ttextAlign = !isRotated? 'center': 'right';\n\t\t\t\t\t\tlabelY = me.top + tl;\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// top\n\t\t\t\t\t\ttextBaseline = !isRotated? 'bottom':'middle';\n\t\t\t\t\t\ttextAlign = !isRotated? 'center': 'left';\n\t\t\t\t\t\tlabelY = me.bottom - tl;\n\t\t\t\t\t}\n\n\t\t\t\t\tvar xLineValue = me.getPixelForTick(index) + helpers.aliasPixel(lineWidth); // xvalues for grid lines\n\t\t\t\t\tlabelX = me.getPixelForTick(index, gridLines.offsetGridLines) + optionTicks.labelOffset; // x values for optionTicks (need to consider offsetLabel option)\n\n\t\t\t\t\ttx1 = tx2 = x1 = x2 = xLineValue;\n\t\t\t\t\tty1 = yTickStart;\n\t\t\t\t\tty2 = yTickEnd;\n\t\t\t\t\ty1 = chartArea.top;\n\t\t\t\t\ty2 = chartArea.bottom;\n\t\t\t\t} else {\n\t\t\t\t\tvar isLeft = options.position === 'left';\n\t\t\t\t\tvar tickPadding = optionTicks.padding;\n\t\t\t\t\tvar labelXOffset;\n\n\t\t\t\t\tif (optionTicks.mirror) {\n\t\t\t\t\t\ttextAlign = isLeft ? 'left' : 'right';\n\t\t\t\t\t\tlabelXOffset = tickPadding;\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttextAlign = isLeft ? 'right' : 'left';\n\t\t\t\t\t\tlabelXOffset = tl + tickPadding;\n\t\t\t\t\t}\n\n\t\t\t\t\tlabelX = isLeft ? me.right - labelXOffset : me.left + labelXOffset;\n\n\t\t\t\t\tvar yLineValue = me.getPixelForTick(index); // xvalues for grid lines\n\t\t\t\t\tyLineValue += helpers.aliasPixel(lineWidth);\n\t\t\t\t\tlabelY = me.getPixelForTick(index, gridLines.offsetGridLines);\n\n\t\t\t\t\ttx1 = xTickStart;\n\t\t\t\t\ttx2 = xTickEnd;\n\t\t\t\t\tx1 = chartArea.left;\n\t\t\t\t\tx2 = chartArea.right;\n\t\t\t\t\tty1 = ty2 = y1 = y2 = yLineValue;\n\t\t\t\t}\n\n\t\t\t\titemsToDraw.push({\n\t\t\t\t\ttx1: tx1,\n\t\t\t\t\tty1: ty1,\n\t\t\t\t\ttx2: tx2,\n\t\t\t\t\tty2: ty2,\n\t\t\t\t\tx1: x1,\n\t\t\t\t\ty1: y1,\n\t\t\t\t\tx2: x2,\n\t\t\t\t\ty2: y2,\n\t\t\t\t\tlabelX: labelX,\n\t\t\t\t\tlabelY: labelY,\n\t\t\t\t\tglWidth: lineWidth,\n\t\t\t\t\tglColor: lineColor,\n\t\t\t\t\tglBorderDash: borderDash,\n\t\t\t\t\tglBorderDashOffset: borderDashOffset,\n\t\t\t\t\trotation: -1 * labelRotationRadians,\n\t\t\t\t\tlabel: label,\n\t\t\t\t\ttextBaseline: textBaseline,\n\t\t\t\t\ttextAlign: textAlign\n\t\t\t\t});\n\t\t\t});\n\n\t\t\t// Draw all of the tick labels, tick marks, and grid lines at the correct places\n\t\t\thelpers.each(itemsToDraw, function(itemToDraw) {\n\t\t\t\tif (gridLines.display) {\n\t\t\t\t\tcontext.save();\n\t\t\t\t\tcontext.lineWidth = itemToDraw.glWidth;\n\t\t\t\t\tcontext.strokeStyle = itemToDraw.glColor;\n\t\t\t\t\tif (context.setLineDash) {\n\t\t\t\t\t\tcontext.setLineDash(itemToDraw.glBorderDash);\n\t\t\t\t\t\tcontext.lineDashOffset = itemToDraw.glBorderDashOffset;\n\t\t\t\t\t}\n\n\t\t\t\t\tcontext.beginPath();\n\n\t\t\t\t\tif (gridLines.drawTicks) {\n\t\t\t\t\t\tcontext.moveTo(itemToDraw.tx1, itemToDraw.ty1);\n\t\t\t\t\t\tcontext.lineTo(itemToDraw.tx2, itemToDraw.ty2);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (gridLines.drawOnChartArea) {\n\t\t\t\t\t\tcontext.moveTo(itemToDraw.x1, itemToDraw.y1);\n\t\t\t\t\t\tcontext.lineTo(itemToDraw.x2, itemToDraw.y2);\n\t\t\t\t\t}\n\n\t\t\t\t\tcontext.stroke();\n\t\t\t\t\tcontext.restore();\n\t\t\t\t}\n\n\t\t\t\tif (optionTicks.display) {\n\t\t\t\t\tcontext.save();\n\t\t\t\t\tcontext.translate(itemToDraw.labelX, itemToDraw.labelY);\n\t\t\t\t\tcontext.rotate(itemToDraw.rotation);\n\t\t\t\t\tcontext.font = tickFont.font;\n\t\t\t\t\tcontext.textBaseline = itemToDraw.textBaseline;\n\t\t\t\t\tcontext.textAlign = itemToDraw.textAlign;\n\n\t\t\t\t\tvar label = itemToDraw.label;\n\t\t\t\t\tif (helpers.isArray(label)) {\n\t\t\t\t\t\tfor (var i = 0, y = 0; i < label.length; ++i) {\n\t\t\t\t\t\t\t// We just make sure the multiline element is a string here..\n\t\t\t\t\t\t\tcontext.fillText('' + label[i], 0, y);\n\t\t\t\t\t\t\t// apply same lineSpacing as calculated @ L#320\n\t\t\t\t\t\t\ty += (tickFont.size * 1.5);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcontext.fillText(label, 0, 0);\n\t\t\t\t\t}\n\t\t\t\t\tcontext.restore();\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tif (scaleLabel.display) {\n\t\t\t\t// Draw the scale label\n\t\t\t\tvar scaleLabelX;\n\t\t\t\tvar scaleLabelY;\n\t\t\t\tvar rotation = 0;\n\n\t\t\t\tif (isHorizontal) {\n\t\t\t\t\tscaleLabelX = me.left + ((me.right - me.left) / 2); // midpoint of the width\n\t\t\t\t\tscaleLabelY = options.position === 'bottom' ? me.bottom - (scaleLabelFont.size / 2) : me.top + (scaleLabelFont.size / 2);\n\t\t\t\t} else {\n\t\t\t\t\tvar isLeft = options.position === 'left';\n\t\t\t\t\tscaleLabelX = isLeft ? me.left + (scaleLabelFont.size / 2) : me.right - (scaleLabelFont.size / 2);\n\t\t\t\t\tscaleLabelY = me.top + ((me.bottom - me.top) / 2);\n\t\t\t\t\trotation = isLeft ? -0.5 * Math.PI : 0.5 * Math.PI;\n\t\t\t\t}\n\n\t\t\t\tcontext.save();\n\t\t\t\tcontext.translate(scaleLabelX, scaleLabelY);\n\t\t\t\tcontext.rotate(rotation);\n\t\t\t\tcontext.textAlign = 'center';\n\t\t\t\tcontext.textBaseline = 'middle';\n\t\t\t\tcontext.fillStyle = scaleLabelFontColor; // render in correct colour\n\t\t\t\tcontext.font = scaleLabelFont.font;\n\t\t\t\tcontext.fillText(scaleLabel.labelString, 0, 0);\n\t\t\t\tcontext.restore();\n\t\t\t}\n\n\t\t\tif (gridLines.drawBorder) {\n\t\t\t\t// Draw the line at the edge of the axis\n\t\t\t\tcontext.lineWidth = helpers.getValueAtIndexOrDefault(gridLines.lineWidth, 0);\n\t\t\t\tcontext.strokeStyle = helpers.getValueAtIndexOrDefault(gridLines.color, 0);\n\t\t\t\tvar x1 = me.left,\n\t\t\t\t\tx2 = me.right,\n\t\t\t\t\ty1 = me.top,\n\t\t\t\t\ty2 = me.bottom;\n\n\t\t\t\tvar aliasPixel = helpers.aliasPixel(context.lineWidth);\n\t\t\t\tif (isHorizontal) {\n\t\t\t\t\ty1 = y2 = options.position === 'top' ? me.bottom : me.top;\n\t\t\t\t\ty1 += aliasPixel;\n\t\t\t\t\ty2 += aliasPixel;\n\t\t\t\t} else {\n\t\t\t\t\tx1 = x2 = options.position === 'left' ? me.right : me.left;\n\t\t\t\t\tx1 += aliasPixel;\n\t\t\t\t\tx2 += aliasPixel;\n\t\t\t\t}\n\n\t\t\t\tcontext.beginPath();\n\t\t\t\tcontext.moveTo(x1, y1);\n\t\t\t\tcontext.lineTo(x2, y2);\n\t\t\t\tcontext.stroke();\n\t\t\t}\n\t\t}\n\t});\n};\n\n},{}],32:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\n\tChart.scaleService = {\n\t\t// Scale registration object. Extensions can register new scale types (such as log or DB scales) and then\n\t\t// use the new chart options to grab the correct scale\n\t\tconstructors: {},\n\t\t// Use a registration function so that we can move to an ES6 map when we no longer need to support\n\t\t// old browsers\n\n\t\t// Scale config defaults\n\t\tdefaults: {},\n\t\tregisterScaleType: function(type, scaleConstructor, defaults) {\n\t\t\tthis.constructors[type] = scaleConstructor;\n\t\t\tthis.defaults[type] = helpers.clone(defaults);\n\t\t},\n\t\tgetScaleConstructor: function(type) {\n\t\t\treturn this.constructors.hasOwnProperty(type) ? this.constructors[type] : undefined;\n\t\t},\n\t\tgetScaleDefaults: function(type) {\n\t\t\t// Return the scale defaults merged with the global settings so that we always use the latest ones\n\t\t\treturn this.defaults.hasOwnProperty(type) ? helpers.scaleMerge(Chart.defaults.scale, this.defaults[type]) : {};\n\t\t},\n\t\tupdateScaleDefaults: function(type, additions) {\n\t\t\tvar defaults = this.defaults;\n\t\t\tif (defaults.hasOwnProperty(type)) {\n\t\t\t\tdefaults[type] = helpers.extend(defaults[type], additions);\n\t\t\t}\n\t\t},\n\t\taddScalesToLayout: function(chart) {\n\t\t\t// Adds each scale to the chart.boxes array to be sized accordingly\n\t\t\thelpers.each(chart.scales, function(scale) {\n\t\t\t\t// Set ILayoutItem parameters for backwards compatibility\n\t\t\t\tscale.fullWidth = scale.options.fullWidth;\n\t\t\t\tscale.position = scale.options.position;\n\t\t\t\tscale.weight = scale.options.weight;\n\t\t\t\tChart.layoutService.addBox(chart, scale);\n\t\t\t});\n\t\t}\n\t};\n};\n\n},{}],33:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\n\t/**\n\t * Namespace to hold static tick generation functions\n\t * @namespace Chart.Ticks\n\t */\n\tChart.Ticks = {\n\t\t/**\n\t\t * Namespace to hold generators for different types of ticks\n\t\t * @namespace Chart.Ticks.generators\n\t\t */\n\t\tgenerators: {\n\t\t\t/**\n\t\t\t * Interface for the options provided to the numeric tick generator\n\t\t\t * @interface INumericTickGenerationOptions\n\t\t\t */\n\t\t\t/**\n\t\t\t * The maximum number of ticks to display\n\t\t\t * @name INumericTickGenerationOptions#maxTicks\n\t\t\t * @type Number\n\t\t\t */\n\t\t\t/**\n\t\t\t * The distance between each tick.\n\t\t\t * @name INumericTickGenerationOptions#stepSize\n\t\t\t * @type Number\n\t\t\t * @optional\n\t\t\t */\n\t\t\t/**\n\t\t\t * Forced minimum for the ticks. If not specified, the minimum of the data range is used to calculate the tick minimum\n\t\t\t * @name INumericTickGenerationOptions#min\n\t\t\t * @type Number\n\t\t\t * @optional\n\t\t\t */\n\t\t\t/**\n\t\t\t * The maximum value of the ticks. If not specified, the maximum of the data range is used to calculate the tick maximum\n\t\t\t * @name INumericTickGenerationOptions#max\n\t\t\t * @type Number\n\t\t\t * @optional\n\t\t\t */\n\n\t\t\t/**\n\t\t\t * Generate a set of linear ticks\n\t\t\t * @method Chart.Ticks.generators.linear\n\t\t\t * @param generationOptions {INumericTickGenerationOptions} the options used to generate the ticks\n\t\t\t * @param dataRange {IRange} the range of the data\n\t\t\t * @returns {Array<Number>} array of tick values\n\t\t\t */\n\t\t\tlinear: function(generationOptions, dataRange) {\n\t\t\t\tvar ticks = [];\n\t\t\t\t// To get a \"nice\" value for the tick spacing, we will use the appropriately named\n\t\t\t\t// \"nice number\" algorithm. See http://stackoverflow.com/questions/8506881/nice-label-algorithm-for-charts-with-minimum-ticks\n\t\t\t\t// for details.\n\n\t\t\t\tvar spacing;\n\t\t\t\tif (generationOptions.stepSize && generationOptions.stepSize > 0) {\n\t\t\t\t\tspacing = generationOptions.stepSize;\n\t\t\t\t} else {\n\t\t\t\t\tvar niceRange = helpers.niceNum(dataRange.max - dataRange.min, false);\n\t\t\t\t\tspacing = helpers.niceNum(niceRange / (generationOptions.maxTicks - 1), true);\n\t\t\t\t}\n\t\t\t\tvar niceMin = Math.floor(dataRange.min / spacing) * spacing;\n\t\t\t\tvar niceMax = Math.ceil(dataRange.max / spacing) * spacing;\n\n\t\t\t\t// If min, max and stepSize is set and they make an evenly spaced scale use it.\n\t\t\t\tif (generationOptions.min && generationOptions.max && generationOptions.stepSize) {\n\t\t\t\t\t// If very close to our whole number, use it.\n\t\t\t\t\tif (helpers.almostWhole((generationOptions.max - generationOptions.min) / generationOptions.stepSize, spacing / 1000)) {\n\t\t\t\t\t\tniceMin = generationOptions.min;\n\t\t\t\t\t\tniceMax = generationOptions.max;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tvar numSpaces = (niceMax - niceMin) / spacing;\n\t\t\t\t// If very close to our rounded value, use it.\n\t\t\t\tif (helpers.almostEquals(numSpaces, Math.round(numSpaces), spacing / 1000)) {\n\t\t\t\t\tnumSpaces = Math.round(numSpaces);\n\t\t\t\t} else {\n\t\t\t\t\tnumSpaces = Math.ceil(numSpaces);\n\t\t\t\t}\n\n\t\t\t\t// Put the values into the ticks array\n\t\t\t\tticks.push(generationOptions.min !== undefined ? generationOptions.min : niceMin);\n\t\t\t\tfor (var j = 1; j < numSpaces; ++j) {\n\t\t\t\t\tticks.push(niceMin + (j * spacing));\n\t\t\t\t}\n\t\t\t\tticks.push(generationOptions.max !== undefined ? generationOptions.max : niceMax);\n\n\t\t\t\treturn ticks;\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * Generate a set of logarithmic ticks\n\t\t\t * @method Chart.Ticks.generators.logarithmic\n\t\t\t * @param generationOptions {INumericTickGenerationOptions} the options used to generate the ticks\n\t\t\t * @param dataRange {IRange} the range of the data\n\t\t\t * @returns {Array<Number>} array of tick values\n\t\t\t */\n\t\t\tlogarithmic: function(generationOptions, dataRange) {\n\t\t\t\tvar ticks = [];\n\t\t\t\tvar getValueOrDefault = helpers.getValueOrDefault;\n\n\t\t\t\t// Figure out what the max number of ticks we can support it is based on the size of\n\t\t\t\t// the axis area. For now, we say that the minimum tick spacing in pixels must be 50\n\t\t\t\t// We also limit the maximum number of ticks to 11 which gives a nice 10 squares on\n\t\t\t\t// the graph\n\t\t\t\tvar tickVal = getValueOrDefault(generationOptions.min, Math.pow(10, Math.floor(helpers.log10(dataRange.min))));\n\n\t\t\t\tvar endExp = Math.floor(helpers.log10(dataRange.max));\n\t\t\t\tvar endSignificand = Math.ceil(dataRange.max / Math.pow(10, endExp));\n\t\t\t\tvar exp;\n\t\t\t\tvar significand;\n\n\t\t\t\tif (tickVal === 0) {\n\t\t\t\t\texp = Math.floor(helpers.log10(dataRange.minNotZero));\n\t\t\t\t\tsignificand = Math.floor(dataRange.minNotZero / Math.pow(10, exp));\n\n\t\t\t\t\tticks.push(tickVal);\n\t\t\t\t\ttickVal = significand * Math.pow(10, exp);\n\t\t\t\t} else {\n\t\t\t\t\texp = Math.floor(helpers.log10(tickVal));\n\t\t\t\t\tsignificand = Math.floor(tickVal / Math.pow(10, exp));\n\t\t\t\t}\n\n\t\t\t\tdo {\n\t\t\t\t\tticks.push(tickVal);\n\n\t\t\t\t\t++significand;\n\t\t\t\t\tif (significand === 10) {\n\t\t\t\t\t\tsignificand = 1;\n\t\t\t\t\t\t++exp;\n\t\t\t\t\t}\n\n\t\t\t\t\ttickVal = significand * Math.pow(10, exp);\n\t\t\t\t} while (exp < endExp || (exp === endExp && significand < endSignificand));\n\n\t\t\t\tvar lastTick = getValueOrDefault(generationOptions.max, tickVal);\n\t\t\t\tticks.push(lastTick);\n\n\t\t\t\treturn ticks;\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Namespace to hold formatters for different types of ticks\n\t\t * @namespace Chart.Ticks.formatters\n\t\t */\n\t\tformatters: {\n\t\t\t/**\n\t\t\t * Formatter for value labels\n\t\t\t * @method Chart.Ticks.formatters.values\n\t\t\t * @param value the value to display\n\t\t\t * @return {String|Array} the label to display\n\t\t\t */\n\t\t\tvalues: function(value) {\n\t\t\t\treturn helpers.isArray(value) ? value : '' + value;\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * Formatter for linear numeric ticks\n\t\t\t * @method Chart.Ticks.formatters.linear\n\t\t\t * @param tickValue {Number} the value to be formatted\n\t\t\t * @param index {Number} the position of the tickValue parameter in the ticks array\n\t\t\t * @param ticks {Array<Number>} the list of ticks being converted\n\t\t\t * @return {String} string representation of the tickValue parameter\n\t\t\t */\n\t\t\tlinear: function(tickValue, index, ticks) {\n\t\t\t\t// If we have lots of ticks, don't use the ones\n\t\t\t\tvar delta = ticks.length > 3 ? ticks[2] - ticks[1] : ticks[1] - ticks[0];\n\n\t\t\t\t// If we have a number like 2.5 as the delta, figure out how many decimal places we need\n\t\t\t\tif (Math.abs(delta) > 1) {\n\t\t\t\t\tif (tickValue !== Math.floor(tickValue)) {\n\t\t\t\t\t\t// not an integer\n\t\t\t\t\t\tdelta = tickValue - Math.floor(tickValue);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tvar logDelta = helpers.log10(Math.abs(delta));\n\t\t\t\tvar tickString = '';\n\n\t\t\t\tif (tickValue !== 0) {\n\t\t\t\t\tvar numDecimal = -1 * Math.floor(logDelta);\n\t\t\t\t\tnumDecimal = Math.max(Math.min(numDecimal, 20), 0); // toFixed has a max of 20 decimal places\n\t\t\t\t\ttickString = tickValue.toFixed(numDecimal);\n\t\t\t\t} else {\n\t\t\t\t\ttickString = '0'; // never show decimal places for 0\n\t\t\t\t}\n\n\t\t\t\treturn tickString;\n\t\t\t},\n\n\t\t\tlogarithmic: function(tickValue, index, ticks) {\n\t\t\t\tvar remain = tickValue / (Math.pow(10, Math.floor(helpers.log10(tickValue))));\n\n\t\t\t\tif (tickValue === 0) {\n\t\t\t\t\treturn '0';\n\t\t\t\t} else if (remain === 1 || remain === 2 || remain === 5 || index === 0 || index === ticks.length - 1) {\n\t\t\t\t\treturn tickValue.toExponential();\n\t\t\t\t}\n\t\t\t\treturn '';\n\t\t\t}\n\t\t}\n\t};\n};\n\n},{}],34:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\n\t/**\n \t * Helper method to merge the opacity into a color\n \t */\n\tfunction mergeOpacity(colorString, opacity) {\n\t\tvar color = helpers.color(colorString);\n\t\treturn color.alpha(opacity * color.alpha()).rgbaString();\n\t}\n\n\tChart.defaults.global.tooltips = {\n\t\tenabled: true,\n\t\tcustom: null,\n\t\tmode: 'nearest',\n\t\tposition: 'average',\n\t\tintersect: true,\n\t\tbackgroundColor: 'rgba(0,0,0,0.8)',\n\t\ttitleFontStyle: 'bold',\n\t\ttitleSpacing: 2,\n\t\ttitleMarginBottom: 6,\n\t\ttitleFontColor: '#fff',\n\t\ttitleAlign: 'left',\n\t\tbodySpacing: 2,\n\t\tbodyFontColor: '#fff',\n\t\tbodyAlign: 'left',\n\t\tfooterFontStyle: 'bold',\n\t\tfooterSpacing: 2,\n\t\tfooterMarginTop: 6,\n\t\tfooterFontColor: '#fff',\n\t\tfooterAlign: 'left',\n\t\tyPadding: 6,\n\t\txPadding: 6,\n\t\tcaretPadding: 2,\n\t\tcaretSize: 5,\n\t\tcornerRadius: 6,\n\t\tmultiKeyBackground: '#fff',\n\t\tdisplayColors: true,\n\t\tborderColor: 'rgba(0,0,0,0)',\n\t\tborderWidth: 0,\n\t\tcallbacks: {\n\t\t\t// Args are: (tooltipItems, data)\n\t\t\tbeforeTitle: helpers.noop,\n\t\t\ttitle: function(tooltipItems, data) {\n\t\t\t\t// Pick first xLabel for now\n\t\t\t\tvar title = '';\n\t\t\t\tvar labels = data.labels;\n\t\t\t\tvar labelCount = labels ? labels.length : 0;\n\n\t\t\t\tif (tooltipItems.length > 0) {\n\t\t\t\t\tvar item = tooltipItems[0];\n\n\t\t\t\t\tif (item.xLabel) {\n\t\t\t\t\t\ttitle = item.xLabel;\n\t\t\t\t\t} else if (labelCount > 0 && item.index < labelCount) {\n\t\t\t\t\t\ttitle = labels[item.index];\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn title;\n\t\t\t},\n\t\t\tafterTitle: helpers.noop,\n\n\t\t\t// Args are: (tooltipItems, data)\n\t\t\tbeforeBody: helpers.noop,\n\n\t\t\t// Args are: (tooltipItem, data)\n\t\t\tbeforeLabel: helpers.noop,\n\t\t\tlabel: function(tooltipItem, data) {\n\t\t\t\tvar label = data.datasets[tooltipItem.datasetIndex].label || '';\n\n\t\t\t\tif (label) {\n\t\t\t\t\tlabel += ': ';\n\t\t\t\t}\n\t\t\t\tlabel += tooltipItem.yLabel;\n\t\t\t\treturn label;\n\t\t\t},\n\t\t\tlabelColor: function(tooltipItem, chart) {\n\t\t\t\tvar meta = chart.getDatasetMeta(tooltipItem.datasetIndex);\n\t\t\t\tvar activeElement = meta.data[tooltipItem.index];\n\t\t\t\tvar view = activeElement._view;\n\t\t\t\treturn {\n\t\t\t\t\tborderColor: view.borderColor,\n\t\t\t\t\tbackgroundColor: view.backgroundColor\n\t\t\t\t};\n\t\t\t},\n\t\t\tafterLabel: helpers.noop,\n\n\t\t\t// Args are: (tooltipItems, data)\n\t\t\tafterBody: helpers.noop,\n\n\t\t\t// Args are: (tooltipItems, data)\n\t\t\tbeforeFooter: helpers.noop,\n\t\t\tfooter: helpers.noop,\n\t\t\tafterFooter: helpers.noop\n\t\t}\n\t};\n\n\t// Helper to push or concat based on if the 2nd parameter is an array or not\n\tfunction pushOrConcat(base, toPush) {\n\t\tif (toPush) {\n\t\t\tif (helpers.isArray(toPush)) {\n\t\t\t\t// base = base.concat(toPush);\n\t\t\t\tArray.prototype.push.apply(base, toPush);\n\t\t\t} else {\n\t\t\t\tbase.push(toPush);\n\t\t\t}\n\t\t}\n\n\t\treturn base;\n\t}\n\n\t// Private helper to create a tooltip item model\n\t// @param element : the chart element (point, arc, bar) to create the tooltip item for\n\t// @return : new tooltip item\n\tfunction createTooltipItem(element) {\n\t\tvar xScale = element._xScale;\n\t\tvar yScale = element._yScale || element._scale; // handle radar || polarArea charts\n\t\tvar index = element._index,\n\t\t\tdatasetIndex = element._datasetIndex;\n\n\t\treturn {\n\t\t\txLabel: xScale ? xScale.getLabelForIndex(index, datasetIndex) : '',\n\t\t\tyLabel: yScale ? yScale.getLabelForIndex(index, datasetIndex) : '',\n\t\t\tindex: index,\n\t\t\tdatasetIndex: datasetIndex,\n\t\t\tx: element._model.x,\n\t\t\ty: element._model.y\n\t\t};\n\t}\n\n\t/**\n\t * Helper to get the reset model for the tooltip\n\t * @param tooltipOpts {Object} the tooltip options\n\t */\n\tfunction getBaseModel(tooltipOpts) {\n\t\tvar globalDefaults = Chart.defaults.global;\n\t\tvar getValueOrDefault = helpers.getValueOrDefault;\n\n\t\treturn {\n\t\t\t// Positioning\n\t\t\txPadding: tooltipOpts.xPadding,\n\t\t\tyPadding: tooltipOpts.yPadding,\n\t\t\txAlign: tooltipOpts.xAlign,\n\t\t\tyAlign: tooltipOpts.yAlign,\n\n\t\t\t// Body\n\t\t\tbodyFontColor: tooltipOpts.bodyFontColor,\n\t\t\t_bodyFontFamily: getValueOrDefault(tooltipOpts.bodyFontFamily, globalDefaults.defaultFontFamily),\n\t\t\t_bodyFontStyle: getValueOrDefault(tooltipOpts.bodyFontStyle, globalDefaults.defaultFontStyle),\n\t\t\t_bodyAlign: tooltipOpts.bodyAlign,\n\t\t\tbodyFontSize: getValueOrDefault(tooltipOpts.bodyFontSize, globalDefaults.defaultFontSize),\n\t\t\tbodySpacing: tooltipOpts.bodySpacing,\n\n\t\t\t// Title\n\t\t\ttitleFontColor: tooltipOpts.titleFontColor,\n\t\t\t_titleFontFamily: getValueOrDefault(tooltipOpts.titleFontFamily, globalDefaults.defaultFontFamily),\n\t\t\t_titleFontStyle: getValueOrDefault(tooltipOpts.titleFontStyle, globalDefaults.defaultFontStyle),\n\t\t\ttitleFontSize: getValueOrDefault(tooltipOpts.titleFontSize, globalDefaults.defaultFontSize),\n\t\t\t_titleAlign: tooltipOpts.titleAlign,\n\t\t\ttitleSpacing: tooltipOpts.titleSpacing,\n\t\t\ttitleMarginBottom: tooltipOpts.titleMarginBottom,\n\n\t\t\t// Footer\n\t\t\tfooterFontColor: tooltipOpts.footerFontColor,\n\t\t\t_footerFontFamily: getValueOrDefault(tooltipOpts.footerFontFamily, globalDefaults.defaultFontFamily),\n\t\t\t_footerFontStyle: getValueOrDefault(tooltipOpts.footerFontStyle, globalDefaults.defaultFontStyle),\n\t\t\tfooterFontSize: getValueOrDefault(tooltipOpts.footerFontSize, globalDefaults.defaultFontSize),\n\t\t\t_footerAlign: tooltipOpts.footerAlign,\n\t\t\tfooterSpacing: tooltipOpts.footerSpacing,\n\t\t\tfooterMarginTop: tooltipOpts.footerMarginTop,\n\n\t\t\t// Appearance\n\t\t\tcaretSize: tooltipOpts.caretSize,\n\t\t\tcornerRadius: tooltipOpts.cornerRadius,\n\t\t\tbackgroundColor: tooltipOpts.backgroundColor,\n\t\t\topacity: 0,\n\t\t\tlegendColorBackground: tooltipOpts.multiKeyBackground,\n\t\t\tdisplayColors: tooltipOpts.displayColors,\n\t\t\tborderColor: tooltipOpts.borderColor,\n\t\t\tborderWidth: tooltipOpts.borderWidth\n\t\t};\n\t}\n\n\t/**\n\t * Get the size of the tooltip\n\t */\n\tfunction getTooltipSize(tooltip, model) {\n\t\tvar ctx = tooltip._chart.ctx;\n\n\t\tvar height = model.yPadding * 2; // Tooltip Padding\n\t\tvar width = 0;\n\n\t\t// Count of all lines in the body\n\t\tvar body = model.body;\n\t\tvar combinedBodyLength = body.reduce(function(count, bodyItem) {\n\t\t\treturn count + bodyItem.before.length + bodyItem.lines.length + bodyItem.after.length;\n\t\t}, 0);\n\t\tcombinedBodyLength += model.beforeBody.length + model.afterBody.length;\n\n\t\tvar titleLineCount = model.title.length;\n\t\tvar footerLineCount = model.footer.length;\n\t\tvar titleFontSize = model.titleFontSize,\n\t\t\tbodyFontSize = model.bodyFontSize,\n\t\t\tfooterFontSize = model.footerFontSize;\n\n\t\theight += titleLineCount * titleFontSize; // Title Lines\n\t\theight += titleLineCount ? (titleLineCount - 1) * model.titleSpacing : 0; // Title Line Spacing\n\t\theight += titleLineCount ? model.titleMarginBottom : 0; // Title's bottom Margin\n\t\theight += combinedBodyLength * bodyFontSize; // Body Lines\n\t\theight += combinedBodyLength ? (combinedBodyLength - 1) * model.bodySpacing : 0; // Body Line Spacing\n\t\theight += footerLineCount ? model.footerMarginTop : 0; // Footer Margin\n\t\theight += footerLineCount * (footerFontSize); // Footer Lines\n\t\theight += footerLineCount ? (footerLineCount - 1) * model.footerSpacing : 0; // Footer Line Spacing\n\n\t\t// Title width\n\t\tvar widthPadding = 0;\n\t\tvar maxLineWidth = function(line) {\n\t\t\twidth = Math.max(width, ctx.measureText(line).width + widthPadding);\n\t\t};\n\n\t\tctx.font = helpers.fontString(titleFontSize, model._titleFontStyle, model._titleFontFamily);\n\t\thelpers.each(model.title, maxLineWidth);\n\n\t\t// Body width\n\t\tctx.font = helpers.fontString(bodyFontSize, model._bodyFontStyle, model._bodyFontFamily);\n\t\thelpers.each(model.beforeBody.concat(model.afterBody), maxLineWidth);\n\n\t\t// Body lines may include some extra width due to the color box\n\t\twidthPadding = model.displayColors ? (bodyFontSize + 2) : 0;\n\t\thelpers.each(body, function(bodyItem) {\n\t\t\thelpers.each(bodyItem.before, maxLineWidth);\n\t\t\thelpers.each(bodyItem.lines, maxLineWidth);\n\t\t\thelpers.each(bodyItem.after, maxLineWidth);\n\t\t});\n\n\t\t// Reset back to 0\n\t\twidthPadding = 0;\n\n\t\t// Footer width\n\t\tctx.font = helpers.fontString(footerFontSize, model._footerFontStyle, model._footerFontFamily);\n\t\thelpers.each(model.footer, maxLineWidth);\n\n\t\t// Add padding\n\t\twidth += 2 * model.xPadding;\n\n\t\treturn {\n\t\t\twidth: width,\n\t\t\theight: height\n\t\t};\n\t}\n\n\t/**\n\t * Helper to get the alignment of a tooltip given the size\n\t */\n\tfunction determineAlignment(tooltip, size) {\n\t\tvar model = tooltip._model;\n\t\tvar chart = tooltip._chart;\n\t\tvar chartArea = tooltip._chart.chartArea;\n\t\tvar xAlign = 'center';\n\t\tvar yAlign = 'center';\n\n\t\tif (model.y < size.height) {\n\t\t\tyAlign = 'top';\n\t\t} else if (model.y > (chart.height - size.height)) {\n\t\t\tyAlign = 'bottom';\n\t\t}\n\n\t\tvar lf, rf; // functions to determine left, right alignment\n\t\tvar olf, orf; // functions to determine if left/right alignment causes tooltip to go outside chart\n\t\tvar yf; // function to get the y alignment if the tooltip goes outside of the left or right edges\n\t\tvar midX = (chartArea.left + chartArea.right) / 2;\n\t\tvar midY = (chartArea.top + chartArea.bottom) / 2;\n\n\t\tif (yAlign === 'center') {\n\t\t\tlf = function(x) {\n\t\t\t\treturn x <= midX;\n\t\t\t};\n\t\t\trf = function(x) {\n\t\t\t\treturn x > midX;\n\t\t\t};\n\t\t} else {\n\t\t\tlf = function(x) {\n\t\t\t\treturn x <= (size.width / 2);\n\t\t\t};\n\t\t\trf = function(x) {\n\t\t\t\treturn x >= (chart.width - (size.width / 2));\n\t\t\t};\n\t\t}\n\n\t\tolf = function(x) {\n\t\t\treturn x + size.width > chart.width;\n\t\t};\n\t\torf = function(x) {\n\t\t\treturn x - size.width < 0;\n\t\t};\n\t\tyf = function(y) {\n\t\t\treturn y <= midY ? 'top' : 'bottom';\n\t\t};\n\n\t\tif (lf(model.x)) {\n\t\t\txAlign = 'left';\n\n\t\t\t// Is tooltip too wide and goes over the right side of the chart.?\n\t\t\tif (olf(model.x)) {\n\t\t\t\txAlign = 'center';\n\t\t\t\tyAlign = yf(model.y);\n\t\t\t}\n\t\t} else if (rf(model.x)) {\n\t\t\txAlign = 'right';\n\n\t\t\t// Is tooltip too wide and goes outside left edge of canvas?\n\t\t\tif (orf(model.x)) {\n\t\t\t\txAlign = 'center';\n\t\t\t\tyAlign = yf(model.y);\n\t\t\t}\n\t\t}\n\n\t\tvar opts = tooltip._options;\n\t\treturn {\n\t\t\txAlign: opts.xAlign ? opts.xAlign : xAlign,\n\t\t\tyAlign: opts.yAlign ? opts.yAlign : yAlign\n\t\t};\n\t}\n\n\t/**\n\t * @Helper to get the location a tooltip needs to be placed at given the initial position (via the vm) and the size and alignment\n\t */\n\tfunction getBackgroundPoint(vm, size, alignment) {\n\t\t// Background Position\n\t\tvar x = vm.x;\n\t\tvar y = vm.y;\n\n\t\tvar caretSize = vm.caretSize,\n\t\t\tcaretPadding = vm.caretPadding,\n\t\t\tcornerRadius = vm.cornerRadius,\n\t\t\txAlign = alignment.xAlign,\n\t\t\tyAlign = alignment.yAlign,\n\t\t\tpaddingAndSize = caretSize + caretPadding,\n\t\t\tradiusAndPadding = cornerRadius + caretPadding;\n\n\t\tif (xAlign === 'right') {\n\t\t\tx -= size.width;\n\t\t} else if (xAlign === 'center') {\n\t\t\tx -= (size.width / 2);\n\t\t}\n\n\t\tif (yAlign === 'top') {\n\t\t\ty += paddingAndSize;\n\t\t} else if (yAlign === 'bottom') {\n\t\t\ty -= size.height + paddingAndSize;\n\t\t} else {\n\t\t\ty -= (size.height / 2);\n\t\t}\n\n\t\tif (yAlign === 'center') {\n\t\t\tif (xAlign === 'left') {\n\t\t\t\tx += paddingAndSize;\n\t\t\t} else if (xAlign === 'right') {\n\t\t\t\tx -= paddingAndSize;\n\t\t\t}\n\t\t} else if (xAlign === 'left') {\n\t\t\tx -= radiusAndPadding;\n\t\t} else if (xAlign === 'right') {\n\t\t\tx += radiusAndPadding;\n\t\t}\n\n\t\treturn {\n\t\t\tx: x,\n\t\t\ty: y\n\t\t};\n\t}\n\n\tChart.Tooltip = Chart.Element.extend({\n\t\tinitialize: function() {\n\t\t\tthis._model = getBaseModel(this._options);\n\t\t},\n\n\t\t// Get the title\n\t\t// Args are: (tooltipItem, data)\n\t\tgetTitle: function() {\n\t\t\tvar me = this;\n\t\t\tvar opts = me._options;\n\t\t\tvar callbacks = opts.callbacks;\n\n\t\t\tvar beforeTitle = callbacks.beforeTitle.apply(me, arguments),\n\t\t\t\ttitle = callbacks.title.apply(me, arguments),\n\t\t\t\tafterTitle = callbacks.afterTitle.apply(me, arguments);\n\n\t\t\tvar lines = [];\n\t\t\tlines = pushOrConcat(lines, beforeTitle);\n\t\t\tlines = pushOrConcat(lines, title);\n\t\t\tlines = pushOrConcat(lines, afterTitle);\n\n\t\t\treturn lines;\n\t\t},\n\n\t\t// Args are: (tooltipItem, data)\n\t\tgetBeforeBody: function() {\n\t\t\tvar lines = this._options.callbacks.beforeBody.apply(this, arguments);\n\t\t\treturn helpers.isArray(lines) ? lines : lines !== undefined ? [lines] : [];\n\t\t},\n\n\t\t// Args are: (tooltipItem, data)\n\t\tgetBody: function(tooltipItems, data) {\n\t\t\tvar me = this;\n\t\t\tvar callbacks = me._options.callbacks;\n\t\t\tvar bodyItems = [];\n\n\t\t\thelpers.each(tooltipItems, function(tooltipItem) {\n\t\t\t\tvar bodyItem = {\n\t\t\t\t\tbefore: [],\n\t\t\t\t\tlines: [],\n\t\t\t\t\tafter: []\n\t\t\t\t};\n\t\t\t\tpushOrConcat(bodyItem.before, callbacks.beforeLabel.call(me, tooltipItem, data));\n\t\t\t\tpushOrConcat(bodyItem.lines, callbacks.label.call(me, tooltipItem, data));\n\t\t\t\tpushOrConcat(bodyItem.after, callbacks.afterLabel.call(me, tooltipItem, data));\n\n\t\t\t\tbodyItems.push(bodyItem);\n\t\t\t});\n\n\t\t\treturn bodyItems;\n\t\t},\n\n\t\t// Args are: (tooltipItem, data)\n\t\tgetAfterBody: function() {\n\t\t\tvar lines = this._options.callbacks.afterBody.apply(this, arguments);\n\t\t\treturn helpers.isArray(lines) ? lines : lines !== undefined ? [lines] : [];\n\t\t},\n\n\t\t// Get the footer and beforeFooter and afterFooter lines\n\t\t// Args are: (tooltipItem, data)\n\t\tgetFooter: function() {\n\t\t\tvar me = this;\n\t\t\tvar callbacks = me._options.callbacks;\n\n\t\t\tvar beforeFooter = callbacks.beforeFooter.apply(me, arguments);\n\t\t\tvar footer = callbacks.footer.apply(me, arguments);\n\t\t\tvar afterFooter = callbacks.afterFooter.apply(me, arguments);\n\n\t\t\tvar lines = [];\n\t\t\tlines = pushOrConcat(lines, beforeFooter);\n\t\t\tlines = pushOrConcat(lines, footer);\n\t\t\tlines = pushOrConcat(lines, afterFooter);\n\n\t\t\treturn lines;\n\t\t},\n\n\t\tupdate: function(changed) {\n\t\t\tvar me = this;\n\t\t\tvar opts = me._options;\n\n\t\t\t// Need to regenerate the model because its faster than using extend and it is necessary due to the optimization in Chart.Element.transition\n\t\t\t// that does _view = _model if ease === 1. This causes the 2nd tooltip update to set properties in both the view and model at the same time\n\t\t\t// which breaks any animations.\n\t\t\tvar existingModel = me._model;\n\t\t\tvar model = me._model = getBaseModel(opts);\n\t\t\tvar active = me._active;\n\n\t\t\tvar data = me._data;\n\n\t\t\t// In the case where active.length === 0 we need to keep these at existing values for good animations\n\t\t\tvar alignment = {\n\t\t\t\txAlign: existingModel.xAlign,\n\t\t\t\tyAlign: existingModel.yAlign\n\t\t\t};\n\t\t\tvar backgroundPoint = {\n\t\t\t\tx: existingModel.x,\n\t\t\t\ty: existingModel.y\n\t\t\t};\n\t\t\tvar tooltipSize = {\n\t\t\t\twidth: existingModel.width,\n\t\t\t\theight: existingModel.height\n\t\t\t};\n\t\t\tvar tooltipPosition = {\n\t\t\t\tx: existingModel.caretX,\n\t\t\t\ty: existingModel.caretY\n\t\t\t};\n\n\t\t\tvar i, len;\n\n\t\t\tif (active.length) {\n\t\t\t\tmodel.opacity = 1;\n\n\t\t\t\tvar labelColors = [];\n\t\t\t\ttooltipPosition = Chart.Tooltip.positioners[opts.position](active, me._eventPosition);\n\n\t\t\t\tvar tooltipItems = [];\n\t\t\t\tfor (i = 0, len = active.length; i < len; ++i) {\n\t\t\t\t\ttooltipItems.push(createTooltipItem(active[i]));\n\t\t\t\t}\n\n\t\t\t\t// If the user provided a filter function, use it to modify the tooltip items\n\t\t\t\tif (opts.filter) {\n\t\t\t\t\ttooltipItems = tooltipItems.filter(function(a) {\n\t\t\t\t\t\treturn opts.filter(a, data);\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t// If the user provided a sorting function, use it to modify the tooltip items\n\t\t\t\tif (opts.itemSort) {\n\t\t\t\t\ttooltipItems = tooltipItems.sort(function(a, b) {\n\t\t\t\t\t\treturn opts.itemSort(a, b, data);\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t// Determine colors for boxes\n\t\t\t\thelpers.each(tooltipItems, function(tooltipItem) {\n\t\t\t\t\tlabelColors.push(opts.callbacks.labelColor.call(me, tooltipItem, me._chart));\n\t\t\t\t});\n\n\t\t\t\t// Build the Text Lines\n\t\t\t\tmodel.title = me.getTitle(tooltipItems, data);\n\t\t\t\tmodel.beforeBody = me.getBeforeBody(tooltipItems, data);\n\t\t\t\tmodel.body = me.getBody(tooltipItems, data);\n\t\t\t\tmodel.afterBody = me.getAfterBody(tooltipItems, data);\n\t\t\t\tmodel.footer = me.getFooter(tooltipItems, data);\n\n\t\t\t\t// Initial positioning and colors\n\t\t\t\tmodel.x = Math.round(tooltipPosition.x);\n\t\t\t\tmodel.y = Math.round(tooltipPosition.y);\n\t\t\t\tmodel.caretPadding = opts.caretPadding;\n\t\t\t\tmodel.labelColors = labelColors;\n\n\t\t\t\t// data points\n\t\t\t\tmodel.dataPoints = tooltipItems;\n\n\t\t\t\t// We need to determine alignment of the tooltip\n\t\t\t\ttooltipSize = getTooltipSize(this, model);\n\t\t\t\talignment = determineAlignment(this, tooltipSize);\n\t\t\t\t// Final Size and Position\n\t\t\t\tbackgroundPoint = getBackgroundPoint(model, tooltipSize, alignment);\n\t\t\t} else {\n\t\t\t\tmodel.opacity = 0;\n\t\t\t}\n\n\t\t\tmodel.xAlign = alignment.xAlign;\n\t\t\tmodel.yAlign = alignment.yAlign;\n\t\t\tmodel.x = backgroundPoint.x;\n\t\t\tmodel.y = backgroundPoint.y;\n\t\t\tmodel.width = tooltipSize.width;\n\t\t\tmodel.height = tooltipSize.height;\n\n\t\t\t// Point where the caret on the tooltip points to\n\t\t\tmodel.caretX = tooltipPosition.x;\n\t\t\tmodel.caretY = tooltipPosition.y;\n\n\t\t\tme._model = model;\n\n\t\t\tif (changed && opts.custom) {\n\t\t\t\topts.custom.call(me, model);\n\t\t\t}\n\n\t\t\treturn me;\n\t\t},\n\t\tdrawCaret: function(tooltipPoint, size) {\n\t\t\tvar ctx = this._chart.ctx;\n\t\t\tvar vm = this._view;\n\t\t\tvar caretPosition = this.getCaretPosition(tooltipPoint, size, vm);\n\n\t\t\tctx.lineTo(caretPosition.x1, caretPosition.y1);\n\t\t\tctx.lineTo(caretPosition.x2, caretPosition.y2);\n\t\t\tctx.lineTo(caretPosition.x3, caretPosition.y3);\n\t\t},\n\t\tgetCaretPosition: function(tooltipPoint, size, vm) {\n\t\t\tvar x1, x2, x3;\n\t\t\tvar y1, y2, y3;\n\t\t\tvar caretSize = vm.caretSize;\n\t\t\tvar cornerRadius = vm.cornerRadius;\n\t\t\tvar xAlign = vm.xAlign,\n\t\t\t\tyAlign = vm.yAlign;\n\t\t\tvar ptX = tooltipPoint.x,\n\t\t\t\tptY = tooltipPoint.y;\n\t\t\tvar width = size.width,\n\t\t\t\theight = size.height;\n\n\t\t\tif (yAlign === 'center') {\n\t\t\t\ty2 = ptY + (height / 2);\n\n\t\t\t\tif (xAlign === 'left') {\n\t\t\t\t\tx1 = ptX;\n\t\t\t\t\tx2 = x1 - caretSize;\n\t\t\t\t\tx3 = x1;\n\n\t\t\t\t\ty1 = y2 + caretSize;\n\t\t\t\t\ty3 = y2 - caretSize;\n\t\t\t\t} else {\n\t\t\t\t\tx1 = ptX + width;\n\t\t\t\t\tx2 = x1 + caretSize;\n\t\t\t\t\tx3 = x1;\n\n\t\t\t\t\ty1 = y2 - caretSize;\n\t\t\t\t\ty3 = y2 + caretSize;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (xAlign === 'left') {\n\t\t\t\t\tx2 = ptX + cornerRadius + (caretSize);\n\t\t\t\t\tx1 = x2 - caretSize;\n\t\t\t\t\tx3 = x2 + caretSize;\n\t\t\t\t} else if (xAlign === 'right') {\n\t\t\t\t\tx2 = ptX + width - cornerRadius - caretSize;\n\t\t\t\t\tx1 = x2 - caretSize;\n\t\t\t\t\tx3 = x2 + caretSize;\n\t\t\t\t} else {\n\t\t\t\t\tx2 = ptX + (width / 2);\n\t\t\t\t\tx1 = x2 - caretSize;\n\t\t\t\t\tx3 = x2 + caretSize;\n\t\t\t\t}\n\t\t\t\tif (yAlign === 'top') {\n\t\t\t\t\ty1 = ptY;\n\t\t\t\t\ty2 = y1 - caretSize;\n\t\t\t\t\ty3 = y1;\n\t\t\t\t} else {\n\t\t\t\t\ty1 = ptY + height;\n\t\t\t\t\ty2 = y1 + caretSize;\n\t\t\t\t\ty3 = y1;\n\t\t\t\t\t// invert drawing order\n\t\t\t\t\tvar tmp = x3;\n\t\t\t\t\tx3 = x1;\n\t\t\t\t\tx1 = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn {x1: x1, x2: x2, x3: x3, y1: y1, y2: y2, y3: y3};\n\t\t},\n\t\tdrawTitle: function(pt, vm, ctx, opacity) {\n\t\t\tvar title = vm.title;\n\n\t\t\tif (title.length) {\n\t\t\t\tctx.textAlign = vm._titleAlign;\n\t\t\t\tctx.textBaseline = 'top';\n\n\t\t\t\tvar titleFontSize = vm.titleFontSize,\n\t\t\t\t\ttitleSpacing = vm.titleSpacing;\n\n\t\t\t\tctx.fillStyle = mergeOpacity(vm.titleFontColor, opacity);\n\t\t\t\tctx.font = helpers.fontString(titleFontSize, vm._titleFontStyle, vm._titleFontFamily);\n\n\t\t\t\tvar i, len;\n\t\t\t\tfor (i = 0, len = title.length; i < len; ++i) {\n\t\t\t\t\tctx.fillText(title[i], pt.x, pt.y);\n\t\t\t\t\tpt.y += titleFontSize + titleSpacing; // Line Height and spacing\n\n\t\t\t\t\tif (i + 1 === title.length) {\n\t\t\t\t\t\tpt.y += vm.titleMarginBottom - titleSpacing; // If Last, add margin, remove spacing\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tdrawBody: function(pt, vm, ctx, opacity) {\n\t\t\tvar bodyFontSize = vm.bodyFontSize;\n\t\t\tvar bodySpacing = vm.bodySpacing;\n\t\t\tvar body = vm.body;\n\n\t\t\tctx.textAlign = vm._bodyAlign;\n\t\t\tctx.textBaseline = 'top';\n\n\t\t\tvar textColor = mergeOpacity(vm.bodyFontColor, opacity);\n\t\t\tctx.fillStyle = textColor;\n\t\t\tctx.font = helpers.fontString(bodyFontSize, vm._bodyFontStyle, vm._bodyFontFamily);\n\n\t\t\t// Before Body\n\t\t\tvar xLinePadding = 0;\n\t\t\tvar fillLineOfText = function(line) {\n\t\t\t\tctx.fillText(line, pt.x + xLinePadding, pt.y);\n\t\t\t\tpt.y += bodyFontSize + bodySpacing;\n\t\t\t};\n\n\t\t\t// Before body lines\n\t\t\thelpers.each(vm.beforeBody, fillLineOfText);\n\n\t\t\tvar drawColorBoxes = vm.displayColors;\n\t\t\txLinePadding = drawColorBoxes ? (bodyFontSize + 2) : 0;\n\n\t\t\t// Draw body lines now\n\t\t\thelpers.each(body, function(bodyItem, i) {\n\t\t\t\thelpers.each(bodyItem.before, fillLineOfText);\n\n\t\t\t\thelpers.each(bodyItem.lines, function(line) {\n\t\t\t\t\t// Draw Legend-like boxes if needed\n\t\t\t\t\tif (drawColorBoxes) {\n\t\t\t\t\t\t// Fill a white rect so that colours merge nicely if the opacity is < 1\n\t\t\t\t\t\tctx.fillStyle = mergeOpacity(vm.legendColorBackground, opacity);\n\t\t\t\t\t\tctx.fillRect(pt.x, pt.y, bodyFontSize, bodyFontSize);\n\n\t\t\t\t\t\t// Border\n\t\t\t\t\t\tctx.strokeStyle = mergeOpacity(vm.labelColors[i].borderColor, opacity);\n\t\t\t\t\t\tctx.strokeRect(pt.x, pt.y, bodyFontSize, bodyFontSize);\n\n\t\t\t\t\t\t// Inner square\n\t\t\t\t\t\tctx.fillStyle = mergeOpacity(vm.labelColors[i].backgroundColor, opacity);\n\t\t\t\t\t\tctx.fillRect(pt.x + 1, pt.y + 1, bodyFontSize - 2, bodyFontSize - 2);\n\n\t\t\t\t\t\tctx.fillStyle = textColor;\n\t\t\t\t\t}\n\n\t\t\t\t\tfillLineOfText(line);\n\t\t\t\t});\n\n\t\t\t\thelpers.each(bodyItem.after, fillLineOfText);\n\t\t\t});\n\n\t\t\t// Reset back to 0 for after body\n\t\t\txLinePadding = 0;\n\n\t\t\t// After body lines\n\t\t\thelpers.each(vm.afterBody, fillLineOfText);\n\t\t\tpt.y -= bodySpacing; // Remove last body spacing\n\t\t},\n\t\tdrawFooter: function(pt, vm, ctx, opacity) {\n\t\t\tvar footer = vm.footer;\n\n\t\t\tif (footer.length) {\n\t\t\t\tpt.y += vm.footerMarginTop;\n\n\t\t\t\tctx.textAlign = vm._footerAlign;\n\t\t\t\tctx.textBaseline = 'top';\n\n\t\t\t\tctx.fillStyle = mergeOpacity(vm.footerFontColor, opacity);\n\t\t\t\tctx.font = helpers.fontString(vm.footerFontSize, vm._footerFontStyle, vm._footerFontFamily);\n\n\t\t\t\thelpers.each(footer, function(line) {\n\t\t\t\t\tctx.fillText(line, pt.x, pt.y);\n\t\t\t\t\tpt.y += vm.footerFontSize + vm.footerSpacing;\n\t\t\t\t});\n\t\t\t}\n\t\t},\n\t\tdrawBackground: function(pt, vm, ctx, tooltipSize, opacity) {\n\t\t\tctx.fillStyle = mergeOpacity(vm.backgroundColor, opacity);\n\t\t\tctx.strokeStyle = mergeOpacity(vm.borderColor, opacity);\n\t\t\tctx.lineWidth = vm.borderWidth;\n\t\t\tvar xAlign = vm.xAlign;\n\t\t\tvar yAlign = vm.yAlign;\n\t\t\tvar x = pt.x;\n\t\t\tvar y = pt.y;\n\t\t\tvar width = tooltipSize.width;\n\t\t\tvar height = tooltipSize.height;\n\t\t\tvar radius = vm.cornerRadius;\n\n\t\t\tctx.beginPath();\n\t\t\tctx.moveTo(x + radius, y);\n\t\t\tif (yAlign === 'top') {\n\t\t\t\tthis.drawCaret(pt, tooltipSize);\n\t\t\t}\n\t\t\tctx.lineTo(x + width - radius, y);\n\t\t\tctx.quadraticCurveTo(x + width, y, x + width, y + radius);\n\t\t\tif (yAlign === 'center' && xAlign === 'right') {\n\t\t\t\tthis.drawCaret(pt, tooltipSize);\n\t\t\t}\n\t\t\tctx.lineTo(x + width, y + height - radius);\n\t\t\tctx.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);\n\t\t\tif (yAlign === 'bottom') {\n\t\t\t\tthis.drawCaret(pt, tooltipSize);\n\t\t\t}\n\t\t\tctx.lineTo(x + radius, y + height);\n\t\t\tctx.quadraticCurveTo(x, y + height, x, y + height - radius);\n\t\t\tif (yAlign === 'center' && xAlign === 'left') {\n\t\t\t\tthis.drawCaret(pt, tooltipSize);\n\t\t\t}\n\t\t\tctx.lineTo(x, y + radius);\n\t\t\tctx.quadraticCurveTo(x, y, x + radius, y);\n\t\t\tctx.closePath();\n\n\t\t\tctx.fill();\n\n\t\t\tif (vm.borderWidth > 0) {\n\t\t\t\tctx.stroke();\n\t\t\t}\n\t\t},\n\t\tdraw: function() {\n\t\t\tvar ctx = this._chart.ctx;\n\t\t\tvar vm = this._view;\n\n\t\t\tif (vm.opacity === 0) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar tooltipSize = {\n\t\t\t\twidth: vm.width,\n\t\t\t\theight: vm.height\n\t\t\t};\n\t\t\tvar pt = {\n\t\t\t\tx: vm.x,\n\t\t\t\ty: vm.y\n\t\t\t};\n\n\t\t\t// IE11/Edge does not like very small opacities, so snap to 0\n\t\t\tvar opacity = Math.abs(vm.opacity < 1e-3) ? 0 : vm.opacity;\n\n\t\t\t// Truthy/falsey value for empty tooltip\n\t\t\tvar hasTooltipContent = vm.title.length || vm.beforeBody.length || vm.body.length || vm.afterBody.length || vm.footer.length;\n\n\t\t\tif (this._options.enabled && hasTooltipContent) {\n\t\t\t\t// Draw Background\n\t\t\t\tthis.drawBackground(pt, vm, ctx, tooltipSize, opacity);\n\n\t\t\t\t// Draw Title, Body, and Footer\n\t\t\t\tpt.x += vm.xPadding;\n\t\t\t\tpt.y += vm.yPadding;\n\n\t\t\t\t// Titles\n\t\t\t\tthis.drawTitle(pt, vm, ctx, opacity);\n\n\t\t\t\t// Body\n\t\t\t\tthis.drawBody(pt, vm, ctx, opacity);\n\n\t\t\t\t// Footer\n\t\t\t\tthis.drawFooter(pt, vm, ctx, opacity);\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Handle an event\n\t\t * @private\n\t\t * @param {IEvent} event - The event to handle\n\t\t * @returns {Boolean} true if the tooltip changed\n\t\t */\n\t\thandleEvent: function(e) {\n\t\t\tvar me = this;\n\t\t\tvar options = me._options;\n\t\t\tvar changed = false;\n\n\t\t\tme._lastActive = me._lastActive || [];\n\n\t\t\t// Find Active Elements for tooltips\n\t\t\tif (e.type === 'mouseout') {\n\t\t\t\tme._active = [];\n\t\t\t} else {\n\t\t\t\tme._active = me._chart.getElementsAtEventForMode(e, options.mode, options);\n\t\t\t}\n\n\t\t\t// Remember Last Actives\n\t\t\tchanged = !helpers.arrayEquals(me._active, me._lastActive);\n\n\t\t\t// If tooltip didn't change, do not handle the target event\n\t\t\tif (!changed) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tme._lastActive = me._active;\n\n\t\t\tif (options.enabled || options.custom) {\n\t\t\t\tme._eventPosition = {\n\t\t\t\t\tx: e.x,\n\t\t\t\t\ty: e.y\n\t\t\t\t};\n\n\t\t\t\tvar model = me._model;\n\t\t\t\tme.update(true);\n\t\t\t\tme.pivot();\n\n\t\t\t\t// See if our tooltip position changed\n\t\t\t\tchanged |= (model.x !== me._model.x) || (model.y !== me._model.y);\n\t\t\t}\n\n\t\t\treturn changed;\n\t\t}\n\t});\n\n\t/**\n\t * @namespace Chart.Tooltip.positioners\n\t */\n\tChart.Tooltip.positioners = {\n\t\t/**\n\t\t * Average mode places the tooltip at the average position of the elements shown\n\t\t * @function Chart.Tooltip.positioners.average\n\t\t * @param elements {ChartElement[]} the elements being displayed in the tooltip\n\t\t * @returns {Point} tooltip position\n\t\t */\n\t\taverage: function(elements) {\n\t\t\tif (!elements.length) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tvar i, len;\n\t\t\tvar x = 0;\n\t\t\tvar y = 0;\n\t\t\tvar count = 0;\n\n\t\t\tfor (i = 0, len = elements.length; i < len; ++i) {\n\t\t\t\tvar el = elements[i];\n\t\t\t\tif (el && el.hasValue()) {\n\t\t\t\t\tvar pos = el.tooltipPosition();\n\t\t\t\t\tx += pos.x;\n\t\t\t\t\ty += pos.y;\n\t\t\t\t\t++count;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn {\n\t\t\t\tx: Math.round(x / count),\n\t\t\t\ty: Math.round(y / count)\n\t\t\t};\n\t\t},\n\n\t\t/**\n\t\t * Gets the tooltip position nearest of the item nearest to the event position\n\t\t * @function Chart.Tooltip.positioners.nearest\n\t\t * @param elements {Chart.Element[]} the tooltip elements\n\t\t * @param eventPosition {Point} the position of the event in canvas coordinates\n\t\t * @returns {Point} the tooltip position\n\t\t */\n\t\tnearest: function(elements, eventPosition) {\n\t\t\tvar x = eventPosition.x;\n\t\t\tvar y = eventPosition.y;\n\n\t\t\tvar nearestElement;\n\t\t\tvar minDistance = Number.POSITIVE_INFINITY;\n\t\t\tvar i, len;\n\t\t\tfor (i = 0, len = elements.length; i < len; ++i) {\n\t\t\t\tvar el = elements[i];\n\t\t\t\tif (el && el.hasValue()) {\n\t\t\t\t\tvar center = el.getCenterPoint();\n\t\t\t\t\tvar d = helpers.distanceBetweenPoints(eventPosition, center);\n\n\t\t\t\t\tif (d < minDistance) {\n\t\t\t\t\t\tminDistance = d;\n\t\t\t\t\t\tnearestElement = el;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (nearestElement) {\n\t\t\t\tvar tp = nearestElement.tooltipPosition();\n\t\t\t\tx = tp.x;\n\t\t\t\ty = tp.y;\n\t\t\t}\n\n\t\t\treturn {\n\t\t\t\tx: x,\n\t\t\t\ty: y\n\t\t\t};\n\t\t}\n\t};\n};\n\n},{}],35:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers,\n\t\tglobalOpts = Chart.defaults.global;\n\n\tglobalOpts.elements.arc = {\n\t\tbackgroundColor: globalOpts.defaultColor,\n\t\tborderColor: '#fff',\n\t\tborderWidth: 2\n\t};\n\n\tChart.elements.Arc = Chart.Element.extend({\n\t\tinLabelRange: function(mouseX) {\n\t\t\tvar vm = this._view;\n\n\t\t\tif (vm) {\n\t\t\t\treturn (Math.pow(mouseX - vm.x, 2) < Math.pow(vm.radius + vm.hoverRadius, 2));\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tinRange: function(chartX, chartY) {\n\t\t\tvar vm = this._view;\n\n\t\t\tif (vm) {\n\t\t\t\tvar pointRelativePosition = helpers.getAngleFromPoint(vm, {\n\t\t\t\t\t\tx: chartX,\n\t\t\t\t\t\ty: chartY\n\t\t\t\t\t}),\n\t\t\t\t\tangle = pointRelativePosition.angle,\n\t\t\t\t\tdistance = pointRelativePosition.distance;\n\n\t\t\t\t// Sanitise angle range\n\t\t\t\tvar startAngle = vm.startAngle;\n\t\t\t\tvar endAngle = vm.endAngle;\n\t\t\t\twhile (endAngle < startAngle) {\n\t\t\t\t\tendAngle += 2.0 * Math.PI;\n\t\t\t\t}\n\t\t\t\twhile (angle > endAngle) {\n\t\t\t\t\tangle -= 2.0 * Math.PI;\n\t\t\t\t}\n\t\t\t\twhile (angle < startAngle) {\n\t\t\t\t\tangle += 2.0 * Math.PI;\n\t\t\t\t}\n\n\t\t\t\t// Check if within the range of the open/close angle\n\t\t\t\tvar betweenAngles = (angle >= startAngle && angle <= endAngle),\n\t\t\t\t\twithinRadius = (distance >= vm.innerRadius && distance <= vm.outerRadius);\n\n\t\t\t\treturn (betweenAngles && withinRadius);\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tgetCenterPoint: function() {\n\t\t\tvar vm = this._view;\n\t\t\tvar halfAngle = (vm.startAngle + vm.endAngle) / 2;\n\t\t\tvar halfRadius = (vm.innerRadius + vm.outerRadius) / 2;\n\t\t\treturn {\n\t\t\t\tx: vm.x + Math.cos(halfAngle) * halfRadius,\n\t\t\t\ty: vm.y + Math.sin(halfAngle) * halfRadius\n\t\t\t};\n\t\t},\n\t\tgetArea: function() {\n\t\t\tvar vm = this._view;\n\t\t\treturn Math.PI * ((vm.endAngle - vm.startAngle) / (2 * Math.PI)) * (Math.pow(vm.outerRadius, 2) - Math.pow(vm.innerRadius, 2));\n\t\t},\n\t\ttooltipPosition: function() {\n\t\t\tvar vm = this._view;\n\n\t\t\tvar centreAngle = vm.startAngle + ((vm.endAngle - vm.startAngle) / 2),\n\t\t\t\trangeFromCentre = (vm.outerRadius - vm.innerRadius) / 2 + vm.innerRadius;\n\t\t\treturn {\n\t\t\t\tx: vm.x + (Math.cos(centreAngle) * rangeFromCentre),\n\t\t\t\ty: vm.y + (Math.sin(centreAngle) * rangeFromCentre)\n\t\t\t};\n\t\t},\n\t\tdraw: function() {\n\n\t\t\tvar ctx = this._chart.ctx,\n\t\t\t\tvm = this._view,\n\t\t\t\tsA = vm.startAngle,\n\t\t\t\teA = vm.endAngle;\n\n\t\t\tctx.beginPath();\n\n\t\t\tctx.arc(vm.x, vm.y, vm.outerRadius, sA, eA);\n\t\t\tctx.arc(vm.x, vm.y, vm.innerRadius, eA, sA, true);\n\n\t\t\tctx.closePath();\n\t\t\tctx.strokeStyle = vm.borderColor;\n\t\t\tctx.lineWidth = vm.borderWidth;\n\n\t\t\tctx.fillStyle = vm.backgroundColor;\n\n\t\t\tctx.fill();\n\t\t\tctx.lineJoin = 'bevel';\n\n\t\t\tif (vm.borderWidth) {\n\t\t\t\tctx.stroke();\n\t\t\t}\n\t\t}\n\t});\n};\n\n},{}],36:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\tvar globalDefaults = Chart.defaults.global;\n\n\tChart.defaults.global.elements.line = {\n\t\ttension: 0.4,\n\t\tbackgroundColor: globalDefaults.defaultColor,\n\t\tborderWidth: 3,\n\t\tborderColor: globalDefaults.defaultColor,\n\t\tborderCapStyle: 'butt',\n\t\tborderDash: [],\n\t\tborderDashOffset: 0.0,\n\t\tborderJoinStyle: 'miter',\n\t\tcapBezierPoints: true,\n\t\tfill: true, // do we fill in the area between the line and its base axis\n\t};\n\n\tChart.elements.Line = Chart.Element.extend({\n\t\tdraw: function() {\n\t\t\tvar me = this;\n\t\t\tvar vm = me._view;\n\t\t\tvar ctx = me._chart.ctx;\n\t\t\tvar spanGaps = vm.spanGaps;\n\t\t\tvar points = me._children.slice(); // clone array\n\t\t\tvar globalOptionLineElements = globalDefaults.elements.line;\n\t\t\tvar lastDrawnIndex = -1;\n\t\t\tvar index, current, previous, currentVM;\n\n\t\t\t// If we are looping, adding the first point again\n\t\t\tif (me._loop && points.length) {\n\t\t\t\tpoints.push(points[0]);\n\t\t\t}\n\n\t\t\tctx.save();\n\n\t\t\t// Stroke Line Options\n\t\t\tctx.lineCap = vm.borderCapStyle || globalOptionLineElements.borderCapStyle;\n\n\t\t\t// IE 9 and 10 do not support line dash\n\t\t\tif (ctx.setLineDash) {\n\t\t\t\tctx.setLineDash(vm.borderDash || globalOptionLineElements.borderDash);\n\t\t\t}\n\n\t\t\tctx.lineDashOffset = vm.borderDashOffset || globalOptionLineElements.borderDashOffset;\n\t\t\tctx.lineJoin = vm.borderJoinStyle || globalOptionLineElements.borderJoinStyle;\n\t\t\tctx.lineWidth = vm.borderWidth || globalOptionLineElements.borderWidth;\n\t\t\tctx.strokeStyle = vm.borderColor || globalDefaults.defaultColor;\n\n\t\t\t// Stroke Line\n\t\t\tctx.beginPath();\n\t\t\tlastDrawnIndex = -1;\n\n\t\t\tfor (index = 0; index < points.length; ++index) {\n\t\t\t\tcurrent = points[index];\n\t\t\t\tprevious = helpers.previousItem(points, index);\n\t\t\t\tcurrentVM = current._view;\n\n\t\t\t\t// First point moves to it's starting position no matter what\n\t\t\t\tif (index === 0) {\n\t\t\t\t\tif (!currentVM.skip) {\n\t\t\t\t\t\tctx.moveTo(currentVM.x, currentVM.y);\n\t\t\t\t\t\tlastDrawnIndex = index;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tprevious = lastDrawnIndex === -1 ? previous : points[lastDrawnIndex];\n\n\t\t\t\t\tif (!currentVM.skip) {\n\t\t\t\t\t\tif ((lastDrawnIndex !== (index - 1) && !spanGaps) || lastDrawnIndex === -1) {\n\t\t\t\t\t\t\t// There was a gap and this is the first point after the gap\n\t\t\t\t\t\t\tctx.moveTo(currentVM.x, currentVM.y);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Line to next point\n\t\t\t\t\t\t\thelpers.canvas.lineTo(ctx, previous._view, current._view);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlastDrawnIndex = index;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tctx.stroke();\n\t\t\tctx.restore();\n\t\t}\n\t});\n};\n\n},{}],37:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers,\n\t\tglobalOpts = Chart.defaults.global,\n\t\tdefaultColor = globalOpts.defaultColor;\n\n\tglobalOpts.elements.point = {\n\t\tradius: 3,\n\t\tpointStyle: 'circle',\n\t\tbackgroundColor: defaultColor,\n\t\tborderWidth: 1,\n\t\tborderColor: defaultColor,\n\t\t// Hover\n\t\thitRadius: 1,\n\t\thoverRadius: 4,\n\t\thoverBorderWidth: 1\n\t};\n\n\tfunction xRange(mouseX) {\n\t\tvar vm = this._view;\n\t\treturn vm ? (Math.pow(mouseX - vm.x, 2) < Math.pow(vm.radius + vm.hitRadius, 2)) : false;\n\t}\n\n\tfunction yRange(mouseY) {\n\t\tvar vm = this._view;\n\t\treturn vm ? (Math.pow(mouseY - vm.y, 2) < Math.pow(vm.radius + vm.hitRadius, 2)) : false;\n\t}\n\n\tChart.elements.Point = Chart.Element.extend({\n\t\tinRange: function(mouseX, mouseY) {\n\t\t\tvar vm = this._view;\n\t\t\treturn vm ? ((Math.pow(mouseX - vm.x, 2) + Math.pow(mouseY - vm.y, 2)) < Math.pow(vm.hitRadius + vm.radius, 2)) : false;\n\t\t},\n\n\t\tinLabelRange: xRange,\n\t\tinXRange: xRange,\n\t\tinYRange: yRange,\n\n\t\tgetCenterPoint: function() {\n\t\t\tvar vm = this._view;\n\t\t\treturn {\n\t\t\t\tx: vm.x,\n\t\t\t\ty: vm.y\n\t\t\t};\n\t\t},\n\t\tgetArea: function() {\n\t\t\treturn Math.PI * Math.pow(this._view.radius, 2);\n\t\t},\n\t\ttooltipPosition: function() {\n\t\t\tvar vm = this._view;\n\t\t\treturn {\n\t\t\t\tx: vm.x,\n\t\t\t\ty: vm.y,\n\t\t\t\tpadding: vm.radius + vm.borderWidth\n\t\t\t};\n\t\t},\n\t\tdraw: function(chartArea) {\n\t\t\tvar vm = this._view;\n\t\t\tvar model = this._model;\n\t\t\tvar ctx = this._chart.ctx;\n\t\t\tvar pointStyle = vm.pointStyle;\n\t\t\tvar radius = vm.radius;\n\t\t\tvar x = vm.x;\n\t\t\tvar y = vm.y;\n\t\t\tvar color = Chart.helpers.color;\n\t\t\tvar errMargin = 1.01; // 1.01 is margin for Accumulated error. (Especially Edge, IE.)\n\t\t\tvar ratio = 0;\n\n\t\t\tif (vm.skip) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tctx.strokeStyle = vm.borderColor || defaultColor;\n\t\t\tctx.lineWidth = helpers.getValueOrDefault(vm.borderWidth, globalOpts.elements.point.borderWidth);\n\t\t\tctx.fillStyle = vm.backgroundColor || defaultColor;\n\n\t\t\t// Cliping for Points.\n\t\t\t// going out from inner charArea?\n\t\t\tif ((chartArea !== undefined) && ((model.x < chartArea.left) || (chartArea.right*errMargin < model.x) || (model.y < chartArea.top) || (chartArea.bottom*errMargin < model.y))) {\n\t\t\t\t// Point fade out\n\t\t\t\tif (model.x < chartArea.left) {\n\t\t\t\t\tratio = (x - model.x) / (chartArea.left - model.x);\n\t\t\t\t} else if (chartArea.right*errMargin < model.x) {\n\t\t\t\t\tratio = (model.x - x) / (model.x - chartArea.right);\n\t\t\t\t} else if (model.y < chartArea.top) {\n\t\t\t\t\tratio = (y - model.y) / (chartArea.top - model.y);\n\t\t\t\t} else if (chartArea.bottom*errMargin < model.y) {\n\t\t\t\t\tratio = (model.y - y) / (model.y - chartArea.bottom);\n\t\t\t\t}\n\t\t\t\tratio = Math.round(ratio*100) / 100;\n\t\t\t\tctx.strokeStyle = color(ctx.strokeStyle).alpha(ratio).rgbString();\n\t\t\t\tctx.fillStyle = color(ctx.fillStyle).alpha(ratio).rgbString();\n\t\t\t}\n\n\t\t\tChart.canvasHelpers.drawPoint(ctx, pointStyle, radius, x, y);\n\t\t}\n\t});\n};\n\n},{}],38:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar globalOpts = Chart.defaults.global;\n\n\tglobalOpts.elements.rectangle = {\n\t\tbackgroundColor: globalOpts.defaultColor,\n\t\tborderWidth: 0,\n\t\tborderColor: globalOpts.defaultColor,\n\t\tborderSkipped: 'bottom'\n\t};\n\n\tfunction isVertical(bar) {\n\t\treturn bar._view.width !== undefined;\n\t}\n\n\t/**\n\t * Helper function to get the bounds of the bar regardless of the orientation\n\t * @private\n\t * @param bar {Chart.Element.Rectangle} the bar\n\t * @return {Bounds} bounds of the bar\n\t */\n\tfunction getBarBounds(bar) {\n\t\tvar vm = bar._view;\n\t\tvar x1, x2, y1, y2;\n\n\t\tif (isVertical(bar)) {\n\t\t\t// vertical\n\t\t\tvar halfWidth = vm.width / 2;\n\t\t\tx1 = vm.x - halfWidth;\n\t\t\tx2 = vm.x + halfWidth;\n\t\t\ty1 = Math.min(vm.y, vm.base);\n\t\t\ty2 = Math.max(vm.y, vm.base);\n\t\t} else {\n\t\t\t// horizontal bar\n\t\t\tvar halfHeight = vm.height / 2;\n\t\t\tx1 = Math.min(vm.x, vm.base);\n\t\t\tx2 = Math.max(vm.x, vm.base);\n\t\t\ty1 = vm.y - halfHeight;\n\t\t\ty2 = vm.y + halfHeight;\n\t\t}\n\n\t\treturn {\n\t\t\tleft: x1,\n\t\t\ttop: y1,\n\t\t\tright: x2,\n\t\t\tbottom: y2\n\t\t};\n\t}\n\n\tChart.elements.Rectangle = Chart.Element.extend({\n\t\tdraw: function() {\n\t\t\tvar ctx = this._chart.ctx;\n\t\t\tvar vm = this._view;\n\t\t\tvar left, right, top, bottom, signX, signY, borderSkipped;\n\t\t\tvar borderWidth = vm.borderWidth;\n\n\t\t\tif (!vm.horizontal) {\n\t\t\t\t// bar\n\t\t\t\tleft = vm.x - vm.width / 2;\n\t\t\t\tright = vm.x + vm.width / 2;\n\t\t\t\ttop = vm.y;\n\t\t\t\tbottom = vm.base;\n\t\t\t\tsignX = 1;\n\t\t\t\tsignY = bottom > top? 1: -1;\n\t\t\t\tborderSkipped = vm.borderSkipped || 'bottom';\n\t\t\t} else {\n\t\t\t\t// horizontal bar\n\t\t\t\tleft = vm.base;\n\t\t\t\tright = vm.x;\n\t\t\t\ttop = vm.y - vm.height / 2;\n\t\t\t\tbottom = vm.y + vm.height / 2;\n\t\t\t\tsignX = right > left? 1: -1;\n\t\t\t\tsignY = 1;\n\t\t\t\tborderSkipped = vm.borderSkipped || 'left';\n\t\t\t}\n\n\t\t\t// Canvas doesn't allow us to stroke inside the width so we can\n\t\t\t// adjust the sizes to fit if we're setting a stroke on the line\n\t\t\tif (borderWidth) {\n\t\t\t\t// borderWidth shold be less than bar width and bar height.\n\t\t\t\tvar barSize = Math.min(Math.abs(left - right), Math.abs(top - bottom));\n\t\t\t\tborderWidth = borderWidth > barSize? barSize: borderWidth;\n\t\t\t\tvar halfStroke = borderWidth / 2;\n\t\t\t\t// Adjust borderWidth when bar top position is near vm.base(zero).\n\t\t\t\tvar borderLeft = left + (borderSkipped !== 'left'? halfStroke * signX: 0);\n\t\t\t\tvar borderRight = right + (borderSkipped !== 'right'? -halfStroke * signX: 0);\n\t\t\t\tvar borderTop = top + (borderSkipped !== 'top'? halfStroke * signY: 0);\n\t\t\t\tvar borderBottom = bottom + (borderSkipped !== 'bottom'? -halfStroke * signY: 0);\n\t\t\t\t// not become a vertical line?\n\t\t\t\tif (borderLeft !== borderRight) {\n\t\t\t\t\ttop = borderTop;\n\t\t\t\t\tbottom = borderBottom;\n\t\t\t\t}\n\t\t\t\t// not become a horizontal line?\n\t\t\t\tif (borderTop !== borderBottom) {\n\t\t\t\t\tleft = borderLeft;\n\t\t\t\t\tright = borderRight;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tctx.beginPath();\n\t\t\tctx.fillStyle = vm.backgroundColor;\n\t\t\tctx.strokeStyle = vm.borderColor;\n\t\t\tctx.lineWidth = borderWidth;\n\n\t\t\t// Corner points, from bottom-left to bottom-right clockwise\n\t\t\t// | 1 2 |\n\t\t\t// | 0 3 |\n\t\t\tvar corners = [\n\t\t\t\t[left, bottom],\n\t\t\t\t[left, top],\n\t\t\t\t[right, top],\n\t\t\t\t[right, bottom]\n\t\t\t];\n\n\t\t\t// Find first (starting) corner with fallback to 'bottom'\n\t\t\tvar borders = ['bottom', 'left', 'top', 'right'];\n\t\t\tvar startCorner = borders.indexOf(borderSkipped, 0);\n\t\t\tif (startCorner === -1) {\n\t\t\t\tstartCorner = 0;\n\t\t\t}\n\n\t\t\tfunction cornerAt(index) {\n\t\t\t\treturn corners[(startCorner + index) % 4];\n\t\t\t}\n\n\t\t\t// Draw rectangle from 'startCorner'\n\t\t\tvar corner = cornerAt(0);\n\t\t\tctx.moveTo(corner[0], corner[1]);\n\n\t\t\tfor (var i = 1; i < 4; i++) {\n\t\t\t\tcorner = cornerAt(i);\n\t\t\t\tctx.lineTo(corner[0], corner[1]);\n\t\t\t}\n\n\t\t\tctx.fill();\n\t\t\tif (borderWidth) {\n\t\t\t\tctx.stroke();\n\t\t\t}\n\t\t},\n\t\theight: function() {\n\t\t\tvar vm = this._view;\n\t\t\treturn vm.base - vm.y;\n\t\t},\n\t\tinRange: function(mouseX, mouseY) {\n\t\t\tvar inRange = false;\n\n\t\t\tif (this._view) {\n\t\t\t\tvar bounds = getBarBounds(this);\n\t\t\t\tinRange = mouseX >= bounds.left && mouseX <= bounds.right && mouseY >= bounds.top && mouseY <= bounds.bottom;\n\t\t\t}\n\n\t\t\treturn inRange;\n\t\t},\n\t\tinLabelRange: function(mouseX, mouseY) {\n\t\t\tvar me = this;\n\t\t\tif (!me._view) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tvar inRange = false;\n\t\t\tvar bounds = getBarBounds(me);\n\n\t\t\tif (isVertical(me)) {\n\t\t\t\tinRange = mouseX >= bounds.left && mouseX <= bounds.right;\n\t\t\t} else {\n\t\t\t\tinRange = mouseY >= bounds.top && mouseY <= bounds.bottom;\n\t\t\t}\n\n\t\t\treturn inRange;\n\t\t},\n\t\tinXRange: function(mouseX) {\n\t\t\tvar bounds = getBarBounds(this);\n\t\t\treturn mouseX >= bounds.left && mouseX <= bounds.right;\n\t\t},\n\t\tinYRange: function(mouseY) {\n\t\t\tvar bounds = getBarBounds(this);\n\t\t\treturn mouseY >= bounds.top && mouseY <= bounds.bottom;\n\t\t},\n\t\tgetCenterPoint: function() {\n\t\t\tvar vm = this._view;\n\t\t\tvar x, y;\n\t\t\tif (isVertical(this)) {\n\t\t\t\tx = vm.x;\n\t\t\t\ty = (vm.y + vm.base) / 2;\n\t\t\t} else {\n\t\t\t\tx = (vm.x + vm.base) / 2;\n\t\t\t\ty = vm.y;\n\t\t\t}\n\n\t\t\treturn {x: x, y: y};\n\t\t},\n\t\tgetArea: function() {\n\t\t\tvar vm = this._view;\n\t\t\treturn vm.width * Math.abs(vm.y - vm.base);\n\t\t},\n\t\ttooltipPosition: function() {\n\t\t\tvar vm = this._view;\n\t\t\treturn {\n\t\t\t\tx: vm.x,\n\t\t\t\ty: vm.y\n\t\t\t};\n\t\t}\n\t});\n\n};\n\n},{}],39:[function(require,module,exports){\n'use strict';\n\n// Chart.Platform implementation for targeting a web browser\nmodule.exports = function(Chart) {\n\tvar helpers = Chart.helpers;\n\n\t// DOM event types -> Chart.js event types.\n\t// Note: only events with different types are mapped.\n\t// https://developer.mozilla.org/en-US/docs/Web/Events\n\tvar eventTypeMap = {\n\t\t// Touch events\n\t\ttouchstart: 'mousedown',\n\t\ttouchmove: 'mousemove',\n\t\ttouchend: 'mouseup',\n\n\t\t// Pointer events\n\t\tpointerenter: 'mouseenter',\n\t\tpointerdown: 'mousedown',\n\t\tpointermove: 'mousemove',\n\t\tpointerup: 'mouseup',\n\t\tpointerleave: 'mouseout',\n\t\tpointerout: 'mouseout'\n\t};\n\n\t/**\n\t * The \"used\" size is the final value of a dimension property after all calculations have\n\t * been performed. This method uses the computed style of `element` but returns undefined\n\t * if the computed style is not expressed in pixels. That can happen in some cases where\n\t * `element` has a size relative to its parent and this last one is not yet displayed,\n\t * for example because of `display: none` on a parent node.\n\t * @see https://developer.mozilla.org/en-US/docs/Web/CSS/used_value\n\t * @returns {Number} Size in pixels or undefined if unknown.\n\t */\n\tfunction readUsedSize(element, property) {\n\t\tvar value = helpers.getStyle(element, property);\n\t\tvar matches = value && value.match(/^(\\d+)(\\.\\d+)?px$/);\n\t\treturn matches? Number(matches[1]) : undefined;\n\t}\n\n\t/**\n\t * Initializes the canvas style and render size without modifying the canvas display size,\n\t * since responsiveness is handled by the controller.resize() method. The config is used\n\t * to determine the aspect ratio to apply in case no explicit height has been specified.\n\t */\n\tfunction initCanvas(canvas, config) {\n\t\tvar style = canvas.style;\n\n\t\t// NOTE(SB) canvas.getAttribute('width') !== canvas.width: in the first case it\n\t\t// returns null or '' if no explicit value has been set to the canvas attribute.\n\t\tvar renderHeight = canvas.getAttribute('height');\n\t\tvar renderWidth = canvas.getAttribute('width');\n\n\t\t// Chart.js modifies some canvas values that we want to restore on destroy\n\t\tcanvas._chartjs = {\n\t\t\tinitial: {\n\t\t\t\theight: renderHeight,\n\t\t\t\twidth: renderWidth,\n\t\t\t\tstyle: {\n\t\t\t\t\tdisplay: style.display,\n\t\t\t\t\theight: style.height,\n\t\t\t\t\twidth: style.width\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\t// Force canvas to display as block to avoid extra space caused by inline\n\t\t// elements, which would interfere with the responsive resize process.\n\t\t// https://github.com/chartjs/Chart.js/issues/2538\n\t\tstyle.display = style.display || 'block';\n\n\t\tif (renderWidth === null || renderWidth === '') {\n\t\t\tvar displayWidth = readUsedSize(canvas, 'width');\n\t\t\tif (displayWidth !== undefined) {\n\t\t\t\tcanvas.width = displayWidth;\n\t\t\t}\n\t\t}\n\n\t\tif (renderHeight === null || renderHeight === '') {\n\t\t\tif (canvas.style.height === '') {\n\t\t\t\t// If no explicit render height and style height, let's apply the aspect ratio,\n\t\t\t\t// which one can be specified by the user but also by charts as default option\n\t\t\t\t// (i.e. options.aspectRatio). If not specified, use canvas aspect ratio of 2.\n\t\t\t\tcanvas.height = canvas.width / (config.options.aspectRatio || 2);\n\t\t\t} else {\n\t\t\t\tvar displayHeight = readUsedSize(canvas, 'height');\n\t\t\t\tif (displayWidth !== undefined) {\n\t\t\t\t\tcanvas.height = displayHeight;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn canvas;\n\t}\n\n\tfunction createEvent(type, chart, x, y, nativeEvent) {\n\t\treturn {\n\t\t\ttype: type,\n\t\t\tchart: chart,\n\t\t\tnative: nativeEvent || null,\n\t\t\tx: x !== undefined? x : null,\n\t\t\ty: y !== undefined? y : null,\n\t\t};\n\t}\n\n\tfunction fromNativeEvent(event, chart) {\n\t\tvar type = eventTypeMap[event.type] || event.type;\n\t\tvar pos = helpers.getRelativePosition(event, chart);\n\t\treturn createEvent(type, chart, pos.x, pos.y, event);\n\t}\n\n\tfunction createResizer(handler) {\n\t\tvar iframe = document.createElement('iframe');\n\t\tiframe.className = 'chartjs-hidden-iframe';\n\t\tiframe.style.cssText =\n\t\t\t'display:block;'+\n\t\t\t'overflow:hidden;'+\n\t\t\t'border:0;'+\n\t\t\t'margin:0;'+\n\t\t\t'top:0;'+\n\t\t\t'left:0;'+\n\t\t\t'bottom:0;'+\n\t\t\t'right:0;'+\n\t\t\t'height:100%;'+\n\t\t\t'width:100%;'+\n\t\t\t'position:absolute;'+\n\t\t\t'pointer-events:none;'+\n\t\t\t'z-index:-1;';\n\n\t\t// Prevent the iframe to gain focus on tab.\n\t\t// https://github.com/chartjs/Chart.js/issues/3090\n\t\tiframe.tabIndex = -1;\n\n\t\t// If the iframe is re-attached to the DOM, the resize listener is removed because the\n\t\t// content is reloaded, so make sure to install the handler after the iframe is loaded.\n\t\t// https://github.com/chartjs/Chart.js/issues/3521\n\t\thelpers.addEvent(iframe, 'load', function() {\n\t\t\thelpers.addEvent(iframe.contentWindow || iframe, 'resize', handler);\n\n\t\t\t// The iframe size might have changed while loading, which can also\n\t\t\t// happen if the size has been changed while detached from the DOM.\n\t\t\thandler();\n\t\t});\n\n\t\treturn iframe;\n\t}\n\n\tfunction addResizeListener(node, listener, chart) {\n\t\tvar stub = node._chartjs = {\n\t\t\tticking: false\n\t\t};\n\n\t\t// Throttle the callback notification until the next animation frame.\n\t\tvar notify = function() {\n\t\t\tif (!stub.ticking) {\n\t\t\t\tstub.ticking = true;\n\t\t\t\thelpers.requestAnimFrame.call(window, function() {\n\t\t\t\t\tif (stub.resizer) {\n\t\t\t\t\t\tstub.ticking = false;\n\t\t\t\t\t\treturn listener(createEvent('resize', chart));\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t};\n\n\t\t// Let's keep track of this added iframe and thus avoid DOM query when removing it.\n\t\tstub.resizer = createResizer(notify);\n\n\t\tnode.insertBefore(stub.resizer, node.firstChild);\n\t}\n\n\tfunction removeResizeListener(node) {\n\t\tif (!node || !node._chartjs) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar resizer = node._chartjs.resizer;\n\t\tif (resizer) {\n\t\t\tresizer.parentNode.removeChild(resizer);\n\t\t\tnode._chartjs.resizer = null;\n\t\t}\n\n\t\tdelete node._chartjs;\n\t}\n\n\treturn {\n\t\tacquireContext: function(item, config) {\n\t\t\tif (typeof item === 'string') {\n\t\t\t\titem = document.getElementById(item);\n\t\t\t} else if (item.length) {\n\t\t\t\t// Support for array based queries (such as jQuery)\n\t\t\t\titem = item[0];\n\t\t\t}\n\n\t\t\tif (item && item.canvas) {\n\t\t\t\t// Support for any object associated to a canvas (including a context2d)\n\t\t\t\titem = item.canvas;\n\t\t\t}\n\n\t\t\t// To prevent canvas fingerprinting, some add-ons undefine the getContext\n\t\t\t// method, for example: https://github.com/kkapsner/CanvasBlocker\n\t\t\t// https://github.com/chartjs/Chart.js/issues/2807\n\t\t\tvar context = item && item.getContext && item.getContext('2d');\n\n\t\t\t// `instanceof HTMLCanvasElement/CanvasRenderingContext2D` fails when the item is\n\t\t\t// inside an iframe or when running in a protected environment. We could guess the\n\t\t\t// types from their toString() value but let's keep things flexible and assume it's\n\t\t\t// a sufficient condition if the item has a context2D which has item as `canvas`.\n\t\t\t// https://github.com/chartjs/Chart.js/issues/3887\n\t\t\t// https://github.com/chartjs/Chart.js/issues/4102\n\t\t\t// https://github.com/chartjs/Chart.js/issues/4152\n\t\t\tif (context && context.canvas === item) {\n\t\t\t\tinitCanvas(item, config);\n\t\t\t\treturn context;\n\t\t\t}\n\n\t\t\treturn null;\n\t\t},\n\n\t\treleaseContext: function(context) {\n\t\t\tvar canvas = context.canvas;\n\t\t\tif (!canvas._chartjs) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar initial = canvas._chartjs.initial;\n\t\t\t['height', 'width'].forEach(function(prop) {\n\t\t\t\tvar value = initial[prop];\n\t\t\t\tif (value === undefined || value === null) {\n\t\t\t\t\tcanvas.removeAttribute(prop);\n\t\t\t\t} else {\n\t\t\t\t\tcanvas.setAttribute(prop, value);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\thelpers.each(initial.style || {}, function(value, key) {\n\t\t\t\tcanvas.style[key] = value;\n\t\t\t});\n\n\t\t\t// The canvas render size might have been changed (and thus the state stack discarded),\n\t\t\t// we can't use save() and restore() to restore the initial state. So make sure that at\n\t\t\t// least the canvas context is reset to the default state by setting the canvas width.\n\t\t\t// https://www.w3.org/TR/2011/WD-html5-20110525/the-canvas-element.html\n\t\t\tcanvas.width = canvas.width;\n\n\t\t\tdelete canvas._chartjs;\n\t\t},\n\n\t\taddEventListener: function(chart, type, listener) {\n\t\t\tvar canvas = chart.canvas;\n\t\t\tif (type === 'resize') {\n\t\t\t\t// Note: the resize event is not supported on all browsers.\n\t\t\t\taddResizeListener(canvas.parentNode, listener, chart);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar stub = listener._chartjs || (listener._chartjs = {});\n\t\t\tvar proxies = stub.proxies || (stub.proxies = {});\n\t\t\tvar proxy = proxies[chart.id + '_' + type] = function(event) {\n\t\t\t\tlistener(fromNativeEvent(event, chart));\n\t\t\t};\n\n\t\t\thelpers.addEvent(canvas, type, proxy);\n\t\t},\n\n\t\tremoveEventListener: function(chart, type, listener) {\n\t\t\tvar canvas = chart.canvas;\n\t\t\tif (type === 'resize') {\n\t\t\t\t// Note: the resize event is not supported on all browsers.\n\t\t\t\tremoveResizeListener(canvas.parentNode, listener);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar stub = listener._chartjs || {};\n\t\t\tvar proxies = stub.proxies || {};\n\t\t\tvar proxy = proxies[chart.id + '_' + type];\n\t\t\tif (!proxy) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\thelpers.removeEvent(canvas, type, proxy);\n\t\t}\n\t};\n};\n\n},{}],40:[function(require,module,exports){\n'use strict';\n\n// By default, select the browser (DOM) platform.\n// @TODO Make possible to select another platform at build time.\nvar implementation = require(39);\n\nmodule.exports = function(Chart) {\n\t/**\n\t * @namespace Chart.platform\n\t * @see https://chartjs.gitbooks.io/proposals/content/Platform.html\n\t * @since 2.4.0\n\t */\n\tChart.platform = {\n\t\t/**\n\t\t * Called at chart construction time, returns a context2d instance implementing\n\t\t * the [W3C Canvas 2D Context API standard]{@link https://www.w3.org/TR/2dcontext/}.\n\t\t * @param {*} item - The native item from which to acquire context (platform specific)\n\t\t * @param {Object} options - The chart options\n\t\t * @returns {CanvasRenderingContext2D} context2d instance\n\t\t */\n\t\tacquireContext: function() {},\n\n\t\t/**\n\t\t * Called at chart destruction time, releases any resources associated to the context\n\t\t * previously returned by the acquireContext() method.\n\t\t * @param {CanvasRenderingContext2D} context - The context2d instance\n\t\t * @returns {Boolean} true if the method succeeded, else false\n\t\t */\n\t\treleaseContext: function() {},\n\n\t\t/**\n\t\t * Registers the specified listener on the given chart.\n\t\t * @param {Chart} chart - Chart from which to listen for event\n\t\t * @param {String} type - The ({@link IEvent}) type to listen for\n\t\t * @param {Function} listener - Receives a notification (an object that implements\n\t\t * the {@link IEvent} interface) when an event of the specified type occurs.\n\t\t */\n\t\taddEventListener: function() {},\n\n\t\t/**\n\t\t * Removes the specified listener previously registered with addEventListener.\n\t\t * @param {Chart} chart -Chart from which to remove the listener\n\t\t * @param {String} type - The ({@link IEvent}) type to remove\n\t\t * @param {Function} listener - The listener function to remove from the event target.\n\t\t */\n\t\tremoveEventListener: function() {}\n\t};\n\n\t/**\n\t * @interface IPlatform\n\t * Allows abstracting platform dependencies away from the chart\n\t * @borrows Chart.platform.acquireContext as acquireContext\n\t * @borrows Chart.platform.releaseContext as releaseContext\n\t * @borrows Chart.platform.addEventListener as addEventListener\n\t * @borrows Chart.platform.removeEventListener as removeEventListener\n\t */\n\n\t/**\n\t * @interface IEvent\n\t * @prop {String} type - The event type name, possible values are:\n\t * 'contextmenu', 'mouseenter', 'mousedown', 'mousemove', 'mouseup', 'mouseout',\n\t * 'click', 'dblclick', 'keydown', 'keypress', 'keyup' and 'resize'\n\t * @prop {*} native - The original native event (null for emulated events, e.g. 'resize')\n\t * @prop {Number} x - The mouse x position, relative to the canvas (null for incompatible events)\n\t * @prop {Number} y - The mouse y position, relative to the canvas (null for incompatible events)\n\t */\n\n\tChart.helpers.extend(Chart.platform, implementation(Chart));\n};\n\n},{\"39\":39}],41:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\t/**\n\t * Plugin based on discussion from the following Chart.js issues:\n\t * @see https://github.com/chartjs/Chart.js/issues/2380#issuecomment-279961569\n\t * @see https://github.com/chartjs/Chart.js/issues/2440#issuecomment-256461897\n\t */\n\tChart.defaults.global.plugins.filler = {\n\t\tpropagate: true\n\t};\n\n\tvar defaults = Chart.defaults;\n\tvar helpers = Chart.helpers;\n\tvar mappers = {\n\t\tdataset: function(source) {\n\t\t\tvar index = source.fill;\n\t\t\tvar chart = source.chart;\n\t\t\tvar meta = chart.getDatasetMeta(index);\n\t\t\tvar visible = meta && chart.isDatasetVisible(index);\n\t\t\tvar points = (visible && meta.dataset._children) || [];\n\n\t\t\treturn !points.length? null : function(point, i) {\n\t\t\t\treturn points[i]._view || null;\n\t\t\t};\n\t\t},\n\n\t\tboundary: function(source) {\n\t\t\tvar boundary = source.boundary;\n\t\t\tvar x = boundary? boundary.x : null;\n\t\t\tvar y = boundary? boundary.y : null;\n\n\t\t\treturn function(point) {\n\t\t\t\treturn {\n\t\t\t\t\tx: x === null? point.x : x,\n\t\t\t\t\ty: y === null? point.y : y,\n\t\t\t\t};\n\t\t\t};\n\t\t}\n\t};\n\n\t// @todo if (fill[0] === '#')\n\tfunction decodeFill(el, index, count) {\n\t\tvar model = el._model || {};\n\t\tvar fill = model.fill;\n\t\tvar target;\n\n\t\tif (fill === undefined) {\n\t\t\tfill = !!model.backgroundColor;\n\t\t}\n\n\t\tif (fill === false || fill === null) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif (fill === true) {\n\t\t\treturn 'origin';\n\t\t}\n\n\t\ttarget = parseFloat(fill, 10);\n\t\tif (isFinite(target) && Math.floor(target) === target) {\n\t\t\tif (fill[0] === '-' || fill[0] === '+') {\n\t\t\t\ttarget = index + target;\n\t\t\t}\n\n\t\t\tif (target === index || target < 0 || target >= count) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\treturn target;\n\t\t}\n\n\t\tswitch (fill) {\n\t\t// compatibility\n\t\tcase 'bottom':\n\t\t\treturn 'start';\n\t\tcase 'top':\n\t\t\treturn 'end';\n\t\tcase 'zero':\n\t\t\treturn 'origin';\n\t\t// supported boundaries\n\t\tcase 'origin':\n\t\tcase 'start':\n\t\tcase 'end':\n\t\t\treturn fill;\n\t\t// invalid fill values\n\t\tdefault:\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tfunction computeBoundary(source) {\n\t\tvar model = source.el._model || {};\n\t\tvar scale = source.el._scale || {};\n\t\tvar fill = source.fill;\n\t\tvar target = null;\n\t\tvar horizontal;\n\n\t\tif (isFinite(fill)) {\n\t\t\treturn null;\n\t\t}\n\n\t\t// Backward compatibility: until v3, we still need to support boundary values set on\n\t\t// the model (scaleTop, scaleBottom and scaleZero) because some external plugins and\n\t\t// controllers might still use it (e.g. the Smith chart).\n\n\t\tif (fill === 'start') {\n\t\t\ttarget = model.scaleBottom === undefined? scale.bottom : model.scaleBottom;\n\t\t} else if (fill === 'end') {\n\t\t\ttarget = model.scaleTop === undefined? scale.top : model.scaleTop;\n\t\t} else if (model.scaleZero !== undefined) {\n\t\t\ttarget = model.scaleZero;\n\t\t} else if (scale.getBasePosition) {\n\t\t\ttarget = scale.getBasePosition();\n\t\t} else if (scale.getBasePixel) {\n\t\t\ttarget = scale.getBasePixel();\n\t\t}\n\n\t\tif (target !== undefined && target !== null) {\n\t\t\tif (target.x !== undefined && target.y !== undefined) {\n\t\t\t\treturn target;\n\t\t\t}\n\n\t\t\tif (typeof target === 'number' && isFinite(target)) {\n\t\t\t\thorizontal = scale.isHorizontal();\n\t\t\t\treturn {\n\t\t\t\t\tx: horizontal? target : null,\n\t\t\t\t\ty: horizontal? null : target\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\treturn null;\n\t}\n\n\tfunction resolveTarget(sources, index, propagate) {\n\t\tvar source = sources[index];\n\t\tvar fill = source.fill;\n\t\tvar visited = [index];\n\t\tvar target;\n\n\t\tif (!propagate) {\n\t\t\treturn fill;\n\t\t}\n\n\t\twhile (fill !== false && visited.indexOf(fill) === -1) {\n\t\t\tif (!isFinite(fill)) {\n\t\t\t\treturn fill;\n\t\t\t}\n\n\t\t\ttarget = sources[fill];\n\t\t\tif (!target) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tif (target.visible) {\n\t\t\t\treturn fill;\n\t\t\t}\n\n\t\t\tvisited.push(fill);\n\t\t\tfill = target.fill;\n\t\t}\n\n\t\treturn false;\n\t}\n\n\tfunction createMapper(source) {\n\t\tvar fill = source.fill;\n\t\tvar type = 'dataset';\n\n\t\tif (fill === false) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif (!isFinite(fill)) {\n\t\t\ttype = 'boundary';\n\t\t}\n\n\t\treturn mappers[type](source);\n\t}\n\n\tfunction isDrawable(point) {\n\t\treturn point && !point.skip;\n\t}\n\n\tfunction drawArea(ctx, curve0, curve1, len0, len1) {\n\t\tvar i;\n\n\t\tif (!len0 || !len1) {\n\t\t\treturn;\n\t\t}\n\n\t\t// building first area curve (normal)\n\t\tctx.moveTo(curve0[0].x, curve0[0].y);\n\t\tfor (i=1; i<len0; ++i) {\n\t\t\thelpers.canvas.lineTo(ctx, curve0[i-1], curve0[i]);\n\t\t}\n\n\t\t// joining the two area curves\n\t\tctx.lineTo(curve1[len1-1].x, curve1[len1-1].y);\n\n\t\t// building opposite area curve (reverse)\n\t\tfor (i=len1-1; i>0; --i) {\n\t\t\thelpers.canvas.lineTo(ctx, curve1[i], curve1[i-1], true);\n\t\t}\n\t}\n\n\tfunction doFill(ctx, points, mapper, view, color, loop) {\n\t\tvar count = points.length;\n\t\tvar span = view.spanGaps;\n\t\tvar curve0 = [];\n\t\tvar curve1 = [];\n\t\tvar len0 = 0;\n\t\tvar len1 = 0;\n\t\tvar i, ilen, index, p0, p1, d0, d1;\n\n\t\tctx.beginPath();\n\n\t\tfor (i = 0, ilen = (count + !!loop); i < ilen; ++i) {\n\t\t\tindex = i%count;\n\t\t\tp0 = points[index]._view;\n\t\t\tp1 = mapper(p0, index, view);\n\t\t\td0 = isDrawable(p0);\n\t\t\td1 = isDrawable(p1);\n\n\t\t\tif (d0 && d1) {\n\t\t\t\tlen0 = curve0.push(p0);\n\t\t\t\tlen1 = curve1.push(p1);\n\t\t\t} else if (len0 && len1) {\n\t\t\t\tif (!span) {\n\t\t\t\t\tdrawArea(ctx, curve0, curve1, len0, len1);\n\t\t\t\t\tlen0 = len1 = 0;\n\t\t\t\t\tcurve0 = [];\n\t\t\t\t\tcurve1 = [];\n\t\t\t\t} else {\n\t\t\t\t\tif (d0) {\n\t\t\t\t\t\tcurve0.push(p0);\n\t\t\t\t\t}\n\t\t\t\t\tif (d1) {\n\t\t\t\t\t\tcurve1.push(p1);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tdrawArea(ctx, curve0, curve1, len0, len1);\n\n\t\tctx.closePath();\n\t\tctx.fillStyle = color;\n\t\tctx.fill();\n\t}\n\n\treturn {\n\t\tid: 'filler',\n\n\t\tafterDatasetsUpdate: function(chart, options) {\n\t\t\tvar count = (chart.data.datasets || []).length;\n\t\t\tvar propagate = options.propagate;\n\t\t\tvar sources = [];\n\t\t\tvar meta, i, el, source;\n\n\t\t\tfor (i = 0; i < count; ++i) {\n\t\t\t\tmeta = chart.getDatasetMeta(i);\n\t\t\t\tel = meta.dataset;\n\t\t\t\tsource = null;\n\n\t\t\t\tif (el && el._model && el instanceof Chart.elements.Line) {\n\t\t\t\t\tsource = {\n\t\t\t\t\t\tvisible: chart.isDatasetVisible(i),\n\t\t\t\t\t\tfill: decodeFill(el, i, count),\n\t\t\t\t\t\tchart: chart,\n\t\t\t\t\t\tel: el\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\tmeta.$filler = source;\n\t\t\t\tsources.push(source);\n\t\t\t}\n\n\t\t\tfor (i=0; i<count; ++i) {\n\t\t\t\tsource = sources[i];\n\t\t\t\tif (!source) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tsource.fill = resolveTarget(sources, i, propagate);\n\t\t\t\tsource.boundary = computeBoundary(source);\n\t\t\t\tsource.mapper = createMapper(source);\n\t\t\t}\n\t\t},\n\n\t\tbeforeDatasetDraw: function(chart, args) {\n\t\t\tvar meta = args.meta.$filler;\n\t\t\tif (!meta) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar el = meta.el;\n\t\t\tvar view = el._view;\n\t\t\tvar points = el._children || [];\n\t\t\tvar mapper = meta.mapper;\n\t\t\tvar color = view.backgroundColor || defaults.global.defaultColor;\n\n\t\t\tif (mapper && color && points.length) {\n\t\t\t\tdoFill(chart.ctx, points, mapper, view, color, el._loop);\n\t\t\t}\n\t\t}\n\t};\n};\n\n},{}],42:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\tvar layout = Chart.layoutService;\n\tvar noop = helpers.noop;\n\n\tChart.defaults.global.legend = {\n\t\tdisplay: true,\n\t\tposition: 'top',\n\t\tfullWidth: true,\n\t\treverse: false,\n\t\tweight: 1000,\n\n\t\t// a callback that will handle\n\t\tonClick: function(e, legendItem) {\n\t\t\tvar index = legendItem.datasetIndex;\n\t\t\tvar ci = this.chart;\n\t\t\tvar meta = ci.getDatasetMeta(index);\n\n\t\t\t// See controller.isDatasetVisible comment\n\t\t\tmeta.hidden = meta.hidden === null? !ci.data.datasets[index].hidden : null;\n\n\t\t\t// We hid a dataset ... rerender the chart\n\t\t\tci.update();\n\t\t},\n\n\t\tonHover: null,\n\n\t\tlabels: {\n\t\t\tboxWidth: 40,\n\t\t\tpadding: 10,\n\t\t\t// Generates labels shown in the legend\n\t\t\t// Valid properties to return:\n\t\t\t// text : text to display\n\t\t\t// fillStyle : fill of coloured box\n\t\t\t// strokeStyle: stroke of coloured box\n\t\t\t// hidden : if this legend item refers to a hidden item\n\t\t\t// lineCap : cap style for line\n\t\t\t// lineDash\n\t\t\t// lineDashOffset :\n\t\t\t// lineJoin :\n\t\t\t// lineWidth :\n\t\t\tgenerateLabels: function(chart) {\n\t\t\t\tvar data = chart.data;\n\t\t\t\treturn helpers.isArray(data.datasets) ? data.datasets.map(function(dataset, i) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttext: dataset.label,\n\t\t\t\t\t\tfillStyle: (!helpers.isArray(dataset.backgroundColor) ? dataset.backgroundColor : dataset.backgroundColor[0]),\n\t\t\t\t\t\thidden: !chart.isDatasetVisible(i),\n\t\t\t\t\t\tlineCap: dataset.borderCapStyle,\n\t\t\t\t\t\tlineDash: dataset.borderDash,\n\t\t\t\t\t\tlineDashOffset: dataset.borderDashOffset,\n\t\t\t\t\t\tlineJoin: dataset.borderJoinStyle,\n\t\t\t\t\t\tlineWidth: dataset.borderWidth,\n\t\t\t\t\t\tstrokeStyle: dataset.borderColor,\n\t\t\t\t\t\tpointStyle: dataset.pointStyle,\n\n\t\t\t\t\t\t// Below is extra data used for toggling the datasets\n\t\t\t\t\t\tdatasetIndex: i\n\t\t\t\t\t};\n\t\t\t\t}, this) : [];\n\t\t\t}\n\t\t}\n\t};\n\n\t/**\n\t * Helper function to get the box width based on the usePointStyle option\n\t * @param labelopts {Object} the label options on the legend\n\t * @param fontSize {Number} the label font size\n\t * @return {Number} width of the color box area\n\t */\n\tfunction getBoxWidth(labelOpts, fontSize) {\n\t\treturn labelOpts.usePointStyle ?\n\t\t\tfontSize * Math.SQRT2 :\n\t\t\tlabelOpts.boxWidth;\n\t}\n\n\tChart.Legend = Chart.Element.extend({\n\n\t\tinitialize: function(config) {\n\t\t\thelpers.extend(this, config);\n\n\t\t\t// Contains hit boxes for each dataset (in dataset order)\n\t\t\tthis.legendHitBoxes = [];\n\n\t\t\t// Are we in doughnut mode which has a different data type\n\t\t\tthis.doughnutMode = false;\n\t\t},\n\n\t\t// These methods are ordered by lifecycle. Utilities then follow.\n\t\t// Any function defined here is inherited by all legend types.\n\t\t// Any function can be extended by the legend type\n\n\t\tbeforeUpdate: noop,\n\t\tupdate: function(maxWidth, maxHeight, margins) {\n\t\t\tvar me = this;\n\n\t\t\t// Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)\n\t\t\tme.beforeUpdate();\n\n\t\t\t// Absorb the master measurements\n\t\t\tme.maxWidth = maxWidth;\n\t\t\tme.maxHeight = maxHeight;\n\t\t\tme.margins = margins;\n\n\t\t\t// Dimensions\n\t\t\tme.beforeSetDimensions();\n\t\t\tme.setDimensions();\n\t\t\tme.afterSetDimensions();\n\t\t\t// Labels\n\t\t\tme.beforeBuildLabels();\n\t\t\tme.buildLabels();\n\t\t\tme.afterBuildLabels();\n\n\t\t\t// Fit\n\t\t\tme.beforeFit();\n\t\t\tme.fit();\n\t\t\tme.afterFit();\n\t\t\t//\n\t\t\tme.afterUpdate();\n\n\t\t\treturn me.minSize;\n\t\t},\n\t\tafterUpdate: noop,\n\n\t\t//\n\n\t\tbeforeSetDimensions: noop,\n\t\tsetDimensions: function() {\n\t\t\tvar me = this;\n\t\t\t// Set the unconstrained dimension before label rotation\n\t\t\tif (me.isHorizontal()) {\n\t\t\t\t// Reset position before calculating rotation\n\t\t\t\tme.width = me.maxWidth;\n\t\t\t\tme.left = 0;\n\t\t\t\tme.right = me.width;\n\t\t\t} else {\n\t\t\t\tme.height = me.maxHeight;\n\n\t\t\t\t// Reset position before calculating rotation\n\t\t\t\tme.top = 0;\n\t\t\t\tme.bottom = me.height;\n\t\t\t}\n\n\t\t\t// Reset padding\n\t\t\tme.paddingLeft = 0;\n\t\t\tme.paddingTop = 0;\n\t\t\tme.paddingRight = 0;\n\t\t\tme.paddingBottom = 0;\n\n\t\t\t// Reset minSize\n\t\t\tme.minSize = {\n\t\t\t\twidth: 0,\n\t\t\t\theight: 0\n\t\t\t};\n\t\t},\n\t\tafterSetDimensions: noop,\n\n\t\t//\n\n\t\tbeforeBuildLabels: noop,\n\t\tbuildLabels: function() {\n\t\t\tvar me = this;\n\t\t\tvar labelOpts = me.options.labels;\n\t\t\tvar legendItems = labelOpts.generateLabels.call(me, me.chart);\n\n\t\t\tif (labelOpts.filter) {\n\t\t\t\tlegendItems = legendItems.filter(function(item) {\n\t\t\t\t\treturn labelOpts.filter(item, me.chart.data);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tif (me.options.reverse) {\n\t\t\t\tlegendItems.reverse();\n\t\t\t}\n\n\t\t\tme.legendItems = legendItems;\n\t\t},\n\t\tafterBuildLabels: noop,\n\n\t\t//\n\n\t\tbeforeFit: noop,\n\t\tfit: function() {\n\t\t\tvar me = this;\n\t\t\tvar opts = me.options;\n\t\t\tvar labelOpts = opts.labels;\n\t\t\tvar display = opts.display;\n\n\t\t\tvar ctx = me.ctx;\n\n\t\t\tvar globalDefault = Chart.defaults.global,\n\t\t\t\titemOrDefault = helpers.getValueOrDefault,\n\t\t\t\tfontSize = itemOrDefault(labelOpts.fontSize, globalDefault.defaultFontSize),\n\t\t\t\tfontStyle = itemOrDefault(labelOpts.fontStyle, globalDefault.defaultFontStyle),\n\t\t\t\tfontFamily = itemOrDefault(labelOpts.fontFamily, globalDefault.defaultFontFamily),\n\t\t\t\tlabelFont = helpers.fontString(fontSize, fontStyle, fontFamily);\n\n\t\t\t// Reset hit boxes\n\t\t\tvar hitboxes = me.legendHitBoxes = [];\n\n\t\t\tvar minSize = me.minSize;\n\t\t\tvar isHorizontal = me.isHorizontal();\n\n\t\t\tif (isHorizontal) {\n\t\t\t\tminSize.width = me.maxWidth; // fill all the width\n\t\t\t\tminSize.height = display ? 10 : 0;\n\t\t\t} else {\n\t\t\t\tminSize.width = display ? 10 : 0;\n\t\t\t\tminSize.height = me.maxHeight; // fill all the height\n\t\t\t}\n\n\t\t\t// Increase sizes here\n\t\t\tif (display) {\n\t\t\t\tctx.font = labelFont;\n\n\t\t\t\tif (isHorizontal) {\n\t\t\t\t\t// Labels\n\n\t\t\t\t\t// Width of each line of legend boxes. Labels wrap onto multiple lines when there are too many to fit on one\n\t\t\t\t\tvar lineWidths = me.lineWidths = [0];\n\t\t\t\t\tvar totalHeight = me.legendItems.length ? fontSize + (labelOpts.padding) : 0;\n\n\t\t\t\t\tctx.textAlign = 'left';\n\t\t\t\t\tctx.textBaseline = 'top';\n\n\t\t\t\t\thelpers.each(me.legendItems, function(legendItem, i) {\n\t\t\t\t\t\tvar boxWidth = getBoxWidth(labelOpts, fontSize);\n\t\t\t\t\t\tvar width = boxWidth + (fontSize / 2) + ctx.measureText(legendItem.text).width;\n\n\t\t\t\t\t\tif (lineWidths[lineWidths.length - 1] + width + labelOpts.padding >= me.width) {\n\t\t\t\t\t\t\ttotalHeight += fontSize + (labelOpts.padding);\n\t\t\t\t\t\t\tlineWidths[lineWidths.length] = me.left;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Store the hitbox width and height here. Final position will be updated in `draw`\n\t\t\t\t\t\thitboxes[i] = {\n\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\twidth: width,\n\t\t\t\t\t\t\theight: fontSize\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tlineWidths[lineWidths.length - 1] += width + labelOpts.padding;\n\t\t\t\t\t});\n\n\t\t\t\t\tminSize.height += totalHeight;\n\n\t\t\t\t} else {\n\t\t\t\t\tvar vPadding = labelOpts.padding;\n\t\t\t\t\tvar columnWidths = me.columnWidths = [];\n\t\t\t\t\tvar totalWidth = labelOpts.padding;\n\t\t\t\t\tvar currentColWidth = 0;\n\t\t\t\t\tvar currentColHeight = 0;\n\t\t\t\t\tvar itemHeight = fontSize + vPadding;\n\n\t\t\t\t\thelpers.each(me.legendItems, function(legendItem, i) {\n\t\t\t\t\t\tvar boxWidth = getBoxWidth(labelOpts, fontSize);\n\t\t\t\t\t\tvar itemWidth = boxWidth + (fontSize / 2) + ctx.measureText(legendItem.text).width;\n\n\t\t\t\t\t\t// If too tall, go to new column\n\t\t\t\t\t\tif (currentColHeight + itemHeight > minSize.height) {\n\t\t\t\t\t\t\ttotalWidth += currentColWidth + labelOpts.padding;\n\t\t\t\t\t\t\tcolumnWidths.push(currentColWidth); // previous column width\n\n\t\t\t\t\t\t\tcurrentColWidth = 0;\n\t\t\t\t\t\t\tcurrentColHeight = 0;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Get max width\n\t\t\t\t\t\tcurrentColWidth = Math.max(currentColWidth, itemWidth);\n\t\t\t\t\t\tcurrentColHeight += itemHeight;\n\n\t\t\t\t\t\t// Store the hitbox width and height here. Final position will be updated in `draw`\n\t\t\t\t\t\thitboxes[i] = {\n\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\twidth: itemWidth,\n\t\t\t\t\t\t\theight: fontSize\n\t\t\t\t\t\t};\n\t\t\t\t\t});\n\n\t\t\t\t\ttotalWidth += currentColWidth;\n\t\t\t\t\tcolumnWidths.push(currentColWidth);\n\t\t\t\t\tminSize.width += totalWidth;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tme.width = minSize.width;\n\t\t\tme.height = minSize.height;\n\t\t},\n\t\tafterFit: noop,\n\n\t\t// Shared Methods\n\t\tisHorizontal: function() {\n\t\t\treturn this.options.position === 'top' || this.options.position === 'bottom';\n\t\t},\n\n\t\t// Actually draw the legend on the canvas\n\t\tdraw: function() {\n\t\t\tvar me = this;\n\t\t\tvar opts = me.options;\n\t\t\tvar labelOpts = opts.labels;\n\t\t\tvar globalDefault = Chart.defaults.global,\n\t\t\t\tlineDefault = globalDefault.elements.line,\n\t\t\t\tlegendWidth = me.width,\n\t\t\t\tlineWidths = me.lineWidths;\n\n\t\t\tif (opts.display) {\n\t\t\t\tvar ctx = me.ctx,\n\t\t\t\t\tcursor,\n\t\t\t\t\titemOrDefault = helpers.getValueOrDefault,\n\t\t\t\t\tfontColor = itemOrDefault(labelOpts.fontColor, globalDefault.defaultFontColor),\n\t\t\t\t\tfontSize = itemOrDefault(labelOpts.fontSize, globalDefault.defaultFontSize),\n\t\t\t\t\tfontStyle = itemOrDefault(labelOpts.fontStyle, globalDefault.defaultFontStyle),\n\t\t\t\t\tfontFamily = itemOrDefault(labelOpts.fontFamily, globalDefault.defaultFontFamily),\n\t\t\t\t\tlabelFont = helpers.fontString(fontSize, fontStyle, fontFamily);\n\n\t\t\t\t// Canvas setup\n\t\t\t\tctx.textAlign = 'left';\n\t\t\t\tctx.textBaseline = 'top';\n\t\t\t\tctx.lineWidth = 0.5;\n\t\t\t\tctx.strokeStyle = fontColor; // for strikethrough effect\n\t\t\t\tctx.fillStyle = fontColor; // render in correct colour\n\t\t\t\tctx.font = labelFont;\n\n\t\t\t\tvar boxWidth = getBoxWidth(labelOpts, fontSize),\n\t\t\t\t\thitboxes = me.legendHitBoxes;\n\n\t\t\t\t// current position\n\t\t\t\tvar drawLegendBox = function(x, y, legendItem) {\n\t\t\t\t\tif (isNaN(boxWidth) || boxWidth <= 0) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Set the ctx for the box\n\t\t\t\t\tctx.save();\n\n\t\t\t\t\tctx.fillStyle = itemOrDefault(legendItem.fillStyle, globalDefault.defaultColor);\n\t\t\t\t\tctx.lineCap = itemOrDefault(legendItem.lineCap, lineDefault.borderCapStyle);\n\t\t\t\t\tctx.lineDashOffset = itemOrDefault(legendItem.lineDashOffset, lineDefault.borderDashOffset);\n\t\t\t\t\tctx.lineJoin = itemOrDefault(legendItem.lineJoin, lineDefault.borderJoinStyle);\n\t\t\t\t\tctx.lineWidth = itemOrDefault(legendItem.lineWidth, lineDefault.borderWidth);\n\t\t\t\t\tctx.strokeStyle = itemOrDefault(legendItem.strokeStyle, globalDefault.defaultColor);\n\t\t\t\t\tvar isLineWidthZero = (itemOrDefault(legendItem.lineWidth, lineDefault.borderWidth) === 0);\n\n\t\t\t\t\tif (ctx.setLineDash) {\n\t\t\t\t\t\t// IE 9 and 10 do not support line dash\n\t\t\t\t\t\tctx.setLineDash(itemOrDefault(legendItem.lineDash, lineDefault.borderDash));\n\t\t\t\t\t}\n\n\t\t\t\t\tif (opts.labels && opts.labels.usePointStyle) {\n\t\t\t\t\t\t// Recalculate x and y for drawPoint() because its expecting\n\t\t\t\t\t\t// x and y to be center of figure (instead of top left)\n\t\t\t\t\t\tvar radius = fontSize * Math.SQRT2 / 2;\n\t\t\t\t\t\tvar offSet = radius / Math.SQRT2;\n\t\t\t\t\t\tvar centerX = x + offSet;\n\t\t\t\t\t\tvar centerY = y + offSet;\n\n\t\t\t\t\t\t// Draw pointStyle as legend symbol\n\t\t\t\t\t\tChart.canvasHelpers.drawPoint(ctx, legendItem.pointStyle, radius, centerX, centerY);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Draw box as legend symbol\n\t\t\t\t\t\tif (!isLineWidthZero) {\n\t\t\t\t\t\t\tctx.strokeRect(x, y, boxWidth, fontSize);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tctx.fillRect(x, y, boxWidth, fontSize);\n\t\t\t\t\t}\n\n\t\t\t\t\tctx.restore();\n\t\t\t\t};\n\t\t\t\tvar fillText = function(x, y, legendItem, textWidth) {\n\t\t\t\t\tctx.fillText(legendItem.text, boxWidth + (fontSize / 2) + x, y);\n\n\t\t\t\t\tif (legendItem.hidden) {\n\t\t\t\t\t\t// Strikethrough the text if hidden\n\t\t\t\t\t\tctx.beginPath();\n\t\t\t\t\t\tctx.lineWidth = 2;\n\t\t\t\t\t\tctx.moveTo(boxWidth + (fontSize / 2) + x, y + (fontSize / 2));\n\t\t\t\t\t\tctx.lineTo(boxWidth + (fontSize / 2) + x + textWidth, y + (fontSize / 2));\n\t\t\t\t\t\tctx.stroke();\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\t// Horizontal\n\t\t\t\tvar isHorizontal = me.isHorizontal();\n\t\t\t\tif (isHorizontal) {\n\t\t\t\t\tcursor = {\n\t\t\t\t\t\tx: me.left + ((legendWidth - lineWidths[0]) / 2),\n\t\t\t\t\t\ty: me.top + labelOpts.padding,\n\t\t\t\t\t\tline: 0\n\t\t\t\t\t};\n\t\t\t\t} else {\n\t\t\t\t\tcursor = {\n\t\t\t\t\t\tx: me.left + labelOpts.padding,\n\t\t\t\t\t\ty: me.top + labelOpts.padding,\n\t\t\t\t\t\tline: 0\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\tvar itemHeight = fontSize + labelOpts.padding;\n\t\t\t\thelpers.each(me.legendItems, function(legendItem, i) {\n\t\t\t\t\tvar textWidth = ctx.measureText(legendItem.text).width,\n\t\t\t\t\t\twidth = boxWidth + (fontSize / 2) + textWidth,\n\t\t\t\t\t\tx = cursor.x,\n\t\t\t\t\t\ty = cursor.y;\n\n\t\t\t\t\tif (isHorizontal) {\n\t\t\t\t\t\tif (x + width >= legendWidth) {\n\t\t\t\t\t\t\ty = cursor.y += itemHeight;\n\t\t\t\t\t\t\tcursor.line++;\n\t\t\t\t\t\t\tx = cursor.x = me.left + ((legendWidth - lineWidths[cursor.line]) / 2);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (y + itemHeight > me.bottom) {\n\t\t\t\t\t\tx = cursor.x = x + me.columnWidths[cursor.line] + labelOpts.padding;\n\t\t\t\t\t\ty = cursor.y = me.top + labelOpts.padding;\n\t\t\t\t\t\tcursor.line++;\n\t\t\t\t\t}\n\n\t\t\t\t\tdrawLegendBox(x, y, legendItem);\n\n\t\t\t\t\thitboxes[i].left = x;\n\t\t\t\t\thitboxes[i].top = y;\n\n\t\t\t\t\t// Fill the actual label\n\t\t\t\t\tfillText(x, y, legendItem, textWidth);\n\n\t\t\t\t\tif (isHorizontal) {\n\t\t\t\t\t\tcursor.x += width + (labelOpts.padding);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcursor.y += itemHeight;\n\t\t\t\t\t}\n\n\t\t\t\t});\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Handle an event\n\t\t * @private\n\t\t * @param {IEvent} event - The event to handle\n\t\t * @return {Boolean} true if a change occured\n\t\t */\n\t\thandleEvent: function(e) {\n\t\t\tvar me = this;\n\t\t\tvar opts = me.options;\n\t\t\tvar type = e.type === 'mouseup' ? 'click' : e.type;\n\t\t\tvar changed = false;\n\n\t\t\tif (type === 'mousemove') {\n\t\t\t\tif (!opts.onHover) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} else if (type === 'click') {\n\t\t\t\tif (!opts.onClick) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Chart event already has relative position in it\n\t\t\tvar x = e.x,\n\t\t\t\ty = e.y;\n\n\t\t\tif (x >= me.left && x <= me.right && y >= me.top && y <= me.bottom) {\n\t\t\t\t// See if we are touching one of the dataset boxes\n\t\t\t\tvar lh = me.legendHitBoxes;\n\t\t\t\tfor (var i = 0; i < lh.length; ++i) {\n\t\t\t\t\tvar hitBox = lh[i];\n\n\t\t\t\t\tif (x >= hitBox.left && x <= hitBox.left + hitBox.width && y >= hitBox.top && y <= hitBox.top + hitBox.height) {\n\t\t\t\t\t\t// Touching an element\n\t\t\t\t\t\tif (type === 'click') {\n\t\t\t\t\t\t\t// use e.native for backwards compatibility\n\t\t\t\t\t\t\topts.onClick.call(me, e.native, me.legendItems[i]);\n\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t} else if (type === 'mousemove') {\n\t\t\t\t\t\t\t// use e.native for backwards compatibility\n\t\t\t\t\t\t\topts.onHover.call(me, e.native, me.legendItems[i]);\n\t\t\t\t\t\t\tchanged = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn changed;\n\t\t}\n\t});\n\n\tfunction createNewLegendAndAttach(chart, legendOpts) {\n\t\tvar legend = new Chart.Legend({\n\t\t\tctx: chart.ctx,\n\t\t\toptions: legendOpts,\n\t\t\tchart: chart\n\t\t});\n\n\t\tlayout.configure(chart, legend, legendOpts);\n\t\tlayout.addBox(chart, legend);\n\t\tchart.legend = legend;\n\t}\n\n\treturn {\n\t\tid: 'legend',\n\n\t\tbeforeInit: function(chart) {\n\t\t\tvar legendOpts = chart.options.legend;\n\n\t\t\tif (legendOpts) {\n\t\t\t\tcreateNewLegendAndAttach(chart, legendOpts);\n\t\t\t}\n\t\t},\n\n\t\tbeforeUpdate: function(chart) {\n\t\t\tvar legendOpts = chart.options.legend;\n\t\t\tvar legend = chart.legend;\n\n\t\t\tif (legendOpts) {\n\t\t\t\tlegendOpts = helpers.configMerge(Chart.defaults.global.legend, legendOpts);\n\n\t\t\t\tif (legend) {\n\t\t\t\t\tlayout.configure(chart, legend, legendOpts);\n\t\t\t\t\tlegend.options = legendOpts;\n\t\t\t\t} else {\n\t\t\t\t\tcreateNewLegendAndAttach(chart, legendOpts);\n\t\t\t\t}\n\t\t\t} else if (legend) {\n\t\t\t\tlayout.removeBox(chart, legend);\n\t\t\t\tdelete chart.legend;\n\t\t\t}\n\t\t},\n\n\t\tafterEvent: function(chart, e) {\n\t\t\tvar legend = chart.legend;\n\t\t\tif (legend) {\n\t\t\t\tlegend.handleEvent(e);\n\t\t\t}\n\t\t}\n\t};\n};\n\n},{}],43:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\tvar layout = Chart.layoutService;\n\tvar noop = helpers.noop;\n\n\tChart.defaults.global.title = {\n\t\tdisplay: false,\n\t\tposition: 'top',\n\t\tfullWidth: true,\n\t\tweight: 2000,        // by default greater than legend (1000) to be above\n\t\tfontStyle: 'bold',\n\t\tpadding: 10,\n\n\t\t// actual title\n\t\ttext: ''\n\t};\n\n\tChart.Title = Chart.Element.extend({\n\t\tinitialize: function(config) {\n\t\t\tvar me = this;\n\t\t\thelpers.extend(me, config);\n\n\t\t\t// Contains hit boxes for each dataset (in dataset order)\n\t\t\tme.legendHitBoxes = [];\n\t\t},\n\n\t\t// These methods are ordered by lifecycle. Utilities then follow.\n\n\t\tbeforeUpdate: noop,\n\t\tupdate: function(maxWidth, maxHeight, margins) {\n\t\t\tvar me = this;\n\n\t\t\t// Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)\n\t\t\tme.beforeUpdate();\n\n\t\t\t// Absorb the master measurements\n\t\t\tme.maxWidth = maxWidth;\n\t\t\tme.maxHeight = maxHeight;\n\t\t\tme.margins = margins;\n\n\t\t\t// Dimensions\n\t\t\tme.beforeSetDimensions();\n\t\t\tme.setDimensions();\n\t\t\tme.afterSetDimensions();\n\t\t\t// Labels\n\t\t\tme.beforeBuildLabels();\n\t\t\tme.buildLabels();\n\t\t\tme.afterBuildLabels();\n\n\t\t\t// Fit\n\t\t\tme.beforeFit();\n\t\t\tme.fit();\n\t\t\tme.afterFit();\n\t\t\t//\n\t\t\tme.afterUpdate();\n\n\t\t\treturn me.minSize;\n\n\t\t},\n\t\tafterUpdate: noop,\n\n\t\t//\n\n\t\tbeforeSetDimensions: noop,\n\t\tsetDimensions: function() {\n\t\t\tvar me = this;\n\t\t\t// Set the unconstrained dimension before label rotation\n\t\t\tif (me.isHorizontal()) {\n\t\t\t\t// Reset position before calculating rotation\n\t\t\t\tme.width = me.maxWidth;\n\t\t\t\tme.left = 0;\n\t\t\t\tme.right = me.width;\n\t\t\t} else {\n\t\t\t\tme.height = me.maxHeight;\n\n\t\t\t\t// Reset position before calculating rotation\n\t\t\t\tme.top = 0;\n\t\t\t\tme.bottom = me.height;\n\t\t\t}\n\n\t\t\t// Reset padding\n\t\t\tme.paddingLeft = 0;\n\t\t\tme.paddingTop = 0;\n\t\t\tme.paddingRight = 0;\n\t\t\tme.paddingBottom = 0;\n\n\t\t\t// Reset minSize\n\t\t\tme.minSize = {\n\t\t\t\twidth: 0,\n\t\t\t\theight: 0\n\t\t\t};\n\t\t},\n\t\tafterSetDimensions: noop,\n\n\t\t//\n\n\t\tbeforeBuildLabels: noop,\n\t\tbuildLabels: noop,\n\t\tafterBuildLabels: noop,\n\n\t\t//\n\n\t\tbeforeFit: noop,\n\t\tfit: function() {\n\t\t\tvar me = this,\n\t\t\t\tvalueOrDefault = helpers.getValueOrDefault,\n\t\t\t\topts = me.options,\n\t\t\t\tglobalDefaults = Chart.defaults.global,\n\t\t\t\tdisplay = opts.display,\n\t\t\t\tfontSize = valueOrDefault(opts.fontSize, globalDefaults.defaultFontSize),\n\t\t\t\tminSize = me.minSize;\n\n\t\t\tif (me.isHorizontal()) {\n\t\t\t\tminSize.width = me.maxWidth; // fill all the width\n\t\t\t\tminSize.height = display ? fontSize + (opts.padding * 2) : 0;\n\t\t\t} else {\n\t\t\t\tminSize.width = display ? fontSize + (opts.padding * 2) : 0;\n\t\t\t\tminSize.height = me.maxHeight; // fill all the height\n\t\t\t}\n\n\t\t\tme.width = minSize.width;\n\t\t\tme.height = minSize.height;\n\n\t\t},\n\t\tafterFit: noop,\n\n\t\t// Shared Methods\n\t\tisHorizontal: function() {\n\t\t\tvar pos = this.options.position;\n\t\t\treturn pos === 'top' || pos === 'bottom';\n\t\t},\n\n\t\t// Actually draw the title block on the canvas\n\t\tdraw: function() {\n\t\t\tvar me = this,\n\t\t\t\tctx = me.ctx,\n\t\t\t\tvalueOrDefault = helpers.getValueOrDefault,\n\t\t\t\topts = me.options,\n\t\t\t\tglobalDefaults = Chart.defaults.global;\n\n\t\t\tif (opts.display) {\n\t\t\t\tvar fontSize = valueOrDefault(opts.fontSize, globalDefaults.defaultFontSize),\n\t\t\t\t\tfontStyle = valueOrDefault(opts.fontStyle, globalDefaults.defaultFontStyle),\n\t\t\t\t\tfontFamily = valueOrDefault(opts.fontFamily, globalDefaults.defaultFontFamily),\n\t\t\t\t\ttitleFont = helpers.fontString(fontSize, fontStyle, fontFamily),\n\t\t\t\t\trotation = 0,\n\t\t\t\t\ttitleX,\n\t\t\t\t\ttitleY,\n\t\t\t\t\ttop = me.top,\n\t\t\t\t\tleft = me.left,\n\t\t\t\t\tbottom = me.bottom,\n\t\t\t\t\tright = me.right,\n\t\t\t\t\tmaxWidth;\n\n\t\t\t\tctx.fillStyle = valueOrDefault(opts.fontColor, globalDefaults.defaultFontColor); // render in correct colour\n\t\t\t\tctx.font = titleFont;\n\n\t\t\t\t// Horizontal\n\t\t\t\tif (me.isHorizontal()) {\n\t\t\t\t\ttitleX = left + ((right - left) / 2); // midpoint of the width\n\t\t\t\t\ttitleY = top + ((bottom - top) / 2); // midpoint of the height\n\t\t\t\t\tmaxWidth = right - left;\n\t\t\t\t} else {\n\t\t\t\t\ttitleX = opts.position === 'left' ? left + (fontSize / 2) : right - (fontSize / 2);\n\t\t\t\t\ttitleY = top + ((bottom - top) / 2);\n\t\t\t\t\tmaxWidth = bottom - top;\n\t\t\t\t\trotation = Math.PI * (opts.position === 'left' ? -0.5 : 0.5);\n\t\t\t\t}\n\n\t\t\t\tctx.save();\n\t\t\t\tctx.translate(titleX, titleY);\n\t\t\t\tctx.rotate(rotation);\n\t\t\t\tctx.textAlign = 'center';\n\t\t\t\tctx.textBaseline = 'middle';\n\t\t\t\tctx.fillText(opts.text, 0, 0, maxWidth);\n\t\t\t\tctx.restore();\n\t\t\t}\n\t\t}\n\t});\n\n\tfunction createNewTitleBlockAndAttach(chart, titleOpts) {\n\t\tvar title = new Chart.Title({\n\t\t\tctx: chart.ctx,\n\t\t\toptions: titleOpts,\n\t\t\tchart: chart\n\t\t});\n\n\t\tlayout.configure(chart, title, titleOpts);\n\t\tlayout.addBox(chart, title);\n\t\tchart.titleBlock = title;\n\t}\n\n\treturn {\n\t\tid: 'title',\n\n\t\tbeforeInit: function(chart) {\n\t\t\tvar titleOpts = chart.options.title;\n\n\t\t\tif (titleOpts) {\n\t\t\t\tcreateNewTitleBlockAndAttach(chart, titleOpts);\n\t\t\t}\n\t\t},\n\n\t\tbeforeUpdate: function(chart) {\n\t\t\tvar titleOpts = chart.options.title;\n\t\t\tvar titleBlock = chart.titleBlock;\n\n\t\t\tif (titleOpts) {\n\t\t\t\ttitleOpts = helpers.configMerge(Chart.defaults.global.title, titleOpts);\n\n\t\t\t\tif (titleBlock) {\n\t\t\t\t\tlayout.configure(chart, titleBlock, titleOpts);\n\t\t\t\t\ttitleBlock.options = titleOpts;\n\t\t\t\t} else {\n\t\t\t\t\tcreateNewTitleBlockAndAttach(chart, titleOpts);\n\t\t\t\t}\n\t\t\t} else if (titleBlock) {\n\t\t\t\tChart.layoutService.removeBox(chart, titleBlock);\n\t\t\t\tdelete chart.titleBlock;\n\t\t\t}\n\t\t}\n\t};\n};\n\n},{}],44:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\t// Default config for a category scale\n\tvar defaultConfig = {\n\t\tposition: 'bottom'\n\t};\n\n\tvar DatasetScale = Chart.Scale.extend({\n\t\t/**\n\t\t* Internal function to get the correct labels. If data.xLabels or data.yLabels are defined, use those\n\t\t* else fall back to data.labels\n\t\t* @private\n\t\t*/\n\t\tgetLabels: function() {\n\t\t\tvar data = this.chart.data;\n\t\t\treturn (this.isHorizontal() ? data.xLabels : data.yLabels) || data.labels;\n\t\t},\n\n\t\tdetermineDataLimits: function() {\n\t\t\tvar me = this;\n\t\t\tvar labels = me.getLabels();\n\t\t\tme.minIndex = 0;\n\t\t\tme.maxIndex = labels.length - 1;\n\t\t\tvar findIndex;\n\n\t\t\tif (me.options.ticks.min !== undefined) {\n\t\t\t\t// user specified min value\n\t\t\t\tfindIndex = helpers.indexOf(labels, me.options.ticks.min);\n\t\t\t\tme.minIndex = findIndex !== -1 ? findIndex : me.minIndex;\n\t\t\t}\n\n\t\t\tif (me.options.ticks.max !== undefined) {\n\t\t\t\t// user specified max value\n\t\t\t\tfindIndex = helpers.indexOf(labels, me.options.ticks.max);\n\t\t\t\tme.maxIndex = findIndex !== -1 ? findIndex : me.maxIndex;\n\t\t\t}\n\n\t\t\tme.min = labels[me.minIndex];\n\t\t\tme.max = labels[me.maxIndex];\n\t\t},\n\n\t\tbuildTicks: function() {\n\t\t\tvar me = this;\n\t\t\tvar labels = me.getLabels();\n\t\t\t// If we are viewing some subset of labels, slice the original array\n\t\t\tme.ticks = (me.minIndex === 0 && me.maxIndex === labels.length - 1) ? labels : labels.slice(me.minIndex, me.maxIndex + 1);\n\t\t},\n\n\t\tgetLabelForIndex: function(index, datasetIndex) {\n\t\t\tvar me = this;\n\t\t\tvar data = me.chart.data;\n\t\t\tvar isHorizontal = me.isHorizontal();\n\n\t\t\tif (data.yLabels && !isHorizontal) {\n\t\t\t\treturn me.getRightValue(data.datasets[datasetIndex].data[index]);\n\t\t\t}\n\t\t\treturn me.ticks[index - me.minIndex];\n\t\t},\n\n\t\t// Used to get data value locations.  Value can either be an index or a numerical value\n\t\tgetPixelForValue: function(value, index, datasetIndex, includeOffset) {\n\t\t\tvar me = this;\n\t\t\t// 1 is added because we need the length but we have the indexes\n\t\t\tvar offsetAmt = Math.max((me.maxIndex + 1 - me.minIndex - ((me.options.gridLines.offsetGridLines) ? 0 : 1)), 1);\n\n\t\t\t// If value is a data object, then index is the index in the data array,\n\t\t\t// not the index of the scale. We need to change that.\n\t\t\tvar valueCategory;\n\t\t\tif (value !== undefined && value !== null) {\n\t\t\t\tvalueCategory = me.isHorizontal() ? value.x : value.y;\n\t\t\t}\n\t\t\tif (valueCategory !== undefined || (value !== undefined && isNaN(index))) {\n\t\t\t\tvar labels = me.getLabels();\n\t\t\t\tvalue = valueCategory || value;\n\t\t\t\tvar idx = labels.indexOf(value);\n\t\t\t\tindex = idx !== -1 ? idx : index;\n\t\t\t}\n\n\t\t\tif (me.isHorizontal()) {\n\t\t\t\tvar valueWidth = me.width / offsetAmt;\n\t\t\t\tvar widthOffset = (valueWidth * (index - me.minIndex));\n\n\t\t\t\tif (me.options.gridLines.offsetGridLines && includeOffset || me.maxIndex === me.minIndex && includeOffset) {\n\t\t\t\t\twidthOffset += (valueWidth / 2);\n\t\t\t\t}\n\n\t\t\t\treturn me.left + Math.round(widthOffset);\n\t\t\t}\n\t\t\tvar valueHeight = me.height / offsetAmt;\n\t\t\tvar heightOffset = (valueHeight * (index - me.minIndex));\n\n\t\t\tif (me.options.gridLines.offsetGridLines && includeOffset) {\n\t\t\t\theightOffset += (valueHeight / 2);\n\t\t\t}\n\n\t\t\treturn me.top + Math.round(heightOffset);\n\t\t},\n\t\tgetPixelForTick: function(index, includeOffset) {\n\t\t\treturn this.getPixelForValue(this.ticks[index], index + this.minIndex, null, includeOffset);\n\t\t},\n\t\tgetValueForPixel: function(pixel) {\n\t\t\tvar me = this;\n\t\t\tvar value;\n\t\t\tvar offsetAmt = Math.max((me.ticks.length - ((me.options.gridLines.offsetGridLines) ? 0 : 1)), 1);\n\t\t\tvar horz = me.isHorizontal();\n\t\t\tvar valueDimension = (horz ? me.width : me.height) / offsetAmt;\n\n\t\t\tpixel -= horz ? me.left : me.top;\n\n\t\t\tif (me.options.gridLines.offsetGridLines) {\n\t\t\t\tpixel -= (valueDimension / 2);\n\t\t\t}\n\n\t\t\tif (pixel <= 0) {\n\t\t\t\tvalue = 0;\n\t\t\t} else {\n\t\t\t\tvalue = Math.round(pixel / valueDimension);\n\t\t\t}\n\n\t\t\treturn value;\n\t\t},\n\t\tgetBasePixel: function() {\n\t\t\treturn this.bottom;\n\t\t}\n\t});\n\n\tChart.scaleService.registerScaleType('category', DatasetScale, defaultConfig);\n\n};\n\n},{}],45:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\n\tvar defaultConfig = {\n\t\tposition: 'left',\n\t\tticks: {\n\t\t\tcallback: Chart.Ticks.formatters.linear\n\t\t}\n\t};\n\n\tvar LinearScale = Chart.LinearScaleBase.extend({\n\n\t\tdetermineDataLimits: function() {\n\t\t\tvar me = this;\n\t\t\tvar opts = me.options;\n\t\t\tvar chart = me.chart;\n\t\t\tvar data = chart.data;\n\t\t\tvar datasets = data.datasets;\n\t\t\tvar isHorizontal = me.isHorizontal();\n\t\t\tvar DEFAULT_MIN = 0;\n\t\t\tvar DEFAULT_MAX = 1;\n\n\t\t\tfunction IDMatches(meta) {\n\t\t\t\treturn isHorizontal ? meta.xAxisID === me.id : meta.yAxisID === me.id;\n\t\t\t}\n\n\t\t\t// First Calculate the range\n\t\t\tme.min = null;\n\t\t\tme.max = null;\n\n\t\t\tvar hasStacks = opts.stacked;\n\t\t\tif (hasStacks === undefined) {\n\t\t\t\thelpers.each(datasets, function(dataset, datasetIndex) {\n\t\t\t\t\tif (hasStacks) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tvar meta = chart.getDatasetMeta(datasetIndex);\n\t\t\t\t\tif (chart.isDatasetVisible(datasetIndex) && IDMatches(meta) &&\n\t\t\t\t\t\tmeta.stack !== undefined) {\n\t\t\t\t\t\thasStacks = true;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tif (opts.stacked || hasStacks) {\n\t\t\t\tvar valuesPerStack = {};\n\n\t\t\t\thelpers.each(datasets, function(dataset, datasetIndex) {\n\t\t\t\t\tvar meta = chart.getDatasetMeta(datasetIndex);\n\t\t\t\t\tvar key = [\n\t\t\t\t\t\tmeta.type,\n\t\t\t\t\t\t// we have a separate stack for stack=undefined datasets when the opts.stacked is undefined\n\t\t\t\t\t\t((opts.stacked === undefined && meta.stack === undefined) ? datasetIndex : ''),\n\t\t\t\t\t\tmeta.stack\n\t\t\t\t\t].join('.');\n\n\t\t\t\t\tif (valuesPerStack[key] === undefined) {\n\t\t\t\t\t\tvaluesPerStack[key] = {\n\t\t\t\t\t\t\tpositiveValues: [],\n\t\t\t\t\t\t\tnegativeValues: []\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\n\t\t\t\t\t// Store these per type\n\t\t\t\t\tvar positiveValues = valuesPerStack[key].positiveValues;\n\t\t\t\t\tvar negativeValues = valuesPerStack[key].negativeValues;\n\n\t\t\t\t\tif (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {\n\t\t\t\t\t\thelpers.each(dataset.data, function(rawValue, index) {\n\t\t\t\t\t\t\tvar value = +me.getRightValue(rawValue);\n\t\t\t\t\t\t\tif (isNaN(value) || meta.data[index].hidden) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tpositiveValues[index] = positiveValues[index] || 0;\n\t\t\t\t\t\t\tnegativeValues[index] = negativeValues[index] || 0;\n\n\t\t\t\t\t\t\tif (opts.relativePoints) {\n\t\t\t\t\t\t\t\tpositiveValues[index] = 100;\n\t\t\t\t\t\t\t} else if (value < 0) {\n\t\t\t\t\t\t\t\tnegativeValues[index] += value;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tpositiveValues[index] += value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\thelpers.each(valuesPerStack, function(valuesForType) {\n\t\t\t\t\tvar values = valuesForType.positiveValues.concat(valuesForType.negativeValues);\n\t\t\t\t\tvar minVal = helpers.min(values);\n\t\t\t\t\tvar maxVal = helpers.max(values);\n\t\t\t\t\tme.min = me.min === null ? minVal : Math.min(me.min, minVal);\n\t\t\t\t\tme.max = me.max === null ? maxVal : Math.max(me.max, maxVal);\n\t\t\t\t});\n\n\t\t\t} else {\n\t\t\t\thelpers.each(datasets, function(dataset, datasetIndex) {\n\t\t\t\t\tvar meta = chart.getDatasetMeta(datasetIndex);\n\t\t\t\t\tif (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {\n\t\t\t\t\t\thelpers.each(dataset.data, function(rawValue, index) {\n\t\t\t\t\t\t\tvar value = +me.getRightValue(rawValue);\n\t\t\t\t\t\t\tif (isNaN(value) || meta.data[index].hidden) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (me.min === null) {\n\t\t\t\t\t\t\t\tme.min = value;\n\t\t\t\t\t\t\t} else if (value < me.min) {\n\t\t\t\t\t\t\t\tme.min = value;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (me.max === null) {\n\t\t\t\t\t\t\t\tme.max = value;\n\t\t\t\t\t\t\t} else if (value > me.max) {\n\t\t\t\t\t\t\t\tme.max = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tme.min = isFinite(me.min) ? me.min : DEFAULT_MIN;\n\t\t\tme.max = isFinite(me.max) ? me.max : DEFAULT_MAX;\n\n\t\t\t// Common base implementation to handle ticks.min, ticks.max, ticks.beginAtZero\n\t\t\tthis.handleTickRangeOptions();\n\t\t},\n\t\tgetTickLimit: function() {\n\t\t\tvar maxTicks;\n\t\t\tvar me = this;\n\t\t\tvar tickOpts = me.options.ticks;\n\n\t\t\tif (me.isHorizontal()) {\n\t\t\t\tmaxTicks = Math.min(tickOpts.maxTicksLimit ? tickOpts.maxTicksLimit : 11, Math.ceil(me.width / 50));\n\t\t\t} else {\n\t\t\t\t// The factor of 2 used to scale the font size has been experimentally determined.\n\t\t\t\tvar tickFontSize = helpers.getValueOrDefault(tickOpts.fontSize, Chart.defaults.global.defaultFontSize);\n\t\t\t\tmaxTicks = Math.min(tickOpts.maxTicksLimit ? tickOpts.maxTicksLimit : 11, Math.ceil(me.height / (2 * tickFontSize)));\n\t\t\t}\n\n\t\t\treturn maxTicks;\n\t\t},\n\t\t// Called after the ticks are built. We need\n\t\thandleDirectionalChanges: function() {\n\t\t\tif (!this.isHorizontal()) {\n\t\t\t\t// We are in a vertical orientation. The top value is the highest. So reverse the array\n\t\t\t\tthis.ticks.reverse();\n\t\t\t}\n\t\t},\n\t\tgetLabelForIndex: function(index, datasetIndex) {\n\t\t\treturn +this.getRightValue(this.chart.data.datasets[datasetIndex].data[index]);\n\t\t},\n\t\t// Utils\n\t\tgetPixelForValue: function(value) {\n\t\t\t// This must be called after fit has been run so that\n\t\t\t// this.left, this.top, this.right, and this.bottom have been defined\n\t\t\tvar me = this;\n\t\t\tvar start = me.start;\n\n\t\t\tvar rightValue = +me.getRightValue(value);\n\t\t\tvar pixel;\n\t\t\tvar range = me.end - start;\n\n\t\t\tif (me.isHorizontal()) {\n\t\t\t\tpixel = me.left + (me.width / range * (rightValue - start));\n\t\t\t\treturn Math.round(pixel);\n\t\t\t}\n\n\t\t\tpixel = me.bottom - (me.height / range * (rightValue - start));\n\t\t\treturn Math.round(pixel);\n\t\t},\n\t\tgetValueForPixel: function(pixel) {\n\t\t\tvar me = this;\n\t\t\tvar isHorizontal = me.isHorizontal();\n\t\t\tvar innerDimension = isHorizontal ? me.width : me.height;\n\t\t\tvar offset = (isHorizontal ? pixel - me.left : me.bottom - pixel) / innerDimension;\n\t\t\treturn me.start + ((me.end - me.start) * offset);\n\t\t},\n\t\tgetPixelForTick: function(index) {\n\t\t\treturn this.getPixelForValue(this.ticksAsNumbers[index]);\n\t\t}\n\t});\n\tChart.scaleService.registerScaleType('linear', LinearScale, defaultConfig);\n\n};\n\n},{}],46:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers,\n\t\tnoop = helpers.noop;\n\n\tChart.LinearScaleBase = Chart.Scale.extend({\n\t\thandleTickRangeOptions: function() {\n\t\t\tvar me = this;\n\t\t\tvar opts = me.options;\n\t\t\tvar tickOpts = opts.ticks;\n\n\t\t\t// If we are forcing it to begin at 0, but 0 will already be rendered on the chart,\n\t\t\t// do nothing since that would make the chart weird. If the user really wants a weird chart\n\t\t\t// axis, they can manually override it\n\t\t\tif (tickOpts.beginAtZero) {\n\t\t\t\tvar minSign = helpers.sign(me.min);\n\t\t\t\tvar maxSign = helpers.sign(me.max);\n\n\t\t\t\tif (minSign < 0 && maxSign < 0) {\n\t\t\t\t\t// move the top up to 0\n\t\t\t\t\tme.max = 0;\n\t\t\t\t} else if (minSign > 0 && maxSign > 0) {\n\t\t\t\t\t// move the bottom down to 0\n\t\t\t\t\tme.min = 0;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (tickOpts.min !== undefined) {\n\t\t\t\tme.min = tickOpts.min;\n\t\t\t} else if (tickOpts.suggestedMin !== undefined) {\n\t\t\t\tif (me.min === null) {\n\t\t\t\t\tme.min = tickOpts.suggestedMin;\n\t\t\t\t} else {\n\t\t\t\t\tme.min = Math.min(me.min, tickOpts.suggestedMin);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (tickOpts.max !== undefined) {\n\t\t\t\tme.max = tickOpts.max;\n\t\t\t} else if (tickOpts.suggestedMax !== undefined) {\n\t\t\t\tif (me.max === null) {\n\t\t\t\t\tme.max = tickOpts.suggestedMax;\n\t\t\t\t} else {\n\t\t\t\t\tme.max = Math.max(me.max, tickOpts.suggestedMax);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (me.min === me.max) {\n\t\t\t\tme.max++;\n\n\t\t\t\tif (!tickOpts.beginAtZero) {\n\t\t\t\t\tme.min--;\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tgetTickLimit: noop,\n\t\thandleDirectionalChanges: noop,\n\n\t\tbuildTicks: function() {\n\t\t\tvar me = this;\n\t\t\tvar opts = me.options;\n\t\t\tvar tickOpts = opts.ticks;\n\n\t\t\t// Figure out what the max number of ticks we can support it is based on the size of\n\t\t\t// the axis area. For now, we say that the minimum tick spacing in pixels must be 50\n\t\t\t// We also limit the maximum number of ticks to 11 which gives a nice 10 squares on\n\t\t\t// the graph. Make sure we always have at least 2 ticks\n\t\t\tvar maxTicks = me.getTickLimit();\n\t\t\tmaxTicks = Math.max(2, maxTicks);\n\n\t\t\tvar numericGeneratorOptions = {\n\t\t\t\tmaxTicks: maxTicks,\n\t\t\t\tmin: tickOpts.min,\n\t\t\t\tmax: tickOpts.max,\n\t\t\t\tstepSize: helpers.getValueOrDefault(tickOpts.fixedStepSize, tickOpts.stepSize)\n\t\t\t};\n\t\t\tvar ticks = me.ticks = Chart.Ticks.generators.linear(numericGeneratorOptions, me);\n\n\t\t\tme.handleDirectionalChanges();\n\n\t\t\t// At this point, we need to update our max and min given the tick values since we have expanded the\n\t\t\t// range of the scale\n\t\t\tme.max = helpers.max(ticks);\n\t\t\tme.min = helpers.min(ticks);\n\n\t\t\tif (tickOpts.reverse) {\n\t\t\t\tticks.reverse();\n\n\t\t\t\tme.start = me.max;\n\t\t\t\tme.end = me.min;\n\t\t\t} else {\n\t\t\t\tme.start = me.min;\n\t\t\t\tme.end = me.max;\n\t\t\t}\n\t\t},\n\t\tconvertTicksToLabels: function() {\n\t\t\tvar me = this;\n\t\t\tme.ticksAsNumbers = me.ticks.slice();\n\t\t\tme.zeroLineIndex = me.ticks.indexOf(0);\n\n\t\t\tChart.Scale.prototype.convertTicksToLabels.call(me);\n\t\t}\n\t});\n};\n\n},{}],47:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\n\tvar defaultConfig = {\n\t\tposition: 'left',\n\n\t\t// label settings\n\t\tticks: {\n\t\t\tcallback: Chart.Ticks.formatters.logarithmic\n\t\t}\n\t};\n\n\tvar LogarithmicScale = Chart.Scale.extend({\n\t\tdetermineDataLimits: function() {\n\t\t\tvar me = this;\n\t\t\tvar opts = me.options;\n\t\t\tvar tickOpts = opts.ticks;\n\t\t\tvar chart = me.chart;\n\t\t\tvar data = chart.data;\n\t\t\tvar datasets = data.datasets;\n\t\t\tvar getValueOrDefault = helpers.getValueOrDefault;\n\t\t\tvar isHorizontal = me.isHorizontal();\n\t\t\tfunction IDMatches(meta) {\n\t\t\t\treturn isHorizontal ? meta.xAxisID === me.id : meta.yAxisID === me.id;\n\t\t\t}\n\n\t\t\t// Calculate Range\n\t\t\tme.min = null;\n\t\t\tme.max = null;\n\t\t\tme.minNotZero = null;\n\n\t\t\tvar hasStacks = opts.stacked;\n\t\t\tif (hasStacks === undefined) {\n\t\t\t\thelpers.each(datasets, function(dataset, datasetIndex) {\n\t\t\t\t\tif (hasStacks) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tvar meta = chart.getDatasetMeta(datasetIndex);\n\t\t\t\t\tif (chart.isDatasetVisible(datasetIndex) && IDMatches(meta) &&\n\t\t\t\t\t\tmeta.stack !== undefined) {\n\t\t\t\t\t\thasStacks = true;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tif (opts.stacked || hasStacks) {\n\t\t\t\tvar valuesPerStack = {};\n\n\t\t\t\thelpers.each(datasets, function(dataset, datasetIndex) {\n\t\t\t\t\tvar meta = chart.getDatasetMeta(datasetIndex);\n\t\t\t\t\tvar key = [\n\t\t\t\t\t\tmeta.type,\n\t\t\t\t\t\t// we have a separate stack for stack=undefined datasets when the opts.stacked is undefined\n\t\t\t\t\t\t((opts.stacked === undefined && meta.stack === undefined) ? datasetIndex : ''),\n\t\t\t\t\t\tmeta.stack\n\t\t\t\t\t].join('.');\n\n\t\t\t\t\tif (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {\n\t\t\t\t\t\tif (valuesPerStack[key] === undefined) {\n\t\t\t\t\t\t\tvaluesPerStack[key] = [];\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\thelpers.each(dataset.data, function(rawValue, index) {\n\t\t\t\t\t\t\tvar values = valuesPerStack[key];\n\t\t\t\t\t\t\tvar value = +me.getRightValue(rawValue);\n\t\t\t\t\t\t\tif (isNaN(value) || meta.data[index].hidden) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tvalues[index] = values[index] || 0;\n\n\t\t\t\t\t\t\tif (opts.relativePoints) {\n\t\t\t\t\t\t\t\tvalues[index] = 100;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// Don't need to split positive and negative since the log scale can't handle a 0 crossing\n\t\t\t\t\t\t\t\tvalues[index] += value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\thelpers.each(valuesPerStack, function(valuesForType) {\n\t\t\t\t\tvar minVal = helpers.min(valuesForType);\n\t\t\t\t\tvar maxVal = helpers.max(valuesForType);\n\t\t\t\t\tme.min = me.min === null ? minVal : Math.min(me.min, minVal);\n\t\t\t\t\tme.max = me.max === null ? maxVal : Math.max(me.max, maxVal);\n\t\t\t\t});\n\n\t\t\t} else {\n\t\t\t\thelpers.each(datasets, function(dataset, datasetIndex) {\n\t\t\t\t\tvar meta = chart.getDatasetMeta(datasetIndex);\n\t\t\t\t\tif (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {\n\t\t\t\t\t\thelpers.each(dataset.data, function(rawValue, index) {\n\t\t\t\t\t\t\tvar value = +me.getRightValue(rawValue);\n\t\t\t\t\t\t\tif (isNaN(value) || meta.data[index].hidden) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (me.min === null) {\n\t\t\t\t\t\t\t\tme.min = value;\n\t\t\t\t\t\t\t} else if (value < me.min) {\n\t\t\t\t\t\t\t\tme.min = value;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (me.max === null) {\n\t\t\t\t\t\t\t\tme.max = value;\n\t\t\t\t\t\t\t} else if (value > me.max) {\n\t\t\t\t\t\t\t\tme.max = value;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (value !== 0 && (me.minNotZero === null || value < me.minNotZero)) {\n\t\t\t\t\t\t\t\tme.minNotZero = value;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tme.min = getValueOrDefault(tickOpts.min, me.min);\n\t\t\tme.max = getValueOrDefault(tickOpts.max, me.max);\n\n\t\t\tif (me.min === me.max) {\n\t\t\t\tif (me.min !== 0 && me.min !== null) {\n\t\t\t\t\tme.min = Math.pow(10, Math.floor(helpers.log10(me.min)) - 1);\n\t\t\t\t\tme.max = Math.pow(10, Math.floor(helpers.log10(me.max)) + 1);\n\t\t\t\t} else {\n\t\t\t\t\tme.min = 1;\n\t\t\t\t\tme.max = 10;\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tbuildTicks: function() {\n\t\t\tvar me = this;\n\t\t\tvar opts = me.options;\n\t\t\tvar tickOpts = opts.ticks;\n\n\t\t\tvar generationOptions = {\n\t\t\t\tmin: tickOpts.min,\n\t\t\t\tmax: tickOpts.max\n\t\t\t};\n\t\t\tvar ticks = me.ticks = Chart.Ticks.generators.logarithmic(generationOptions, me);\n\n\t\t\tif (!me.isHorizontal()) {\n\t\t\t\t// We are in a vertical orientation. The top value is the highest. So reverse the array\n\t\t\t\tticks.reverse();\n\t\t\t}\n\n\t\t\t// At this point, we need to update our max and min given the tick values since we have expanded the\n\t\t\t// range of the scale\n\t\t\tme.max = helpers.max(ticks);\n\t\t\tme.min = helpers.min(ticks);\n\n\t\t\tif (tickOpts.reverse) {\n\t\t\t\tticks.reverse();\n\n\t\t\t\tme.start = me.max;\n\t\t\t\tme.end = me.min;\n\t\t\t} else {\n\t\t\t\tme.start = me.min;\n\t\t\t\tme.end = me.max;\n\t\t\t}\n\t\t},\n\t\tconvertTicksToLabels: function() {\n\t\t\tthis.tickValues = this.ticks.slice();\n\n\t\t\tChart.Scale.prototype.convertTicksToLabels.call(this);\n\t\t},\n\t\t// Get the correct tooltip label\n\t\tgetLabelForIndex: function(index, datasetIndex) {\n\t\t\treturn +this.getRightValue(this.chart.data.datasets[datasetIndex].data[index]);\n\t\t},\n\t\tgetPixelForTick: function(index) {\n\t\t\treturn this.getPixelForValue(this.tickValues[index]);\n\t\t},\n\t\tgetPixelForValue: function(value) {\n\t\t\tvar me = this;\n\t\t\tvar innerDimension;\n\t\t\tvar pixel;\n\n\t\t\tvar start = me.start;\n\t\t\tvar newVal = +me.getRightValue(value);\n\t\t\tvar range;\n\t\t\tvar opts = me.options;\n\t\t\tvar tickOpts = opts.ticks;\n\n\t\t\tif (me.isHorizontal()) {\n\t\t\t\trange = helpers.log10(me.end) - helpers.log10(start); // todo: if start === 0\n\t\t\t\tif (newVal === 0) {\n\t\t\t\t\tpixel = me.left;\n\t\t\t\t} else {\n\t\t\t\t\tinnerDimension = me.width;\n\t\t\t\t\tpixel = me.left + (innerDimension / range * (helpers.log10(newVal) - helpers.log10(start)));\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// Bottom - top since pixels increase downward on a screen\n\t\t\t\tinnerDimension = me.height;\n\t\t\t\tif (start === 0 && !tickOpts.reverse) {\n\t\t\t\t\trange = helpers.log10(me.end) - helpers.log10(me.minNotZero);\n\t\t\t\t\tif (newVal === start) {\n\t\t\t\t\t\tpixel = me.bottom;\n\t\t\t\t\t} else if (newVal === me.minNotZero) {\n\t\t\t\t\t\tpixel = me.bottom - innerDimension * 0.02;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpixel = me.bottom - innerDimension * 0.02 - (innerDimension * 0.98/ range * (helpers.log10(newVal)-helpers.log10(me.minNotZero)));\n\t\t\t\t\t}\n\t\t\t\t} else if (me.end === 0 && tickOpts.reverse) {\n\t\t\t\t\trange = helpers.log10(me.start) - helpers.log10(me.minNotZero);\n\t\t\t\t\tif (newVal === me.end) {\n\t\t\t\t\t\tpixel = me.top;\n\t\t\t\t\t} else if (newVal === me.minNotZero) {\n\t\t\t\t\t\tpixel = me.top + innerDimension * 0.02;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpixel = me.top + innerDimension * 0.02 + (innerDimension * 0.98/ range * (helpers.log10(newVal)-helpers.log10(me.minNotZero)));\n\t\t\t\t\t}\n\t\t\t\t} else if (newVal === 0) {\n\t\t\t\t\tpixel = tickOpts.reverse ? me.top : me.bottom;\n\t\t\t\t} else {\n\t\t\t\t\trange = helpers.log10(me.end) - helpers.log10(start);\n\t\t\t\t\tinnerDimension = me.height;\n\t\t\t\t\tpixel = me.bottom - (innerDimension / range * (helpers.log10(newVal) - helpers.log10(start)));\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn pixel;\n\t\t},\n\t\tgetValueForPixel: function(pixel) {\n\t\t\tvar me = this;\n\t\t\tvar range = helpers.log10(me.end) - helpers.log10(me.start);\n\t\t\tvar value, innerDimension;\n\n\t\t\tif (me.isHorizontal()) {\n\t\t\t\tinnerDimension = me.width;\n\t\t\t\tvalue = me.start * Math.pow(10, (pixel - me.left) * range / innerDimension);\n\t\t\t} else {  // todo: if start === 0\n\t\t\t\tinnerDimension = me.height;\n\t\t\t\tvalue = Math.pow(10, (me.bottom - pixel) * range / innerDimension) / me.start;\n\t\t\t}\n\t\t\treturn value;\n\t\t}\n\t});\n\tChart.scaleService.registerScaleType('logarithmic', LogarithmicScale, defaultConfig);\n\n};\n\n},{}],48:[function(require,module,exports){\n'use strict';\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\tvar globalDefaults = Chart.defaults.global;\n\n\tvar defaultConfig = {\n\t\tdisplay: true,\n\n\t\t// Boolean - Whether to animate scaling the chart from the centre\n\t\tanimate: true,\n\t\tposition: 'chartArea',\n\n\t\tangleLines: {\n\t\t\tdisplay: true,\n\t\t\tcolor: 'rgba(0, 0, 0, 0.1)',\n\t\t\tlineWidth: 1\n\t\t},\n\n\t\tgridLines: {\n\t\t\tcircular: false\n\t\t},\n\n\t\t// label settings\n\t\tticks: {\n\t\t\t// Boolean - Show a backdrop to the scale label\n\t\t\tshowLabelBackdrop: true,\n\n\t\t\t// String - The colour of the label backdrop\n\t\t\tbackdropColor: 'rgba(255,255,255,0.75)',\n\n\t\t\t// Number - The backdrop padding above & below the label in pixels\n\t\t\tbackdropPaddingY: 2,\n\n\t\t\t// Number - The backdrop padding to the side of the label in pixels\n\t\t\tbackdropPaddingX: 2,\n\n\t\t\tcallback: Chart.Ticks.formatters.linear\n\t\t},\n\n\t\tpointLabels: {\n\t\t\t// Boolean - if true, show point labels\n\t\t\tdisplay: true,\n\n\t\t\t// Number - Point label font size in pixels\n\t\t\tfontSize: 10,\n\n\t\t\t// Function - Used to convert point labels\n\t\t\tcallback: function(label) {\n\t\t\t\treturn label;\n\t\t\t}\n\t\t}\n\t};\n\n\tfunction getValueCount(scale) {\n\t\tvar opts = scale.options;\n\t\treturn opts.angleLines.display || opts.pointLabels.display ? scale.chart.data.labels.length : 0;\n\t}\n\n\tfunction getPointLabelFontOptions(scale) {\n\t\tvar pointLabelOptions = scale.options.pointLabels;\n\t\tvar fontSize = helpers.getValueOrDefault(pointLabelOptions.fontSize, globalDefaults.defaultFontSize);\n\t\tvar fontStyle = helpers.getValueOrDefault(pointLabelOptions.fontStyle, globalDefaults.defaultFontStyle);\n\t\tvar fontFamily = helpers.getValueOrDefault(pointLabelOptions.fontFamily, globalDefaults.defaultFontFamily);\n\t\tvar font = helpers.fontString(fontSize, fontStyle, fontFamily);\n\n\t\treturn {\n\t\t\tsize: fontSize,\n\t\t\tstyle: fontStyle,\n\t\t\tfamily: fontFamily,\n\t\t\tfont: font\n\t\t};\n\t}\n\n\tfunction measureLabelSize(ctx, fontSize, label) {\n\t\tif (helpers.isArray(label)) {\n\t\t\treturn {\n\t\t\t\tw: helpers.longestText(ctx, ctx.font, label),\n\t\t\t\th: (label.length * fontSize) + ((label.length - 1) * 1.5 * fontSize)\n\t\t\t};\n\t\t}\n\n\t\treturn {\n\t\t\tw: ctx.measureText(label).width,\n\t\t\th: fontSize\n\t\t};\n\t}\n\n\tfunction determineLimits(angle, pos, size, min, max) {\n\t\tif (angle === min || angle === max) {\n\t\t\treturn {\n\t\t\t\tstart: pos - (size / 2),\n\t\t\t\tend: pos + (size / 2)\n\t\t\t};\n\t\t} else if (angle < min || angle > max) {\n\t\t\treturn {\n\t\t\t\tstart: pos - size - 5,\n\t\t\t\tend: pos\n\t\t\t};\n\t\t}\n\n\t\treturn {\n\t\t\tstart: pos,\n\t\t\tend: pos + size + 5\n\t\t};\n\t}\n\n\t/**\n\t * Helper function to fit a radial linear scale with point labels\n\t */\n\tfunction fitWithPointLabels(scale) {\n\t\t/*\n\t\t * Right, this is really confusing and there is a lot of maths going on here\n\t\t * The gist of the problem is here: https://gist.github.com/nnnick/696cc9c55f4b0beb8fe9\n\t\t *\n\t\t * Reaction: https://dl.dropboxusercontent.com/u/34601363/toomuchscience.gif\n\t\t *\n\t\t * Solution:\n\t\t *\n\t\t * We assume the radius of the polygon is half the size of the canvas at first\n\t\t * at each index we check if the text overlaps.\n\t\t *\n\t\t * Where it does, we store that angle and that index.\n\t\t *\n\t\t * After finding the largest index and angle we calculate how much we need to remove\n\t\t * from the shape radius to move the point inwards by that x.\n\t\t *\n\t\t * We average the left and right distances to get the maximum shape radius that can fit in the box\n\t\t * along with labels.\n\t\t *\n\t\t * Once we have that, we can find the centre point for the chart, by taking the x text protrusion\n\t\t * on each side, removing that from the size, halving it and adding the left x protrusion width.\n\t\t *\n\t\t * This will mean we have a shape fitted to the canvas, as large as it can be with the labels\n\t\t * and position it in the most space efficient manner\n\t\t *\n\t\t * https://dl.dropboxusercontent.com/u/34601363/yeahscience.gif\n\t\t */\n\n\t\tvar plFont = getPointLabelFontOptions(scale);\n\n\t\t// Get maximum radius of the polygon. Either half the height (minus the text width) or half the width.\n\t\t// Use this to calculate the offset + change. - Make sure L/R protrusion is at least 0 to stop issues with centre points\n\t\tvar largestPossibleRadius = Math.min(scale.height / 2, scale.width / 2);\n\t\tvar furthestLimits = {\n\t\t\tr: scale.width,\n\t\t\tl: 0,\n\t\t\tt: scale.height,\n\t\t\tb: 0\n\t\t};\n\t\tvar furthestAngles = {};\n\t\tvar i;\n\t\tvar textSize;\n\t\tvar pointPosition;\n\n\t\tscale.ctx.font = plFont.font;\n\t\tscale._pointLabelSizes = [];\n\n\t\tvar valueCount = getValueCount(scale);\n\t\tfor (i = 0; i < valueCount; i++) {\n\t\t\tpointPosition = scale.getPointPosition(i, largestPossibleRadius);\n\t\t\ttextSize = measureLabelSize(scale.ctx, plFont.size, scale.pointLabels[i] || '');\n\t\t\tscale._pointLabelSizes[i] = textSize;\n\n\t\t\t// Add quarter circle to make degree 0 mean top of circle\n\t\t\tvar angleRadians = scale.getIndexAngle(i);\n\t\t\tvar angle = helpers.toDegrees(angleRadians) % 360;\n\t\t\tvar hLimits = determineLimits(angle, pointPosition.x, textSize.w, 0, 180);\n\t\t\tvar vLimits = determineLimits(angle, pointPosition.y, textSize.h, 90, 270);\n\n\t\t\tif (hLimits.start < furthestLimits.l) {\n\t\t\t\tfurthestLimits.l = hLimits.start;\n\t\t\t\tfurthestAngles.l = angleRadians;\n\t\t\t}\n\n\t\t\tif (hLimits.end > furthestLimits.r) {\n\t\t\t\tfurthestLimits.r = hLimits.end;\n\t\t\t\tfurthestAngles.r = angleRadians;\n\t\t\t}\n\n\t\t\tif (vLimits.start < furthestLimits.t) {\n\t\t\t\tfurthestLimits.t = vLimits.start;\n\t\t\t\tfurthestAngles.t = angleRadians;\n\t\t\t}\n\n\t\t\tif (vLimits.end > furthestLimits.b) {\n\t\t\t\tfurthestLimits.b = vLimits.end;\n\t\t\t\tfurthestAngles.b = angleRadians;\n\t\t\t}\n\t\t}\n\n\t\tscale.setReductions(largestPossibleRadius, furthestLimits, furthestAngles);\n\t}\n\n\t/**\n\t * Helper function to fit a radial linear scale with no point labels\n\t */\n\tfunction fit(scale) {\n\t\tvar largestPossibleRadius = Math.min(scale.height / 2, scale.width / 2);\n\t\tscale.drawingArea = Math.round(largestPossibleRadius);\n\t\tscale.setCenterPoint(0, 0, 0, 0);\n\t}\n\n\tfunction getTextAlignForAngle(angle) {\n\t\tif (angle === 0 || angle === 180) {\n\t\t\treturn 'center';\n\t\t} else if (angle < 180) {\n\t\t\treturn 'left';\n\t\t}\n\n\t\treturn 'right';\n\t}\n\n\tfunction fillText(ctx, text, position, fontSize) {\n\t\tif (helpers.isArray(text)) {\n\t\t\tvar y = position.y;\n\t\t\tvar spacing = 1.5 * fontSize;\n\n\t\t\tfor (var i = 0; i < text.length; ++i) {\n\t\t\t\tctx.fillText(text[i], position.x, y);\n\t\t\t\ty+= spacing;\n\t\t\t}\n\t\t} else {\n\t\t\tctx.fillText(text, position.x, position.y);\n\t\t}\n\t}\n\n\tfunction adjustPointPositionForLabelHeight(angle, textSize, position) {\n\t\tif (angle === 90 || angle === 270) {\n\t\t\tposition.y -= (textSize.h / 2);\n\t\t} else if (angle > 270 || angle < 90) {\n\t\t\tposition.y -= textSize.h;\n\t\t}\n\t}\n\n\tfunction drawPointLabels(scale) {\n\t\tvar ctx = scale.ctx;\n\t\tvar getValueOrDefault = helpers.getValueOrDefault;\n\t\tvar opts = scale.options;\n\t\tvar angleLineOpts = opts.angleLines;\n\t\tvar pointLabelOpts = opts.pointLabels;\n\n\t\tctx.lineWidth = angleLineOpts.lineWidth;\n\t\tctx.strokeStyle = angleLineOpts.color;\n\n\t\tvar outerDistance = scale.getDistanceFromCenterForValue(opts.reverse ? scale.min : scale.max);\n\n\t\t// Point Label Font\n\t\tvar plFont = getPointLabelFontOptions(scale);\n\n\t\tctx.textBaseline = 'top';\n\n\t\tfor (var i = getValueCount(scale) - 1; i >= 0; i--) {\n\t\t\tif (angleLineOpts.display) {\n\t\t\t\tvar outerPosition = scale.getPointPosition(i, outerDistance);\n\t\t\t\tctx.beginPath();\n\t\t\t\tctx.moveTo(scale.xCenter, scale.yCenter);\n\t\t\t\tctx.lineTo(outerPosition.x, outerPosition.y);\n\t\t\t\tctx.stroke();\n\t\t\t\tctx.closePath();\n\t\t\t}\n\n\t\t\tif (pointLabelOpts.display) {\n\t\t\t\t// Extra 3px out for some label spacing\n\t\t\t\tvar pointLabelPosition = scale.getPointPosition(i, outerDistance + 5);\n\n\t\t\t\t// Keep this in loop since we may support array properties here\n\t\t\t\tvar pointLabelFontColor = getValueOrDefault(pointLabelOpts.fontColor, globalDefaults.defaultFontColor);\n\t\t\t\tctx.font = plFont.font;\n\t\t\t\tctx.fillStyle = pointLabelFontColor;\n\n\t\t\t\tvar angleRadians = scale.getIndexAngle(i);\n\t\t\t\tvar angle = helpers.toDegrees(angleRadians);\n\t\t\t\tctx.textAlign = getTextAlignForAngle(angle);\n\t\t\t\tadjustPointPositionForLabelHeight(angle, scale._pointLabelSizes[i], pointLabelPosition);\n\t\t\t\tfillText(ctx, scale.pointLabels[i] || '', pointLabelPosition, plFont.size);\n\t\t\t}\n\t\t}\n\t}\n\n\tfunction drawRadiusLine(scale, gridLineOpts, radius, index) {\n\t\tvar ctx = scale.ctx;\n\t\tctx.strokeStyle = helpers.getValueAtIndexOrDefault(gridLineOpts.color, index - 1);\n\t\tctx.lineWidth = helpers.getValueAtIndexOrDefault(gridLineOpts.lineWidth, index - 1);\n\n\t\tif (scale.options.gridLines.circular) {\n\t\t\t// Draw circular arcs between the points\n\t\t\tctx.beginPath();\n\t\t\tctx.arc(scale.xCenter, scale.yCenter, radius, 0, Math.PI * 2);\n\t\t\tctx.closePath();\n\t\t\tctx.stroke();\n\t\t} else {\n\t\t\t// Draw straight lines connecting each index\n\t\t\tvar valueCount = getValueCount(scale);\n\n\t\t\tif (valueCount === 0) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tctx.beginPath();\n\t\t\tvar pointPosition = scale.getPointPosition(0, radius);\n\t\t\tctx.moveTo(pointPosition.x, pointPosition.y);\n\n\t\t\tfor (var i = 1; i < valueCount; i++) {\n\t\t\t\tpointPosition = scale.getPointPosition(i, radius);\n\t\t\t\tctx.lineTo(pointPosition.x, pointPosition.y);\n\t\t\t}\n\n\t\t\tctx.closePath();\n\t\t\tctx.stroke();\n\t\t}\n\t}\n\n\tfunction numberOrZero(param) {\n\t\treturn helpers.isNumber(param) ? param : 0;\n\t}\n\n\tvar LinearRadialScale = Chart.LinearScaleBase.extend({\n\t\tsetDimensions: function() {\n\t\t\tvar me = this;\n\t\t\tvar opts = me.options;\n\t\t\tvar tickOpts = opts.ticks;\n\t\t\t// Set the unconstrained dimension before label rotation\n\t\t\tme.width = me.maxWidth;\n\t\t\tme.height = me.maxHeight;\n\t\t\tme.xCenter = Math.round(me.width / 2);\n\t\t\tme.yCenter = Math.round(me.height / 2);\n\n\t\t\tvar minSize = helpers.min([me.height, me.width]);\n\t\t\tvar tickFontSize = helpers.getValueOrDefault(tickOpts.fontSize, globalDefaults.defaultFontSize);\n\t\t\tme.drawingArea = opts.display ? (minSize / 2) - (tickFontSize / 2 + tickOpts.backdropPaddingY) : (minSize / 2);\n\t\t},\n\t\tdetermineDataLimits: function() {\n\t\t\tvar me = this;\n\t\t\tvar chart = me.chart;\n\t\t\tvar min = Number.POSITIVE_INFINITY;\n\t\t\tvar max = Number.NEGATIVE_INFINITY;\n\n\t\t\thelpers.each(chart.data.datasets, function(dataset, datasetIndex) {\n\t\t\t\tif (chart.isDatasetVisible(datasetIndex)) {\n\t\t\t\t\tvar meta = chart.getDatasetMeta(datasetIndex);\n\n\t\t\t\t\thelpers.each(dataset.data, function(rawValue, index) {\n\t\t\t\t\t\tvar value = +me.getRightValue(rawValue);\n\t\t\t\t\t\tif (isNaN(value) || meta.data[index].hidden) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tmin = Math.min(value, min);\n\t\t\t\t\t\tmax = Math.max(value, max);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tme.min = (min === Number.POSITIVE_INFINITY ? 0 : min);\n\t\t\tme.max = (max === Number.NEGATIVE_INFINITY ? 0 : max);\n\n\t\t\t// Common base implementation to handle ticks.min, ticks.max, ticks.beginAtZero\n\t\t\tme.handleTickRangeOptions();\n\t\t},\n\t\tgetTickLimit: function() {\n\t\t\tvar tickOpts = this.options.ticks;\n\t\t\tvar tickFontSize = helpers.getValueOrDefault(tickOpts.fontSize, globalDefaults.defaultFontSize);\n\t\t\treturn Math.min(tickOpts.maxTicksLimit ? tickOpts.maxTicksLimit : 11, Math.ceil(this.drawingArea / (1.5 * tickFontSize)));\n\t\t},\n\t\tconvertTicksToLabels: function() {\n\t\t\tvar me = this;\n\t\t\tChart.LinearScaleBase.prototype.convertTicksToLabels.call(me);\n\n\t\t\t// Point labels\n\t\t\tme.pointLabels = me.chart.data.labels.map(me.options.pointLabels.callback, me);\n\t\t},\n\t\tgetLabelForIndex: function(index, datasetIndex) {\n\t\t\treturn +this.getRightValue(this.chart.data.datasets[datasetIndex].data[index]);\n\t\t},\n\t\tfit: function() {\n\t\t\tif (this.options.pointLabels.display) {\n\t\t\t\tfitWithPointLabels(this);\n\t\t\t} else {\n\t\t\t\tfit(this);\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Set radius reductions and determine new radius and center point\n\t\t * @private\n\t\t */\n\t\tsetReductions: function(largestPossibleRadius, furthestLimits, furthestAngles) {\n\t\t\tvar me = this;\n\t\t\tvar radiusReductionLeft = furthestLimits.l / Math.sin(furthestAngles.l);\n\t\t\tvar radiusReductionRight = Math.max(furthestLimits.r - me.width, 0) / Math.sin(furthestAngles.r);\n\t\t\tvar radiusReductionTop = -furthestLimits.t / Math.cos(furthestAngles.t);\n\t\t\tvar radiusReductionBottom = -Math.max(furthestLimits.b - me.height, 0) / Math.cos(furthestAngles.b);\n\n\t\t\tradiusReductionLeft = numberOrZero(radiusReductionLeft);\n\t\t\tradiusReductionRight = numberOrZero(radiusReductionRight);\n\t\t\tradiusReductionTop = numberOrZero(radiusReductionTop);\n\t\t\tradiusReductionBottom = numberOrZero(radiusReductionBottom);\n\n\t\t\tme.drawingArea = Math.min(\n\t\t\t\tMath.round(largestPossibleRadius - (radiusReductionLeft + radiusReductionRight) / 2),\n\t\t\t\tMath.round(largestPossibleRadius - (radiusReductionTop + radiusReductionBottom) / 2));\n\t\t\tme.setCenterPoint(radiusReductionLeft, radiusReductionRight, radiusReductionTop, radiusReductionBottom);\n\t\t},\n\t\tsetCenterPoint: function(leftMovement, rightMovement, topMovement, bottomMovement) {\n\t\t\tvar me = this;\n\t\t\tvar maxRight = me.width - rightMovement - me.drawingArea,\n\t\t\t\tmaxLeft = leftMovement + me.drawingArea,\n\t\t\t\tmaxTop = topMovement + me.drawingArea,\n\t\t\t\tmaxBottom = me.height - bottomMovement - me.drawingArea;\n\n\t\t\tme.xCenter = Math.round(((maxLeft + maxRight) / 2) + me.left);\n\t\t\tme.yCenter = Math.round(((maxTop + maxBottom) / 2) + me.top);\n\t\t},\n\n\t\tgetIndexAngle: function(index) {\n\t\t\tvar angleMultiplier = (Math.PI * 2) / getValueCount(this);\n\t\t\tvar startAngle = this.chart.options && this.chart.options.startAngle ?\n\t\t\t\tthis.chart.options.startAngle :\n\t\t\t\t0;\n\n\t\t\tvar startAngleRadians = startAngle * Math.PI * 2 / 360;\n\n\t\t\t// Start from the top instead of right, so remove a quarter of the circle\n\t\t\treturn index * angleMultiplier + startAngleRadians;\n\t\t},\n\t\tgetDistanceFromCenterForValue: function(value) {\n\t\t\tvar me = this;\n\n\t\t\tif (value === null) {\n\t\t\t\treturn 0; // null always in center\n\t\t\t}\n\n\t\t\t// Take into account half font size + the yPadding of the top value\n\t\t\tvar scalingFactor = me.drawingArea / (me.max - me.min);\n\t\t\tif (me.options.reverse) {\n\t\t\t\treturn (me.max - value) * scalingFactor;\n\t\t\t}\n\t\t\treturn (value - me.min) * scalingFactor;\n\t\t},\n\t\tgetPointPosition: function(index, distanceFromCenter) {\n\t\t\tvar me = this;\n\t\t\tvar thisAngle = me.getIndexAngle(index) - (Math.PI / 2);\n\t\t\treturn {\n\t\t\t\tx: Math.round(Math.cos(thisAngle) * distanceFromCenter) + me.xCenter,\n\t\t\t\ty: Math.round(Math.sin(thisAngle) * distanceFromCenter) + me.yCenter\n\t\t\t};\n\t\t},\n\t\tgetPointPositionForValue: function(index, value) {\n\t\t\treturn this.getPointPosition(index, this.getDistanceFromCenterForValue(value));\n\t\t},\n\n\t\tgetBasePosition: function() {\n\t\t\tvar me = this;\n\t\t\tvar min = me.min;\n\t\t\tvar max = me.max;\n\n\t\t\treturn me.getPointPositionForValue(0,\n\t\t\t\tme.beginAtZero? 0:\n\t\t\t\tmin < 0 && max < 0? max :\n\t\t\t\tmin > 0 && max > 0? min :\n\t\t\t\t0);\n\t\t},\n\n\t\tdraw: function() {\n\t\t\tvar me = this;\n\t\t\tvar opts = me.options;\n\t\t\tvar gridLineOpts = opts.gridLines;\n\t\t\tvar tickOpts = opts.ticks;\n\t\t\tvar getValueOrDefault = helpers.getValueOrDefault;\n\n\t\t\tif (opts.display) {\n\t\t\t\tvar ctx = me.ctx;\n\n\t\t\t\t// Tick Font\n\t\t\t\tvar tickFontSize = getValueOrDefault(tickOpts.fontSize, globalDefaults.defaultFontSize);\n\t\t\t\tvar tickFontStyle = getValueOrDefault(tickOpts.fontStyle, globalDefaults.defaultFontStyle);\n\t\t\t\tvar tickFontFamily = getValueOrDefault(tickOpts.fontFamily, globalDefaults.defaultFontFamily);\n\t\t\t\tvar tickLabelFont = helpers.fontString(tickFontSize, tickFontStyle, tickFontFamily);\n\n\t\t\t\thelpers.each(me.ticks, function(label, index) {\n\t\t\t\t\t// Don't draw a centre value (if it is minimum)\n\t\t\t\t\tif (index > 0 || opts.reverse) {\n\t\t\t\t\t\tvar yCenterOffset = me.getDistanceFromCenterForValue(me.ticksAsNumbers[index]);\n\t\t\t\t\t\tvar yHeight = me.yCenter - yCenterOffset;\n\n\t\t\t\t\t\t// Draw circular lines around the scale\n\t\t\t\t\t\tif (gridLineOpts.display && index !== 0) {\n\t\t\t\t\t\t\tdrawRadiusLine(me, gridLineOpts, yCenterOffset, index);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (tickOpts.display) {\n\t\t\t\t\t\t\tvar tickFontColor = getValueOrDefault(tickOpts.fontColor, globalDefaults.defaultFontColor);\n\t\t\t\t\t\t\tctx.font = tickLabelFont;\n\n\t\t\t\t\t\t\tif (tickOpts.showLabelBackdrop) {\n\t\t\t\t\t\t\t\tvar labelWidth = ctx.measureText(label).width;\n\t\t\t\t\t\t\t\tctx.fillStyle = tickOpts.backdropColor;\n\t\t\t\t\t\t\t\tctx.fillRect(\n\t\t\t\t\t\t\t\t\tme.xCenter - labelWidth / 2 - tickOpts.backdropPaddingX,\n\t\t\t\t\t\t\t\t\tyHeight - tickFontSize / 2 - tickOpts.backdropPaddingY,\n\t\t\t\t\t\t\t\t\tlabelWidth + tickOpts.backdropPaddingX * 2,\n\t\t\t\t\t\t\t\t\ttickFontSize + tickOpts.backdropPaddingY * 2\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tctx.textAlign = 'center';\n\t\t\t\t\t\t\tctx.textBaseline = 'middle';\n\t\t\t\t\t\t\tctx.fillStyle = tickFontColor;\n\t\t\t\t\t\t\tctx.fillText(label, me.xCenter, yHeight);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\tif (opts.angleLines.display || opts.pointLabels.display) {\n\t\t\t\t\tdrawPointLabels(me);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t});\n\tChart.scaleService.registerScaleType('radialLinear', LinearRadialScale, defaultConfig);\n\n};\n\n},{}],49:[function(require,module,exports){\n/* global window: false */\n'use strict';\n\nvar moment = require(1);\nmoment = typeof(moment) === 'function' ? moment : window.moment;\n\nmodule.exports = function(Chart) {\n\n\tvar helpers = Chart.helpers;\n\tvar interval = {\n\t\tmillisecond: {\n\t\t\tsize: 1,\n\t\t\tsteps: [1, 2, 5, 10, 20, 50, 100, 250, 500]\n\t\t},\n\t\tsecond: {\n\t\t\tsize: 1000,\n\t\t\tsteps: [1, 2, 5, 10, 30]\n\t\t},\n\t\tminute: {\n\t\t\tsize: 60000,\n\t\t\tsteps: [1, 2, 5, 10, 30]\n\t\t},\n\t\thour: {\n\t\t\tsize: 3600000,\n\t\t\tsteps: [1, 2, 3, 6, 12]\n\t\t},\n\t\tday: {\n\t\t\tsize: 86400000,\n\t\t\tsteps: [1, 2, 5]\n\t\t},\n\t\tweek: {\n\t\t\tsize: 604800000,\n\t\t\tmaxStep: 4\n\t\t},\n\t\tmonth: {\n\t\t\tsize: 2.628e9,\n\t\t\tmaxStep: 3\n\t\t},\n\t\tquarter: {\n\t\t\tsize: 7.884e9,\n\t\t\tmaxStep: 4\n\t\t},\n\t\tyear: {\n\t\t\tsize: 3.154e10,\n\t\t\tmaxStep: false\n\t\t}\n\t};\n\n\tvar defaultConfig = {\n\t\tposition: 'bottom',\n\n\t\ttime: {\n\t\t\tparser: false, // false == a pattern string from http://momentjs.com/docs/#/parsing/string-format/ or a custom callback that converts its argument to a moment\n\t\t\tformat: false, // DEPRECATED false == date objects, moment object, callback or a pattern string from http://momentjs.com/docs/#/parsing/string-format/\n\t\t\tunit: false, // false == automatic or override with week, month, year, etc.\n\t\t\tround: false, // none, or override with week, month, year, etc.\n\t\t\tdisplayFormat: false, // DEPRECATED\n\t\t\tisoWeekday: false, // override week start day - see http://momentjs.com/docs/#/get-set/iso-weekday/\n\t\t\tminUnit: 'millisecond',\n\n\t\t\t// defaults to unit's corresponding unitFormat below or override using pattern string from http://momentjs.com/docs/#/displaying/format/\n\t\t\tdisplayFormats: {\n\t\t\t\tmillisecond: 'h:mm:ss.SSS a', // 11:20:01.123 AM,\n\t\t\t\tsecond: 'h:mm:ss a', // 11:20:01 AM\n\t\t\t\tminute: 'h:mm:ss a', // 11:20:01 AM\n\t\t\t\thour: 'MMM D, hA', // Sept 4, 5PM\n\t\t\t\tday: 'll', // Sep 4 2015\n\t\t\t\tweek: 'll', // Week 46, or maybe \"[W]WW - YYYY\" ?\n\t\t\t\tmonth: 'MMM YYYY', // Sept 2015\n\t\t\t\tquarter: '[Q]Q - YYYY', // Q3\n\t\t\t\tyear: 'YYYY' // 2015\n\t\t\t},\n\t\t},\n\t\tticks: {\n\t\t\tautoSkip: false\n\t\t}\n\t};\n\n\t/**\n\t * Helper function to parse time to a moment object\n\t * @param axis {TimeAxis} the time axis\n\t * @param label {Date|string|number|Moment} The thing to parse\n\t * @return {Moment} parsed time\n\t */\n\tfunction parseTime(axis, label) {\n\t\tvar timeOpts = axis.options.time;\n\t\tif (typeof timeOpts.parser === 'string') {\n\t\t\treturn moment(label, timeOpts.parser);\n\t\t}\n\t\tif (typeof timeOpts.parser === 'function') {\n\t\t\treturn timeOpts.parser(label);\n\t\t}\n\t\tif (typeof label.getMonth === 'function' || typeof label === 'number') {\n\t\t\t// Date objects\n\t\t\treturn moment(label);\n\t\t}\n\t\tif (label.isValid && label.isValid()) {\n\t\t\t// Moment support\n\t\t\treturn label;\n\t\t}\n\t\tvar format = timeOpts.format;\n\t\tif (typeof format !== 'string' && format.call) {\n\t\t\t// Custom parsing (return an instance of moment)\n\t\t\tconsole.warn('options.time.format is deprecated and replaced by options.time.parser.');\n\t\t\treturn format(label);\n\t\t}\n\t\t// Moment format parsing\n\t\treturn moment(label, format);\n\t}\n\n\t/**\n\t * Figure out which is the best unit for the scale\n\t * @param minUnit {String} minimum unit to use\n\t * @param min {Number} scale minimum\n\t * @param max {Number} scale maximum\n\t * @return {String} the unit to use\n\t */\n\tfunction determineUnit(minUnit, min, max, maxTicks) {\n\t\tvar units = Object.keys(interval);\n\t\tvar unit;\n\t\tvar numUnits = units.length;\n\n\t\tfor (var i = units.indexOf(minUnit); i < numUnits; i++) {\n\t\t\tunit = units[i];\n\t\t\tvar unitDetails = interval[unit];\n\t\t\tvar steps = (unitDetails.steps && unitDetails.steps[unitDetails.steps.length - 1]) || unitDetails.maxStep;\n\t\t\tif (steps === undefined || Math.ceil((max - min) / (steps * unitDetails.size)) <= maxTicks) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\treturn unit;\n\t}\n\n\t/**\n\t * Determines how we scale the unit\n\t * @param min {Number} the scale minimum\n\t * @param max {Number} the scale maximum\n\t * @param unit {String} the unit determined by the {@see determineUnit} method\n\t * @return {Number} the axis step size as a multiple of unit\n\t */\n\tfunction determineStepSize(min, max, unit, maxTicks) {\n\t\t// Using our unit, figoure out what we need to scale as\n\t\tvar unitDefinition = interval[unit];\n\t\tvar unitSizeInMilliSeconds = unitDefinition.size;\n\t\tvar sizeInUnits = Math.ceil((max - min) / unitSizeInMilliSeconds);\n\t\tvar multiplier = 1;\n\t\tvar range = max - min;\n\n\t\tif (unitDefinition.steps) {\n\t\t\t// Have an array of steps\n\t\t\tvar numSteps = unitDefinition.steps.length;\n\t\t\tfor (var i = 0; i < numSteps && sizeInUnits > maxTicks; i++) {\n\t\t\t\tmultiplier = unitDefinition.steps[i];\n\t\t\t\tsizeInUnits = Math.ceil(range / (unitSizeInMilliSeconds * multiplier));\n\t\t\t}\n\t\t} else {\n\t\t\twhile (sizeInUnits > maxTicks && maxTicks > 0) {\n\t\t\t\t++multiplier;\n\t\t\t\tsizeInUnits = Math.ceil(range / (unitSizeInMilliSeconds * multiplier));\n\t\t\t}\n\t\t}\n\n\t\treturn multiplier;\n\t}\n\n\t/**\n\t * Helper for generating axis labels.\n\t * @param options {ITimeGeneratorOptions} the options for generation\n\t * @param dataRange {IRange} the data range\n\t * @param niceRange {IRange} the pretty range to display\n\t * @return {Number[]} ticks\n\t */\n\tfunction generateTicks(options, dataRange, niceRange) {\n\t\tvar ticks = [];\n\t\tif (options.maxTicks) {\n\t\t\tvar stepSize = options.stepSize;\n\t\t\tticks.push(options.min !== undefined ? options.min : niceRange.min);\n\t\t\tvar cur = moment(niceRange.min);\n\t\t\twhile (cur.add(stepSize, options.unit).valueOf() < niceRange.max) {\n\t\t\t\tticks.push(cur.valueOf());\n\t\t\t}\n\t\t\tvar realMax = options.max || niceRange.max;\n\t\t\tif (ticks[ticks.length - 1] !== realMax) {\n\t\t\t\tticks.push(realMax);\n\t\t\t}\n\t\t}\n\t\treturn ticks;\n\t}\n\n\t/**\n\t * @function Chart.Ticks.generators.time\n\t * @param options {ITimeGeneratorOptions} the options for generation\n\t * @param dataRange {IRange} the data range\n\t * @return {Number[]} ticks\n\t */\n\tChart.Ticks.generators.time = function(options, dataRange) {\n\t\tvar niceMin;\n\t\tvar niceMax;\n\t\tvar isoWeekday = options.isoWeekday;\n\t\tif (options.unit === 'week' && isoWeekday !== false) {\n\t\t\tniceMin = moment(dataRange.min).startOf('isoWeek').isoWeekday(isoWeekday).valueOf();\n\t\t\tniceMax = moment(dataRange.max).startOf('isoWeek').isoWeekday(isoWeekday);\n\t\t\tif (dataRange.max - niceMax > 0) {\n\t\t\t\tniceMax.add(1, 'week');\n\t\t\t}\n\t\t\tniceMax = niceMax.valueOf();\n\t\t} else {\n\t\t\tniceMin = moment(dataRange.min).startOf(options.unit).valueOf();\n\t\t\tniceMax = moment(dataRange.max).startOf(options.unit);\n\t\t\tif (dataRange.max - niceMax > 0) {\n\t\t\t\tniceMax.add(1, options.unit);\n\t\t\t}\n\t\t\tniceMax = niceMax.valueOf();\n\t\t}\n\t\treturn generateTicks(options, dataRange, {\n\t\t\tmin: niceMin,\n\t\t\tmax: niceMax\n\t\t});\n\t};\n\n\tvar TimeScale = Chart.Scale.extend({\n\t\tinitialize: function() {\n\t\t\tif (!moment) {\n\t\t\t\tthrow new Error('Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com');\n\t\t\t}\n\n\t\t\tChart.Scale.prototype.initialize.call(this);\n\t\t},\n\t\tdetermineDataLimits: function() {\n\t\t\tvar me = this;\n\t\t\tvar timeOpts = me.options.time;\n\n\t\t\t// We store the data range as unix millisecond timestamps so dataMin and dataMax will always be integers.\n\t\t\tvar dataMin = Number.MAX_SAFE_INTEGER;\n\t\t\tvar dataMax = Number.MIN_SAFE_INTEGER;\n\n\t\t\tvar chartData = me.chart.data;\n\t\t\tvar parsedData = {\n\t\t\t\tlabels: [],\n\t\t\t\tdatasets: []\n\t\t\t};\n\n\t\t\tvar timestamp;\n\n\t\t\thelpers.each(chartData.labels, function(label, labelIndex) {\n\t\t\t\tvar labelMoment = parseTime(me, label);\n\n\t\t\t\tif (labelMoment.isValid()) {\n\t\t\t\t\t// We need to round the time\n\t\t\t\t\tif (timeOpts.round) {\n\t\t\t\t\t\tlabelMoment.startOf(timeOpts.round);\n\t\t\t\t\t}\n\n\t\t\t\t\ttimestamp = labelMoment.valueOf();\n\t\t\t\t\tdataMin = Math.min(timestamp, dataMin);\n\t\t\t\t\tdataMax = Math.max(timestamp, dataMax);\n\n\t\t\t\t\t// Store this value for later\n\t\t\t\t\tparsedData.labels[labelIndex] = timestamp;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\thelpers.each(chartData.datasets, function(dataset, datasetIndex) {\n\t\t\t\tvar timestamps = [];\n\n\t\t\t\tif (typeof dataset.data[0] === 'object' && dataset.data[0] !== null && me.chart.isDatasetVisible(datasetIndex)) {\n\t\t\t\t\t// We have potential point data, so we need to parse this\n\t\t\t\t\thelpers.each(dataset.data, function(value, dataIndex) {\n\t\t\t\t\t\tvar dataMoment = parseTime(me, me.getRightValue(value));\n\n\t\t\t\t\t\tif (dataMoment.isValid()) {\n\t\t\t\t\t\t\tif (timeOpts.round) {\n\t\t\t\t\t\t\t\tdataMoment.startOf(timeOpts.round);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\ttimestamp = dataMoment.valueOf();\n\t\t\t\t\t\t\tdataMin = Math.min(timestamp, dataMin);\n\t\t\t\t\t\t\tdataMax = Math.max(timestamp, dataMax);\n\t\t\t\t\t\t\ttimestamps[dataIndex] = timestamp;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\t// We have no x coordinates, so use the ones from the labels\n\t\t\t\t\ttimestamps = parsedData.labels.slice();\n\t\t\t\t}\n\n\t\t\t\tparsedData.datasets[datasetIndex] = timestamps;\n\t\t\t});\n\n\t\t\tme.dataMin = dataMin;\n\t\t\tme.dataMax = dataMax;\n\t\t\tme._parsedData = parsedData;\n\t\t},\n\t\tbuildTicks: function() {\n\t\t\tvar me = this;\n\t\t\tvar timeOpts = me.options.time;\n\n\t\t\tvar minTimestamp;\n\t\t\tvar maxTimestamp;\n\t\t\tvar dataMin = me.dataMin;\n\t\t\tvar dataMax = me.dataMax;\n\n\t\t\tif (timeOpts.min) {\n\t\t\t\tvar minMoment = parseTime(me, timeOpts.min);\n\t\t\t\tif (timeOpts.round) {\n\t\t\t\t\tminMoment.round(timeOpts.round);\n\t\t\t\t}\n\t\t\t\tminTimestamp = minMoment.valueOf();\n\t\t\t}\n\n\t\t\tif (timeOpts.max) {\n\t\t\t\tmaxTimestamp = parseTime(me, timeOpts.max).valueOf();\n\t\t\t}\n\n\t\t\tvar maxTicks = me.getLabelCapacity(minTimestamp || dataMin);\n\t\t\tvar unit = timeOpts.unit || determineUnit(timeOpts.minUnit, minTimestamp || dataMin, maxTimestamp || dataMax, maxTicks);\n\t\t\tme.displayFormat = timeOpts.displayFormats[unit];\n\n\t\t\tvar stepSize = timeOpts.stepSize || determineStepSize(minTimestamp || dataMin, maxTimestamp || dataMax, unit, maxTicks);\n\t\t\tme.ticks = Chart.Ticks.generators.time({\n\t\t\t\tmaxTicks: maxTicks,\n\t\t\t\tmin: minTimestamp,\n\t\t\t\tmax: maxTimestamp,\n\t\t\t\tstepSize: stepSize,\n\t\t\t\tunit: unit,\n\t\t\t\tisoWeekday: timeOpts.isoWeekday\n\t\t\t}, {\n\t\t\t\tmin: dataMin,\n\t\t\t\tmax: dataMax\n\t\t\t});\n\n\t\t\t// At this point, we need to update our max and min given the tick values since we have expanded the\n\t\t\t// range of the scale\n\t\t\tme.max = helpers.max(me.ticks);\n\t\t\tme.min = helpers.min(me.ticks);\n\t\t},\n\t\t// Get tooltip label\n\t\tgetLabelForIndex: function(index, datasetIndex) {\n\t\t\tvar me = this;\n\t\t\tvar label = me.chart.data.labels && index < me.chart.data.labels.length ? me.chart.data.labels[index] : '';\n\t\t\tvar value = me.chart.data.datasets[datasetIndex].data[index];\n\n\t\t\tif (value !== null && typeof value === 'object') {\n\t\t\t\tlabel = me.getRightValue(value);\n\t\t\t}\n\n\t\t\t// Format nicely\n\t\t\tif (me.options.time.tooltipFormat) {\n\t\t\t\tlabel = parseTime(me, label).format(me.options.time.tooltipFormat);\n\t\t\t}\n\n\t\t\treturn label;\n\t\t},\n\t\t// Function to format an individual tick mark\n\t\ttickFormatFunction: function(tick, index, ticks) {\n\t\t\tvar formattedTick = tick.format(this.displayFormat);\n\t\t\tvar tickOpts = this.options.ticks;\n\t\t\tvar callback = helpers.getValueOrDefault(tickOpts.callback, tickOpts.userCallback);\n\n\t\t\tif (callback) {\n\t\t\t\treturn callback(formattedTick, index, ticks);\n\t\t\t}\n\t\t\treturn formattedTick;\n\t\t},\n\t\tconvertTicksToLabels: function() {\n\t\t\tvar me = this;\n\t\t\tme.ticksAsTimestamps = me.ticks;\n\t\t\tme.ticks = me.ticks.map(function(tick) {\n\t\t\t\treturn moment(tick);\n\t\t\t}).map(me.tickFormatFunction, me);\n\t\t},\n\t\tgetPixelForOffset: function(offset) {\n\t\t\tvar me = this;\n\t\t\tvar epochWidth = me.max - me.min;\n\t\t\tvar decimal = epochWidth ? (offset - me.min) / epochWidth : 0;\n\n\t\t\tif (me.isHorizontal()) {\n\t\t\t\tvar valueOffset = (me.width * decimal);\n\t\t\t\treturn me.left + Math.round(valueOffset);\n\t\t\t}\n\n\t\t\tvar heightOffset = (me.height * decimal);\n\t\t\treturn me.top + Math.round(heightOffset);\n\t\t},\n\t\tgetPixelForValue: function(value, index, datasetIndex) {\n\t\t\tvar me = this;\n\t\t\tvar offset = null;\n\t\t\tif (index !== undefined && datasetIndex !== undefined) {\n\t\t\t\toffset = me._parsedData.datasets[datasetIndex][index];\n\t\t\t}\n\n\t\t\tif (offset === null) {\n\t\t\t\tif (!value || !value.isValid) {\n\t\t\t\t\t// not already a moment object\n\t\t\t\t\tvalue = parseTime(me, me.getRightValue(value));\n\t\t\t\t}\n\n\t\t\t\tif (value && value.isValid && value.isValid()) {\n\t\t\t\t\toffset = value.valueOf();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (offset !== null) {\n\t\t\t\treturn me.getPixelForOffset(offset);\n\t\t\t}\n\t\t},\n\t\tgetPixelForTick: function(index) {\n\t\t\treturn this.getPixelForOffset(this.ticksAsTimestamps[index]);\n\t\t},\n\t\tgetValueForPixel: function(pixel) {\n\t\t\tvar me = this;\n\t\t\tvar innerDimension = me.isHorizontal() ? me.width : me.height;\n\t\t\tvar offset = (pixel - (me.isHorizontal() ? me.left : me.top)) / innerDimension;\n\t\t\treturn moment(me.min + (offset * (me.max - me.min)));\n\t\t},\n\t\t// Crude approximation of what the label width might be\n\t\tgetLabelWidth: function(label) {\n\t\t\tvar me = this;\n\t\t\tvar ticks = me.options.ticks;\n\n\t\t\tvar tickLabelWidth = me.ctx.measureText(label).width;\n\t\t\tvar cosRotation = Math.cos(helpers.toRadians(ticks.maxRotation));\n\t\t\tvar sinRotation = Math.sin(helpers.toRadians(ticks.maxRotation));\n\t\t\tvar tickFontSize = helpers.getValueOrDefault(ticks.fontSize, Chart.defaults.global.defaultFontSize);\n\t\t\treturn (tickLabelWidth * cosRotation) + (tickFontSize * sinRotation);\n\t\t},\n\t\tgetLabelCapacity: function(exampleTime) {\n\t\t\tvar me = this;\n\n\t\t\tme.displayFormat = me.options.time.displayFormats.millisecond;\t// Pick the longest format for guestimation\n\t\t\tvar exampleLabel = me.tickFormatFunction(moment(exampleTime), 0, []);\n\t\t\tvar tickLabelWidth = me.getLabelWidth(exampleLabel);\n\n\t\t\tvar innerWidth = me.isHorizontal() ? me.width : me.height;\n\t\t\tvar labelCapacity = innerWidth / tickLabelWidth;\n\t\t\treturn labelCapacity;\n\t\t}\n\t});\n\tChart.scaleService.registerScaleType('time', TimeScale, defaultConfig);\n\n};\n\n},{\"1\":1}]},{},[7])(7)\n});","/* globals Ember, require */\n\n(function() {\n  var _Ember;\n  var id = 0;\n  var dateKey = new Date().getTime();\n\n  if (typeof Ember !== 'undefined') {\n    _Ember = Ember;\n  } else {\n    _Ember = require('ember').default;\n  }\n\n  function symbol() {\n    return '__ember' + dateKey + id++;\n  }\n\n  function UNDEFINED() {}\n\n  function FakeWeakMap(iterable) {\n    this._id = symbol();\n\n    if (iterable === null || iterable === undefined) {\n      return;\n    } else if (Array.isArray(iterable)) {\n      for (var i = 0; i < iterable.length; i++) {\n        var key = iterable[i][0];\n        var value = iterable[i][1];\n        this.set(key, value);\n      }\n    } else {\n      throw new TypeError('The weak map constructor polyfill only supports an array argument');\n    }\n  }\n\n  if (!_Ember.WeakMap) {\n    var meta = _Ember.meta;\n    var metaKey = symbol();\n\n    /*\n     * @method get\n     * @param key {Object}\n     * @return {*} stored value\n     */\n    FakeWeakMap.prototype.get = function(obj) {\n      var metaInfo = meta(obj);\n      var metaObject = metaInfo[metaKey];\n\n      if (metaInfo && metaObject) {\n        if (metaObject[this._id] === UNDEFINED) {\n          return undefined;\n        }\n\n        return metaObject[this._id];\n      }\n    }\n\n    /*\n     * @method set\n     * @param key {Object}\n     * @param value {Any}\n     * @return {Any} stored value\n     */\n    FakeWeakMap.prototype.set = function(obj, value) {\n      var type = typeof obj;\n\n      if (!obj || (type !== 'object' && type !== 'function')) {\n        throw new TypeError('Invalid value used as weak map key');\n      }\n\n      var metaInfo = meta(obj);\n      if (value === undefined) {\n        value = UNDEFINED;\n      }\n\n      if (!metaInfo[metaKey]) {\n        metaInfo[metaKey] = {};\n      }\n\n      metaInfo[metaKey][this._id] = value;\n      return this;\n    }\n\n    /*\n     * @method has\n     * @param key {Object}\n     * @return {Boolean} if the key exists\n     */\n    FakeWeakMap.prototype.has = function(obj) {\n      var metaInfo   = meta(obj);\n      var metaObject = metaInfo[metaKey];\n\n      return (metaObject && metaObject[this._id] !== undefined);\n    }\n\n    /*\n     * @method delete\n     * @param key {Object}\n     */\n    FakeWeakMap.prototype.delete = function(obj) {\n      var metaInfo = meta(obj);\n\n      if (this.has(obj)) {\n        delete metaInfo[metaKey][this._id];\n\n        return true;\n      }\n\n      return false;\n    }\n\n    if (typeof WeakMap === 'function' && window.OVERRIDE_WEAKMAP !== true) {\n      _Ember.WeakMap = WeakMap;\n    } else {\n      _Ember.WeakMap = FakeWeakMap;\n    }\n  }\n})();\n","/*! Raven.js 3.3.0 (74c6c03) | github.com/getsentry/raven-js */\n\n/*\n * Includes TraceKit\n * https://github.com/getsentry/TraceKit\n *\n * Copyright 2016 Matt Robenolt and other contributors\n * Released under the BSD license\n * https://github.com/getsentry/raven-js/blob/master/LICENSE\n *\n */\n\n(function(f){if(typeof exports===\"object\"&&typeof module!==\"undefined\"){module.exports=f()}else if(typeof define===\"function\"&&define.amd){define([],f)}else{var g;if(typeof window!==\"undefined\"){g=window}else if(typeof global!==\"undefined\"){g=global}else if(typeof self!==\"undefined\"){g=self}else{g=this}g.Raven = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==\"function\"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error(\"Cannot find module '\"+o+\"'\");throw f.code=\"MODULE_NOT_FOUND\",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==\"function\"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){\nexports = module.exports = stringify\nexports.getSerialize = serializer\n\nfunction stringify(obj, replacer, spaces, cycleReplacer) {\n  return JSON.stringify(obj, serializer(replacer, cycleReplacer), spaces)\n}\n\nfunction serializer(replacer, cycleReplacer) {\n  var stack = [], keys = []\n\n  if (cycleReplacer == null) cycleReplacer = function(key, value) {\n    if (stack[0] === value) return \"[Circular ~]\"\n    return \"[Circular ~.\" + keys.slice(0, stack.indexOf(value)).join(\".\") + \"]\"\n  }\n\n  return function(key, value) {\n    if (stack.length > 0) {\n      var thisPos = stack.indexOf(this)\n      ~thisPos ? stack.splice(thisPos + 1) : stack.push(this)\n      ~thisPos ? keys.splice(thisPos, Infinity, key) : keys.push(key)\n      if (~stack.indexOf(value)) value = cycleReplacer.call(this, key, value)\n    }\n    else stack.push(value)\n\n    return replacer == null ? value : replacer.call(this, key, value)\n  }\n}\n\n},{}],2:[function(_dereq_,module,exports){\n'use strict';\n\nfunction RavenConfigError(message) {\n    this.name = 'RavenConfigError';\n    this.message = message;\n}\nRavenConfigError.prototype = new Error();\nRavenConfigError.prototype.constructor = RavenConfigError;\n\nmodule.exports = RavenConfigError;\n\n},{}],3:[function(_dereq_,module,exports){\n'use strict';\n\nvar wrapMethod = function(console, level, callback) {\n    var originalConsoleLevel = console[level];\n    var originalConsole = console;\n\n    if (!(level in console)) {\n        return;\n    }\n\n    var sentryLevel = level === 'warn'\n        ? 'warning'\n        : level;\n\n    console[level] = function () {\n        var args = [].slice.call(arguments);\n\n        var msg = '' + args.join(' ');\n        var data = {level: sentryLevel, logger: 'console', extra: {'arguments': args}};\n        callback && callback(msg, data);\n\n        // this fails for some browsers. :(\n        if (originalConsoleLevel) {\n            // IE9 doesn't allow calling apply on console functions directly\n            // See: https://stackoverflow.com/questions/5472938/does-ie9-support-console-log-and-is-it-a-real-function#answer-5473193\n            Function.prototype.apply.call(\n                originalConsoleLevel,\n                originalConsole,\n                args\n            );\n        }\n    };\n};\n\nmodule.exports = {\n    wrapMethod: wrapMethod\n};\n\n},{}],4:[function(_dereq_,module,exports){\n/*global XDomainRequest:false*/\n'use strict';\n\nvar TraceKit = _dereq_(7);\nvar RavenConfigError = _dereq_(2);\nvar utils = _dereq_(6);\nvar stringify = _dereq_(1);\n\nvar isFunction = utils.isFunction;\nvar isUndefined = utils.isUndefined;\nvar isError = utils.isError;\nvar isEmptyObject = utils.isEmptyObject;\nvar hasKey = utils.hasKey;\nvar joinRegExp = utils.joinRegExp;\nvar each = utils.each;\nvar objectMerge = utils.objectMerge;\nvar truncate = utils.truncate;\nvar urlencode = utils.urlencode;\nvar uuid4 = utils.uuid4;\nvar htmlTreeAsString = utils.htmlTreeAsString;\nvar parseUrl = utils.parseUrl;\nvar isString = utils.isString;\n\nvar wrapConsoleMethod = _dereq_(3).wrapMethod;\n\nvar dsnKeys = 'source protocol user pass host port path'.split(' '),\n    dsnPattern = /^(?:(\\w+):)?\\/\\/(?:(\\w+)(:\\w+)?@)?([\\w\\.-]+)(?::(\\d+))?(\\/.*)/;\n\nfunction now() {\n    return +new Date();\n}\n\n// First, check for JSON support\n// If there is no JSON, we no-op the core features of Raven\n// since JSON is required to encode the payload\nfunction Raven() {\n    this._hasJSON = !!(typeof JSON === 'object' && JSON.stringify);\n    // Raven can run in contexts where there's no document (react-native)\n    this._hasDocument = typeof document !== 'undefined';\n    this._lastCapturedException = null;\n    this._lastEventId = null;\n    this._globalServer = null;\n    this._globalKey = null;\n    this._globalProject = null;\n    this._globalContext = {};\n    this._globalOptions = {\n        logger: 'javascript',\n        ignoreErrors: [],\n        ignoreUrls: [],\n        whitelistUrls: [],\n        includePaths: [],\n        crossOrigin: 'anonymous',\n        collectWindowErrors: true,\n        maxMessageLength: 0,\n        stackTraceLimit: 50\n    };\n    this._ignoreOnError = 0;\n    this._isRavenInstalled = false;\n    this._originalErrorStackTraceLimit = Error.stackTraceLimit;\n    // capture references to window.console *and* all its methods first\n    // before the console plugin has a chance to monkey patch\n    this._originalConsole = window.console || {};\n    this._originalConsoleMethods = {};\n    this._plugins = [];\n    this._startTime = now();\n    this._wrappedBuiltIns = [];\n    this._breadcrumbs = [];\n    this._breadcrumbLimit = 20;\n    this._lastCapturedEvent = null;\n    this._keypressTimeout;\n    this._location = window.location;\n    this._lastHref = this._location && this._location.href;\n\n    for (var method in this._originalConsole) {  // eslint-disable-line guard-for-in\n      this._originalConsoleMethods[method] = this._originalConsole[method];\n    }\n}\n\n/*\n * The core Raven singleton\n *\n * @this {Raven}\n */\n\nRaven.prototype = {\n    // Hardcode version string so that raven source can be loaded directly via\n    // webpack (using a build step causes webpack #1617). Grunt verifies that\n    // this value matches package.json during build.\n    //   See: https://github.com/getsentry/raven-js/issues/465\n    VERSION: '3.3.0',\n\n    debug: false,\n\n    TraceKit: TraceKit, // alias to TraceKit\n\n    /*\n     * Configure Raven with a DSN and extra options\n     *\n     * @param {string} dsn The public Sentry DSN\n     * @param {object} options Optional set of of global options [optional]\n     * @return {Raven}\n     */\n    config: function(dsn, options) {\n        var self = this;\n\n        if (this._globalServer) {\n                this._logDebug('error', 'Error: Raven has already been configured');\n            return this;\n        }\n        if (!dsn) return this;\n\n        // merge in options\n        if (options) {\n            each(options, function(key, value){\n                // tags and extra are special and need to be put into context\n                if (key === 'tags' || key === 'extra') {\n                    self._globalContext[key] = value;\n                } else {\n                    self._globalOptions[key] = value;\n                }\n            });\n        }\n\n        var uri = this._parseDSN(dsn),\n            lastSlash = uri.path.lastIndexOf('/'),\n            path = uri.path.substr(1, lastSlash);\n\n        this._dsn = dsn;\n\n        // \"Script error.\" is hard coded into browsers for errors that it can't read.\n        // this is the result of a script being pulled in from an external domain and CORS.\n        this._globalOptions.ignoreErrors.push(/^Script error\\.?$/);\n        this._globalOptions.ignoreErrors.push(/^Javascript error: Script error\\.? on line 0$/);\n\n        // join regexp rules into one big rule\n        this._globalOptions.ignoreErrors = joinRegExp(this._globalOptions.ignoreErrors);\n        this._globalOptions.ignoreUrls = this._globalOptions.ignoreUrls.length ? joinRegExp(this._globalOptions.ignoreUrls) : false;\n        this._globalOptions.whitelistUrls = this._globalOptions.whitelistUrls.length ? joinRegExp(this._globalOptions.whitelistUrls) : false;\n        this._globalOptions.includePaths = joinRegExp(this._globalOptions.includePaths);\n\n        this._globalKey = uri.user;\n        this._globalSecret = uri.pass && uri.pass.substr(1);\n        this._globalProject = uri.path.substr(lastSlash + 1);\n\n        this._globalServer = this._getGlobalServer(uri);\n\n        this._globalEndpoint = this._globalServer +\n            '/' + path + 'api/' + this._globalProject + '/store/';\n\n        TraceKit.collectWindowErrors = !!this._globalOptions.collectWindowErrors;\n\n        // return for chaining\n        return this;\n    },\n\n    /*\n     * Installs a global window.onerror error handler\n     * to capture and report uncaught exceptions.\n     * At this point, install() is required to be called due\n     * to the way TraceKit is set up.\n     *\n     * @return {Raven}\n     */\n    install: function() {\n        var self = this;\n        if (this.isSetup() && !this._isRavenInstalled) {\n            TraceKit.report.subscribe(function () {\n                self._handleOnErrorStackInfo.apply(self, arguments);\n            });\n            this._wrapBuiltIns();\n\n            // Install all of the plugins\n            this._drainPlugins();\n\n            this._isRavenInstalled = true;\n        }\n\n        Error.stackTraceLimit = this._globalOptions.stackTraceLimit;\n        return this;\n    },\n\n    /*\n     * Wrap code within a context so Raven can capture errors\n     * reliably across domains that is executed immediately.\n     *\n     * @param {object} options A specific set of options for this context [optional]\n     * @param {function} func The callback to be immediately executed within the context\n     * @param {array} args An array of arguments to be called with the callback [optional]\n     */\n    context: function(options, func, args) {\n        if (isFunction(options)) {\n            args = func || [];\n            func = options;\n            options = undefined;\n        }\n\n        return this.wrap(options, func).apply(this, args);\n    },\n\n    /*\n     * Wrap code within a context and returns back a new function to be executed\n     *\n     * @param {object} options A specific set of options for this context [optional]\n     * @param {function} func The function to be wrapped in a new context\n     * @param {function} func A function to call before the try/catch wrapper [optional, private]\n     * @return {function} The newly wrapped functions with a context\n     */\n    wrap: function(options, func, _before) {\n        var self = this;\n        // 1 argument has been passed, and it's not a function\n        // so just return it\n        if (isUndefined(func) && !isFunction(options)) {\n            return options;\n        }\n\n        // options is optional\n        if (isFunction(options)) {\n            func = options;\n            options = undefined;\n        }\n\n        // At this point, we've passed along 2 arguments, and the second one\n        // is not a function either, so we'll just return the second argument.\n        if (!isFunction(func)) {\n            return func;\n        }\n\n        // We don't wanna wrap it twice!\n        try {\n            if (func.__raven__) {\n                return func;\n            }\n        } catch (e) {\n            // Just accessing the __raven__ prop in some Selenium environments\n            // can cause a \"Permission denied\" exception (see raven-js#495).\n            // Bail on wrapping and return the function as-is (defers to window.onerror).\n            return func;\n        }\n\n        // If this has already been wrapped in the past, return that\n        if (func.__raven_wrapper__ ){\n            return func.__raven_wrapper__ ;\n        }\n\n        function wrapped() {\n            var args = [], i = arguments.length,\n                deep = !options || options && options.deep !== false;\n\n            if (_before && isFunction(_before)) {\n                _before.apply(this, arguments);\n            }\n\n            // Recursively wrap all of a function's arguments that are\n            // functions themselves.\n            while(i--) args[i] = deep ? self.wrap(options, arguments[i]) : arguments[i];\n\n            try {\n                return func.apply(this, args);\n            } catch(e) {\n                self._ignoreNextOnError();\n                self.captureException(e, options);\n                throw e;\n            }\n        }\n\n        // copy over properties of the old function\n        for (var property in func) {\n            if (hasKey(func, property)) {\n                wrapped[property] = func[property];\n            }\n        }\n        wrapped.prototype = func.prototype;\n\n        func.__raven_wrapper__ = wrapped;\n        // Signal that this function has been wrapped already\n        // for both debugging and to prevent it to being wrapped twice\n        wrapped.__raven__ = true;\n        wrapped.__inner__ = func;\n\n        return wrapped;\n    },\n\n    /*\n     * Uninstalls the global error handler.\n     *\n     * @return {Raven}\n     */\n    uninstall: function() {\n        TraceKit.report.uninstall();\n\n        this._restoreBuiltIns();\n\n        Error.stackTraceLimit = this._originalErrorStackTraceLimit;\n        this._isRavenInstalled = false;\n\n        return this;\n    },\n\n    /*\n     * Manually capture an exception and send it over to Sentry\n     *\n     * @param {error} ex An exception to be logged\n     * @param {object} options A specific set of options for this error [optional]\n     * @return {Raven}\n     */\n    captureException: function(ex, options) {\n        // If not an Error is passed through, recall as a message instead\n        if (!isError(ex)) return this.captureMessage(ex, options);\n\n        // Store the raw exception object for potential debugging and introspection\n        this._lastCapturedException = ex;\n\n        // TraceKit.report will re-raise any exception passed to it,\n        // which means you have to wrap it in try/catch. Instead, we\n        // can wrap it here and only re-raise if TraceKit.report\n        // raises an exception different from the one we asked to\n        // report on.\n        try {\n            var stack = TraceKit.computeStackTrace(ex);\n            this._handleStackInfo(stack, options);\n        } catch(ex1) {\n            if(ex !== ex1) {\n                throw ex1;\n            }\n        }\n\n        return this;\n    },\n\n    /*\n     * Manually send a message to Sentry\n     *\n     * @param {string} msg A plain message to be captured in Sentry\n     * @param {object} options A specific set of options for this message [optional]\n     * @return {Raven}\n     */\n    captureMessage: function(msg, options) {\n        // config() automagically converts ignoreErrors from a list to a RegExp so we need to test for an\n        // early call; we'll error on the side of logging anything called before configuration since it's\n        // probably something you should see:\n        if (!!this._globalOptions.ignoreErrors.test && this._globalOptions.ignoreErrors.test(msg)) {\n            return;\n        }\n\n        // Fire away!\n        this._send(\n            objectMerge({\n                message: msg + ''  // Make sure it's actually a string\n            }, options)\n        );\n\n        return this;\n    },\n\n    captureBreadcrumb: function (obj) {\n        var crumb = objectMerge({\n            timestamp: now() / 1000\n        }, obj);\n\n        this._breadcrumbs.push(crumb);\n        if (this._breadcrumbs.length > this._breadcrumbLimit) {\n            this._breadcrumbs.shift();\n        }\n    },\n\n    addPlugin: function(plugin /*arg1, arg2, ... argN*/) {\n        var pluginArgs = Array.prototype.slice.call(arguments, 1);\n\n        this._plugins.push([plugin, pluginArgs]);\n        if (this._isRavenInstalled) {\n            this._drainPlugins();\n        }\n\n        return this;\n    },\n\n    /*\n     * Set/clear a user to be sent along with the payload.\n     *\n     * @param {object} user An object representing user data [optional]\n     * @return {Raven}\n     */\n    setUserContext: function(user) {\n        // Intentionally do not merge here since that's an unexpected behavior.\n        this._globalContext.user = user;\n\n        return this;\n    },\n\n    /*\n     * Merge extra attributes to be sent along with the payload.\n     *\n     * @param {object} extra An object representing extra data [optional]\n     * @return {Raven}\n     */\n    setExtraContext: function(extra) {\n        this._mergeContext('extra', extra);\n\n        return this;\n    },\n\n    /*\n     * Merge tags to be sent along with the payload.\n     *\n     * @param {object} tags An object representing tags [optional]\n     * @return {Raven}\n     */\n    setTagsContext: function(tags) {\n        this._mergeContext('tags', tags);\n\n        return this;\n    },\n\n    /*\n     * Clear all of the context.\n     *\n     * @return {Raven}\n     */\n    clearContext: function() {\n        this._globalContext = {};\n\n        return this;\n    },\n\n    /*\n     * Get a copy of the current context. This cannot be mutated.\n     *\n     * @return {object} copy of context\n     */\n    getContext: function() {\n        // lol javascript\n        return JSON.parse(stringify(this._globalContext));\n    },\n\n\n    /*\n     * Set environment of application\n     *\n     * @param {string} environment Typically something like 'production'.\n     * @return {Raven}\n     */\n    setEnvironment: function(environment) {\n        this._globalOptions.environment = environment;\n\n        return this;\n    },\n\n    /*\n     * Set release version of application\n     *\n     * @param {string} release Typically something like a git SHA to identify version\n     * @return {Raven}\n     */\n    setRelease: function(release) {\n        this._globalOptions.release = release;\n\n        return this;\n    },\n\n    /*\n     * Set the dataCallback option\n     *\n     * @param {function} callback The callback to run which allows the\n     *                            data blob to be mutated before sending\n     * @return {Raven}\n     */\n    setDataCallback: function(callback) {\n        var original = this._globalOptions.dataCallback;\n        this._globalOptions.dataCallback = isFunction(callback)\n          ? function (data) { return callback(data, original); }\n          : callback;\n\n        return this;\n    },\n\n    /*\n     * Set the shouldSendCallback option\n     *\n     * @param {function} callback The callback to run which allows\n     *                            introspecting the blob before sending\n     * @return {Raven}\n     */\n    setShouldSendCallback: function(callback) {\n        var original = this._globalOptions.shouldSendCallback;\n        this._globalOptions.shouldSendCallback = isFunction(callback)\n            ? function (data) { return callback(data, original); }\n            : callback;\n\n        return this;\n    },\n\n    /**\n     * Override the default HTTP transport mechanism that transmits data\n     * to the Sentry server.\n     *\n     * @param {function} transport Function invoked instead of the default\n     *                             `makeRequest` handler.\n     *\n     * @return {Raven}\n     */\n    setTransport: function(transport) {\n        this._globalOptions.transport = transport;\n\n        return this;\n    },\n\n    /*\n     * Get the latest raw exception that was captured by Raven.\n     *\n     * @return {error}\n     */\n    lastException: function() {\n        return this._lastCapturedException;\n    },\n\n    /*\n     * Get the last event id\n     *\n     * @return {string}\n     */\n    lastEventId: function() {\n        return this._lastEventId;\n    },\n\n    /*\n     * Determine if Raven is setup and ready to go.\n     *\n     * @return {boolean}\n     */\n    isSetup: function() {\n        if (!this._hasJSON) return false;  // needs JSON support\n        if (!this._globalServer) {\n            if (!this.ravenNotConfiguredError) {\n              this.ravenNotConfiguredError = true;\n              this._logDebug('error', 'Error: Raven has not been configured.');\n            }\n            return false;\n        }\n        return true;\n    },\n\n    afterLoad: function () {\n        // TODO: remove window dependence?\n\n        // Attempt to initialize Raven on load\n        var RavenConfig = window.RavenConfig;\n        if (RavenConfig) {\n            this.config(RavenConfig.dsn, RavenConfig.config).install();\n        }\n    },\n\n    showReportDialog: function (options) {\n        if (!window.document) // doesn't work without a document (React native)\n            return;\n\n        options = options || {};\n\n        var lastEventId = options.eventId || this.lastEventId();\n        if (!lastEventId) {\n            throw new RavenConfigError('Missing eventId');\n        }\n\n        var dsn = options.dsn || this._dsn;\n        if (!dsn) {\n            throw new RavenConfigError('Missing DSN');\n        }\n\n        var encode = encodeURIComponent;\n        var qs = '';\n        qs += '?eventId=' + encode(lastEventId);\n        qs += '&dsn=' + encode(dsn);\n\n        var user = options.user || this._globalContext.user;\n        if (user) {\n            if (user.name)  qs += '&name=' + encode(user.name);\n            if (user.email) qs += '&email=' + encode(user.email);\n        }\n\n        var globalServer = this._getGlobalServer(this._parseDSN(dsn));\n\n        var script = document.createElement('script');\n        script.async = true;\n        script.src = globalServer + '/api/embed/error-page/' + qs;\n        (document.head || document.body).appendChild(script);\n    },\n\n    /**** Private functions ****/\n    _ignoreNextOnError: function () {\n        var self = this;\n        this._ignoreOnError += 1;\n        setTimeout(function () {\n            // onerror should trigger before setTimeout\n            self._ignoreOnError -= 1;\n        });\n    },\n\n    _triggerEvent: function(eventType, options) {\n        // NOTE: `event` is a native browser thing, so let's avoid conflicting wiht it\n        var evt, key;\n\n        if (!this._hasDocument)\n            return;\n\n        options = options || {};\n\n        eventType = 'raven' + eventType.substr(0,1).toUpperCase() + eventType.substr(1);\n\n        if (document.createEvent) {\n            evt = document.createEvent('HTMLEvents');\n            evt.initEvent(eventType, true, true);\n        } else {\n            evt = document.createEventObject();\n            evt.eventType = eventType;\n        }\n\n        for (key in options) if (hasKey(options, key)) {\n            evt[key] = options[key];\n        }\n\n        if (document.createEvent) {\n            // IE9 if standards\n            document.dispatchEvent(evt);\n        } else {\n            // IE8 regardless of Quirks or Standards\n            // IE9 if quirks\n            try {\n                document.fireEvent('on' + evt.eventType.toLowerCase(), evt);\n            } catch(e) {\n                // Do nothing\n            }\n        }\n    },\n\n    /**\n     * Wraps addEventListener to capture UI breadcrumbs\n     * @param evtName the event name (e.g. \"click\")\n     * @returns {Function}\n     * @private\n     */\n    _breadcrumbEventHandler: function(evtName) {\n        var self = this;\n        return function (evt) {\n            // reset keypress timeout; e.g. triggering a 'click' after\n            // a 'keypress' will reset the keypress debounce so that a new\n            // set of keypresses can be recorded\n            self._keypressTimeout = null;\n\n            // It's possible this handler might trigger multiple times for the same\n            // event (e.g. event propagation through node ancestors). Ignore if we've\n            // already captured the event.\n            if (self._lastCapturedEvent === evt)\n                return;\n\n            self._lastCapturedEvent = evt;\n            var elem = evt.target;\n\n            var target;\n\n            // try/catch htmlTreeAsString because it's particularly complicated, and\n            // just accessing the DOM incorrectly can throw an exception in some circumstances.\n            try {\n                target = htmlTreeAsString(elem);\n            } catch (e) {\n                target = '<unknown>';\n            }\n\n            self.captureBreadcrumb({\n                category: 'ui.' + evtName, // e.g. ui.click, ui.input\n                message: target\n            });\n        };\n    },\n\n    /**\n     * Wraps addEventListener to capture keypress UI events\n     * @returns {Function}\n     * @private\n     */\n    _keypressEventHandler: function() {\n        var self = this,\n            debounceDuration = 1000; // milliseconds\n\n        // TODO: if somehow user switches keypress target before\n        //       debounce timeout is triggered, we will only capture\n        //       a single breadcrumb from the FIRST target (acceptable?)\n\n        return function (evt) {\n            var target = evt.target,\n                tagName = target && target.tagName;\n\n            // only consider keypress events on actual input elements\n            // this will disregard keypresses targeting body (e.g. tabbing\n            // through elements, hotkeys, etc)\n            if (!tagName || tagName !== 'INPUT' && tagName !== 'TEXTAREA')\n                return;\n\n            // record first keypress in a series, but ignore subsequent\n            // keypresses until debounce clears\n            var timeout = self._keypressTimeout;\n            if (!timeout) {\n                self._breadcrumbEventHandler('input')(evt);\n            }\n            clearTimeout(timeout);\n            self._keypressTimeout = setTimeout(function () {\n               self._keypressTimeout = null;\n            }, debounceDuration);\n        };\n    },\n\n    /**\n     * Captures a breadcrumb of type \"navigation\", normalizing input URLs\n     * @param to the originating URL\n     * @param from the target URL\n     * @private\n     */\n    _captureUrlChange: function(from, to) {\n        var parsedLoc = parseUrl(this._location.href);\n        var parsedTo = parseUrl(to);\n        var parsedFrom = parseUrl(from);\n\n        // because onpopstate only tells you the \"new\" (to) value of location.href, and\n        // not the previous (from) value, we need to track the value of the current URL\n        // state ourselves\n        this._lastHref = to;\n\n        // Use only the path component of the URL if the URL matches the current\n        // document (almost all the time when using pushState)\n        if (parsedLoc.protocol === parsedTo.protocol && parsedLoc.host === parsedTo.host)\n            to = parsedTo.relative;\n        if (parsedLoc.protocol === parsedFrom.protocol && parsedLoc.host === parsedFrom.host)\n            from = parsedFrom.relative;\n\n        this.captureBreadcrumb({\n            category: 'navigation',\n            data: {\n                to: to,\n                from: from\n            }\n        });\n    },\n\n    /**\n     * Install any queued plugins\n     */\n    _wrapBuiltIns: function() {\n        var self = this;\n\n        function fill(obj, name, replacement, noUndo) {\n            var orig = obj[name];\n            obj[name] = replacement(orig);\n            if (!noUndo) {\n                self._wrappedBuiltIns.push([obj, name, orig]);\n            }\n        }\n\n        function wrapTimeFn(orig) {\n            return function (fn, t) { // preserve arity\n                // Make a copy of the arguments to prevent deoptimization\n                // https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#32-leaking-arguments\n                var args = new Array(arguments.length);\n                for(var i = 0; i < args.length; ++i) {\n                    args[i] = arguments[i];\n                }\n                var originalCallback = args[0];\n                if (isFunction(originalCallback)) {\n                    args[0] = self.wrap(originalCallback);\n                }\n\n                // IE < 9 doesn't support .call/.apply on setInterval/setTimeout, but it\n                // also supports only two arguments and doesn't care what this is, so we\n                // can just call the original function directly.\n                if (orig.apply) {\n                    return orig.apply(this, args);\n                } else {\n                    return orig(args[0], args[1]);\n                }\n            };\n        }\n\n        function wrapEventTarget(global) {\n            var proto = window[global] && window[global].prototype;\n            if (proto && proto.hasOwnProperty && proto.hasOwnProperty('addEventListener')) {\n                fill(proto, 'addEventListener', function(orig) {\n                    return function (evtName, fn, capture, secure) { // preserve arity\n                        try {\n                            if (fn && fn.handleEvent) {\n                                fn.handleEvent = self.wrap(fn.handleEvent);\n                            }\n                        } catch (err) {\n                            // can sometimes get 'Permission denied to access property \"handle Event'\n                        }\n\n\n                        // TODO: more than just click\n                        var before;\n                        if (global === 'EventTarget' || global === 'Node') {\n                            if (evtName === 'click'){\n                                before = self._breadcrumbEventHandler(evtName);\n                            } else if (evtName === 'keypress') {\n                                before = self._keypressEventHandler();\n                            }\n                        }\n                        return orig.call(this, evtName, self.wrap(fn, undefined, before), capture, secure);\n                    };\n                });\n                fill(proto, 'removeEventListener', function (orig) {\n                    return function (evt, fn, capture, secure) {\n                        fn = fn && (fn.__raven_wrapper__ ? fn.__raven_wrapper__  : fn);\n                        return orig.call(this, evt, fn, capture, secure);\n                    };\n                });\n            }\n        }\n\n        function wrapProp(prop, xhr) {\n            if (prop in xhr && isFunction(xhr[prop])) {\n                fill(xhr, prop, function (orig) {\n                    return self.wrap(orig);\n                }, true /* noUndo */); // don't track filled methods on XHR instances\n            }\n        }\n\n        fill(window, 'setTimeout', wrapTimeFn);\n        fill(window, 'setInterval', wrapTimeFn);\n        if (window.requestAnimationFrame) {\n            fill(window, 'requestAnimationFrame', function (orig) {\n                return function (cb) {\n                    return orig(self.wrap(cb));\n                };\n            });\n        }\n\n        // Capture breadcrubms from any click that is unhandled / bubbled up all the way\n        // to the document. Do this before we instrument addEventListener.\n        if (this._hasDocument) {\n            if (document.addEventListener) {\n                document.addEventListener('click', self._breadcrumbEventHandler('click'), false);\n                document.addEventListener('keypress', self._keypressEventHandler(), false);\n            }\n            else {\n                // IE8 Compatibility\n                document.attachEvent('onclick', self._breadcrumbEventHandler('click'));\n                document.attachEvent('onkeypress', self._keypressEventHandler());\n            }\n        }\n\n        // event targets borrowed from bugsnag-js:\n        // https://github.com/bugsnag/bugsnag-js/blob/master/src/bugsnag.js#L666\n        var eventTargets = ['EventTarget', 'Window', 'Node', 'ApplicationCache', 'AudioTrackList', 'ChannelMergerNode', 'CryptoOperation', 'EventSource', 'FileReader', 'HTMLUnknownElement', 'IDBDatabase', 'IDBRequest', 'IDBTransaction', 'KeyOperation', 'MediaController', 'MessagePort', 'ModalWindow', 'Notification', 'SVGElementInstance', 'Screen', 'TextTrack', 'TextTrackCue', 'TextTrackList', 'WebSocket', 'WebSocketWorker', 'Worker', 'XMLHttpRequest', 'XMLHttpRequestEventTarget', 'XMLHttpRequestUpload'];\n        for (var i = 0; i < eventTargets.length; i++) {\n            wrapEventTarget(eventTargets[i]);\n        }\n\n        if ('XMLHttpRequest' in window) {\n            var xhrproto = XMLHttpRequest.prototype;\n            fill(xhrproto, 'open', function(origOpen) {\n                return function (method, url) { // preserve arity\n\n                    // if Sentry key appears in URL, don't capture\n                    if (isString(url) && url.indexOf(self._globalKey) === -1) {\n                        this.__raven_xhr = {\n                            method: method,\n                            url: url,\n                            status_code: null\n                        };\n                    }\n\n                    return origOpen.apply(this, arguments);\n                };\n            });\n\n            fill(xhrproto, 'send', function(origSend) {\n                return function (data) { // preserve arity\n                    var xhr = this;\n\n                    function onreadystatechangeHandler() {\n                        if (xhr.__raven_xhr && (xhr.readyState === 1 || xhr.readyState === 4)) {\n                            try {\n                                // touching statusCode in some platforms throws\n                                // an exception\n                                xhr.__raven_xhr.status_code = xhr.status;\n                            } catch (e) { /* do nothing */ }\n                            self.captureBreadcrumb({\n                                type: 'http',\n                                category: 'xhr',\n                                data: xhr.__raven_xhr\n                            });\n                        }\n                    }\n\n                    var props = ['onload', 'onerror', 'onprogress'];\n                    for (var j = 0; j < props.length; j++) {\n                        wrapProp(props[j], xhr);\n                    }\n\n                    if ('onreadystatechange' in xhr && isFunction(xhr.onreadystatechange)) {\n                        fill(xhr, 'onreadystatechange', function (orig) {\n                            return self.wrap(orig, undefined, onreadystatechangeHandler);\n                        }, true /* noUndo */);\n                    } else {\n                        // if onreadystatechange wasn't actually set by the page on this xhr, we\n                        // are free to set our own and capture the breadcrumb\n                        xhr.onreadystatechange = onreadystatechangeHandler;\n                    }\n\n                    return origSend.apply(this, arguments);\n                };\n            });\n        }\n\n        // record navigation (URL) changes\n        // NOTE: in Chrome App environment, touching history.pushState, *even inside\n        //       a try/catch block*, will cause Chrome to output an error to console.error\n        // borrowed from: https://github.com/angular/angular.js/pull/13945/files\n        var chrome = window.chrome;\n        var isChromePackagedApp = chrome && chrome.app && chrome.app.runtime;\n        var hasPushState = !isChromePackagedApp && window.history && history.pushState;\n        if (hasPushState) {\n            // TODO: remove onpopstate handler on uninstall()\n            var oldOnPopState = window.onpopstate;\n            window.onpopstate = function () {\n                var currentHref = self._location.href;\n                self._captureUrlChange(self._lastHref, currentHref);\n\n                if (oldOnPopState) {\n                    return oldOnPopState.apply(this, arguments);\n                }\n            };\n\n            fill(history, 'pushState', function (origPushState) {\n                // note history.pushState.length is 0; intentionally not declaring\n                // params to preserve 0 arity\n                return function(/* state, title, url */) {\n                    var url = arguments.length > 2 ? arguments[2] : undefined;\n\n                    // url argument is optional\n                    if (url) {\n                        // coerce to string (this is what pushState does)\n                        self._captureUrlChange(self._lastHref, url + '');\n                    }\n\n                    return origPushState.apply(this, arguments);\n                };\n            });\n        }\n\n        // console\n        var consoleMethodCallback = function (msg, data) {\n            self.captureBreadcrumb({\n                message: msg,\n                level: data.level,\n                category: 'console'\n            });\n        };\n\n        if ('console' in window && console.log) {\n            each(['debug', 'info', 'warn', 'error', 'log'], function (_, level) {\n                wrapConsoleMethod(console, level, consoleMethodCallback);\n            });\n        }\n\n        var $ = window.jQuery || window.$;\n        if ($ && $.fn && $.fn.ready) {\n            fill($.fn, 'ready', function (orig) {\n                return function (fn) {\n                    return orig.call(this, self.wrap(fn));\n                };\n            });\n        }\n    },\n\n    _restoreBuiltIns: function () {\n        // restore any wrapped builtins\n        var builtin;\n        while (this._wrappedBuiltIns.length) {\n            builtin = this._wrappedBuiltIns.shift();\n\n            var obj = builtin[0],\n              name = builtin[1],\n              orig = builtin[2];\n\n            obj[name] = orig;\n        }\n    },\n\n    _drainPlugins: function() {\n        var self = this;\n\n        // FIX ME TODO\n        each(this._plugins, function(_, plugin) {\n            var installer = plugin[0];\n            var args = plugin[1];\n            installer.apply(self, [self].concat(args));\n        });\n    },\n\n    _parseDSN: function(str) {\n        var m = dsnPattern.exec(str),\n            dsn = {},\n            i = 7;\n\n        try {\n            while (i--) dsn[dsnKeys[i]] = m[i] || '';\n        } catch(e) {\n            throw new RavenConfigError('Invalid DSN: ' + str);\n        }\n\n        if (dsn.pass && !this._globalOptions.allowSecretKey) {\n            throw new RavenConfigError('Do not specify your secret key in the DSN. See: http://bit.ly/raven-secret-key');\n        }\n\n        return dsn;\n    },\n\n    _getGlobalServer: function(uri) {\n        // assemble the endpoint from the uri pieces\n        var globalServer = '//' + uri.host +\n            (uri.port ? ':' + uri.port : '');\n\n        if (uri.protocol) {\n            globalServer = uri.protocol + ':' + globalServer;\n        }\n        return globalServer;\n    },\n\n    _handleOnErrorStackInfo: function() {\n        // if we are intentionally ignoring errors via onerror, bail out\n        if (!this._ignoreOnError) {\n            this._handleStackInfo.apply(this, arguments);\n        }\n    },\n\n    _handleStackInfo: function(stackInfo, options) {\n        var self = this;\n        var frames = [];\n\n        if (stackInfo.stack && stackInfo.stack.length) {\n            each(stackInfo.stack, function(i, stack) {\n                var frame = self._normalizeFrame(stack);\n                if (frame) {\n                    frames.push(frame);\n                }\n            });\n        }\n\n        this._triggerEvent('handle', {\n            stackInfo: stackInfo,\n            options: options\n        });\n\n        this._processException(\n            stackInfo.name,\n            stackInfo.message,\n            stackInfo.url,\n            stackInfo.lineno,\n            frames.slice(0, this._globalOptions.stackTraceLimit),\n            options\n        );\n    },\n\n    _normalizeFrame: function(frame) {\n        if (!frame.url) return;\n\n        // normalize the frames data\n        var normalized = {\n            filename:   frame.url,\n            lineno:     frame.line,\n            colno:      frame.column,\n            'function': frame.func || '?'\n        };\n\n        normalized.in_app = !( // determine if an exception came from outside of our app\n            // first we check the global includePaths list.\n            !!this._globalOptions.includePaths.test && !this._globalOptions.includePaths.test(normalized.filename) ||\n            // Now we check for fun, if the function name is Raven or TraceKit\n            /(Raven|TraceKit)\\./.test(normalized['function']) ||\n            // finally, we do a last ditch effort and check for raven.min.js\n            /raven\\.(min\\.)?js$/.test(normalized.filename)\n        );\n\n        return normalized;\n    },\n\n    _processException: function(type, message, fileurl, lineno, frames, options) {\n        var stacktrace;\n\n        if (!!this._globalOptions.ignoreErrors.test && this._globalOptions.ignoreErrors.test(message)) return;\n\n        message += '';\n\n        if (frames && frames.length) {\n            fileurl = frames[0].filename || fileurl;\n            // Sentry expects frames oldest to newest\n            // and JS sends them as newest to oldest\n            frames.reverse();\n            stacktrace = {frames: frames};\n        } else if (fileurl) {\n            stacktrace = {\n                frames: [{\n                    filename: fileurl,\n                    lineno: lineno,\n                    in_app: true\n                }]\n            };\n        }\n\n        if (!!this._globalOptions.ignoreUrls.test && this._globalOptions.ignoreUrls.test(fileurl)) return;\n        if (!!this._globalOptions.whitelistUrls.test && !this._globalOptions.whitelistUrls.test(fileurl)) return;\n\n        var data = objectMerge({\n            // sentry.interfaces.Exception\n            exception: {\n                values: [{\n                    type: type,\n                    value: message,\n                    stacktrace: stacktrace\n                }]\n            },\n            culprit: fileurl\n        }, options);\n\n        // Fire away!\n        this._send(data);\n    },\n\n    _trimPacket: function(data) {\n        // For now, we only want to truncate the two different messages\n        // but this could/should be expanded to just trim everything\n        var max = this._globalOptions.maxMessageLength;\n        if (data.message) {\n            data.message = truncate(data.message, max);\n        }\n        if (data.exception) {\n            var exception = data.exception.values[0];\n            exception.value = truncate(exception.value, max);\n        }\n\n        return data;\n    },\n\n    _getHttpData: function() {\n        if (!this._hasDocument || !document.location || !document.location.href) {\n            return;\n        }\n\n        var httpData = {\n            headers: {\n                'User-Agent': navigator.userAgent\n            }\n        };\n\n        httpData.url = document.location.href;\n\n        if (document.referrer) {\n            httpData.headers.Referer = document.referrer;\n        }\n\n        return httpData;\n    },\n\n\n    _send: function(data) {\n        var self = this;\n\n        var globalOptions = this._globalOptions;\n\n        var baseData = {\n            project: this._globalProject,\n            logger: globalOptions.logger,\n            platform: 'javascript'\n        }, httpData = this._getHttpData();\n\n        if (httpData) {\n            baseData.request = httpData;\n        }\n\n        data = objectMerge(baseData, data);\n\n        // Merge in the tags and extra separately since objectMerge doesn't handle a deep merge\n        data.tags = objectMerge(objectMerge({}, this._globalContext.tags), data.tags);\n        data.extra = objectMerge(objectMerge({}, this._globalContext.extra), data.extra);\n\n        // Send along our own collected metadata with extra\n        data.extra['session:duration'] = now() - this._startTime;\n\n        if (this._breadcrumbs && this._breadcrumbs.length > 0) {\n            // intentionally make shallow copy so that additions\n            // to breadcrumbs aren't accidentally sent in this request\n            data.breadcrumbs = {\n                values: [].slice.call(this._breadcrumbs, 0)\n            };\n        }\n\n        // If there are no tags/extra, strip the key from the payload alltogther.\n        if (isEmptyObject(data.tags)) delete data.tags;\n\n        if (this._globalContext.user) {\n            // sentry.interfaces.User\n            data.user = this._globalContext.user;\n        }\n\n        // Include the environment if it's defined in globalOptions\n        if (globalOptions.environment) data.environment = globalOptions.environment;\n\n        // Include the release if it's defined in globalOptions\n        if (globalOptions.release) data.release = globalOptions.release;\n\n        // Include server_name if it's defined in globalOptions\n        if (globalOptions.serverName) data.server_name = globalOptions.serverName;\n\n        if (isFunction(globalOptions.dataCallback)) {\n            data = globalOptions.dataCallback(data) || data;\n        }\n\n        // Why??????????\n        if (!data || isEmptyObject(data)) {\n            return;\n        }\n\n        // Check if the request should be filtered or not\n        if (isFunction(globalOptions.shouldSendCallback) && !globalOptions.shouldSendCallback(data)) {\n            return;\n        }\n\n        // Send along an event_id if not explicitly passed.\n        // This event_id can be used to reference the error within Sentry itself.\n        // Set lastEventId after we know the error should actually be sent\n        this._lastEventId = data.event_id || (data.event_id = uuid4());\n\n        // Try and clean up the packet before sending by truncating long values\n        data = this._trimPacket(data);\n\n        this._logDebug('debug', 'Raven about to send:', data);\n\n        if (!this.isSetup()) return;\n\n        var auth = {\n            sentry_version: '7',\n            sentry_client: 'raven-js/' + this.VERSION,\n            sentry_key: this._globalKey\n        };\n        if (this._globalSecret) {\n            auth.sentry_secret = this._globalSecret;\n        }\n\n        var exception = data.exception && data.exception.values[0];\n        this.captureBreadcrumb({\n            category: 'sentry',\n            message: exception\n                ? (exception.type ? exception.type + ': ' : '') + exception.message\n                : data.message,\n            event_id: data.event_id,\n            level: data.level || 'error' // presume error unless specified\n        });\n\n        var url = this._globalEndpoint;\n        (globalOptions.transport || this._makeRequest).call(this, {\n            url: url,\n            auth: auth,\n            data: data,\n            options: globalOptions,\n            onSuccess: function success() {\n                self._triggerEvent('success', {\n                    data: data,\n                    src: url\n                });\n            },\n            onError: function failure() {\n                self._triggerEvent('failure', {\n                    data: data,\n                    src: url\n                });\n            }\n        });\n    },\n\n    _makeRequest: function(opts) {\n        var request = new XMLHttpRequest();\n\n        // if browser doesn't support CORS (e.g. IE7), we are out of luck\n        var hasCORS =\n            'withCredentials' in request ||\n            typeof XDomainRequest !== 'undefined';\n\n        if (!hasCORS) return;\n\n        var url = opts.url;\n        function handler() {\n            if (request.status === 200) {\n                if (opts.onSuccess) {\n                    opts.onSuccess();\n                }\n            } else if (opts.onError) {\n                opts.onError();\n            }\n        }\n\n        if ('withCredentials' in request) {\n            request.onreadystatechange = function () {\n                if (request.readyState !== 4) {\n                    return;\n                }\n                handler();\n            };\n        } else {\n            request = new XDomainRequest();\n            // xdomainrequest cannot go http -> https (or vice versa),\n            // so always use protocol relative\n            url = url.replace(/^https?:/, '');\n\n            // onreadystatechange not supported by XDomainRequest\n            request.onload = handler;\n        }\n\n        // NOTE: auth is intentionally sent as part of query string (NOT as custom\n        //       HTTP header) so as to avoid preflight CORS requests\n        request.open('POST', url + '?' + urlencode(opts.auth));\n        request.send(stringify(opts.data));\n    },\n\n    _logDebug: function(level) {\n        if (this._originalConsoleMethods[level] && this.debug) {\n            // In IE<10 console methods do not have their own 'apply' method\n            Function.prototype.apply.call(\n                this._originalConsoleMethods[level],\n                this._originalConsole,\n                [].slice.call(arguments, 1)\n            );\n        }\n    },\n\n    _mergeContext: function(key, context) {\n        if (isUndefined(context)) {\n            delete this._globalContext[key];\n        } else {\n            this._globalContext[key] = objectMerge(this._globalContext[key] || {}, context);\n        }\n    }\n};\n\n// Deprecations\nRaven.prototype.setUser = Raven.prototype.setUserContext;\nRaven.prototype.setReleaseContext = Raven.prototype.setRelease;\n\nmodule.exports = Raven;\n\n},{\"1\":1,\"2\":2,\"3\":3,\"6\":6,\"7\":7}],5:[function(_dereq_,module,exports){\n/**\n * Enforces a single instance of the Raven client, and the\n * main entry point for Raven. If you are a consumer of the\n * Raven library, you SHOULD load this file (vs raven.js).\n **/\n\n'use strict';\n\nvar RavenConstructor = _dereq_(4);\n\nvar _Raven = window.Raven;\n\nvar Raven = new RavenConstructor();\n\n/*\n * Allow multiple versions of Raven to be installed.\n * Strip Raven from the global context and returns the instance.\n *\n * @return {Raven}\n */\nRaven.noConflict = function () {\n\twindow.Raven = _Raven;\n\treturn Raven;\n};\n\nRaven.afterLoad();\n\nmodule.exports = Raven;\n\n},{\"4\":4}],6:[function(_dereq_,module,exports){\n/*eslint no-extra-parens:0*/\n'use strict';\n\nvar objectPrototype = Object.prototype;\n\nfunction isUndefined(what) {\n    return what === void 0;\n}\n\nfunction isFunction(what) {\n    return typeof what === 'function';\n}\n\nfunction isString(what) {\n    return objectPrototype.toString.call(what) === '[object String]';\n}\n\nfunction isObject(what) {\n    return typeof what === 'object' && what !== null;\n}\n\nfunction isEmptyObject(what) {\n    for (var _ in what) return false;  // eslint-disable-line guard-for-in, no-unused-vars\n    return true;\n}\n\n// Sorta yanked from https://github.com/joyent/node/blob/aa3b4b4/lib/util.js#L560\n// with some tiny modifications\nfunction isError(what) {\n    var toString = objectPrototype.toString.call(what);\n    return isObject(what) &&\n        toString === '[object Error]' ||\n        toString === '[object Exception]' || // Firefox NS_ERROR_FAILURE Exceptions\n        what instanceof Error;\n}\n\nfunction each(obj, callback) {\n    var i, j;\n\n    if (isUndefined(obj.length)) {\n        for (i in obj) {\n            if (hasKey(obj, i)) {\n                callback.call(null, i, obj[i]);\n            }\n        }\n    } else {\n        j = obj.length;\n        if (j) {\n            for (i = 0; i < j; i++) {\n                callback.call(null, i, obj[i]);\n            }\n        }\n    }\n}\n\nfunction objectMerge(obj1, obj2) {\n    if (!obj2) {\n        return obj1;\n    }\n    each(obj2, function(key, value){\n        obj1[key] = value;\n    });\n    return obj1;\n}\n\nfunction truncate(str, max) {\n    return !max || str.length <= max ? str : str.substr(0, max) + '\\u2026';\n}\n\n/**\n * hasKey, a better form of hasOwnProperty\n * Example: hasKey(MainHostObject, property) === true/false\n *\n * @param {Object} host object to check property\n * @param {string} key to check\n */\nfunction hasKey(object, key) {\n    return objectPrototype.hasOwnProperty.call(object, key);\n}\n\nfunction joinRegExp(patterns) {\n    // Combine an array of regular expressions and strings into one large regexp\n    // Be mad.\n    var sources = [],\n        i = 0, len = patterns.length,\n        pattern;\n\n    for (; i < len; i++) {\n        pattern = patterns[i];\n        if (isString(pattern)) {\n            // If it's a string, we need to escape it\n            // Taken from: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions\n            sources.push(pattern.replace(/([.*+?^=!:${}()|\\[\\]\\/\\\\])/g, '\\\\$1'));\n        } else if (pattern && pattern.source) {\n            // If it's a regexp already, we want to extract the source\n            sources.push(pattern.source);\n        }\n        // Intentionally skip other cases\n    }\n    return new RegExp(sources.join('|'), 'i');\n}\n\nfunction urlencode(o) {\n    var pairs = [];\n    each(o, function(key, value) {\n        pairs.push(encodeURIComponent(key) + '=' + encodeURIComponent(value));\n    });\n    return pairs.join('&');\n}\n\n// borrowed from https://tools.ietf.org/html/rfc3986#appendix-B\n// intentionally using regex and not <a/> href parsing trick because React Native and other\n// environments where DOM might not be available\nfunction parseUrl(url) {\n    var match = url.match(/^(([^:\\/?#]+):)?(\\/\\/([^\\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/);\n    if (!match) return {};\n\n    // coerce to undefined values to empty string so we don't get 'undefined'\n    var query = match[6] || '';\n    var fragment = match[8] || '';\n    return {\n        protocol: match[2],\n        host: match[4],\n        path: match[5],\n        relative: match[5] + query + fragment // everything minus origin\n    };\n}\nfunction uuid4() {\n    var crypto = window.crypto || window.msCrypto;\n\n    if (!isUndefined(crypto) && crypto.getRandomValues) {\n        // Use window.crypto API if available\n        var arr = new Uint16Array(8);\n        crypto.getRandomValues(arr);\n\n        // set 4 in byte 7\n        arr[3] = arr[3] & 0xFFF | 0x4000;\n        // set 2 most significant bits of byte 9 to '10'\n        arr[4] = arr[4] & 0x3FFF | 0x8000;\n\n        var pad = function(num) {\n            var v = num.toString(16);\n            while (v.length < 4) {\n                v = '0' + v;\n            }\n            return v;\n        };\n\n        return pad(arr[0]) + pad(arr[1]) + pad(arr[2]) + pad(arr[3]) + pad(arr[4]) +\n        pad(arr[5]) + pad(arr[6]) + pad(arr[7]);\n    } else {\n        // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523\n        return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, function(c) {\n            var r = Math.random()*16|0,\n                v = c === 'x' ? r : r&0x3|0x8;\n            return v.toString(16);\n        });\n    }\n}\n\n/**\n * Given a child DOM element, returns a query-selector statement describing that\n * and its ancestors\n * e.g. [HTMLElement] => body > div > input#foo.btn[name=baz]\n * @param elem\n * @returns {string}\n */\nfunction htmlTreeAsString(elem) {\n    var MAX_TRAVERSE_HEIGHT = 5,\n        MAX_OUTPUT_LEN = 80,\n        out = [],\n        height = 0,\n        len = 0,\n        separator = ' > ',\n        sepLength = separator.length,\n        nextStr;\n\n    while (elem && height++ < MAX_TRAVERSE_HEIGHT) {\n\n        nextStr = htmlElementAsString(elem);\n        // bail out if\n        // - nextStr is the 'html' element\n        // - the length of the string that would be created exceeds MAX_OUTPUT_LEN\n        //   (ignore this limit if we are on the first iteration)\n        if (nextStr === 'html' || height > 1 && len + (out.length * sepLength) + nextStr.length >= MAX_OUTPUT_LEN) {\n            break;\n        }\n\n        out.push(nextStr);\n\n        len += nextStr.length;\n        elem = elem.parentNode;\n    }\n\n    return out.reverse().join(separator);\n}\n\n/**\n * Returns a simple, query-selector representation of a DOM element\n * e.g. [HTMLElement] => input#foo.btn[name=baz]\n * @param HTMLElement\n * @returns {string}\n */\nfunction htmlElementAsString(elem) {\n    var out = [],\n        className,\n        classes,\n        key,\n        attr,\n        i;\n\n    if (!elem || !elem.tagName) {\n        return '';\n    }\n\n    out.push(elem.tagName.toLowerCase());\n    if (elem.id) {\n        out.push('#' + elem.id);\n    }\n\n    className = elem.className;\n    if (className && isString(className)) {\n        classes = className.split(' ');\n        for (i = 0; i < classes.length; i++) {\n            out.push('.' + classes[i]);\n        }\n    }\n    var attrWhitelist = ['type', 'name', 'title', 'alt'];\n    for (i = 0; i < attrWhitelist.length; i++) {\n        key = attrWhitelist[i];\n        attr = elem.getAttribute(key);\n        if (attr) {\n            out.push('[' + key + '=\"' + attr + '\"]');\n        }\n    }\n    return out.join('');\n}\n\nmodule.exports = {\n    isUndefined: isUndefined,\n    isFunction: isFunction,\n    isString: isString,\n    isObject: isObject,\n    isEmptyObject: isEmptyObject,\n    isError: isError,\n    each: each,\n    objectMerge: objectMerge,\n    truncate: truncate,\n    hasKey: hasKey,\n    joinRegExp: joinRegExp,\n    urlencode: urlencode,\n    uuid4: uuid4,\n    htmlTreeAsString: htmlTreeAsString,\n    htmlElementAsString: htmlElementAsString,\n    parseUrl: parseUrl\n};\n\n},{}],7:[function(_dereq_,module,exports){\n'use strict';\n\nvar utils = _dereq_(6);\n\nvar hasKey = utils.hasKey;\nvar isString = utils.isString;\nvar isUndefined = utils.isUndefined;\n\n/*\n TraceKit - Cross brower stack traces - github.com/occ/TraceKit\n MIT license\n*/\n\nvar TraceKit = {\n    collectWindowErrors: true,\n    debug: false\n};\n\n// global reference to slice\nvar _slice = [].slice;\nvar UNKNOWN_FUNCTION = '?';\n\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error#Error_types\nvar ERROR_TYPES_RE = /^(?:Uncaught (?:exception: )?)?((?:Eval|Internal|Range|Reference|Syntax|Type|URI)Error): ?(.*)$/;\n\nfunction getLocationHref() {\n    if (typeof document === 'undefined')\n        return '';\n\n    return document.location.href;\n}\n\n/**\n * TraceKit.report: cross-browser processing of unhandled exceptions\n *\n * Syntax:\n *   TraceKit.report.subscribe(function(stackInfo) { ... })\n *   TraceKit.report.unsubscribe(function(stackInfo) { ... })\n *   TraceKit.report(exception)\n *   try { ...code... } catch(ex) { TraceKit.report(ex); }\n *\n * Supports:\n *   - Firefox: full stack trace with line numbers, plus column number\n *              on top frame; column number is not guaranteed\n *   - Opera:   full stack trace with line and column numbers\n *   - Chrome:  full stack trace with line and column numbers\n *   - Safari:  line and column number for the top frame only; some frames\n *              may be missing, and column number is not guaranteed\n *   - IE:      line and column number for the top frame only; some frames\n *              may be missing, and column number is not guaranteed\n *\n * In theory, TraceKit should work on all of the following versions:\n *   - IE5.5+ (only 8.0 tested)\n *   - Firefox 0.9+ (only 3.5+ tested)\n *   - Opera 7+ (only 10.50 tested; versions 9 and earlier may require\n *     Exceptions Have Stacktrace to be enabled in opera:config)\n *   - Safari 3+ (only 4+ tested)\n *   - Chrome 1+ (only 5+ tested)\n *   - Konqueror 3.5+ (untested)\n *\n * Requires TraceKit.computeStackTrace.\n *\n * Tries to catch all unhandled exceptions and report them to the\n * subscribed handlers. Please note that TraceKit.report will rethrow the\n * exception. This is REQUIRED in order to get a useful stack trace in IE.\n * If the exception does not reach the top of the browser, you will only\n * get a stack trace from the point where TraceKit.report was called.\n *\n * Handlers receive a stackInfo object as described in the\n * TraceKit.computeStackTrace docs.\n */\nTraceKit.report = (function reportModuleWrapper() {\n    var handlers = [],\n        lastArgs = null,\n        lastException = null,\n        lastExceptionStack = null;\n\n    /**\n     * Add a crash handler.\n     * @param {Function} handler\n     */\n    function subscribe(handler) {\n        installGlobalHandler();\n        handlers.push(handler);\n    }\n\n    /**\n     * Remove a crash handler.\n     * @param {Function} handler\n     */\n    function unsubscribe(handler) {\n        for (var i = handlers.length - 1; i >= 0; --i) {\n            if (handlers[i] === handler) {\n                handlers.splice(i, 1);\n            }\n        }\n    }\n\n    /**\n     * Remove all crash handlers.\n     */\n    function unsubscribeAll() {\n        uninstallGlobalHandler();\n        handlers = [];\n    }\n\n    /**\n     * Dispatch stack information to all handlers.\n     * @param {Object.<string, *>} stack\n     */\n    function notifyHandlers(stack, isWindowError) {\n        var exception = null;\n        if (isWindowError && !TraceKit.collectWindowErrors) {\n          return;\n        }\n        for (var i in handlers) {\n            if (hasKey(handlers, i)) {\n                try {\n                    handlers[i].apply(null, [stack].concat(_slice.call(arguments, 2)));\n                } catch (inner) {\n                    exception = inner;\n                }\n            }\n        }\n\n        if (exception) {\n            throw exception;\n        }\n    }\n\n    var _oldOnerrorHandler, _onErrorHandlerInstalled;\n\n    /**\n     * Ensures all global unhandled exceptions are recorded.\n     * Supported by Gecko and IE.\n     * @param {string} message Error message.\n     * @param {string} url URL of script that generated the exception.\n     * @param {(number|string)} lineNo The line number at which the error\n     * occurred.\n     * @param {?(number|string)} colNo The column number at which the error\n     * occurred.\n     * @param {?Error} ex The actual Error object.\n     */\n    function traceKitWindowOnError(message, url, lineNo, colNo, ex) {\n        var stack = null;\n\n        if (lastExceptionStack) {\n            TraceKit.computeStackTrace.augmentStackTraceWithInitialElement(lastExceptionStack, url, lineNo, message);\n            processLastException();\n        } else if (ex) {\n            // New chrome and blink send along a real error object\n            // Let's just report that like a normal error.\n            // See: https://mikewest.org/2013/08/debugging-runtime-errors-with-window-onerror\n            stack = TraceKit.computeStackTrace(ex);\n            notifyHandlers(stack, true);\n        } else {\n            var location = {\n                'url': url,\n                'line': lineNo,\n                'column': colNo\n            };\n\n            var name = undefined;\n            var msg = message; // must be new var or will modify original `arguments`\n            var groups;\n            if (isString(message)) {\n                var groups = message.match(ERROR_TYPES_RE);\n                if (groups) {\n                    name = groups[1];\n                    msg = groups[2];\n                }\n            }\n\n            location.func = UNKNOWN_FUNCTION;\n\n            stack = {\n                'name': name,\n                'message': msg,\n                'url': getLocationHref(),\n                'stack': [location]\n            };\n            notifyHandlers(stack, true);\n        }\n\n        if (_oldOnerrorHandler) {\n            return _oldOnerrorHandler.apply(this, arguments);\n        }\n\n        return false;\n    }\n\n    function installGlobalHandler ()\n    {\n        if (_onErrorHandlerInstalled) {\n            return;\n        }\n        _oldOnerrorHandler = window.onerror;\n        window.onerror = traceKitWindowOnError;\n        _onErrorHandlerInstalled = true;\n    }\n\n    function uninstallGlobalHandler ()\n    {\n        if (!_onErrorHandlerInstalled) {\n            return;\n        }\n        window.onerror = _oldOnerrorHandler;\n        _onErrorHandlerInstalled = false;\n        _oldOnerrorHandler = undefined;\n    }\n\n    function processLastException() {\n        var _lastExceptionStack = lastExceptionStack,\n            _lastArgs = lastArgs;\n        lastArgs = null;\n        lastExceptionStack = null;\n        lastException = null;\n        notifyHandlers.apply(null, [_lastExceptionStack, false].concat(_lastArgs));\n    }\n\n    /**\n     * Reports an unhandled Error to TraceKit.\n     * @param {Error} ex\n     * @param {?boolean} rethrow If false, do not re-throw the exception.\n     * Only used for window.onerror to not cause an infinite loop of\n     * rethrowing.\n     */\n    function report(ex, rethrow) {\n        var args = _slice.call(arguments, 1);\n        if (lastExceptionStack) {\n            if (lastException === ex) {\n                return; // already caught by an inner catch block, ignore\n            } else {\n              processLastException();\n            }\n        }\n\n        var stack = TraceKit.computeStackTrace(ex);\n        lastExceptionStack = stack;\n        lastException = ex;\n        lastArgs = args;\n\n        // If the stack trace is incomplete, wait for 2 seconds for\n        // slow slow IE to see if onerror occurs or not before reporting\n        // this exception; otherwise, we will end up with an incomplete\n        // stack trace\n        window.setTimeout(function () {\n            if (lastException === ex) {\n                processLastException();\n            }\n        }, (stack.incomplete ? 2000 : 0));\n\n        if (rethrow !== false) {\n            throw ex; // re-throw to propagate to the top level (and cause window.onerror)\n        }\n    }\n\n    report.subscribe = subscribe;\n    report.unsubscribe = unsubscribe;\n    report.uninstall = unsubscribeAll;\n    return report;\n}());\n\n/**\n * TraceKit.computeStackTrace: cross-browser stack traces in JavaScript\n *\n * Syntax:\n *   s = TraceKit.computeStackTrace(exception) // consider using TraceKit.report instead (see below)\n * Returns:\n *   s.name              - exception name\n *   s.message           - exception message\n *   s.stack[i].url      - JavaScript or HTML file URL\n *   s.stack[i].func     - function name, or empty for anonymous functions (if guessing did not work)\n *   s.stack[i].args     - arguments passed to the function, if known\n *   s.stack[i].line     - line number, if known\n *   s.stack[i].column   - column number, if known\n *\n * Supports:\n *   - Firefox:  full stack trace with line numbers and unreliable column\n *               number on top frame\n *   - Opera 10: full stack trace with line and column numbers\n *   - Opera 9-: full stack trace with line numbers\n *   - Chrome:   full stack trace with line and column numbers\n *   - Safari:   line and column number for the topmost stacktrace element\n *               only\n *   - IE:       no line numbers whatsoever\n *\n * Tries to guess names of anonymous functions by looking for assignments\n * in the source code. In IE and Safari, we have to guess source file names\n * by searching for function bodies inside all page scripts. This will not\n * work for scripts that are loaded cross-domain.\n * Here be dragons: some function names may be guessed incorrectly, and\n * duplicate functions may be mismatched.\n *\n * TraceKit.computeStackTrace should only be used for tracing purposes.\n * Logging of unhandled exceptions should be done with TraceKit.report,\n * which builds on top of TraceKit.computeStackTrace and provides better\n * IE support by utilizing the window.onerror event to retrieve information\n * about the top of the stack.\n *\n * Note: In IE and Safari, no stack trace is recorded on the Error object,\n * so computeStackTrace instead walks its *own* chain of callers.\n * This means that:\n *  * in Safari, some methods may be missing from the stack trace;\n *  * in IE, the topmost function in the stack trace will always be the\n *    caller of computeStackTrace.\n *\n * This is okay for tracing (because you are likely to be calling\n * computeStackTrace from the function you want to be the topmost element\n * of the stack trace anyway), but not okay for logging unhandled\n * exceptions (because your catch block will likely be far away from the\n * inner function that actually caused the exception).\n *\n */\nTraceKit.computeStackTrace = (function computeStackTraceWrapper() {\n    /**\n     * Escapes special characters, except for whitespace, in a string to be\n     * used inside a regular expression as a string literal.\n     * @param {string} text The string.\n     * @return {string} The escaped string literal.\n     */\n    function escapeRegExp(text) {\n        return text.replace(/[\\-\\[\\]{}()*+?.,\\\\\\^$|#]/g, '\\\\$&');\n    }\n\n    /**\n     * Escapes special characters in a string to be used inside a regular\n     * expression as a string literal. Also ensures that HTML entities will\n     * be matched the same as their literal friends.\n     * @param {string} body The string.\n     * @return {string} The escaped string.\n     */\n    function escapeCodeAsRegExpForMatchingInsideHTML(body) {\n        return escapeRegExp(body).replace('<', '(?:<|&lt;)').replace('>', '(?:>|&gt;)').replace('&', '(?:&|&amp;)').replace('\"', '(?:\"|&quot;)').replace(/\\s+/g, '\\\\s+');\n    }\n\n    // Contents of Exception in various browsers.\n    //\n    // SAFARI:\n    // ex.message = Can't find variable: qq\n    // ex.line = 59\n    // ex.sourceId = 580238192\n    // ex.sourceURL = http://...\n    // ex.expressionBeginOffset = 96\n    // ex.expressionCaretOffset = 98\n    // ex.expressionEndOffset = 98\n    // ex.name = ReferenceError\n    //\n    // FIREFOX:\n    // ex.message = qq is not defined\n    // ex.fileName = http://...\n    // ex.lineNumber = 59\n    // ex.columnNumber = 69\n    // ex.stack = ...stack trace... (see the example below)\n    // ex.name = ReferenceError\n    //\n    // CHROME:\n    // ex.message = qq is not defined\n    // ex.name = ReferenceError\n    // ex.type = not_defined\n    // ex.arguments = ['aa']\n    // ex.stack = ...stack trace...\n    //\n    // INTERNET EXPLORER:\n    // ex.message = ...\n    // ex.name = ReferenceError\n    //\n    // OPERA:\n    // ex.message = ...message... (see the example below)\n    // ex.name = ReferenceError\n    // ex.opera#sourceloc = 11  (pretty much useless, duplicates the info in ex.message)\n    // ex.stacktrace = n/a; see 'opera:config#UserPrefs|Exceptions Have Stacktrace'\n\n    /**\n     * Computes stack trace information from the stack property.\n     * Chrome and Gecko use this property.\n     * @param {Error} ex\n     * @return {?Object.<string, *>} Stack trace information.\n     */\n    function computeStackTraceFromStackProp(ex) {\n        if (isUndefined(ex.stack) || !ex.stack) return;\n\n        var chrome = /^\\s*at (.*?) ?\\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i,\n            gecko = /^\\s*(.*?)(?:\\((.*?)\\))?(?:^|@)((?:file|https?|blob|chrome|\\[native).*?)(?::(\\d+))?(?::(\\d+))?\\s*$/i,\n            winjs = /^\\s*at (?:((?:\\[object object\\])?.+) )?\\(?((?:file|ms-appx|https?|blob):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i,\n            lines = ex.stack.split('\\n'),\n            stack = [],\n            parts,\n            element,\n            reference = /^(.*) is undefined$/.exec(ex.message);\n\n        for (var i = 0, j = lines.length; i < j; ++i) {\n            if ((parts = chrome.exec(lines[i]))) {\n                var isNative = parts[2] && parts[2].indexOf('native') !== -1;\n                element = {\n                    'url': !isNative ? parts[2] : null,\n                    'func': parts[1] || UNKNOWN_FUNCTION,\n                    'args': isNative ? [parts[2]] : [],\n                    'line': parts[3] ? +parts[3] : null,\n                    'column': parts[4] ? +parts[4] : null\n                };\n            } else if ( parts = winjs.exec(lines[i]) ) {\n                element = {\n                    'url': parts[2],\n                    'func': parts[1] || UNKNOWN_FUNCTION,\n                    'args': [],\n                    'line': +parts[3],\n                    'column': parts[4] ? +parts[4] : null\n                };\n            } else if ((parts = gecko.exec(lines[i]))) {\n                element = {\n                    'url': parts[3],\n                    'func': parts[1] || UNKNOWN_FUNCTION,\n                    'args': parts[2] ? parts[2].split(',') : [],\n                    'line': parts[4] ? +parts[4] : null,\n                    'column': parts[5] ? +parts[5] : null\n                };\n            } else {\n                continue;\n            }\n\n            if (!element.func && element.line) {\n                element.func = UNKNOWN_FUNCTION;\n            }\n\n            stack.push(element);\n        }\n\n        if (!stack.length) {\n            return null;\n        }\n\n        if (!stack[0].column && !isUndefined(ex.columnNumber)) {\n            // FireFox uses this awesome columnNumber property for its top frame\n            // Also note, Firefox's column number is 0-based and everything else expects 1-based,\n            // so adding 1\n            stack[0].column = ex.columnNumber + 1;\n        }\n\n        return {\n            'name': ex.name,\n            'message': ex.message,\n            'url': getLocationHref(),\n            'stack': stack\n        };\n    }\n\n    /**\n     * Computes stack trace information from the stacktrace property.\n     * Opera 10 uses this property.\n     * @param {Error} ex\n     * @return {?Object.<string, *>} Stack trace information.\n     */\n    function computeStackTraceFromStacktraceProp(ex) {\n        // Access and store the stacktrace property before doing ANYTHING\n        // else to it because Opera is not very good at providing it\n        // reliably in other circumstances.\n        var stacktrace = ex.stacktrace;\n        if (isUndefined(ex.stacktrace) || !ex.stacktrace) return;\n\n        var opera10Regex = / line (\\d+).*script (?:in )?(\\S+)(?:: in function (\\S+))?$/i,\n          opera11Regex = / line (\\d+), column (\\d+)\\s*(?:in (?:<anonymous function: ([^>]+)>|([^\\)]+))\\((.*)\\))? in (.*):\\s*$/i,\n          lines = stacktrace.split('\\n'),\n          stack = [],\n          parts;\n\n        for (var line = 0; line < lines.length; line += 2) {\n            var element = null;\n            if ((parts = opera10Regex.exec(lines[line]))) {\n                element = {\n                    'url': parts[2],\n                    'line': +parts[1],\n                    'column': null,\n                    'func': parts[3],\n                    'args':[]\n                };\n            } else if ((parts = opera11Regex.exec(lines[line]))) {\n                element = {\n                    'url': parts[6],\n                    'line': +parts[1],\n                    'column': +parts[2],\n                    'func': parts[3] || parts[4],\n                    'args': parts[5] ? parts[5].split(',') : []\n                };\n            }\n\n            if (element) {\n                if (!element.func && element.line) {\n                    element.func = UNKNOWN_FUNCTION;\n                }\n\n                stack.push(element);\n            }\n        }\n\n        if (!stack.length) {\n            return null;\n        }\n\n        return {\n            'name': ex.name,\n            'message': ex.message,\n            'url': getLocationHref(),\n            'stack': stack\n        };\n    }\n\n    /**\n     * NOT TESTED.\n     * Computes stack trace information from an error message that includes\n     * the stack trace.\n     * Opera 9 and earlier use this method if the option to show stack\n     * traces is turned on in opera:config.\n     * @param {Error} ex\n     * @return {?Object.<string, *>} Stack information.\n     */\n    function computeStackTraceFromOperaMultiLineMessage(ex) {\n        // Opera includes a stack trace into the exception message. An example is:\n        //\n        // Statement on line 3: Undefined variable: undefinedFunc\n        // Backtrace:\n        //   Line 3 of linked script file://localhost/Users/andreyvit/Projects/TraceKit/javascript-client/sample.js: In function zzz\n        //         undefinedFunc(a);\n        //   Line 7 of inline#1 script in file://localhost/Users/andreyvit/Projects/TraceKit/javascript-client/sample.html: In function yyy\n        //           zzz(x, y, z);\n        //   Line 3 of inline#1 script in file://localhost/Users/andreyvit/Projects/TraceKit/javascript-client/sample.html: In function xxx\n        //           yyy(a, a, a);\n        //   Line 1 of function script\n        //     try { xxx('hi'); return false; } catch(ex) { TraceKit.report(ex); }\n        //   ...\n\n        var lines = ex.message.split('\\n');\n        if (lines.length < 4) {\n            return null;\n        }\n\n        var lineRE1 = /^\\s*Line (\\d+) of linked script ((?:file|https?|blob)\\S+)(?:: in function (\\S+))?\\s*$/i,\n            lineRE2 = /^\\s*Line (\\d+) of inline#(\\d+) script in ((?:file|https?|blob)\\S+)(?:: in function (\\S+))?\\s*$/i,\n            lineRE3 = /^\\s*Line (\\d+) of function script\\s*$/i,\n            stack = [],\n            scripts = document.getElementsByTagName('script'),\n            parts;\n\n        for (var line = 2; line < lines.length; line += 2) {\n            var item = null;\n            if ((parts = lineRE1.exec(lines[line]))) {\n                item = {\n                    'url': parts[2],\n                    'func': parts[3],\n                    'args': [],\n                    'line': +parts[1],\n                    'column': null\n                };\n            } else if ((parts = lineRE2.exec(lines[line]))) {\n                item = {\n                    'url': parts[3],\n                    'func': parts[4],\n                    'args': [],\n                    'line': +parts[1],\n                    'column': null // TODO: Check to see if inline#1 (+parts[2]) points to the script number or column number.\n                };\n                var relativeLine = (+parts[1]); // relative to the start of the <SCRIPT> block\n            } else if ((parts = lineRE3.exec(lines[line]))) {\n                var url = window.location.href.replace(/#.*$/, '');\n                item = {\n                    'url': url,\n                    'func': '',\n                    'args': [],\n                    'line': parts[1],\n                    'column': null\n                };\n            }\n\n            if (item) {\n                if (!item.func) {\n                    item.func = UNKNOWN_FUNCTION;\n                }\n\n                stack.push(item);\n            }\n        }\n\n        if (!stack.length) {\n            return null; // could not parse multiline exception message as Opera stack trace\n        }\n\n        return {\n            'name': ex.name,\n            'message': lines[0],\n            'url': getLocationHref(),\n            'stack': stack\n        };\n    }\n\n    /**\n     * Adds information about the first frame to incomplete stack traces.\n     * Safari and IE require this to get complete data on the first frame.\n     * @param {Object.<string, *>} stackInfo Stack trace information from\n     * one of the compute* methods.\n     * @param {string} url The URL of the script that caused an error.\n     * @param {(number|string)} lineNo The line number of the script that\n     * caused an error.\n     * @param {string=} message The error generated by the browser, which\n     * hopefully contains the name of the object that caused the error.\n     * @return {boolean} Whether or not the stack information was\n     * augmented.\n     */\n    function augmentStackTraceWithInitialElement(stackInfo, url, lineNo, message) {\n        var initial = {\n            'url': url,\n            'line': lineNo\n        };\n\n        if (initial.url && initial.line) {\n            stackInfo.incomplete = false;\n\n            if (!initial.func) {\n                initial.func = UNKNOWN_FUNCTION;\n            }\n\n            if (stackInfo.stack.length > 0) {\n                if (stackInfo.stack[0].url === initial.url) {\n                    if (stackInfo.stack[0].line === initial.line) {\n                        return false; // already in stack trace\n                    } else if (!stackInfo.stack[0].line && stackInfo.stack[0].func === initial.func) {\n                        stackInfo.stack[0].line = initial.line;\n                        return false;\n                    }\n                }\n            }\n\n            stackInfo.stack.unshift(initial);\n            stackInfo.partial = true;\n            return true;\n        } else {\n            stackInfo.incomplete = true;\n        }\n\n        return false;\n    }\n\n    /**\n     * Computes stack trace information by walking the arguments.caller\n     * chain at the time the exception occurred. This will cause earlier\n     * frames to be missed but is the only way to get any stack trace in\n     * Safari and IE. The top frame is restored by\n     * {@link augmentStackTraceWithInitialElement}.\n     * @param {Error} ex\n     * @return {?Object.<string, *>} Stack trace information.\n     */\n    function computeStackTraceByWalkingCallerChain(ex, depth) {\n        var functionName = /function\\s+([_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*)?\\s*\\(/i,\n            stack = [],\n            funcs = {},\n            recursion = false,\n            parts,\n            item,\n            source;\n\n        for (var curr = computeStackTraceByWalkingCallerChain.caller; curr && !recursion; curr = curr.caller) {\n            if (curr === computeStackTrace || curr === TraceKit.report) {\n                // console.log('skipping internal function');\n                continue;\n            }\n\n            item = {\n                'url': null,\n                'func': UNKNOWN_FUNCTION,\n                'line': null,\n                'column': null\n            };\n\n            if (curr.name) {\n                item.func = curr.name;\n            } else if ((parts = functionName.exec(curr.toString()))) {\n                item.func = parts[1];\n            }\n\n            if (typeof item.func === 'undefined') {\n              try {\n                item.func = parts.input.substring(0, parts.input.indexOf('{'));\n              } catch (e) { }\n            }\n\n            if (funcs['' + curr]) {\n                recursion = true;\n            }else{\n                funcs['' + curr] = true;\n            }\n\n            stack.push(item);\n        }\n\n        if (depth) {\n            // console.log('depth is ' + depth);\n            // console.log('stack is ' + stack.length);\n            stack.splice(0, depth);\n        }\n\n        var result = {\n            'name': ex.name,\n            'message': ex.message,\n            'url': getLocationHref(),\n            'stack': stack\n        };\n        augmentStackTraceWithInitialElement(result, ex.sourceURL || ex.fileName, ex.line || ex.lineNumber, ex.message || ex.description);\n        return result;\n    }\n\n    /**\n     * Computes a stack trace for an exception.\n     * @param {Error} ex\n     * @param {(string|number)=} depth\n     */\n    function computeStackTrace(ex, depth) {\n        var stack = null;\n        depth = (depth == null ? 0 : +depth);\n\n        try {\n            // This must be tried first because Opera 10 *destroys*\n            // its stacktrace property if you try to access the stack\n            // property first!!\n            stack = computeStackTraceFromStacktraceProp(ex);\n            if (stack) {\n                return stack;\n            }\n        } catch (e) {\n            if (TraceKit.debug) {\n                throw e;\n            }\n        }\n\n        try {\n            stack = computeStackTraceFromStackProp(ex);\n            if (stack) {\n                return stack;\n            }\n        } catch (e) {\n            if (TraceKit.debug) {\n                throw e;\n            }\n        }\n\n        try {\n            stack = computeStackTraceFromOperaMultiLineMessage(ex);\n            if (stack) {\n                return stack;\n            }\n        } catch (e) {\n            if (TraceKit.debug) {\n                throw e;\n            }\n        }\n\n        try {\n            stack = computeStackTraceByWalkingCallerChain(ex, depth + 1);\n            if (stack) {\n                return stack;\n            }\n        } catch (e) {\n            if (TraceKit.debug) {\n                throw e;\n            }\n        }\n\n        return {\n            'name': ex.name,\n            'message': ex.message,\n            'url': getLocationHref()\n        };\n    }\n\n    computeStackTrace.augmentStackTraceWithInitialElement = augmentStackTraceWithInitialElement;\n    computeStackTrace.computeStackTraceFromStackProp = computeStackTraceFromStackProp;\n\n    return computeStackTrace;\n}());\n\nmodule.exports = TraceKit;\n\n},{\"6\":6}]},{},[5])(5)\n});","(function() {\n/* globals define, Ember, jQuery */\n\n  function processEmberShims() {\n    var shims = {\n      'ember': {\n        'default': Ember\n      },\n      'ember-application': {\n        'default': Ember.Application\n      },\n      'ember-array': {\n        'default': Ember.Array\n      },\n      'ember-array/mutable': {\n        'default': Ember.MutableArray\n      },\n      'ember-array/utils': {\n        'A':            Ember.A,\n        'isEmberArray': Ember.isArray,\n        'wrap':         Ember.makeArray\n      },\n      'ember-component': {\n        'default': Ember.Component\n      },\n      'ember-components/checkbox': {\n        'default': Ember.Checkbox\n      },\n      'ember-components/text-area': {\n        'default': Ember.TextArea\n      },\n      'ember-components/text-field': {\n        'default': Ember.TextField\n      },\n      'ember-controller': {\n        'default': Ember.Controller\n      },\n      'ember-controller/inject': {\n        'default': Ember.inject.controller\n      },\n      'ember-controller/proxy': {\n        'default': Ember.ArrayProxy\n      },\n      'ember-controllers/sortable': {\n        'default': Ember.SortableMixin\n      },\n      'ember-debug': {\n        'log':      Ember.debug,\n        'inspect':  Ember.inspect,\n        'run':      Ember.runInDebug,\n        'warn':     Ember.warn\n      },\n      'ember-debug/container-debug-adapter': {\n        'default': Ember.ContainerDebugAdapter\n      },\n      'ember-debug/data-adapter': {\n        'default': Ember.DataAdapter\n      },\n      'ember-deprecations': {\n        'deprecate':      Ember.deprecate,\n        'deprecateFunc':  Ember.deprecateFunc\n      },\n      'ember-enumerable': {\n        'default': Ember.Enumerable\n      },\n      'ember-evented': {\n        'default': Ember.Evented\n      },\n      'ember-evented/on': {\n        'default': Ember.on\n      },\n      'ember-globals-resolver': {\n        'default': Ember.DefaultResolver\n      },\n      'ember-helper': {\n        'default':  Ember.Helper,\n        'helper':   Ember.Helper && Ember.Helper.helper\n      },\n      'ember-instrumentation': {\n        'instrument':   Ember.Instrumentation.instrument,\n        'reset':        Ember.Instrumentation.reset,\n        'subscribe':    Ember.Instrumentation.subscribe,\n        'unsubscribe':  Ember.Instrumentation.unsubscribe\n      },\n      'ember-locations/hash': {\n        'default': Ember.HashLocation\n      },\n      'ember-locations/history': {\n        'default': Ember.HistoryLocation\n      },\n      'ember-locations/none': {\n        'default': Ember.NoneLocation\n      },\n      'ember-map': {\n        'default':      Ember.Map,\n        'withDefault':  Ember.MapWithDefault\n      },\n      'ember-metal/destroy': {\n        'default': Ember.destroy\n      },\n      'ember-metal/events': {\n        'addListener':    Ember.addListener,\n        'removeListener': Ember.removeListener,\n        'send':           Ember.sendEvent\n      },\n      'ember-metal/get': {\n        'default': Ember.get,\n        'getProperties': Ember.getProperties\n      },\n      'ember-metal/mixin': {\n        'default': Ember.Mixin\n      },\n      'ember-metal/observer': {\n        'default':        Ember.observer,\n        'addObserver':    Ember.addObserver,\n        'removeObserver': Ember.removeObserver\n      },\n      'ember-metal/on-load': {\n        'default':  Ember.onLoad,\n        'run':      Ember.runLoadHooks\n      },\n      'ember-metal/set': {\n        'default':        Ember.set,\n        'setProperties':  Ember.setProperties,\n        'trySet':         Ember.trySet\n      },\n      'ember-metal/utils': {\n        'aliasMethod':  Ember.aliasMethod,\n        'assert':       Ember.assert,\n        'cacheFor':     Ember.cacheFor,\n        'copy':         Ember.copy,\n        'guidFor':      Ember.guidFor\n      },\n      'ember-object': {\n        'default': Ember.Object\n      },\n      'ember-owner/get': {\n        'default': Ember.getOwner\n      },\n      'ember-owner/set': {\n        'default': Ember.setOwner\n      },\n      'ember-platform': {\n        'assign':         Ember.assign || Ember.merge,\n        'create':         Ember.create,\n        'defineProperty': Ember.platform.defineProperty,\n        'hasAccessors':   Ember.platform.hasPropertyAccessors,\n        'keys':           Ember.keys\n      },\n      'ember-route': {\n        'default': Ember.Route\n      },\n      'ember-router': {\n        'default': Ember.Router\n      },\n      'ember-runloop': {\n        'default':      Ember.run,\n        'begin':        Ember.run.begin,\n        'bind':         Ember.run.bind,\n        'cancel':       Ember.run.cancel,\n        'debounce':     Ember.run.debounce,\n        'end':          Ember.run.end,\n        'join':         Ember.run.join,\n        'later':        Ember.run.later,\n        'next':         Ember.run.next,\n        'once':         Ember.run.once,\n        'schedule':     Ember.run.schedule,\n        'scheduleOnce': Ember.run.scheduleOnce,\n        'throttle':     Ember.run.throttle\n      },\n      'ember-service': {\n        'default': Ember.Service\n      },\n      'ember-service/inject': {\n        'default': Ember.inject.service\n      },\n      'ember-set/ordered': {\n        'default': Ember.OrderedSet\n      },\n      'ember-string': {\n        'camelize':     Ember.String.camelize,\n        'capitalize':   Ember.String.capitalize,\n        'classify':     Ember.String.classify,\n        'dasherize':    Ember.String.dasherize,\n        'decamelize':   Ember.String.decamelize,\n        'fmt':          Ember.String.fmt,\n        'htmlSafe':     Ember.String.htmlSafe,\n        'loc':          Ember.String.loc,\n        'underscore':   Ember.String.underscore,\n        'w':            Ember.String.w\n      },\n      'ember-utils': {\n        'isBlank':    Ember.isBlank,\n        'isEmpty':    Ember.isEmpty,\n        'isNone':     Ember.isNone,\n        'isPresent':  Ember.isPresent,\n        'tryInvoke':  Ember.tryInvoke,\n        'typeOf':     Ember.typeOf\n      }\n    };\n\n    // populate `ember/computed` named exports\n    shims['ember-computed'] = {\n      'default': Ember.computed\n    };\n    var computedMacros = [\n      \"empty\",\"notEmpty\", \"none\", \"not\", \"bool\", \"match\",\n      \"equal\", \"gt\", \"gte\", \"lt\", \"lte\", \"alias\", \"oneWay\",\n      \"reads\", \"readOnly\", \"deprecatingAlias\",\n      \"and\", \"or\", \"collect\", \"sum\", \"min\", \"max\",\n      \"map\", \"sort\", \"setDiff\", \"mapBy\", \"mapProperty\",\n      \"filter\", \"filterBy\", \"filterProperty\", \"uniq\",\n      \"union\", \"intersect\"\n    ];\n    for (var i = 0, l = computedMacros.length; i < l; i++) {\n      var key = computedMacros[i];\n      shims['ember-computed'][key] = Ember.computed[key];\n    }\n\n    for (var moduleName in shims) {\n      generateModule(moduleName, shims[moduleName]);\n    }\n  }\n\n  function processTestShims() {\n    if (Ember.Test) {\n      var testShims = {\n        'ember-test': {\n          'default': Ember.Test\n        },\n        'ember-test/adapter': {\n          'default': Ember.Test.Adapter\n        },\n        'ember-test/qunit-adapter': {\n          'default': Ember.Test.QUnitAdapter\n        }\n      };\n\n      for (var moduleName in testShims) {\n        generateModule(moduleName, testShims[moduleName]);\n      }\n    }\n  }\n\n  function generateModule(name, values) {\n    define(name, [], function() {\n      'use strict';\n\n      Object.defineProperty(values, '__esModule', {\n        value: true\n      });\n\n      return values;\n    });\n  }\n\n  processEmberShims();\n  processTestShims();\n  generateModule('jquery', { 'default': self.jQuery });\n  generateModule('rsvp', { 'default': Ember.RSVP });\n})();\n","if (typeof FastBoot === 'undefined') { /**\n * Swiper 3.4.2\n * Most modern mobile touch slider and framework with hardware accelerated transitions\n * \n * http://www.idangero.us/swiper/\n * \n * Copyright 2017, Vladimir Kharlampidi\n * The iDangero.us\n * http://www.idangero.us/\n * \n * Licensed under MIT\n * \n * Released on: March 10, 2017\n */\n!function(){\"use strict\";var e,a=function(s,i){function r(e){return Math.floor(e)}function n(){var e=T.params.autoplay,a=T.slides.eq(T.activeIndex);a.attr(\"data-swiper-autoplay\")&&(e=a.attr(\"data-swiper-autoplay\")||T.params.autoplay),T.autoplayTimeoutId=setTimeout(function(){T.params.loop?(T.fixLoop(),T._slideNext(),T.emit(\"onAutoplay\",T)):T.isEnd?i.autoplayStopOnLast?T.stopAutoplay():(T._slideTo(0),T.emit(\"onAutoplay\",T)):(T._slideNext(),T.emit(\"onAutoplay\",T))},e)}function o(a,t){var s=e(a.target);if(!s.is(t))if(\"string\"==typeof t)s=s.parents(t);else if(t.nodeType){var i;return s.parents().each(function(e,a){a===t&&(i=t)}),i?t:void 0}if(0!==s.length)return s[0]}function l(e,a){a=a||{};var t=window.MutationObserver||window.WebkitMutationObserver,s=new t(function(e){e.forEach(function(e){T.onResize(!0),T.emit(\"onObserverUpdate\",T,e)})});s.observe(e,{attributes:void 0===a.attributes||a.attributes,childList:void 0===a.childList||a.childList,characterData:void 0===a.characterData||a.characterData}),T.observers.push(s)}function p(e){e.originalEvent&&(e=e.originalEvent);var a=e.keyCode||e.charCode;if(!T.params.allowSwipeToNext&&(T.isHorizontal()&&39===a||!T.isHorizontal()&&40===a))return!1;if(!T.params.allowSwipeToPrev&&(T.isHorizontal()&&37===a||!T.isHorizontal()&&38===a))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||document.activeElement&&document.activeElement.nodeName&&(\"input\"===document.activeElement.nodeName.toLowerCase()||\"textarea\"===document.activeElement.nodeName.toLowerCase()))){if(37===a||39===a||38===a||40===a){var t=!1;if(T.container.parents(\".\"+T.params.slideClass).length>0&&0===T.container.parents(\".\"+T.params.slideActiveClass).length)return;var s={left:window.pageXOffset,top:window.pageYOffset},i=window.innerWidth,r=window.innerHeight,n=T.container.offset();T.rtl&&(n.left=n.left-T.container[0].scrollLeft);for(var o=[[n.left,n.top],[n.left+T.width,n.top],[n.left,n.top+T.height],[n.left+T.width,n.top+T.height]],l=0;l<o.length;l++){var p=o[l];p[0]>=s.left&&p[0]<=s.left+i&&p[1]>=s.top&&p[1]<=s.top+r&&(t=!0)}if(!t)return}T.isHorizontal()?(37!==a&&39!==a||(e.preventDefault?e.preventDefault():e.returnValue=!1),(39===a&&!T.rtl||37===a&&T.rtl)&&T.slideNext(),(37===a&&!T.rtl||39===a&&T.rtl)&&T.slidePrev()):(38!==a&&40!==a||(e.preventDefault?e.preventDefault():e.returnValue=!1),40===a&&T.slideNext(),38===a&&T.slidePrev()),T.emit(\"onKeyPress\",T,a)}}function d(e){var a=0,t=0,s=0,i=0;return\"detail\"in e&&(t=e.detail),\"wheelDelta\"in e&&(t=-e.wheelDelta/120),\"wheelDeltaY\"in e&&(t=-e.wheelDeltaY/120),\"wheelDeltaX\"in e&&(a=-e.wheelDeltaX/120),\"axis\"in e&&e.axis===e.HORIZONTAL_AXIS&&(a=t,t=0),s=10*a,i=10*t,\"deltaY\"in e&&(i=e.deltaY),\"deltaX\"in e&&(s=e.deltaX),(s||i)&&e.deltaMode&&(1===e.deltaMode?(s*=40,i*=40):(s*=800,i*=800)),s&&!a&&(a=s<1?-1:1),i&&!t&&(t=i<1?-1:1),{spinX:a,spinY:t,pixelX:s,pixelY:i}}function u(e){e.originalEvent&&(e=e.originalEvent);var a=0,t=T.rtl?-1:1,s=d(e);if(T.params.mousewheelForceToAxis)if(T.isHorizontal()){if(!(Math.abs(s.pixelX)>Math.abs(s.pixelY)))return;a=s.pixelX*t}else{if(!(Math.abs(s.pixelY)>Math.abs(s.pixelX)))return;a=s.pixelY}else a=Math.abs(s.pixelX)>Math.abs(s.pixelY)?-s.pixelX*t:-s.pixelY;if(0!==a){if(T.params.mousewheelInvert&&(a=-a),T.params.freeMode){var i=T.getWrapperTranslate()+a*T.params.mousewheelSensitivity,r=T.isBeginning,n=T.isEnd;if(i>=T.minTranslate()&&(i=T.minTranslate()),i<=T.maxTranslate()&&(i=T.maxTranslate()),T.setWrapperTransition(0),T.setWrapperTranslate(i),T.updateProgress(),T.updateActiveIndex(),(!r&&T.isBeginning||!n&&T.isEnd)&&T.updateClasses(),T.params.freeModeSticky?(clearTimeout(T.mousewheel.timeout),T.mousewheel.timeout=setTimeout(function(){T.slideReset()},300)):T.params.lazyLoading&&T.lazy&&T.lazy.load(),T.emit(\"onScroll\",T,e),T.params.autoplay&&T.params.autoplayDisableOnInteraction&&T.stopAutoplay(),0===i||i===T.maxTranslate())return}else{if((new window.Date).getTime()-T.mousewheel.lastScrollTime>60)if(a<0)if(T.isEnd&&!T.params.loop||T.animating){if(T.params.mousewheelReleaseOnEdges)return!0}else T.slideNext(),T.emit(\"onScroll\",T,e);else if(T.isBeginning&&!T.params.loop||T.animating){if(T.params.mousewheelReleaseOnEdges)return!0}else T.slidePrev(),T.emit(\"onScroll\",T,e);T.mousewheel.lastScrollTime=(new window.Date).getTime()}return e.preventDefault?e.preventDefault():e.returnValue=!1,!1}}function c(a,t){a=e(a);var s,i,r,n=T.rtl?-1:1;s=a.attr(\"data-swiper-parallax\")||\"0\",i=a.attr(\"data-swiper-parallax-x\"),r=a.attr(\"data-swiper-parallax-y\"),i||r?(i=i||\"0\",r=r||\"0\"):T.isHorizontal()?(i=s,r=\"0\"):(r=s,i=\"0\"),i=i.indexOf(\"%\")>=0?parseInt(i,10)*t*n+\"%\":i*t*n+\"px\",r=r.indexOf(\"%\")>=0?parseInt(r,10)*t+\"%\":r*t+\"px\",a.transform(\"translate3d(\"+i+\", \"+r+\",0px)\")}function m(e){return 0!==e.indexOf(\"on\")&&(e=e[0]!==e[0].toUpperCase()?\"on\"+e[0].toUpperCase()+e.substring(1):\"on\"+e),e}if(!(this instanceof a))return new a(s,i);var h={direction:\"horizontal\",touchEventsTarget:\"container\",initialSlide:0,speed:300,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:\"slide\",coverflow:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flip:{slideShadows:!0,limitRotation:!0},cube:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fade:{crossFade:!1},parallax:!1,zoom:!1,zoomMax:3,zoomMin:1,zoomToggle:!0,scrollbar:null,scrollbarHide:!0,scrollbarDraggable:!1,scrollbarSnapOnRelease:!1,keyboardControl:!1,mousewheelControl:!1,mousewheelReleaseOnEdges:!1,mousewheelInvert:!1,mousewheelForceToAxis:!1,mousewheelSensitivity:1,mousewheelEventsTarged:\"container\",hashnav:!1,hashnavWatchState:!1,history:!1,replaceState:!1,breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:\"column\",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,onlyExternal:!1,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,uniqueNavElements:!0,pagination:null,paginationElement:\"span\",paginationClickable:!1,paginationHide:!1,paginationBulletRender:null,paginationProgressRender:null,paginationFractionRender:null,paginationCustomRender:null,paginationType:\"bullets\",resistance:!0,resistanceRatio:.85,nextButton:null,prevButton:null,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,lazyLoading:!1,lazyLoadingInPrevNext:!1,lazyLoadingInPrevNextAmount:1,lazyLoadingOnTransitionStart:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,control:void 0,controlInverse:!1,controlBy:\"slide\",normalizeSlideIndex:!0,allowSwipeToPrev:!0,allowSwipeToNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:\"swiper-no-swiping\",passiveListeners:!0,containerModifierClass:\"swiper-container-\",slideClass:\"swiper-slide\",slideActiveClass:\"swiper-slide-active\",slideDuplicateActiveClass:\"swiper-slide-duplicate-active\",slideVisibleClass:\"swiper-slide-visible\",slideDuplicateClass:\"swiper-slide-duplicate\",slideNextClass:\"swiper-slide-next\",slideDuplicateNextClass:\"swiper-slide-duplicate-next\",slidePrevClass:\"swiper-slide-prev\",slideDuplicatePrevClass:\"swiper-slide-duplicate-prev\",wrapperClass:\"swiper-wrapper\",bulletClass:\"swiper-pagination-bullet\",bulletActiveClass:\"swiper-pagination-bullet-active\",buttonDisabledClass:\"swiper-button-disabled\",paginationCurrentClass:\"swiper-pagination-current\",paginationTotalClass:\"swiper-pagination-total\",paginationHiddenClass:\"swiper-pagination-hidden\",paginationProgressbarClass:\"swiper-pagination-progressbar\",paginationClickableClass:\"swiper-pagination-clickable\",paginationModifierClass:\"swiper-pagination-\",lazyLoadingClass:\"swiper-lazy\",lazyStatusLoadingClass:\"swiper-lazy-loading\",lazyStatusLoadedClass:\"swiper-lazy-loaded\",lazyPreloaderClass:\"swiper-lazy-preloader\",notificationClass:\"swiper-notification\",preloaderClass:\"preloader\",zoomContainerClass:\"swiper-zoom-container\",observer:!1,observeParents:!1,a11y:!1,prevSlideMessage:\"Previous slide\",nextSlideMessage:\"Next slide\",firstSlideMessage:\"This is the first slide\",lastSlideMessage:\"This is the last slide\",paginationBulletMessage:\"Go to slide {{index}}\",runCallbacksOnInit:!0},g=i&&i.virtualTranslate;i=i||{};var f={};for(var v in i)if(\"object\"!=typeof i[v]||null===i[v]||(i[v].nodeType||i[v]===window||i[v]===document||void 0!==t&&i[v]instanceof t||\"undefined\"!=typeof jQuery&&i[v]instanceof jQuery))f[v]=i[v];else{f[v]={};for(var w in i[v])f[v][w]=i[v][w]}for(var y in h)if(void 0===i[y])i[y]=h[y];else if(\"object\"==typeof i[y])for(var x in h[y])void 0===i[y][x]&&(i[y][x]=h[y][x]);var T=this;if(T.params=i,T.originalParams=f,T.classNames=[],void 0!==e&&void 0!==t&&(e=t),(void 0!==e||(e=void 0===t?window.Dom7||window.Zepto||window.jQuery:t))&&(T.$=e,T.currentBreakpoint=void 0,T.getActiveBreakpoint=function(){if(!T.params.breakpoints)return!1;var e,a=!1,t=[];for(e in T.params.breakpoints)T.params.breakpoints.hasOwnProperty(e)&&t.push(e);t.sort(function(e,a){return parseInt(e,10)>parseInt(a,10)});for(var s=0;s<t.length;s++)(e=t[s])>=window.innerWidth&&!a&&(a=e);return a||\"max\"},T.setBreakpoint=function(){var e=T.getActiveBreakpoint();if(e&&T.currentBreakpoint!==e){var a=e in T.params.breakpoints?T.params.breakpoints[e]:T.originalParams,t=T.params.loop&&a.slidesPerView!==T.params.slidesPerView;for(var s in a)T.params[s]=a[s];T.currentBreakpoint=e,t&&T.destroyLoop&&T.reLoop(!0)}},T.params.breakpoints&&T.setBreakpoint(),T.container=e(s),0!==T.container.length)){if(T.container.length>1){var b=[];return T.container.each(function(){b.push(new a(this,i))}),b}T.container[0].swiper=T,T.container.data(\"swiper\",T),T.classNames.push(T.params.containerModifierClass+T.params.direction),T.params.freeMode&&T.classNames.push(T.params.containerModifierClass+\"free-mode\"),T.support.flexbox||(T.classNames.push(T.params.containerModifierClass+\"no-flexbox\"),T.params.slidesPerColumn=1),T.params.autoHeight&&T.classNames.push(T.params.containerModifierClass+\"autoheight\"),(T.params.parallax||T.params.watchSlidesVisibility)&&(T.params.watchSlidesProgress=!0),T.params.touchReleaseOnEdges&&(T.params.resistanceRatio=0),[\"cube\",\"coverflow\",\"flip\"].indexOf(T.params.effect)>=0&&(T.support.transforms3d?(T.params.watchSlidesProgress=!0,T.classNames.push(T.params.containerModifierClass+\"3d\")):T.params.effect=\"slide\"),\"slide\"!==T.params.effect&&T.classNames.push(T.params.containerModifierClass+T.params.effect),\"cube\"===T.params.effect&&(T.params.resistanceRatio=0,T.params.slidesPerView=1,T.params.slidesPerColumn=1,T.params.slidesPerGroup=1,T.params.centeredSlides=!1,T.params.spaceBetween=0,T.params.virtualTranslate=!0),\"fade\"!==T.params.effect&&\"flip\"!==T.params.effect||(T.params.slidesPerView=1,T.params.slidesPerColumn=1,T.params.slidesPerGroup=1,T.params.watchSlidesProgress=!0,T.params.spaceBetween=0,void 0===g&&(T.params.virtualTranslate=!0)),T.params.grabCursor&&T.support.touch&&(T.params.grabCursor=!1),T.wrapper=T.container.children(\".\"+T.params.wrapperClass),T.params.pagination&&(T.paginationContainer=e(T.params.pagination),T.params.uniqueNavElements&&\"string\"==typeof T.params.pagination&&T.paginationContainer.length>1&&1===T.container.find(T.params.pagination).length&&(T.paginationContainer=T.container.find(T.params.pagination)),\"bullets\"===T.params.paginationType&&T.params.paginationClickable?T.paginationContainer.addClass(T.params.paginationModifierClass+\"clickable\"):T.params.paginationClickable=!1,T.paginationContainer.addClass(T.params.paginationModifierClass+T.params.paginationType)),(T.params.nextButton||T.params.prevButton)&&(T.params.nextButton&&(T.nextButton=e(T.params.nextButton),T.params.uniqueNavElements&&\"string\"==typeof T.params.nextButton&&T.nextButton.length>1&&1===T.container.find(T.params.nextButton).length&&(T.nextButton=T.container.find(T.params.nextButton))),T.params.prevButton&&(T.prevButton=e(T.params.prevButton),T.params.uniqueNavElements&&\"string\"==typeof T.params.prevButton&&T.prevButton.length>1&&1===T.container.find(T.params.prevButton).length&&(T.prevButton=T.container.find(T.params.prevButton)))),T.isHorizontal=function(){return\"horizontal\"===T.params.direction},T.rtl=T.isHorizontal()&&(\"rtl\"===T.container[0].dir.toLowerCase()||\"rtl\"===T.container.css(\"direction\")),T.rtl&&T.classNames.push(T.params.containerModifierClass+\"rtl\"),T.rtl&&(T.wrongRTL=\"-webkit-box\"===T.wrapper.css(\"display\")),T.params.slidesPerColumn>1&&T.classNames.push(T.params.containerModifierClass+\"multirow\"),T.device.android&&T.classNames.push(T.params.containerModifierClass+\"android\"),T.container.addClass(T.classNames.join(\" \")),T.translate=0,T.progress=0,T.velocity=0,T.lockSwipeToNext=function(){T.params.allowSwipeToNext=!1,T.params.allowSwipeToPrev===!1&&T.params.grabCursor&&T.unsetGrabCursor()},T.lockSwipeToPrev=function(){T.params.allowSwipeToPrev=!1,T.params.allowSwipeToNext===!1&&T.params.grabCursor&&T.unsetGrabCursor()},T.lockSwipes=function(){T.params.allowSwipeToNext=T.params.allowSwipeToPrev=!1,T.params.grabCursor&&T.unsetGrabCursor()},T.unlockSwipeToNext=function(){T.params.allowSwipeToNext=!0,T.params.allowSwipeToPrev===!0&&T.params.grabCursor&&T.setGrabCursor()},T.unlockSwipeToPrev=function(){T.params.allowSwipeToPrev=!0,T.params.allowSwipeToNext===!0&&T.params.grabCursor&&T.setGrabCursor()},T.unlockSwipes=function(){T.params.allowSwipeToNext=T.params.allowSwipeToPrev=!0,T.params.grabCursor&&T.setGrabCursor()},T.setGrabCursor=function(e){T.container[0].style.cursor=\"move\",T.container[0].style.cursor=e?\"-webkit-grabbing\":\"-webkit-grab\",T.container[0].style.cursor=e?\"-moz-grabbin\":\"-moz-grab\",T.container[0].style.cursor=e?\"grabbing\":\"grab\"},T.unsetGrabCursor=function(){T.container[0].style.cursor=\"\"},T.params.grabCursor&&T.setGrabCursor(),T.imagesToLoad=[],T.imagesLoaded=0,T.loadImage=function(e,a,t,s,i,r){function n(){r&&r()}var o;e.complete&&i?n():a?(o=new window.Image,o.onload=n,o.onerror=n,s&&(o.sizes=s),t&&(o.srcset=t),a&&(o.src=a)):n()},T.preloadImages=function(){function e(){void 0!==T&&null!==T&&T&&(void 0!==T.imagesLoaded&&T.imagesLoaded++,T.imagesLoaded===T.imagesToLoad.length&&(T.params.updateOnImagesReady&&T.update(),T.emit(\"onImagesReady\",T)))}T.imagesToLoad=T.container.find(\"img\");for(var a=0;a<T.imagesToLoad.length;a++)T.loadImage(T.imagesToLoad[a],T.imagesToLoad[a].currentSrc||T.imagesToLoad[a].getAttribute(\"src\"),T.imagesToLoad[a].srcset||T.imagesToLoad[a].getAttribute(\"srcset\"),T.imagesToLoad[a].sizes||T.imagesToLoad[a].getAttribute(\"sizes\"),!0,e)},T.autoplayTimeoutId=void 0,T.autoplaying=!1,T.autoplayPaused=!1,T.startAutoplay=function(){return void 0===T.autoplayTimeoutId&&(!!T.params.autoplay&&(!T.autoplaying&&(T.autoplaying=!0,T.emit(\"onAutoplayStart\",T),void n())))},T.stopAutoplay=function(e){T.autoplayTimeoutId&&(T.autoplayTimeoutId&&clearTimeout(T.autoplayTimeoutId),T.autoplaying=!1,T.autoplayTimeoutId=void 0,T.emit(\"onAutoplayStop\",T))},T.pauseAutoplay=function(e){T.autoplayPaused||(T.autoplayTimeoutId&&clearTimeout(T.autoplayTimeoutId),T.autoplayPaused=!0,0===e?(T.autoplayPaused=!1,n()):T.wrapper.transitionEnd(function(){T&&(T.autoplayPaused=!1,T.autoplaying?n():T.stopAutoplay())}))},T.minTranslate=function(){return-T.snapGrid[0]},T.maxTranslate=function(){return-T.snapGrid[T.snapGrid.length-1]},T.updateAutoHeight=function(){var e,a=[],t=0;if(\"auto\"!==T.params.slidesPerView&&T.params.slidesPerView>1)for(e=0;e<Math.ceil(T.params.slidesPerView);e++){var s=T.activeIndex+e;if(s>T.slides.length)break;a.push(T.slides.eq(s)[0])}else a.push(T.slides.eq(T.activeIndex)[0]);for(e=0;e<a.length;e++)if(void 0!==a[e]){var i=a[e].offsetHeight;t=i>t?i:t}t&&T.wrapper.css(\"height\",t+\"px\")},T.updateContainerSize=function(){var e,a;e=void 0!==T.params.width?T.params.width:T.container[0].clientWidth,a=void 0!==T.params.height?T.params.height:T.container[0].clientHeight,0===e&&T.isHorizontal()||0===a&&!T.isHorizontal()||(e=e-parseInt(T.container.css(\"padding-left\"),10)-parseInt(T.container.css(\"padding-right\"),10),a=a-parseInt(T.container.css(\"padding-top\"),10)-parseInt(T.container.css(\"padding-bottom\"),10),T.width=e,T.height=a,T.size=T.isHorizontal()?T.width:T.height)},T.updateSlidesSize=function(){T.slides=T.wrapper.children(\".\"+T.params.slideClass),T.snapGrid=[],T.slidesGrid=[],T.slidesSizesGrid=[];var e,a=T.params.spaceBetween,t=-T.params.slidesOffsetBefore,s=0,i=0;if(void 0!==T.size){\"string\"==typeof a&&a.indexOf(\"%\")>=0&&(a=parseFloat(a.replace(\"%\",\"\"))/100*T.size),T.virtualSize=-a,T.rtl?T.slides.css({marginLeft:\"\",marginTop:\"\"}):T.slides.css({marginRight:\"\",marginBottom:\"\"});var n;T.params.slidesPerColumn>1&&(n=Math.floor(T.slides.length/T.params.slidesPerColumn)===T.slides.length/T.params.slidesPerColumn?T.slides.length:Math.ceil(T.slides.length/T.params.slidesPerColumn)*T.params.slidesPerColumn,\"auto\"!==T.params.slidesPerView&&\"row\"===T.params.slidesPerColumnFill&&(n=Math.max(n,T.params.slidesPerView*T.params.slidesPerColumn)));var o,l=T.params.slidesPerColumn,p=n/l,d=p-(T.params.slidesPerColumn*p-T.slides.length);for(e=0;e<T.slides.length;e++){o=0;var u=T.slides.eq(e);if(T.params.slidesPerColumn>1){var c,m,h;\"column\"===T.params.slidesPerColumnFill?(m=Math.floor(e/l),h=e-m*l,(m>d||m===d&&h===l-1)&&++h>=l&&(h=0,m++),c=m+h*n/l,u.css({\"-webkit-box-ordinal-group\":c,\"-moz-box-ordinal-group\":c,\"-ms-flex-order\":c,\"-webkit-order\":c,order:c})):(h=Math.floor(e/p),m=e-h*p),u.css(\"margin-\"+(T.isHorizontal()?\"top\":\"left\"),0!==h&&T.params.spaceBetween&&T.params.spaceBetween+\"px\").attr(\"data-swiper-column\",m).attr(\"data-swiper-row\",h)}\"none\"!==u.css(\"display\")&&(\"auto\"===T.params.slidesPerView?(o=T.isHorizontal()?u.outerWidth(!0):u.outerHeight(!0),T.params.roundLengths&&(o=r(o))):(o=(T.size-(T.params.slidesPerView-1)*a)/T.params.slidesPerView,T.params.roundLengths&&(o=r(o)),T.isHorizontal()?T.slides[e].style.width=o+\"px\":T.slides[e].style.height=o+\"px\"),T.slides[e].swiperSlideSize=o,T.slidesSizesGrid.push(o),T.params.centeredSlides?(t=t+o/2+s/2+a,0===s&&0!==e&&(t=t-T.size/2-a),0===e&&(t=t-T.size/2-a),Math.abs(t)<.001&&(t=0),i%T.params.slidesPerGroup==0&&T.snapGrid.push(t),T.slidesGrid.push(t)):(i%T.params.slidesPerGroup==0&&T.snapGrid.push(t),T.slidesGrid.push(t),t=t+o+a),T.virtualSize+=o+a,s=o,i++)}T.virtualSize=Math.max(T.virtualSize,T.size)+T.params.slidesOffsetAfter;var g;if(T.rtl&&T.wrongRTL&&(\"slide\"===T.params.effect||\"coverflow\"===T.params.effect)&&T.wrapper.css({width:T.virtualSize+T.params.spaceBetween+\"px\"}),T.support.flexbox&&!T.params.setWrapperSize||(T.isHorizontal()?T.wrapper.css({width:T.virtualSize+T.params.spaceBetween+\"px\"}):T.wrapper.css({height:T.virtualSize+T.params.spaceBetween+\"px\"})),T.params.slidesPerColumn>1&&(T.virtualSize=(o+T.params.spaceBetween)*n,T.virtualSize=Math.ceil(T.virtualSize/T.params.slidesPerColumn)-T.params.spaceBetween,T.isHorizontal()?T.wrapper.css({width:T.virtualSize+T.params.spaceBetween+\"px\"}):T.wrapper.css({height:T.virtualSize+T.params.spaceBetween+\"px\"}),T.params.centeredSlides)){for(g=[],e=0;e<T.snapGrid.length;e++)T.snapGrid[e]<T.virtualSize+T.snapGrid[0]&&g.push(T.snapGrid[e]);T.snapGrid=g}if(!T.params.centeredSlides){for(g=[],e=0;e<T.snapGrid.length;e++)T.snapGrid[e]<=T.virtualSize-T.size&&g.push(T.snapGrid[e]);T.snapGrid=g,Math.floor(T.virtualSize-T.size)-Math.floor(T.snapGrid[T.snapGrid.length-1])>1&&T.snapGrid.push(T.virtualSize-T.size)}0===T.snapGrid.length&&(T.snapGrid=[0]),0!==T.params.spaceBetween&&(T.isHorizontal()?T.rtl?T.slides.css({marginLeft:a+\"px\"}):T.slides.css({marginRight:a+\"px\"}):T.slides.css({marginBottom:a+\"px\"})),T.params.watchSlidesProgress&&T.updateSlidesOffset()}},T.updateSlidesOffset=function(){for(var e=0;e<T.slides.length;e++)T.slides[e].swiperSlideOffset=T.isHorizontal()?T.slides[e].offsetLeft:T.slides[e].offsetTop},T.currentSlidesPerView=function(){var e,a,t=1;if(T.params.centeredSlides){var s,i=T.slides[T.activeIndex].swiperSlideSize;for(e=T.activeIndex+1;e<T.slides.length;e++)T.slides[e]&&!s&&(i+=T.slides[e].swiperSlideSize,t++,i>T.size&&(s=!0));for(a=T.activeIndex-1;a>=0;a--)T.slides[a]&&!s&&(i+=T.slides[a].swiperSlideSize,t++,i>T.size&&(s=!0))}else for(e=T.activeIndex+1;e<T.slides.length;e++)T.slidesGrid[e]-T.slidesGrid[T.activeIndex]<T.size&&t++;return t},T.updateSlidesProgress=function(e){if(void 0===e&&(e=T.translate||0),0!==T.slides.length){void 0===T.slides[0].swiperSlideOffset&&T.updateSlidesOffset();var a=-e;T.rtl&&(a=e),T.slides.removeClass(T.params.slideVisibleClass);for(var t=0;t<T.slides.length;t++){var s=T.slides[t],i=(a+(T.params.centeredSlides?T.minTranslate():0)-s.swiperSlideOffset)/(s.swiperSlideSize+T.params.spaceBetween);if(T.params.watchSlidesVisibility){var r=-(a-s.swiperSlideOffset),n=r+T.slidesSizesGrid[t];(r>=0&&r<T.size||n>0&&n<=T.size||r<=0&&n>=T.size)&&T.slides.eq(t).addClass(T.params.slideVisibleClass)}s.progress=T.rtl?-i:i}}},T.updateProgress=function(e){void 0===e&&(e=T.translate||0);var a=T.maxTranslate()-T.minTranslate(),t=T.isBeginning,s=T.isEnd;0===a?(T.progress=0,T.isBeginning=T.isEnd=!0):(T.progress=(e-T.minTranslate())/a,T.isBeginning=T.progress<=0,T.isEnd=T.progress>=1),T.isBeginning&&!t&&T.emit(\"onReachBeginning\",T),T.isEnd&&!s&&T.emit(\"onReachEnd\",T),T.params.watchSlidesProgress&&T.updateSlidesProgress(e),T.emit(\"onProgress\",T,T.progress)},T.updateActiveIndex=function(){var e,a,t,s=T.rtl?T.translate:-T.translate;for(a=0;a<T.slidesGrid.length;a++)void 0!==T.slidesGrid[a+1]?s>=T.slidesGrid[a]&&s<T.slidesGrid[a+1]-(T.slidesGrid[a+1]-T.slidesGrid[a])/2?e=a:s>=T.slidesGrid[a]&&s<T.slidesGrid[a+1]&&(e=a+1):s>=T.slidesGrid[a]&&(e=a);T.params.normalizeSlideIndex&&(e<0||void 0===e)&&(e=0),t=Math.floor(e/T.params.slidesPerGroup),t>=T.snapGrid.length&&(t=T.snapGrid.length-1),e!==T.activeIndex&&(T.snapIndex=t,T.previousIndex=T.activeIndex,T.activeIndex=e,T.updateClasses(),T.updateRealIndex())},T.updateRealIndex=function(){T.realIndex=parseInt(T.slides.eq(T.activeIndex).attr(\"data-swiper-slide-index\")||T.activeIndex,10)},T.updateClasses=function(){T.slides.removeClass(T.params.slideActiveClass+\" \"+T.params.slideNextClass+\" \"+T.params.slidePrevClass+\" \"+T.params.slideDuplicateActiveClass+\" \"+T.params.slideDuplicateNextClass+\" \"+T.params.slideDuplicatePrevClass);var a=T.slides.eq(T.activeIndex);a.addClass(T.params.slideActiveClass),i.loop&&(a.hasClass(T.params.slideDuplicateClass)?T.wrapper.children(\".\"+T.params.slideClass+\":not(.\"+T.params.slideDuplicateClass+')[data-swiper-slide-index=\"'+T.realIndex+'\"]').addClass(T.params.slideDuplicateActiveClass):T.wrapper.children(\".\"+T.params.slideClass+\".\"+T.params.slideDuplicateClass+'[data-swiper-slide-index=\"'+T.realIndex+'\"]').addClass(T.params.slideDuplicateActiveClass));var t=a.next(\".\"+T.params.slideClass).addClass(T.params.slideNextClass);T.params.loop&&0===t.length&&(t=T.slides.eq(0),t.addClass(T.params.slideNextClass));var s=a.prev(\".\"+T.params.slideClass).addClass(T.params.slidePrevClass);if(T.params.loop&&0===s.length&&(s=T.slides.eq(-1),s.addClass(T.params.slidePrevClass)),i.loop&&(t.hasClass(T.params.slideDuplicateClass)?T.wrapper.children(\".\"+T.params.slideClass+\":not(.\"+T.params.slideDuplicateClass+')[data-swiper-slide-index=\"'+t.attr(\"data-swiper-slide-index\")+'\"]').addClass(T.params.slideDuplicateNextClass):T.wrapper.children(\".\"+T.params.slideClass+\".\"+T.params.slideDuplicateClass+'[data-swiper-slide-index=\"'+t.attr(\"data-swiper-slide-index\")+'\"]').addClass(T.params.slideDuplicateNextClass),s.hasClass(T.params.slideDuplicateClass)?T.wrapper.children(\".\"+T.params.slideClass+\":not(.\"+T.params.slideDuplicateClass+')[data-swiper-slide-index=\"'+s.attr(\"data-swiper-slide-index\")+'\"]').addClass(T.params.slideDuplicatePrevClass):T.wrapper.children(\".\"+T.params.slideClass+\".\"+T.params.slideDuplicateClass+'[data-swiper-slide-index=\"'+s.attr(\"data-swiper-slide-index\")+'\"]').addClass(T.params.slideDuplicatePrevClass)),T.paginationContainer&&T.paginationContainer.length>0){var r,n=T.params.loop?Math.ceil((T.slides.length-2*T.loopedSlides)/T.params.slidesPerGroup):T.snapGrid.length;if(T.params.loop?(r=Math.ceil((T.activeIndex-T.loopedSlides)/T.params.slidesPerGroup),r>T.slides.length-1-2*T.loopedSlides&&(r-=T.slides.length-2*T.loopedSlides),r>n-1&&(r-=n),r<0&&\"bullets\"!==T.params.paginationType&&(r=n+r)):r=void 0!==T.snapIndex?T.snapIndex:T.activeIndex||0,\"bullets\"===T.params.paginationType&&T.bullets&&T.bullets.length>0&&(T.bullets.removeClass(T.params.bulletActiveClass),T.paginationContainer.length>1?T.bullets.each(function(){e(this).index()===r&&e(this).addClass(T.params.bulletActiveClass)}):T.bullets.eq(r).addClass(T.params.bulletActiveClass)),\"fraction\"===T.params.paginationType&&(T.paginationContainer.find(\".\"+T.params.paginationCurrentClass).text(r+1),T.paginationContainer.find(\".\"+T.params.paginationTotalClass).text(n)),\"progress\"===T.params.paginationType){var o=(r+1)/n,l=o,p=1;T.isHorizontal()||(p=o,l=1),T.paginationContainer.find(\".\"+T.params.paginationProgressbarClass).transform(\"translate3d(0,0,0) scaleX(\"+l+\") scaleY(\"+p+\")\").transition(T.params.speed)}\"custom\"===T.params.paginationType&&T.params.paginationCustomRender&&(T.paginationContainer.html(T.params.paginationCustomRender(T,r+1,n)),T.emit(\"onPaginationRendered\",T,T.paginationContainer[0]))}T.params.loop||(T.params.prevButton&&T.prevButton&&T.prevButton.length>0&&(T.isBeginning?(T.prevButton.addClass(T.params.buttonDisabledClass),T.params.a11y&&T.a11y&&T.a11y.disable(T.prevButton)):(T.prevButton.removeClass(T.params.buttonDisabledClass),T.params.a11y&&T.a11y&&T.a11y.enable(T.prevButton))),T.params.nextButton&&T.nextButton&&T.nextButton.length>0&&(T.isEnd?(T.nextButton.addClass(T.params.buttonDisabledClass),T.params.a11y&&T.a11y&&T.a11y.disable(T.nextButton)):(T.nextButton.removeClass(T.params.buttonDisabledClass),T.params.a11y&&T.a11y&&T.a11y.enable(T.nextButton))))},T.updatePagination=function(){if(T.params.pagination&&T.paginationContainer&&T.paginationContainer.length>0){var e=\"\";if(\"bullets\"===T.params.paginationType){for(var a=T.params.loop?Math.ceil((T.slides.length-2*T.loopedSlides)/T.params.slidesPerGroup):T.snapGrid.length,t=0;t<a;t++)e+=T.params.paginationBulletRender?T.params.paginationBulletRender(T,t,T.params.bulletClass):\"<\"+T.params.paginationElement+' class=\"'+T.params.bulletClass+'\"></'+T.params.paginationElement+\">\";T.paginationContainer.html(e),T.bullets=T.paginationContainer.find(\".\"+T.params.bulletClass),T.params.paginationClickable&&T.params.a11y&&T.a11y&&T.a11y.initPagination()}\"fraction\"===T.params.paginationType&&(e=T.params.paginationFractionRender?T.params.paginationFractionRender(T,T.params.paginationCurrentClass,T.params.paginationTotalClass):'<span class=\"'+T.params.paginationCurrentClass+'\"></span> / <span class=\"'+T.params.paginationTotalClass+'\"></span>',T.paginationContainer.html(e)),\"progress\"===T.params.paginationType&&(e=T.params.paginationProgressRender?T.params.paginationProgressRender(T,T.params.paginationProgressbarClass):'<span class=\"'+T.params.paginationProgressbarClass+'\"></span>',T.paginationContainer.html(e)),\"custom\"!==T.params.paginationType&&T.emit(\"onPaginationRendered\",T,T.paginationContainer[0])}},T.update=function(e){function a(){T.rtl,T.translate;t=Math.min(Math.max(T.translate,T.maxTranslate()),T.minTranslate()),T.setWrapperTranslate(t),T.updateActiveIndex(),T.updateClasses()}if(T){T.updateContainerSize(),T.updateSlidesSize(),T.updateProgress(),T.updatePagination(),T.updateClasses(),T.params.scrollbar&&T.scrollbar&&T.scrollbar.set();var t;if(e){T.controller&&T.controller.spline&&(T.controller.spline=void 0),T.params.freeMode?(a(),T.params.autoHeight&&T.updateAutoHeight()):((\"auto\"===T.params.slidesPerView||T.params.slidesPerView>1)&&T.isEnd&&!T.params.centeredSlides?T.slideTo(T.slides.length-1,0,!1,!0):T.slideTo(T.activeIndex,0,!1,!0))||a()}else T.params.autoHeight&&T.updateAutoHeight()}},T.onResize=function(e){T.params.onBeforeResize&&T.params.onBeforeResize(T),T.params.breakpoints&&T.setBreakpoint();var a=T.params.allowSwipeToPrev,t=T.params.allowSwipeToNext;T.params.allowSwipeToPrev=T.params.allowSwipeToNext=!0,T.updateContainerSize(),T.updateSlidesSize(),(\"auto\"===T.params.slidesPerView||T.params.freeMode||e)&&T.updatePagination(),T.params.scrollbar&&T.scrollbar&&T.scrollbar.set(),T.controller&&T.controller.spline&&(T.controller.spline=void 0);var s=!1;if(T.params.freeMode){var i=Math.min(Math.max(T.translate,T.maxTranslate()),T.minTranslate());T.setWrapperTranslate(i),T.updateActiveIndex(),T.updateClasses(),T.params.autoHeight&&T.updateAutoHeight()}else T.updateClasses(),s=(\"auto\"===T.params.slidesPerView||T.params.slidesPerView>1)&&T.isEnd&&!T.params.centeredSlides?T.slideTo(T.slides.length-1,0,!1,!0):T.slideTo(T.activeIndex,0,!1,!0);T.params.lazyLoading&&!s&&T.lazy&&T.lazy.load(),T.params.allowSwipeToPrev=a,T.params.allowSwipeToNext=t,T.params.onAfterResize&&T.params.onAfterResize(T)},T.touchEventsDesktop={start:\"mousedown\",move:\"mousemove\",end:\"mouseup\"},window.navigator.pointerEnabled?T.touchEventsDesktop={start:\"pointerdown\",move:\"pointermove\",end:\"pointerup\"}:window.navigator.msPointerEnabled&&(T.touchEventsDesktop={start:\"MSPointerDown\",move:\"MSPointerMove\",end:\"MSPointerUp\"}),T.touchEvents={start:T.support.touch||!T.params.simulateTouch?\"touchstart\":T.touchEventsDesktop.start,move:T.support.touch||!T.params.simulateTouch?\"touchmove\":T.touchEventsDesktop.move,end:T.support.touch||!T.params.simulateTouch?\"touchend\":T.touchEventsDesktop.end},(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&(\"container\"===T.params.touchEventsTarget?T.container:T.wrapper).addClass(\"swiper-wp8-\"+T.params.direction),T.initEvents=function(e){var a=e?\"off\":\"on\",t=e?\"removeEventListener\":\"addEventListener\",s=\"container\"===T.params.touchEventsTarget?T.container[0]:T.wrapper[0],r=T.support.touch?s:document,n=!!T.params.nested;if(T.browser.ie)s[t](T.touchEvents.start,T.onTouchStart,!1),r[t](T.touchEvents.move,T.onTouchMove,n),r[t](T.touchEvents.end,T.onTouchEnd,!1);else{if(T.support.touch){var o=!(\"touchstart\"!==T.touchEvents.start||!T.support.passiveListener||!T.params.passiveListeners)&&{passive:!0,capture:!1};s[t](T.touchEvents.start,T.onTouchStart,o),s[t](T.touchEvents.move,T.onTouchMove,n),s[t](T.touchEvents.end,T.onTouchEnd,o)}(i.simulateTouch&&!T.device.ios&&!T.device.android||i.simulateTouch&&!T.support.touch&&T.device.ios)&&(s[t](\"mousedown\",T.onTouchStart,!1),document[t](\"mousemove\",T.onTouchMove,n),document[t](\"mouseup\",T.onTouchEnd,!1))}window[t](\"resize\",T.onResize),T.params.nextButton&&T.nextButton&&T.nextButton.length>0&&(T.nextButton[a](\"click\",T.onClickNext),T.params.a11y&&T.a11y&&T.nextButton[a](\"keydown\",T.a11y.onEnterKey)),T.params.prevButton&&T.prevButton&&T.prevButton.length>0&&(T.prevButton[a](\"click\",T.onClickPrev),T.params.a11y&&T.a11y&&T.prevButton[a](\"keydown\",T.a11y.onEnterKey)),T.params.pagination&&T.params.paginationClickable&&(T.paginationContainer[a](\"click\",\".\"+T.params.bulletClass,T.onClickIndex),T.params.a11y&&T.a11y&&T.paginationContainer[a](\"keydown\",\".\"+T.params.bulletClass,T.a11y.onEnterKey)),(T.params.preventClicks||T.params.preventClicksPropagation)&&s[t](\"click\",T.preventClicks,!0)},T.attachEvents=function(){T.initEvents()},T.detachEvents=function(){T.initEvents(!0)},T.allowClick=!0,T.preventClicks=function(e){T.allowClick||(T.params.preventClicks&&e.preventDefault(),T.params.preventClicksPropagation&&T.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))},T.onClickNext=function(e){e.preventDefault(),T.isEnd&&!T.params.loop||T.slideNext()},T.onClickPrev=function(e){e.preventDefault(),T.isBeginning&&!T.params.loop||T.slidePrev()},T.onClickIndex=function(a){a.preventDefault();var t=e(this).index()*T.params.slidesPerGroup;T.params.loop&&(t+=T.loopedSlides),T.slideTo(t)},\nT.updateClickedSlide=function(a){var t=o(a,\".\"+T.params.slideClass),s=!1;if(t)for(var i=0;i<T.slides.length;i++)T.slides[i]===t&&(s=!0);if(!t||!s)return T.clickedSlide=void 0,void(T.clickedIndex=void 0);if(T.clickedSlide=t,T.clickedIndex=e(t).index(),T.params.slideToClickedSlide&&void 0!==T.clickedIndex&&T.clickedIndex!==T.activeIndex){var r,n=T.clickedIndex,l=\"auto\"===T.params.slidesPerView?T.currentSlidesPerView():T.params.slidesPerView;if(T.params.loop){if(T.animating)return;r=parseInt(e(T.clickedSlide).attr(\"data-swiper-slide-index\"),10),T.params.centeredSlides?n<T.loopedSlides-l/2||n>T.slides.length-T.loopedSlides+l/2?(T.fixLoop(),n=T.wrapper.children(\".\"+T.params.slideClass+'[data-swiper-slide-index=\"'+r+'\"]:not(.'+T.params.slideDuplicateClass+\")\").eq(0).index(),setTimeout(function(){T.slideTo(n)},0)):T.slideTo(n):n>T.slides.length-l?(T.fixLoop(),n=T.wrapper.children(\".\"+T.params.slideClass+'[data-swiper-slide-index=\"'+r+'\"]:not(.'+T.params.slideDuplicateClass+\")\").eq(0).index(),setTimeout(function(){T.slideTo(n)},0)):T.slideTo(n)}else T.slideTo(n)}};var S,C,z,M,E,P,I,k,L,D,B=\"input, select, textarea, button, video\",H=Date.now(),G=[];T.animating=!1,T.touches={startX:0,startY:0,currentX:0,currentY:0,diff:0};var X,A;T.onTouchStart=function(a){if(a.originalEvent&&(a=a.originalEvent),(X=\"touchstart\"===a.type)||!(\"which\"in a)||3!==a.which){if(T.params.noSwiping&&o(a,\".\"+T.params.noSwipingClass))return void(T.allowClick=!0);if(!T.params.swipeHandler||o(a,T.params.swipeHandler)){var t=T.touches.currentX=\"touchstart\"===a.type?a.targetTouches[0].pageX:a.pageX,s=T.touches.currentY=\"touchstart\"===a.type?a.targetTouches[0].pageY:a.pageY;if(!(T.device.ios&&T.params.iOSEdgeSwipeDetection&&t<=T.params.iOSEdgeSwipeThreshold)){if(S=!0,C=!1,z=!0,E=void 0,A=void 0,T.touches.startX=t,T.touches.startY=s,M=Date.now(),T.allowClick=!0,T.updateContainerSize(),T.swipeDirection=void 0,T.params.threshold>0&&(k=!1),\"touchstart\"!==a.type){var i=!0;e(a.target).is(B)&&(i=!1),document.activeElement&&e(document.activeElement).is(B)&&document.activeElement.blur(),i&&a.preventDefault()}T.emit(\"onTouchStart\",T,a)}}}},T.onTouchMove=function(a){if(a.originalEvent&&(a=a.originalEvent),!X||\"mousemove\"!==a.type){if(a.preventedByNestedSwiper)return T.touches.startX=\"touchmove\"===a.type?a.targetTouches[0].pageX:a.pageX,void(T.touches.startY=\"touchmove\"===a.type?a.targetTouches[0].pageY:a.pageY);if(T.params.onlyExternal)return T.allowClick=!1,void(S&&(T.touches.startX=T.touches.currentX=\"touchmove\"===a.type?a.targetTouches[0].pageX:a.pageX,T.touches.startY=T.touches.currentY=\"touchmove\"===a.type?a.targetTouches[0].pageY:a.pageY,M=Date.now()));if(X&&T.params.touchReleaseOnEdges&&!T.params.loop)if(T.isHorizontal()){if(T.touches.currentX<T.touches.startX&&T.translate<=T.maxTranslate()||T.touches.currentX>T.touches.startX&&T.translate>=T.minTranslate())return}else if(T.touches.currentY<T.touches.startY&&T.translate<=T.maxTranslate()||T.touches.currentY>T.touches.startY&&T.translate>=T.minTranslate())return;if(X&&document.activeElement&&a.target===document.activeElement&&e(a.target).is(B))return C=!0,void(T.allowClick=!1);if(z&&T.emit(\"onTouchMove\",T,a),!(a.targetTouches&&a.targetTouches.length>1)){if(T.touches.currentX=\"touchmove\"===a.type?a.targetTouches[0].pageX:a.pageX,T.touches.currentY=\"touchmove\"===a.type?a.targetTouches[0].pageY:a.pageY,void 0===E){var t;T.isHorizontal()&&T.touches.currentY===T.touches.startY||!T.isHorizontal()&&T.touches.currentX===T.touches.startX?E=!1:(t=180*Math.atan2(Math.abs(T.touches.currentY-T.touches.startY),Math.abs(T.touches.currentX-T.touches.startX))/Math.PI,E=T.isHorizontal()?t>T.params.touchAngle:90-t>T.params.touchAngle)}if(E&&T.emit(\"onTouchMoveOpposite\",T,a),void 0===A&&(T.touches.currentX===T.touches.startX&&T.touches.currentY===T.touches.startY||(A=!0)),S){if(E)return void(S=!1);if(A){T.allowClick=!1,T.emit(\"onSliderMove\",T,a),a.preventDefault(),T.params.touchMoveStopPropagation&&!T.params.nested&&a.stopPropagation(),C||(i.loop&&T.fixLoop(),I=T.getWrapperTranslate(),T.setWrapperTransition(0),T.animating&&T.wrapper.trigger(\"webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd\"),T.params.autoplay&&T.autoplaying&&(T.params.autoplayDisableOnInteraction?T.stopAutoplay():T.pauseAutoplay()),D=!1,!T.params.grabCursor||T.params.allowSwipeToNext!==!0&&T.params.allowSwipeToPrev!==!0||T.setGrabCursor(!0)),C=!0;var s=T.touches.diff=T.isHorizontal()?T.touches.currentX-T.touches.startX:T.touches.currentY-T.touches.startY;s*=T.params.touchRatio,T.rtl&&(s=-s),T.swipeDirection=s>0?\"prev\":\"next\",P=s+I;var r=!0;if(s>0&&P>T.minTranslate()?(r=!1,T.params.resistance&&(P=T.minTranslate()-1+Math.pow(-T.minTranslate()+I+s,T.params.resistanceRatio))):s<0&&P<T.maxTranslate()&&(r=!1,T.params.resistance&&(P=T.maxTranslate()+1-Math.pow(T.maxTranslate()-I-s,T.params.resistanceRatio))),r&&(a.preventedByNestedSwiper=!0),!T.params.allowSwipeToNext&&\"next\"===T.swipeDirection&&P<I&&(P=I),!T.params.allowSwipeToPrev&&\"prev\"===T.swipeDirection&&P>I&&(P=I),T.params.threshold>0){if(!(Math.abs(s)>T.params.threshold||k))return void(P=I);if(!k)return k=!0,T.touches.startX=T.touches.currentX,T.touches.startY=T.touches.currentY,P=I,void(T.touches.diff=T.isHorizontal()?T.touches.currentX-T.touches.startX:T.touches.currentY-T.touches.startY)}T.params.followFinger&&((T.params.freeMode||T.params.watchSlidesProgress)&&T.updateActiveIndex(),T.params.freeMode&&(0===G.length&&G.push({position:T.touches[T.isHorizontal()?\"startX\":\"startY\"],time:M}),G.push({position:T.touches[T.isHorizontal()?\"currentX\":\"currentY\"],time:(new window.Date).getTime()})),T.updateProgress(P),T.setWrapperTranslate(P))}}}}},T.onTouchEnd=function(a){if(a.originalEvent&&(a=a.originalEvent),z&&T.emit(\"onTouchEnd\",T,a),z=!1,S){T.params.grabCursor&&C&&S&&(T.params.allowSwipeToNext===!0||T.params.allowSwipeToPrev===!0)&&T.setGrabCursor(!1);var t=Date.now(),s=t-M;if(T.allowClick&&(T.updateClickedSlide(a),T.emit(\"onTap\",T,a),s<300&&t-H>300&&(L&&clearTimeout(L),L=setTimeout(function(){T&&(T.params.paginationHide&&T.paginationContainer.length>0&&!e(a.target).hasClass(T.params.bulletClass)&&T.paginationContainer.toggleClass(T.params.paginationHiddenClass),T.emit(\"onClick\",T,a))},300)),s<300&&t-H<300&&(L&&clearTimeout(L),T.emit(\"onDoubleTap\",T,a))),H=Date.now(),setTimeout(function(){T&&(T.allowClick=!0)},0),!S||!C||!T.swipeDirection||0===T.touches.diff||P===I)return void(S=C=!1);S=C=!1;var i;if(i=T.params.followFinger?T.rtl?T.translate:-T.translate:-P,T.params.freeMode){if(i<-T.minTranslate())return void T.slideTo(T.activeIndex);if(i>-T.maxTranslate())return void(T.slides.length<T.snapGrid.length?T.slideTo(T.snapGrid.length-1):T.slideTo(T.slides.length-1));if(T.params.freeModeMomentum){if(G.length>1){var r=G.pop(),n=G.pop(),o=r.position-n.position,l=r.time-n.time;T.velocity=o/l,T.velocity=T.velocity/2,Math.abs(T.velocity)<T.params.freeModeMinimumVelocity&&(T.velocity=0),(l>150||(new window.Date).getTime()-r.time>300)&&(T.velocity=0)}else T.velocity=0;T.velocity=T.velocity*T.params.freeModeMomentumVelocityRatio,G.length=0;var p=1e3*T.params.freeModeMomentumRatio,d=T.velocity*p,u=T.translate+d;T.rtl&&(u=-u);var c,m=!1,h=20*Math.abs(T.velocity)*T.params.freeModeMomentumBounceRatio;if(u<T.maxTranslate())T.params.freeModeMomentumBounce?(u+T.maxTranslate()<-h&&(u=T.maxTranslate()-h),c=T.maxTranslate(),m=!0,D=!0):u=T.maxTranslate();else if(u>T.minTranslate())T.params.freeModeMomentumBounce?(u-T.minTranslate()>h&&(u=T.minTranslate()+h),c=T.minTranslate(),m=!0,D=!0):u=T.minTranslate();else if(T.params.freeModeSticky){var g,f=0;for(f=0;f<T.snapGrid.length;f+=1)if(T.snapGrid[f]>-u){g=f;break}u=Math.abs(T.snapGrid[g]-u)<Math.abs(T.snapGrid[g-1]-u)||\"next\"===T.swipeDirection?T.snapGrid[g]:T.snapGrid[g-1],T.rtl||(u=-u)}if(0!==T.velocity)p=T.rtl?Math.abs((-u-T.translate)/T.velocity):Math.abs((u-T.translate)/T.velocity);else if(T.params.freeModeSticky)return void T.slideReset();T.params.freeModeMomentumBounce&&m?(T.updateProgress(c),T.setWrapperTransition(p),T.setWrapperTranslate(u),T.onTransitionStart(),T.animating=!0,T.wrapper.transitionEnd(function(){T&&D&&(T.emit(\"onMomentumBounce\",T),T.setWrapperTransition(T.params.speed),T.setWrapperTranslate(c),T.wrapper.transitionEnd(function(){T&&T.onTransitionEnd()}))})):T.velocity?(T.updateProgress(u),T.setWrapperTransition(p),T.setWrapperTranslate(u),T.onTransitionStart(),T.animating||(T.animating=!0,T.wrapper.transitionEnd(function(){T&&T.onTransitionEnd()}))):T.updateProgress(u),T.updateActiveIndex()}return void((!T.params.freeModeMomentum||s>=T.params.longSwipesMs)&&(T.updateProgress(),T.updateActiveIndex()))}var v,w=0,y=T.slidesSizesGrid[0];for(v=0;v<T.slidesGrid.length;v+=T.params.slidesPerGroup)void 0!==T.slidesGrid[v+T.params.slidesPerGroup]?i>=T.slidesGrid[v]&&i<T.slidesGrid[v+T.params.slidesPerGroup]&&(w=v,y=T.slidesGrid[v+T.params.slidesPerGroup]-T.slidesGrid[v]):i>=T.slidesGrid[v]&&(w=v,y=T.slidesGrid[T.slidesGrid.length-1]-T.slidesGrid[T.slidesGrid.length-2]);var x=(i-T.slidesGrid[w])/y;if(s>T.params.longSwipesMs){if(!T.params.longSwipes)return void T.slideTo(T.activeIndex);\"next\"===T.swipeDirection&&(x>=T.params.longSwipesRatio?T.slideTo(w+T.params.slidesPerGroup):T.slideTo(w)),\"prev\"===T.swipeDirection&&(x>1-T.params.longSwipesRatio?T.slideTo(w+T.params.slidesPerGroup):T.slideTo(w))}else{if(!T.params.shortSwipes)return void T.slideTo(T.activeIndex);\"next\"===T.swipeDirection&&T.slideTo(w+T.params.slidesPerGroup),\"prev\"===T.swipeDirection&&T.slideTo(w)}}},T._slideTo=function(e,a){return T.slideTo(e,a,!0,!0)},T.slideTo=function(e,a,t,s){void 0===t&&(t=!0),void 0===e&&(e=0),e<0&&(e=0),T.snapIndex=Math.floor(e/T.params.slidesPerGroup),T.snapIndex>=T.snapGrid.length&&(T.snapIndex=T.snapGrid.length-1);var i=-T.snapGrid[T.snapIndex];if(T.params.autoplay&&T.autoplaying&&(s||!T.params.autoplayDisableOnInteraction?T.pauseAutoplay(a):T.stopAutoplay()),T.updateProgress(i),T.params.normalizeSlideIndex)for(var r=0;r<T.slidesGrid.length;r++)-Math.floor(100*i)>=Math.floor(100*T.slidesGrid[r])&&(e=r);return!(!T.params.allowSwipeToNext&&i<T.translate&&i<T.minTranslate())&&(!(!T.params.allowSwipeToPrev&&i>T.translate&&i>T.maxTranslate()&&(T.activeIndex||0)!==e)&&(void 0===a&&(a=T.params.speed),T.previousIndex=T.activeIndex||0,T.activeIndex=e,T.updateRealIndex(),T.rtl&&-i===T.translate||!T.rtl&&i===T.translate?(T.params.autoHeight&&T.updateAutoHeight(),T.updateClasses(),\"slide\"!==T.params.effect&&T.setWrapperTranslate(i),!1):(T.updateClasses(),T.onTransitionStart(t),0===a||T.browser.lteIE9?(T.setWrapperTranslate(i),T.setWrapperTransition(0),T.onTransitionEnd(t)):(T.setWrapperTranslate(i),T.setWrapperTransition(a),T.animating||(T.animating=!0,T.wrapper.transitionEnd(function(){T&&T.onTransitionEnd(t)}))),!0)))},T.onTransitionStart=function(e){void 0===e&&(e=!0),T.params.autoHeight&&T.updateAutoHeight(),T.lazy&&T.lazy.onTransitionStart(),e&&(T.emit(\"onTransitionStart\",T),T.activeIndex!==T.previousIndex&&(T.emit(\"onSlideChangeStart\",T),T.activeIndex>T.previousIndex?T.emit(\"onSlideNextStart\",T):T.emit(\"onSlidePrevStart\",T)))},T.onTransitionEnd=function(e){T.animating=!1,T.setWrapperTransition(0),void 0===e&&(e=!0),T.lazy&&T.lazy.onTransitionEnd(),e&&(T.emit(\"onTransitionEnd\",T),T.activeIndex!==T.previousIndex&&(T.emit(\"onSlideChangeEnd\",T),T.activeIndex>T.previousIndex?T.emit(\"onSlideNextEnd\",T):T.emit(\"onSlidePrevEnd\",T))),T.params.history&&T.history&&T.history.setHistory(T.params.history,T.activeIndex),T.params.hashnav&&T.hashnav&&T.hashnav.setHash()},T.slideNext=function(e,a,t){if(T.params.loop){if(T.animating)return!1;T.fixLoop();T.container[0].clientLeft;return T.slideTo(T.activeIndex+T.params.slidesPerGroup,a,e,t)}return T.slideTo(T.activeIndex+T.params.slidesPerGroup,a,e,t)},T._slideNext=function(e){return T.slideNext(!0,e,!0)},T.slidePrev=function(e,a,t){if(T.params.loop){if(T.animating)return!1;T.fixLoop();T.container[0].clientLeft;return T.slideTo(T.activeIndex-1,a,e,t)}return T.slideTo(T.activeIndex-1,a,e,t)},T._slidePrev=function(e){return T.slidePrev(!0,e,!0)},T.slideReset=function(e,a,t){return T.slideTo(T.activeIndex,a,e)},T.disableTouchControl=function(){return T.params.onlyExternal=!0,!0},T.enableTouchControl=function(){return T.params.onlyExternal=!1,!0},T.setWrapperTransition=function(e,a){T.wrapper.transition(e),\"slide\"!==T.params.effect&&T.effects[T.params.effect]&&T.effects[T.params.effect].setTransition(e),T.params.parallax&&T.parallax&&T.parallax.setTransition(e),T.params.scrollbar&&T.scrollbar&&T.scrollbar.setTransition(e),T.params.control&&T.controller&&T.controller.setTransition(e,a),T.emit(\"onSetTransition\",T,e)},T.setWrapperTranslate=function(e,a,t){var s=0,i=0;T.isHorizontal()?s=T.rtl?-e:e:i=e,T.params.roundLengths&&(s=r(s),i=r(i)),T.params.virtualTranslate||(T.support.transforms3d?T.wrapper.transform(\"translate3d(\"+s+\"px, \"+i+\"px, 0px)\"):T.wrapper.transform(\"translate(\"+s+\"px, \"+i+\"px)\")),T.translate=T.isHorizontal()?s:i;var n,o=T.maxTranslate()-T.minTranslate();n=0===o?0:(e-T.minTranslate())/o,n!==T.progress&&T.updateProgress(e),a&&T.updateActiveIndex(),\"slide\"!==T.params.effect&&T.effects[T.params.effect]&&T.effects[T.params.effect].setTranslate(T.translate),T.params.parallax&&T.parallax&&T.parallax.setTranslate(T.translate),T.params.scrollbar&&T.scrollbar&&T.scrollbar.setTranslate(T.translate),T.params.control&&T.controller&&T.controller.setTranslate(T.translate,t),T.emit(\"onSetTranslate\",T,T.translate)},T.getTranslate=function(e,a){var t,s,i,r;return void 0===a&&(a=\"x\"),T.params.virtualTranslate?T.rtl?-T.translate:T.translate:(i=window.getComputedStyle(e,null),window.WebKitCSSMatrix?(s=i.transform||i.webkitTransform,s.split(\",\").length>6&&(s=s.split(\", \").map(function(e){return e.replace(\",\",\".\")}).join(\", \")),r=new window.WebKitCSSMatrix(\"none\"===s?\"\":s)):(r=i.MozTransform||i.OTransform||i.MsTransform||i.msTransform||i.transform||i.getPropertyValue(\"transform\").replace(\"translate(\",\"matrix(1, 0, 0, 1,\"),t=r.toString().split(\",\")),\"x\"===a&&(s=window.WebKitCSSMatrix?r.m41:16===t.length?parseFloat(t[12]):parseFloat(t[4])),\"y\"===a&&(s=window.WebKitCSSMatrix?r.m42:16===t.length?parseFloat(t[13]):parseFloat(t[5])),T.rtl&&s&&(s=-s),s||0)},T.getWrapperTranslate=function(e){return void 0===e&&(e=T.isHorizontal()?\"x\":\"y\"),T.getTranslate(T.wrapper[0],e)},T.observers=[],T.initObservers=function(){if(T.params.observeParents)for(var e=T.container.parents(),a=0;a<e.length;a++)l(e[a]);l(T.container[0],{childList:!1}),l(T.wrapper[0],{attributes:!1})},T.disconnectObservers=function(){for(var e=0;e<T.observers.length;e++)T.observers[e].disconnect();T.observers=[]},T.createLoop=function(){T.wrapper.children(\".\"+T.params.slideClass+\".\"+T.params.slideDuplicateClass).remove();var a=T.wrapper.children(\".\"+T.params.slideClass);\"auto\"!==T.params.slidesPerView||T.params.loopedSlides||(T.params.loopedSlides=a.length),T.loopedSlides=parseInt(T.params.loopedSlides||T.params.slidesPerView,10),T.loopedSlides=T.loopedSlides+T.params.loopAdditionalSlides,T.loopedSlides>a.length&&(T.loopedSlides=a.length);var t,s=[],i=[];for(a.each(function(t,r){var n=e(this);t<T.loopedSlides&&i.push(r),t<a.length&&t>=a.length-T.loopedSlides&&s.push(r),n.attr(\"data-swiper-slide-index\",t)}),t=0;t<i.length;t++)T.wrapper.append(e(i[t].cloneNode(!0)).addClass(T.params.slideDuplicateClass));for(t=s.length-1;t>=0;t--)T.wrapper.prepend(e(s[t].cloneNode(!0)).addClass(T.params.slideDuplicateClass))},T.destroyLoop=function(){T.wrapper.children(\".\"+T.params.slideClass+\".\"+T.params.slideDuplicateClass).remove(),T.slides.removeAttr(\"data-swiper-slide-index\")},T.reLoop=function(e){var a=T.activeIndex-T.loopedSlides;T.destroyLoop(),T.createLoop(),T.updateSlidesSize(),e&&T.slideTo(a+T.loopedSlides,0,!1)},T.fixLoop=function(){var e;T.activeIndex<T.loopedSlides?(e=T.slides.length-3*T.loopedSlides+T.activeIndex,e+=T.loopedSlides,T.slideTo(e,0,!1,!0)):(\"auto\"===T.params.slidesPerView&&T.activeIndex>=2*T.loopedSlides||T.activeIndex>T.slides.length-2*T.params.slidesPerView)&&(e=-T.slides.length+T.activeIndex+T.loopedSlides,e+=T.loopedSlides,T.slideTo(e,0,!1,!0))},T.appendSlide=function(e){if(T.params.loop&&T.destroyLoop(),\"object\"==typeof e&&e.length)for(var a=0;a<e.length;a++)e[a]&&T.wrapper.append(e[a]);else T.wrapper.append(e);T.params.loop&&T.createLoop(),T.params.observer&&T.support.observer||T.update(!0)},T.prependSlide=function(e){T.params.loop&&T.destroyLoop();var a=T.activeIndex+1;if(\"object\"==typeof e&&e.length){for(var t=0;t<e.length;t++)e[t]&&T.wrapper.prepend(e[t]);a=T.activeIndex+e.length}else T.wrapper.prepend(e);T.params.loop&&T.createLoop(),T.params.observer&&T.support.observer||T.update(!0),T.slideTo(a,0,!1)},T.removeSlide=function(e){T.params.loop&&(T.destroyLoop(),T.slides=T.wrapper.children(\".\"+T.params.slideClass));var a,t=T.activeIndex;if(\"object\"==typeof e&&e.length){for(var s=0;s<e.length;s++)a=e[s],T.slides[a]&&T.slides.eq(a).remove(),a<t&&t--;t=Math.max(t,0)}else a=e,T.slides[a]&&T.slides.eq(a).remove(),a<t&&t--,t=Math.max(t,0);T.params.loop&&T.createLoop(),T.params.observer&&T.support.observer||T.update(!0),T.params.loop?T.slideTo(t+T.loopedSlides,0,!1):T.slideTo(t,0,!1)},T.removeAllSlides=function(){for(var e=[],a=0;a<T.slides.length;a++)e.push(a);T.removeSlide(e)},T.effects={fade:{setTranslate:function(){for(var e=0;e<T.slides.length;e++){var a=T.slides.eq(e),t=a[0].swiperSlideOffset,s=-t;T.params.virtualTranslate||(s-=T.translate);var i=0;T.isHorizontal()||(i=s,s=0);var r=T.params.fade.crossFade?Math.max(1-Math.abs(a[0].progress),0):1+Math.min(Math.max(a[0].progress,-1),0);a.css({opacity:r}).transform(\"translate3d(\"+s+\"px, \"+i+\"px, 0px)\")}},setTransition:function(e){if(T.slides.transition(e),T.params.virtualTranslate&&0!==e){var a=!1;T.slides.transitionEnd(function(){if(!a&&T){a=!0,T.animating=!1;for(var e=[\"webkitTransitionEnd\",\"transitionend\",\"oTransitionEnd\",\"MSTransitionEnd\",\"msTransitionEnd\"],t=0;t<e.length;t++)T.wrapper.trigger(e[t])}})}}},flip:{setTranslate:function(){for(var a=0;a<T.slides.length;a++){var t=T.slides.eq(a),s=t[0].progress;T.params.flip.limitRotation&&(s=Math.max(Math.min(t[0].progress,1),-1));var i=t[0].swiperSlideOffset,r=-180*s,n=r,o=0,l=-i,p=0;if(T.isHorizontal()?T.rtl&&(n=-n):(p=l,l=0,o=-n,n=0),t[0].style.zIndex=-Math.abs(Math.round(s))+T.slides.length,T.params.flip.slideShadows){var d=T.isHorizontal()?t.find(\".swiper-slide-shadow-left\"):t.find(\".swiper-slide-shadow-top\"),u=T.isHorizontal()?t.find(\".swiper-slide-shadow-right\"):t.find(\".swiper-slide-shadow-bottom\");0===d.length&&(d=e('<div class=\"swiper-slide-shadow-'+(T.isHorizontal()?\"left\":\"top\")+'\"></div>'),t.append(d)),0===u.length&&(u=e('<div class=\"swiper-slide-shadow-'+(T.isHorizontal()?\"right\":\"bottom\")+'\"></div>'),t.append(u)),d.length&&(d[0].style.opacity=Math.max(-s,0)),u.length&&(u[0].style.opacity=Math.max(s,0))}t.transform(\"translate3d(\"+l+\"px, \"+p+\"px, 0px) rotateX(\"+o+\"deg) rotateY(\"+n+\"deg)\")}},setTransition:function(a){if(T.slides.transition(a).find(\".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left\").transition(a),T.params.virtualTranslate&&0!==a){var t=!1;T.slides.eq(T.activeIndex).transitionEnd(function(){if(!t&&T&&e(this).hasClass(T.params.slideActiveClass)){t=!0,T.animating=!1;for(var a=[\"webkitTransitionEnd\",\"transitionend\",\"oTransitionEnd\",\"MSTransitionEnd\",\"msTransitionEnd\"],s=0;s<a.length;s++)T.wrapper.trigger(a[s])}})}}},cube:{setTranslate:function(){var a,t=0;T.params.cube.shadow&&(T.isHorizontal()?(a=T.wrapper.find(\".swiper-cube-shadow\"),0===a.length&&(a=e('<div class=\"swiper-cube-shadow\"></div>'),T.wrapper.append(a)),a.css({height:T.width+\"px\"})):(a=T.container.find(\".swiper-cube-shadow\"),0===a.length&&(a=e('<div class=\"swiper-cube-shadow\"></div>'),T.container.append(a))));for(var s=0;s<T.slides.length;s++){var i=T.slides.eq(s),r=90*s,n=Math.floor(r/360);T.rtl&&(r=-r,n=Math.floor(-r/360));var o=Math.max(Math.min(i[0].progress,1),-1),l=0,p=0,d=0;s%4==0?(l=4*-n*T.size,d=0):(s-1)%4==0?(l=0,d=4*-n*T.size):(s-2)%4==0?(l=T.size+4*n*T.size,d=T.size):(s-3)%4==0&&(l=-T.size,d=3*T.size+4*T.size*n),T.rtl&&(l=-l),T.isHorizontal()||(p=l,l=0);var u=\"rotateX(\"+(T.isHorizontal()?0:-r)+\"deg) rotateY(\"+(T.isHorizontal()?r:0)+\"deg) translate3d(\"+l+\"px, \"+p+\"px, \"+d+\"px)\";if(o<=1&&o>-1&&(t=90*s+90*o,T.rtl&&(t=90*-s-90*o)),i.transform(u),T.params.cube.slideShadows){var c=T.isHorizontal()?i.find(\".swiper-slide-shadow-left\"):i.find(\".swiper-slide-shadow-top\"),m=T.isHorizontal()?i.find(\".swiper-slide-shadow-right\"):i.find(\".swiper-slide-shadow-bottom\");0===c.length&&(c=e('<div class=\"swiper-slide-shadow-'+(T.isHorizontal()?\"left\":\"top\")+'\"></div>'),i.append(c)),0===m.length&&(m=e('<div class=\"swiper-slide-shadow-'+(T.isHorizontal()?\"right\":\"bottom\")+'\"></div>'),i.append(m)),c.length&&(c[0].style.opacity=Math.max(-o,0)),m.length&&(m[0].style.opacity=Math.max(o,0))}}if(T.wrapper.css({\"-webkit-transform-origin\":\"50% 50% -\"+T.size/2+\"px\",\"-moz-transform-origin\":\"50% 50% -\"+T.size/2+\"px\",\"-ms-transform-origin\":\"50% 50% -\"+T.size/2+\"px\",\"transform-origin\":\"50% 50% -\"+T.size/2+\"px\"}),T.params.cube.shadow)if(T.isHorizontal())a.transform(\"translate3d(0px, \"+(T.width/2+T.params.cube.shadowOffset)+\"px, \"+-T.width/2+\"px) rotateX(90deg) rotateZ(0deg) scale(\"+T.params.cube.shadowScale+\")\");else{var h=Math.abs(t)-90*Math.floor(Math.abs(t)/90),g=1.5-(Math.sin(2*h*Math.PI/360)/2+Math.cos(2*h*Math.PI/360)/2),f=T.params.cube.shadowScale,v=T.params.cube.shadowScale/g,w=T.params.cube.shadowOffset;a.transform(\"scale3d(\"+f+\", 1, \"+v+\") translate3d(0px, \"+(T.height/2+w)+\"px, \"+-T.height/2/v+\"px) rotateX(-90deg)\")}var y=T.isSafari||T.isUiWebView?-T.size/2:0;T.wrapper.transform(\"translate3d(0px,0,\"+y+\"px) rotateX(\"+(T.isHorizontal()?0:t)+\"deg) rotateY(\"+(T.isHorizontal()?-t:0)+\"deg)\")},setTransition:function(e){T.slides.transition(e).find(\".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left\").transition(e),T.params.cube.shadow&&!T.isHorizontal()&&T.container.find(\".swiper-cube-shadow\").transition(e)}},coverflow:{setTranslate:function(){for(var a=T.translate,t=T.isHorizontal()?-a+T.width/2:-a+T.height/2,s=T.isHorizontal()?T.params.coverflow.rotate:-T.params.coverflow.rotate,i=T.params.coverflow.depth,r=0,n=T.slides.length;r<n;r++){var o=T.slides.eq(r),l=T.slidesSizesGrid[r],p=o[0].swiperSlideOffset,d=(t-p-l/2)/l*T.params.coverflow.modifier,u=T.isHorizontal()?s*d:0,c=T.isHorizontal()?0:s*d,m=-i*Math.abs(d),h=T.isHorizontal()?0:T.params.coverflow.stretch*d,g=T.isHorizontal()?T.params.coverflow.stretch*d:0;Math.abs(g)<.001&&(g=0),Math.abs(h)<.001&&(h=0),Math.abs(m)<.001&&(m=0),Math.abs(u)<.001&&(u=0),Math.abs(c)<.001&&(c=0);var f=\"translate3d(\"+g+\"px,\"+h+\"px,\"+m+\"px)  rotateX(\"+c+\"deg) rotateY(\"+u+\"deg)\";if(o.transform(f),o[0].style.zIndex=1-Math.abs(Math.round(d)),T.params.coverflow.slideShadows){var v=T.isHorizontal()?o.find(\".swiper-slide-shadow-left\"):o.find(\".swiper-slide-shadow-top\"),w=T.isHorizontal()?o.find(\".swiper-slide-shadow-right\"):o.find(\".swiper-slide-shadow-bottom\");0===v.length&&(v=e('<div class=\"swiper-slide-shadow-'+(T.isHorizontal()?\"left\":\"top\")+'\"></div>'),o.append(v)),0===w.length&&(w=e('<div class=\"swiper-slide-shadow-'+(T.isHorizontal()?\"right\":\"bottom\")+'\"></div>'),o.append(w)),v.length&&(v[0].style.opacity=d>0?d:0),w.length&&(w[0].style.opacity=-d>0?-d:0)}}if(T.browser.ie){T.wrapper[0].style.perspectiveOrigin=t+\"px 50%\"}},setTransition:function(e){T.slides.transition(e).find(\".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left\").transition(e)}}},T.lazy={initialImageLoaded:!1,loadImageInSlide:function(a,t){if(void 0!==a&&(void 0===t&&(t=!0),0!==T.slides.length)){var s=T.slides.eq(a),i=s.find(\".\"+T.params.lazyLoadingClass+\":not(.\"+T.params.lazyStatusLoadedClass+\"):not(.\"+T.params.lazyStatusLoadingClass+\")\");!s.hasClass(T.params.lazyLoadingClass)||s.hasClass(T.params.lazyStatusLoadedClass)||s.hasClass(T.params.lazyStatusLoadingClass)||(i=i.add(s[0])),0!==i.length&&i.each(function(){var a=e(this);a.addClass(T.params.lazyStatusLoadingClass);var i=a.attr(\"data-background\"),r=a.attr(\"data-src\"),n=a.attr(\"data-srcset\"),o=a.attr(\"data-sizes\");T.loadImage(a[0],r||i,n,o,!1,function(){if(void 0!==T&&null!==T&&T){if(i?(a.css(\"background-image\",'url(\"'+i+'\")'),a.removeAttr(\"data-background\")):(n&&(a.attr(\"srcset\",n),a.removeAttr(\"data-srcset\")),o&&(a.attr(\"sizes\",o),a.removeAttr(\"data-sizes\")),r&&(a.attr(\"src\",r),a.removeAttr(\"data-src\"))),a.addClass(T.params.lazyStatusLoadedClass).removeClass(T.params.lazyStatusLoadingClass),s.find(\".\"+T.params.lazyPreloaderClass+\", .\"+T.params.preloaderClass).remove(),T.params.loop&&t){var e=s.attr(\"data-swiper-slide-index\");if(s.hasClass(T.params.slideDuplicateClass)){var l=T.wrapper.children('[data-swiper-slide-index=\"'+e+'\"]:not(.'+T.params.slideDuplicateClass+\")\");T.lazy.loadImageInSlide(l.index(),!1)}else{var p=T.wrapper.children(\".\"+T.params.slideDuplicateClass+'[data-swiper-slide-index=\"'+e+'\"]');T.lazy.loadImageInSlide(p.index(),!1)}}T.emit(\"onLazyImageReady\",T,s[0],a[0])}}),T.emit(\"onLazyImageLoad\",T,s[0],a[0])})}},load:function(){var a,t=T.params.slidesPerView;if(\"auto\"===t&&(t=0),T.lazy.initialImageLoaded||(T.lazy.initialImageLoaded=!0),T.params.watchSlidesVisibility)T.wrapper.children(\".\"+T.params.slideVisibleClass).each(function(){T.lazy.loadImageInSlide(e(this).index())});else if(t>1)for(a=T.activeIndex;a<T.activeIndex+t;a++)T.slides[a]&&T.lazy.loadImageInSlide(a);else T.lazy.loadImageInSlide(T.activeIndex);if(T.params.lazyLoadingInPrevNext)if(t>1||T.params.lazyLoadingInPrevNextAmount&&T.params.lazyLoadingInPrevNextAmount>1){var s=T.params.lazyLoadingInPrevNextAmount,i=t,r=Math.min(T.activeIndex+i+Math.max(s,i),T.slides.length),n=Math.max(T.activeIndex-Math.max(i,s),0);for(a=T.activeIndex+t;a<r;a++)T.slides[a]&&T.lazy.loadImageInSlide(a);for(a=n;a<T.activeIndex;a++)T.slides[a]&&T.lazy.loadImageInSlide(a)}else{var o=T.wrapper.children(\".\"+T.params.slideNextClass);o.length>0&&T.lazy.loadImageInSlide(o.index());var l=T.wrapper.children(\".\"+T.params.slidePrevClass);l.length>0&&T.lazy.loadImageInSlide(l.index())}},onTransitionStart:function(){T.params.lazyLoading&&(T.params.lazyLoadingOnTransitionStart||!T.params.lazyLoadingOnTransitionStart&&!T.lazy.initialImageLoaded)&&T.lazy.load()},onTransitionEnd:function(){T.params.lazyLoading&&!T.params.lazyLoadingOnTransitionStart&&T.lazy.load()}},T.scrollbar={isTouched:!1,setDragPosition:function(e){var a=T.scrollbar,t=T.isHorizontal()?\"touchstart\"===e.type||\"touchmove\"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:\"touchstart\"===e.type||\"touchmove\"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY,s=t-a.track.offset()[T.isHorizontal()?\"left\":\"top\"]-a.dragSize/2,i=-T.minTranslate()*a.moveDivider,r=-T.maxTranslate()*a.moveDivider;s<i?s=i:s>r&&(s=r),s=-s/a.moveDivider,T.updateProgress(s),T.setWrapperTranslate(s,!0)},dragStart:function(e){var a=T.scrollbar;a.isTouched=!0,e.preventDefault(),e.stopPropagation(),a.setDragPosition(e),clearTimeout(a.dragTimeout),a.track.transition(0),T.params.scrollbarHide&&a.track.css(\"opacity\",1),T.wrapper.transition(100),a.drag.transition(100),T.emit(\"onScrollbarDragStart\",T)},dragMove:function(e){var a=T.scrollbar;a.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,a.setDragPosition(e),T.wrapper.transition(0),a.track.transition(0),a.drag.transition(0),T.emit(\"onScrollbarDragMove\",T))},dragEnd:function(e){var a=T.scrollbar;a.isTouched&&(a.isTouched=!1,T.params.scrollbarHide&&(clearTimeout(a.dragTimeout),a.dragTimeout=setTimeout(function(){a.track.css(\"opacity\",0),a.track.transition(400)},1e3)),T.emit(\"onScrollbarDragEnd\",T),T.params.scrollbarSnapOnRelease&&T.slideReset())},draggableEvents:function(){return T.params.simulateTouch!==!1||T.support.touch?T.touchEvents:T.touchEventsDesktop}(),enableDraggable:function(){var a=T.scrollbar,t=T.support.touch?a.track:document;e(a.track).on(a.draggableEvents.start,a.dragStart),e(t).on(a.draggableEvents.move,a.dragMove),e(t).on(a.draggableEvents.end,a.dragEnd)},disableDraggable:function(){var a=T.scrollbar,t=T.support.touch?a.track:document;e(a.track).off(a.draggableEvents.start,a.dragStart),e(t).off(a.draggableEvents.move,a.dragMove),e(t).off(a.draggableEvents.end,a.dragEnd)},set:function(){if(T.params.scrollbar){var a=T.scrollbar;a.track=e(T.params.scrollbar),T.params.uniqueNavElements&&\"string\"==typeof T.params.scrollbar&&a.track.length>1&&1===T.container.find(T.params.scrollbar).length&&(a.track=T.container.find(T.params.scrollbar)),a.drag=a.track.find(\".swiper-scrollbar-drag\"),0===a.drag.length&&(a.drag=e('<div class=\"swiper-scrollbar-drag\"></div>'),a.track.append(a.drag)),a.drag[0].style.width=\"\",a.drag[0].style.height=\"\",a.trackSize=T.isHorizontal()?a.track[0].offsetWidth:a.track[0].offsetHeight,a.divider=T.size/T.virtualSize,a.moveDivider=a.divider*(a.trackSize/T.size),a.dragSize=a.trackSize*a.divider,T.isHorizontal()?a.drag[0].style.width=a.dragSize+\"px\":a.drag[0].style.height=a.dragSize+\"px\",a.divider>=1?a.track[0].style.display=\"none\":a.track[0].style.display=\"\",T.params.scrollbarHide&&(a.track[0].style.opacity=0)}},setTranslate:function(){if(T.params.scrollbar){var e,a=T.scrollbar,t=(T.translate,a.dragSize);e=(a.trackSize-a.dragSize)*T.progress,T.rtl&&T.isHorizontal()?(e=-e,e>0?(t=a.dragSize-e,e=0):-e+a.dragSize>a.trackSize&&(t=a.trackSize+e)):e<0?(t=a.dragSize+e,e=0):e+a.dragSize>a.trackSize&&(t=a.trackSize-e),T.isHorizontal()?(T.support.transforms3d?a.drag.transform(\"translate3d(\"+e+\"px, 0, 0)\"):a.drag.transform(\"translateX(\"+e+\"px)\"),a.drag[0].style.width=t+\"px\"):(T.support.transforms3d?a.drag.transform(\"translate3d(0px, \"+e+\"px, 0)\"):a.drag.transform(\"translateY(\"+e+\"px)\"),a.drag[0].style.height=t+\"px\"),T.params.scrollbarHide&&(clearTimeout(a.timeout),a.track[0].style.opacity=1,a.timeout=setTimeout(function(){a.track[0].style.opacity=0,a.track.transition(400)},1e3))}},setTransition:function(e){T.params.scrollbar&&T.scrollbar.drag.transition(e)}},T.controller={LinearSpline:function(e,a){var t=function(){var e,a,t;return function(s,i){for(a=-1,e=s.length;e-a>1;)s[t=e+a>>1]<=i?a=t:e=t;return e}}();this.x=e,this.y=a,this.lastIndex=e.length-1;var s,i;this.x.length;this.interpolate=function(e){return e?(i=t(this.x,e),s=i-1,(e-this.x[s])*(this.y[i]-this.y[s])/(this.x[i]-this.x[s])+this.y[s]):0}},getInterpolateFunction:function(e){T.controller.spline||(T.controller.spline=T.params.loop?new T.controller.LinearSpline(T.slidesGrid,e.slidesGrid):new T.controller.LinearSpline(T.snapGrid,e.snapGrid))},setTranslate:function(e,t){function s(a){e=a.rtl&&\"horizontal\"===a.params.direction?-T.translate:T.translate,\"slide\"===T.params.controlBy&&(T.controller.getInterpolateFunction(a),r=-T.controller.spline.interpolate(-e)),r&&\"container\"!==T.params.controlBy||(i=(a.maxTranslate()-a.minTranslate())/(T.maxTranslate()-T.minTranslate()),r=(e-T.minTranslate())*i+a.minTranslate()),T.params.controlInverse&&(r=a.maxTranslate()-r),a.updateProgress(r),a.setWrapperTranslate(r,!1,T),a.updateActiveIndex()}var i,r,n=T.params.control;if(Array.isArray(n))for(var o=0;o<n.length;o++)n[o]!==t&&n[o]instanceof a&&s(n[o]);else n instanceof a&&t!==n&&s(n)},setTransition:function(e,t){function s(a){a.setWrapperTransition(e,T),0!==e&&(a.onTransitionStart(),a.wrapper.transitionEnd(function(){r&&(a.params.loop&&\"slide\"===T.params.controlBy&&a.fixLoop(),a.onTransitionEnd())}))}var i,r=T.params.control;if(Array.isArray(r))for(i=0;i<r.length;i++)r[i]!==t&&r[i]instanceof a&&s(r[i]);else r instanceof a&&t!==r&&s(r)}},T.hashnav={onHashCange:function(e,a){var t=document.location.hash.replace(\"#\",\"\");t!==T.slides.eq(T.activeIndex).attr(\"data-hash\")&&T.slideTo(T.wrapper.children(\".\"+T.params.slideClass+'[data-hash=\"'+t+'\"]').index())},attachEvents:function(a){var t=a?\"off\":\"on\";e(window)[t](\"hashchange\",T.hashnav.onHashCange)},setHash:function(){\nif(T.hashnav.initialized&&T.params.hashnav)if(T.params.replaceState&&window.history&&window.history.replaceState)window.history.replaceState(null,null,\"#\"+T.slides.eq(T.activeIndex).attr(\"data-hash\")||\"\");else{var e=T.slides.eq(T.activeIndex),a=e.attr(\"data-hash\")||e.attr(\"data-history\");document.location.hash=a||\"\"}},init:function(){if(T.params.hashnav&&!T.params.history){T.hashnav.initialized=!0;var e=document.location.hash.replace(\"#\",\"\");if(e)for(var a=0,t=T.slides.length;a<t;a++){var s=T.slides.eq(a),i=s.attr(\"data-hash\")||s.attr(\"data-history\");if(i===e&&!s.hasClass(T.params.slideDuplicateClass)){var r=s.index();T.slideTo(r,0,T.params.runCallbacksOnInit,!0)}}T.params.hashnavWatchState&&T.hashnav.attachEvents()}},destroy:function(){T.params.hashnavWatchState&&T.hashnav.attachEvents(!0)}},T.history={init:function(){if(T.params.history){if(!window.history||!window.history.pushState)return T.params.history=!1,void(T.params.hashnav=!0);T.history.initialized=!0,this.paths=this.getPathValues(),(this.paths.key||this.paths.value)&&(this.scrollToSlide(0,this.paths.value,T.params.runCallbacksOnInit),T.params.replaceState||window.addEventListener(\"popstate\",this.setHistoryPopState))}},setHistoryPopState:function(){T.history.paths=T.history.getPathValues(),T.history.scrollToSlide(T.params.speed,T.history.paths.value,!1)},getPathValues:function(){var e=window.location.pathname.slice(1).split(\"/\"),a=e.length;return{key:e[a-2],value:e[a-1]}},setHistory:function(e,a){if(T.history.initialized&&T.params.history){var t=T.slides.eq(a),s=this.slugify(t.attr(\"data-history\"));window.location.pathname.includes(e)||(s=e+\"/\"+s),T.params.replaceState?window.history.replaceState(null,null,s):window.history.pushState(null,null,s)}},slugify:function(e){return e.toString().toLowerCase().replace(/\\s+/g,\"-\").replace(/[^\\w\\-]+/g,\"\").replace(/\\-\\-+/g,\"-\").replace(/^-+/,\"\").replace(/-+$/,\"\")},scrollToSlide:function(e,a,t){if(a)for(var s=0,i=T.slides.length;s<i;s++){var r=T.slides.eq(s),n=this.slugify(r.attr(\"data-history\"));if(n===a&&!r.hasClass(T.params.slideDuplicateClass)){var o=r.index();T.slideTo(o,e,t)}}else T.slideTo(0,e,t)}},T.disableKeyboardControl=function(){T.params.keyboardControl=!1,e(document).off(\"keydown\",p)},T.enableKeyboardControl=function(){T.params.keyboardControl=!0,e(document).on(\"keydown\",p)},T.mousewheel={event:!1,lastScrollTime:(new window.Date).getTime()},T.params.mousewheelControl&&(T.mousewheel.event=navigator.userAgent.indexOf(\"firefox\")>-1?\"DOMMouseScroll\":function(){var e=\"onwheel\"in document;if(!e){var a=document.createElement(\"div\");a.setAttribute(\"onwheel\",\"return;\"),e=\"function\"==typeof a.onwheel}return!e&&document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature(\"\",\"\")!==!0&&(e=document.implementation.hasFeature(\"Events.wheel\",\"3.0\")),e}()?\"wheel\":\"mousewheel\"),T.disableMousewheelControl=function(){if(!T.mousewheel.event)return!1;var a=T.container;return\"container\"!==T.params.mousewheelEventsTarged&&(a=e(T.params.mousewheelEventsTarged)),a.off(T.mousewheel.event,u),T.params.mousewheelControl=!1,!0},T.enableMousewheelControl=function(){if(!T.mousewheel.event)return!1;var a=T.container;return\"container\"!==T.params.mousewheelEventsTarged&&(a=e(T.params.mousewheelEventsTarged)),a.on(T.mousewheel.event,u),T.params.mousewheelControl=!0,!0},T.parallax={setTranslate:function(){T.container.children(\"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]\").each(function(){c(this,T.progress)}),T.slides.each(function(){var a=e(this);a.find(\"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]\").each(function(){c(this,Math.min(Math.max(a[0].progress,-1),1))})})},setTransition:function(a){void 0===a&&(a=T.params.speed),T.container.find(\"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]\").each(function(){var t=e(this),s=parseInt(t.attr(\"data-swiper-parallax-duration\"),10)||a;0===a&&(s=0),t.transition(s)})}},T.zoom={scale:1,currentScale:1,isScaling:!1,gesture:{slide:void 0,slideWidth:void 0,slideHeight:void 0,image:void 0,imageWrap:void 0,zoomMax:T.params.zoomMax},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var a=e.targetTouches[0].pageX,t=e.targetTouches[0].pageY,s=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(s-a,2)+Math.pow(i-t,2))},onGestureStart:function(a){var t=T.zoom;if(!T.support.gestures){if(\"touchstart\"!==a.type||\"touchstart\"===a.type&&a.targetTouches.length<2)return;t.gesture.scaleStart=t.getDistanceBetweenTouches(a)}if(!(t.gesture.slide&&t.gesture.slide.length||(t.gesture.slide=e(this),0===t.gesture.slide.length&&(t.gesture.slide=T.slides.eq(T.activeIndex)),t.gesture.image=t.gesture.slide.find(\"img, svg, canvas\"),t.gesture.imageWrap=t.gesture.image.parent(\".\"+T.params.zoomContainerClass),t.gesture.zoomMax=t.gesture.imageWrap.attr(\"data-swiper-zoom\")||T.params.zoomMax,0!==t.gesture.imageWrap.length)))return void(t.gesture.image=void 0);t.gesture.image.transition(0),t.isScaling=!0},onGestureChange:function(e){var a=T.zoom;if(!T.support.gestures){if(\"touchmove\"!==e.type||\"touchmove\"===e.type&&e.targetTouches.length<2)return;a.gesture.scaleMove=a.getDistanceBetweenTouches(e)}a.gesture.image&&0!==a.gesture.image.length&&(T.support.gestures?a.scale=e.scale*a.currentScale:a.scale=a.gesture.scaleMove/a.gesture.scaleStart*a.currentScale,a.scale>a.gesture.zoomMax&&(a.scale=a.gesture.zoomMax-1+Math.pow(a.scale-a.gesture.zoomMax+1,.5)),a.scale<T.params.zoomMin&&(a.scale=T.params.zoomMin+1-Math.pow(T.params.zoomMin-a.scale+1,.5)),a.gesture.image.transform(\"translate3d(0,0,0) scale(\"+a.scale+\")\"))},onGestureEnd:function(e){var a=T.zoom;!T.support.gestures&&(\"touchend\"!==e.type||\"touchend\"===e.type&&e.changedTouches.length<2)||a.gesture.image&&0!==a.gesture.image.length&&(a.scale=Math.max(Math.min(a.scale,a.gesture.zoomMax),T.params.zoomMin),a.gesture.image.transition(T.params.speed).transform(\"translate3d(0,0,0) scale(\"+a.scale+\")\"),a.currentScale=a.scale,a.isScaling=!1,1===a.scale&&(a.gesture.slide=void 0))},onTouchStart:function(e,a){var t=e.zoom;t.gesture.image&&0!==t.gesture.image.length&&(t.image.isTouched||(\"android\"===e.device.os&&a.preventDefault(),t.image.isTouched=!0,t.image.touchesStart.x=\"touchstart\"===a.type?a.targetTouches[0].pageX:a.pageX,t.image.touchesStart.y=\"touchstart\"===a.type?a.targetTouches[0].pageY:a.pageY))},onTouchMove:function(e){var a=T.zoom;if(a.gesture.image&&0!==a.gesture.image.length&&(T.allowClick=!1,a.image.isTouched&&a.gesture.slide)){a.image.isMoved||(a.image.width=a.gesture.image[0].offsetWidth,a.image.height=a.gesture.image[0].offsetHeight,a.image.startX=T.getTranslate(a.gesture.imageWrap[0],\"x\")||0,a.image.startY=T.getTranslate(a.gesture.imageWrap[0],\"y\")||0,a.gesture.slideWidth=a.gesture.slide[0].offsetWidth,a.gesture.slideHeight=a.gesture.slide[0].offsetHeight,a.gesture.imageWrap.transition(0),T.rtl&&(a.image.startX=-a.image.startX),T.rtl&&(a.image.startY=-a.image.startY));var t=a.image.width*a.scale,s=a.image.height*a.scale;if(!(t<a.gesture.slideWidth&&s<a.gesture.slideHeight)){if(a.image.minX=Math.min(a.gesture.slideWidth/2-t/2,0),a.image.maxX=-a.image.minX,a.image.minY=Math.min(a.gesture.slideHeight/2-s/2,0),a.image.maxY=-a.image.minY,a.image.touchesCurrent.x=\"touchmove\"===e.type?e.targetTouches[0].pageX:e.pageX,a.image.touchesCurrent.y=\"touchmove\"===e.type?e.targetTouches[0].pageY:e.pageY,!a.image.isMoved&&!a.isScaling){if(T.isHorizontal()&&Math.floor(a.image.minX)===Math.floor(a.image.startX)&&a.image.touchesCurrent.x<a.image.touchesStart.x||Math.floor(a.image.maxX)===Math.floor(a.image.startX)&&a.image.touchesCurrent.x>a.image.touchesStart.x)return void(a.image.isTouched=!1);if(!T.isHorizontal()&&Math.floor(a.image.minY)===Math.floor(a.image.startY)&&a.image.touchesCurrent.y<a.image.touchesStart.y||Math.floor(a.image.maxY)===Math.floor(a.image.startY)&&a.image.touchesCurrent.y>a.image.touchesStart.y)return void(a.image.isTouched=!1)}e.preventDefault(),e.stopPropagation(),a.image.isMoved=!0,a.image.currentX=a.image.touchesCurrent.x-a.image.touchesStart.x+a.image.startX,a.image.currentY=a.image.touchesCurrent.y-a.image.touchesStart.y+a.image.startY,a.image.currentX<a.image.minX&&(a.image.currentX=a.image.minX+1-Math.pow(a.image.minX-a.image.currentX+1,.8)),a.image.currentX>a.image.maxX&&(a.image.currentX=a.image.maxX-1+Math.pow(a.image.currentX-a.image.maxX+1,.8)),a.image.currentY<a.image.minY&&(a.image.currentY=a.image.minY+1-Math.pow(a.image.minY-a.image.currentY+1,.8)),a.image.currentY>a.image.maxY&&(a.image.currentY=a.image.maxY-1+Math.pow(a.image.currentY-a.image.maxY+1,.8)),a.velocity.prevPositionX||(a.velocity.prevPositionX=a.image.touchesCurrent.x),a.velocity.prevPositionY||(a.velocity.prevPositionY=a.image.touchesCurrent.y),a.velocity.prevTime||(a.velocity.prevTime=Date.now()),a.velocity.x=(a.image.touchesCurrent.x-a.velocity.prevPositionX)/(Date.now()-a.velocity.prevTime)/2,a.velocity.y=(a.image.touchesCurrent.y-a.velocity.prevPositionY)/(Date.now()-a.velocity.prevTime)/2,Math.abs(a.image.touchesCurrent.x-a.velocity.prevPositionX)<2&&(a.velocity.x=0),Math.abs(a.image.touchesCurrent.y-a.velocity.prevPositionY)<2&&(a.velocity.y=0),a.velocity.prevPositionX=a.image.touchesCurrent.x,a.velocity.prevPositionY=a.image.touchesCurrent.y,a.velocity.prevTime=Date.now(),a.gesture.imageWrap.transform(\"translate3d(\"+a.image.currentX+\"px, \"+a.image.currentY+\"px,0)\")}}},onTouchEnd:function(e,a){var t=e.zoom;if(t.gesture.image&&0!==t.gesture.image.length){if(!t.image.isTouched||!t.image.isMoved)return t.image.isTouched=!1,void(t.image.isMoved=!1);t.image.isTouched=!1,t.image.isMoved=!1;var s=300,i=300,r=t.velocity.x*s,n=t.image.currentX+r,o=t.velocity.y*i,l=t.image.currentY+o;0!==t.velocity.x&&(s=Math.abs((n-t.image.currentX)/t.velocity.x)),0!==t.velocity.y&&(i=Math.abs((l-t.image.currentY)/t.velocity.y));var p=Math.max(s,i);t.image.currentX=n,t.image.currentY=l;var d=t.image.width*t.scale,u=t.image.height*t.scale;t.image.minX=Math.min(t.gesture.slideWidth/2-d/2,0),t.image.maxX=-t.image.minX,t.image.minY=Math.min(t.gesture.slideHeight/2-u/2,0),t.image.maxY=-t.image.minY,t.image.currentX=Math.max(Math.min(t.image.currentX,t.image.maxX),t.image.minX),t.image.currentY=Math.max(Math.min(t.image.currentY,t.image.maxY),t.image.minY),t.gesture.imageWrap.transition(p).transform(\"translate3d(\"+t.image.currentX+\"px, \"+t.image.currentY+\"px,0)\")}},onTransitionEnd:function(e){var a=e.zoom;a.gesture.slide&&e.previousIndex!==e.activeIndex&&(a.gesture.image.transform(\"translate3d(0,0,0) scale(1)\"),a.gesture.imageWrap.transform(\"translate3d(0,0,0)\"),a.gesture.slide=a.gesture.image=a.gesture.imageWrap=void 0,a.scale=a.currentScale=1)},toggleZoom:function(a,t){var s=a.zoom;if(s.gesture.slide||(s.gesture.slide=a.clickedSlide?e(a.clickedSlide):a.slides.eq(a.activeIndex),s.gesture.image=s.gesture.slide.find(\"img, svg, canvas\"),s.gesture.imageWrap=s.gesture.image.parent(\".\"+a.params.zoomContainerClass)),s.gesture.image&&0!==s.gesture.image.length){var i,r,n,o,l,p,d,u,c,m,h,g,f,v,w,y,x,T;void 0===s.image.touchesStart.x&&t?(i=\"touchend\"===t.type?t.changedTouches[0].pageX:t.pageX,r=\"touchend\"===t.type?t.changedTouches[0].pageY:t.pageY):(i=s.image.touchesStart.x,r=s.image.touchesStart.y),s.scale&&1!==s.scale?(s.scale=s.currentScale=1,s.gesture.imageWrap.transition(300).transform(\"translate3d(0,0,0)\"),s.gesture.image.transition(300).transform(\"translate3d(0,0,0) scale(1)\"),s.gesture.slide=void 0):(s.scale=s.currentScale=s.gesture.imageWrap.attr(\"data-swiper-zoom\")||a.params.zoomMax,t?(x=s.gesture.slide[0].offsetWidth,T=s.gesture.slide[0].offsetHeight,n=s.gesture.slide.offset().left,o=s.gesture.slide.offset().top,l=n+x/2-i,p=o+T/2-r,c=s.gesture.image[0].offsetWidth,m=s.gesture.image[0].offsetHeight,h=c*s.scale,g=m*s.scale,f=Math.min(x/2-h/2,0),v=Math.min(T/2-g/2,0),w=-f,y=-v,d=l*s.scale,u=p*s.scale,d<f&&(d=f),d>w&&(d=w),u<v&&(u=v),u>y&&(u=y)):(d=0,u=0),s.gesture.imageWrap.transition(300).transform(\"translate3d(\"+d+\"px, \"+u+\"px,0)\"),s.gesture.image.transition(300).transform(\"translate3d(0,0,0) scale(\"+s.scale+\")\"))}},attachEvents:function(a){var t=a?\"off\":\"on\";if(T.params.zoom){var s=(T.slides,!(\"touchstart\"!==T.touchEvents.start||!T.support.passiveListener||!T.params.passiveListeners)&&{passive:!0,capture:!1});T.support.gestures?(T.slides[t](\"gesturestart\",T.zoom.onGestureStart,s),T.slides[t](\"gesturechange\",T.zoom.onGestureChange,s),T.slides[t](\"gestureend\",T.zoom.onGestureEnd,s)):\"touchstart\"===T.touchEvents.start&&(T.slides[t](T.touchEvents.start,T.zoom.onGestureStart,s),T.slides[t](T.touchEvents.move,T.zoom.onGestureChange,s),T.slides[t](T.touchEvents.end,T.zoom.onGestureEnd,s)),T[t](\"touchStart\",T.zoom.onTouchStart),T.slides.each(function(a,s){e(s).find(\".\"+T.params.zoomContainerClass).length>0&&e(s)[t](T.touchEvents.move,T.zoom.onTouchMove)}),T[t](\"touchEnd\",T.zoom.onTouchEnd),T[t](\"transitionEnd\",T.zoom.onTransitionEnd),T.params.zoomToggle&&T.on(\"doubleTap\",T.zoom.toggleZoom)}},init:function(){T.zoom.attachEvents()},destroy:function(){T.zoom.attachEvents(!0)}},T._plugins=[];for(var Y in T.plugins){var O=T.plugins[Y](T,T.params[Y]);O&&T._plugins.push(O)}return T.callPlugins=function(e){for(var a=0;a<T._plugins.length;a++)e in T._plugins[a]&&T._plugins[a][e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},T.emitterEventListeners={},T.emit=function(e){T.params[e]&&T.params[e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);var a;if(T.emitterEventListeners[e])for(a=0;a<T.emitterEventListeners[e].length;a++)T.emitterEventListeners[e][a](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);T.callPlugins&&T.callPlugins(e,arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},T.on=function(e,a){return e=m(e),T.emitterEventListeners[e]||(T.emitterEventListeners[e]=[]),T.emitterEventListeners[e].push(a),T},T.off=function(e,a){var t;if(e=m(e),void 0===a)return T.emitterEventListeners[e]=[],T;if(T.emitterEventListeners[e]&&0!==T.emitterEventListeners[e].length){for(t=0;t<T.emitterEventListeners[e].length;t++)T.emitterEventListeners[e][t]===a&&T.emitterEventListeners[e].splice(t,1);return T}},T.once=function(e,a){e=m(e);var t=function(){a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]),T.off(e,t)};return T.on(e,t),T},T.a11y={makeFocusable:function(e){return e.attr(\"tabIndex\",\"0\"),e},addRole:function(e,a){return e.attr(\"role\",a),e},addLabel:function(e,a){return e.attr(\"aria-label\",a),e},disable:function(e){return e.attr(\"aria-disabled\",!0),e},enable:function(e){return e.attr(\"aria-disabled\",!1),e},onEnterKey:function(a){13===a.keyCode&&(e(a.target).is(T.params.nextButton)?(T.onClickNext(a),T.isEnd?T.a11y.notify(T.params.lastSlideMessage):T.a11y.notify(T.params.nextSlideMessage)):e(a.target).is(T.params.prevButton)&&(T.onClickPrev(a),T.isBeginning?T.a11y.notify(T.params.firstSlideMessage):T.a11y.notify(T.params.prevSlideMessage)),e(a.target).is(\".\"+T.params.bulletClass)&&e(a.target)[0].click())},liveRegion:e('<span class=\"'+T.params.notificationClass+'\" aria-live=\"assertive\" aria-atomic=\"true\"></span>'),notify:function(e){var a=T.a11y.liveRegion;0!==a.length&&(a.html(\"\"),a.html(e))},init:function(){T.params.nextButton&&T.nextButton&&T.nextButton.length>0&&(T.a11y.makeFocusable(T.nextButton),T.a11y.addRole(T.nextButton,\"button\"),T.a11y.addLabel(T.nextButton,T.params.nextSlideMessage)),T.params.prevButton&&T.prevButton&&T.prevButton.length>0&&(T.a11y.makeFocusable(T.prevButton),T.a11y.addRole(T.prevButton,\"button\"),T.a11y.addLabel(T.prevButton,T.params.prevSlideMessage)),e(T.container).append(T.a11y.liveRegion)},initPagination:function(){T.params.pagination&&T.params.paginationClickable&&T.bullets&&T.bullets.length&&T.bullets.each(function(){var a=e(this);T.a11y.makeFocusable(a),T.a11y.addRole(a,\"button\"),T.a11y.addLabel(a,T.params.paginationBulletMessage.replace(/{{index}}/,a.index()+1))})},destroy:function(){T.a11y.liveRegion&&T.a11y.liveRegion.length>0&&T.a11y.liveRegion.remove()}},T.init=function(){T.params.loop&&T.createLoop(),T.updateContainerSize(),T.updateSlidesSize(),T.updatePagination(),T.params.scrollbar&&T.scrollbar&&(T.scrollbar.set(),T.params.scrollbarDraggable&&T.scrollbar.enableDraggable()),\"slide\"!==T.params.effect&&T.effects[T.params.effect]&&(T.params.loop||T.updateProgress(),T.effects[T.params.effect].setTranslate()),T.params.loop?T.slideTo(T.params.initialSlide+T.loopedSlides,0,T.params.runCallbacksOnInit):(T.slideTo(T.params.initialSlide,0,T.params.runCallbacksOnInit),0===T.params.initialSlide&&(T.parallax&&T.params.parallax&&T.parallax.setTranslate(),T.lazy&&T.params.lazyLoading&&(T.lazy.load(),T.lazy.initialImageLoaded=!0))),T.attachEvents(),T.params.observer&&T.support.observer&&T.initObservers(),T.params.preloadImages&&!T.params.lazyLoading&&T.preloadImages(),T.params.zoom&&T.zoom&&T.zoom.init(),T.params.autoplay&&T.startAutoplay(),T.params.keyboardControl&&T.enableKeyboardControl&&T.enableKeyboardControl(),T.params.mousewheelControl&&T.enableMousewheelControl&&T.enableMousewheelControl(),T.params.hashnavReplaceState&&(T.params.replaceState=T.params.hashnavReplaceState),T.params.history&&T.history&&T.history.init(),T.params.hashnav&&T.hashnav&&T.hashnav.init(),T.params.a11y&&T.a11y&&T.a11y.init(),T.emit(\"onInit\",T)},T.cleanupStyles=function(){T.container.removeClass(T.classNames.join(\" \")).removeAttr(\"style\"),T.wrapper.removeAttr(\"style\"),T.slides&&T.slides.length&&T.slides.removeClass([T.params.slideVisibleClass,T.params.slideActiveClass,T.params.slideNextClass,T.params.slidePrevClass].join(\" \")).removeAttr(\"style\").removeAttr(\"data-swiper-column\").removeAttr(\"data-swiper-row\"),T.paginationContainer&&T.paginationContainer.length&&T.paginationContainer.removeClass(T.params.paginationHiddenClass),T.bullets&&T.bullets.length&&T.bullets.removeClass(T.params.bulletActiveClass),T.params.prevButton&&e(T.params.prevButton).removeClass(T.params.buttonDisabledClass),T.params.nextButton&&e(T.params.nextButton).removeClass(T.params.buttonDisabledClass),T.params.scrollbar&&T.scrollbar&&(T.scrollbar.track&&T.scrollbar.track.length&&T.scrollbar.track.removeAttr(\"style\"),T.scrollbar.drag&&T.scrollbar.drag.length&&T.scrollbar.drag.removeAttr(\"style\"))},T.destroy=function(e,a){T.detachEvents(),T.stopAutoplay(),T.params.scrollbar&&T.scrollbar&&T.params.scrollbarDraggable&&T.scrollbar.disableDraggable(),T.params.loop&&T.destroyLoop(),a&&T.cleanupStyles(),T.disconnectObservers(),T.params.zoom&&T.zoom&&T.zoom.destroy(),T.params.keyboardControl&&T.disableKeyboardControl&&T.disableKeyboardControl(),T.params.mousewheelControl&&T.disableMousewheelControl&&T.disableMousewheelControl(),T.params.a11y&&T.a11y&&T.a11y.destroy(),T.params.history&&!T.params.replaceState&&window.removeEventListener(\"popstate\",T.history.setHistoryPopState),T.params.hashnav&&T.hashnav&&T.hashnav.destroy(),T.emit(\"onDestroy\"),e!==!1&&(T=null)},T.init(),T}};a.prototype={isSafari:function(){var e=window.navigator.userAgent.toLowerCase();return e.indexOf(\"safari\")>=0&&e.indexOf(\"chrome\")<0&&e.indexOf(\"android\")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(window.navigator.userAgent),isArray:function(e){return\"[object Array]\"===Object.prototype.toString.apply(e)},browser:{ie:window.navigator.pointerEnabled||window.navigator.msPointerEnabled,ieTouch:window.navigator.msPointerEnabled&&window.navigator.msMaxTouchPoints>1||window.navigator.pointerEnabled&&window.navigator.maxTouchPoints>1,lteIE9:function(){var e=document.createElement(\"div\");return e.innerHTML=\"<!--[if lte IE 9]><i></i><![endif]-->\",1===e.getElementsByTagName(\"i\").length}()},device:function(){var e=window.navigator.userAgent,a=e.match(/(Android);?[\\s\\/]+([\\d.]+)?/),t=e.match(/(iPad).*OS\\s([\\d_]+)/),s=e.match(/(iPod)(.*OS\\s([\\d_]+))?/),i=!t&&e.match(/(iPhone\\sOS|iOS)\\s([\\d_]+)/);return{ios:t||i||s,android:a}}(),support:{touch:window.Modernizr&&Modernizr.touch===!0||function(){return!!(\"ontouchstart\"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&Modernizr.csstransforms3d===!0||function(){var e=document.createElement(\"div\").style;return\"webkitPerspective\"in e||\"MozPerspective\"in e||\"OPerspective\"in e||\"MsPerspective\"in e||\"perspective\"in e}(),flexbox:function(){for(var e=document.createElement(\"div\").style,a=\"alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient\".split(\" \"),t=0;t<a.length;t++)if(a[t]in e)return!0}(),observer:function(){return\"MutationObserver\"in window||\"WebkitMutationObserver\"in window}(),passiveListener:function(){var e=!1;try{var a=Object.defineProperty({},\"passive\",{get:function(){e=!0}});window.addEventListener(\"testPassiveListener\",null,a)}catch(e){}return e}(),gestures:function(){return\"ongesturestart\"in window}()},plugins:{}};for(var t=(function(){var e=function(e){var a=this,t=0;for(t=0;t<e.length;t++)a[t]=e[t];return a.length=e.length,this},a=function(a,t){var s=[],i=0;if(a&&!t&&a instanceof e)return a;if(a)if(\"string\"==typeof a){var r,n,o=a.trim();if(o.indexOf(\"<\")>=0&&o.indexOf(\">\")>=0){var l=\"div\";for(0===o.indexOf(\"<li\")&&(l=\"ul\"),0===o.indexOf(\"<tr\")&&(l=\"tbody\"),0!==o.indexOf(\"<td\")&&0!==o.indexOf(\"<th\")||(l=\"tr\"),0===o.indexOf(\"<tbody\")&&(l=\"table\"),0===o.indexOf(\"<option\")&&(l=\"select\"),n=document.createElement(l),n.innerHTML=a,i=0;i<n.childNodes.length;i++)s.push(n.childNodes[i])}else for(r=t||\"#\"!==a[0]||a.match(/[ .<>:~]/)?(t||document).querySelectorAll(a):[document.getElementById(a.split(\"#\")[1])],i=0;i<r.length;i++)r[i]&&s.push(r[i])}else if(a.nodeType||a===window||a===document)s.push(a);else if(a.length>0&&a[0].nodeType)for(i=0;i<a.length;i++)s.push(a[i]);return new e(s)};return e.prototype={addClass:function(e){if(void 0===e)return this;for(var a=e.split(\" \"),t=0;t<a.length;t++)for(var s=0;s<this.length;s++)this[s].classList.add(a[t]);return this},removeClass:function(e){for(var a=e.split(\" \"),t=0;t<a.length;t++)for(var s=0;s<this.length;s++)this[s].classList.remove(a[t]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var a=e.split(\" \"),t=0;t<a.length;t++)for(var s=0;s<this.length;s++)this[s].classList.toggle(a[t]);return this},attr:function(e,a){if(1===arguments.length&&\"string\"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var t=0;t<this.length;t++)if(2===arguments.length)this[t].setAttribute(e,a);else for(var s in e)this[t][s]=e[s],this[t].setAttribute(s,e[s]);return this},removeAttr:function(e){for(var a=0;a<this.length;a++)this[a].removeAttribute(e);return this},data:function(e,a){if(void 0!==a){for(var t=0;t<this.length;t++){var s=this[t];s.dom7ElementDataStorage||(s.dom7ElementDataStorage={}),s.dom7ElementDataStorage[e]=a}return this}if(this[0]){var i=this[0].getAttribute(\"data-\"+e);return i?i:this[0].dom7ElementDataStorage&&e in this[0].dom7ElementDataStorage?this[0].dom7ElementDataStorage[e]:void 0}},transform:function(e){for(var a=0;a<this.length;a++){var t=this[a].style;t.webkitTransform=t.MsTransform=t.msTransform=t.MozTransform=t.OTransform=t.transform=e}return this},transition:function(e){\"string\"!=typeof e&&(e+=\"ms\");for(var a=0;a<this.length;a++){var t=this[a].style;t.webkitTransitionDuration=t.MsTransitionDuration=t.msTransitionDuration=t.MozTransitionDuration=t.OTransitionDuration=t.transitionDuration=e}return this},on:function(e,t,s,i){function r(e){var i=e.target;if(a(i).is(t))s.call(i,e);else for(var r=a(i).parents(),n=0;n<r.length;n++)a(r[n]).is(t)&&s.call(r[n],e)}var n,o,l=e.split(\" \");for(n=0;n<this.length;n++)if(\"function\"==typeof t||t===!1)for(\"function\"==typeof t&&(s=arguments[1],i=arguments[2]||!1),o=0;o<l.length;o++)this[n].addEventListener(l[o],s,i);else for(o=0;o<l.length;o++)this[n].dom7LiveListeners||(this[n].dom7LiveListeners=[]),this[n].dom7LiveListeners.push({listener:s,liveListener:r}),this[n].addEventListener(l[o],r,i);return this},off:function(e,a,t,s){for(var i=e.split(\" \"),r=0;r<i.length;r++)for(var n=0;n<this.length;n++)if(\"function\"==typeof a||a===!1)\"function\"==typeof a&&(t=arguments[1],s=arguments[2]||!1),this[n].removeEventListener(i[r],t,s);else if(this[n].dom7LiveListeners)for(var o=0;o<this[n].dom7LiveListeners.length;o++)this[n].dom7LiveListeners[o].listener===t&&this[n].removeEventListener(i[r],this[n].dom7LiveListeners[o].liveListener,s);return this},once:function(e,a,t,s){function i(n){t(n),r.off(e,a,i,s)}var r=this;\"function\"==typeof a&&(a=!1,t=arguments[1],s=arguments[2]),r.on(e,a,i,s)},trigger:function(e,a){for(var t=0;t<this.length;t++){var s;try{s=new window.CustomEvent(e,{detail:a,bubbles:!0,cancelable:!0})}catch(t){s=document.createEvent(\"Event\"),s.initEvent(e,!0,!0),s.detail=a}this[t].dispatchEvent(s)}return this},transitionEnd:function(e){function a(r){if(r.target===this)for(e.call(this,r),t=0;t<s.length;t++)i.off(s[t],a)}var t,s=[\"webkitTransitionEnd\",\"transitionend\",\"oTransitionEnd\",\"MSTransitionEnd\",\"msTransitionEnd\"],i=this;if(e)for(t=0;t<s.length;t++)i.on(s[t],a);return this},width:function(){return this[0]===window?window.innerWidth:this.length>0?parseFloat(this.css(\"width\")):null},outerWidth:function(e){return this.length>0?e?this[0].offsetWidth+parseFloat(this.css(\"margin-right\"))+parseFloat(this.css(\"margin-left\")):this[0].offsetWidth:null},height:function(){return this[0]===window?window.innerHeight:this.length>0?parseFloat(this.css(\"height\")):null},outerHeight:function(e){return this.length>0?e?this[0].offsetHeight+parseFloat(this.css(\"margin-top\"))+parseFloat(this.css(\"margin-bottom\")):this[0].offsetHeight:null},offset:function(){if(this.length>0){var e=this[0],a=e.getBoundingClientRect(),t=document.body,s=e.clientTop||t.clientTop||0,i=e.clientLeft||t.clientLeft||0,r=window.pageYOffset||e.scrollTop,n=window.pageXOffset||e.scrollLeft;return{top:a.top+r-s,left:a.left+n-i}}return null},css:function(e,a){var t;if(1===arguments.length){if(\"string\"!=typeof e){for(t=0;t<this.length;t++)for(var s in e)this[t].style[s]=e[s];return this}if(this[0])return window.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&\"string\"==typeof e){for(t=0;t<this.length;t++)this[t].style[e]=a;return this}return this},each:function(e){for(var a=0;a<this.length;a++)e.call(this[a],a,this[a]);return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var a=0;a<this.length;a++)this[a].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var a=0;a<this.length;a++)this[a].textContent=e;return this},is:function(t){if(!this[0])return!1;var s,i;if(\"string\"==typeof t){var r=this[0];if(r===document)return t===document;if(r===window)return t===window;if(r.matches)return r.matches(t);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(t);if(r.mozMatchesSelector)return r.mozMatchesSelector(t);if(r.msMatchesSelector)return r.msMatchesSelector(t);for(s=a(t),i=0;i<s.length;i++)if(s[i]===this[0])return!0;return!1}if(t===document)return this[0]===document;if(t===window)return this[0]===window;if(t.nodeType||t instanceof e){for(s=t.nodeType?[t]:t,i=0;i<s.length;i++)if(s[i]===this[0])return!0;return!1}return!1},index:function(){if(this[0]){for(var e=this[0],a=0;null!==(e=e.previousSibling);)1===e.nodeType&&a++;return a}},eq:function(a){if(void 0===a)return this;var t,s=this.length;return a>s-1?new e([]):a<0?(t=s+a,new e(t<0?[]:[this[t]])):new e([this[a]])},append:function(a){var t,s;for(t=0;t<this.length;t++)if(\"string\"==typeof a){var i=document.createElement(\"div\");for(i.innerHTML=a;i.firstChild;)this[t].appendChild(i.firstChild)}else if(a instanceof e)for(s=0;s<a.length;s++)this[t].appendChild(a[s]);else this[t].appendChild(a);return this},prepend:function(a){var t,s;for(t=0;t<this.length;t++)if(\"string\"==typeof a){var i=document.createElement(\"div\");for(i.innerHTML=a,s=i.childNodes.length-1;s>=0;s--)this[t].insertBefore(i.childNodes[s],this[t].childNodes[0])}else if(a instanceof e)for(s=0;s<a.length;s++)this[t].insertBefore(a[s],this[t].childNodes[0]);else this[t].insertBefore(a,this[t].childNodes[0]);return this},insertBefore:function(e){for(var t=a(e),s=0;s<this.length;s++)if(1===t.length)t[0].parentNode.insertBefore(this[s],t[0]);else if(t.length>1)for(var i=0;i<t.length;i++)t[i].parentNode.insertBefore(this[s].cloneNode(!0),t[i])},insertAfter:function(e){for(var t=a(e),s=0;s<this.length;s++)if(1===t.length)t[0].parentNode.insertBefore(this[s],t[0].nextSibling);else if(t.length>1)for(var i=0;i<t.length;i++)t[i].parentNode.insertBefore(this[s].cloneNode(!0),t[i].nextSibling)},next:function(t){return new e(this.length>0?t?this[0].nextElementSibling&&a(this[0].nextElementSibling).is(t)?[this[0].nextElementSibling]:[]:this[0].nextElementSibling?[this[0].nextElementSibling]:[]:[])},nextAll:function(t){var s=[],i=this[0];if(!i)return new e([]);for(;i.nextElementSibling;){var r=i.nextElementSibling;t?a(r).is(t)&&s.push(r):s.push(r),i=r}return new e(s)},prev:function(t){return new e(this.length>0?t?this[0].previousElementSibling&&a(this[0].previousElementSibling).is(t)?[this[0].previousElementSibling]:[]:this[0].previousElementSibling?[this[0].previousElementSibling]:[]:[])},prevAll:function(t){var s=[],i=this[0];if(!i)return new e([]);for(;i.previousElementSibling;){var r=i.previousElementSibling;t?a(r).is(t)&&s.push(r):s.push(r),i=r}return new e(s)},parent:function(e){for(var t=[],s=0;s<this.length;s++)e?a(this[s].parentNode).is(e)&&t.push(this[s].parentNode):t.push(this[s].parentNode);return a(a.unique(t))},parents:function(e){for(var t=[],s=0;s<this.length;s++)for(var i=this[s].parentNode;i;)e?a(i).is(e)&&t.push(i):t.push(i),i=i.parentNode;return a(a.unique(t))},find:function(a){for(var t=[],s=0;s<this.length;s++)for(var i=this[s].querySelectorAll(a),r=0;r<i.length;r++)t.push(i[r]);return new e(t)},children:function(t){for(var s=[],i=0;i<this.length;i++)for(var r=this[i].childNodes,n=0;n<r.length;n++)t?1===r[n].nodeType&&a(r[n]).is(t)&&s.push(r[n]):1===r[n].nodeType&&s.push(r[n]);return new e(a.unique(s))},remove:function(){for(var e=0;e<this.length;e++)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){var e,t,s=this;for(e=0;e<arguments.length;e++){var i=a(arguments[e]);for(t=0;t<i.length;t++)s[s.length]=i[t],s.length++}return s}},a.fn=e.prototype,a.unique=function(e){for(var a=[],t=0;t<e.length;t++)a.indexOf(e[t])===-1&&a.push(e[t]);return a},a}()),s=[\"jQuery\",\"Zepto\",\"Dom7\"],i=0;i<s.length;i++)window[s[i]]&&function(e){e.fn.swiper=function(t){var s;return e(this).each(function(){var e=new a(this,t);s||(s=e)}),s}}(window[s[i]]);var r;r=void 0===t?window.Dom7||window.Zepto||window.jQuery:t,r&&(\"transitionEnd\"in r.fn||(r.fn.transitionEnd=function(e){function a(r){if(r.target===this)for(e.call(this,r),t=0;t<s.length;t++)i.off(s[t],a)}var t,s=[\"webkitTransitionEnd\",\"transitionend\",\"oTransitionEnd\",\"MSTransitionEnd\",\"msTransitionEnd\"],i=this;if(e)for(t=0;t<s.length;t++)i.on(s[t],a);return this}),\"transform\"in r.fn||(r.fn.transform=function(e){for(var a=0;a<this.length;a++){var t=this[a].style;t.webkitTransform=t.MsTransform=t.msTransform=t.MozTransform=t.OTransform=t.transform=e}return this}),\"transition\"in r.fn||(r.fn.transition=function(e){\"string\"!=typeof e&&(e+=\"ms\");for(var a=0;a<this.length;a++){var t=this[a].style;t.webkitTransitionDuration=t.MsTransitionDuration=t.msTransitionDuration=t.MozTransitionDuration=t.OTransitionDuration=t.transitionDuration=e}return this}),\"outerWidth\"in r.fn||(r.fn.outerWidth=function(e){\nreturn this.length>0?e?this[0].offsetWidth+parseFloat(this.css(\"margin-right\"))+parseFloat(this.css(\"margin-left\")):this[0].offsetWidth:null})),window.Swiper=a}(),\"undefined\"!=typeof module?module.exports=window.Swiper:\"function\"==typeof define&&define.amd&&define([],function(){\"use strict\";return window.Swiper});\n//# sourceMappingURL=maps/swiper.min.js.map\n }","//     uuid.js\n//\n//     Copyright (c) 2010-2012 Robert Kieffer\n//     MIT License - http://opensource.org/licenses/mit-license.php\n\n(function() {\n  var _global = this;\n\n  // Unique ID creation requires a high quality random # generator.  We feature\n  // detect to determine the best RNG source, normalizing to a function that\n  // returns 128-bits of randomness, since that's what's usually required\n  var _rng;\n\n  // Node.js crypto-based RNG - http://nodejs.org/docs/v0.6.2/api/crypto.html\n  //\n  // Moderately fast, high quality\n  if (typeof(require) == 'function') {\n    try {\n      var _rb = require('crypto').randomBytes;\n      _rng = _rb && function() {return _rb(16);};\n    } catch(e) {}\n  }\n\n  if (!_rng && _global.crypto && crypto.getRandomValues) {\n    // WHATWG crypto-based RNG - http://wiki.whatwg.org/wiki/Crypto\n    //\n    // Moderately fast, high quality\n    var _rnds8 = new Uint8Array(16);\n    _rng = function whatwgRNG() {\n      crypto.getRandomValues(_rnds8);\n      return _rnds8;\n    };\n  }\n\n  if (!_rng) {\n    // Math.random()-based (RNG)\n    //\n    // If all else fails, use Math.random().  It's fast, but is of unspecified\n    // quality.\n    var  _rnds = new Array(16);\n    _rng = function() {\n      for (var i = 0, r; i < 16; i++) {\n        if ((i & 0x03) === 0) r = Math.random() * 0x100000000;\n        _rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;\n      }\n\n      return _rnds;\n    };\n  }\n\n  // Buffer class to use\n  var BufferClass = typeof(Buffer) == 'function' ? Buffer : Array;\n\n  // Maps for number <-> hex string conversion\n  var _byteToHex = [];\n  var _hexToByte = {};\n  for (var i = 0; i < 256; i++) {\n    _byteToHex[i] = (i + 0x100).toString(16).substr(1);\n    _hexToByte[_byteToHex[i]] = i;\n  }\n\n  // **`parse()` - Parse a UUID into it's component bytes**\n  function parse(s, buf, offset) {\n    var i = (buf && offset) || 0, ii = 0;\n\n    buf = buf || [];\n    s.toLowerCase().replace(/[0-9a-f]{2}/g, function(oct) {\n      if (ii < 16) { // Don't overflow!\n        buf[i + ii++] = _hexToByte[oct];\n      }\n    });\n\n    // Zero out remaining bytes if string was short\n    while (ii < 16) {\n      buf[i + ii++] = 0;\n    }\n\n    return buf;\n  }\n\n  // **`unparse()` - Convert UUID byte array (ala parse()) into a string**\n  function unparse(buf, offset) {\n    var i = offset || 0, bth = _byteToHex;\n    return  bth[buf[i++]] + bth[buf[i++]] +\n            bth[buf[i++]] + bth[buf[i++]] + '-' +\n            bth[buf[i++]] + bth[buf[i++]] + '-' +\n            bth[buf[i++]] + bth[buf[i++]] + '-' +\n            bth[buf[i++]] + bth[buf[i++]] + '-' +\n            bth[buf[i++]] + bth[buf[i++]] +\n            bth[buf[i++]] + bth[buf[i++]] +\n            bth[buf[i++]] + bth[buf[i++]];\n  }\n\n  // **`v1()` - Generate time-based UUID**\n  //\n  // Inspired by https://github.com/LiosK/UUID.js\n  // and http://docs.python.org/library/uuid.html\n\n  // random #'s we need to init node and clockseq\n  var _seedBytes = _rng();\n\n  // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n  var _nodeId = [\n    _seedBytes[0] | 0x01,\n    _seedBytes[1], _seedBytes[2], _seedBytes[3], _seedBytes[4], _seedBytes[5]\n  ];\n\n  // Per 4.2.2, randomize (14 bit) clockseq\n  var _clockseq = (_seedBytes[6] << 8 | _seedBytes[7]) & 0x3fff;\n\n  // Previous uuid creation time\n  var _lastMSecs = 0, _lastNSecs = 0;\n\n  // See https://github.com/broofa/node-uuid for API details\n  function v1(options, buf, offset) {\n    var i = buf && offset || 0;\n    var b = buf || [];\n\n    options = options || {};\n\n    var clockseq = options.clockseq != null ? options.clockseq : _clockseq;\n\n    // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n    // (1582-10-15 00:00).  JSNumbers aren't precise enough for this, so\n    // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n    // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n    var msecs = options.msecs != null ? options.msecs : new Date().getTime();\n\n    // Per 4.2.1.2, use count of uuid's generated during the current clock\n    // cycle to simulate higher resolution clock\n    var nsecs = options.nsecs != null ? options.nsecs : _lastNSecs + 1;\n\n    // Time since last uuid creation (in msecs)\n    var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000;\n\n    // Per 4.2.1.2, Bump clockseq on clock regression\n    if (dt < 0 && options.clockseq == null) {\n      clockseq = clockseq + 1 & 0x3fff;\n    }\n\n    // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n    // time interval\n    if ((dt < 0 || msecs > _lastMSecs) && options.nsecs == null) {\n      nsecs = 0;\n    }\n\n    // Per 4.2.1.2 Throw error if too many uuids are requested\n    if (nsecs >= 10000) {\n      throw new Error('uuid.v1(): Can\\'t create more than 10M uuids/sec');\n    }\n\n    _lastMSecs = msecs;\n    _lastNSecs = nsecs;\n    _clockseq = clockseq;\n\n    // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n    msecs += 12219292800000;\n\n    // `time_low`\n    var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n    b[i++] = tl >>> 24 & 0xff;\n    b[i++] = tl >>> 16 & 0xff;\n    b[i++] = tl >>> 8 & 0xff;\n    b[i++] = tl & 0xff;\n\n    // `time_mid`\n    var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff;\n    b[i++] = tmh >>> 8 & 0xff;\n    b[i++] = tmh & 0xff;\n\n    // `time_high_and_version`\n    b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n    b[i++] = tmh >>> 16 & 0xff;\n\n    // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n    b[i++] = clockseq >>> 8 | 0x80;\n\n    // `clock_seq_low`\n    b[i++] = clockseq & 0xff;\n\n    // `node`\n    var node = options.node || _nodeId;\n    for (var n = 0; n < 6; n++) {\n      b[i + n] = node[n];\n    }\n\n    return buf ? buf : unparse(b);\n  }\n\n  // **`v4()` - Generate random UUID**\n\n  // See https://github.com/broofa/node-uuid for API details\n  function v4(options, buf, offset) {\n    // Deprecated - 'format' argument, as supported in v1.2\n    var i = buf && offset || 0;\n\n    if (typeof(options) == 'string') {\n      buf = options == 'binary' ? new BufferClass(16) : null;\n      options = null;\n    }\n    options = options || {};\n\n    var rnds = options.random || (options.rng || _rng)();\n\n    // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n    rnds[6] = (rnds[6] & 0x0f) | 0x40;\n    rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n    // Copy bytes to buffer, if provided\n    if (buf) {\n      for (var ii = 0; ii < 16; ii++) {\n        buf[i + ii] = rnds[ii];\n      }\n    }\n\n    return buf || unparse(rnds);\n  }\n\n  // Export public API\n  var uuid = v4;\n  uuid.v1 = v1;\n  uuid.v4 = v4;\n  uuid.parse = parse;\n  uuid.unparse = unparse;\n  uuid.BufferClass = BufferClass;\n\n  if (typeof define === 'function' && define.amd) {\n    // Publish as AMD module\n    define(function() {return uuid;});\n  } else if (typeof(module) != 'undefined' && module.exports) {\n    // Publish as node.js module\n    module.exports = uuid;\n  } else {\n    // Publish as global (in browsers)\n    var _previousRoot = _global.uuid;\n\n    // **`noConflict()` - (browser only) to reset global 'uuid' var**\n    uuid.noConflict = function() {\n      _global.uuid = _previousRoot;\n      return uuid;\n    };\n\n    _global.uuid = uuid;\n  }\n}).call(this);\n",";(function(exports) {\n\n// export the class if we are in a Node-like system.\nif (typeof module === 'object' && module.exports === exports)\n  exports = module.exports = SemVer;\n\n// The debug function is excluded entirely from the minified version.\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = '2.0.0';\n\nvar MAX_LENGTH = 256;\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;\n\n// The actual regexps go on exports.re\nvar re = exports.re = [];\nvar src = exports.src = [];\nvar R = 0;\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\nvar NUMERICIDENTIFIER = R++;\nsrc[NUMERICIDENTIFIER] = '0|[1-9]\\\\d*';\nvar NUMERICIDENTIFIERLOOSE = R++;\nsrc[NUMERICIDENTIFIERLOOSE] = '[0-9]+';\n\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\nvar NONNUMERICIDENTIFIER = R++;\nsrc[NONNUMERICIDENTIFIER] = '\\\\d*[a-zA-Z-][a-zA-Z0-9-]*';\n\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\nvar MAINVERSION = R++;\nsrc[MAINVERSION] = '(' + src[NUMERICIDENTIFIER] + ')\\\\.' +\n                   '(' + src[NUMERICIDENTIFIER] + ')\\\\.' +\n                   '(' + src[NUMERICIDENTIFIER] + ')';\n\nvar MAINVERSIONLOOSE = R++;\nsrc[MAINVERSIONLOOSE] = '(' + src[NUMERICIDENTIFIERLOOSE] + ')\\\\.' +\n                        '(' + src[NUMERICIDENTIFIERLOOSE] + ')\\\\.' +\n                        '(' + src[NUMERICIDENTIFIERLOOSE] + ')';\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n\nvar PRERELEASEIDENTIFIER = R++;\nsrc[PRERELEASEIDENTIFIER] = '(?:' + src[NUMERICIDENTIFIER] +\n                            '|' + src[NONNUMERICIDENTIFIER] + ')';\n\nvar PRERELEASEIDENTIFIERLOOSE = R++;\nsrc[PRERELEASEIDENTIFIERLOOSE] = '(?:' + src[NUMERICIDENTIFIERLOOSE] +\n                                 '|' + src[NONNUMERICIDENTIFIER] + ')';\n\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\nvar PRERELEASE = R++;\nsrc[PRERELEASE] = '(?:-(' + src[PRERELEASEIDENTIFIER] +\n                  '(?:\\\\.' + src[PRERELEASEIDENTIFIER] + ')*))';\n\nvar PRERELEASELOOSE = R++;\nsrc[PRERELEASELOOSE] = '(?:-?(' + src[PRERELEASEIDENTIFIERLOOSE] +\n                       '(?:\\\\.' + src[PRERELEASEIDENTIFIERLOOSE] + ')*))';\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\nvar BUILDIDENTIFIER = R++;\nsrc[BUILDIDENTIFIER] = '[0-9A-Za-z-]+';\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\nvar BUILD = R++;\nsrc[BUILD] = '(?:\\\\+(' + src[BUILDIDENTIFIER] +\n             '(?:\\\\.' + src[BUILDIDENTIFIER] + ')*))';\n\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups.  The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\nvar FULL = R++;\nvar FULLPLAIN = 'v?' + src[MAINVERSION] +\n                src[PRERELEASE] + '?' +\n                src[BUILD] + '?';\n\nsrc[FULL] = '^' + FULLPLAIN + '$';\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\nvar LOOSEPLAIN = '[v=\\\\s]*' + src[MAINVERSIONLOOSE] +\n                 src[PRERELEASELOOSE] + '?' +\n                 src[BUILD] + '?';\n\nvar LOOSE = R++;\nsrc[LOOSE] = '^' + LOOSEPLAIN + '$';\n\nvar GTLT = R++;\nsrc[GTLT] = '((?:<|>)?=?)';\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\nvar XRANGEIDENTIFIERLOOSE = R++;\nsrc[XRANGEIDENTIFIERLOOSE] = src[NUMERICIDENTIFIERLOOSE] + '|x|X|\\\\*';\nvar XRANGEIDENTIFIER = R++;\nsrc[XRANGEIDENTIFIER] = src[NUMERICIDENTIFIER] + '|x|X|\\\\*';\n\nvar XRANGEPLAIN = R++;\nsrc[XRANGEPLAIN] = '[v=\\\\s]*(' + src[XRANGEIDENTIFIER] + ')' +\n                   '(?:\\\\.(' + src[XRANGEIDENTIFIER] + ')' +\n                   '(?:\\\\.(' + src[XRANGEIDENTIFIER] + ')' +\n                   '(?:' + src[PRERELEASE] + ')?' +\n                   src[BUILD] + '?' +\n                   ')?)?';\n\nvar XRANGEPLAINLOOSE = R++;\nsrc[XRANGEPLAINLOOSE] = '[v=\\\\s]*(' + src[XRANGEIDENTIFIERLOOSE] + ')' +\n                        '(?:\\\\.(' + src[XRANGEIDENTIFIERLOOSE] + ')' +\n                        '(?:\\\\.(' + src[XRANGEIDENTIFIERLOOSE] + ')' +\n                        '(?:' + src[PRERELEASELOOSE] + ')?' +\n                        src[BUILD] + '?' +\n                        ')?)?';\n\nvar XRANGE = R++;\nsrc[XRANGE] = '^' + src[GTLT] + '\\\\s*' + src[XRANGEPLAIN] + '$';\nvar XRANGELOOSE = R++;\nsrc[XRANGELOOSE] = '^' + src[GTLT] + '\\\\s*' + src[XRANGEPLAINLOOSE] + '$';\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\nvar LONETILDE = R++;\nsrc[LONETILDE] = '(?:~>?)';\n\nvar TILDETRIM = R++;\nsrc[TILDETRIM] = '(\\\\s*)' + src[LONETILDE] + '\\\\s+';\nre[TILDETRIM] = new RegExp(src[TILDETRIM], 'g');\nvar tildeTrimReplace = '$1~';\n\nvar TILDE = R++;\nsrc[TILDE] = '^' + src[LONETILDE] + src[XRANGEPLAIN] + '$';\nvar TILDELOOSE = R++;\nsrc[TILDELOOSE] = '^' + src[LONETILDE] + src[XRANGEPLAINLOOSE] + '$';\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\nvar LONECARET = R++;\nsrc[LONECARET] = '(?:\\\\^)';\n\nvar CARETTRIM = R++;\nsrc[CARETTRIM] = '(\\\\s*)' + src[LONECARET] + '\\\\s+';\nre[CARETTRIM] = new RegExp(src[CARETTRIM], 'g');\nvar caretTrimReplace = '$1^';\n\nvar CARET = R++;\nsrc[CARET] = '^' + src[LONECARET] + src[XRANGEPLAIN] + '$';\nvar CARETLOOSE = R++;\nsrc[CARETLOOSE] = '^' + src[LONECARET] + src[XRANGEPLAINLOOSE] + '$';\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\nvar COMPARATORLOOSE = R++;\nsrc[COMPARATORLOOSE] = '^' + src[GTLT] + '\\\\s*(' + LOOSEPLAIN + ')$|^$';\nvar COMPARATOR = R++;\nsrc[COMPARATOR] = '^' + src[GTLT] + '\\\\s*(' + FULLPLAIN + ')$|^$';\n\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\nvar COMPARATORTRIM = R++;\nsrc[COMPARATORTRIM] = '(\\\\s*)' + src[GTLT] +\n                      '\\\\s*(' + LOOSEPLAIN + '|' + src[XRANGEPLAIN] + ')';\n\n// this one has to use the /g flag\nre[COMPARATORTRIM] = new RegExp(src[COMPARATORTRIM], 'g');\nvar comparatorTrimReplace = '$1$2$3';\n\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\nvar HYPHENRANGE = R++;\nsrc[HYPHENRANGE] = '^\\\\s*(' + src[XRANGEPLAIN] + ')' +\n                   '\\\\s+-\\\\s+' +\n                   '(' + src[XRANGEPLAIN] + ')' +\n                   '\\\\s*$';\n\nvar HYPHENRANGELOOSE = R++;\nsrc[HYPHENRANGELOOSE] = '^\\\\s*(' + src[XRANGEPLAINLOOSE] + ')' +\n                        '\\\\s+-\\\\s+' +\n                        '(' + src[XRANGEPLAINLOOSE] + ')' +\n                        '\\\\s*$';\n\n// Star ranges basically just allow anything at all.\nvar STAR = R++;\nsrc[STAR] = '(<|>)?=?\\\\s*\\\\*';\n\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor (var i = 0; i < R; i++) {\n  ;\n  if (!re[i])\n    re[i] = new RegExp(src[i]);\n}\n\nexports.parse = parse;\nfunction parse(version, loose) {\n  if (version instanceof SemVer)\n    return version;\n\n  if (typeof version !== 'string')\n    return null;\n\n  if (version.length > MAX_LENGTH)\n    return null;\n\n  var r = loose ? re[LOOSE] : re[FULL];\n  if (!r.test(version))\n    return null;\n\n  try {\n    return new SemVer(version, loose);\n  } catch (er) {\n    return null;\n  }\n}\n\nexports.valid = valid;\nfunction valid(version, loose) {\n  var v = parse(version, loose);\n  return v ? v.version : null;\n}\n\n\nexports.clean = clean;\nfunction clean(version, loose) {\n  var s = parse(version.trim().replace(/^[=v]+/, ''), loose);\n  return s ? s.version : null;\n}\n\nexports.SemVer = SemVer;\n\nfunction SemVer(version, loose) {\n  if (version instanceof SemVer) {\n    if (version.loose === loose)\n      return version;\n    else\n      version = version.version;\n  } else if (typeof version !== 'string') {\n    throw new TypeError('Invalid Version: ' + version);\n  }\n\n  if (version.length > MAX_LENGTH)\n    throw new TypeError('version is longer than ' + MAX_LENGTH + ' characters')\n\n  if (!(this instanceof SemVer))\n    return new SemVer(version, loose);\n\n  ;\n  this.loose = loose;\n  var m = version.trim().match(loose ? re[LOOSE] : re[FULL]);\n\n  if (!m)\n    throw new TypeError('Invalid Version: ' + version);\n\n  this.raw = version;\n\n  // these are actually numbers\n  this.major = +m[1];\n  this.minor = +m[2];\n  this.patch = +m[3];\n\n  if (this.major > MAX_SAFE_INTEGER || this.major < 0)\n    throw new TypeError('Invalid major version')\n\n  if (this.minor > MAX_SAFE_INTEGER || this.minor < 0)\n    throw new TypeError('Invalid minor version')\n\n  if (this.patch > MAX_SAFE_INTEGER || this.patch < 0)\n    throw new TypeError('Invalid patch version')\n\n  // numberify any prerelease numeric ids\n  if (!m[4])\n    this.prerelease = [];\n  else\n    this.prerelease = m[4].split('.').map(function(id) {\n      if (/^[0-9]+$/.test(id)) {\n        var num = +id\n        if (num >= 0 && num < MAX_SAFE_INTEGER)\n          return num\n      }\n      return id;\n    });\n\n  this.build = m[5] ? m[5].split('.') : [];\n  this.format();\n}\n\nSemVer.prototype.format = function() {\n  this.version = this.major + '.' + this.minor + '.' + this.patch;\n  if (this.prerelease.length)\n    this.version += '-' + this.prerelease.join('.');\n  return this.version;\n};\n\nSemVer.prototype.inspect = function() {\n  return '<SemVer \"' + this + '\">';\n};\n\nSemVer.prototype.toString = function() {\n  return this.version;\n};\n\nSemVer.prototype.compare = function(other) {\n  ;\n  if (!(other instanceof SemVer))\n    other = new SemVer(other, this.loose);\n\n  return this.compareMain(other) || this.comparePre(other);\n};\n\nSemVer.prototype.compareMain = function(other) {\n  if (!(other instanceof SemVer))\n    other = new SemVer(other, this.loose);\n\n  return compareIdentifiers(this.major, other.major) ||\n         compareIdentifiers(this.minor, other.minor) ||\n         compareIdentifiers(this.patch, other.patch);\n};\n\nSemVer.prototype.comparePre = function(other) {\n  if (!(other instanceof SemVer))\n    other = new SemVer(other, this.loose);\n\n  // NOT having a prerelease is > having one\n  if (this.prerelease.length && !other.prerelease.length)\n    return -1;\n  else if (!this.prerelease.length && other.prerelease.length)\n    return 1;\n  else if (!this.prerelease.length && !other.prerelease.length)\n    return 0;\n\n  var i = 0;\n  do {\n    var a = this.prerelease[i];\n    var b = other.prerelease[i];\n    ;\n    if (a === undefined && b === undefined)\n      return 0;\n    else if (b === undefined)\n      return 1;\n    else if (a === undefined)\n      return -1;\n    else if (a === b)\n      continue;\n    else\n      return compareIdentifiers(a, b);\n  } while (++i);\n};\n\n// preminor will bump the version up to the next minor release, and immediately\n// down to pre-release. premajor and prepatch work the same way.\nSemVer.prototype.inc = function(release, identifier) {\n  switch (release) {\n    case 'premajor':\n      this.prerelease.length = 0;\n      this.patch = 0;\n      this.minor = 0;\n      this.major++;\n      this.inc('pre', identifier);\n      break;\n    case 'preminor':\n      this.prerelease.length = 0;\n      this.patch = 0;\n      this.minor++;\n      this.inc('pre', identifier);\n      break;\n    case 'prepatch':\n      // If this is already a prerelease, it will bump to the next version\n      // drop any prereleases that might already exist, since they are not\n      // relevant at this point.\n      this.prerelease.length = 0;\n      this.inc('patch', identifier);\n      this.inc('pre', identifier);\n      break;\n    // If the input is a non-prerelease version, this acts the same as\n    // prepatch.\n    case 'prerelease':\n      if (this.prerelease.length === 0)\n        this.inc('patch', identifier);\n      this.inc('pre', identifier);\n      break;\n\n    case 'major':\n      // If this is a pre-major version, bump up to the same major version.\n      // Otherwise increment major.\n      // 1.0.0-5 bumps to 1.0.0\n      // 1.1.0 bumps to 2.0.0\n      if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0)\n        this.major++;\n      this.minor = 0;\n      this.patch = 0;\n      this.prerelease = [];\n      break;\n    case 'minor':\n      // If this is a pre-minor version, bump up to the same minor version.\n      // Otherwise increment minor.\n      // 1.2.0-5 bumps to 1.2.0\n      // 1.2.1 bumps to 1.3.0\n      if (this.patch !== 0 || this.prerelease.length === 0)\n        this.minor++;\n      this.patch = 0;\n      this.prerelease = [];\n      break;\n    case 'patch':\n      // If this is not a pre-release version, it will increment the patch.\n      // If it is a pre-release it will bump up to the same patch version.\n      // 1.2.0-5 patches to 1.2.0\n      // 1.2.0 patches to 1.2.1\n      if (this.prerelease.length === 0)\n        this.patch++;\n      this.prerelease = [];\n      break;\n    // This probably shouldn't be used publicly.\n    // 1.0.0 \"pre\" would become 1.0.0-0 which is the wrong direction.\n    case 'pre':\n      if (this.prerelease.length === 0)\n        this.prerelease = [0];\n      else {\n        var i = this.prerelease.length;\n        while (--i >= 0) {\n          if (typeof this.prerelease[i] === 'number') {\n            this.prerelease[i]++;\n            i = -2;\n          }\n        }\n        if (i === -1) // didn't increment anything\n          this.prerelease.push(0);\n      }\n      if (identifier) {\n        // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n        // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n        if (this.prerelease[0] === identifier) {\n          if (isNaN(this.prerelease[1]))\n            this.prerelease = [identifier, 0];\n        } else\n          this.prerelease = [identifier, 0];\n      }\n      break;\n\n    default:\n      throw new Error('invalid increment argument: ' + release);\n  }\n  this.format();\n  return this;\n};\n\nexports.inc = inc;\nfunction inc(version, release, loose, identifier) {\n  if (typeof(loose) === 'string') {\n    identifier = loose;\n    loose = undefined;\n  }\n\n  try {\n    return new SemVer(version, loose).inc(release, identifier).version;\n  } catch (er) {\n    return null;\n  }\n}\n\nexports.diff = diff;\nfunction diff(version1, version2) {\n  if (eq(version1, version2)) {\n    return null;\n  } else {\n    var v1 = parse(version1);\n    var v2 = parse(version2);\n    if (v1.prerelease.length || v2.prerelease.length) {\n      for (var key in v1) {\n        if (key === 'major' || key === 'minor' || key === 'patch') {\n          if (v1[key] !== v2[key]) {\n            return 'pre'+key;\n          }\n        }\n      }\n      return 'prerelease';\n    }\n    for (var key in v1) {\n      if (key === 'major' || key === 'minor' || key === 'patch') {\n        if (v1[key] !== v2[key]) {\n          return key;\n        }\n      }\n    }\n  }\n}\n\nexports.compareIdentifiers = compareIdentifiers;\n\nvar numeric = /^[0-9]+$/;\nfunction compareIdentifiers(a, b) {\n  var anum = numeric.test(a);\n  var bnum = numeric.test(b);\n\n  if (anum && bnum) {\n    a = +a;\n    b = +b;\n  }\n\n  return (anum && !bnum) ? -1 :\n         (bnum && !anum) ? 1 :\n         a < b ? -1 :\n         a > b ? 1 :\n         0;\n}\n\nexports.rcompareIdentifiers = rcompareIdentifiers;\nfunction rcompareIdentifiers(a, b) {\n  return compareIdentifiers(b, a);\n}\n\nexports.major = major;\nfunction major(a, loose) {\n  return new SemVer(a, loose).major;\n}\n\nexports.minor = minor;\nfunction minor(a, loose) {\n  return new SemVer(a, loose).minor;\n}\n\nexports.patch = patch;\nfunction patch(a, loose) {\n  return new SemVer(a, loose).patch;\n}\n\nexports.compare = compare;\nfunction compare(a, b, loose) {\n  return new SemVer(a, loose).compare(b);\n}\n\nexports.compareLoose = compareLoose;\nfunction compareLoose(a, b) {\n  return compare(a, b, true);\n}\n\nexports.rcompare = rcompare;\nfunction rcompare(a, b, loose) {\n  return compare(b, a, loose);\n}\n\nexports.sort = sort;\nfunction sort(list, loose) {\n  return list.sort(function(a, b) {\n    return exports.compare(a, b, loose);\n  });\n}\n\nexports.rsort = rsort;\nfunction rsort(list, loose) {\n  return list.sort(function(a, b) {\n    return exports.rcompare(a, b, loose);\n  });\n}\n\nexports.gt = gt;\nfunction gt(a, b, loose) {\n  return compare(a, b, loose) > 0;\n}\n\nexports.lt = lt;\nfunction lt(a, b, loose) {\n  return compare(a, b, loose) < 0;\n}\n\nexports.eq = eq;\nfunction eq(a, b, loose) {\n  return compare(a, b, loose) === 0;\n}\n\nexports.neq = neq;\nfunction neq(a, b, loose) {\n  return compare(a, b, loose) !== 0;\n}\n\nexports.gte = gte;\nfunction gte(a, b, loose) {\n  return compare(a, b, loose) >= 0;\n}\n\nexports.lte = lte;\nfunction lte(a, b, loose) {\n  return compare(a, b, loose) <= 0;\n}\n\nexports.cmp = cmp;\nfunction cmp(a, op, b, loose) {\n  var ret;\n  switch (op) {\n    case '===':\n      if (typeof a === 'object') a = a.version;\n      if (typeof b === 'object') b = b.version;\n      ret = a === b;\n      break;\n    case '!==':\n      if (typeof a === 'object') a = a.version;\n      if (typeof b === 'object') b = b.version;\n      ret = a !== b;\n      break;\n    case '': case '=': case '==': ret = eq(a, b, loose); break;\n    case '!=': ret = neq(a, b, loose); break;\n    case '>': ret = gt(a, b, loose); break;\n    case '>=': ret = gte(a, b, loose); break;\n    case '<': ret = lt(a, b, loose); break;\n    case '<=': ret = lte(a, b, loose); break;\n    default: throw new TypeError('Invalid operator: ' + op);\n  }\n  return ret;\n}\n\nexports.Comparator = Comparator;\nfunction Comparator(comp, loose) {\n  if (comp instanceof Comparator) {\n    if (comp.loose === loose)\n      return comp;\n    else\n      comp = comp.value;\n  }\n\n  if (!(this instanceof Comparator))\n    return new Comparator(comp, loose);\n\n  ;\n  this.loose = loose;\n  this.parse(comp);\n\n  if (this.semver === ANY)\n    this.value = '';\n  else\n    this.value = this.operator + this.semver.version;\n\n  ;\n}\n\nvar ANY = {};\nComparator.prototype.parse = function(comp) {\n  var r = this.loose ? re[COMPARATORLOOSE] : re[COMPARATOR];\n  var m = comp.match(r);\n\n  if (!m)\n    throw new TypeError('Invalid comparator: ' + comp);\n\n  this.operator = m[1];\n  if (this.operator === '=')\n    this.operator = '';\n\n  // if it literally is just '>' or '' then allow anything.\n  if (!m[2])\n    this.semver = ANY;\n  else\n    this.semver = new SemVer(m[2], this.loose);\n};\n\nComparator.prototype.inspect = function() {\n  return '<SemVer Comparator \"' + this + '\">';\n};\n\nComparator.prototype.toString = function() {\n  return this.value;\n};\n\nComparator.prototype.test = function(version) {\n  ;\n\n  if (this.semver === ANY)\n    return true;\n\n  if (typeof version === 'string')\n    version = new SemVer(version, this.loose);\n\n  return cmp(version, this.operator, this.semver, this.loose);\n};\n\n\nexports.Range = Range;\nfunction Range(range, loose) {\n  if ((range instanceof Range) && range.loose === loose)\n    return range;\n\n  if (!(this instanceof Range))\n    return new Range(range, loose);\n\n  this.loose = loose;\n\n  // First, split based on boolean or ||\n  this.raw = range;\n  this.set = range.split(/\\s*\\|\\|\\s*/).map(function(range) {\n    return this.parseRange(range.trim());\n  }, this).filter(function(c) {\n    // throw out any that are not relevant for whatever reason\n    return c.length;\n  });\n\n  if (!this.set.length) {\n    throw new TypeError('Invalid SemVer Range: ' + range);\n  }\n\n  this.format();\n}\n\nRange.prototype.inspect = function() {\n  return '<SemVer Range \"' + this.range + '\">';\n};\n\nRange.prototype.format = function() {\n  this.range = this.set.map(function(comps) {\n    return comps.join(' ').trim();\n  }).join('||').trim();\n  return this.range;\n};\n\nRange.prototype.toString = function() {\n  return this.range;\n};\n\nRange.prototype.parseRange = function(range) {\n  var loose = this.loose;\n  range = range.trim();\n  ;\n  // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n  var hr = loose ? re[HYPHENRANGELOOSE] : re[HYPHENRANGE];\n  range = range.replace(hr, hyphenReplace);\n  ;\n  // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n  range = range.replace(re[COMPARATORTRIM], comparatorTrimReplace);\n  ;\n\n  // `~ 1.2.3` => `~1.2.3`\n  range = range.replace(re[TILDETRIM], tildeTrimReplace);\n\n  // `^ 1.2.3` => `^1.2.3`\n  range = range.replace(re[CARETTRIM], caretTrimReplace);\n\n  // normalize spaces\n  range = range.split(/\\s+/).join(' ');\n\n  // At this point, the range is completely trimmed and\n  // ready to be split into comparators.\n\n  var compRe = loose ? re[COMPARATORLOOSE] : re[COMPARATOR];\n  var set = range.split(' ').map(function(comp) {\n    return parseComparator(comp, loose);\n  }).join(' ').split(/\\s+/);\n  if (this.loose) {\n    // in loose mode, throw out any that are not valid comparators\n    set = set.filter(function(comp) {\n      return !!comp.match(compRe);\n    });\n  }\n  set = set.map(function(comp) {\n    return new Comparator(comp, loose);\n  });\n\n  return set;\n};\n\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators;\nfunction toComparators(range, loose) {\n  return new Range(range, loose).set.map(function(comp) {\n    return comp.map(function(c) {\n      return c.value;\n    }).join(' ').trim().split(' ');\n  });\n}\n\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nfunction parseComparator(comp, loose) {\n  ;\n  comp = replaceCarets(comp, loose);\n  ;\n  comp = replaceTildes(comp, loose);\n  ;\n  comp = replaceXRanges(comp, loose);\n  ;\n  comp = replaceStars(comp, loose);\n  ;\n  return comp;\n}\n\nfunction isX(id) {\n  return !id || id.toLowerCase() === 'x' || id === '*';\n}\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes(comp, loose) {\n  return comp.trim().split(/\\s+/).map(function(comp) {\n    return replaceTilde(comp, loose);\n  }).join(' ');\n}\n\nfunction replaceTilde(comp, loose) {\n  var r = loose ? re[TILDELOOSE] : re[TILDE];\n  return comp.replace(r, function(_, M, m, p, pr) {\n    ;\n    var ret;\n\n    if (isX(M))\n      ret = '';\n    else if (isX(m))\n      ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0';\n    else if (isX(p))\n      // ~1.2 == >=1.2.0- <1.3.0-\n      ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0';\n    else if (pr) {\n      ;\n      if (pr.charAt(0) !== '-')\n        pr = '-' + pr;\n      ret = '>=' + M + '.' + m + '.' + p + pr +\n            ' <' + M + '.' + (+m + 1) + '.0';\n    } else\n      // ~1.2.3 == >=1.2.3 <1.3.0\n      ret = '>=' + M + '.' + m + '.' + p +\n            ' <' + M + '.' + (+m + 1) + '.0';\n\n    ;\n    return ret;\n  });\n}\n\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets(comp, loose) {\n  return comp.trim().split(/\\s+/).map(function(comp) {\n    return replaceCaret(comp, loose);\n  }).join(' ');\n}\n\nfunction replaceCaret(comp, loose) {\n  ;\n  var r = loose ? re[CARETLOOSE] : re[CARET];\n  return comp.replace(r, function(_, M, m, p, pr) {\n    ;\n    var ret;\n\n    if (isX(M))\n      ret = '';\n    else if (isX(m))\n      ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0';\n    else if (isX(p)) {\n      if (M === '0')\n        ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0';\n      else\n        ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.0.0';\n    } else if (pr) {\n      ;\n      if (pr.charAt(0) !== '-')\n        pr = '-' + pr;\n      if (M === '0') {\n        if (m === '0')\n          ret = '>=' + M + '.' + m + '.' + p + pr +\n                ' <' + M + '.' + m + '.' + (+p + 1);\n        else\n          ret = '>=' + M + '.' + m + '.' + p + pr +\n                ' <' + M + '.' + (+m + 1) + '.0';\n      } else\n        ret = '>=' + M + '.' + m + '.' + p + pr +\n              ' <' + (+M + 1) + '.0.0';\n    } else {\n      ;\n      if (M === '0') {\n        if (m === '0')\n          ret = '>=' + M + '.' + m + '.' + p +\n                ' <' + M + '.' + m + '.' + (+p + 1);\n        else\n          ret = '>=' + M + '.' + m + '.' + p +\n                ' <' + M + '.' + (+m + 1) + '.0';\n      } else\n        ret = '>=' + M + '.' + m + '.' + p +\n              ' <' + (+M + 1) + '.0.0';\n    }\n\n    ;\n    return ret;\n  });\n}\n\nfunction replaceXRanges(comp, loose) {\n  ;\n  return comp.split(/\\s+/).map(function(comp) {\n    return replaceXRange(comp, loose);\n  }).join(' ');\n}\n\nfunction replaceXRange(comp, loose) {\n  comp = comp.trim();\n  var r = loose ? re[XRANGELOOSE] : re[XRANGE];\n  return comp.replace(r, function(ret, gtlt, M, m, p, pr) {\n    ;\n    var xM = isX(M);\n    var xm = xM || isX(m);\n    var xp = xm || isX(p);\n    var anyX = xp;\n\n    if (gtlt === '=' && anyX)\n      gtlt = '';\n\n    if (xM) {\n      if (gtlt === '>' || gtlt === '<') {\n        // nothing is allowed\n        ret = '<0.0.0';\n      } else {\n        // nothing is forbidden\n        ret = '*';\n      }\n    } else if (gtlt && anyX) {\n      // replace X with 0\n      if (xm)\n        m = 0;\n      if (xp)\n        p = 0;\n\n      if (gtlt === '>') {\n        // >1 => >=2.0.0\n        // >1.2 => >=1.3.0\n        // >1.2.3 => >= 1.2.4\n        gtlt = '>=';\n        if (xm) {\n          M = +M + 1;\n          m = 0;\n          p = 0;\n        } else if (xp) {\n          m = +m + 1;\n          p = 0;\n        }\n      } else if (gtlt === '<=') {\n        // <=0.7.x is actually <0.8.0, since any 0.7.x should\n        // pass.  Similarly, <=7.x is actually <8.0.0, etc.\n        gtlt = '<'\n        if (xm)\n          M = +M + 1\n        else\n          m = +m + 1\n      }\n\n      ret = gtlt + M + '.' + m + '.' + p;\n    } else if (xm) {\n      ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0';\n    } else if (xp) {\n      ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0';\n    }\n\n    ;\n\n    return ret;\n  });\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nfunction replaceStars(comp, loose) {\n  ;\n  // Looseness is ignored here.  star is always as loose as it gets!\n  return comp.trim().replace(re[STAR], '');\n}\n\n// This function is passed to string.replace(re[HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace($0,\n                       from, fM, fm, fp, fpr, fb,\n                       to, tM, tm, tp, tpr, tb) {\n\n  if (isX(fM))\n    from = '';\n  else if (isX(fm))\n    from = '>=' + fM + '.0.0';\n  else if (isX(fp))\n    from = '>=' + fM + '.' + fm + '.0';\n  else\n    from = '>=' + from;\n\n  if (isX(tM))\n    to = '';\n  else if (isX(tm))\n    to = '<' + (+tM + 1) + '.0.0';\n  else if (isX(tp))\n    to = '<' + tM + '.' + (+tm + 1) + '.0';\n  else if (tpr)\n    to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr;\n  else\n    to = '<=' + to;\n\n  return (from + ' ' + to).trim();\n}\n\n\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function(version) {\n  if (!version)\n    return false;\n\n  if (typeof version === 'string')\n    version = new SemVer(version, this.loose);\n\n  for (var i = 0; i < this.set.length; i++) {\n    if (testSet(this.set[i], version))\n      return true;\n  }\n  return false;\n};\n\nfunction testSet(set, version) {\n  for (var i = 0; i < set.length; i++) {\n    if (!set[i].test(version))\n      return false;\n  }\n\n  if (version.prerelease.length) {\n    // Find the set of versions that are allowed to have prereleases\n    // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n    // That should allow `1.2.3-pr.2` to pass.\n    // However, `1.2.4-alpha.notready` should NOT be allowed,\n    // even though it's within the range set by the comparators.\n    for (var i = 0; i < set.length; i++) {\n      ;\n      if (set[i].semver === ANY)\n        return true;\n\n      if (set[i].semver.prerelease.length > 0) {\n        var allowed = set[i].semver;\n        if (allowed.major === version.major &&\n            allowed.minor === version.minor &&\n            allowed.patch === version.patch)\n          return true;\n      }\n    }\n\n    // Version has a -pre, but it's not one of the ones we like.\n    return false;\n  }\n\n  return true;\n}\n\nexports.satisfies = satisfies;\nfunction satisfies(version, range, loose) {\n  try {\n    range = new Range(range, loose);\n  } catch (er) {\n    return false;\n  }\n  return range.test(version);\n}\n\nexports.maxSatisfying = maxSatisfying;\nfunction maxSatisfying(versions, range, loose) {\n  return versions.filter(function(version) {\n    return satisfies(version, range, loose);\n  }).sort(function(a, b) {\n    return rcompare(a, b, loose);\n  })[0] || null;\n}\n\nexports.validRange = validRange;\nfunction validRange(range, loose) {\n  try {\n    // Return '*' instead of '' so that truthiness works.\n    // This will throw if it's invalid anyway\n    return new Range(range, loose).range || '*';\n  } catch (er) {\n    return null;\n  }\n}\n\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr;\nfunction ltr(version, range, loose) {\n  return outside(version, range, '<', loose);\n}\n\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr;\nfunction gtr(version, range, loose) {\n  return outside(version, range, '>', loose);\n}\n\nexports.outside = outside;\nfunction outside(version, range, hilo, loose) {\n  version = new SemVer(version, loose);\n  range = new Range(range, loose);\n\n  var gtfn, ltefn, ltfn, comp, ecomp;\n  switch (hilo) {\n    case '>':\n      gtfn = gt;\n      ltefn = lte;\n      ltfn = lt;\n      comp = '>';\n      ecomp = '>=';\n      break;\n    case '<':\n      gtfn = lt;\n      ltefn = gte;\n      ltfn = gt;\n      comp = '<';\n      ecomp = '<=';\n      break;\n    default:\n      throw new TypeError('Must provide a hilo val of \"<\" or \">\"');\n  }\n\n  // If it satisifes the range it is not outside\n  if (satisfies(version, range, loose)) {\n    return false;\n  }\n\n  // From now on, variable terms are as if we're in \"gtr\" mode.\n  // but note that everything is flipped for the \"ltr\" function.\n\n  for (var i = 0; i < range.set.length; ++i) {\n    var comparators = range.set[i];\n\n    var high = null;\n    var low = null;\n\n    comparators.forEach(function(comparator) {\n      high = high || comparator;\n      low = low || comparator;\n      if (gtfn(comparator.semver, high.semver, loose)) {\n        high = comparator;\n      } else if (ltfn(comparator.semver, low.semver, loose)) {\n        low = comparator;\n      }\n    });\n\n    // If the edge version comparator has a operator then our version\n    // isn't outside it\n    if (high.operator === comp || high.operator === ecomp) {\n      return false;\n    }\n\n    // If the lowest version comparator has an operator and our version\n    // is less than it then it isn't higher than the range\n    if ((!low.operator || low.operator === comp) &&\n        ltefn(version, low.semver)) {\n      return false;\n    } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n      return false;\n    }\n  }\n  return true;\n}\n\n// Use the define() function if we're in AMD land\nif (typeof define === 'function' && define.amd)\n  define(exports);\n\n})(\n  typeof exports === 'object' ? exports :\n  typeof define === 'function' && define.amd ? {} :\n  semver = {}\n);\n","/* globals define */\n\nfunction createDeprecatedModule(moduleId) {\n  define(moduleId, ['exports', 'ember-resolver/resolver', 'ember'], function(exports, Resolver, Ember) {\n    Ember['default'].deprecate(\n      'Usage of `' + moduleId + '` module is deprecated, please update to `ember-resolver`.',\n      false,\n      { id: 'ember-resolver.legacy-shims', until: '3.0.0' }\n    );\n\n    exports['default'] = Resolver['default'];\n  });\n}\n\ncreateDeprecatedModule('ember/resolver');\ncreateDeprecatedModule('resolver');\n","/*! tether 1.4.0 */\n\n(function(root, factory) {\n  if (typeof define === 'function' && define.amd) {\n    define(factory);\n  } else if (typeof exports === 'object') {\n    module.exports = factory(require, exports, module);\n  } else {\n    root.Tether = factory();\n  }\n}(this, function(require, exports, module) {\n\n'use strict';\n\nvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\nvar TetherBase = undefined;\nif (typeof TetherBase === 'undefined') {\n  TetherBase = { modules: [] };\n}\n\nvar zeroElement = null;\n\n// Same as native getBoundingClientRect, except it takes into account parent <frame> offsets\n// if the element lies within a nested document (<frame> or <iframe>-like).\nfunction getActualBoundingClientRect(node) {\n  var boundingRect = node.getBoundingClientRect();\n\n  // The original object returned by getBoundingClientRect is immutable, so we clone it\n  // We can't use extend because the properties are not considered part of the object by hasOwnProperty in IE9\n  var rect = {};\n  for (var k in boundingRect) {\n    rect[k] = boundingRect[k];\n  }\n\n  if (node.ownerDocument !== document) {\n    var _frameElement = node.ownerDocument.defaultView.frameElement;\n    if (_frameElement) {\n      var frameRect = getActualBoundingClientRect(_frameElement);\n      rect.top += frameRect.top;\n      rect.bottom += frameRect.top;\n      rect.left += frameRect.left;\n      rect.right += frameRect.left;\n    }\n  }\n\n  return rect;\n}\n\nfunction getScrollParents(el) {\n  // In firefox if the el is inside an iframe with display: none; window.getComputedStyle() will return null;\n  // https://bugzilla.mozilla.org/show_bug.cgi?id=548397\n  var computedStyle = getComputedStyle(el) || {};\n  var position = computedStyle.position;\n  var parents = [];\n\n  if (position === 'fixed') {\n    return [el];\n  }\n\n  var parent = el;\n  while ((parent = parent.parentNode) && parent && parent.nodeType === 1) {\n    var style = undefined;\n    try {\n      style = getComputedStyle(parent);\n    } catch (err) {}\n\n    if (typeof style === 'undefined' || style === null) {\n      parents.push(parent);\n      return parents;\n    }\n\n    var _style = style;\n    var overflow = _style.overflow;\n    var overflowX = _style.overflowX;\n    var overflowY = _style.overflowY;\n\n    if (/(auto|scroll)/.test(overflow + overflowY + overflowX)) {\n      if (position !== 'absolute' || ['relative', 'absolute', 'fixed'].indexOf(style.position) >= 0) {\n        parents.push(parent);\n      }\n    }\n  }\n\n  parents.push(el.ownerDocument.body);\n\n  // If the node is within a frame, account for the parent window scroll\n  if (el.ownerDocument !== document) {\n    parents.push(el.ownerDocument.defaultView);\n  }\n\n  return parents;\n}\n\nvar uniqueId = (function () {\n  var id = 0;\n  return function () {\n    return ++id;\n  };\n})();\n\nvar zeroPosCache = {};\nvar getOrigin = function getOrigin() {\n  // getBoundingClientRect is unfortunately too accurate.  It introduces a pixel or two of\n  // jitter as the user scrolls that messes with our ability to detect if two positions\n  // are equivilant or not.  We place an element at the top left of the page that will\n  // get the same jitter, so we can cancel the two out.\n  var node = zeroElement;\n  if (!node || !document.body.contains(node)) {\n    node = document.createElement('div');\n    node.setAttribute('data-tether-id', uniqueId());\n    extend(node.style, {\n      top: 0,\n      left: 0,\n      position: 'absolute'\n    });\n\n    document.body.appendChild(node);\n\n    zeroElement = node;\n  }\n\n  var id = node.getAttribute('data-tether-id');\n  if (typeof zeroPosCache[id] === 'undefined') {\n    zeroPosCache[id] = getActualBoundingClientRect(node);\n\n    // Clear the cache when this position call is done\n    defer(function () {\n      delete zeroPosCache[id];\n    });\n  }\n\n  return zeroPosCache[id];\n};\n\nfunction removeUtilElements() {\n  if (zeroElement) {\n    document.body.removeChild(zeroElement);\n  }\n  zeroElement = null;\n};\n\nfunction getBounds(el) {\n  var doc = undefined;\n  if (el === document) {\n    doc = document;\n    el = document.documentElement;\n  } else {\n    doc = el.ownerDocument;\n  }\n\n  var docEl = doc.documentElement;\n\n  var box = getActualBoundingClientRect(el);\n\n  var origin = getOrigin();\n\n  box.top -= origin.top;\n  box.left -= origin.left;\n\n  if (typeof box.width === 'undefined') {\n    box.width = document.body.scrollWidth - box.left - box.right;\n  }\n  if (typeof box.height === 'undefined') {\n    box.height = document.body.scrollHeight - box.top - box.bottom;\n  }\n\n  box.top = box.top - docEl.clientTop;\n  box.left = box.left - docEl.clientLeft;\n  box.right = doc.body.clientWidth - box.width - box.left;\n  box.bottom = doc.body.clientHeight - box.height - box.top;\n\n  return box;\n}\n\nfunction getOffsetParent(el) {\n  return el.offsetParent || document.documentElement;\n}\n\nvar _scrollBarSize = null;\nfunction getScrollBarSize() {\n  if (_scrollBarSize) {\n    return _scrollBarSize;\n  }\n  var inner = document.createElement('div');\n  inner.style.width = '100%';\n  inner.style.height = '200px';\n\n  var outer = document.createElement('div');\n  extend(outer.style, {\n    position: 'absolute',\n    top: 0,\n    left: 0,\n    pointerEvents: 'none',\n    visibility: 'hidden',\n    width: '200px',\n    height: '150px',\n    overflow: 'hidden'\n  });\n\n  outer.appendChild(inner);\n\n  document.body.appendChild(outer);\n\n  var widthContained = inner.offsetWidth;\n  outer.style.overflow = 'scroll';\n  var widthScroll = inner.offsetWidth;\n\n  if (widthContained === widthScroll) {\n    widthScroll = outer.clientWidth;\n  }\n\n  document.body.removeChild(outer);\n\n  var width = widthContained - widthScroll;\n\n  _scrollBarSize = { width: width, height: width };\n  return _scrollBarSize;\n}\n\nfunction extend() {\n  var out = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\n  var args = [];\n\n  Array.prototype.push.apply(args, arguments);\n\n  args.slice(1).forEach(function (obj) {\n    if (obj) {\n      for (var key in obj) {\n        if (({}).hasOwnProperty.call(obj, key)) {\n          out[key] = obj[key];\n        }\n      }\n    }\n  });\n\n  return out;\n}\n\nfunction removeClass(el, name) {\n  if (typeof el.classList !== 'undefined') {\n    name.split(' ').forEach(function (cls) {\n      if (cls.trim()) {\n        el.classList.remove(cls);\n      }\n    });\n  } else {\n    var regex = new RegExp('(^| )' + name.split(' ').join('|') + '( |$)', 'gi');\n    var className = getClassName(el).replace(regex, ' ');\n    setClassName(el, className);\n  }\n}\n\nfunction addClass(el, name) {\n  if (typeof el.classList !== 'undefined') {\n    name.split(' ').forEach(function (cls) {\n      if (cls.trim()) {\n        el.classList.add(cls);\n      }\n    });\n  } else {\n    removeClass(el, name);\n    var cls = getClassName(el) + (' ' + name);\n    setClassName(el, cls);\n  }\n}\n\nfunction hasClass(el, name) {\n  if (typeof el.classList !== 'undefined') {\n    return el.classList.contains(name);\n  }\n  var className = getClassName(el);\n  return new RegExp('(^| )' + name + '( |$)', 'gi').test(className);\n}\n\nfunction getClassName(el) {\n  // Can't use just SVGAnimatedString here since nodes within a Frame in IE have\n  // completely separately SVGAnimatedString base classes\n  if (el.className instanceof el.ownerDocument.defaultView.SVGAnimatedString) {\n    return el.className.baseVal;\n  }\n  return el.className;\n}\n\nfunction setClassName(el, className) {\n  el.setAttribute('class', className);\n}\n\nfunction updateClasses(el, add, all) {\n  // Of the set of 'all' classes, we need the 'add' classes, and only the\n  // 'add' classes to be set.\n  all.forEach(function (cls) {\n    if (add.indexOf(cls) === -1 && hasClass(el, cls)) {\n      removeClass(el, cls);\n    }\n  });\n\n  add.forEach(function (cls) {\n    if (!hasClass(el, cls)) {\n      addClass(el, cls);\n    }\n  });\n}\n\nvar deferred = [];\n\nvar defer = function defer(fn) {\n  deferred.push(fn);\n};\n\nvar flush = function flush() {\n  var fn = undefined;\n  while (fn = deferred.pop()) {\n    fn();\n  }\n};\n\nvar Evented = (function () {\n  function Evented() {\n    _classCallCheck(this, Evented);\n  }\n\n  _createClass(Evented, [{\n    key: 'on',\n    value: function on(event, handler, ctx) {\n      var once = arguments.length <= 3 || arguments[3] === undefined ? false : arguments[3];\n\n      if (typeof this.bindings === 'undefined') {\n        this.bindings = {};\n      }\n      if (typeof this.bindings[event] === 'undefined') {\n        this.bindings[event] = [];\n      }\n      this.bindings[event].push({ handler: handler, ctx: ctx, once: once });\n    }\n  }, {\n    key: 'once',\n    value: function once(event, handler, ctx) {\n      this.on(event, handler, ctx, true);\n    }\n  }, {\n    key: 'off',\n    value: function off(event, handler) {\n      if (typeof this.bindings === 'undefined' || typeof this.bindings[event] === 'undefined') {\n        return;\n      }\n\n      if (typeof handler === 'undefined') {\n        delete this.bindings[event];\n      } else {\n        var i = 0;\n        while (i < this.bindings[event].length) {\n          if (this.bindings[event][i].handler === handler) {\n            this.bindings[event].splice(i, 1);\n          } else {\n            ++i;\n          }\n        }\n      }\n    }\n  }, {\n    key: 'trigger',\n    value: function trigger(event) {\n      if (typeof this.bindings !== 'undefined' && this.bindings[event]) {\n        var i = 0;\n\n        for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n          args[_key - 1] = arguments[_key];\n        }\n\n        while (i < this.bindings[event].length) {\n          var _bindings$event$i = this.bindings[event][i];\n          var handler = _bindings$event$i.handler;\n          var ctx = _bindings$event$i.ctx;\n          var once = _bindings$event$i.once;\n\n          var context = ctx;\n          if (typeof context === 'undefined') {\n            context = this;\n          }\n\n          handler.apply(context, args);\n\n          if (once) {\n            this.bindings[event].splice(i, 1);\n          } else {\n            ++i;\n          }\n        }\n      }\n    }\n  }]);\n\n  return Evented;\n})();\n\nTetherBase.Utils = {\n  getActualBoundingClientRect: getActualBoundingClientRect,\n  getScrollParents: getScrollParents,\n  getBounds: getBounds,\n  getOffsetParent: getOffsetParent,\n  extend: extend,\n  addClass: addClass,\n  removeClass: removeClass,\n  hasClass: hasClass,\n  updateClasses: updateClasses,\n  defer: defer,\n  flush: flush,\n  uniqueId: uniqueId,\n  Evented: Evented,\n  getScrollBarSize: getScrollBarSize,\n  removeUtilElements: removeUtilElements\n};\n/* globals TetherBase, performance */\n\n'use strict';\n\nvar _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i['return']) _i['return'](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError('Invalid attempt to destructure non-iterable instance'); } }; })();\n\nvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\nvar _get = function get(_x6, _x7, _x8) { var _again = true; _function: while (_again) { var object = _x6, property = _x7, receiver = _x8; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x6 = parent; _x7 = property; _x8 = receiver; _again = true; desc = parent = undefined; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nif (typeof TetherBase === 'undefined') {\n  throw new Error('You must include the utils.js file before tether.js');\n}\n\nvar _TetherBase$Utils = TetherBase.Utils;\nvar getScrollParents = _TetherBase$Utils.getScrollParents;\nvar getBounds = _TetherBase$Utils.getBounds;\nvar getOffsetParent = _TetherBase$Utils.getOffsetParent;\nvar extend = _TetherBase$Utils.extend;\nvar addClass = _TetherBase$Utils.addClass;\nvar removeClass = _TetherBase$Utils.removeClass;\nvar updateClasses = _TetherBase$Utils.updateClasses;\nvar defer = _TetherBase$Utils.defer;\nvar flush = _TetherBase$Utils.flush;\nvar getScrollBarSize = _TetherBase$Utils.getScrollBarSize;\nvar removeUtilElements = _TetherBase$Utils.removeUtilElements;\n\nfunction within(a, b) {\n  var diff = arguments.length <= 2 || arguments[2] === undefined ? 1 : arguments[2];\n\n  return a + diff >= b && b >= a - diff;\n}\n\nvar transformKey = (function () {\n  if (typeof document === 'undefined') {\n    return '';\n  }\n  var el = document.createElement('div');\n\n  var transforms = ['transform', 'WebkitTransform', 'OTransform', 'MozTransform', 'msTransform'];\n  for (var i = 0; i < transforms.length; ++i) {\n    var key = transforms[i];\n    if (el.style[key] !== undefined) {\n      return key;\n    }\n  }\n})();\n\nvar tethers = [];\n\nvar position = function position() {\n  tethers.forEach(function (tether) {\n    tether.position(false);\n  });\n  flush();\n};\n\nfunction now() {\n  if (typeof performance !== 'undefined' && typeof performance.now !== 'undefined') {\n    return performance.now();\n  }\n  return +new Date();\n}\n\n(function () {\n  var lastCall = null;\n  var lastDuration = null;\n  var pendingTimeout = null;\n\n  var tick = function tick() {\n    if (typeof lastDuration !== 'undefined' && lastDuration > 16) {\n      // We voluntarily throttle ourselves if we can't manage 60fps\n      lastDuration = Math.min(lastDuration - 16, 250);\n\n      // Just in case this is the last event, remember to position just once more\n      pendingTimeout = setTimeout(tick, 250);\n      return;\n    }\n\n    if (typeof lastCall !== 'undefined' && now() - lastCall < 10) {\n      // Some browsers call events a little too frequently, refuse to run more than is reasonable\n      return;\n    }\n\n    if (pendingTimeout != null) {\n      clearTimeout(pendingTimeout);\n      pendingTimeout = null;\n    }\n\n    lastCall = now();\n    position();\n    lastDuration = now() - lastCall;\n  };\n\n  if (typeof window !== 'undefined' && typeof window.addEventListener !== 'undefined') {\n    ['resize', 'scroll', 'touchmove'].forEach(function (event) {\n      window.addEventListener(event, tick);\n    });\n  }\n})();\n\nvar MIRROR_LR = {\n  center: 'center',\n  left: 'right',\n  right: 'left'\n};\n\nvar MIRROR_TB = {\n  middle: 'middle',\n  top: 'bottom',\n  bottom: 'top'\n};\n\nvar OFFSET_MAP = {\n  top: 0,\n  left: 0,\n  middle: '50%',\n  center: '50%',\n  bottom: '100%',\n  right: '100%'\n};\n\nvar autoToFixedAttachment = function autoToFixedAttachment(attachment, relativeToAttachment) {\n  var left = attachment.left;\n  var top = attachment.top;\n\n  if (left === 'auto') {\n    left = MIRROR_LR[relativeToAttachment.left];\n  }\n\n  if (top === 'auto') {\n    top = MIRROR_TB[relativeToAttachment.top];\n  }\n\n  return { left: left, top: top };\n};\n\nvar attachmentToOffset = function attachmentToOffset(attachment) {\n  var left = attachment.left;\n  var top = attachment.top;\n\n  if (typeof OFFSET_MAP[attachment.left] !== 'undefined') {\n    left = OFFSET_MAP[attachment.left];\n  }\n\n  if (typeof OFFSET_MAP[attachment.top] !== 'undefined') {\n    top = OFFSET_MAP[attachment.top];\n  }\n\n  return { left: left, top: top };\n};\n\nfunction addOffset() {\n  var out = { top: 0, left: 0 };\n\n  for (var _len = arguments.length, offsets = Array(_len), _key = 0; _key < _len; _key++) {\n    offsets[_key] = arguments[_key];\n  }\n\n  offsets.forEach(function (_ref) {\n    var top = _ref.top;\n    var left = _ref.left;\n\n    if (typeof top === 'string') {\n      top = parseFloat(top, 10);\n    }\n    if (typeof left === 'string') {\n      left = parseFloat(left, 10);\n    }\n\n    out.top += top;\n    out.left += left;\n  });\n\n  return out;\n}\n\nfunction offsetToPx(offset, size) {\n  if (typeof offset.left === 'string' && offset.left.indexOf('%') !== -1) {\n    offset.left = parseFloat(offset.left, 10) / 100 * size.width;\n  }\n  if (typeof offset.top === 'string' && offset.top.indexOf('%') !== -1) {\n    offset.top = parseFloat(offset.top, 10) / 100 * size.height;\n  }\n\n  return offset;\n}\n\nvar parseOffset = function parseOffset(value) {\n  var _value$split = value.split(' ');\n\n  var _value$split2 = _slicedToArray(_value$split, 2);\n\n  var top = _value$split2[0];\n  var left = _value$split2[1];\n\n  return { top: top, left: left };\n};\nvar parseAttachment = parseOffset;\n\nvar TetherClass = (function (_Evented) {\n  _inherits(TetherClass, _Evented);\n\n  function TetherClass(options) {\n    var _this = this;\n\n    _classCallCheck(this, TetherClass);\n\n    _get(Object.getPrototypeOf(TetherClass.prototype), 'constructor', this).call(this);\n    this.position = this.position.bind(this);\n\n    tethers.push(this);\n\n    this.history = [];\n\n    this.setOptions(options, false);\n\n    TetherBase.modules.forEach(function (module) {\n      if (typeof module.initialize !== 'undefined') {\n        module.initialize.call(_this);\n      }\n    });\n\n    this.position();\n  }\n\n  _createClass(TetherClass, [{\n    key: 'getClass',\n    value: function getClass() {\n      var key = arguments.length <= 0 || arguments[0] === undefined ? '' : arguments[0];\n      var classes = this.options.classes;\n\n      if (typeof classes !== 'undefined' && classes[key]) {\n        return this.options.classes[key];\n      } else if (this.options.classPrefix) {\n        return this.options.classPrefix + '-' + key;\n      } else {\n        return key;\n      }\n    }\n  }, {\n    key: 'setOptions',\n    value: function setOptions(options) {\n      var _this2 = this;\n\n      var pos = arguments.length <= 1 || arguments[1] === undefined ? true : arguments[1];\n\n      var defaults = {\n        offset: '0 0',\n        targetOffset: '0 0',\n        targetAttachment: 'auto auto',\n        classPrefix: 'tether'\n      };\n\n      this.options = extend(defaults, options);\n\n      var _options = this.options;\n      var element = _options.element;\n      var target = _options.target;\n      var targetModifier = _options.targetModifier;\n\n      this.element = element;\n      this.target = target;\n      this.targetModifier = targetModifier;\n\n      if (this.target === 'viewport') {\n        this.target = document.body;\n        this.targetModifier = 'visible';\n      } else if (this.target === 'scroll-handle') {\n        this.target = document.body;\n        this.targetModifier = 'scroll-handle';\n      }\n\n      ['element', 'target'].forEach(function (key) {\n        if (typeof _this2[key] === 'undefined') {\n          throw new Error('Tether Error: Both element and target must be defined');\n        }\n\n        if (typeof _this2[key].jquery !== 'undefined') {\n          _this2[key] = _this2[key][0];\n        } else if (typeof _this2[key] === 'string') {\n          _this2[key] = document.querySelector(_this2[key]);\n        }\n      });\n\n      addClass(this.element, this.getClass('element'));\n      if (!(this.options.addTargetClasses === false)) {\n        addClass(this.target, this.getClass('target'));\n      }\n\n      if (!this.options.attachment) {\n        throw new Error('Tether Error: You must provide an attachment');\n      }\n\n      this.targetAttachment = parseAttachment(this.options.targetAttachment);\n      this.attachment = parseAttachment(this.options.attachment);\n      this.offset = parseOffset(this.options.offset);\n      this.targetOffset = parseOffset(this.options.targetOffset);\n\n      if (typeof this.scrollParents !== 'undefined') {\n        this.disable();\n      }\n\n      if (this.targetModifier === 'scroll-handle') {\n        this.scrollParents = [this.target];\n      } else {\n        this.scrollParents = getScrollParents(this.target);\n      }\n\n      if (!(this.options.enabled === false)) {\n        this.enable(pos);\n      }\n    }\n  }, {\n    key: 'getTargetBounds',\n    value: function getTargetBounds() {\n      if (typeof this.targetModifier !== 'undefined') {\n        if (this.targetModifier === 'visible') {\n          if (this.target === document.body) {\n            return { top: pageYOffset, left: pageXOffset, height: innerHeight, width: innerWidth };\n          } else {\n            var bounds = getBounds(this.target);\n\n            var out = {\n              height: bounds.height,\n              width: bounds.width,\n              top: bounds.top,\n              left: bounds.left\n            };\n\n            out.height = Math.min(out.height, bounds.height - (pageYOffset - bounds.top));\n            out.height = Math.min(out.height, bounds.height - (bounds.top + bounds.height - (pageYOffset + innerHeight)));\n            out.height = Math.min(innerHeight, out.height);\n            out.height -= 2;\n\n            out.width = Math.min(out.width, bounds.width - (pageXOffset - bounds.left));\n            out.width = Math.min(out.width, bounds.width - (bounds.left + bounds.width - (pageXOffset + innerWidth)));\n            out.width = Math.min(innerWidth, out.width);\n            out.width -= 2;\n\n            if (out.top < pageYOffset) {\n              out.top = pageYOffset;\n            }\n            if (out.left < pageXOffset) {\n              out.left = pageXOffset;\n            }\n\n            return out;\n          }\n        } else if (this.targetModifier === 'scroll-handle') {\n          var bounds = undefined;\n          var target = this.target;\n          if (target === document.body) {\n            target = document.documentElement;\n\n            bounds = {\n              left: pageXOffset,\n              top: pageYOffset,\n              height: innerHeight,\n              width: innerWidth\n            };\n          } else {\n            bounds = getBounds(target);\n          }\n\n          var style = getComputedStyle(target);\n\n          var hasBottomScroll = target.scrollWidth > target.clientWidth || [style.overflow, style.overflowX].indexOf('scroll') >= 0 || this.target !== document.body;\n\n          var scrollBottom = 0;\n          if (hasBottomScroll) {\n            scrollBottom = 15;\n          }\n\n          var height = bounds.height - parseFloat(style.borderTopWidth) - parseFloat(style.borderBottomWidth) - scrollBottom;\n\n          var out = {\n            width: 15,\n            height: height * 0.975 * (height / target.scrollHeight),\n            left: bounds.left + bounds.width - parseFloat(style.borderLeftWidth) - 15\n          };\n\n          var fitAdj = 0;\n          if (height < 408 && this.target === document.body) {\n            fitAdj = -0.00011 * Math.pow(height, 2) - 0.00727 * height + 22.58;\n          }\n\n          if (this.target !== document.body) {\n            out.height = Math.max(out.height, 24);\n          }\n\n          var scrollPercentage = this.target.scrollTop / (target.scrollHeight - height);\n          out.top = scrollPercentage * (height - out.height - fitAdj) + bounds.top + parseFloat(style.borderTopWidth);\n\n          if (this.target === document.body) {\n            out.height = Math.max(out.height, 24);\n          }\n\n          return out;\n        }\n      } else {\n        return getBounds(this.target);\n      }\n    }\n  }, {\n    key: 'clearCache',\n    value: function clearCache() {\n      this._cache = {};\n    }\n  }, {\n    key: 'cache',\n    value: function cache(k, getter) {\n      // More than one module will often need the same DOM info, so\n      // we keep a cache which is cleared on each position call\n      if (typeof this._cache === 'undefined') {\n        this._cache = {};\n      }\n\n      if (typeof this._cache[k] === 'undefined') {\n        this._cache[k] = getter.call(this);\n      }\n\n      return this._cache[k];\n    }\n  }, {\n    key: 'enable',\n    value: function enable() {\n      var _this3 = this;\n\n      var pos = arguments.length <= 0 || arguments[0] === undefined ? true : arguments[0];\n\n      if (!(this.options.addTargetClasses === false)) {\n        addClass(this.target, this.getClass('enabled'));\n      }\n      addClass(this.element, this.getClass('enabled'));\n      this.enabled = true;\n\n      this.scrollParents.forEach(function (parent) {\n        if (parent !== _this3.target.ownerDocument) {\n          parent.addEventListener('scroll', _this3.position);\n        }\n      });\n\n      if (pos) {\n        this.position();\n      }\n    }\n  }, {\n    key: 'disable',\n    value: function disable() {\n      var _this4 = this;\n\n      removeClass(this.target, this.getClass('enabled'));\n      removeClass(this.element, this.getClass('enabled'));\n      this.enabled = false;\n\n      if (typeof this.scrollParents !== 'undefined') {\n        this.scrollParents.forEach(function (parent) {\n          parent.removeEventListener('scroll', _this4.position);\n        });\n      }\n    }\n  }, {\n    key: 'destroy',\n    value: function destroy() {\n      var _this5 = this;\n\n      this.disable();\n\n      tethers.forEach(function (tether, i) {\n        if (tether === _this5) {\n          tethers.splice(i, 1);\n        }\n      });\n\n      // Remove any elements we were using for convenience from the DOM\n      if (tethers.length === 0) {\n        removeUtilElements();\n      }\n    }\n  }, {\n    key: 'updateAttachClasses',\n    value: function updateAttachClasses(elementAttach, targetAttach) {\n      var _this6 = this;\n\n      elementAttach = elementAttach || this.attachment;\n      targetAttach = targetAttach || this.targetAttachment;\n      var sides = ['left', 'top', 'bottom', 'right', 'middle', 'center'];\n\n      if (typeof this._addAttachClasses !== 'undefined' && this._addAttachClasses.length) {\n        // updateAttachClasses can be called more than once in a position call, so\n        // we need to clean up after ourselves such that when the last defer gets\n        // ran it doesn't add any extra classes from previous calls.\n        this._addAttachClasses.splice(0, this._addAttachClasses.length);\n      }\n\n      if (typeof this._addAttachClasses === 'undefined') {\n        this._addAttachClasses = [];\n      }\n      var add = this._addAttachClasses;\n\n      if (elementAttach.top) {\n        add.push(this.getClass('element-attached') + '-' + elementAttach.top);\n      }\n      if (elementAttach.left) {\n        add.push(this.getClass('element-attached') + '-' + elementAttach.left);\n      }\n      if (targetAttach.top) {\n        add.push(this.getClass('target-attached') + '-' + targetAttach.top);\n      }\n      if (targetAttach.left) {\n        add.push(this.getClass('target-attached') + '-' + targetAttach.left);\n      }\n\n      var all = [];\n      sides.forEach(function (side) {\n        all.push(_this6.getClass('element-attached') + '-' + side);\n        all.push(_this6.getClass('target-attached') + '-' + side);\n      });\n\n      defer(function () {\n        if (!(typeof _this6._addAttachClasses !== 'undefined')) {\n          return;\n        }\n\n        updateClasses(_this6.element, _this6._addAttachClasses, all);\n        if (!(_this6.options.addTargetClasses === false)) {\n          updateClasses(_this6.target, _this6._addAttachClasses, all);\n        }\n\n        delete _this6._addAttachClasses;\n      });\n    }\n  }, {\n    key: 'position',\n    value: function position() {\n      var _this7 = this;\n\n      var flushChanges = arguments.length <= 0 || arguments[0] === undefined ? true : arguments[0];\n\n      // flushChanges commits the changes immediately, leave true unless you are positioning multiple\n      // tethers (in which case call Tether.Utils.flush yourself when you're done)\n\n      if (!this.enabled) {\n        return;\n      }\n\n      this.clearCache();\n\n      // Turn 'auto' attachments into the appropriate corner or edge\n      var targetAttachment = autoToFixedAttachment(this.targetAttachment, this.attachment);\n\n      this.updateAttachClasses(this.attachment, targetAttachment);\n\n      var elementPos = this.cache('element-bounds', function () {\n        return getBounds(_this7.element);\n      });\n\n      var width = elementPos.width;\n      var height = elementPos.height;\n\n      if (width === 0 && height === 0 && typeof this.lastSize !== 'undefined') {\n        var _lastSize = this.lastSize;\n\n        // We cache the height and width to make it possible to position elements that are\n        // getting hidden.\n        width = _lastSize.width;\n        height = _lastSize.height;\n      } else {\n        this.lastSize = { width: width, height: height };\n      }\n\n      var targetPos = this.cache('target-bounds', function () {\n        return _this7.getTargetBounds();\n      });\n      var targetSize = targetPos;\n\n      // Get an actual px offset from the attachment\n      var offset = offsetToPx(attachmentToOffset(this.attachment), { width: width, height: height });\n      var targetOffset = offsetToPx(attachmentToOffset(targetAttachment), targetSize);\n\n      var manualOffset = offsetToPx(this.offset, { width: width, height: height });\n      var manualTargetOffset = offsetToPx(this.targetOffset, targetSize);\n\n      // Add the manually provided offset\n      offset = addOffset(offset, manualOffset);\n      targetOffset = addOffset(targetOffset, manualTargetOffset);\n\n      // It's now our goal to make (element position + offset) == (target position + target offset)\n      var left = targetPos.left + targetOffset.left - offset.left;\n      var top = targetPos.top + targetOffset.top - offset.top;\n\n      for (var i = 0; i < TetherBase.modules.length; ++i) {\n        var _module2 = TetherBase.modules[i];\n        var ret = _module2.position.call(this, {\n          left: left,\n          top: top,\n          targetAttachment: targetAttachment,\n          targetPos: targetPos,\n          elementPos: elementPos,\n          offset: offset,\n          targetOffset: targetOffset,\n          manualOffset: manualOffset,\n          manualTargetOffset: manualTargetOffset,\n          scrollbarSize: scrollbarSize,\n          attachment: this.attachment\n        });\n\n        if (ret === false) {\n          return false;\n        } else if (typeof ret === 'undefined' || typeof ret !== 'object') {\n          continue;\n        } else {\n          top = ret.top;\n          left = ret.left;\n        }\n      }\n\n      // We describe the position three different ways to give the optimizer\n      // a chance to decide the best possible way to position the element\n      // with the fewest repaints.\n      var next = {\n        // It's position relative to the page (absolute positioning when\n        // the element is a child of the body)\n        page: {\n          top: top,\n          left: left\n        },\n\n        // It's position relative to the viewport (fixed positioning)\n        viewport: {\n          top: top - pageYOffset,\n          bottom: pageYOffset - top - height + innerHeight,\n          left: left - pageXOffset,\n          right: pageXOffset - left - width + innerWidth\n        }\n      };\n\n      var doc = this.target.ownerDocument;\n      var win = doc.defaultView;\n\n      var scrollbarSize = undefined;\n      if (win.innerHeight > doc.documentElement.clientHeight) {\n        scrollbarSize = this.cache('scrollbar-size', getScrollBarSize);\n        next.viewport.bottom -= scrollbarSize.height;\n      }\n\n      if (win.innerWidth > doc.documentElement.clientWidth) {\n        scrollbarSize = this.cache('scrollbar-size', getScrollBarSize);\n        next.viewport.right -= scrollbarSize.width;\n      }\n\n      if (['', 'static'].indexOf(doc.body.style.position) === -1 || ['', 'static'].indexOf(doc.body.parentElement.style.position) === -1) {\n        // Absolute positioning in the body will be relative to the page, not the 'initial containing block'\n        next.page.bottom = doc.body.scrollHeight - top - height;\n        next.page.right = doc.body.scrollWidth - left - width;\n      }\n\n      if (typeof this.options.optimizations !== 'undefined' && this.options.optimizations.moveElement !== false && !(typeof this.targetModifier !== 'undefined')) {\n        (function () {\n          var offsetParent = _this7.cache('target-offsetparent', function () {\n            return getOffsetParent(_this7.target);\n          });\n          var offsetPosition = _this7.cache('target-offsetparent-bounds', function () {\n            return getBounds(offsetParent);\n          });\n          var offsetParentStyle = getComputedStyle(offsetParent);\n          var offsetParentSize = offsetPosition;\n\n          var offsetBorder = {};\n          ['Top', 'Left', 'Bottom', 'Right'].forEach(function (side) {\n            offsetBorder[side.toLowerCase()] = parseFloat(offsetParentStyle['border' + side + 'Width']);\n          });\n\n          offsetPosition.right = doc.body.scrollWidth - offsetPosition.left - offsetParentSize.width + offsetBorder.right;\n          offsetPosition.bottom = doc.body.scrollHeight - offsetPosition.top - offsetParentSize.height + offsetBorder.bottom;\n\n          if (next.page.top >= offsetPosition.top + offsetBorder.top && next.page.bottom >= offsetPosition.bottom) {\n            if (next.page.left >= offsetPosition.left + offsetBorder.left && next.page.right >= offsetPosition.right) {\n              // We're within the visible part of the target's scroll parent\n              var scrollTop = offsetParent.scrollTop;\n              var scrollLeft = offsetParent.scrollLeft;\n\n              // It's position relative to the target's offset parent (absolute positioning when\n              // the element is moved to be a child of the target's offset parent).\n              next.offset = {\n                top: next.page.top - offsetPosition.top + scrollTop - offsetBorder.top,\n                left: next.page.left - offsetPosition.left + scrollLeft - offsetBorder.left\n              };\n            }\n          }\n        })();\n      }\n\n      // We could also travel up the DOM and try each containing context, rather than only\n      // looking at the body, but we're gonna get diminishing returns.\n\n      this.move(next);\n\n      this.history.unshift(next);\n\n      if (this.history.length > 3) {\n        this.history.pop();\n      }\n\n      if (flushChanges) {\n        flush();\n      }\n\n      return true;\n    }\n\n    // THE ISSUE\n  }, {\n    key: 'move',\n    value: function move(pos) {\n      var _this8 = this;\n\n      if (!(typeof this.element.parentNode !== 'undefined')) {\n        return;\n      }\n\n      var same = {};\n\n      for (var type in pos) {\n        same[type] = {};\n\n        for (var key in pos[type]) {\n          var found = false;\n\n          for (var i = 0; i < this.history.length; ++i) {\n            var point = this.history[i];\n            if (typeof point[type] !== 'undefined' && !within(point[type][key], pos[type][key])) {\n              found = true;\n              break;\n            }\n          }\n\n          if (!found) {\n            same[type][key] = true;\n          }\n        }\n      }\n\n      var css = { top: '', left: '', right: '', bottom: '' };\n\n      var transcribe = function transcribe(_same, _pos) {\n        var hasOptimizations = typeof _this8.options.optimizations !== 'undefined';\n        var gpu = hasOptimizations ? _this8.options.optimizations.gpu : null;\n        if (gpu !== false) {\n          var yPos = undefined,\n              xPos = undefined;\n          if (_same.top) {\n            css.top = 0;\n            yPos = _pos.top;\n          } else {\n            css.bottom = 0;\n            yPos = -_pos.bottom;\n          }\n\n          if (_same.left) {\n            css.left = 0;\n            xPos = _pos.left;\n          } else {\n            css.right = 0;\n            xPos = -_pos.right;\n          }\n\n          if (window.matchMedia) {\n            // HubSpot/tether#207\n            var retina = window.matchMedia('only screen and (min-resolution: 1.3dppx)').matches || window.matchMedia('only screen and (-webkit-min-device-pixel-ratio: 1.3)').matches;\n            if (!retina) {\n              xPos = Math.round(xPos);\n              yPos = Math.round(yPos);\n            }\n          }\n\n          css[transformKey] = 'translateX(' + xPos + 'px) translateY(' + yPos + 'px)';\n\n          if (transformKey !== 'msTransform') {\n            // The Z transform will keep this in the GPU (faster, and prevents artifacts),\n            // but IE9 doesn't support 3d transforms and will choke.\n            css[transformKey] += \" translateZ(0)\";\n          }\n        } else {\n          if (_same.top) {\n            css.top = _pos.top + 'px';\n          } else {\n            css.bottom = _pos.bottom + 'px';\n          }\n\n          if (_same.left) {\n            css.left = _pos.left + 'px';\n          } else {\n            css.right = _pos.right + 'px';\n          }\n        }\n      };\n\n      var moved = false;\n      if ((same.page.top || same.page.bottom) && (same.page.left || same.page.right)) {\n        css.position = 'absolute';\n        transcribe(same.page, pos.page);\n      } else if ((same.viewport.top || same.viewport.bottom) && (same.viewport.left || same.viewport.right)) {\n        css.position = 'fixed';\n        transcribe(same.viewport, pos.viewport);\n      } else if (typeof same.offset !== 'undefined' && same.offset.top && same.offset.left) {\n        (function () {\n          css.position = 'absolute';\n          var offsetParent = _this8.cache('target-offsetparent', function () {\n            return getOffsetParent(_this8.target);\n          });\n\n          if (getOffsetParent(_this8.element) !== offsetParent) {\n            defer(function () {\n              _this8.element.parentNode.removeChild(_this8.element);\n              offsetParent.appendChild(_this8.element);\n            });\n          }\n\n          transcribe(same.offset, pos.offset);\n          moved = true;\n        })();\n      } else {\n        css.position = 'absolute';\n        transcribe({ top: true, left: true }, pos.page);\n      }\n\n      if (!moved) {\n        if (this.options.bodyElement) {\n          this.options.bodyElement.appendChild(this.element);\n        } else {\n          var offsetParentIsBody = true;\n          var currentNode = this.element.parentNode;\n          while (currentNode && currentNode.nodeType === 1 && currentNode.tagName !== 'BODY') {\n            if (getComputedStyle(currentNode).position !== 'static') {\n              offsetParentIsBody = false;\n              break;\n            }\n\n            currentNode = currentNode.parentNode;\n          }\n\n          if (!offsetParentIsBody) {\n            this.element.parentNode.removeChild(this.element);\n            this.element.ownerDocument.body.appendChild(this.element);\n          }\n        }\n      }\n\n      // Any css change will trigger a repaint, so let's avoid one if nothing changed\n      var writeCSS = {};\n      var write = false;\n      for (var key in css) {\n        var val = css[key];\n        var elVal = this.element.style[key];\n\n        if (elVal !== val) {\n          write = true;\n          writeCSS[key] = val;\n        }\n      }\n\n      if (write) {\n        defer(function () {\n          extend(_this8.element.style, writeCSS);\n          _this8.trigger('repositioned');\n        });\n      }\n    }\n  }]);\n\n  return TetherClass;\n})(Evented);\n\nTetherClass.modules = [];\n\nTetherBase.position = position;\n\nvar Tether = extend(TetherClass, TetherBase);\n/* globals TetherBase */\n\n'use strict';\n\nvar _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i['return']) _i['return'](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError('Invalid attempt to destructure non-iterable instance'); } }; })();\n\nvar _TetherBase$Utils = TetherBase.Utils;\nvar getBounds = _TetherBase$Utils.getBounds;\nvar extend = _TetherBase$Utils.extend;\nvar updateClasses = _TetherBase$Utils.updateClasses;\nvar defer = _TetherBase$Utils.defer;\n\nvar BOUNDS_FORMAT = ['left', 'top', 'right', 'bottom'];\n\nfunction getBoundingRect(tether, to) {\n  if (to === 'scrollParent') {\n    to = tether.scrollParents[0];\n  } else if (to === 'window') {\n    to = [pageXOffset, pageYOffset, innerWidth + pageXOffset, innerHeight + pageYOffset];\n  }\n\n  if (to === document) {\n    to = to.documentElement;\n  }\n\n  if (typeof to.nodeType !== 'undefined') {\n    (function () {\n      var node = to;\n      var size = getBounds(to);\n      var pos = size;\n      var style = getComputedStyle(to);\n\n      to = [pos.left, pos.top, size.width + pos.left, size.height + pos.top];\n\n      // Account any parent Frames scroll offset\n      if (node.ownerDocument !== document) {\n        var win = node.ownerDocument.defaultView;\n        to[0] += win.pageXOffset;\n        to[1] += win.pageYOffset;\n        to[2] += win.pageXOffset;\n        to[3] += win.pageYOffset;\n      }\n\n      BOUNDS_FORMAT.forEach(function (side, i) {\n        side = side[0].toUpperCase() + side.substr(1);\n        if (side === 'Top' || side === 'Left') {\n          to[i] += parseFloat(style['border' + side + 'Width']);\n        } else {\n          to[i] -= parseFloat(style['border' + side + 'Width']);\n        }\n      });\n    })();\n  }\n\n  return to;\n}\n\nTetherBase.modules.push({\n  position: function position(_ref) {\n    var _this = this;\n\n    var top = _ref.top;\n    var left = _ref.left;\n    var targetAttachment = _ref.targetAttachment;\n\n    if (!this.options.constraints) {\n      return true;\n    }\n\n    var _cache = this.cache('element-bounds', function () {\n      return getBounds(_this.element);\n    });\n\n    var height = _cache.height;\n    var width = _cache.width;\n\n    if (width === 0 && height === 0 && typeof this.lastSize !== 'undefined') {\n      var _lastSize = this.lastSize;\n\n      // Handle the item getting hidden as a result of our positioning without glitching\n      // the classes in and out\n      width = _lastSize.width;\n      height = _lastSize.height;\n    }\n\n    var targetSize = this.cache('target-bounds', function () {\n      return _this.getTargetBounds();\n    });\n\n    var targetHeight = targetSize.height;\n    var targetWidth = targetSize.width;\n\n    var allClasses = [this.getClass('pinned'), this.getClass('out-of-bounds')];\n\n    this.options.constraints.forEach(function (constraint) {\n      var outOfBoundsClass = constraint.outOfBoundsClass;\n      var pinnedClass = constraint.pinnedClass;\n\n      if (outOfBoundsClass) {\n        allClasses.push(outOfBoundsClass);\n      }\n      if (pinnedClass) {\n        allClasses.push(pinnedClass);\n      }\n    });\n\n    allClasses.forEach(function (cls) {\n      ['left', 'top', 'right', 'bottom'].forEach(function (side) {\n        allClasses.push(cls + '-' + side);\n      });\n    });\n\n    var addClasses = [];\n\n    var tAttachment = extend({}, targetAttachment);\n    var eAttachment = extend({}, this.attachment);\n\n    this.options.constraints.forEach(function (constraint) {\n      var to = constraint.to;\n      var attachment = constraint.attachment;\n      var pin = constraint.pin;\n\n      if (typeof attachment === 'undefined') {\n        attachment = '';\n      }\n\n      var changeAttachX = undefined,\n          changeAttachY = undefined;\n      if (attachment.indexOf(' ') >= 0) {\n        var _attachment$split = attachment.split(' ');\n\n        var _attachment$split2 = _slicedToArray(_attachment$split, 2);\n\n        changeAttachY = _attachment$split2[0];\n        changeAttachX = _attachment$split2[1];\n      } else {\n        changeAttachX = changeAttachY = attachment;\n      }\n\n      var bounds = getBoundingRect(_this, to);\n\n      if (changeAttachY === 'target' || changeAttachY === 'both') {\n        if (top < bounds[1] && tAttachment.top === 'top') {\n          top += targetHeight;\n          tAttachment.top = 'bottom';\n        }\n\n        if (top + height > bounds[3] && tAttachment.top === 'bottom') {\n          top -= targetHeight;\n          tAttachment.top = 'top';\n        }\n      }\n\n      if (changeAttachY === 'together') {\n        if (tAttachment.top === 'top') {\n          if (eAttachment.top === 'bottom' && top < bounds[1]) {\n            top += targetHeight;\n            tAttachment.top = 'bottom';\n\n            top += height;\n            eAttachment.top = 'top';\n          } else if (eAttachment.top === 'top' && top + height > bounds[3] && top - (height - targetHeight) >= bounds[1]) {\n            top -= height - targetHeight;\n            tAttachment.top = 'bottom';\n\n            eAttachment.top = 'bottom';\n          }\n        }\n\n        if (tAttachment.top === 'bottom') {\n          if (eAttachment.top === 'top' && top + height > bounds[3]) {\n            top -= targetHeight;\n            tAttachment.top = 'top';\n\n            top -= height;\n            eAttachment.top = 'bottom';\n          } else if (eAttachment.top === 'bottom' && top < bounds[1] && top + (height * 2 - targetHeight) <= bounds[3]) {\n            top += height - targetHeight;\n            tAttachment.top = 'top';\n\n            eAttachment.top = 'top';\n          }\n        }\n\n        if (tAttachment.top === 'middle') {\n          if (top + height > bounds[3] && eAttachment.top === 'top') {\n            top -= height;\n            eAttachment.top = 'bottom';\n          } else if (top < bounds[1] && eAttachment.top === 'bottom') {\n            top += height;\n            eAttachment.top = 'top';\n          }\n        }\n      }\n\n      if (changeAttachX === 'target' || changeAttachX === 'both') {\n        if (left < bounds[0] && tAttachment.left === 'left') {\n          left += targetWidth;\n          tAttachment.left = 'right';\n        }\n\n        if (left + width > bounds[2] && tAttachment.left === 'right') {\n          left -= targetWidth;\n          tAttachment.left = 'left';\n        }\n      }\n\n      if (changeAttachX === 'together') {\n        if (left < bounds[0] && tAttachment.left === 'left') {\n          if (eAttachment.left === 'right') {\n            left += targetWidth;\n            tAttachment.left = 'right';\n\n            left += width;\n            eAttachment.left = 'left';\n          } else if (eAttachment.left === 'left') {\n            left += targetWidth;\n            tAttachment.left = 'right';\n\n            left -= width;\n            eAttachment.left = 'right';\n          }\n        } else if (left + width > bounds[2] && tAttachment.left === 'right') {\n          if (eAttachment.left === 'left') {\n            left -= targetWidth;\n            tAttachment.left = 'left';\n\n            left -= width;\n            eAttachment.left = 'right';\n          } else if (eAttachment.left === 'right') {\n            left -= targetWidth;\n            tAttachment.left = 'left';\n\n            left += width;\n            eAttachment.left = 'left';\n          }\n        } else if (tAttachment.left === 'center') {\n          if (left + width > bounds[2] && eAttachment.left === 'left') {\n            left -= width;\n            eAttachment.left = 'right';\n          } else if (left < bounds[0] && eAttachment.left === 'right') {\n            left += width;\n            eAttachment.left = 'left';\n          }\n        }\n      }\n\n      if (changeAttachY === 'element' || changeAttachY === 'both') {\n        if (top < bounds[1] && eAttachment.top === 'bottom') {\n          top += height;\n          eAttachment.top = 'top';\n        }\n\n        if (top + height > bounds[3] && eAttachment.top === 'top') {\n          top -= height;\n          eAttachment.top = 'bottom';\n        }\n      }\n\n      if (changeAttachX === 'element' || changeAttachX === 'both') {\n        if (left < bounds[0]) {\n          if (eAttachment.left === 'right') {\n            left += width;\n            eAttachment.left = 'left';\n          } else if (eAttachment.left === 'center') {\n            left += width / 2;\n            eAttachment.left = 'left';\n          }\n        }\n\n        if (left + width > bounds[2]) {\n          if (eAttachment.left === 'left') {\n            left -= width;\n            eAttachment.left = 'right';\n          } else if (eAttachment.left === 'center') {\n            left -= width / 2;\n            eAttachment.left = 'right';\n          }\n        }\n      }\n\n      if (typeof pin === 'string') {\n        pin = pin.split(',').map(function (p) {\n          return p.trim();\n        });\n      } else if (pin === true) {\n        pin = ['top', 'left', 'right', 'bottom'];\n      }\n\n      pin = pin || [];\n\n      var pinned = [];\n      var oob = [];\n\n      if (top < bounds[1]) {\n        if (pin.indexOf('top') >= 0) {\n          top = bounds[1];\n          pinned.push('top');\n        } else {\n          oob.push('top');\n        }\n      }\n\n      if (top + height > bounds[3]) {\n        if (pin.indexOf('bottom') >= 0) {\n          top = bounds[3] - height;\n          pinned.push('bottom');\n        } else {\n          oob.push('bottom');\n        }\n      }\n\n      if (left < bounds[0]) {\n        if (pin.indexOf('left') >= 0) {\n          left = bounds[0];\n          pinned.push('left');\n        } else {\n          oob.push('left');\n        }\n      }\n\n      if (left + width > bounds[2]) {\n        if (pin.indexOf('right') >= 0) {\n          left = bounds[2] - width;\n          pinned.push('right');\n        } else {\n          oob.push('right');\n        }\n      }\n\n      if (pinned.length) {\n        (function () {\n          var pinnedClass = undefined;\n          if (typeof _this.options.pinnedClass !== 'undefined') {\n            pinnedClass = _this.options.pinnedClass;\n          } else {\n            pinnedClass = _this.getClass('pinned');\n          }\n\n          addClasses.push(pinnedClass);\n          pinned.forEach(function (side) {\n            addClasses.push(pinnedClass + '-' + side);\n          });\n        })();\n      }\n\n      if (oob.length) {\n        (function () {\n          var oobClass = undefined;\n          if (typeof _this.options.outOfBoundsClass !== 'undefined') {\n            oobClass = _this.options.outOfBoundsClass;\n          } else {\n            oobClass = _this.getClass('out-of-bounds');\n          }\n\n          addClasses.push(oobClass);\n          oob.forEach(function (side) {\n            addClasses.push(oobClass + '-' + side);\n          });\n        })();\n      }\n\n      if (pinned.indexOf('left') >= 0 || pinned.indexOf('right') >= 0) {\n        eAttachment.left = tAttachment.left = false;\n      }\n      if (pinned.indexOf('top') >= 0 || pinned.indexOf('bottom') >= 0) {\n        eAttachment.top = tAttachment.top = false;\n      }\n\n      if (tAttachment.top !== targetAttachment.top || tAttachment.left !== targetAttachment.left || eAttachment.top !== _this.attachment.top || eAttachment.left !== _this.attachment.left) {\n        _this.updateAttachClasses(eAttachment, tAttachment);\n        _this.trigger('update', {\n          attachment: eAttachment,\n          targetAttachment: tAttachment\n        });\n      }\n    });\n\n    defer(function () {\n      if (!(_this.options.addTargetClasses === false)) {\n        updateClasses(_this.target, addClasses, allClasses);\n      }\n      updateClasses(_this.element, addClasses, allClasses);\n    });\n\n    return { top: top, left: left };\n  }\n});\n/* globals TetherBase */\n\n'use strict';\n\nvar _TetherBase$Utils = TetherBase.Utils;\nvar getBounds = _TetherBase$Utils.getBounds;\nvar updateClasses = _TetherBase$Utils.updateClasses;\nvar defer = _TetherBase$Utils.defer;\n\nTetherBase.modules.push({\n  position: function position(_ref) {\n    var _this = this;\n\n    var top = _ref.top;\n    var left = _ref.left;\n\n    var _cache = this.cache('element-bounds', function () {\n      return getBounds(_this.element);\n    });\n\n    var height = _cache.height;\n    var width = _cache.width;\n\n    var targetPos = this.getTargetBounds();\n\n    var bottom = top + height;\n    var right = left + width;\n\n    var abutted = [];\n    if (top <= targetPos.bottom && bottom >= targetPos.top) {\n      ['left', 'right'].forEach(function (side) {\n        var targetPosSide = targetPos[side];\n        if (targetPosSide === left || targetPosSide === right) {\n          abutted.push(side);\n        }\n      });\n    }\n\n    if (left <= targetPos.right && right >= targetPos.left) {\n      ['top', 'bottom'].forEach(function (side) {\n        var targetPosSide = targetPos[side];\n        if (targetPosSide === top || targetPosSide === bottom) {\n          abutted.push(side);\n        }\n      });\n    }\n\n    var allClasses = [];\n    var addClasses = [];\n\n    var sides = ['left', 'top', 'right', 'bottom'];\n    allClasses.push(this.getClass('abutted'));\n    sides.forEach(function (side) {\n      allClasses.push(_this.getClass('abutted') + '-' + side);\n    });\n\n    if (abutted.length) {\n      addClasses.push(this.getClass('abutted'));\n    }\n\n    abutted.forEach(function (side) {\n      addClasses.push(_this.getClass('abutted') + '-' + side);\n    });\n\n    defer(function () {\n      if (!(_this.options.addTargetClasses === false)) {\n        updateClasses(_this.target, addClasses, allClasses);\n      }\n      updateClasses(_this.element, addClasses, allClasses);\n    });\n\n    return true;\n  }\n});\n/* globals TetherBase */\n\n'use strict';\n\nvar _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i['return']) _i['return'](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError('Invalid attempt to destructure non-iterable instance'); } }; })();\n\nTetherBase.modules.push({\n  position: function position(_ref) {\n    var top = _ref.top;\n    var left = _ref.left;\n\n    if (!this.options.shift) {\n      return;\n    }\n\n    var shift = this.options.shift;\n    if (typeof this.options.shift === 'function') {\n      shift = this.options.shift.call(this, { top: top, left: left });\n    }\n\n    var shiftTop = undefined,\n        shiftLeft = undefined;\n    if (typeof shift === 'string') {\n      shift = shift.split(' ');\n      shift[1] = shift[1] || shift[0];\n\n      var _shift = shift;\n\n      var _shift2 = _slicedToArray(_shift, 2);\n\n      shiftTop = _shift2[0];\n      shiftLeft = _shift2[1];\n\n      shiftTop = parseFloat(shiftTop, 10);\n      shiftLeft = parseFloat(shiftLeft, 10);\n    } else {\n      shiftTop = shift.top;\n      shiftLeft = shift.left;\n    }\n\n    top += shiftTop;\n    left += shiftLeft;\n\n    return { top: top, left: left };\n  }\n});\nreturn Tether;\n\n}));\n","if (typeof FastBoot === 'undefined') {\n;(function(root, factory) {\n  if (typeof define === 'function' && define.amd) {\n    define([], factory);\n  } else if (typeof exports === 'object') {\n    module.exports = factory();\n  } else {\n    root.disableScroll = factory();\n  }\n}(this, function() {\nvar disableScroll = {\n  // spacebar: 32, pageup: 33, pagedown: 34, end: 35, home: 36\n  // left: 37, up: 38, right: 39, down: 40\n  options: {\n    disableWheel: true,\n    disableScrollbar: true,\n    disableKeys: true,\n    scrollEventKeys: [32, 33, 34, 35, 36, 37, 38, 39, 40]\n  },\n  element: document.body,\n  lockToScrollPos: [0, 0],\n\n  /**\n   * Disable Page Scroll\n   * @external Node\n   *\n   * @param {external:Node} [element] - DOM Element, usually document.body\n   * @param {object} [options] - Change the initial options\n   */\n  on: function (element, options) {\n    this.element = element || document.body;\n    this.options = this._extend(this.options, options);\n\n    if (this.options.disableWheel) {\n      document.addEventListener('mousewheel', this._handleWheel);\n      document.addEventListener('DOMMouseScroll', this._handleWheel);\n      document.addEventListener('touchmove', this._handleWheel);\n    }\n\n    if (this.options.disableScrollbar) {\n      this.lockToScrollPos = [\n        this.element.scrollLeft,\n        this.element.scrollTop\n      ];\n      this._disableScrollbarFn = this._handleScrollbar.bind(this);\n      document.addEventListener('scroll', this._disableScrollbarFn);\n    }\n\n    if (this.options.disableKeys) {\n      this._disableKeysFn = this._handleKeydown.bind(this);\n      document.addEventListener('keydown', this._disableKeysFn);\n    }\n  },\n\n  /**\n   * Re-enable page scrolls\n   */\n  off: function () {\n    document.removeEventListener('mousewheel', this._handleWheel);\n    document.removeEventListener('DOMMouseScroll', this._handleWheel);\n    document.removeEventListener('touchmove', this._handleWheel);\n    document.removeEventListener('scroll', this._disableScrollbarFn);\n    document.removeEventListener('keydown', this._disableKeysFn);\n  },\n\n  _handleWheel: function (e) {\n    e.preventDefault();\n  },\n\n  _handleScrollbar: function () {\n    window.scrollTo(this.lockToScrollPos[0], this.lockToScrollPos[1]);\n  },\n\n  _handleKeydown: function (event) {\n    for (var i = 0; i < this.options.scrollEventKeys.length; i++) {\n      if (event.keyCode === this.options.scrollEventKeys[i]) {\n        event.preventDefault();\n        return false;\n      }\n    }\n  },\n\n  _extend: function (original, extender) {\n    var destination = original;\n\n    for (var prop in extender) {\n      if (extender.hasOwnProperty(prop)) {\n        destination[prop] = extender[prop];\n      }\n    }\n\n    return destination;\n  }\n};\n\nreturn disableScroll;\n}));\n\n}","if (typeof FastBoot === 'undefined') {\n/*! tether-shepherd 1.8.1 */\n\n(function(root, factory) {\n  if (typeof define === 'function' && define.amd) {\n    define([\"tether\"], factory);\n  } else if (typeof exports === 'object') {\n    module.exports = factory(require('tether'));\n  } else {\n    root.Shepherd = factory(root.Tether);\n  }\n}(this, function(Tether) {\n\n/* global Tether */\n\n'use strict';\n\nvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\nvar _get = function get(_x5, _x6, _x7) { var _again = true; _function: while (_again) { var object = _x5, property = _x6, receiver = _x7; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x5 = parent; _x6 = property; _x7 = receiver; _again = true; desc = parent = undefined; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar _Tether$Utils = Tether.Utils;\nvar Evented = _Tether$Utils.Evented;\nvar addClass = _Tether$Utils.addClass;\nvar extend = _Tether$Utils.extend;\nvar hasClass = _Tether$Utils.hasClass;\nvar removeClass = _Tether$Utils.removeClass;\nvar uniqueId = _Tether$Utils.uniqueId;\n\nvar Shepherd = new Evented();\n\nfunction isUndefined(obj) {\n  return typeof obj === 'undefined';\n};\n\nfunction isArray(obj) {\n  return obj && obj.constructor === Array;\n};\n\nfunction isObject(obj) {\n  return obj && obj.constructor === Object;\n};\n\nfunction isObjectLoose(obj) {\n  return typeof obj === 'object';\n};\n\nvar ATTACHMENT = {\n  'top right': 'bottom left',\n  'top left': 'bottom right',\n  'top center': 'bottom center',\n  'middle right': 'middle left',\n  'middle left': 'middle right',\n  'middle center': 'middle center',\n  'bottom left': 'top right',\n  'bottom right': 'top left',\n  'bottom center': 'top center',\n  'top': 'bottom center',\n  'left': 'middle right',\n  'right': 'middle left',\n  'bottom': 'top center',\n  'center': 'middle center',\n  'middle': 'middle center'\n};\n\nfunction createFromHTML(html) {\n  var el = document.createElement('div');\n  el.innerHTML = html;\n  return el.children[0];\n}\n\nfunction matchesSelector(el, sel) {\n  var matches = undefined;\n  if (!isUndefined(el.matches)) {\n    matches = el.matches;\n  } else if (!isUndefined(el.matchesSelector)) {\n    matches = el.matchesSelector;\n  } else if (!isUndefined(el.msMatchesSelector)) {\n    matches = el.msMatchesSelector;\n  } else if (!isUndefined(el.webkitMatchesSelector)) {\n    matches = el.webkitMatchesSelector;\n  } else if (!isUndefined(el.mozMatchesSelector)) {\n    matches = el.mozMatchesSelector;\n  } else if (!isUndefined(el.oMatchesSelector)) {\n    matches = el.oMatchesSelector;\n  }\n  return matches.call(el, sel);\n}\n\nvar positionRe = /^(.+) (top|left|right|bottom|center|\\[[a-z ]+\\])$/;\n\nfunction parsePosition(str) {\n  if (isObjectLoose(str)) {\n    if (str.hasOwnProperty(\"element\") && str.hasOwnProperty(\"on\")) {\n      return str;\n    }\n    return null;\n  }\n\n  var matches = positionRe.exec(str);\n  if (!matches) {\n    return null;\n  }\n\n  var on = matches[2];\n  if (on[0] === '[') {\n    on = on.substring(1, on.length - 1);\n  }\n\n  return {\n    'element': matches[1],\n    'on': on\n  };\n}\n\nfunction parseShorthand(obj, props) {\n  if (obj === null || isUndefined(obj)) {\n    return obj;\n  } else if (isObjectLoose(obj)) {\n    return obj;\n  }\n\n  var vals = obj.split(' ');\n  var out = {};\n  var j = props.length - 1;\n  for (var i = vals.length - 1; i >= 0; i--) {\n    if (j === 0) {\n      out[props[j]] = vals.slice(0, i + 1).join(' ');\n      break;\n    } else {\n      out[props[j]] = vals[i];\n    }\n\n    j--;\n  }\n\n  return out;\n}\n\nvar Step = (function (_Evented) {\n  _inherits(Step, _Evented);\n\n  function Step(tour, options) {\n    _classCallCheck(this, Step);\n\n    _get(Object.getPrototypeOf(Step.prototype), 'constructor', this).call(this, tour, options);\n    this.tour = tour;\n    this.bindMethods();\n    this.setOptions(options);\n    return this;\n  }\n\n  _createClass(Step, [{\n    key: 'bindMethods',\n    value: function bindMethods() {\n      var _this = this;\n\n      var methods = ['_show', 'show', 'hide', 'isOpen', 'cancel', 'complete', 'scrollTo', 'destroy', 'render'];\n      methods.map(function (method) {\n        _this[method] = _this[method].bind(_this);\n      });\n    }\n  }, {\n    key: 'setOptions',\n    value: function setOptions() {\n      var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\n      this.options = options;\n      this.destroy();\n\n      this.id = this.options.id || this.id || 'step-' + uniqueId();\n\n      var when = this.options.when;\n      if (when) {\n        for (var _event in when) {\n          if (({}).hasOwnProperty.call(when, _event)) {\n            var handler = when[_event];\n            this.on(_event, handler, this);\n          }\n        }\n      }\n\n      // Button configuration\n\n      var buttonsJson = JSON.stringify(this.options.buttons);\n      var buttonsAreDefault = isUndefined(buttonsJson) || buttonsJson === \"true\";\n\n      var buttonsAreEmpty = buttonsJson === \"{}\" || buttonsJson === \"[]\" || buttonsJson === \"null\" || buttonsJson === \"false\";\n\n      var buttonsAreArray = !buttonsAreDefault && isArray(this.options.buttons);\n\n      var buttonsAreObject = !buttonsAreDefault && isObject(this.options.buttons);\n\n      // Show default button if undefined or 'true'\n      if (buttonsAreDefault) {\n        this.options.buttons = [{\n          text: 'Next',\n          action: this.tour.next,\n          classes: 'btn'\n        }];\n\n        // Can pass in an object which will assume asingle button\n      } else if (!buttonsAreEmpty && buttonsAreObject) {\n          this.options.buttons = [this.options.buttons];\n\n          // Falsey/empty values or non-object values prevent buttons from rendering\n        } else if (buttonsAreEmpty || !buttonsAreArray) {\n            this.options.buttons = false;\n          }\n    }\n  }, {\n    key: 'getTour',\n    value: function getTour() {\n      return this.tour;\n    }\n  }, {\n    key: 'bindAdvance',\n    value: function bindAdvance() {\n      var _this2 = this;\n\n      // An empty selector matches the step element\n\n      var _parseShorthand = parseShorthand(this.options.advanceOn, ['selector', 'event']);\n\n      var event = _parseShorthand.event;\n      var selector = _parseShorthand.selector;\n\n      var handler = function handler(e) {\n        if (!_this2.isOpen()) {\n          return;\n        }\n\n        if (!isUndefined(selector)) {\n          if (matchesSelector(e.target, selector)) {\n            _this2.tour.next();\n          }\n        } else {\n          if (_this2.el && e.target === _this2.el) {\n            _this2.tour.next();\n          }\n        }\n      };\n\n      // TODO: this should also bind/unbind on show/hide\n      document.body.addEventListener(event, handler);\n      this.on('destroy', function () {\n        return document.body.removeEventListener(event, handler);\n      });\n    }\n  }, {\n    key: 'getAttachTo',\n    value: function getAttachTo() {\n      var opts = parsePosition(this.options.attachTo) || {};\n      var returnOpts = extend({}, opts);\n\n      if (typeof opts.element === 'string') {\n        // Can't override the element in user opts reference because we can't\n        // guarantee that the element will exist in the future.\n        returnOpts.element = document.querySelector(opts.element);\n        if (!returnOpts.element) {\n          console.error('The element for this Shepherd step was not found ' + opts.element);\n        }\n      }\n\n      return returnOpts;\n    }\n  }, {\n    key: 'setupTether',\n    value: function setupTether() {\n      if (isUndefined(Tether)) {\n        throw new Error(\"Using the attachment feature of Shepherd requires the Tether library\");\n      }\n\n      var opts = this.getAttachTo();\n      var attachment = ATTACHMENT[opts.on] || ATTACHMENT.right;\n      if (isUndefined(opts.element)) {\n        opts.element = 'viewport';\n        attachment = 'middle center';\n      }\n\n      var tetherOpts = {\n        classPrefix: 'shepherd',\n        element: this.el,\n        constraints: [{\n          to: 'window',\n          pin: true,\n          attachment: 'together'\n        }],\n        target: opts.element,\n        offset: opts.offset || '0 0',\n        attachment: attachment\n      };\n\n      if (this.tether) {\n        this.tether.destroy();\n      }\n\n      this.tether = new Tether(extend(tetherOpts, this.options.tetherOptions));\n    }\n  }, {\n    key: 'show',\n    value: function show() {\n      var _this3 = this;\n\n      if (!isUndefined(this.options.beforeShowPromise)) {\n        var beforeShowPromise = this.options.beforeShowPromise();\n        if (!isUndefined(beforeShowPromise)) {\n          return beforeShowPromise.then(function () {\n            return _this3._show();\n          });\n        }\n      }\n      this._show();\n    }\n  }, {\n    key: '_show',\n    value: function _show() {\n      var _this4 = this;\n\n      this.trigger('before-show');\n\n      if (!this.el) {\n        this.render();\n      }\n\n      addClass(this.el, 'shepherd-open');\n\n      document.body.setAttribute('data-shepherd-step', this.id);\n\n      this.setupTether();\n\n      if (this.options.scrollTo) {\n        setTimeout(function () {\n          _this4.scrollTo();\n        });\n      }\n\n      this.trigger('show');\n    }\n  }, {\n    key: 'hide',\n    value: function hide() {\n      this.trigger('before-hide');\n\n      removeClass(this.el, 'shepherd-open');\n\n      document.body.removeAttribute('data-shepherd-step');\n\n      if (this.tether) {\n        this.tether.destroy();\n      }\n      this.tether = null;\n\n      this.trigger('hide');\n    }\n  }, {\n    key: 'isOpen',\n    value: function isOpen() {\n      return this.el && hasClass(this.el, 'shepherd-open');\n    }\n  }, {\n    key: 'cancel',\n    value: function cancel() {\n      this.tour.cancel();\n      this.trigger('cancel');\n    }\n  }, {\n    key: 'complete',\n    value: function complete() {\n      this.tour.complete();\n      this.trigger('complete');\n    }\n  }, {\n    key: 'scrollTo',\n    value: function scrollTo() {\n      var _getAttachTo = this.getAttachTo();\n\n      var element = _getAttachTo.element;\n\n      if (!isUndefined(this.options.scrollToHandler)) {\n        this.options.scrollToHandler(element);\n      } else if (!isUndefined(element)) {\n        element.scrollIntoView();\n      }\n    }\n  }, {\n    key: 'destroy',\n    value: function destroy() {\n      if (!isUndefined(this.el) && this.el.parentNode) {\n        this.el.parentNode.removeChild(this.el);\n        delete this.el;\n      }\n\n      if (this.tether) {\n        this.tether.destroy();\n      }\n      this.tether = null;\n\n      this.trigger('destroy');\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _this5 = this;\n\n      if (!isUndefined(this.el)) {\n        this.destroy();\n      }\n\n      this.el = createFromHTML('<div class=\\'shepherd-step ' + (this.options.classes || '') + '\\' data-id=\\'' + this.id + '\\' ' + (this.options.idAttribute ? 'id=\"' + this.options.idAttribute + '\"' : '') + '></div>');\n\n      var content = document.createElement('div');\n      content.className = 'shepherd-content';\n      this.el.appendChild(content);\n\n      var header = document.createElement('header');\n      content.appendChild(header);\n\n      if (this.options.title) {\n        header.innerHTML += '<h3 class=\\'shepherd-title\\'>' + this.options.title + '</h3>';\n        this.el.className += ' shepherd-has-title';\n      }\n\n      if (this.options.showCancelLink) {\n        var link = createFromHTML(\"<a href class='shepherd-cancel-link'>✕</a>\");\n        header.appendChild(link);\n\n        this.el.className += ' shepherd-has-cancel-link';\n\n        this.bindCancelLink(link);\n      }\n\n      if (!isUndefined(this.options.text)) {\n        (function () {\n          var text = createFromHTML(\"<div class='shepherd-text'></div>\");\n          var paragraphs = _this5.options.text;\n\n          if (typeof paragraphs === 'function') {\n            paragraphs = paragraphs.call(_this5, text);\n          }\n\n          if (paragraphs instanceof HTMLElement) {\n            text.appendChild(paragraphs);\n          } else {\n            if (typeof paragraphs === 'string') {\n              paragraphs = [paragraphs];\n            }\n\n            paragraphs.map(function (paragraph) {\n              text.innerHTML += '<p>' + paragraph + '</p>';\n            });\n          }\n\n          content.appendChild(text);\n        })();\n      }\n\n      if (this.options.buttons) {\n        (function () {\n          var footer = document.createElement('footer');\n          var buttons = createFromHTML(\"<ul class='shepherd-buttons'></ul>\");\n\n          _this5.options.buttons.map(function (cfg) {\n            var button = createFromHTML('<li><a class=\\'shepherd-button ' + (cfg.classes || '') + '\\'>' + cfg.text + '</a>');\n            buttons.appendChild(button);\n            _this5.bindButtonEvents(cfg, button.querySelector('a'));\n          });\n\n          footer.appendChild(buttons);\n          content.appendChild(footer);\n        })();\n      }\n\n      document.body.appendChild(this.el);\n\n      this.setupTether();\n\n      if (this.options.advanceOn) {\n        this.bindAdvance();\n      }\n    }\n  }, {\n    key: 'bindCancelLink',\n    value: function bindCancelLink(link) {\n      var _this6 = this;\n\n      link.addEventListener('click', function (e) {\n        e.preventDefault();\n        _this6.cancel();\n      });\n    }\n  }, {\n    key: 'bindButtonEvents',\n    value: function bindButtonEvents(cfg, el) {\n      var _this7 = this;\n\n      cfg.events = cfg.events || {};\n      if (!isUndefined(cfg.action)) {\n        // Including both a click event and an action is not supported\n        cfg.events.click = cfg.action;\n      }\n\n      for (var _event2 in cfg.events) {\n        if (({}).hasOwnProperty.call(cfg.events, _event2)) {\n          var handler = cfg.events[_event2];\n          if (typeof handler === 'string') {\n            (function () {\n              var page = handler;\n              handler = function () {\n                return _this7.tour.show(page);\n              };\n            })();\n          }\n          el.addEventListener(_event2, handler);\n        }\n      }\n\n      this.on('destroy', function () {\n        for (var _event3 in cfg.events) {\n          if (({}).hasOwnProperty.call(cfg.events, _event3)) {\n            var handler = cfg.events[_event3];\n            el.removeEventListener(_event3, handler);\n          }\n        }\n      });\n    }\n  }]);\n\n  return Step;\n})(Evented);\n\nvar Tour = (function (_Evented2) {\n  _inherits(Tour, _Evented2);\n\n  function Tour() {\n    var _this8 = this;\n\n    var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\n    _classCallCheck(this, Tour);\n\n    _get(Object.getPrototypeOf(Tour.prototype), 'constructor', this).call(this, options);\n    this.bindMethods();\n    this.options = options;\n    this.steps = this.options.steps || [];\n\n    // Pass these events onto the global Shepherd object\n    var events = ['complete', 'cancel', 'hide', 'start', 'show', 'active', 'inactive'];\n    events.map(function (event) {\n      (function (e) {\n        _this8.on(e, function (opts) {\n          opts = opts || {};\n          opts.tour = _this8;\n          Shepherd.trigger(e, opts);\n        });\n      })(event);\n    });\n\n    return this;\n  }\n\n  _createClass(Tour, [{\n    key: 'bindMethods',\n    value: function bindMethods() {\n      var _this9 = this;\n\n      var methods = ['next', 'back', 'cancel', 'complete', 'hide'];\n      methods.map(function (method) {\n        _this9[method] = _this9[method].bind(_this9);\n      });\n    }\n  }, {\n    key: 'addStep',\n    value: function addStep(name, step) {\n      if (isUndefined(step)) {\n        step = name;\n      }\n\n      if (!(step instanceof Step)) {\n        if (typeof name === 'string' || typeof name === 'number') {\n          step.id = name.toString();\n        }\n        step = extend({}, this.options.defaults, step);\n        step = new Step(this, step);\n      } else {\n        step.tour = this;\n      }\n\n      this.steps.push(step);\n      return this;\n    }\n  }, {\n    key: 'removeStep',\n    value: function removeStep(name) {\n      var current = this.getCurrentStep();\n\n      for (var i = 0; i < this.steps.length; ++i) {\n        var step = this.steps[i];\n        if (step.id === name) {\n          if (step.isOpen()) {\n            step.hide();\n          }\n          step.destroy();\n          this.steps.splice(i, 1);\n          break;\n        }\n      }\n\n      if (current && current.id === name) {\n        this.currentStep = undefined;\n\n        if (this.steps.length) this.show(0);else this.hide();\n      }\n    }\n  }, {\n    key: 'getById',\n    value: function getById(id) {\n      for (var i = 0; i < this.steps.length; ++i) {\n        var step = this.steps[i];\n        if (step.id === id) {\n          return step;\n        }\n      }\n    }\n  }, {\n    key: 'getCurrentStep',\n    value: function getCurrentStep() {\n      return this.currentStep;\n    }\n  }, {\n    key: 'next',\n    value: function next() {\n      var index = this.steps.indexOf(this.currentStep);\n\n      if (index === this.steps.length - 1) {\n        this.hide(index);\n        this.trigger('complete');\n        this.done();\n      } else {\n        this.show(index + 1, true);\n      }\n    }\n  }, {\n    key: 'back',\n    value: function back() {\n      var index = this.steps.indexOf(this.currentStep);\n      this.show(index - 1, false);\n    }\n  }, {\n    key: 'cancel',\n    value: function cancel() {\n      if (this.currentStep) {\n        this.currentStep.hide();\n      }\n      this.trigger('cancel');\n      this.done();\n    }\n  }, {\n    key: 'complete',\n    value: function complete() {\n      if (this.currentStep) {\n        this.currentStep.hide();\n      }\n      this.trigger('complete');\n      this.done();\n    }\n  }, {\n    key: 'hide',\n    value: function hide() {\n      if (this.currentStep) {\n        this.currentStep.hide();\n      }\n      this.trigger('hide');\n      this.done();\n    }\n  }, {\n    key: 'done',\n    value: function done() {\n      Shepherd.activeTour = null;\n      removeClass(document.body, 'shepherd-active');\n      this.trigger('inactive', { tour: this });\n    }\n  }, {\n    key: 'show',\n    value: function show() {\n      var key = arguments.length <= 0 || arguments[0] === undefined ? 0 : arguments[0];\n      var forward = arguments.length <= 1 || arguments[1] === undefined ? true : arguments[1];\n\n      if (this.currentStep) {\n        this.currentStep.hide();\n      } else {\n        addClass(document.body, 'shepherd-active');\n        this.trigger('active', { tour: this });\n      }\n\n      Shepherd.activeTour = this;\n\n      var next = undefined;\n\n      if (typeof key === 'string') {\n        next = this.getById(key);\n      } else {\n        next = this.steps[key];\n      }\n\n      if (next) {\n        if (!isUndefined(next.options.showOn) && !next.options.showOn()) {\n          var index = this.steps.indexOf(next);\n          var nextIndex = forward ? index + 1 : index - 1;\n          this.show(nextIndex, forward);\n        } else {\n          this.trigger('show', {\n            step: next,\n            previous: this.currentStep\n          });\n\n          if (this.currentStep) {\n            this.currentStep.hide();\n          }\n\n          this.currentStep = next;\n          next.show();\n        }\n      }\n    }\n  }, {\n    key: 'start',\n    value: function start() {\n      this.trigger('start');\n\n      this.currentStep = null;\n      this.next();\n    }\n  }]);\n\n  return Tour;\n})(Evented);\n\nextend(Shepherd, { Tour: Tour, Step: Step, Evented: Evented });\nreturn Shepherd;\n\n}));\n\n}","if (typeof FastBoot === 'undefined') { (function (global) {\n  define('fetch', ['ember', 'exports'], function(Ember, self) {\n    'use strict';\n    var Promise = Ember['default'].RSVP.Promise;\n    if (global.FormData) {\n      self.FormData = global.FormData;\n    }\n    if (global.FileReader) {\n      self.FileReader = global.FileReader;\n    }\n    if (global.Blob) {\n      self.Blob = global.Blob;\n    }\n\n    (function(self) {\n  'use strict';\n\n  if (self.fetch) {\n    return\n  }\n\n  var support = {\n    searchParams: 'URLSearchParams' in self,\n    iterable: 'Symbol' in self && 'iterator' in Symbol,\n    blob: 'FileReader' in self && 'Blob' in self && (function() {\n      try {\n        new Blob()\n        return true\n      } catch(e) {\n        return false\n      }\n    })(),\n    formData: 'FormData' in self,\n    arrayBuffer: 'ArrayBuffer' in self\n  }\n\n  if (support.arrayBuffer) {\n    var viewClasses = [\n      '[object Int8Array]',\n      '[object Uint8Array]',\n      '[object Uint8ClampedArray]',\n      '[object Int16Array]',\n      '[object Uint16Array]',\n      '[object Int32Array]',\n      '[object Uint32Array]',\n      '[object Float32Array]',\n      '[object Float64Array]'\n    ]\n\n    var isDataView = function(obj) {\n      return obj && DataView.prototype.isPrototypeOf(obj)\n    }\n\n    var isArrayBufferView = ArrayBuffer.isView || function(obj) {\n      return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n    }\n  }\n\n  function normalizeName(name) {\n    if (typeof name !== 'string') {\n      name = String(name)\n    }\n    if (/[^a-z0-9\\-#$%&'*+.\\^_`|~]/i.test(name)) {\n      throw new TypeError('Invalid character in header field name')\n    }\n    return name.toLowerCase()\n  }\n\n  function normalizeValue(value) {\n    if (typeof value !== 'string') {\n      value = String(value)\n    }\n    return value\n  }\n\n  // Build a destructive iterator for the value list\n  function iteratorFor(items) {\n    var iterator = {\n      next: function() {\n        var value = items.shift()\n        return {done: value === undefined, value: value}\n      }\n    }\n\n    if (support.iterable) {\n      iterator[Symbol.iterator] = function() {\n        return iterator\n      }\n    }\n\n    return iterator\n  }\n\n  function Headers(headers) {\n    this.map = {}\n\n    if (headers instanceof Headers) {\n      headers.forEach(function(value, name) {\n        this.append(name, value)\n      }, this)\n    } else if (Array.isArray(headers)) {\n      headers.forEach(function(header) {\n        this.append(header[0], header[1])\n      }, this)\n    } else if (headers) {\n      Object.getOwnPropertyNames(headers).forEach(function(name) {\n        this.append(name, headers[name])\n      }, this)\n    }\n  }\n\n  Headers.prototype.append = function(name, value) {\n    name = normalizeName(name)\n    value = normalizeValue(value)\n    var oldValue = this.map[name]\n    this.map[name] = oldValue ? oldValue+','+value : value\n  }\n\n  Headers.prototype['delete'] = function(name) {\n    delete this.map[normalizeName(name)]\n  }\n\n  Headers.prototype.get = function(name) {\n    name = normalizeName(name)\n    return this.has(name) ? this.map[name] : null\n  }\n\n  Headers.prototype.has = function(name) {\n    return this.map.hasOwnProperty(normalizeName(name))\n  }\n\n  Headers.prototype.set = function(name, value) {\n    this.map[normalizeName(name)] = normalizeValue(value)\n  }\n\n  Headers.prototype.forEach = function(callback, thisArg) {\n    for (var name in this.map) {\n      if (this.map.hasOwnProperty(name)) {\n        callback.call(thisArg, this.map[name], name, this)\n      }\n    }\n  }\n\n  Headers.prototype.keys = function() {\n    var items = []\n    this.forEach(function(value, name) { items.push(name) })\n    return iteratorFor(items)\n  }\n\n  Headers.prototype.values = function() {\n    var items = []\n    this.forEach(function(value) { items.push(value) })\n    return iteratorFor(items)\n  }\n\n  Headers.prototype.entries = function() {\n    var items = []\n    this.forEach(function(value, name) { items.push([name, value]) })\n    return iteratorFor(items)\n  }\n\n  if (support.iterable) {\n    Headers.prototype[Symbol.iterator] = Headers.prototype.entries\n  }\n\n  function consumed(body) {\n    if (body.bodyUsed) {\n      return Promise.reject(new TypeError('Already read'))\n    }\n    body.bodyUsed = true\n  }\n\n  function fileReaderReady(reader) {\n    return new Promise(function(resolve, reject) {\n      reader.onload = function() {\n        resolve(reader.result)\n      }\n      reader.onerror = function() {\n        reject(reader.error)\n      }\n    })\n  }\n\n  function readBlobAsArrayBuffer(blob) {\n    var reader = new FileReader()\n    var promise = fileReaderReady(reader)\n    reader.readAsArrayBuffer(blob)\n    return promise\n  }\n\n  function readBlobAsText(blob) {\n    var reader = new FileReader()\n    var promise = fileReaderReady(reader)\n    reader.readAsText(blob)\n    return promise\n  }\n\n  function readArrayBufferAsText(buf) {\n    var view = new Uint8Array(buf)\n    var chars = new Array(view.length)\n\n    for (var i = 0; i < view.length; i++) {\n      chars[i] = String.fromCharCode(view[i])\n    }\n    return chars.join('')\n  }\n\n  function bufferClone(buf) {\n    if (buf.slice) {\n      return buf.slice(0)\n    } else {\n      var view = new Uint8Array(buf.byteLength)\n      view.set(new Uint8Array(buf))\n      return view.buffer\n    }\n  }\n\n  function Body() {\n    this.bodyUsed = false\n\n    this._initBody = function(body) {\n      this._bodyInit = body\n      if (!body) {\n        this._bodyText = ''\n      } else if (typeof body === 'string') {\n        this._bodyText = body\n      } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n        this._bodyBlob = body\n      } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n        this._bodyFormData = body\n      } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n        this._bodyText = body.toString()\n      } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n        this._bodyArrayBuffer = bufferClone(body.buffer)\n        // IE 10-11 can't handle a DataView body.\n        this._bodyInit = new Blob([this._bodyArrayBuffer])\n      } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n        this._bodyArrayBuffer = bufferClone(body)\n      } else {\n        throw new Error('unsupported BodyInit type')\n      }\n\n      if (!this.headers.get('content-type')) {\n        if (typeof body === 'string') {\n          this.headers.set('content-type', 'text/plain;charset=UTF-8')\n        } else if (this._bodyBlob && this._bodyBlob.type) {\n          this.headers.set('content-type', this._bodyBlob.type)\n        } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n          this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8')\n        }\n      }\n    }\n\n    if (support.blob) {\n      this.blob = function() {\n        var rejected = consumed(this)\n        if (rejected) {\n          return rejected\n        }\n\n        if (this._bodyBlob) {\n          return Promise.resolve(this._bodyBlob)\n        } else if (this._bodyArrayBuffer) {\n          return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n        } else if (this._bodyFormData) {\n          throw new Error('could not read FormData body as blob')\n        } else {\n          return Promise.resolve(new Blob([this._bodyText]))\n        }\n      }\n\n      this.arrayBuffer = function() {\n        if (this._bodyArrayBuffer) {\n          return consumed(this) || Promise.resolve(this._bodyArrayBuffer)\n        } else {\n          return this.blob().then(readBlobAsArrayBuffer)\n        }\n      }\n    }\n\n    this.text = function() {\n      var rejected = consumed(this)\n      if (rejected) {\n        return rejected\n      }\n\n      if (this._bodyBlob) {\n        return readBlobAsText(this._bodyBlob)\n      } else if (this._bodyArrayBuffer) {\n        return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n      } else if (this._bodyFormData) {\n        throw new Error('could not read FormData body as text')\n      } else {\n        return Promise.resolve(this._bodyText)\n      }\n    }\n\n    if (support.formData) {\n      this.formData = function() {\n        return this.text().then(decode)\n      }\n    }\n\n    this.json = function() {\n      return this.text().then(JSON.parse)\n    }\n\n    return this\n  }\n\n  // HTTP methods whose capitalization should be normalized\n  var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']\n\n  function normalizeMethod(method) {\n    var upcased = method.toUpperCase()\n    return (methods.indexOf(upcased) > -1) ? upcased : method\n  }\n\n  function Request(input, options) {\n    options = options || {}\n    var body = options.body\n\n    if (input instanceof Request) {\n      if (input.bodyUsed) {\n        throw new TypeError('Already read')\n      }\n      this.url = input.url\n      this.credentials = input.credentials\n      if (!options.headers) {\n        this.headers = new Headers(input.headers)\n      }\n      this.method = input.method\n      this.mode = input.mode\n      if (!body && input._bodyInit != null) {\n        body = input._bodyInit\n        input.bodyUsed = true\n      }\n    } else {\n      this.url = String(input)\n    }\n\n    this.credentials = options.credentials || this.credentials || 'omit'\n    if (options.headers || !this.headers) {\n      this.headers = new Headers(options.headers)\n    }\n    this.method = normalizeMethod(options.method || this.method || 'GET')\n    this.mode = options.mode || this.mode || null\n    this.referrer = null\n\n    if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n      throw new TypeError('Body not allowed for GET or HEAD requests')\n    }\n    this._initBody(body)\n  }\n\n  Request.prototype.clone = function() {\n    return new Request(this, { body: this._bodyInit })\n  }\n\n  function decode(body) {\n    var form = new FormData()\n    body.trim().split('&').forEach(function(bytes) {\n      if (bytes) {\n        var split = bytes.split('=')\n        var name = split.shift().replace(/\\+/g, ' ')\n        var value = split.join('=').replace(/\\+/g, ' ')\n        form.append(decodeURIComponent(name), decodeURIComponent(value))\n      }\n    })\n    return form\n  }\n\n  function parseHeaders(rawHeaders) {\n    var headers = new Headers()\n    rawHeaders.split(/\\r?\\n/).forEach(function(line) {\n      var parts = line.split(':')\n      var key = parts.shift().trim()\n      if (key) {\n        var value = parts.join(':').trim()\n        headers.append(key, value)\n      }\n    })\n    return headers\n  }\n\n  Body.call(Request.prototype)\n\n  function Response(bodyInit, options) {\n    if (!options) {\n      options = {}\n    }\n\n    this.type = 'default'\n    this.status = 'status' in options ? options.status : 200\n    this.ok = this.status >= 200 && this.status < 300\n    this.statusText = 'statusText' in options ? options.statusText : 'OK'\n    this.headers = new Headers(options.headers)\n    this.url = options.url || ''\n    this._initBody(bodyInit)\n  }\n\n  Body.call(Response.prototype)\n\n  Response.prototype.clone = function() {\n    return new Response(this._bodyInit, {\n      status: this.status,\n      statusText: this.statusText,\n      headers: new Headers(this.headers),\n      url: this.url\n    })\n  }\n\n  Response.error = function() {\n    var response = new Response(null, {status: 0, statusText: ''})\n    response.type = 'error'\n    return response\n  }\n\n  var redirectStatuses = [301, 302, 303, 307, 308]\n\n  Response.redirect = function(url, status) {\n    if (redirectStatuses.indexOf(status) === -1) {\n      throw new RangeError('Invalid status code')\n    }\n\n    return new Response(null, {status: status, headers: {location: url}})\n  }\n\n  self.Headers = Headers\n  self.Request = Request\n  self.Response = Response\n\n  self.fetch = function(input, init) {\n    return new Promise(function(resolve, reject) {\n      var request = new Request(input, init)\n      var xhr = new XMLHttpRequest()\n\n      xhr.onload = function() {\n        var options = {\n          status: xhr.status,\n          statusText: xhr.statusText,\n          headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n        }\n        options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL')\n        var body = 'response' in xhr ? xhr.response : xhr.responseText\n        resolve(new Response(body, options))\n      }\n\n      xhr.onerror = function() {\n        reject(new TypeError('Network request failed'))\n      }\n\n      xhr.ontimeout = function() {\n        reject(new TypeError('Network request failed'))\n      }\n\n      xhr.open(request.method, request.url, true)\n\n      if (request.credentials === 'include') {\n        xhr.withCredentials = true\n      }\n\n      if ('responseType' in xhr && support.blob) {\n        xhr.responseType = 'blob'\n      }\n\n      request.headers.forEach(function(value, name) {\n        xhr.setRequestHeader(name, value)\n      })\n\n      xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit)\n    })\n  }\n  self.fetch.polyfill = true\n})(typeof self !== 'undefined' ? self : this);\n\n\n    var pending = 0;\n    function decrement(result) {\n      pending--;\n      return result;\n    }\n\n    if (Ember.default.Test) {\n      Ember.default.Test.registerWaiter(function() {\n        return pending === 0;\n      });\n\n      self['default'] = function() {\n        pending++;\n\n        return self.fetch.apply(self, arguments).then(function(response){\n          response.clone().blob().then(decrement, decrement);\n          return response;\n        }, function(reason) {\n          decrement(reason);\n          throw reason;\n        });\n      };\n    } else {\n      self['default'] = self.fetch;\n    }\n\n    self['Headers'] = self.Headers;\n    self['Request'] = self.Request;\n    self['Response'] = self.Response;\n  });\n\n  define('fetch/ajax', ['exports'], function() {\n    throw new Error('You included `fetch/ajax` but it was renamed to `ember-fetch/ajax`');\n  });\n}(typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : this));\n }","Ember.libraries.register('Ember Simple Auth', '1.4.0');","/*! http://mths.be/base64 v0.1.0 by @mathias | MIT license */\n;(function(root) {\n\n\t// Detect free variables `exports`.\n\tvar freeExports = typeof exports == 'object' && exports;\n\n\t// Detect free variable `module`.\n\tvar freeModule = typeof module == 'object' && module &&\n\t\tmodule.exports == freeExports && module;\n\n\t// Detect free variable `global`, from Node.js or Browserified code, and use\n\t// it as `root`.\n\tvar freeGlobal = typeof global == 'object' && global;\n\tif (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal) {\n\t\troot = freeGlobal;\n\t}\n\n\t/*--------------------------------------------------------------------------*/\n\n\tvar InvalidCharacterError = function(message) {\n\t\tthis.message = message;\n\t};\n\tInvalidCharacterError.prototype = new Error;\n\tInvalidCharacterError.prototype.name = 'InvalidCharacterError';\n\n\tvar error = function(message) {\n\t\t// Note: the error messages used throughout this file match those used by\n\t\t// the native `atob`/`btoa` implementation in Chromium.\n\t\tthrow new InvalidCharacterError(message);\n\t};\n\n\tvar TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n\t// http://whatwg.org/html/common-microsyntaxes.html#space-character\n\tvar REGEX_SPACE_CHARACTERS = /[\\t\\n\\f\\r ]/g;\n\n\t// `decode` is designed to be fully compatible with `atob` as described in the\n\t// HTML Standard. http://whatwg.org/html/webappapis.html#dom-windowbase64-atob\n\t// The optimized base64-decoding algorithm used is based on @atk’s excellent\n\t// implementation. https://gist.github.com/atk/1020396\n\tvar decode = function(input) {\n\t\tinput = String(input)\n\t\t\t.replace(REGEX_SPACE_CHARACTERS, '');\n\t\tvar length = input.length;\n\t\tif (length % 4 == 0) {\n\t\t\tinput = input.replace(/==?$/, '');\n\t\t\tlength = input.length;\n\t\t}\n\t\tif (\n\t\t\tlength % 4 == 1 ||\n\t\t\t// http://whatwg.org/C#alphanumeric-ascii-characters\n\t\t\t/[^+a-zA-Z0-9/]/.test(input)\n\t\t) {\n\t\t\terror(\n\t\t\t\t'Invalid character: the string to be decoded is not correctly encoded.'\n\t\t\t);\n\t\t}\n\t\tvar bitCounter = 0;\n\t\tvar bitStorage;\n\t\tvar buffer;\n\t\tvar output = '';\n\t\tvar position = -1;\n\t\twhile (++position < length) {\n\t\t\tbuffer = TABLE.indexOf(input.charAt(position));\n\t\t\tbitStorage = bitCounter % 4 ? bitStorage * 64 + buffer : buffer;\n\t\t\t// Unless this is the first of a group of 4 characters…\n\t\t\tif (bitCounter++ % 4) {\n\t\t\t\t// …convert the first 8 bits to a single ASCII character.\n\t\t\t\toutput += String.fromCharCode(\n\t\t\t\t\t0xFF & bitStorage >> (-2 * bitCounter & 6)\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\treturn output;\n\t};\n\n\t// `encode` is designed to be fully compatible with `btoa` as described in the\n\t// HTML Standard: http://whatwg.org/html/webappapis.html#dom-windowbase64-btoa\n\tvar encode = function(input) {\n\t\tinput = String(input);\n\t\tif (/[^\\0-\\xFF]/.test(input)) {\n\t\t\t// Note: no need to special-case astral symbols here, as surrogates are\n\t\t\t// matched, and the input is supposed to only contain ASCII anyway.\n\t\t\terror(\n\t\t\t\t'The string to be encoded contains characters outside of the ' +\n\t\t\t\t'Latin1 range.'\n\t\t\t);\n\t\t}\n\t\tvar padding = input.length % 3;\n\t\tvar output = '';\n\t\tvar position = -1;\n\t\tvar a;\n\t\tvar b;\n\t\tvar c;\n\t\tvar d;\n\t\tvar buffer;\n\t\t// Make sure any padding is handled outside of the loop.\n\t\tvar length = input.length - padding;\n\n\t\twhile (++position < length) {\n\t\t\t// Read three bytes, i.e. 24 bits.\n\t\t\ta = input.charCodeAt(position) << 16;\n\t\t\tb = input.charCodeAt(++position) << 8;\n\t\t\tc = input.charCodeAt(++position);\n\t\t\tbuffer = a + b + c;\n\t\t\t// Turn the 24 bits into four chunks of 6 bits each, and append the\n\t\t\t// matching character for each of them to the output.\n\t\t\toutput += (\n\t\t\t\tTABLE.charAt(buffer >> 18 & 0x3F) +\n\t\t\t\tTABLE.charAt(buffer >> 12 & 0x3F) +\n\t\t\t\tTABLE.charAt(buffer >> 6 & 0x3F) +\n\t\t\t\tTABLE.charAt(buffer & 0x3F)\n\t\t\t);\n\t\t}\n\n\t\tif (padding == 2) {\n\t\t\ta = input.charCodeAt(position) << 8;\n\t\t\tb = input.charCodeAt(++position);\n\t\t\tbuffer = a + b;\n\t\t\toutput += (\n\t\t\t\tTABLE.charAt(buffer >> 10) +\n\t\t\t\tTABLE.charAt((buffer >> 4) & 0x3F) +\n\t\t\t\tTABLE.charAt((buffer << 2) & 0x3F) +\n\t\t\t\t'='\n\t\t\t);\n\t\t} else if (padding == 1) {\n\t\t\tbuffer = input.charCodeAt(position);\n\t\t\toutput += (\n\t\t\t\tTABLE.charAt(buffer >> 2) +\n\t\t\t\tTABLE.charAt((buffer << 4) & 0x3F) +\n\t\t\t\t'=='\n\t\t\t);\n\t\t}\n\n\t\treturn output;\n\t};\n\n\tvar base64 = {\n\t\t'encode': encode,\n\t\t'decode': decode,\n\t\t'version': '0.1.0'\n\t};\n\n\t// Some AMD build optimizers, like r.js, check for specific condition patterns\n\t// like the following:\n\tif (\n\t\ttypeof define == 'function' &&\n\t\ttypeof define.amd == 'object' &&\n\t\tdefine.amd\n\t) {\n\t\tdefine(function() {\n\t\t\treturn base64;\n\t\t});\n\t}\telse if (freeExports && !freeExports.nodeType) {\n\t\tif (freeModule) { // in Node.js or RingoJS v0.8.0+\n\t\t\tfreeModule.exports = base64;\n\t\t} else { // in Narwhal or RingoJS v0.7.0-\n\t\t\tfor (var key in base64) {\n\t\t\t\tbase64.hasOwnProperty(key) && (freeExports[key] = base64[key]);\n\t\t\t}\n\t\t}\n\t} else { // in Rhino or a web browser\n\t\troot.base64 = base64;\n\t}\n\n}(this));\n","(function(define){\nif (typeof FastBoot === 'undefined') {\n/**\n * UAParser.js v0.7.14\n * Lightweight JavaScript-based User-Agent string parser\n * https://github.com/faisalman/ua-parser-js\n *\n * Copyright © 2012-2016 Faisal Salman <fyzlman@gmail.com>\n * Dual licensed under GPLv2 & MIT\n */\n\n(function (window, undefined) {\n\n    'use strict';\n\n    //////////////\n    // Constants\n    /////////////\n\n\n    var LIBVERSION  = '0.7.14',\n        EMPTY       = '',\n        UNKNOWN     = '?',\n        FUNC_TYPE   = 'function',\n        UNDEF_TYPE  = 'undefined',\n        OBJ_TYPE    = 'object',\n        STR_TYPE    = 'string',\n        MAJOR       = 'major', // deprecated\n        MODEL       = 'model',\n        NAME        = 'name',\n        TYPE        = 'type',\n        VENDOR      = 'vendor',\n        VERSION     = 'version',\n        ARCHITECTURE= 'architecture',\n        CONSOLE     = 'console',\n        MOBILE      = 'mobile',\n        TABLET      = 'tablet',\n        SMARTTV     = 'smarttv',\n        WEARABLE    = 'wearable',\n        EMBEDDED    = 'embedded';\n\n\n    ///////////\n    // Helper\n    //////////\n\n\n    var util = {\n        extend : function (regexes, extensions) {\n            var margedRegexes = {};\n            for (var i in regexes) {\n                if (extensions[i] && extensions[i].length % 2 === 0) {\n                    margedRegexes[i] = extensions[i].concat(regexes[i]);\n                } else {\n                    margedRegexes[i] = regexes[i];\n                }\n            }\n            return margedRegexes;\n        },\n        has : function (str1, str2) {\n          if (typeof str1 === \"string\") {\n            return str2.toLowerCase().indexOf(str1.toLowerCase()) !== -1;\n          } else {\n            return false;\n          }\n        },\n        lowerize : function (str) {\n            return str.toLowerCase();\n        },\n        major : function (version) {\n            return typeof(version) === STR_TYPE ? version.replace(/[^\\d\\.]/g,'').split(\".\")[0] : undefined;\n        },\n        trim : function (str) {\n          return str.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n        }\n    };\n\n\n    ///////////////\n    // Map helper\n    //////////////\n\n\n    var mapper = {\n\n        rgx : function (ua, arrays) {\n\n            //var result = {},\n            var i = 0, j, k, p, q, matches, match;//, args = arguments;\n\n            /*// construct object barebones\n            for (p = 0; p < args[1].length; p++) {\n                q = args[1][p];\n                result[typeof q === OBJ_TYPE ? q[0] : q] = undefined;\n            }*/\n\n            // loop through all regexes maps\n            while (i < arrays.length && !matches) {\n\n                var regex = arrays[i],       // even sequence (0,2,4,..)\n                    props = arrays[i + 1];   // odd sequence (1,3,5,..)\n                j = k = 0;\n\n                // try matching uastring with regexes\n                while (j < regex.length && !matches) {\n\n                    matches = regex[j++].exec(ua);\n\n                    if (!!matches) {\n                        for (p = 0; p < props.length; p++) {\n                            match = matches[++k];\n                            q = props[p];\n                            // check if given property is actually array\n                            if (typeof q === OBJ_TYPE && q.length > 0) {\n                                if (q.length == 2) {\n                                    if (typeof q[1] == FUNC_TYPE) {\n                                        // assign modified match\n                                        this[q[0]] = q[1].call(this, match);\n                                    } else {\n                                        // assign given value, ignore regex match\n                                        this[q[0]] = q[1];\n                                    }\n                                } else if (q.length == 3) {\n                                    // check whether function or regex\n                                    if (typeof q[1] === FUNC_TYPE && !(q[1].exec && q[1].test)) {\n                                        // call function (usually string mapper)\n                                        this[q[0]] = match ? q[1].call(this, match, q[2]) : undefined;\n                                    } else {\n                                        // sanitize match using given regex\n                                        this[q[0]] = match ? match.replace(q[1], q[2]) : undefined;\n                                    }\n                                } else if (q.length == 4) {\n                                        this[q[0]] = match ? q[3].call(this, match.replace(q[1], q[2])) : undefined;\n                                }\n                            } else {\n                                this[q] = match ? match : undefined;\n                            }\n                        }\n                    }\n                }\n                i += 2;\n            }\n            //console.log(this);\n            //return this;\n        },\n\n        str : function (str, map) {\n\n            for (var i in map) {\n                // check if array\n                if (typeof map[i] === OBJ_TYPE && map[i].length > 0) {\n                    for (var j = 0; j < map[i].length; j++) {\n                        if (util.has(map[i][j], str)) {\n                            return (i === UNKNOWN) ? undefined : i;\n                        }\n                    }\n                } else if (util.has(map[i], str)) {\n                    return (i === UNKNOWN) ? undefined : i;\n                }\n            }\n            return str;\n        }\n    };\n\n\n    ///////////////\n    // String map\n    //////////////\n\n\n    var maps = {\n\n        browser : {\n            oldsafari : {\n                version : {\n                    '1.0'   : '/8',\n                    '1.2'   : '/1',\n                    '1.3'   : '/3',\n                    '2.0'   : '/412',\n                    '2.0.2' : '/416',\n                    '2.0.3' : '/417',\n                    '2.0.4' : '/419',\n                    '?'     : '/'\n                }\n            }\n        },\n\n        device : {\n            amazon : {\n                model : {\n                    'Fire Phone' : ['SD', 'KF']\n                }\n            },\n            sprint : {\n                model : {\n                    'Evo Shift 4G' : '7373KT'\n                },\n                vendor : {\n                    'HTC'       : 'APA',\n                    'Sprint'    : 'Sprint'\n                }\n            }\n        },\n\n        os : {\n            windows : {\n                version : {\n                    'ME'        : '4.90',\n                    'NT 3.11'   : 'NT3.51',\n                    'NT 4.0'    : 'NT4.0',\n                    '2000'      : 'NT 5.0',\n                    'XP'        : ['NT 5.1', 'NT 5.2'],\n                    'Vista'     : 'NT 6.0',\n                    '7'         : 'NT 6.1',\n                    '8'         : 'NT 6.2',\n                    '8.1'       : 'NT 6.3',\n                    '10'        : ['NT 6.4', 'NT 10.0'],\n                    'RT'        : 'ARM'\n                }\n            }\n        }\n    };\n\n\n    //////////////\n    // Regex map\n    /////////////\n\n\n    var regexes = {\n\n        browser : [[\n\n            // Presto based\n            /(opera\\smini)\\/([\\w\\.-]+)/i,                                       // Opera Mini\n            /(opera\\s[mobiletab]+).+version\\/([\\w\\.-]+)/i,                      // Opera Mobi/Tablet\n            /(opera).+version\\/([\\w\\.]+)/i,                                     // Opera > 9.80\n            /(opera)[\\/\\s]+([\\w\\.]+)/i                                          // Opera < 9.80\n            ], [NAME, VERSION], [\n\n            /(opios)[\\/\\s]+([\\w\\.]+)/i                                          // Opera mini on iphone >= 8.0\n            ], [[NAME, 'Opera Mini'], VERSION], [\n\n            /\\s(opr)\\/([\\w\\.]+)/i                                               // Opera Webkit\n            ], [[NAME, 'Opera'], VERSION], [\n\n            // Mixed\n            /(kindle)\\/([\\w\\.]+)/i,                                             // Kindle\n            /(lunascape|maxthon|netfront|jasmine|blazer)[\\/\\s]?([\\w\\.]+)*/i,\n                                                                                // Lunascape/Maxthon/Netfront/Jasmine/Blazer\n\n            // Trident based\n            /(avant\\s|iemobile|slim|baidu)(?:browser)?[\\/\\s]?([\\w\\.]*)/i,\n                                                                                // Avant/IEMobile/SlimBrowser/Baidu\n            /(?:ms|\\()(ie)\\s([\\w\\.]+)/i,                                        // Internet Explorer\n\n            // Webkit/KHTML based\n            /(rekonq)\\/([\\w\\.]+)*/i,                                            // Rekonq\n            /(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser)\\/([\\w\\.-]+)/i\n                                                                                // Chromium/Flock/RockMelt/Midori/Epiphany/Silk/Skyfire/Bolt/Iron/Iridium/PhantomJS/Bowser\n            ], [NAME, VERSION], [\n\n            /(trident).+rv[:\\s]([\\w\\.]+).+like\\sgecko/i                         // IE11\n            ], [[NAME, 'IE'], VERSION], [\n\n            /(edge)\\/((\\d+)?[\\w\\.]+)/i                                          // Microsoft Edge\n            ], [NAME, VERSION], [\n\n            /(yabrowser)\\/([\\w\\.]+)/i                                           // Yandex\n            ], [[NAME, 'Yandex'], VERSION], [\n\n            /(puffin)\\/([\\w\\.]+)/i                                              // Puffin\n            ], [[NAME, 'Puffin'], VERSION], [\n\n            /((?:[\\s\\/])uc?\\s?browser|(?:juc.+)ucweb)[\\/\\s]?([\\w\\.]+)/i\n                                                                                // UCBrowser\n            ], [[NAME, 'UCBrowser'], VERSION], [\n\n            /(comodo_dragon)\\/([\\w\\.]+)/i                                       // Comodo Dragon\n            ], [[NAME, /_/g, ' '], VERSION], [\n\n            /(micromessenger)\\/([\\w\\.]+)/i                                      // WeChat\n            ], [[NAME, 'WeChat'], VERSION], [\n\n            /(QQ)\\/([\\d\\.]+)/i                                                  // QQ, aka ShouQ\n            ], [NAME, VERSION], [\n\n            /m?(qqbrowser)[\\/\\s]?([\\w\\.]+)/i                                    // QQBrowser\n            ], [NAME, VERSION], [\n\n            /xiaomi\\/miuibrowser\\/([\\w\\.]+)/i                                   // MIUI Browser\n            ], [VERSION, [NAME, 'MIUI Browser']], [\n\n            /;fbav\\/([\\w\\.]+);/i                                                // Facebook App for iOS & Android\n            ], [VERSION, [NAME, 'Facebook']], [\n\n            /(headlesschrome) ([\\w\\.]+)/i                                       // Chrome Headless\n            ], [VERSION, [NAME, 'Chrome Headless']], [\n\n            /\\swv\\).+(chrome)\\/([\\w\\.]+)/i                                      // Chrome WebView\n            ], [[NAME, /(.+)/, '$1 WebView'], VERSION], [\n\n            /((?:oculus|samsung)browser)\\/([\\w\\.]+)/i\n            ], [[NAME, /(.+(?:g|us))(.+)/, '$1 $2'], VERSION], [                // Oculus / Samsung Browser\n\n            /android.+version\\/([\\w\\.]+)\\s+(?:mobile\\s?safari|safari)*/i        // Android Browser\n            ], [VERSION, [NAME, 'Android Browser']], [\n\n            /(chrome|omniweb|arora|[tizenoka]{5}\\s?browser)\\/v?([\\w\\.]+)/i\n                                                                                // Chrome/OmniWeb/Arora/Tizen/Nokia\n            ], [NAME, VERSION], [\n\n            /(dolfin)\\/([\\w\\.]+)/i                                              // Dolphin\n            ], [[NAME, 'Dolphin'], VERSION], [\n\n            /((?:android.+)crmo|crios)\\/([\\w\\.]+)/i                             // Chrome for Android/iOS\n            ], [[NAME, 'Chrome'], VERSION], [\n\n            /(coast)\\/([\\w\\.]+)/i                                               // Opera Coast\n            ], [[NAME, 'Opera Coast'], VERSION], [\n\n            /fxios\\/([\\w\\.-]+)/i                                                // Firefox for iOS\n            ], [VERSION, [NAME, 'Firefox']], [\n\n            /version\\/([\\w\\.]+).+?mobile\\/\\w+\\s(safari)/i                       // Mobile Safari\n            ], [VERSION, [NAME, 'Mobile Safari']], [\n\n            /version\\/([\\w\\.]+).+?(mobile\\s?safari|safari)/i                    // Safari & Safari Mobile\n            ], [VERSION, NAME], [\n\n            /webkit.+?(mobile\\s?safari|safari)(\\/[\\w\\.]+)/i                     // Safari < 3.0\n            ], [NAME, [VERSION, mapper.str, maps.browser.oldsafari.version]], [\n\n            /(konqueror)\\/([\\w\\.]+)/i,                                          // Konqueror\n            /(webkit|khtml)\\/([\\w\\.]+)/i\n            ], [NAME, VERSION], [\n\n            // Gecko based\n            /(navigator|netscape)\\/([\\w\\.-]+)/i                                 // Netscape\n            ], [[NAME, 'Netscape'], VERSION], [\n            /(swiftfox)/i,                                                      // Swiftfox\n            /(icedragon|iceweasel|camino|chimera|fennec|maemo\\sbrowser|minimo|conkeror)[\\/\\s]?([\\w\\.\\+]+)/i,\n                                                                                // IceDragon/Iceweasel/Camino/Chimera/Fennec/Maemo/Minimo/Conkeror\n            /(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\\/([\\w\\.-]+)/i,\n                                                                                // Firefox/SeaMonkey/K-Meleon/IceCat/IceApe/Firebird/Phoenix\n            /(mozilla)\\/([\\w\\.]+).+rv\\:.+gecko\\/\\d+/i,                          // Mozilla\n\n            // Other\n            /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\\/\\s]?([\\w\\.]+)/i,\n                                                                                // Polaris/Lynx/Dillo/iCab/Doris/Amaya/w3m/NetSurf/Sleipnir\n            /(links)\\s\\(([\\w\\.]+)/i,                                            // Links\n            /(gobrowser)\\/?([\\w\\.]+)*/i,                                        // GoBrowser\n            /(ice\\s?browser)\\/v?([\\w\\._]+)/i,                                   // ICE Browser\n            /(mosaic)[\\/\\s]([\\w\\.]+)/i                                          // Mosaic\n            ], [NAME, VERSION]\n\n            /* /////////////////////\n            // Media players BEGIN\n            ////////////////////////\n\n            , [\n\n            /(apple(?:coremedia|))\\/((\\d+)[\\w\\._]+)/i,                          // Generic Apple CoreMedia\n            /(coremedia) v((\\d+)[\\w\\._]+)/i\n            ], [NAME, VERSION], [\n\n            /(aqualung|lyssna|bsplayer)\\/((\\d+)?[\\w\\.-]+)/i                     // Aqualung/Lyssna/BSPlayer\n            ], [NAME, VERSION], [\n\n            /(ares|ossproxy)\\s((\\d+)[\\w\\.-]+)/i                                 // Ares/OSSProxy\n            ], [NAME, VERSION], [\n\n            /(audacious|audimusicstream|amarok|bass|core|dalvik|gnomemplayer|music on console|nsplayer|psp-internetradioplayer|videos)\\/((\\d+)[\\w\\.-]+)/i,\n                                                                                // Audacious/AudiMusicStream/Amarok/BASS/OpenCORE/Dalvik/GnomeMplayer/MoC\n                                                                                // NSPlayer/PSP-InternetRadioPlayer/Videos\n            /(clementine|music player daemon)\\s((\\d+)[\\w\\.-]+)/i,               // Clementine/MPD\n            /(lg player|nexplayer)\\s((\\d+)[\\d\\.]+)/i,\n            /player\\/(nexplayer|lg player)\\s((\\d+)[\\w\\.-]+)/i                   // NexPlayer/LG Player\n            ], [NAME, VERSION], [\n            /(nexplayer)\\s((\\d+)[\\w\\.-]+)/i                                     // Nexplayer\n            ], [NAME, VERSION], [\n\n            /(flrp)\\/((\\d+)[\\w\\.-]+)/i                                          // Flip Player\n            ], [[NAME, 'Flip Player'], VERSION], [\n\n            /(fstream|nativehost|queryseekspider|ia-archiver|facebookexternalhit)/i\n                                                                                // FStream/NativeHost/QuerySeekSpider/IA Archiver/facebookexternalhit\n            ], [NAME], [\n\n            /(gstreamer) souphttpsrc (?:\\([^\\)]+\\)){0,1} libsoup\\/((\\d+)[\\w\\.-]+)/i\n                                                                                // Gstreamer\n            ], [NAME, VERSION], [\n\n            /(htc streaming player)\\s[\\w_]+\\s\\/\\s((\\d+)[\\d\\.]+)/i,              // HTC Streaming Player\n            /(java|python-urllib|python-requests|wget|libcurl)\\/((\\d+)[\\w\\.-_]+)/i,\n                                                                                // Java/urllib/requests/wget/cURL\n            /(lavf)((\\d+)[\\d\\.]+)/i                                             // Lavf (FFMPEG)\n            ], [NAME, VERSION], [\n\n            /(htc_one_s)\\/((\\d+)[\\d\\.]+)/i                                      // HTC One S\n            ], [[NAME, /_/g, ' '], VERSION], [\n\n            /(mplayer)(?:\\s|\\/)(?:(?:sherpya-){0,1}svn)(?:-|\\s)(r\\d+(?:-\\d+[\\w\\.-]+){0,1})/i\n                                                                                // MPlayer SVN\n            ], [NAME, VERSION], [\n\n            /(mplayer)(?:\\s|\\/|[unkow-]+)((\\d+)[\\w\\.-]+)/i                      // MPlayer\n            ], [NAME, VERSION], [\n\n            /(mplayer)/i,                                                       // MPlayer (no other info)\n            /(yourmuze)/i,                                                      // YourMuze\n            /(media player classic|nero showtime)/i                             // Media Player Classic/Nero ShowTime\n            ], [NAME], [\n\n            /(nero (?:home|scout))\\/((\\d+)[\\w\\.-]+)/i                           // Nero Home/Nero Scout\n            ], [NAME, VERSION], [\n\n            /(nokia\\d+)\\/((\\d+)[\\w\\.-]+)/i                                      // Nokia\n            ], [NAME, VERSION], [\n\n            /\\s(songbird)\\/((\\d+)[\\w\\.-]+)/i                                    // Songbird/Philips-Songbird\n            ], [NAME, VERSION], [\n\n            /(winamp)3 version ((\\d+)[\\w\\.-]+)/i,                               // Winamp\n            /(winamp)\\s((\\d+)[\\w\\.-]+)/i,\n            /(winamp)mpeg\\/((\\d+)[\\w\\.-]+)/i\n            ], [NAME, VERSION], [\n\n            /(ocms-bot|tapinradio|tunein radio|unknown|winamp|inlight radio)/i  // OCMS-bot/tap in radio/tunein/unknown/winamp (no other info)\n                                                                                // inlight radio\n            ], [NAME], [\n\n            /(quicktime|rma|radioapp|radioclientapplication|soundtap|totem|stagefright|streamium)\\/((\\d+)[\\w\\.-]+)/i\n                                                                                // QuickTime/RealMedia/RadioApp/RadioClientApplication/\n                                                                                // SoundTap/Totem/Stagefright/Streamium\n            ], [NAME, VERSION], [\n\n            /(smp)((\\d+)[\\d\\.]+)/i                                              // SMP\n            ], [NAME, VERSION], [\n\n            /(vlc) media player - version ((\\d+)[\\w\\.]+)/i,                     // VLC Videolan\n            /(vlc)\\/((\\d+)[\\w\\.-]+)/i,\n            /(xbmc|gvfs|xine|xmms|irapp)\\/((\\d+)[\\w\\.-]+)/i,                    // XBMC/gvfs/Xine/XMMS/irapp\n            /(foobar2000)\\/((\\d+)[\\d\\.]+)/i,                                    // Foobar2000\n            /(itunes)\\/((\\d+)[\\d\\.]+)/i                                         // iTunes\n            ], [NAME, VERSION], [\n\n            /(wmplayer)\\/((\\d+)[\\w\\.-]+)/i,                                     // Windows Media Player\n            /(windows-media-player)\\/((\\d+)[\\w\\.-]+)/i\n            ], [[NAME, /-/g, ' '], VERSION], [\n\n            /windows\\/((\\d+)[\\w\\.-]+) upnp\\/[\\d\\.]+ dlnadoc\\/[\\d\\.]+ (home media server)/i\n                                                                                // Windows Media Server\n            ], [VERSION, [NAME, 'Windows']], [\n\n            /(com\\.riseupradioalarm)\\/((\\d+)[\\d\\.]*)/i                          // RiseUP Radio Alarm\n            ], [NAME, VERSION], [\n\n            /(rad.io)\\s((\\d+)[\\d\\.]+)/i,                                        // Rad.io\n            /(radio.(?:de|at|fr))\\s((\\d+)[\\d\\.]+)/i\n            ], [[NAME, 'rad.io'], VERSION]\n\n            //////////////////////\n            // Media players END\n            ////////////////////*/\n\n        ],\n\n        cpu : [[\n\n            /(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\\)]/i                     // AMD64\n            ], [[ARCHITECTURE, 'amd64']], [\n\n            /(ia32(?=;))/i                                                      // IA32 (quicktime)\n            ], [[ARCHITECTURE, util.lowerize]], [\n\n            /((?:i[346]|x)86)[;\\)]/i                                            // IA32\n            ], [[ARCHITECTURE, 'ia32']], [\n\n            // PocketPC mistakenly identified as PowerPC\n            /windows\\s(ce|mobile);\\sppc;/i\n            ], [[ARCHITECTURE, 'arm']], [\n\n            /((?:ppc|powerpc)(?:64)?)(?:\\smac|;|\\))/i                           // PowerPC\n            ], [[ARCHITECTURE, /ower/, '', util.lowerize]], [\n\n            /(sun4\\w)[;\\)]/i                                                    // SPARC\n            ], [[ARCHITECTURE, 'sparc']], [\n\n            /((?:avr32|ia64(?=;))|68k(?=\\))|arm(?:64|(?=v\\d+;))|(?=atmel\\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i\n                                                                                // IA64, 68K, ARM/64, AVR/32, IRIX/64, MIPS/64, SPARC/64, PA-RISC\n            ], [[ARCHITECTURE, util.lowerize]]\n        ],\n\n        device : [[\n\n            /\\((ipad|playbook);[\\w\\s\\);-]+(rim|apple)/i                         // iPad/PlayBook\n            ], [MODEL, VENDOR, [TYPE, TABLET]], [\n\n            /applecoremedia\\/[\\w\\.]+ \\((ipad)/                                  // iPad\n            ], [MODEL, [VENDOR, 'Apple'], [TYPE, TABLET]], [\n\n            /(apple\\s{0,1}tv)/i                                                 // Apple TV\n            ], [[MODEL, 'Apple TV'], [VENDOR, 'Apple']], [\n\n            /(archos)\\s(gamepad2?)/i,                                           // Archos\n            /(hp).+(touchpad)/i,                                                // HP TouchPad\n            /(hp).+(tablet)/i,                                                  // HP Tablet\n            /(kindle)\\/([\\w\\.]+)/i,                                             // Kindle\n            /\\s(nook)[\\w\\s]+build\\/(\\w+)/i,                                     // Nook\n            /(dell)\\s(strea[kpr\\s\\d]*[\\dko])/i                                  // Dell Streak\n            ], [VENDOR, MODEL, [TYPE, TABLET]], [\n\n            /(kf[A-z]+)\\sbuild\\/[\\w\\.]+.*silk\\//i                               // Kindle Fire HD\n            ], [MODEL, [VENDOR, 'Amazon'], [TYPE, TABLET]], [\n            /(sd|kf)[0349hijorstuw]+\\sbuild\\/[\\w\\.]+.*silk\\//i                  // Fire Phone\n            ], [[MODEL, mapper.str, maps.device.amazon.model], [VENDOR, 'Amazon'], [TYPE, MOBILE]], [\n\n            /\\((ip[honed|\\s\\w*]+);.+(apple)/i                                   // iPod/iPhone\n            ], [MODEL, VENDOR, [TYPE, MOBILE]], [\n            /\\((ip[honed|\\s\\w*]+);/i                                            // iPod/iPhone\n            ], [MODEL, [VENDOR, 'Apple'], [TYPE, MOBILE]], [\n\n            /(blackberry)[\\s-]?(\\w+)/i,                                         // BlackBerry\n            /(blackberry|benq|palm(?=\\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\\s_-]?([\\w-]+)*/i,\n                                                                                // BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron\n            /(hp)\\s([\\w\\s]+\\w)/i,                                               // HP iPAQ\n            /(asus)-?(\\w+)/i                                                    // Asus\n            ], [VENDOR, MODEL, [TYPE, MOBILE]], [\n            /\\(bb10;\\s(\\w+)/i                                                   // BlackBerry 10\n            ], [MODEL, [VENDOR, 'BlackBerry'], [TYPE, MOBILE]], [\n                                                                                // Asus Tablets\n            /android.+(transfo[prime\\s]{4,10}\\s\\w+|eeepc|slider\\s\\w+|nexus 7|padfone)/i\n            ], [MODEL, [VENDOR, 'Asus'], [TYPE, TABLET]], [\n\n            /(sony)\\s(tablet\\s[ps])\\sbuild\\//i,                                  // Sony\n            /(sony)?(?:sgp.+)\\sbuild\\//i\n            ], [[VENDOR, 'Sony'], [MODEL, 'Xperia Tablet'], [TYPE, TABLET]], [\n            /android.+\\s([c-g]\\d{4}|so[-l]\\w+)\\sbuild\\//i\n            ], [MODEL, [VENDOR, 'Sony'], [TYPE, MOBILE]], [\n\n            /\\s(ouya)\\s/i,                                                      // Ouya\n            /(nintendo)\\s([wids3u]+)/i                                          // Nintendo\n            ], [VENDOR, MODEL, [TYPE, CONSOLE]], [\n\n            /android.+;\\s(shield)\\sbuild/i                                      // Nvidia\n            ], [MODEL, [VENDOR, 'Nvidia'], [TYPE, CONSOLE]], [\n\n            /(playstation\\s[34portablevi]+)/i                                   // Playstation\n            ], [MODEL, [VENDOR, 'Sony'], [TYPE, CONSOLE]], [\n\n            /(sprint\\s(\\w+))/i                                                  // Sprint Phones\n            ], [[VENDOR, mapper.str, maps.device.sprint.vendor], [MODEL, mapper.str, maps.device.sprint.model], [TYPE, MOBILE]], [\n\n            /(lenovo)\\s?(S(?:5000|6000)+(?:[-][\\w+]))/i                         // Lenovo tablets\n            ], [VENDOR, MODEL, [TYPE, TABLET]], [\n\n            /(htc)[;_\\s-]+([\\w\\s]+(?=\\))|\\w+)*/i,                               // HTC\n            /(zte)-(\\w+)*/i,                                                    // ZTE\n            /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\\s)sony)[_\\s-]?([\\w-]+)*/i\n                                                                                // Alcatel/GeeksPhone/Lenovo/Nexian/Panasonic/Sony\n            ], [VENDOR, [MODEL, /_/g, ' '], [TYPE, MOBILE]], [\n\n            /(nexus\\s9)/i                                                       // HTC Nexus 9\n            ], [MODEL, [VENDOR, 'HTC'], [TYPE, TABLET]], [\n\n            /d\\/huawei([\\w\\s-]+)[;\\)]/i,\n            /(nexus\\s6p)/i                                                      // Huawei\n            ], [MODEL, [VENDOR, 'Huawei'], [TYPE, MOBILE]], [\n\n            /(microsoft);\\s(lumia[\\s\\w]+)/i                                     // Microsoft Lumia\n            ], [VENDOR, MODEL, [TYPE, MOBILE]], [\n\n            /[\\s\\(;](xbox(?:\\sone)?)[\\s\\);]/i                                   // Microsoft Xbox\n            ], [MODEL, [VENDOR, 'Microsoft'], [TYPE, CONSOLE]], [\n            /(kin\\.[onetw]{3})/i                                                // Microsoft Kin\n            ], [[MODEL, /\\./g, ' '], [VENDOR, 'Microsoft'], [TYPE, MOBILE]], [\n\n                                                                                // Motorola\n            /\\s(milestone|droid(?:[2-4x]|\\s(?:bionic|x2|pro|razr))?(:?\\s4g)?)[\\w\\s]+build\\//i,\n            /mot[\\s-]?(\\w+)*/i,\n            /(XT\\d{3,4}) build\\//i,\n            /(nexus\\s6)/i\n            ], [MODEL, [VENDOR, 'Motorola'], [TYPE, MOBILE]], [\n            /android.+\\s(mz60\\d|xoom[\\s2]{0,2})\\sbuild\\//i\n            ], [MODEL, [VENDOR, 'Motorola'], [TYPE, TABLET]], [\n\n            /hbbtv\\/\\d+\\.\\d+\\.\\d+\\s+\\([\\w\\s]*;\\s*(\\w[^;]*);([^;]*)/i            // HbbTV devices\n            ], [[VENDOR, util.trim], [MODEL, util.trim], [TYPE, SMARTTV]], [\n\n            /hbbtv.+maple;(\\d+)/i\n            ], [[MODEL, /^/, 'SmartTV'], [VENDOR, 'Samsung'], [TYPE, SMARTTV]], [\n\n            /\\(dtv[\\);].+(aquos)/i                                              // Sharp\n            ], [MODEL, [VENDOR, 'Sharp'], [TYPE, SMARTTV]], [\n\n            /android.+((sch-i[89]0\\d|shw-m380s|gt-p\\d{4}|gt-n\\d+|sgh-t8[56]9|nexus 10))/i,\n            /((SM-T\\w+))/i\n            ], [[VENDOR, 'Samsung'], MODEL, [TYPE, TABLET]], [                  // Samsung\n            /smart-tv.+(samsung)/i\n            ], [VENDOR, [TYPE, SMARTTV], MODEL], [\n            /((s[cgp]h-\\w+|gt-\\w+|galaxy\\snexus|sm-\\w[\\w\\d]+))/i,\n            /(sam[sung]*)[\\s-]*(\\w+-?[\\w-]*)*/i,\n            /sec-((sgh\\w+))/i\n            ], [[VENDOR, 'Samsung'], MODEL, [TYPE, MOBILE]], [\n\n            /sie-(\\w+)*/i                                                       // Siemens\n            ], [MODEL, [VENDOR, 'Siemens'], [TYPE, MOBILE]], [\n\n            /(maemo|nokia).*(n900|lumia\\s\\d+)/i,                                // Nokia\n            /(nokia)[\\s_-]?([\\w-]+)*/i\n            ], [[VENDOR, 'Nokia'], MODEL, [TYPE, MOBILE]], [\n\n            /android\\s3\\.[\\s\\w;-]{10}(a\\d{3})/i                                 // Acer\n            ], [MODEL, [VENDOR, 'Acer'], [TYPE, TABLET]], [\n\n            /android.+([vl]k\\-?\\d{3})\\s+build/i                                 // LG Tablet\n            ], [MODEL, [VENDOR, 'LG'], [TYPE, TABLET]], [\n            /android\\s3\\.[\\s\\w;-]{10}(lg?)-([06cv9]{3,4})/i                     // LG Tablet\n            ], [[VENDOR, 'LG'], MODEL, [TYPE, TABLET]], [\n            /(lg) netcast\\.tv/i                                                 // LG SmartTV\n            ], [VENDOR, MODEL, [TYPE, SMARTTV]], [\n            /(nexus\\s[45])/i,                                                   // LG\n            /lg[e;\\s\\/-]+(\\w+)*/i,\n            /android.+lg(\\-?[\\d\\w]+)\\s+build/i\n            ], [MODEL, [VENDOR, 'LG'], [TYPE, MOBILE]], [\n\n            /android.+(ideatab[a-z0-9\\-\\s]+)/i                                  // Lenovo\n            ], [MODEL, [VENDOR, 'Lenovo'], [TYPE, TABLET]], [\n\n            /linux;.+((jolla));/i                                               // Jolla\n            ], [VENDOR, MODEL, [TYPE, MOBILE]], [\n\n            /((pebble))app\\/[\\d\\.]+\\s/i                                         // Pebble\n            ], [VENDOR, MODEL, [TYPE, WEARABLE]], [\n\n            /android.+;\\s(oppo)\\s?([\\w\\s]+)\\sbuild/i                            // OPPO\n            ], [VENDOR, MODEL, [TYPE, MOBILE]], [\n\n            /crkey/i                                                            // Google Chromecast\n            ], [[MODEL, 'Chromecast'], [VENDOR, 'Google']], [\n\n            /android.+;\\s(glass)\\s\\d/i                                          // Google Glass\n            ], [MODEL, [VENDOR, 'Google'], [TYPE, WEARABLE]], [\n\n            /android.+;\\s(pixel c)\\s/i                                          // Google Pixel C\n            ], [MODEL, [VENDOR, 'Google'], [TYPE, TABLET]], [\n\n            /android.+;\\s(pixel xl|pixel)\\s/i                                   // Google Pixel\n            ], [MODEL, [VENDOR, 'Google'], [TYPE, MOBILE]], [\n\n            /android.+(\\w+)\\s+build\\/hm\\1/i,                                    // Xiaomi Hongmi 'numeric' models\n            /android.+(hm[\\s\\-_]*note?[\\s_]*(?:\\d\\w)?)\\s+build/i,               // Xiaomi Hongmi\n            /android.+(mi[\\s\\-_]*(?:one|one[\\s_]plus|note lte)?[\\s_]*(?:\\d\\w)?)\\s+build/i    // Xiaomi Mi\n            ], [[MODEL, /_/g, ' '], [VENDOR, 'Xiaomi'], [TYPE, MOBILE]], [\n\n            /android.+;\\s(m[1-5]\\snote)\\sbuild/i                                // Meizu Tablet\n            ], [MODEL, [VENDOR, 'Meizu'], [TYPE, TABLET]], [\n\n            /android.+a000(1)\\s+build/i                                         // OnePlus\n            ], [MODEL, [VENDOR, 'OnePlus'], [TYPE, MOBILE]], [\n\n            /android.+[;\\/]\\s*(RCT[\\d\\w]+)\\s+build/i                            // RCA Tablets\n            ], [MODEL, [VENDOR, 'RCA'], [TYPE, TABLET]], [\n\n            /android.+[;\\/]\\s*(Venue[\\d\\s]*)\\s+build/i                          // Dell Venue Tablets\n            ], [MODEL, [VENDOR, 'Dell'], [TYPE, TABLET]], [\n\n            /android.+[;\\/]\\s*(Q[T|M][\\d\\w]+)\\s+build/i                         // Verizon Tablet\n            ], [MODEL, [VENDOR, 'Verizon'], [TYPE, TABLET]], [\n\n            /android.+[;\\/]\\s+(Barnes[&\\s]+Noble\\s+|BN[RT])(V?.*)\\s+build/i     // Barnes & Noble Tablet\n            ], [[VENDOR, 'Barnes & Noble'], MODEL, [TYPE, TABLET]], [\n\n            /android.+[;\\/]\\s+(TM\\d{3}.*\\b)\\s+build/i                           // Barnes & Noble Tablet\n            ], [MODEL, [VENDOR, 'NuVision'], [TYPE, TABLET]], [\n\n            /android.+[;\\/]\\s*(zte)?.+(k\\d{2})\\s+build/i                        // ZTE K Series Tablet\n            ], [[VENDOR, 'ZTE'], MODEL, [TYPE, TABLET]], [\n\n            /android.+[;\\/]\\s*(gen\\d{3})\\s+build.*49h/i                         // Swiss GEN Mobile\n            ], [MODEL, [VENDOR, 'Swiss'], [TYPE, MOBILE]], [\n\n            /android.+[;\\/]\\s*(zur\\d{3})\\s+build/i                              // Swiss ZUR Tablet\n            ], [MODEL, [VENDOR, 'Swiss'], [TYPE, TABLET]], [\n\n            /android.+[;\\/]\\s*((Zeki)?TB.*\\b)\\s+build/i                         // Zeki Tablets\n            ], [MODEL, [VENDOR, 'Zeki'], [TYPE, TABLET]], [\n\n            /(android).+[;\\/]\\s+([YR]\\d{2}x?.*)\\s+build/i,\n            /android.+[;\\/]\\s+(Dragon[\\-\\s]+Touch\\s+|DT)(.+)\\s+build/i          // Dragon Touch Tablet\n            ], [[VENDOR, 'Dragon Touch'], MODEL, [TYPE, TABLET]], [\n\n            /android.+[;\\/]\\s*(NS-?.+)\\s+build/i                                // Insignia Tablets\n            ], [MODEL, [VENDOR, 'Insignia'], [TYPE, TABLET]], [\n\n            /android.+[;\\/]\\s*((NX|Next)-?.+)\\s+build/i                         // NextBook Tablets\n            ], [MODEL, [VENDOR, 'NextBook'], [TYPE, TABLET]], [\n\n            /android.+[;\\/]\\s*(Xtreme\\_?)?(V(1[045]|2[015]|30|40|60|7[05]|90))\\s+build/i\n            ], [[VENDOR, 'Voice'], MODEL, [TYPE, MOBILE]], [                    // Voice Xtreme Phones\n\n            /android.+[;\\/]\\s*(LVTEL\\-?)?(V1[12])\\s+build/i                     // LvTel Phones\n            ], [[VENDOR, 'LvTel'], MODEL, [TYPE, MOBILE]], [\n\n            /android.+[;\\/]\\s*(V(100MD|700NA|7011|917G).*\\b)\\s+build/i          // Envizen Tablets\n            ], [MODEL, [VENDOR, 'Envizen'], [TYPE, TABLET]], [\n\n            /android.+[;\\/]\\s*(Le[\\s\\-]+Pan)[\\s\\-]+(.*\\b)\\s+build/i             // Le Pan Tablets\n            ], [VENDOR, MODEL, [TYPE, TABLET]], [\n\n            /android.+[;\\/]\\s*(Trio[\\s\\-]*.*)\\s+build/i                         // MachSpeed Tablets\n            ], [MODEL, [VENDOR, 'MachSpeed'], [TYPE, TABLET]], [\n\n            /android.+[;\\/]\\s*(Trinity)[\\-\\s]*(T\\d{3})\\s+build/i                // Trinity Tablets\n            ], [VENDOR, MODEL, [TYPE, TABLET]], [\n\n            /android.+[;\\/]\\s*TU_(1491)\\s+build/i                               // Rotor Tablets\n            ], [MODEL, [VENDOR, 'Rotor'], [TYPE, TABLET]], [\n\n            /android.+(KS(.+))\\s+build/i                                        // Amazon Kindle Tablets\n            ], [MODEL, [VENDOR, 'Amazon'], [TYPE, TABLET]], [\n\n            /android.+(Gigaset)[\\s\\-]+(Q.+)\\s+build/i                           // Gigaset Tablets\n            ], [VENDOR, MODEL, [TYPE, TABLET]], [\n\n            /\\s(tablet|tab)[;\\/]/i,                                             // Unidentifiable Tablet\n            /\\s(mobile)(?:[;\\/]|\\ssafari)/i                                     // Unidentifiable Mobile\n            ], [[TYPE, util.lowerize], VENDOR, MODEL], [\n\n            /(android.+)[;\\/].+build/i                                          // Generic Android Device\n            ], [MODEL, [VENDOR, 'Generic']]\n\n\n        /*//////////////////////////\n            // TODO: move to string map\n            ////////////////////////////\n\n            /(C6603)/i                                                          // Sony Xperia Z C6603\n            ], [[MODEL, 'Xperia Z C6603'], [VENDOR, 'Sony'], [TYPE, MOBILE]], [\n            /(C6903)/i                                                          // Sony Xperia Z 1\n            ], [[MODEL, 'Xperia Z 1'], [VENDOR, 'Sony'], [TYPE, MOBILE]], [\n\n            /(SM-G900[F|H])/i                                                   // Samsung Galaxy S5\n            ], [[MODEL, 'Galaxy S5'], [VENDOR, 'Samsung'], [TYPE, MOBILE]], [\n            /(SM-G7102)/i                                                       // Samsung Galaxy Grand 2\n            ], [[MODEL, 'Galaxy Grand 2'], [VENDOR, 'Samsung'], [TYPE, MOBILE]], [\n            /(SM-G530H)/i                                                       // Samsung Galaxy Grand Prime\n            ], [[MODEL, 'Galaxy Grand Prime'], [VENDOR, 'Samsung'], [TYPE, MOBILE]], [\n            /(SM-G313HZ)/i                                                      // Samsung Galaxy V\n            ], [[MODEL, 'Galaxy V'], [VENDOR, 'Samsung'], [TYPE, MOBILE]], [\n            /(SM-T805)/i                                                        // Samsung Galaxy Tab S 10.5\n            ], [[MODEL, 'Galaxy Tab S 10.5'], [VENDOR, 'Samsung'], [TYPE, TABLET]], [\n            /(SM-G800F)/i                                                       // Samsung Galaxy S5 Mini\n            ], [[MODEL, 'Galaxy S5 Mini'], [VENDOR, 'Samsung'], [TYPE, MOBILE]], [\n            /(SM-T311)/i                                                        // Samsung Galaxy Tab 3 8.0\n            ], [[MODEL, 'Galaxy Tab 3 8.0'], [VENDOR, 'Samsung'], [TYPE, TABLET]], [\n\n            /(T3C)/i                                                            // Advan Vandroid T3C\n            ], [MODEL, [VENDOR, 'Advan'], [TYPE, TABLET]], [\n            /(ADVAN T1J\\+)/i                                                    // Advan Vandroid T1J+\n            ], [[MODEL, 'Vandroid T1J+'], [VENDOR, 'Advan'], [TYPE, TABLET]], [\n            /(ADVAN S4A)/i                                                      // Advan Vandroid S4A\n            ], [[MODEL, 'Vandroid S4A'], [VENDOR, 'Advan'], [TYPE, MOBILE]], [\n\n            /(V972M)/i                                                          // ZTE V972M\n            ], [MODEL, [VENDOR, 'ZTE'], [TYPE, MOBILE]], [\n\n            /(i-mobile)\\s(IQ\\s[\\d\\.]+)/i                                        // i-mobile IQ\n            ], [VENDOR, MODEL, [TYPE, MOBILE]], [\n            /(IQ6.3)/i                                                          // i-mobile IQ IQ 6.3\n            ], [[MODEL, 'IQ 6.3'], [VENDOR, 'i-mobile'], [TYPE, MOBILE]], [\n            /(i-mobile)\\s(i-style\\s[\\d\\.]+)/i                                   // i-mobile i-STYLE\n            ], [VENDOR, MODEL, [TYPE, MOBILE]], [\n            /(i-STYLE2.1)/i                                                     // i-mobile i-STYLE 2.1\n            ], [[MODEL, 'i-STYLE 2.1'], [VENDOR, 'i-mobile'], [TYPE, MOBILE]], [\n\n            /(mobiistar touch LAI 512)/i                                        // mobiistar touch LAI 512\n            ], [[MODEL, 'Touch LAI 512'], [VENDOR, 'mobiistar'], [TYPE, MOBILE]], [\n\n            /////////////\n            // END TODO\n            ///////////*/\n\n        ],\n\n        engine : [[\n\n            /windows.+\\sedge\\/([\\w\\.]+)/i                                       // EdgeHTML\n            ], [VERSION, [NAME, 'EdgeHTML']], [\n\n            /(presto)\\/([\\w\\.]+)/i,                                             // Presto\n            /(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\\/([\\w\\.]+)/i,     // WebKit/Trident/NetFront/NetSurf/Amaya/Lynx/w3m\n            /(khtml|tasman|links)[\\/\\s]\\(?([\\w\\.]+)/i,                          // KHTML/Tasman/Links\n            /(icab)[\\/\\s]([23]\\.[\\d\\.]+)/i                                      // iCab\n            ], [NAME, VERSION], [\n\n            /rv\\:([\\w\\.]+).*(gecko)/i                                           // Gecko\n            ], [VERSION, NAME]\n        ],\n\n        os : [[\n\n            // Windows based\n            /microsoft\\s(windows)\\s(vista|xp)/i                                 // Windows (iTunes)\n            ], [NAME, VERSION], [\n            /(windows)\\snt\\s6\\.2;\\s(arm)/i,                                     // Windows RT\n            /(windows\\sphone(?:\\sos)*)[\\s\\/]?([\\d\\.\\s]+\\w)*/i,                  // Windows Phone\n            /(windows\\smobile|windows)[\\s\\/]?([ntce\\d\\.\\s]+\\w)/i\n            ], [NAME, [VERSION, mapper.str, maps.os.windows.version]], [\n            /(win(?=3|9|n)|win\\s9x\\s)([nt\\d\\.]+)/i\n            ], [[NAME, 'Windows'], [VERSION, mapper.str, maps.os.windows.version]], [\n\n            // Mobile/Embedded OS\n            /\\((bb)(10);/i                                                      // BlackBerry 10\n            ], [[NAME, 'BlackBerry'], VERSION], [\n            /(blackberry)\\w*\\/?([\\w\\.]+)*/i,                                    // Blackberry\n            /(tizen)[\\/\\s]([\\w\\.]+)/i,                                          // Tizen\n            /(android|webos|palm\\sos|qnx|bada|rim\\stablet\\sos|meego|contiki)[\\/\\s-]?([\\w\\.]+)*/i,\n                                                                                // Android/WebOS/Palm/QNX/Bada/RIM/MeeGo/Contiki\n            /linux;.+(sailfish);/i                                              // Sailfish OS\n            ], [NAME, VERSION], [\n            /(symbian\\s?os|symbos|s60(?=;))[\\/\\s-]?([\\w\\.]+)*/i                 // Symbian\n            ], [[NAME, 'Symbian'], VERSION], [\n            /\\((series40);/i                                                    // Series 40\n            ], [NAME], [\n            /mozilla.+\\(mobile;.+gecko.+firefox/i                               // Firefox OS\n            ], [[NAME, 'Firefox OS'], VERSION], [\n\n            // Console\n            /(nintendo|playstation)\\s([wids34portablevu]+)/i,                   // Nintendo/Playstation\n\n            // GNU/Linux based\n            /(mint)[\\/\\s\\(]?(\\w+)*/i,                                           // Mint\n            /(mageia|vectorlinux)[;\\s]/i,                                       // Mageia/VectorLinux\n            /(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|(?=\\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\\/\\s-]?(?!chrom)([\\w\\.-]+)*/i,\n                                                                                // Joli/Ubuntu/Debian/SUSE/Gentoo/Arch/Slackware\n                                                                                // Fedora/Mandriva/CentOS/PCLinuxOS/RedHat/Zenwalk/Linpus\n            /(hurd|linux)\\s?([\\w\\.]+)*/i,                                       // Hurd/Linux\n            /(gnu)\\s?([\\w\\.]+)*/i                                               // GNU\n            ], [NAME, VERSION], [\n\n            /(cros)\\s[\\w]+\\s([\\w\\.]+\\w)/i                                       // Chromium OS\n            ], [[NAME, 'Chromium OS'], VERSION],[\n\n            // Solaris\n            /(sunos)\\s?([\\w\\.]+\\d)*/i                                           // Solaris\n            ], [[NAME, 'Solaris'], VERSION], [\n\n            // BSD based\n            /\\s([frentopc-]{0,4}bsd|dragonfly)\\s?([\\w\\.]+)*/i                   // FreeBSD/NetBSD/OpenBSD/PC-BSD/DragonFly\n            ], [NAME, VERSION],[\n\n            /(haiku)\\s(\\w+)/i                                                  // Haiku\n            ], [NAME, VERSION],[\n\n            /cfnetwork\\/.+darwin/i,\n            /ip[honead]+(?:.*os\\s([\\w]+)*\\slike\\smac|;\\sopera)/i                // iOS\n            ], [[VERSION, /_/g, '.'], [NAME, 'iOS']], [\n\n            /(mac\\sos\\sx)\\s?([\\w\\s\\.]+\\w)*/i,\n            /(macintosh|mac(?=_powerpc)\\s)/i                                    // Mac OS\n            ], [[NAME, 'Mac OS'], [VERSION, /_/g, '.']], [\n\n            // Other\n            /((?:open)?solaris)[\\/\\s-]?([\\w\\.]+)*/i,                            // Solaris\n            /(aix)\\s((\\d)(?=\\.|\\)|\\s)[\\w\\.]*)*/i,                               // AIX\n            /(plan\\s9|minix|beos|os\\/2|amigaos|morphos|risc\\sos|openvms)/i,\n                                                                                // Plan9/Minix/BeOS/OS2/AmigaOS/MorphOS/RISCOS/OpenVMS\n            /(unix)\\s?([\\w\\.]+)*/i                                              // UNIX\n            ], [NAME, VERSION]\n        ]\n    };\n\n\n    /////////////////\n    // Constructor\n    ////////////////\n\n    var Browser = function (name, version) {\n        this[NAME] = name;\n        this[VERSION] = version;\n    };\n    var CPU = function (arch) {\n        this[ARCHITECTURE] = arch;\n    };\n    var Device = function (vendor, model, type) {\n        this[VENDOR] = vendor;\n        this[MODEL] = model;\n        this[TYPE] = type;\n    };\n    var Engine = Browser;\n    var OS = Browser;\n\n    var UAParser = function (uastring, extensions) {\n\n        if (typeof uastring === 'object') {\n            extensions = uastring;\n            uastring = undefined;\n        }\n\n        if (!(this instanceof UAParser)) {\n            return new UAParser(uastring, extensions).getResult();\n        }\n\n        var ua = uastring || ((window && window.navigator && window.navigator.userAgent) ? window.navigator.userAgent : EMPTY);\n        var rgxmap = extensions ? util.extend(regexes, extensions) : regexes;\n        var browser = new Browser();\n        var cpu = new CPU();\n        var device = new Device();\n        var engine = new Engine();\n        var os = new OS();\n\n        this.getBrowser = function () {\n            mapper.rgx.call(browser, ua, rgxmap.browser);\n            browser.major = util.major(browser.version); // deprecated\n            return browser;\n        };\n        this.getCPU = function () {\n            mapper.rgx.call(cpu, ua, rgxmap.cpu);\n            return cpu;\n        };\n        this.getDevice = function () {\n            mapper.rgx.call(device, ua, rgxmap.device);\n            return device;\n        };\n        this.getEngine = function () {\n            mapper.rgx.call(engine, ua, rgxmap.engine);\n            return engine;\n        };\n        this.getOS = function () {\n            mapper.rgx.call(os, ua, rgxmap.os);\n            return os;\n        };\n        this.getResult = function () {\n            return {\n                ua      : this.getUA(),\n                browser : this.getBrowser(),\n                engine  : this.getEngine(),\n                os      : this.getOS(),\n                device  : this.getDevice(),\n                cpu     : this.getCPU()\n            };\n        };\n        this.getUA = function () {\n            return ua;\n        };\n        this.setUA = function (uastring) {\n            ua = uastring;\n            browser = new Browser();\n            cpu = new CPU();\n            device = new Device();\n            engine = new Engine();\n            os = new OS();\n            return this;\n        };\n        return this;\n    };\n\n    UAParser.VERSION = LIBVERSION;\n    UAParser.BROWSER = {\n        NAME    : NAME,\n        MAJOR   : MAJOR, // deprecated\n        VERSION : VERSION\n    };\n    UAParser.CPU = {\n        ARCHITECTURE : ARCHITECTURE\n    };\n    UAParser.DEVICE = {\n        MODEL   : MODEL,\n        VENDOR  : VENDOR,\n        TYPE    : TYPE,\n        CONSOLE : CONSOLE,\n        MOBILE  : MOBILE,\n        SMARTTV : SMARTTV,\n        TABLET  : TABLET,\n        WEARABLE: WEARABLE,\n        EMBEDDED: EMBEDDED\n    };\n    UAParser.ENGINE = {\n        NAME    : NAME,\n        VERSION : VERSION\n    };\n    UAParser.OS = {\n        NAME    : NAME,\n        VERSION : VERSION\n    };\n    //UAParser.Utils = util;\n\n    ///////////\n    // Export\n    //////////\n\n\n    // check js environment\n    if (typeof(exports) !== UNDEF_TYPE) {\n        // nodejs env\n        if (typeof module !== UNDEF_TYPE && module.exports) {\n            exports = module.exports = UAParser;\n        }\n        exports.UAParser = UAParser;\n    } else {\n        // requirejs env (optional)\n        if (typeof(define) === FUNC_TYPE && define.amd) {\n            define(function () {\n                return UAParser;\n            });\n        } else if (window) {\n            // browser env\n            window.UAParser = UAParser;\n        }\n    }\n\n    // jQuery/Zepto specific (optional)\n    // Note:\n    //   In AMD env the global scope should be kept clean, but jQuery is an exception.\n    //   jQuery always exports to global scope, unless jQuery.noConflict(true) is used,\n    //   and we should catch that.\n    var $ = window && (window.jQuery || window.Zepto);\n    if (typeof $ !== UNDEF_TYPE) {\n        var parser = new UAParser();\n        $.ua = parser.getResult();\n        $.ua.get = function () {\n            return parser.getUA();\n        };\n        $.ua.set = function (uastring) {\n            parser.setUA(uastring);\n            var result = parser.getResult();\n            for (var prop in result) {\n                $.ua[prop] = result[prop];\n            }\n        };\n    }\n\n})(typeof window === 'object' ? window : this);\n\n}\n})((function(){ function newDefine(){ var args = Array.prototype.slice.call(arguments); args.unshift(\"ua-parser-js\"); return define.apply(null, args); }; newDefine.amd = true; return newDefine; })());","// ProgressBar.js 1.0.1\n// https://kimmobrunfeldt.github.io/progressbar.js\n// License: MIT\n\n!function(a){if(\"object\"==typeof exports&&\"undefined\"!=typeof module)module.exports=a();else if(\"function\"==typeof define&&define.amd)define([],a);else{var b;b=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this,b.ProgressBar=a()}}(function(){var a;return function b(a,c,d){function e(g,h){if(!c[g]){if(!a[g]){var i=\"function\"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error(\"Cannot find module '\"+g+\"'\");throw j.code=\"MODULE_NOT_FOUND\",j}var k=c[g]={exports:{}};a[g][0].call(k.exports,function(b){var c=a[g][1][b];return e(c?c:b)},k,k.exports,b,a,c,d)}return c[g].exports}for(var f=\"function\"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(b,c,d){(function(){var b=this||Function(\"return this\")(),e=function(){\"use strict\";function e(){}function f(a,b){var c;for(c in a)Object.hasOwnProperty.call(a,c)&&b(c)}function g(a,b){return f(b,function(c){a[c]=b[c]}),a}function h(a,b){f(b,function(c){\"undefined\"==typeof a[c]&&(a[c]=b[c])})}function i(a,b,c,d,e,f,g){var h,i,k,l=f>a?0:(a-f)/e;for(h in b)b.hasOwnProperty(h)&&(i=g[h],k=\"function\"==typeof i?i:o[i],b[h]=j(c[h],d[h],k,l));return b}function j(a,b,c,d){return a+(b-a)*c(d)}function k(a,b){var c=n.prototype.filter,d=a._filterArgs;f(c,function(e){\"undefined\"!=typeof c[e][b]&&c[e][b].apply(a,d)})}function l(a,b,c,d,e,f,g,h,j,l,m){v=b+c+d,w=Math.min(m||u(),v),x=w>=v,y=d-(v-w),a.isPlaying()&&(x?(j(g,a._attachment,y),a.stop(!0)):(a._scheduleId=l(a._timeoutHandler,s),k(a,\"beforeTween\"),b+c>w?i(1,e,f,g,1,1,h):i(w,e,f,g,d,b+c,h),k(a,\"afterTween\"),j(e,a._attachment,y)))}function m(a,b){var c={},d=typeof b;return\"string\"===d||\"function\"===d?f(a,function(a){c[a]=b}):f(a,function(a){c[a]||(c[a]=b[a]||q)}),c}function n(a,b){this._currentState=a||{},this._configured=!1,this._scheduleFunction=p,\"undefined\"!=typeof b&&this.setConfig(b)}var o,p,q=\"linear\",r=500,s=1e3/60,t=Date.now?Date.now:function(){return+new Date},u=\"undefined\"!=typeof SHIFTY_DEBUG_NOW?SHIFTY_DEBUG_NOW:t;p=\"undefined\"!=typeof window?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||window.mozCancelRequestAnimationFrame&&window.mozRequestAnimationFrame||setTimeout:setTimeout;var v,w,x,y;return n.prototype.tween=function(a){return this._isTweening?this:(void 0===a&&this._configured||this.setConfig(a),this._timestamp=u(),this._start(this.get(),this._attachment),this.resume())},n.prototype.setConfig=function(a){a=a||{},this._configured=!0,this._attachment=a.attachment,this._pausedAtTime=null,this._scheduleId=null,this._delay=a.delay||0,this._start=a.start||e,this._step=a.step||e,this._finish=a.finish||e,this._duration=a.duration||r,this._currentState=g({},a.from)||this.get(),this._originalState=this.get(),this._targetState=g({},a.to)||this.get();var b=this;this._timeoutHandler=function(){l(b,b._timestamp,b._delay,b._duration,b._currentState,b._originalState,b._targetState,b._easing,b._step,b._scheduleFunction)};var c=this._currentState,d=this._targetState;return h(d,c),this._easing=m(c,a.easing||q),this._filterArgs=[c,this._originalState,d,this._easing],k(this,\"tweenCreated\"),this},n.prototype.get=function(){return g({},this._currentState)},n.prototype.set=function(a){this._currentState=a},n.prototype.pause=function(){return this._pausedAtTime=u(),this._isPaused=!0,this},n.prototype.resume=function(){return this._isPaused&&(this._timestamp+=u()-this._pausedAtTime),this._isPaused=!1,this._isTweening=!0,this._timeoutHandler(),this},n.prototype.seek=function(a){a=Math.max(a,0);var b=u();return this._timestamp+a===0?this:(this._timestamp=b-a,this.isPlaying()||(this._isTweening=!0,this._isPaused=!1,l(this,this._timestamp,this._delay,this._duration,this._currentState,this._originalState,this._targetState,this._easing,this._step,this._scheduleFunction,b),this.pause()),this)},n.prototype.stop=function(a){return this._isTweening=!1,this._isPaused=!1,this._timeoutHandler=e,(b.cancelAnimationFrame||b.webkitCancelAnimationFrame||b.oCancelAnimationFrame||b.msCancelAnimationFrame||b.mozCancelRequestAnimationFrame||b.clearTimeout)(this._scheduleId),a&&(k(this,\"beforeTween\"),i(1,this._currentState,this._originalState,this._targetState,1,0,this._easing),k(this,\"afterTween\"),k(this,\"afterTweenEnd\"),this._finish.call(this,this._currentState,this._attachment)),this},n.prototype.isPlaying=function(){return this._isTweening&&!this._isPaused},n.prototype.setScheduleFunction=function(a){this._scheduleFunction=a},n.prototype.dispose=function(){var a;for(a in this)this.hasOwnProperty(a)&&delete this[a]},n.prototype.filter={},n.prototype.formula={linear:function(a){return a}},o=n.prototype.formula,g(n,{now:u,each:f,tweenProps:i,tweenProp:j,applyFilter:k,shallowCopy:g,defaults:h,composeEasingObject:m}),\"function\"==typeof SHIFTY_DEBUG_NOW&&(b.timeoutHandler=l),\"object\"==typeof d?c.exports=n:\"function\"==typeof a&&a.amd?a(function(){return n}):\"undefined\"==typeof b.Tweenable&&(b.Tweenable=n),n}();!function(){e.shallowCopy(e.prototype.formula,{easeInQuad:function(a){return Math.pow(a,2)},easeOutQuad:function(a){return-(Math.pow(a-1,2)-1)},easeInOutQuad:function(a){return(a/=.5)<1?.5*Math.pow(a,2):-.5*((a-=2)*a-2)},easeInCubic:function(a){return Math.pow(a,3)},easeOutCubic:function(a){return Math.pow(a-1,3)+1},easeInOutCubic:function(a){return(a/=.5)<1?.5*Math.pow(a,3):.5*(Math.pow(a-2,3)+2)},easeInQuart:function(a){return Math.pow(a,4)},easeOutQuart:function(a){return-(Math.pow(a-1,4)-1)},easeInOutQuart:function(a){return(a/=.5)<1?.5*Math.pow(a,4):-.5*((a-=2)*Math.pow(a,3)-2)},easeInQuint:function(a){return Math.pow(a,5)},easeOutQuint:function(a){return Math.pow(a-1,5)+1},easeInOutQuint:function(a){return(a/=.5)<1?.5*Math.pow(a,5):.5*(Math.pow(a-2,5)+2)},easeInSine:function(a){return-Math.cos(a*(Math.PI/2))+1},easeOutSine:function(a){return Math.sin(a*(Math.PI/2))},easeInOutSine:function(a){return-.5*(Math.cos(Math.PI*a)-1)},easeInExpo:function(a){return 0===a?0:Math.pow(2,10*(a-1))},easeOutExpo:function(a){return 1===a?1:-Math.pow(2,-10*a)+1},easeInOutExpo:function(a){return 0===a?0:1===a?1:(a/=.5)<1?.5*Math.pow(2,10*(a-1)):.5*(-Math.pow(2,-10*--a)+2)},easeInCirc:function(a){return-(Math.sqrt(1-a*a)-1)},easeOutCirc:function(a){return Math.sqrt(1-Math.pow(a-1,2))},easeInOutCirc:function(a){return(a/=.5)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)},easeOutBounce:function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375},easeInBack:function(a){var b=1.70158;return a*a*((b+1)*a-b)},easeOutBack:function(a){var b=1.70158;return(a-=1)*a*((b+1)*a+b)+1},easeInOutBack:function(a){var b=1.70158;return(a/=.5)<1?.5*(a*a*(((b*=1.525)+1)*a-b)):.5*((a-=2)*a*(((b*=1.525)+1)*a+b)+2)},elastic:function(a){return-1*Math.pow(4,-8*a)*Math.sin((6*a-1)*(2*Math.PI)/2)+1},swingFromTo:function(a){var b=1.70158;return(a/=.5)<1?.5*(a*a*(((b*=1.525)+1)*a-b)):.5*((a-=2)*a*(((b*=1.525)+1)*a+b)+2)},swingFrom:function(a){var b=1.70158;return a*a*((b+1)*a-b)},swingTo:function(a){var b=1.70158;return(a-=1)*a*((b+1)*a+b)+1},bounce:function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375},bouncePast:function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?2-(7.5625*(a-=1.5/2.75)*a+.75):2.5/2.75>a?2-(7.5625*(a-=2.25/2.75)*a+.9375):2-(7.5625*(a-=2.625/2.75)*a+.984375)},easeFromTo:function(a){return(a/=.5)<1?.5*Math.pow(a,4):-.5*((a-=2)*Math.pow(a,3)-2)},easeFrom:function(a){return Math.pow(a,4)},easeTo:function(a){return Math.pow(a,.25)}})}(),function(){function a(a,b,c,d,e,f){function g(a){return((n*a+o)*a+p)*a}function h(a){return((q*a+r)*a+s)*a}function i(a){return(3*n*a+2*o)*a+p}function j(a){return 1/(200*a)}function k(a,b){return h(m(a,b))}function l(a){return a>=0?a:0-a}function m(a,b){var c,d,e,f,h,j;for(e=a,j=0;8>j;j++){if(f=g(e)-a,l(f)<b)return e;if(h=i(e),l(h)<1e-6)break;e-=f/h}if(c=0,d=1,e=a,c>e)return c;if(e>d)return d;for(;d>c;){if(f=g(e),l(f-a)<b)return e;a>f?c=e:d=e,e=.5*(d-c)+c}return e}var n=0,o=0,p=0,q=0,r=0,s=0;return p=3*b,o=3*(d-b)-p,n=1-p-o,s=3*c,r=3*(e-c)-s,q=1-s-r,k(a,j(f))}function b(b,c,d,e){return function(f){return a(f,b,c,d,e,1)}}e.setBezierFunction=function(a,c,d,f,g){var h=b(c,d,f,g);return h.displayName=a,h.x1=c,h.y1=d,h.x2=f,h.y2=g,e.prototype.formula[a]=h},e.unsetBezierFunction=function(a){delete e.prototype.formula[a]}}(),function(){function a(a,b,c,d,f,g){return e.tweenProps(d,b,a,c,1,g,f)}var b=new e;b._filterArgs=[],e.interpolate=function(c,d,f,g,h){var i=e.shallowCopy({},c),j=h||0,k=e.composeEasingObject(c,g||\"linear\");b.set({});var l=b._filterArgs;l.length=0,l[0]=i,l[1]=c,l[2]=d,l[3]=k,e.applyFilter(b,\"tweenCreated\"),e.applyFilter(b,\"beforeTween\");var m=a(c,i,d,f,k,j);return e.applyFilter(b,\"afterTween\"),m}}(),function(a){function b(a,b){var c,d=[],e=a.length;for(c=0;e>c;c++)d.push(\"_\"+b+\"_\"+c);return d}function c(a){var b=a.match(v);return b?(1===b.length||a[0].match(u))&&b.unshift(\"\"):b=[\"\",\"\"],b.join(A)}function d(b){a.each(b,function(a){var c=b[a];\"string\"==typeof c&&c.match(z)&&(b[a]=e(c))})}function e(a){return i(z,a,f)}function f(a){var b=g(a);return\"rgb(\"+b[0]+\",\"+b[1]+\",\"+b[2]+\")\"}function g(a){return a=a.replace(/#/,\"\"),3===a.length&&(a=a.split(\"\"),a=a[0]+a[0]+a[1]+a[1]+a[2]+a[2]),B[0]=h(a.substr(0,2)),B[1]=h(a.substr(2,2)),B[2]=h(a.substr(4,2)),B}function h(a){return parseInt(a,16)}function i(a,b,c){var d=b.match(a),e=b.replace(a,A);if(d)for(var f,g=d.length,h=0;g>h;h++)f=d.shift(),e=e.replace(A,c(f));return e}function j(a){return i(x,a,k)}function k(a){for(var b=a.match(w),c=b.length,d=a.match(y)[0],e=0;c>e;e++)d+=parseInt(b[e],10)+\",\";return d=d.slice(0,-1)+\")\"}function l(d){var e={};return a.each(d,function(a){var f=d[a];if(\"string\"==typeof f){var g=r(f);e[a]={formatString:c(f),chunkNames:b(g,a)}}}),e}function m(b,c){a.each(c,function(a){for(var d=b[a],e=r(d),f=e.length,g=0;f>g;g++)b[c[a].chunkNames[g]]=+e[g];delete b[a]})}function n(b,c){a.each(c,function(a){var d=b[a],e=o(b,c[a].chunkNames),f=p(e,c[a].chunkNames);d=q(c[a].formatString,f),b[a]=j(d)})}function o(a,b){for(var c,d={},e=b.length,f=0;e>f;f++)c=b[f],d[c]=a[c],delete a[c];return d}function p(a,b){C.length=0;for(var c=b.length,d=0;c>d;d++)C.push(a[b[d]]);return C}function q(a,b){for(var c=a,d=b.length,e=0;d>e;e++)c=c.replace(A,+b[e].toFixed(4));return c}function r(a){return a.match(w)}function s(b,c){a.each(c,function(a){var d,e=c[a],f=e.chunkNames,g=f.length,h=b[a];if(\"string\"==typeof h){var i=h.split(\" \"),j=i[i.length-1];for(d=0;g>d;d++)b[f[d]]=i[d]||j}else for(d=0;g>d;d++)b[f[d]]=h;delete b[a]})}function t(b,c){a.each(c,function(a){var d=c[a],e=d.chunkNames,f=e.length,g=b[e[0]],h=typeof g;if(\"string\"===h){for(var i=\"\",j=0;f>j;j++)i+=\" \"+b[e[j]],delete b[e[j]];b[a]=i.substr(1)}else b[a]=g})}var u=/(\\d|\\-|\\.)/,v=/([^\\-0-9\\.]+)/g,w=/[0-9.\\-]+/g,x=new RegExp(\"rgb\\\\(\"+w.source+/,\\s*/.source+w.source+/,\\s*/.source+w.source+\"\\\\)\",\"g\"),y=/^.*\\(/,z=/#([0-9]|[a-f]){3,6}/gi,A=\"VAL\",B=[],C=[];a.prototype.filter.token={tweenCreated:function(a,b,c,e){d(a),d(b),d(c),this._tokenData=l(a)},beforeTween:function(a,b,c,d){s(d,this._tokenData),m(a,this._tokenData),m(b,this._tokenData),m(c,this._tokenData)},afterTween:function(a,b,c,d){n(a,this._tokenData),n(b,this._tokenData),n(c,this._tokenData),t(d,this._tokenData)}}}(e)}).call(null)},{}],2:[function(a,b,c){var d=a(\"./shape\"),e=a(\"./utils\"),f=function(a,b){this._pathTemplate=\"M 50,50 m 0,-{radius} a {radius},{radius} 0 1 1 0,{2radius} a {radius},{radius} 0 1 1 0,-{2radius}\",this.containerAspectRatio=1,d.apply(this,arguments)};f.prototype=new d,f.prototype.constructor=f,f.prototype._pathString=function(a){var b=a.strokeWidth;a.trailWidth&&a.trailWidth>a.strokeWidth&&(b=a.trailWidth);var c=50-b/2;return e.render(this._pathTemplate,{radius:c,\"2radius\":2*c})},f.prototype._trailString=function(a){return this._pathString(a)},b.exports=f},{\"./shape\":7,\"./utils\":8}],3:[function(a,b,c){var d=a(\"./shape\"),e=a(\"./utils\"),f=function(a,b){this._pathTemplate=\"M 0,{center} L 100,{center}\",d.apply(this,arguments)};f.prototype=new d,f.prototype.constructor=f,f.prototype._initializeSvg=function(a,b){a.setAttribute(\"viewBox\",\"0 0 100 \"+b.strokeWidth),a.setAttribute(\"preserveAspectRatio\",\"none\")},f.prototype._pathString=function(a){return e.render(this._pathTemplate,{center:a.strokeWidth/2})},f.prototype._trailString=function(a){return this._pathString(a)},b.exports=f},{\"./shape\":7,\"./utils\":8}],4:[function(a,b,c){b.exports={Line:a(\"./line\"),Circle:a(\"./circle\"),SemiCircle:a(\"./semicircle\"),Path:a(\"./path\"),Shape:a(\"./shape\"),utils:a(\"./utils\")}},{\"./circle\":2,\"./line\":3,\"./path\":5,\"./semicircle\":6,\"./shape\":7,\"./utils\":8}],5:[function(a,b,c){var d=a(\"shifty\"),e=a(\"./utils\"),f={easeIn:\"easeInCubic\",easeOut:\"easeOutCubic\",easeInOut:\"easeInOutCubic\"},g=function h(a,b){if(!(this instanceof h))throw new Error(\"Constructor was called without new keyword\");b=e.extend({duration:800,easing:\"linear\",from:{},to:{},step:function(){}},b);var c;c=e.isString(a)?document.querySelector(a):a,this.path=c,this._opts=b,this._tweenable=null;var d=this.path.getTotalLength();this.path.style.strokeDasharray=d+\" \"+d,this.set(0)};g.prototype.value=function(){var a=this._getComputedDashOffset(),b=this.path.getTotalLength(),c=1-a/b;return parseFloat(c.toFixed(6),10)},g.prototype.set=function(a){this.stop(),this.path.style.strokeDashoffset=this._progressToOffset(a);var b=this._opts.step;if(e.isFunction(b)){var c=this._easing(this._opts.easing),d=this._calculateTo(a,c),f=this._opts.shape||this;b(d,f,this._opts.attachment)}},g.prototype.stop=function(){this._stopTween(),this.path.style.strokeDashoffset=this._getComputedDashOffset()},g.prototype.animate=function(a,b,c){b=b||{},e.isFunction(b)&&(c=b,b={});var f=e.extend({},b),g=e.extend({},this._opts);b=e.extend(g,b);var h=this._easing(b.easing),i=this._resolveFromAndTo(a,h,f);this.stop(),this.path.getBoundingClientRect();var j=this._getComputedDashOffset(),k=this._progressToOffset(a),l=this;this._tweenable=new d,this._tweenable.tween({from:e.extend({offset:j},i.from),to:e.extend({offset:k},i.to),duration:b.duration,easing:h,step:function(a){l.path.style.strokeDashoffset=a.offset;var c=b.shape||l;b.step(a,c,b.attachment)},finish:function(a){e.isFunction(c)&&c()}})},g.prototype._getComputedDashOffset=function(){var a=window.getComputedStyle(this.path,null);return parseFloat(a.getPropertyValue(\"stroke-dashoffset\"),10)},g.prototype._progressToOffset=function(a){var b=this.path.getTotalLength();return b-a*b},g.prototype._resolveFromAndTo=function(a,b,c){return c.from&&c.to?{from:c.from,to:c.to}:{from:this._calculateFrom(b),to:this._calculateTo(a,b)}},g.prototype._calculateFrom=function(a){return d.interpolate(this._opts.from,this._opts.to,this.value(),a)},g.prototype._calculateTo=function(a,b){return d.interpolate(this._opts.from,this._opts.to,a,b)},g.prototype._stopTween=function(){null!==this._tweenable&&(this._tweenable.stop(),this._tweenable=null)},g.prototype._easing=function(a){return f.hasOwnProperty(a)?f[a]:a},b.exports=g},{\"./utils\":8,shifty:1}],6:[function(a,b,c){var d=a(\"./shape\"),e=a(\"./circle\"),f=a(\"./utils\"),g=function(a,b){this._pathTemplate=\"M 50,50 m -{radius},0 a {radius},{radius} 0 1 1 {2radius},0\",this.containerAspectRatio=2,d.apply(this,arguments)};g.prototype=new d,g.prototype.constructor=g,g.prototype._initializeSvg=function(a,b){a.setAttribute(\"viewBox\",\"0 0 100 50\")},g.prototype._initializeTextContainer=function(a,b,c){a.text.style&&(c.style.top=\"auto\",c.style.bottom=\"0\",a.text.alignToBottom?f.setStyle(c,\"transform\",\"translate(-50%, 0)\"):f.setStyle(c,\"transform\",\"translate(-50%, 50%)\"))},g.prototype._pathString=e.prototype._pathString,g.prototype._trailString=e.prototype._trailString,b.exports=g},{\"./circle\":2,\"./shape\":7,\"./utils\":8}],7:[function(a,b,c){var d=a(\"./path\"),e=a(\"./utils\"),f=\"Object is destroyed\",g=function h(a,b){if(!(this instanceof h))throw new Error(\"Constructor was called without new keyword\");if(0!==arguments.length){this._opts=e.extend({color:\"#555\",strokeWidth:1,trailColor:null,trailWidth:null,fill:null,text:{style:{color:null,position:\"absolute\",left:\"50%\",top:\"50%\",padding:0,margin:0,transform:{prefix:!0,value:\"translate(-50%, -50%)\"}},autoStyleContainer:!0,alignToBottom:!0,value:null,className:\"progressbar-text\"},svgStyle:{display:\"block\",width:\"100%\"},warnings:!1},b,!0),e.isObject(b)&&void 0!==b.svgStyle&&(this._opts.svgStyle=b.svgStyle),e.isObject(b)&&e.isObject(b.text)&&void 0!==b.text.style&&(this._opts.text.style=b.text.style);var c,f=this._createSvgView(this._opts);if(c=e.isString(a)?document.querySelector(a):a,!c)throw new Error(\"Container does not exist: \"+a);this._container=c,this._container.appendChild(f.svg),this._opts.warnings&&this._warnContainerAspectRatio(this._container),this._opts.svgStyle&&e.setStyles(f.svg,this._opts.svgStyle),this.svg=f.svg,this.path=f.path,this.trail=f.trail,this.text=null;var g=e.extend({attachment:void 0,shape:this},this._opts);this._progressPath=new d(f.path,g),e.isObject(this._opts.text)&&null!==this._opts.text.value&&this.setText(this._opts.text.value)}};g.prototype.animate=function(a,b,c){if(null===this._progressPath)throw new Error(f);this._progressPath.animate(a,b,c)},g.prototype.stop=function(){if(null===this._progressPath)throw new Error(f);void 0!==this._progressPath&&this._progressPath.stop()},g.prototype.destroy=function(){if(null===this._progressPath)throw new Error(f);this.stop(),this.svg.parentNode.removeChild(this.svg),this.svg=null,this.path=null,this.trail=null,this._progressPath=null,null!==this.text&&(this.text.parentNode.removeChild(this.text),this.text=null)},g.prototype.set=function(a){if(null===this._progressPath)throw new Error(f);this._progressPath.set(a)},g.prototype.value=function(){if(null===this._progressPath)throw new Error(f);return void 0===this._progressPath?0:this._progressPath.value()},g.prototype.setText=function(a){if(null===this._progressPath)throw new Error(f);null===this.text&&(this.text=this._createTextContainer(this._opts,this._container),this._container.appendChild(this.text)),e.isObject(a)?(e.removeChildren(this.text),this.text.appendChild(a)):this.text.innerHTML=a},g.prototype._createSvgView=function(a){var b=document.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\");this._initializeSvg(b,a);var c=null;(a.trailColor||a.trailWidth)&&(c=this._createTrail(a),b.appendChild(c));var d=this._createPath(a);return b.appendChild(d),{svg:b,path:d,trail:c}},g.prototype._initializeSvg=function(a,b){a.setAttribute(\"viewBox\",\"0 0 100 100\")},g.prototype._createPath=function(a){var b=this._pathString(a);return this._createPathElement(b,a)},g.prototype._createTrail=function(a){var b=this._trailString(a),c=e.extend({},a);return c.trailColor||(c.trailColor=\"#eee\"),c.trailWidth||(c.trailWidth=c.strokeWidth),c.color=c.trailColor,c.strokeWidth=c.trailWidth,c.fill=null,this._createPathElement(b,c)},g.prototype._createPathElement=function(a,b){var c=document.createElementNS(\"http://www.w3.org/2000/svg\",\"path\");return c.setAttribute(\"d\",a),c.setAttribute(\"stroke\",b.color),c.setAttribute(\"stroke-width\",b.strokeWidth),b.fill?c.setAttribute(\"fill\",b.fill):c.setAttribute(\"fill-opacity\",\"0\"),c},g.prototype._createTextContainer=function(a,b){var c=document.createElement(\"div\");c.className=a.text.className;var d=a.text.style;return d&&(a.text.autoStyleContainer&&(b.style.position=\"relative\"),e.setStyles(c,d),d.color||(c.style.color=a.color)),this._initializeTextContainer(a,b,c),c},g.prototype._initializeTextContainer=function(a,b,c){},g.prototype._pathString=function(a){throw new Error(\"Override this function for each progress bar\")},g.prototype._trailString=function(a){throw new Error(\"Override this function for each progress bar\")},g.prototype._warnContainerAspectRatio=function(a){if(this.containerAspectRatio){var b=window.getComputedStyle(a,null),c=parseFloat(b.getPropertyValue(\"width\"),10),d=parseFloat(b.getPropertyValue(\"height\"),10);e.floatEquals(this.containerAspectRatio,c/d)||(console.warn(\"Incorrect aspect ratio of container\",\"#\"+a.id,\"detected:\",b.getPropertyValue(\"width\")+\"(width)\",\"/\",b.getPropertyValue(\"height\")+\"(height)\",\"=\",c/d),console.warn(\"Aspect ratio of should be\",this.containerAspectRatio))}},b.exports=g},{\"./path\":5,\"./utils\":8}],8:[function(a,b,c){function d(a,b,c){a=a||{},b=b||{},c=c||!1;for(var e in b)if(b.hasOwnProperty(e)){var f=a[e],g=b[e];c&&l(f)&&l(g)?a[e]=d(f,g,c):a[e]=g}return a}function e(a,b){var c=a;for(var d in b)if(b.hasOwnProperty(d)){var e=b[d],f=\"\\\\{\"+d+\"\\\\}\",g=new RegExp(f,\"g\");c=c.replace(g,e)}return c}function f(a,b,c){for(var d=a.style,e=0;e<p.length;++e){var f=p[e];d[f+h(b)]=c}d[b]=c}function g(a,b){m(b,function(b,c){null!==b&&void 0!==b&&(l(b)&&b.prefix===!0?f(a,c,b.value):a.style[c]=b)})}function h(a){return a.charAt(0).toUpperCase()+a.slice(1)}function i(a){return\"string\"==typeof a||a instanceof String}function j(a){return\"function\"==typeof a}function k(a){return\"[object Array]\"===Object.prototype.toString.call(a)}function l(a){if(k(a))return!1;var b=typeof a;return\"object\"===b&&!!a}function m(a,b){for(var c in a)if(a.hasOwnProperty(c)){var d=a[c];b(d,c)}}function n(a,b){return Math.abs(a-b)<q}function o(a){for(;a.firstChild;)a.removeChild(a.firstChild)}var p=\"Webkit Moz O ms\".split(\" \"),q=.001;b.exports={extend:d,render:e,setStyle:f,setStyles:g,capitalize:h,isString:i,isFunction:j,isObject:l,forEachObject:m,floatEquals:n,removeChildren:o}},{}]},{},[4])(4)});\n//# sourceMappingURL=progressbar.min.js.map","define(\"ember-ajax/-private/promise\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\n  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\n  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\n  function _get(target, property, receiver) { if (typeof Reflect !== \"undefined\" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return _get(target, property, receiver || target); }\n\n  function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }\n\n  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n  function _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\n  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\n  /**\n   * AJAX Promise\n   *\n   * Sub-class of RSVP Promise that passes the XHR property on to the\n   * child promise\n   *\n   * @extends RSVP.Promise\n   * @private\n   */\n  var AJAXPromise =\n  /*#__PURE__*/\n  function (_EmberRSVPPromise) {\n    _inherits(AJAXPromise, _EmberRSVPPromise);\n\n    // NOTE: Only necessary due to broken definition of RSVP.Promise\n    // https://github.com/DefinitelyTyped/DefinitelyTyped/pull/26640\n    function AJAXPromise(executor, label) {\n      _classCallCheck(this, AJAXPromise);\n\n      // @ts-ignore\n      return _possibleConstructorReturn(this, _getPrototypeOf(AJAXPromise).call(this, executor, label));\n    }\n    /**\n     * Overriding `.then` to add XHR to child promise\n     */\n\n\n    _createClass(AJAXPromise, [{\n      key: \"then\",\n      value: function then(onFulfilled, onRejected, label) {\n        var child = _get(_getPrototypeOf(AJAXPromise.prototype), \"then\", this).call(this, onFulfilled, onRejected, label);\n\n        child.xhr = this.xhr;\n        return child;\n      }\n    }]);\n\n    return AJAXPromise;\n  }(Ember.RSVP.Promise);\n\n  _exports.default = AJAXPromise;\n});","define(\"ember-ajax/-private/types\", [], function () {\n  \"use strict\";\n});","define(\"ember-ajax/-private/utils/get-header\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = getHeader;\n\n  /**\n   * Do a case-insensitive lookup of an HTTP header\n   *\n   * @function getHeader\n   * @private\n   */\n  function getHeader(headers, name) {\n    if (Ember.isNone(headers) || Ember.isNone(name)) {\n      return undefined;\n    }\n\n    var matchedKey = Ember.A(Object.keys(headers)).find(function (key) {\n      return key.toLowerCase() === name.toLowerCase();\n    });\n    return matchedKey ? headers[matchedKey] : undefined;\n  }\n});","define(\"ember-ajax/-private/utils/is-string\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isString;\n\n  function isString(object) {\n    return typeof object === 'string';\n  }\n});","define(\"ember-ajax/-private/utils/parse-response-headers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = parseResponseHeaders;\n  _exports.CRLF = void 0;\n\n  function _toArray(arr) { return _arrayWithHoles(arr) || _iterableToArray(arr) || _nonIterableRest(); }\n\n  function _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\n  function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\n  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n  var CRLF = \"\\r\\n\";\n  _exports.CRLF = CRLF;\n\n  function parseResponseHeaders(headersString) {\n    var headers = {};\n\n    if (!headersString) {\n      return headers;\n    }\n\n    return headersString.split(CRLF).reduce(function (hash, header) {\n      var _header$split = header.split(':'),\n          _header$split2 = _toArray(_header$split),\n          field = _header$split2[0],\n          value = _header$split2.slice(1);\n\n      field = field.trim();\n      var valueString = value.join(':').trim();\n\n      if (valueString) {\n        hash[field] = valueString;\n      }\n\n      return hash;\n    }, headers);\n  }\n});","define(\"ember-ajax/-private/utils/url-helpers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.parseURL = parseURL;\n  _exports.isFullURL = isFullURL;\n  _exports.haveSameHost = haveSameHost;\n\n  /* eslint-env browser, node */\n  var completeUrlRegex = /^(http|https)/;\n  /**\n   * Parse a URL string into an object that defines its structure\n   *\n   * The returned object will have the following properties:\n   *\n   *   href: the full URL\n   *   protocol: the request protocol\n   *   hostname: the target for the request\n   *   port: the port for the request\n   *   pathname: any URL after the host\n   *   search: query parameters\n   *   hash: the URL hash\n   *\n   * @function parseURL\n   * @private\n   */\n\n  function parseURL(str) {\n    var fullObject;\n\n    if (typeof FastBoot === 'undefined') {\n      var element = document.createElement('a');\n      element.href = str;\n      fullObject = element;\n    } else {\n      fullObject = FastBoot.require('url').parse(str);\n    }\n\n    var desiredProps = {\n      href: fullObject.href,\n      protocol: fullObject.protocol,\n      hostname: fullObject.hostname,\n      port: fullObject.port,\n      pathname: fullObject.pathname,\n      search: fullObject.search,\n      hash: fullObject.hash\n    };\n    return desiredProps;\n  }\n\n  function isFullURL(url) {\n    return !!url.match(completeUrlRegex);\n  }\n\n  function haveSameHost(a, b) {\n    var urlA = parseURL(a);\n    var urlB = parseURL(b);\n    return urlA.protocol === urlB.protocol && urlA.hostname === urlB.hostname && urlA.port === urlB.port;\n  }\n});","define(\"ember-ajax/ajax-request\", [\"exports\", \"ember-ajax/mixins/ajax-request\"], function (_exports, _ajaxRequest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Object.extend(_ajaxRequest.default);\n\n  _exports.default = _default;\n});","define(\"ember-ajax/errors\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isAjaxError = isAjaxError;\n  _exports.isUnauthorizedError = isUnauthorizedError;\n  _exports.isForbiddenError = isForbiddenError;\n  _exports.isInvalidError = isInvalidError;\n  _exports.isBadRequestError = isBadRequestError;\n  _exports.isNotFoundError = isNotFoundError;\n  _exports.isGoneError = isGoneError;\n  _exports.isTimeoutError = isTimeoutError;\n  _exports.isAbortError = isAbortError;\n  _exports.isConflictError = isConflictError;\n  _exports.isServerError = isServerError;\n  _exports.isSuccess = isSuccess;\n  _exports.ServerError = _exports.ConflictError = _exports.AbortError = _exports.TimeoutError = _exports.GoneError = _exports.NotFoundError = _exports.BadRequestError = _exports.ForbiddenError = _exports.UnauthorizedError = _exports.InvalidError = _exports.AjaxError = void 0;\n\n  function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\n  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\n  function _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\n  function _wrapNativeSuper(Class) { var _cache = typeof Map === \"function\" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== \"function\") { throw new TypeError(\"Super expression must either be null or a function\"); } if (typeof _cache !== \"undefined\") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }\n\n  function isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\n  function _construct(Parent, args, Class) { if (isNativeReflectConstruct()) { _construct = Reflect.construct; } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }\n\n  function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf(\"[native code]\") !== -1; }\n\n  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\n  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n  var AjaxError =\n  /*#__PURE__*/\n  function (_Error) {\n    _inherits(AjaxError, _Error);\n\n    function AjaxError(payload) {\n      var _this;\n\n      var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'Ajax operation failed';\n      var status = arguments.length > 2 ? arguments[2] : undefined;\n\n      _classCallCheck(this, AjaxError);\n\n      _this = _possibleConstructorReturn(this, _getPrototypeOf(AjaxError).call(this, message));\n      _this.payload = payload;\n      _this.status = status;\n      return _this;\n    }\n\n    return AjaxError;\n  }(_wrapNativeSuper(Error));\n\n  _exports.AjaxError = AjaxError;\n\n  var InvalidError =\n  /*#__PURE__*/\n  function (_AjaxError) {\n    _inherits(InvalidError, _AjaxError);\n\n    function InvalidError(payload) {\n      _classCallCheck(this, InvalidError);\n\n      return _possibleConstructorReturn(this, _getPrototypeOf(InvalidError).call(this, payload, 'Request was rejected because it was invalid', 422));\n    }\n\n    return InvalidError;\n  }(AjaxError);\n\n  _exports.InvalidError = InvalidError;\n\n  var UnauthorizedError =\n  /*#__PURE__*/\n  function (_AjaxError2) {\n    _inherits(UnauthorizedError, _AjaxError2);\n\n    function UnauthorizedError(payload) {\n      _classCallCheck(this, UnauthorizedError);\n\n      return _possibleConstructorReturn(this, _getPrototypeOf(UnauthorizedError).call(this, payload, 'Ajax authorization failed', 401));\n    }\n\n    return UnauthorizedError;\n  }(AjaxError);\n\n  _exports.UnauthorizedError = UnauthorizedError;\n\n  var ForbiddenError =\n  /*#__PURE__*/\n  function (_AjaxError3) {\n    _inherits(ForbiddenError, _AjaxError3);\n\n    function ForbiddenError(payload) {\n      _classCallCheck(this, ForbiddenError);\n\n      return _possibleConstructorReturn(this, _getPrototypeOf(ForbiddenError).call(this, payload, 'Request was rejected because user is not permitted to perform this operation.', 403));\n    }\n\n    return ForbiddenError;\n  }(AjaxError);\n\n  _exports.ForbiddenError = ForbiddenError;\n\n  var BadRequestError =\n  /*#__PURE__*/\n  function (_AjaxError4) {\n    _inherits(BadRequestError, _AjaxError4);\n\n    function BadRequestError(payload) {\n      _classCallCheck(this, BadRequestError);\n\n      return _possibleConstructorReturn(this, _getPrototypeOf(BadRequestError).call(this, payload, 'Request was formatted incorrectly.', 400));\n    }\n\n    return BadRequestError;\n  }(AjaxError);\n\n  _exports.BadRequestError = BadRequestError;\n\n  var NotFoundError =\n  /*#__PURE__*/\n  function (_AjaxError5) {\n    _inherits(NotFoundError, _AjaxError5);\n\n    function NotFoundError(payload) {\n      _classCallCheck(this, NotFoundError);\n\n      return _possibleConstructorReturn(this, _getPrototypeOf(NotFoundError).call(this, payload, 'Resource was not found.', 404));\n    }\n\n    return NotFoundError;\n  }(AjaxError);\n\n  _exports.NotFoundError = NotFoundError;\n\n  var GoneError =\n  /*#__PURE__*/\n  function (_AjaxError6) {\n    _inherits(GoneError, _AjaxError6);\n\n    function GoneError(payload) {\n      _classCallCheck(this, GoneError);\n\n      return _possibleConstructorReturn(this, _getPrototypeOf(GoneError).call(this, payload, 'Resource is no longer available.', 410));\n    }\n\n    return GoneError;\n  }(AjaxError);\n\n  _exports.GoneError = GoneError;\n\n  var TimeoutError =\n  /*#__PURE__*/\n  function (_AjaxError7) {\n    _inherits(TimeoutError, _AjaxError7);\n\n    function TimeoutError() {\n      _classCallCheck(this, TimeoutError);\n\n      return _possibleConstructorReturn(this, _getPrototypeOf(TimeoutError).call(this, null, 'The ajax operation timed out', -1));\n    }\n\n    return TimeoutError;\n  }(AjaxError);\n\n  _exports.TimeoutError = TimeoutError;\n\n  var AbortError =\n  /*#__PURE__*/\n  function (_AjaxError8) {\n    _inherits(AbortError, _AjaxError8);\n\n    function AbortError() {\n      _classCallCheck(this, AbortError);\n\n      return _possibleConstructorReturn(this, _getPrototypeOf(AbortError).call(this, null, 'The ajax operation was aborted', 0));\n    }\n\n    return AbortError;\n  }(AjaxError);\n\n  _exports.AbortError = AbortError;\n\n  var ConflictError =\n  /*#__PURE__*/\n  function (_AjaxError9) {\n    _inherits(ConflictError, _AjaxError9);\n\n    function ConflictError(payload) {\n      _classCallCheck(this, ConflictError);\n\n      return _possibleConstructorReturn(this, _getPrototypeOf(ConflictError).call(this, payload, 'The ajax operation failed due to a conflict', 409));\n    }\n\n    return ConflictError;\n  }(AjaxError);\n\n  _exports.ConflictError = ConflictError;\n\n  var ServerError =\n  /*#__PURE__*/\n  function (_AjaxError10) {\n    _inherits(ServerError, _AjaxError10);\n\n    function ServerError(payload, status) {\n      _classCallCheck(this, ServerError);\n\n      return _possibleConstructorReturn(this, _getPrototypeOf(ServerError).call(this, payload, 'Request was rejected due to server error', status));\n    }\n\n    return ServerError;\n  }(AjaxError);\n  /**\n   * Checks if the given error is or inherits from AjaxError\n   */\n\n\n  _exports.ServerError = ServerError;\n\n  function isAjaxError(error) {\n    return error instanceof AjaxError;\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents an\n   * unauthorized request error\n   */\n\n\n  function isUnauthorizedError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof UnauthorizedError;\n    } else {\n      return error === 401;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents a forbidden\n   * request error\n   */\n\n\n  function isForbiddenError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof ForbiddenError;\n    } else {\n      return error === 403;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents an invalid\n   * request error\n   */\n\n\n  function isInvalidError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof InvalidError;\n    } else {\n      return error === 422;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents a bad request\n   * error\n   */\n\n\n  function isBadRequestError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof BadRequestError;\n    } else {\n      return error === 400;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents a \"not found\"\n   * error\n   */\n\n\n  function isNotFoundError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof NotFoundError;\n    } else {\n      return error === 404;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents a \"gone\"\n   * error\n   */\n\n\n  function isGoneError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof GoneError;\n    } else {\n      return error === 410;\n    }\n  }\n  /**\n   * Checks if the given object represents a \"timeout\" error\n   */\n\n\n  function isTimeoutError(error) {\n    return error instanceof TimeoutError;\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents an\n   * \"abort\" error\n   */\n\n\n  function isAbortError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof AbortError;\n    } else {\n      return error === 0;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents a\n   * conflict error\n   */\n\n\n  function isConflictError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof ConflictError;\n    } else {\n      return error === 409;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents a server error\n   */\n\n\n  function isServerError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof ServerError;\n    } else {\n      return error >= 500 && error < 600;\n    }\n  }\n  /**\n   * Checks if the given status code represents a successful request\n   */\n\n\n  function isSuccess(status) {\n    var s = status;\n\n    if (typeof status === 'string') {\n      s = parseInt(status, 10);\n    }\n\n    return s >= 200 && s < 300 || s === 304;\n  }\n});","define(\"ember-ajax/index\", [\"exports\", \"ember-ajax/request\"], function (_exports, _request) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _request.default;\n    }\n  });\n});","define(\"ember-ajax/mixins/ajax-request\", [\"exports\", \"ember-ajax/errors\", \"ember-ajax/utils/ajax\", \"ember-ajax/-private/utils/parse-response-headers\", \"ember-ajax/-private/utils/get-header\", \"ember-ajax/-private/utils/url-helpers\", \"ember-ajax/-private/utils/is-string\", \"ember-ajax/-private/promise\"], function (_exports, _errors, _ajax, _parseResponseHeaders, _getHeader, _urlHelpers, _isString, _promise) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n  var Test = Ember.Test;\n  var JSONContentType = /^application\\/(?:vnd\\.api\\+)?json/i;\n\n  function isJSONContentType(header) {\n    if (!(0, _isString.default)(header)) {\n      return false;\n    }\n\n    return !!header.match(JSONContentType);\n  }\n\n  function isJSONStringifyable(method, _ref) {\n    var contentType = _ref.contentType,\n        data = _ref.data,\n        headers = _ref.headers;\n\n    if (method === 'GET') {\n      return false;\n    }\n\n    if (!isJSONContentType(contentType) && !isJSONContentType((0, _getHeader.default)(headers, 'Content-Type'))) {\n      return false;\n    }\n\n    if (_typeof(data) !== 'object') {\n      return false;\n    }\n\n    return true;\n  }\n\n  function startsWithSlash(string) {\n    return string.charAt(0) === '/';\n  }\n\n  function endsWithSlash(string) {\n    return string.charAt(string.length - 1) === '/';\n  }\n\n  function removeLeadingSlash(string) {\n    return string.substring(1);\n  }\n\n  function removeTrailingSlash(string) {\n    return string.slice(0, -1);\n  }\n\n  function stripSlashes(path) {\n    // make sure path starts with `/`\n    if (startsWithSlash(path)) {\n      path = removeLeadingSlash(path);\n    } // remove end `/`\n\n\n    if (endsWithSlash(path)) {\n      path = removeTrailingSlash(path);\n    }\n\n    return path;\n  }\n\n  var pendingRequestCount = 0;\n\n  if (Ember.testing) {\n    Test.registerWaiter(function () {\n      return pendingRequestCount === 0;\n    });\n  }\n  /**\n   * AjaxRequest Mixin\n   */\n\n\n  var _default = Ember.Mixin.create({\n    /**\n     * The default value for the request `contentType`\n     *\n     * For now, defaults to the same value that jQuery would assign.  In the\n     * future, the default value will be for JSON requests.\n     * @property {string} contentType\n     * @public\n     */\n    contentType: 'application/x-www-form-urlencoded; charset=UTF-8',\n\n    /**\n     * Headers to include on the request\n     *\n     * Some APIs require HTTP headers, e.g. to provide an API key. Arbitrary\n     * headers can be set as key/value pairs on the `RESTAdapter`'s `headers`\n     * object and Ember Data will send them along with each ajax request.\n     *\n     * ```javascript\n     * // app/services/ajax.js\n     * import AjaxService from 'ember-ajax/services/ajax';\n     *\n     * export default AjaxService.extend({\n     *   headers: {\n     *     'API_KEY': 'secret key',\n     *     'ANOTHER_HEADER': 'Some header value'\n     *   }\n     * });\n     * ```\n     *\n     * `headers` can also be used as a computed property to support dynamic\n     * headers.\n     *\n     * ```javascript\n     * // app/services/ajax.js\n     * import Ember from 'ember';\n     * import AjaxService from 'ember-ajax/services/ajax';\n     *\n     * const {\n     *   computed,\n     *   get,\n     *   inject: { service }\n     * } = Ember;\n     *\n     * export default AjaxService.extend({\n     *   session: service(),\n     *   headers: computed('session.authToken', function() {\n     *     return {\n     *       'API_KEY': get(this, 'session.authToken'),\n     *       'ANOTHER_HEADER': 'Some header value'\n     *     };\n     *   })\n     * });\n     * ```\n     *\n     * In some cases, your dynamic headers may require data from some object\n     * outside of Ember's observer system (for example `document.cookie`). You\n     * can use the `volatile` function to set the property into a non-cached mode\n     * causing the headers to be recomputed with every request.\n     *\n     * ```javascript\n     * // app/services/ajax.js\n     * import Ember from 'ember';\n     * import AjaxService from 'ember-ajax/services/ajax';\n     *\n     * const {\n     *   computed,\n     *   get,\n     *   inject: { service }\n     * } = Ember;\n     *\n     * export default AjaxService.extend({\n     *   session: service(),\n     *   headers: computed('session.authToken', function() {\n     *     return {\n     *       'API_KEY': get(document.cookie.match(/apiKey\\=([^;]*)/), '1'),\n     *       'ANOTHER_HEADER': 'Some header value'\n     *     };\n     *   }).volatile()\n     * });\n     * ```\n     *\n     * @property {Headers} headers\n     * @public\n     */\n    headers: undefined,\n\n    /**\n     * @property {string} host\n     * @public\n     */\n    host: undefined,\n\n    /**\n     * @property {string} namespace\n     * @public\n     */\n    namespace: undefined,\n\n    /**\n     * @property {Matcher[]} trustedHosts\n     * @public\n     */\n    trustedHosts: undefined,\n\n    /**\n     * Make an AJAX request, ignoring the raw XHR object and dealing only with\n     * the response\n     */\n    request: function request(url, options) {\n      var hash = this.options(url, options);\n\n      var internalPromise = this._makeRequest(hash);\n\n      var ajaxPromise = new _promise.default(function (resolve, reject) {\n        internalPromise.then(function (_ref2) {\n          var response = _ref2.response;\n          resolve(response);\n        }).catch(function (_ref3) {\n          var response = _ref3.response;\n          reject(response);\n        });\n      }, \"ember-ajax: \".concat(hash.type, \" \").concat(hash.url, \" response\"));\n      ajaxPromise.xhr = internalPromise.xhr;\n      return ajaxPromise;\n    },\n\n    /**\n     * Make an AJAX request, returning the raw XHR object along with the response\n     */\n    raw: function raw(url, options) {\n      var hash = this.options(url, options);\n      return this._makeRequest(hash);\n    },\n\n    /**\n     * Shared method to actually make an AJAX request\n     */\n    _makeRequest: function _makeRequest(hash) {\n      var _this = this;\n\n      var method = hash.method || hash.type || 'GET';\n      var requestData = {\n        method: method,\n        type: method,\n        url: hash.url\n      };\n\n      if (isJSONStringifyable(method, hash)) {\n        hash.data = JSON.stringify(hash.data);\n      }\n\n      pendingRequestCount = pendingRequestCount + 1;\n      var jqXHR = (0, _ajax.default)(hash.url, hash);\n      var promise = new _promise.default(function (resolve, reject) {\n        jqXHR.done(function (payload, textStatus, jqXHR) {\n          var response = _this.handleResponse(jqXHR.status, (0, _parseResponseHeaders.default)(jqXHR.getAllResponseHeaders()), payload, requestData);\n\n          if ((0, _errors.isAjaxError)(response)) {\n            var rejectionParam = {\n              payload: payload,\n              textStatus: textStatus,\n              jqXHR: jqXHR,\n              response: response\n            };\n            Ember.run.join(null, reject, rejectionParam);\n          } else {\n            var resolutionParam = {\n              payload: payload,\n              textStatus: textStatus,\n              jqXHR: jqXHR,\n              response: response\n            };\n            Ember.run.join(null, resolve, resolutionParam);\n          }\n        }).fail(function (jqXHR, textStatus, errorThrown) {\n          Ember.runInDebug(function () {\n            var message = \"The server returned an empty string for \".concat(requestData.type, \" \").concat(requestData.url, \", which cannot be parsed into a valid JSON. Return either null or {}.\");\n            var validJSONString = !(textStatus === 'parsererror' && jqXHR.responseText === '');\n            (true && Ember.warn(message, validJSONString, {\n              id: 'ds.adapter.returned-empty-string-as-JSON'\n            }));\n          });\n          var payload = _this.parseErrorResponse(jqXHR.responseText) || errorThrown;\n          var response;\n\n          if (textStatus === 'timeout') {\n            response = new _errors.TimeoutError();\n          } else if (textStatus === 'abort') {\n            response = new _errors.AbortError();\n          } else {\n            response = _this.handleResponse(jqXHR.status, (0, _parseResponseHeaders.default)(jqXHR.getAllResponseHeaders()), payload, requestData);\n          }\n\n          var rejectionParam = {\n            payload: payload,\n            textStatus: textStatus,\n            jqXHR: jqXHR,\n            errorThrown: errorThrown,\n            response: response\n          };\n          Ember.run.join(null, reject, rejectionParam);\n        }).always(function () {\n          pendingRequestCount = pendingRequestCount - 1;\n        });\n      }, \"ember-ajax: \".concat(hash.type, \" \").concat(hash.url));\n      promise.xhr = jqXHR;\n      return promise;\n    },\n\n    /**\n     * calls `request()` but forces `options.type` to `POST`\n     */\n    post: function post(url, options) {\n      return this.request(url, this._addTypeToOptionsFor(options, 'POST'));\n    },\n\n    /**\n     * calls `request()` but forces `options.type` to `PUT`\n     */\n    put: function put(url, options) {\n      return this.request(url, this._addTypeToOptionsFor(options, 'PUT'));\n    },\n\n    /**\n     * calls `request()` but forces `options.type` to `PATCH`\n     */\n    patch: function patch(url, options) {\n      return this.request(url, this._addTypeToOptionsFor(options, 'PATCH'));\n    },\n\n    /**\n     * calls `request()` but forces `options.type` to `DELETE`\n     */\n    del: function del(url, options) {\n      return this.request(url, this._addTypeToOptionsFor(options, 'DELETE'));\n    },\n\n    /**\n     * calls `request()` but forces `options.type` to `DELETE`\n     *\n     * Alias for `del()`\n     */\n    delete: function _delete(url, options) {\n      return this.del(url, options);\n    },\n\n    /**\n     * Wrap the `.get` method so that we issue a warning if\n     *\n     * Since `.get` is both an AJAX pattern _and_ an Ember pattern, we want to try\n     * to warn users when they try using `.get` to make a request\n     */\n    get: function get(url) {\n      if (arguments.length > 1 || url.indexOf('/') !== -1) {\n        throw new Ember.Error('It seems you tried to use `.get` to make a request! Use the `.request` method instead.');\n      }\n\n      return this._super.apply(this, arguments);\n    },\n\n    /**\n     * Manipulates the options hash to include the HTTP method on the type key\n     */\n    _addTypeToOptionsFor: function _addTypeToOptionsFor(options, method) {\n      options = options || {};\n      options.type = method;\n      return options;\n    },\n\n    /**\n     * Get the full \"headers\" hash, combining the service-defined headers with\n     * the ones provided for the request\n     */\n    _getFullHeadersHash: function _getFullHeadersHash(headers) {\n      var classHeaders = Ember.get(this, 'headers');\n      return Ember.assign({}, classHeaders, headers);\n    },\n\n    /**\n     * Created a normalized set of options from the per-request and\n     * service-level settings\n     */\n    options: function options(url) {\n      var _options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n      _options = Ember.assign({}, _options);\n      _options.url = this._buildURL(url, _options);\n      _options.type = _options.type || 'GET';\n      _options.dataType = _options.dataType || 'json';\n      _options.contentType = Ember.isEmpty(_options.contentType) ? Ember.get(this, 'contentType') : _options.contentType;\n\n      if (this._shouldSendHeaders(_options)) {\n        _options.headers = this._getFullHeadersHash(_options.headers);\n      } else {\n        _options.headers = _options.headers || {};\n      }\n\n      return _options;\n    },\n\n    /**\n     * Build a URL for a request\n     *\n     * If the provided `url` is deemed to be a complete URL, it will be returned\n     * directly.  If it is not complete, then the segment provided will be combined\n     * with the `host` and `namespace` options of the request class to create the\n     * full URL.\n     */\n    _buildURL: function _buildURL(url) {\n      var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n      if ((0, _urlHelpers.isFullURL)(url)) {\n        return url;\n      }\n\n      var urlParts = [];\n      var host = options.host || Ember.get(this, 'host');\n\n      if (host) {\n        host = endsWithSlash(host) ? removeTrailingSlash(host) : host;\n        urlParts.push(host);\n      }\n\n      var namespace = options.namespace || Ember.get(this, 'namespace');\n\n      if (namespace) {\n        // If host is given then we need to strip leading slash too( as it will be added through join)\n        if (host) {\n          namespace = stripSlashes(namespace);\n        } else if (endsWithSlash(namespace)) {\n          namespace = removeTrailingSlash(namespace);\n        } // If the URL has already been constructed (presumably, by Ember Data), then we should just leave it alone\n\n\n        var hasNamespaceRegex = new RegExp(\"^(/)?\".concat(stripSlashes(namespace), \"/\"));\n\n        if (!hasNamespaceRegex.test(url)) {\n          urlParts.push(namespace);\n        }\n      } // *Only* remove a leading slash when there is host or namespace -- we need to maintain a trailing slash for\n      // APIs that differentiate between it being and not being present\n\n\n      if (startsWithSlash(url) && urlParts.length !== 0) {\n        url = removeLeadingSlash(url);\n      }\n\n      urlParts.push(url);\n      return urlParts.join('/');\n    },\n\n    /**\n     * Takes an ajax response, and returns the json payload or an error.\n     *\n     * By default this hook just returns the json payload passed to it.\n     * You might want to override it in two cases:\n     *\n     * 1. Your API might return useful results in the response headers.\n     *    Response headers are passed in as the second argument.\n     *\n     * 2. Your API might return errors as successful responses with status code\n     *    200 and an Errors text or object.\n     */\n    handleResponse: function handleResponse(status, headers, payload, requestData) {\n      if (this.isSuccess(status, headers, payload)) {\n        return payload;\n      } // Allow overriding of error payload\n\n\n      payload = this.normalizeErrorResponse(status, headers, payload);\n      return this._createCorrectError(status, headers, payload, requestData);\n    },\n    _createCorrectError: function _createCorrectError(status, headers, payload, requestData) {\n      var error;\n\n      if (this.isUnauthorizedError(status, headers, payload)) {\n        error = new _errors.UnauthorizedError(payload);\n      } else if (this.isForbiddenError(status, headers, payload)) {\n        error = new _errors.ForbiddenError(payload);\n      } else if (this.isInvalidError(status, headers, payload)) {\n        error = new _errors.InvalidError(payload);\n      } else if (this.isBadRequestError(status, headers, payload)) {\n        error = new _errors.BadRequestError(payload);\n      } else if (this.isNotFoundError(status, headers, payload)) {\n        error = new _errors.NotFoundError(payload);\n      } else if (this.isGoneError(status, headers, payload)) {\n        error = new _errors.GoneError(payload);\n      } else if (this.isAbortError(status, headers, payload)) {\n        error = new _errors.AbortError();\n      } else if (this.isConflictError(status, headers, payload)) {\n        error = new _errors.ConflictError(payload);\n      } else if (this.isServerError(status, headers, payload)) {\n        error = new _errors.ServerError(payload, status);\n      } else {\n        var detailedMessage = this.generateDetailedMessage(status, headers, payload, requestData);\n        error = new _errors.AjaxError(payload, detailedMessage, status);\n      }\n\n      return error;\n    },\n\n    /**\n     * Match the host to a provided array of strings or regexes that can match to a host\n     */\n    _matchHosts: function _matchHosts(host, matcher) {\n      if (!(0, _isString.default)(host)) {\n        return false;\n      }\n\n      if (matcher instanceof RegExp) {\n        return matcher.test(host);\n      } else if (typeof matcher === 'string') {\n        return matcher === host;\n      } else {\n        console.warn('trustedHosts only handles strings or regexes. ', matcher, ' is neither.');\n        return false;\n      }\n    },\n\n    /**\n     * Determine whether the headers should be added for this request\n     *\n     * This hook is used to help prevent sending headers to every host, regardless\n     * of the destination, since this could be a security issue if authentication\n     * tokens are accidentally leaked to third parties.\n     *\n     * To avoid that problem, subclasses should utilize the `headers` computed\n     * property to prevent authentication from being sent to third parties, or\n     * implement this hook for more fine-grain control over when headers are sent.\n     *\n     * By default, the headers are sent if the host of the request matches the\n     * `host` property designated on the class.\n     */\n    _shouldSendHeaders: function _shouldSendHeaders(_ref4) {\n      var _this2 = this;\n\n      var url = _ref4.url,\n          host = _ref4.host;\n      url = url || '';\n      host = host || Ember.get(this, 'host') || '';\n      var trustedHosts = Ember.get(this, 'trustedHosts') || Ember.A();\n\n      var _parseURL = (0, _urlHelpers.parseURL)(url),\n          hostname = _parseURL.hostname; // Add headers on relative URLs\n\n\n      if (!(0, _urlHelpers.isFullURL)(url)) {\n        return true;\n      } else if (trustedHosts.find(function (matcher) {\n        return _this2._matchHosts(hostname, matcher);\n      })) {\n        return true;\n      } // Add headers on matching host\n\n\n      return (0, _urlHelpers.haveSameHost)(url, host);\n    },\n\n    /**\n     * Generates a detailed (\"friendly\") error message, with plenty\n     * of information for debugging (good luck!)\n     */\n    generateDetailedMessage: function generateDetailedMessage(status, headers, payload, requestData) {\n      var shortenedPayload;\n      var payloadContentType = (0, _getHeader.default)(headers, 'Content-Type') || 'Empty Content-Type';\n\n      if (payloadContentType.toLowerCase() === 'text/html' && payload.length > 250) {\n        shortenedPayload = '[Omitted Lengthy HTML]';\n      } else {\n        shortenedPayload = JSON.stringify(payload);\n      }\n\n      var requestDescription = \"\".concat(requestData.type, \" \").concat(requestData.url);\n      var payloadDescription = \"Payload (\".concat(payloadContentType, \")\");\n      return [\"Ember AJAX Request \".concat(requestDescription, \" returned a \").concat(status), payloadDescription, shortenedPayload].join('\\n');\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a an authorized error.\n     */\n    isUnauthorizedError: function isUnauthorizedError(status, _headers, _payload) {\n      return (0, _errors.isUnauthorizedError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a forbidden error.\n     */\n    isForbiddenError: function isForbiddenError(status, _headers, _payload) {\n      return (0, _errors.isForbiddenError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a an invalid error.\n     */\n    isInvalidError: function isInvalidError(status, _headers, _payload) {\n      return (0, _errors.isInvalidError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a bad request error.\n     */\n    isBadRequestError: function isBadRequestError(status, _headers, _payload) {\n      return (0, _errors.isBadRequestError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a \"not found\" error.\n     */\n    isNotFoundError: function isNotFoundError(status, _headers, _payload) {\n      return (0, _errors.isNotFoundError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a \"gone\" error.\n     */\n    isGoneError: function isGoneError(status, _headers, _payload) {\n      return (0, _errors.isGoneError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is an \"abort\" error.\n     */\n    isAbortError: function isAbortError(status, _headers, _payload) {\n      return (0, _errors.isAbortError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a \"conflict\" error.\n     */\n    isConflictError: function isConflictError(status, _headers, _payload) {\n      return (0, _errors.isConflictError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a server error.\n     */\n    isServerError: function isServerError(status, _headers, _payload) {\n      return (0, _errors.isServerError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a success.\n     */\n    isSuccess: function isSuccess(status, _headers, _payload) {\n      return (0, _errors.isSuccess)(status);\n    },\n    parseErrorResponse: function parseErrorResponse(responseText) {\n      try {\n        return JSON.parse(responseText);\n      } catch (e) {\n        return responseText;\n      }\n    },\n    normalizeErrorResponse: function normalizeErrorResponse(_status, _headers, payload) {\n      return payload;\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-ajax/mixins/ajax-support\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Mixin.create({\n    /**\n     * The AJAX service to send requests through\n     *\n     * @property {AjaxService} ajaxService\n     * @public\n     */\n    ajaxService: Ember.inject.service('ajax'),\n\n    /**\n     * @property {string} host\n     * @public\n     */\n    host: Ember.computed.alias('ajaxService.host'),\n\n    /**\n     * @property {string} namespace\n     * @public\n     */\n    namespace: Ember.computed.alias('ajaxService.namespace'),\n\n    /**\n     * @property {object} headers\n     * @public\n     */\n    headers: Ember.computed.alias('ajaxService.headers'),\n    ajax: function ajax(url, _method, _options) {\n      // @ts-ignore\n      var augmentedOptions = this.ajaxOptions.apply(this, arguments);\n      return Ember.get(this, 'ajaxService').request(url, augmentedOptions);\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-ajax/mixins/legacy/normalize-error-response\", [\"exports\", \"ember-ajax/-private/utils/is-string\"], function (_exports, _isString) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n  function isObject(object) {\n    return _typeof(object) === 'object';\n  }\n\n  function isJsonApiErrorResponse(object) {\n    if (!isObject(object)) {\n      return false;\n    }\n\n    var payloadAsErrorResponse = object;\n\n    if (payloadAsErrorResponse.errors) {\n      return Ember.isArray(payloadAsErrorResponse.errors);\n    }\n\n    return false;\n  }\n\n  function isJsonApiErrorObjectArray(object) {\n    return Ember.isArray(object);\n  }\n\n  var _default = Ember.Mixin.create({\n    /**\n     * Normalize the error from the server into the same format\n     *\n     * The format we normalize to is based on the JSON API specification.  The\n     * return value should be an array of objects that match the format they\n     * describe. More details about the object format can be found\n     * [here](http://jsonapi.org/format/#error-objects)\n     *\n     * The basics of the format are as follows:\n     *\n     * ```javascript\n     * [\n     *   {\n     *     status: 'The status code for the error',\n     *     title: 'The human-readable title of the error'\n     *     detail: 'The human-readable details of the error'\n     *   }\n     * ]\n     * ```\n     *\n     * In cases where the server returns an array, then there should be one item\n     * in the array for each of the payload.  If your server returns a JSON API\n     * formatted payload already, it will just be returned directly.\n     *\n     * If your server returns something other than a JSON API format, it's\n     * suggested that you override this method to convert your own errors into the\n     * one described above.\n     */\n    normalizeErrorResponse: function normalizeErrorResponse(status, _headers, payload) {\n      payload = Ember.isNone(payload) ? {} : payload;\n\n      if (isJsonApiErrorResponse(payload)) {\n        return payload.errors.map(function (error) {\n          if (isObject(error)) {\n            var ret = Ember.assign({}, error);\n            ret.status = \"\".concat(error.status);\n            return ret;\n          } else {\n            return {\n              status: \"\".concat(status),\n              title: error\n            };\n          }\n        });\n      } else if (isJsonApiErrorObjectArray(payload)) {\n        return payload.map(function (error) {\n          if (isObject(error)) {\n            return {\n              status: \"\".concat(status),\n              title: error.title || 'The backend responded with an error',\n              detail: error\n            };\n          } else {\n            return {\n              status: \"\".concat(status),\n              title: \"\".concat(error)\n            };\n          }\n        });\n      } else if ((0, _isString.default)(payload)) {\n        return [{\n          status: \"\".concat(status),\n          title: payload\n        }];\n      } else {\n        return [{\n          status: \"\".concat(status),\n          title: payload.title || 'The backend responded with an error',\n          detail: payload\n        }];\n      }\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-ajax/raw\", [\"exports\", \"ember-ajax/ajax-request\"], function (_exports, _ajaxRequest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = raw;\n\n  /**\n   * Same as `request` except it resolves an object with\n   *\n   *   {response, textStatus, jqXHR}\n   *\n   * Useful if you need access to the jqXHR object for headers, etc.\n   *\n   * @public\n   */\n  function raw(url, options) {\n    var ajax = _ajaxRequest.default.create();\n\n    return ajax.raw(url, options);\n  }\n});","define(\"ember-ajax/request\", [\"exports\", \"ember-ajax/ajax-request\"], function (_exports, _ajaxRequest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = request;\n\n  /**\n   * Helper function that allows you to use the default `ember-ajax` to make\n   * requests without using the service.\n   *\n   * @public\n   */\n  function request(url, options) {\n    var ajax = _ajaxRequest.default.create();\n\n    return ajax.request(url, options);\n  }\n});","define(\"ember-ajax/services/ajax\", [\"exports\", \"ember-ajax/mixins/ajax-request\"], function (_exports, _ajaxRequest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.AjaxServiceClass = _exports.default = void 0;\n\n  function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\n  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\n  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n  function _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\n  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\n  var AjaxService = Ember.Service.extend(_ajaxRequest.default);\n  var _default = AjaxService; // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n  _exports.default = _default;\n\n  var AjaxServiceClass =\n  /*#__PURE__*/\n  function (_AjaxService) {\n    _inherits(AjaxServiceClass, _AjaxService);\n\n    function AjaxServiceClass() {\n      _classCallCheck(this, AjaxServiceClass);\n\n      return _possibleConstructorReturn(this, _getPrototypeOf(AjaxServiceClass).apply(this, arguments));\n    }\n\n    return AjaxServiceClass;\n  }(AjaxService);\n\n  _exports.AjaxServiceClass = AjaxServiceClass;\n});","define(\"ember-ajax/utils/ajax\", [\"exports\", \"jquery\"], function (_exports, _jquery) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var ajax = typeof FastBoot === 'undefined' ? _jquery.default.ajax : FastBoot.require('najax');\n  var _default = ajax;\n  _exports.default = _default;\n});","define('ember-api-actions/index', ['exports', 'ember-api-actions/utils/member-action', 'ember-api-actions/utils/collection-action'], function (exports, _memberAction, _collectionAction) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.memberAction = exports.collectionAction = exports.instanceOp = exports.classOp = undefined;\n  var classOp = exports.classOp = _collectionAction.default;\n  var instanceOp = exports.instanceOp = _memberAction.default;\n\n  exports.collectionAction = _collectionAction.default;\n  exports.memberAction = _memberAction.default;\n});","define('ember-api-actions/utils/build-url', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.buildOperationUrl = buildOperationUrl;\n  var assert = _ember.default.assert;\n  function buildOperationUrl(record, opPath, urlType) {\n    var instance = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n\n    assert('You must provide a path for instanceOp', opPath);\n    var modelName = record.constructor.modelName || record.constructor.typeKey;\n    var adapter = record.store.adapterFor(modelName);\n    var path = opPath;\n    var snapshot = record._createSnapshot();\n    var baseUrl = adapter.buildURL(modelName, instance ? record.get('id') : null, snapshot, urlType);\n\n    if (baseUrl.charAt(baseUrl.length - 1) === '/') {\n      return '' + baseUrl + path;\n    } else {\n      return baseUrl + '/' + path;\n    }\n  }\n\n  exports.default = buildOperationUrl;\n});","define('ember-api-actions/utils/collection-action', ['exports', 'ember', 'ember-api-actions/utils/build-url'], function (exports, _ember, _buildUrl) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = instanceOp;\n  var merge = _ember.default.merge;\n  function instanceOp(options) {\n    return function (payload) {\n      var modelName = this.constructor.modelName || this.constructor.typeKey;\n      var requestType = (options.type || 'PUT').toUpperCase();\n      var urlType = options.urlType || requestType;\n      var adapter = this.store.adapterFor(modelName);\n      var fullUrl = (0, _buildUrl.buildOperationUrl)(this, options.path, urlType, false);\n      return adapter.ajax(fullUrl, requestType, merge(options.ajaxOptions || {}, { data: payload }));\n    };\n  }\n});","define('ember-api-actions/utils/member-action', ['exports', 'ember', 'ember-api-actions/utils/build-url'], function (exports, _ember, _buildUrl) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = instanceOp;\n  var merge = _ember.default.merge;\n  function instanceOp(options) {\n    return function (payload) {\n      var modelName = this.constructor.modelName || this.constructor.typeKey;\n      var requestType = (options.type || 'PUT').toUpperCase();\n      var urlType = options.urlType || requestType;\n      var adapter = this.store.adapterFor(modelName);\n      var fullUrl = (0, _buildUrl.buildOperationUrl)(this, options.path, urlType);\n      return adapter.ajax(fullUrl, requestType, merge(options.ajaxOptions || {}, { data: payload }));\n    };\n  }\n});","define('ember-assign-helper/helpers/assign', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.assign = assign;\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  var eAssign = Ember.assign || Object.assign;\n\n  function assign(params) {\n    return eAssign.apply(undefined, [{}].concat(_toConsumableArray(params)));\n  }\n\n  exports.default = Ember.Helper.helper(assign);\n});","define('ember-can/ability', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = _ember['default'].Object.extend({\n    model: null\n  });\n});","define('ember-can/can-mixin', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = _ember['default'].Mixin.create({\n    canService: _ember['default'].inject.service('can'),\n\n    can: function can(abilityName, resource, additionalProperties) {\n      return this.get('canService').can(abilityName, resource, additionalProperties);\n    },\n\n    cannot: function cannot(abilityName, resource, additionalProperties) {\n      return !this.can(abilityName, resource, additionalProperties);\n    }\n  });\n});","define('ember-can/computed', ['exports', 'ember'], function (exports, _ember) {\n  var get = _ember['default'].get;\n  var set = _ember['default'].set;\n  var getOwner = _ember['default'].getOwner;\n  exports['default'] = {\n    ability: function ability(type, resourceName) {\n      if (arguments.length === 1) {\n        resourceName = type;\n      }\n\n      return _ember['default'].computed(resourceName, function () {\n        var ability = getOwner(this).lookup('ability:' + type);\n\n        _ember['default'].assert('No ability class found for ' + type, ability);\n\n        var resource = get(this, resourceName);\n        set(ability, 'model', resource);\n        return ability;\n      });\n    }\n  };\n});","define('ember-can/helpers/can', ['exports', 'ember'], function (exports, _ember) {\n  var _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i['return']) _i['return'](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError('Invalid attempt to destructure non-iterable instance'); } }; })();\n\n  exports['default'] = _ember['default'].Helper.extend({\n    can: _ember['default'].inject.service(),\n\n    compute: function compute(_ref, hash) {\n      var _ref2 = _slicedToArray(_ref, 2);\n\n      var name = _ref2[0];\n      var resource = _ref2[1];\n\n      var service = this.get('can');\n      var ability = service.build(name, resource, hash);\n\n      var _service$parse = service.parse(name);\n\n      var propertyName = _service$parse.propertyName;\n\n      if (this._ability) {\n        this._ability.removeObserver(this._abilityProp, this, 'recompute');\n      }\n\n      this._ability = ability;\n      this._abilityProp = propertyName;\n\n      ability.addObserver(propertyName, this, 'recompute');\n\n      return ability.get(propertyName);\n    },\n\n    destroy: function destroy() {\n      this._ability.removeObserver(this._abilityProp, this, 'recompute');\n      return this._super();\n    }\n  });\n});","define('ember-can/helpers/cannot', ['exports', 'ember'], function (exports, _ember) {\n  var getOwner = _ember['default'].getOwner;\n  var typeOf = _ember['default'].typeOf;\n  exports['default'] = _ember['default'].Helper.extend({\n    helper: _ember['default'].computed(function () {\n      var helper = getOwner(this).lookup('helper:can');\n\n      return typeOf(helper) === 'instance' ? helper : helper.create();\n    }),\n\n    compute: function compute(params, hash) {\n      return !this.get('helper').compute(params, hash);\n    }\n  });\n});","define('ember-can/index', ['exports', 'ember-can/ability', 'ember-can/can-mixin', 'ember-can/computed', 'ember-can/services/can'], function (exports, _emberCanAbility, _emberCanCanMixin, _emberCanComputed, _emberCanServicesCan) {\n  exports.Ability = _emberCanAbility['default'];\n  exports.CanMixin = _emberCanCanMixin['default'];\n  exports.CanService = _emberCanServicesCan['default'];\n  exports.computed = _emberCanComputed['default'];\n});","define('ember-can/services/can', ['exports', 'ember', 'ember-can/utils/normalize'], function (exports, _ember, _emberCanUtilsNormalize) {\n  var getOwner = _ember['default'].getOwner;\n  exports['default'] = _ember['default'].Service.extend({\n    parse: function parse(name) {\n      return (0, _emberCanUtilsNormalize.normalizeCombined)(name);\n    },\n\n    build: function build(abilityString, resource, properties) {\n      var names = this.parse(abilityString);\n      var ability = getOwner(this).lookup('ability:' + names.abilityName);\n\n      _ember['default'].assert('No ability type found for ' + names.abilityName, ability);\n\n      // see if we've been given properties instead of resource\n      if (!properties && resource && !(resource instanceof _ember['default'].Object)) {\n        properties = resource;\n        resource = null;\n      }\n\n      if (resource) {\n        ability.set(\"model\", resource);\n      }\n\n      if (properties) {\n        ability.setProperties(properties);\n      }\n\n      return ability;\n    },\n\n    can: function can(abilityString, resource, properties) {\n      var names = this.parse(abilityString);\n      var ability = this.build(abilityString, resource, properties);\n      return ability.get(names.propertyName);\n    },\n\n    cannot: function cannot(abilityString, resource, properties) {\n      return !this.can(abilityString, resource, properties);\n    }\n  });\n});","define(\"ember-can/utils/normalize\", [\"exports\", \"ember\"], function (exports, _ember) {\n  exports.normalizeCombined = normalizeCombined;\n\n  var classify = _ember[\"default\"].String.classify;\n\n  var stopwords = [\"of\", \"in\", \"for\", \"to\", \"from\", \"on\"];\n\n  function normalizeCombined(str) {\n    var parts = str.split(' ');\n\n    var abilityName = parts.pop();\n\n    var last = parts[parts.length - 1];\n    if (stopwords.indexOf(last) !== -1) {\n      parts.pop();\n    }\n\n    var propertyName = normalizeAbilityMethod(parts.join(\" \"));\n\n    return {\n      propertyName: propertyName, abilityName: abilityName\n    };\n  }\n\n  function normalizeAbilityMethod(str) {\n    return 'can' + classify(str);\n  }\n});","define('ember-cli-app-version/initializer-factory', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = initializerFactory;\n  var classify = _ember['default'].String.classify;\n  var libraries = _ember['default'].libraries;\n\n  function initializerFactory(name, version) {\n    var registered = false;\n\n    return function () {\n      if (!registered && name && version) {\n        var appName = classify(name);\n        libraries.register(appName, version);\n        registered = true;\n      }\n    };\n  }\n});","define(\"ember-cli-app-version/utils/regexp\", [\"exports\"], function (exports) {\n  var versionRegExp = /\\d[.]\\d[.]\\d/;\n  exports.versionRegExp = versionRegExp;\n  var shaRegExp = /[a-z\\d]{8}/;\n  exports.shaRegExp = shaRegExp;\n});","define('ember-cli-autocomplete-input/components/autocomplete-input', ['exports', 'ember', 'ember-cli-autocomplete-input/templates/components/autocomplete-input', 'ember-cli-keyboard-nav/mixins/keyboard-nav'], function (exports, _ember, _emberCliAutocompleteInputTemplatesComponentsAutocompleteInput, _emberCliKeyboardNavMixinsKeyboardNav) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  var observer = _ember['default'].observer;\n  exports['default'] = Component.extend(_emberCliKeyboardNavMixinsKeyboardNav['default'], {\n\n    layout: _emberCliAutocompleteInputTemplatesComponentsAutocompleteInput['default'],\n\n    didInsertElement: function didInsertElement() {\n      this.bindKeys(this.$('input[type=\"text\"]'));\n    },\n\n    // Attributes\n\n    resultName: 'name',\n\n    resultValue: 'value',\n\n    results: [],\n\n    highlightedResultIndex: -1,\n\n    term: '',\n\n    lastTerm: '',\n\n    // Properties\n\n    highlightedResult: computed('results.[]', 'highlightedResultIndex', function () {\n      return this.get('results')[this.get('highlightedResultIndex')];\n    }),\n\n    hasResults: computed.notEmpty(\"results\"),\n\n    // Observers\n\n    termDidChange: observer('term', function () {\n      this.send('updateTerm', this.get('term'));\n    }),\n\n    // Keyboard Nav actions\n\n    onEnterPress: function onEnterPress() {\n      var result = this.get(\"results\")[this.get(\"highlightedResultIndex\")];\n\n      if (result) {\n        this.send(\"selectResult\", result);\n      }\n    },\n\n    onEscPress: function onEscPress() {\n      this.send(\"clearSearch\");\n    },\n\n    onDownPress: function onDownPress() {\n      var index = 0;\n\n      if (this.get(\"highlightedResultIndex\") >= 0) {\n        index = this.get(\"highlightedResultIndex\") + 1;\n      }\n\n      if (index > this.get(\"results\").length - 1) {\n        index = 0;\n      }\n\n      this.set(\"highlightedResultIndex\", index);\n    },\n\n    onUpPress: function onUpPress() {\n      var lastItem = this.get(\"results\").length - 1;\n      var index = lastItem;\n\n      if (this.get(\"highlightedResultIndex\") >= 0) {\n        index = this.get(\"highlightedResultIndex\") - 1;\n      }\n\n      if (index < 0) {\n        index = lastItem;\n      }\n\n      this.set(\"highlightedResultIndex\", index);\n    },\n\n    actions: {\n      selectResult: function selectResult(result) {\n        this.sendAction('selectResult', result);\n      },\n\n      updateTerm: function updateTerm(term) {\n        if (term !== this.get('lastTerm')) {\n          this.set('lastTerm', term);\n          this.sendAction('updateTerm', term);\n        }\n      },\n\n      clearSearch: function clearSearch() {\n        this.sendAction(\"clearSearch\");\n      }\n    }\n\n  });\n});","define('ember-cli-autocomplete-input/components/autocomplete-result-item', ['exports', 'ember', 'ember-cli-autocomplete-input/templates/components/autocomplete-result-item'], function (exports, _ember, _emberCliAutocompleteInputTemplatesComponentsAutocompleteResultItem) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  exports['default'] = Component.extend({\n\n    layout: _emberCliAutocompleteInputTemplatesComponentsAutocompleteResultItem['default'],\n\n    // Attributes\n\n    resultName: '',\n\n    resultValue: '',\n\n    // Methods\n\n    getValue: function getValue(object, attrName) {\n      if (object.get) {\n        return object.get(attrName);\n      } else {\n        return object[attrName];\n      }\n    },\n\n    // Properties\n\n    name: computed('result', 'resultName', function () {\n      return this.getValue(this.get('result'), this.get('resultName'));\n    }),\n\n    value: computed('result', 'resultValue', function () {\n      return this.getValue(this.get('result'), this.get('resultValue'));\n    }),\n\n    highlightedValue: computed('highlightedResult', 'resultValue', function () {\n      var value = '';\n\n      if (this.get('highlightedResult')) {\n        value = this.getValue(this.get('highlightedResult'), this.get('resultValue'));\n      }\n\n      return value;\n    }),\n\n    isHighlighted: computed('value', 'highlightedValue', function () {\n      return this.get('value') === this.get('highlightedValue');\n    }),\n\n    actions: {\n      selectResult: function selectResult(value) {\n        this.attrs.selectResult(value);\n      }\n    }\n\n  });\n});","define(\"ember-cli-autocomplete-input/templates/components/autocomplete-input\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.__esModule = true;\n  exports.default = Ember.HTMLBars.template({ \"id\": \"vOUKxWgR\", \"block\": \"{\\\"statements\\\":[[11,\\\"div\\\",[]],[15,\\\"class\\\",\\\"autocomplete-input\\\"],[13],[0,\\\"\\\\n\\\"],[6,[\\\"if\\\"],[[29,\\\"default\\\"]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[18,\\\"default\\\",[[28,[\\\"term\\\"]]]],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[0,\\\"    \\\"],[1,[33,[\\\"input\\\"],null,[[\\\"type\\\",\\\"value\\\"],[\\\"text\\\",[28,[\\\"term\\\"]]]]],false],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[]}],[0,\\\"\\\\n\\\"],[6,[\\\"if\\\"],[[28,[\\\"hasResults\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[11,\\\"div\\\",[]],[15,\\\"class\\\",\\\"autocomplete-results\\\"],[13],[0,\\\"\\\\n\\\"],[6,[\\\"each\\\"],[[28,[\\\"results\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[1,[33,[\\\"autocomplete-result-item\\\"],null,[[\\\"selectResult\\\",\\\"highlightedResult\\\",\\\"result\\\",\\\"resultName\\\",\\\"resultValue\\\"],[[33,[\\\"action\\\"],[[28,[null]],[28,[\\\"selectResult\\\"]]],null],[28,[\\\"highlightedResult\\\"]],[28,[\\\"result\\\"]],[28,[\\\"resultName\\\"]],[28,[\\\"resultValue\\\"]]]]],false],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"result\\\"]},null],[0,\\\"    \\\"],[14],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[]},null],[14],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"ember-cli-autocomplete-input/templates/components/autocomplete-input.hbs\" } });\n});","define(\"ember-cli-autocomplete-input/templates/components/autocomplete-result-item\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.__esModule = true;\n  exports.default = Ember.HTMLBars.template({ \"id\": \"UGwQvXbP\", \"block\": \"{\\\"statements\\\":[[11,\\\"div\\\",[]],[16,\\\"class\\\",[34,[\\\"autocomplete-result-item \\\",[33,[\\\"if\\\"],[[28,[\\\"isHighlighted\\\"]],\\\"highlight\\\"],null]]]],[5,[\\\"action\\\"],[[28,[null]],\\\"selectResult\\\",[28,[\\\"result\\\"]]]],[13],[0,\\\"\\\\n  \\\"],[1,[26,[\\\"name\\\"]],false],[0,\\\"\\\\n\\\"],[14],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"ember-cli-autocomplete-input/templates/components/autocomplete-result-item.hbs\" } });\n});","define('ember-cli-chart/components/ember-chart', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _ember.default.Component.extend({\n    tagName: 'canvas',\n    attributeBindings: ['width', 'height'],\n\n    didInsertElement: function didInsertElement() {\n      this._super.apply(this, arguments);\n      var context = this.get('element');\n      var data = this.get('data');\n      var type = this.get('type');\n      var options = this.get('options');\n\n      var chart = new Chart(context, {\n        type: type,\n        data: data,\n        options: options\n      });\n      this.set('chart', chart);\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      this.get('chart').destroy();\n    },\n    didUpdateAttrs: function didUpdateAttrs() {\n      this._super.apply(this, arguments);\n\n      var chart = this.get('chart');\n      var data = this.get('data');\n      var options = this.get('options');\n      var animate = this.get('animate');\n\n      if (chart) {\n        chart.config.data = data;\n        chart.config.options = options;\n        if (animate) {\n          chart.update();\n        } else {\n          chart.update(0);\n        }\n      }\n    }\n  });\n});","define('ember-cli-file-picker/components/file-picker', ['exports', 'ember', 'ember-cli-file-picker/lib/helpers'], function (exports, _ember, _helpers) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var Component = _ember.default.Component,\n      computed = _ember.default.computed,\n      observer = _ember.default.observer,\n      bind = _ember.default.run.bind,\n      htmlSafe = _ember.default.String.htmlSafe,\n      isEmpty = _ember.default.isEmpty,\n      $ = _ember.default.$;\n  exports.default = Component.extend({\n    classNames: ['file-picker'],\n    classNameBindings: ['multiple:multiple:single'],\n    accept: '*',\n    multiple: false,\n    preview: true,\n    dropzone: true,\n    progress: true,\n    showProgress: false,\n    hideFileInput: true,\n    readAs: 'readAsFile',\n    selectOnClick: true,\n    count: 0,\n    errors: [],\n    progressValue: null,\n\n    progressStyle: computed('progressValue', function () {\n      var width = this.get('progressValue') || 0;\n\n      return htmlSafe('width: ' + width + '%;');\n    }),\n\n    /**\n     * When the component got inserted\n     */\n    didInsertElement: function didInsertElement() {\n      if (this.get('hideFileInput')) {\n        this.hideInput();\n      }\n      this.hidePreview();\n      this.hideProgress();\n\n      this.$('.file-picker__input').on('change', bind(this, 'filesSelected'));\n    },\n\n    willDestroyElement: function willDestroyElement() {\n      this.$('.file-picker__input').off('change', bind(this, 'filesSelected'));\n    },\n\n    /**\n     * When the file input changed (a file got selected)\n     * @param  {Event} event The file change event\n     */\n    filesSelected: function filesSelected(event) {\n      var files = event.target.files;\n      if (files.length) {\n        this.handleFiles(files);\n      } else {\n        this.clearPreview();\n        this.set('progressValue', 0);\n      }\n    },\n\n    handleFiles: function handleFiles(files) {\n      var _this = this;\n\n      if (typeof this.filesAreValid === 'function') {\n        if (!this.filesAreValid(files)) {\n          return;\n        }\n      }\n\n      if (this.get('preview')) {\n        this.updatePreview(files);\n      }\n\n      if (this.get('multiple')) {\n        this.sendAction('filesLoaded', files);\n      } else {\n        if (this.get('readAs') === 'readAsFile') {\n          this.sendAction('fileLoaded', files[0]);\n        } else {\n          (0, _helpers.readFile)(files[0], this.get('readAs'), bind(this, 'updateProgress')).then(function (file) {\n            _this.sendAction('fileLoaded', file);\n          });\n        }\n      }\n\n      if (!this.get('hideFileInput')) {\n        this.$('.file-picker__input').val(null);\n      }\n    },\n\n    /**\n     * Update preview\n     * @param  {Array} files The selected files\n     */\n    updatePreview: function updatePreview(files) {\n      if (this.get('multiple')) {\n        // TODO\n      } else {\n        this.clearPreview();\n        this.set('showProgress', true);\n\n        (0, _helpers.readFile)(files[0], 'readAsDataURL', bind(this, 'updateProgress')).then(bind(this, 'addPreviewImage'));\n\n        this.$('.file-picker__dropzone').hide();\n      }\n\n      this.$('.file-picker__preview').show();\n    },\n\n    addPreviewImage: function addPreviewImage(file) {\n      var image = this.$('<img src=\"' + file.data + '\" class=\"file-picker__preview__image ' + (this.get('multiple') ? 'multiple' : 'single') + '\">');\n\n      this.hideProgress();\n      this.$('.file-picker__preview').append(image);\n    },\n\n    updateProgress: function updateProgress(event) {\n      var loaded = event.loaded,\n          total = event.total;\n\n\n      var value = null;\n\n      if (!isEmpty(loaded) && !isEmpty(total) && parseFloat(total) !== 0) {\n        value = loaded / total * 100;\n      }\n\n      this.set('progressValue', value);\n    },\n\n    hideInput: function hideInput() {\n      this.$('.file-picker__input').hide();\n    },\n\n    hidePreview: function hidePreview() {\n      this.$('.file-picker__preview').hide();\n    },\n\n    hideProgress: function hideProgress() {\n      this.set('showProgress', false);\n    },\n\n    clearPreview: function clearPreview() {\n      this.$('.file-picker__preview').html('');\n      this.hidePreview();\n      this.$('.file-picker__dropzone').show();\n\n      // reset\n      this.set('removePreview', false);\n    },\n\n    removePreviewDidChange: observer('removePreview', function () {\n      if (this.get('removePreview')) {\n        this.clearPreview();\n      }\n    }),\n\n    // handles DOM events\n    // Trigger a input click to open file dialog\n    click: function click(event) {\n      if (this.get('selectOnClick') === true) {\n        if (!$(event.target).hasClass('file-picker__input')) {\n          this.$('.file-picker__input').trigger('click');\n        }\n      }\n    },\n    /* Drag'n'Drop events */\n    dragOver: function dragOver(event) {\n      if (event.preventDefault) {\n        event.preventDefault();\n      }\n      if (!this.get('dropzone')) {\n        return;\n      }\n\n      event.dataTransfer.dropEffect = 'copy';\n    },\n    drop: function drop(event) {\n      if (event.preventDefault) {\n        event.preventDefault();\n      }\n      if (!this.get('dropzone')) {\n        return;\n      }\n\n      this.handleFiles(event.dataTransfer.files);\n      this.set('count', 0);\n      this.$().removeClass('over');\n    },\n    dragEnter: function dragEnter(event) {\n      if (event.preventDefault) {\n        event.preventDefault();\n      }\n      if (!this.get('dropzone')) {\n        return;\n      }\n\n      if (!this.get('multiple')) {\n        this.clearPreview();\n      }\n      var count = this.incrementProperty('count');\n      if (count === 1) {\n        this.$().addClass('over');\n      }\n    },\n    dragLeave: function dragLeave(event) {\n      if (event.preventDefault) {\n        event.preventDefault();\n      }\n      if (!this.get('dropzone')) {\n        return;\n      }\n\n      var count = this.decrementProperty('count');\n      if (count === 0) {\n        this.$().removeClass('over');\n      }\n    },\n\n    /*\n     * returns true if browser supportes progress element\n     *\n     * browser support overview:\n     * http://caniuse.com/#feat=progress\n     *\n     * uses test from Modernizr\n     * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/elem/progress-meter.js\n     */\n    isProgressSupported: _ember.default.computed(function () {\n      return document.createElement('progress').max !== undefined;\n    })\n  });\n});","define('ember-cli-file-picker/lib/helpers', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.readFile = undefined;\n  var assert = _ember.default.assert;\n\n\n  /**\n   * Reads a file\n   * @param {File} file A file\n   * @param {String} readAs One of\n   *  - readAsArrayBuffer\n   *  - readAsBinaryString\n   *  - readAsDataURL\n   *  - readAsText\n   * @param {Function} progressCallback\n   * @return {Promise}\n   */\n  function readFile(file, readAs) {\n    var progressCallback = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n    var reader = new FileReader();\n\n    assert('readAs method \"' + readAs + '\" not implemented', reader[readAs] && readAs !== 'abort');\n\n    return new _ember.default.RSVP.Promise(function (resolve, reject) {\n      reader.onload = function (event) {\n        resolve({\n          // TODO deprecate filename\n          filename: file.name,\n          name: file.name,\n          type: file.type,\n          data: event.target.result,\n          size: file.size\n        });\n      };\n\n      reader.onabort = function () {\n        reject({\n          event: 'onabort'\n        });\n      };\n\n      reader.onerror = function (error) {\n        reject({\n          event: 'onerror',\n          error: error\n        });\n      };\n\n      if (typeof progressCallback === 'function') {\n        reader.onprogress = progressCallback;\n      }\n\n      reader[readAs](file);\n    });\n  }\n\n  exports.readFile = readFile;\n});","define('ember-cli-flash/components/flash-message', ['exports', 'ember', 'ember-cli-flash/templates/components/flash-message'], function (exports, _ember, _emberCliFlashTemplatesComponentsFlashMessage) {\n  var _Ember$String = _ember['default'].String;\n  var classify = _Ember$String.classify;\n  var htmlSafe = _Ember$String.htmlSafe;\n  var Component = _ember['default'].Component;\n  var getWithDefault = _ember['default'].getWithDefault;\n  var isPresent = _ember['default'].isPresent;\n  var run = _ember['default'].run;\n  var on = _ember['default'].on;\n  var _get = _ember['default'].get;\n  var set = _ember['default'].set;\n  var computed = _ember['default'].computed;\n  var readOnly = computed.readOnly;\n  var bool = computed.bool;\n  var next = run.next;\n  var cancel = run.cancel;\n  exports['default'] = Component.extend({\n    layout: _emberCliFlashTemplatesComponentsFlashMessage['default'],\n    active: false,\n    messageStyle: 'bootstrap',\n    classNameBindings: ['alertType', 'active', 'exiting'],\n\n    showProgressBar: readOnly('flash.showProgress'),\n    exiting: readOnly('flash.exiting'),\n    hasBlock: bool('template').readOnly(),\n\n    alertType: computed('flash.type', {\n      get: function get() {\n        var flashType = getWithDefault(this, 'flash.type', '');\n        var messageStyle = getWithDefault(this, 'messageStyle', '');\n        var prefix = 'alert alert-';\n\n        if (messageStyle === 'foundation') {\n          prefix = 'alert-box ';\n        }\n\n        return '' + prefix + flashType;\n      }\n    }),\n\n    flashType: computed('flash.type', {\n      get: function get() {\n        var flashType = getWithDefault(this, 'flash.type', '');\n\n        return classify(flashType);\n      }\n    }),\n\n    _setActive: on('didInsertElement', function () {\n      var _this = this;\n\n      var pendingSet = next(this, function () {\n        set(_this, 'active', true);\n      });\n      set(this, 'pendingSet', pendingSet);\n    }),\n\n    progressDuration: computed('flash.showProgress', {\n      get: function get() {\n        if (!_get(this, 'flash.showProgress')) {\n          return false;\n        }\n\n        var duration = getWithDefault(this, 'flash.timeout', 0);\n\n        return htmlSafe('transition-duration: ' + duration + 'ms');\n      }\n    }),\n\n    click: function click() {\n      var destroyOnClick = getWithDefault(this, 'flash.destroyOnClick', true);\n\n      if (destroyOnClick) {\n        this._destroyFlashMessage();\n      }\n    },\n\n    mouseEnter: function mouseEnter() {\n      var flash = _get(this, 'flash');\n      if (isPresent(flash)) {\n        flash.deferTimers();\n      }\n    },\n\n    mouseLeave: function mouseLeave() {\n      var flash = _get(this, 'flash');\n      if (isPresent(flash)) {\n        flash.resumeTimers();\n      }\n    },\n\n    willDestroy: function willDestroy() {\n      this._super();\n      this._destroyFlashMessage();\n      cancel(_get(this, 'pendingSet'));\n    },\n\n    // private\n    _destroyFlashMessage: function _destroyFlashMessage() {\n      var flash = getWithDefault(this, 'flash', false);\n\n      if (flash) {\n        flash.destroyMessage();\n      }\n    },\n\n    actions: {\n      close: function close() {\n        this._destroyFlashMessage();\n      }\n    }\n  });\n});","define('ember-cli-flash/flash/object', ['exports', 'ember', 'ember-cli-flash/utils/computed'], function (exports, _ember, _emberCliFlashUtilsComputed) {\n  var EmberObject = _ember['default'].Object;\n  var readOnly = _ember['default'].computed.readOnly;\n  var _Ember$run = _ember['default'].run;\n  var later = _Ember$run.later;\n  var cancel = _Ember$run.cancel;\n  var Evented = _ember['default'].Evented;\n  var get = _ember['default'].get;\n  var set = _ember['default'].set;\n  exports['default'] = EmberObject.extend(Evented, {\n    timer: null,\n    exitTimer: null,\n    exiting: false,\n    initializedTime: null,\n\n    queue: readOnly('flashService.queue'),\n    totalTimeout: _emberCliFlashUtilsComputed['default'].add('timeout', 'extendedTimeout').readOnly(),\n    _guid: _emberCliFlashUtilsComputed['default'].guidFor('message').readOnly(),\n\n    init: function init() {\n      this._super.apply(this, arguments);\n\n      if (get(this, 'sticky')) {\n        return;\n      }\n\n      this._setupTimers();\n      this._setInitializedTime();\n    },\n\n    destroyMessage: function destroyMessage() {\n      var queue = get(this, 'queue');\n\n      if (queue) {\n        queue.removeObject(this);\n      }\n\n      this.destroy();\n      this.trigger('didDestroyMessage');\n    },\n\n    exitMessage: function exitMessage() {\n      set(this, 'exiting', true);\n\n      this._cancelTimer('exitTimer');\n      this.trigger('didExitMessage');\n    },\n\n    willDestroy: function willDestroy() {\n      this._cancelAllTimers();\n\n      var onDestroy = get(this, 'onDestroy');\n\n      if (onDestroy) {\n        onDestroy();\n      }\n\n      this._super.apply(this, arguments);\n    },\n\n    deferTimers: function deferTimers() {\n      if (get(this, 'sticky')) {\n        return;\n      }\n      var timeout = get(this, 'timeout');\n      var remainingTime = timeout - this._getElapsedTime();\n      set(this, 'timeout', remainingTime);\n\n      this._cancelAllTimers();\n    },\n\n    resumeTimers: function resumeTimers() {\n      if (get(this, 'sticky')) {\n        return;\n      }\n      this._setupTimers();\n    },\n\n    // private\n    _setTimer: function _setTimer(name, methodName, timeout) {\n      return set(this, name, later(this, methodName, timeout));\n    },\n\n    _setupTimers: function _setupTimers() {\n      this._setTimer('exitTimer', 'exitMessage', get(this, 'timeout'));\n      this._setTimer('timer', 'destroyMessage', get(this, 'totalTimeout'));\n    },\n\n    _setInitializedTime: function _setInitializedTime() {\n      var currentTime = new Date().getTime();\n\n      set(this, 'initializedTime', currentTime);\n    },\n\n    _getElapsedTime: function _getElapsedTime() {\n      var currentTime = new Date().getTime();\n      var initializedTime = get(this, 'initializedTime');\n\n      return currentTime - initializedTime;\n    },\n\n    _cancelTimer: function _cancelTimer(name) {\n      var timer = get(this, name);\n\n      if (timer) {\n        cancel(timer);\n        set(this, name, null);\n      }\n    },\n\n    _cancelAllTimers: function _cancelAllTimers() {\n      var _this = this;\n\n      var timers = ['timer', 'exitTimer'];\n\n      timers.forEach(function (timer) {\n        _this._cancelTimer(timer);\n      });\n    }\n  });\n});","define('ember-cli-flash/services/flash-messages', ['exports', 'ember', 'ember-cli-flash/flash/object', 'ember-cli-flash/utils/object-without'], function (exports, _ember, _emberCliFlashFlashObject, _emberCliFlashUtilsObjectWithout) {\n  var Service = _ember['default'].Service;\n  var assert = _ember['default'].assert;\n  var copy = _ember['default'].copy;\n  var getWithDefault = _ember['default'].getWithDefault;\n  var isNone = _ember['default'].isNone;\n  var setProperties = _ember['default'].setProperties;\n  var typeOf = _ember['default'].typeOf;\n  var warn = _ember['default'].warn;\n  var get = _ember['default'].get;\n  var set = _ember['default'].set;\n  var computed = _ember['default'].computed;\n  var classify = _ember['default'].String.classify;\n  var emberArray = _ember['default'].A;\n  var equal = computed.equal;\n  var sort = computed.sort;\n  var mapBy = computed.mapBy;\n\n  var merge = _ember['default'].assign || _ember['default'].merge;\n\n  exports['default'] = Service.extend({\n    isEmpty: equal('queue.length', 0).readOnly(),\n    _guids: mapBy('queue', '_guid').readOnly(),\n\n    arrangedQueue: sort('queue', function (a, b) {\n      if (a.priority < b.priority) {\n        return 1;\n      } else if (a.priority > b.priority) {\n        return -1;\n      }\n      return 0;\n    }).readOnly(),\n\n    init: function init() {\n      this._super.apply(this, arguments);\n      this._setDefaults();\n      this.queue = emberArray();\n    },\n\n    add: function add() {\n      var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\n      this._enqueue(this._newFlashMessage(options));\n\n      return this;\n    },\n\n    clearMessages: function clearMessages() {\n      var flashes = get(this, 'queue');\n\n      if (isNone(flashes)) {\n        return;\n      }\n\n      flashes.clear();\n\n      return this;\n    },\n\n    registerTypes: function registerTypes() {\n      var _this = this;\n\n      var types = arguments.length <= 0 || arguments[0] === undefined ? emberArray() : arguments[0];\n\n      types.forEach(function (type) {\n        return _this._registerType(type);\n      });\n\n      return this;\n    },\n\n    peekFirst: function peekFirst() {\n      return get(this, 'queue.firstObject');\n    },\n\n    peekLast: function peekLast() {\n      return get(this, 'queue.lastObject');\n    },\n\n    getFlashObject: function getFlashObject() {\n      var errorText = 'A flass message must be added before it can be returned';\n      assert(errorText, get(this, 'queue').length);\n\n      return this.peekLast();\n    },\n\n    _newFlashMessage: function _newFlashMessage() {\n      var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\n      assert('The flash message cannot be empty.', options.message);\n\n      var flashService = this;\n      var allDefaults = getWithDefault(this, 'flashMessageDefaults', {});\n      var defaults = (0, _emberCliFlashUtilsObjectWithout['default'])(allDefaults, ['types', 'injectionFactories', 'preventDuplicates']);\n\n      var flashMessageOptions = merge(copy(defaults), { flashService: flashService });\n\n      for (var key in options) {\n        var value = get(options, key);\n        var option = this._getOptionOrDefault(key, value);\n\n        set(flashMessageOptions, key, option);\n      }\n\n      return _emberCliFlashFlashObject['default'].create(flashMessageOptions);\n    },\n\n    _getOptionOrDefault: function _getOptionOrDefault(key, value) {\n      var defaults = getWithDefault(this, 'flashMessageDefaults', {});\n      var defaultOption = get(defaults, key);\n\n      if (typeOf(value) === 'undefined') {\n        return defaultOption;\n      }\n\n      return value;\n    },\n\n    _setDefaults: function _setDefaults() {\n      var defaults = getWithDefault(this, 'flashMessageDefaults', {});\n\n      for (var key in defaults) {\n        var classifiedKey = classify(key);\n        var defaultKey = 'default' + classifiedKey;\n\n        set(this, defaultKey, defaults[key]);\n      }\n\n      this.registerTypes(getWithDefault(this, 'defaultTypes', emberArray()));\n    },\n\n    _registerType: function _registerType(type) {\n      var _this2 = this;\n\n      assert('The flash type cannot be undefined', type);\n\n      this[type] = function (message) {\n        var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n        var flashMessageOptions = copy(options);\n        setProperties(flashMessageOptions, { message: message, type: type });\n\n        return _this2.add(flashMessageOptions);\n      };\n    },\n\n    _hasDuplicate: function _hasDuplicate(guid) {\n      return get(this, '_guids').includes(guid);\n    },\n\n    _enqueue: function _enqueue(flashInstance) {\n      var preventDuplicates = get(this, 'defaultPreventDuplicates');\n      var guid = get(flashInstance, '_guid');\n\n      if (preventDuplicates && this._hasDuplicate(guid)) {\n        warn('Attempting to add a duplicate message to the Flash Messages Service', false, {\n          id: 'ember-cli-flash.duplicate-message'\n        });\n        return;\n      }\n\n      return get(this, 'queue').pushObject(flashInstance);\n    }\n  });\n});","define(\"ember-cli-flash/templates/components/flash-message\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.__esModule = true;\n  exports.default = Ember.HTMLBars.template({ \"id\": \"xQE/DERZ\", \"block\": \"{\\\"statements\\\":[[6,[\\\"if\\\"],[[29,\\\"default\\\"]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[18,\\\"default\\\",[[28,[null]],[28,[\\\"flash\\\"]],[33,[\\\"action\\\"],[[28,[null]],\\\"close\\\"],null]]],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[0,\\\"  \\\"],[1,[28,[\\\"flash\\\",\\\"message\\\"]],false],[0,\\\"\\\\n\\\"],[6,[\\\"if\\\"],[[28,[\\\"showProgressBar\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[11,\\\"div\\\",[]],[15,\\\"class\\\",\\\"alert-progress\\\"],[13],[0,\\\"\\\\n      \\\"],[11,\\\"div\\\",[]],[15,\\\"class\\\",\\\"alert-progressBar\\\"],[16,\\\"style\\\",[26,[\\\"progressDuration\\\"]],null],[13],[14],[0,\\\"\\\\n    \\\"],[14],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[]},null]],\\\"locals\\\":[]}]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"ember-cli-flash/templates/components/flash-message.hbs\" } });\n});","define('ember-cli-flash/utils/computed', ['exports', 'ember'], function (exports, _ember) {\n  exports.add = add;\n  exports.guidFor = guidFor;\n  var typeOf = _ember['default'].typeOf;\n  var _get = _ember['default'].get;\n  var computed = _ember['default'].computed;\n  var emberGuidFor = _ember['default'].guidFor;\n  var emberArray = _ember['default'].A;\n\n  function add() {\n    for (var _len = arguments.length, dependentKeys = Array(_len), _key = 0; _key < _len; _key++) {\n      dependentKeys[_key] = arguments[_key];\n    }\n\n    var computedFunc = computed({\n      get: function get() {\n        var _this = this;\n\n        var values = dependentKeys.map(function (dependentKey) {\n          var value = _get(_this, dependentKey);\n\n          if (typeOf(value) !== 'number') {\n            return;\n          }\n\n          return value;\n        });\n\n        return emberArray(values).compact().reduce(function (prev, curr) {\n          return prev + curr;\n        });\n      }\n    });\n\n    return computedFunc.property.apply(computedFunc, dependentKeys);\n  }\n\n  function guidFor(dependentKey) {\n    return computed(dependentKey, {\n      get: function get() {\n        var value = _get(this, dependentKey);\n\n        return emberGuidFor(value.toString());\n      }\n    });\n  }\n});","define('ember-cli-flash/utils/object-compact', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = objectCompact;\n  var isPresent = _ember['default'].isPresent;\n\n  function objectCompact(objectInstance) {\n    var compactedObject = {};\n\n    for (var key in objectInstance) {\n      var value = objectInstance[key];\n\n      if (isPresent(value)) {\n        compactedObject[key] = value;\n      }\n    }\n\n    return compactedObject;\n  }\n});","define(\"ember-cli-flash/utils/object-only\", [\"exports\"], function (exports) {\n  exports[\"default\"] = objectWithout;\n\n  function objectWithout() {\n    var originalObj = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n    var keysToRemain = arguments.length <= 1 || arguments[1] === undefined ? [] : arguments[1];\n\n    var newObj = {};\n\n    for (var key in originalObj) {\n      if (keysToRemain.indexOf(key) !== -1) {\n        newObj[key] = originalObj[key];\n      }\n    }\n\n    return newObj;\n  }\n});","define(\"ember-cli-flash/utils/object-without\", [\"exports\"], function (exports) {\n  exports[\"default\"] = objectWithout;\n\n  function objectWithout() {\n    var originalObj = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n    var keysToRemove = arguments.length <= 1 || arguments[1] === undefined ? [] : arguments[1];\n\n    var newObj = {};\n\n    for (var key in originalObj) {\n      if (keysToRemove.indexOf(key) === -1) {\n        newObj[key] = originalObj[key];\n      }\n    }\n\n    return newObj;\n  }\n});","define('ember-cli-keyboard-nav/mixins/keyboard-nav', ['exports', 'ember'], function (exports, _ember) {\n  var Mixin = _ember['default'].Mixin;\n  exports['default'] = Mixin.create({\n\n    bindKeys: function bindKeys($object) {\n      var _this = this;\n\n      $object.keyup(function (e) {\n        if (e.which === 13) {\n          _this.onEnterPress();\n        } else if (e.which === 27) {\n          _this.onEscPress();\n        } else if (e.which === 40) {\n          _this.onDownPress();\n        } else if (e.which === 38) {\n          _this.onUpPress();\n        } else {\n          _this.onCustomPress(e.which);\n        }\n      });\n    },\n\n    // keypress actions\n\n    onEnterPress: function onEnterPress() {},\n\n    onEscPress: function onEscPress() {},\n\n    onDownPress: function onDownPress() {},\n\n    onUpPress: function onUpPress() {},\n\n    onCustomPress: function onCustomPress() {}\n\n  });\n});","define('ember-cli-sentry/services/raven', ['exports', 'ember', 'ember-cli-sentry/utils/parse-regex-errors'], function (exports, _ember, _parseRegexErrors) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  // Ember merge is deprecated as of 2.5, but we need to check for backwards\n  // compatibility.\n  var assign = _ember.default.assign || _ember.default.merge;\n\n  var RSVP = _ember.default.RSVP,\n      Service = _ember.default.Service,\n      computed = _ember.default.computed,\n      typeOf = _ember.default.typeOf;\n\n\n  /**\n   * Default available logger service.\n   *\n   * You can simply extend or export this Service to use it in the application.\n   *\n   * @class RavenService\n   * @module ember-cli-sentry/services/raven\n   * @extends Ember.Service\n   */\n  var RavenService = Service.extend({\n\n    /**\n     * Global error catching definition status\n     *\n     * @property globalErrorCatchingInitialized\n     * @type Boolean\n     * @default false\n     * @private\n     */\n    globalErrorCatchingInitialized: false,\n\n    /**\n     * Message to send to Raven when facing an unhandled\n     * RSVP.Promise rejection.\n     *\n     * @property unhandledPromiseErrorMessage\n     * @type String\n     * @default 'Unhandled Promise error detected'\n     */\n    unhandledPromiseErrorMessage: 'Unhandled Promise error detected',\n\n    /**\n     * Ignore errors if the message matches any string or regex in this list.\n     *\n     * @property ignoreErrors\n     * @type Array\n     */\n    ignoreErrors: [],\n\n    /**\n     * Ignore errors if any of the stack trace file paths matches any string or regex in this list.\n     *\n     * @property ignoreUrls\n     * @type Array\n     */\n    ignoreUrls: [],\n\n    /**\n     * Utility function used internally to check if Raven object\n     * can capture exceptions and messages properly.\n     *\n     * @property isRavenUsable\n     * @type Ember.ComputedProperty\n     */\n    isRavenUsable: computed(function () {\n      return !!(window.Raven && window.Raven.isSetup() === true);\n    }).volatile(),\n\n    setup: function setup(config) {\n      var _config$sentry = config.sentry,\n          dsn = _config$sentry.dsn,\n          environment = _config$sentry.environment,\n          _config$sentry$debug = _config$sentry.debug,\n          debug = _config$sentry$debug === undefined ? true : _config$sentry$debug,\n          _config$sentry$includ = _config$sentry.includePaths,\n          includePaths = _config$sentry$includ === undefined ? [] : _config$sentry$includ,\n          _config$sentry$whitel = _config$sentry.whitelistUrls,\n          whitelistUrls = _config$sentry$whitel === undefined ? [] : _config$sentry$whitel,\n          _config$sentry$servic = _config$sentry.serviceName,\n          serviceName = _config$sentry$servic === undefined ? 'raven' : _config$sentry$servic,\n          _config$sentry$servic2 = _config$sentry.serviceReleaseProperty,\n          serviceReleaseProperty = _config$sentry$servic2 === undefined ? 'release' : _config$sentry$servic2,\n          _config$sentry$ravenO = _config$sentry.ravenOptions,\n          ravenOptions = _config$sentry$ravenO === undefined ? {} : _config$sentry$ravenO;\n\n\n      var ignoreErrors = this.get('ignoreErrors');\n      if (_ember.default.isPresent(ignoreErrors)) {\n        _ember.default.set(ravenOptions, 'ignoreErrors', ignoreErrors);\n      } else if (_ember.default.get(ravenOptions, 'ignoreErrors.length')) {\n        _ember.default.deprecate('Please set \"ignoreErrors\" on the \"' + serviceName + '\" service instead of in the \"config/environment.js\" file', false, {\n          id: 'ember-cli-sentry.ignore-errors-in-service',\n          until: '3.0.0'\n        });\n        _ember.default.set(ravenOptions, 'ignoreErrors', (0, _parseRegexErrors.parseRegexErrors)(ravenOptions.ignoreErrors));\n      }\n\n      _ember.default.set(ravenOptions, 'ignoreUrls', this.get('ignoreUrls'));\n\n      try {\n        window.Raven.debug = debug;\n\n        // Keeping existing config values for includePaths, whitelistUrls, for compatibility.\n        var ravenConfig = assign({\n          environment: environment,\n          includePaths: includePaths,\n          whitelistUrls: whitelistUrls,\n          release: this.get(serviceReleaseProperty) || config.APP.version\n        }, ravenOptions);\n\n        window.Raven.config(dsn, ravenConfig);\n      } catch (e) {\n        _ember.default.Logger.warn('Error during `sentry` initialization: ' + e);\n        return;\n      }\n\n      window.Raven.install();\n\n      var _config$sentry$global = config.sentry.globalErrorCatching,\n          globalErrorCatching = _config$sentry$global === undefined ? true : _config$sentry$global;\n\n\n      if (globalErrorCatching === true) {\n        this.enableGlobalErrorCatching();\n      }\n    },\n    captureException: function captureException(error) {\n      if (this.get('isRavenUsable')) {\n        var _window$Raven;\n\n        (_window$Raven = window.Raven).captureException.apply(_window$Raven, arguments);\n      } else {\n        throw error;\n      }\n    },\n    captureMessage: function captureMessage(message) {\n      if (this.get('isRavenUsable')) {\n        var _window$Raven2;\n\n        (_window$Raven2 = window.Raven).captureMessage.apply(_window$Raven2, arguments);\n      } else {\n        throw new Error(message);\n      }\n      return true;\n    },\n    enableGlobalErrorCatching: function enableGlobalErrorCatching() {\n      var _this = this;\n\n      if (this.get('isRavenUsable') && !this.get('globalErrorCatchingInitialized')) {\n        var _oldOnError = _ember.default.onerror;\n\n        _ember.default.onerror = function (error) {\n          if (_this._ignoreError(error)) {\n            return;\n          }\n\n          _this.captureException(error);\n          _this.didCaptureException(error);\n          if (typeof _oldOnError === 'function') {\n            _oldOnError.call(_ember.default, error);\n          }\n        };\n\n        RSVP.on('error', function (reason, label) {\n          if (_this._ignoreError(reason)) {\n            return;\n          }\n\n          if (typeOf(reason) === 'error') {\n            _this.captureException(reason, {\n              extra: {\n                context: label || _this.get('unhandledPromiseErrorMessage')\n              }\n            });\n            _this.didCaptureException(reason);\n          } else {\n            _this.captureMessage(_this._extractMessage(reason), {\n              extra: {\n                reason: reason,\n                context: label\n              }\n            });\n          }\n        });\n\n        this.set('globalErrorCatchingInitialized', true);\n      }\n\n      return this;\n    },\n    _extractMessage: function _extractMessage(reason) {\n      var defaultMessage = this.get('unhandledPromiseErrorMessage');\n      switch (typeOf(reason)) {\n        case 'string':\n          return reason;\n        case 'object':\n          return reason.message || defaultMessage;\n        default:\n          return defaultMessage;\n      }\n    },\n    _ignoreError: function _ignoreError(error) {\n      // Ember 2.X seems to not catch `TransitionAborted` errors caused by regular redirects. We don't want these errors to show up in Sentry so we have to filter them ourselfs.\n      // Once the issue https://github.com/emberjs/ember.js/issues/12505 is resolved we can remove this ignored error.\n      if (error && error.name === 'TransitionAborted') {\n        return true;\n      }\n\n      return this.ignoreError(error);\n    },\n    didCaptureException: function didCaptureException() {},\n    ignoreError: function ignoreError() {\n      return false;\n    },\n    callRaven: function callRaven(methodName) {\n      if (this.get('isRavenUsable')) {\n        try {\n          var _window$Raven$methodN;\n\n          for (var _len = arguments.length, optional = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n            optional[_key - 1] = arguments[_key];\n          }\n\n          return (_window$Raven$methodN = window.Raven[methodName]).call.apply(_window$Raven$methodN, [window.Raven].concat(_toConsumableArray(optional)));\n        } catch (error) {\n          this.captureException(error);\n          return false;\n        }\n      }\n    }\n  });\n\n  exports.default = RavenService;\n});","define(\"ember-cli-sentry/utils/parse-regex-errors\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.parseRegexErrors = parseRegexErrors;\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  /**\n   * @module ember-cli-sentry/utils/parse-regex-errors\n   */\n\n  /**\n   * Uniformize an array of mixed string patterns and RegExp objects by converting\n   * any String pattern to RegExp.\n   *\n   * @param {Array} errors Mixed string patterns and RegExp objects\n   * @return {Array}\n   */\n  function parseRegexErrors(errors) {\n    if (!errors || errors.constructor !== Array) {\n      return [];\n    }\n\n    var regex = new RegExp(/^\\/(.*)\\/([gimuy]*)$/);\n    var regexGroups = { pattern: 1, flags: 2 };\n\n    return errors.map(function (error) {\n      if ((typeof error === \"undefined\" ? \"undefined\" : _typeof(error)) && regex.test(error)) {\n        var match = regex.exec(error);\n        return new RegExp(match[regexGroups.pattern], match[regexGroups.flags]);\n      }\n\n      return error;\n    });\n  }\n});","define('ember-cli-swiper/components/swiper-container', ['exports', 'ember-cli-swiper/templates/components/swiper-container'], function (exports, _swiperContainer) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  var $ = Ember.$;\n  var Component = Ember.Component;\n  var getProperties = Ember.getProperties;\n  var computed = Ember.computed;\n  var once = Ember.run.once;\n  var emAssign = Ember.assign;\n  var or = Ember.computed.or;\n  var keys = Object.keys;\n\n  var assign = Object.assign || emAssign;\n\n  var EMBER_CLI_SWIPER_OPTIONS = ['options', 'navigation', 'registerAs', 'vertical', 'centered', 'updateFor', 'afterSwiperInit', 'currentSlide'];\n\n  exports.default = Component.extend({\n    layout: _swiperContainer.default,\n    classNames: ['swiper-container'],\n\n    /**\n     * Swiper Instance\n     * @private\n     * @type {Boolean}\n     */\n    _swiper: false,\n\n    /**\n     * Proxies `Swiper.activeIndex`\n     * @public\n     * @type {Number}\n     */\n    currentSlide: 0,\n\n    /**\n     * Compared against `currentSlide`\n     * @private\n     * @type {Number}\n     */\n    _currentSlideInternal: 0,\n\n    /**\n     * Abstraction to invoke `Swiper.update`\n     * @public\n     * @type {String}\n     */\n    updateFor: '',\n\n    /**\n     * Compared against `updateFor`\n     * @private\n     * @type {String}\n     */\n    _updateForInternal: '',\n\n    /**\n     * Render navigation controls\n     * @public\n     * @type {Boolean}\n     */\n    hasNavigation: or('options.navigation', 'navigation'),\n\n    /**\n     * Render pagination controls\n     * @public\n     * @type {Boolean}\n     */\n    hasPagination: or('options.pagination', 'pagination'),\n\n    /**\n     * Single Attribute options\n     * @public\n     * @type {Object}\n     */\n    options: computed(function () {\n      return {};\n    }),\n\n    /**\n     * Get Swiper options from attributes\n     * @private\n     * @return {Object}\n     */\n    _getOptions: function _getOptions() {\n      var attrs = getProperties.apply(undefined, [this].concat(_toConsumableArray(keys(this.attrs))));\n      var options = assign({}, this.get('options'), attrs);\n\n      /*\n       Automatically configure pagination set to `true`\n       */\n      if (options.pagination === true) {\n        options.pagination = '#' + this.get('elementId') + ' > .swiper-pagination';\n      }\n\n      if (options.pagination) {\n        options.paginationClickable = true; // paginated must be clickable\n      }\n\n      if (options.navigation) {\n        (true && Ember.warn('ember-cli-swiper option `nextButton` is ignored while `navigation` true', !options.nextButton, { id: 'ember-cli-swiper.next-button-with-navigation' }));\n        (true && Ember.warn('ember-cli-swiper option `prevButton` is ignored while `navigation` true', !options.prevButton, { id: 'ember-cli-swiper.prev-button-with-navigation' }));\n\n\n        options.nextButton = '.swiper-button-next';\n        options.prevButton = '.swiper-button-prev';\n      }\n\n      if (options.vertical) {\n        (true && Ember.warn('ember-cli-swiper option `direction` is ignored while `vertical` true', !options.direction, { id: 'ember-cli-swiper.direction-with-virtical' }));\n\n\n        options.direction = 'vertical';\n      }\n\n      if (options.centered) {\n        (true && Ember.warn('ember-cli-swiper option `centeredSlides` is ignored while `centered` true', !options.centeredSlides, { id: 'ember-cli-swiper.centered-with-centered-slides' }));\n\n\n        options.centeredSlides = true;\n      }\n\n      /*\n       Remove component-only\n       configuration options from Swiper options\n       */\n      keys(options).forEach(function (k) {\n        return EMBER_CLI_SWIPER_OPTIONS.indexOf(k) !== -1 && delete options[k];\n      });\n\n      return options;\n    },\n    forceUpdate: function forceUpdate(updateTranslate) {\n      this.get('_swiper').update(updateTranslate === undefined ? false : updateTranslate);\n      this.get('_swiper').slideTo(this.get('currentSlide'));\n    },\n    slideChanged: function slideChanged(swiper) {\n      var index = this.get('loop') ? $(swiper.slides).filter('.swiper-slide-active').attr('data-swiper-slide-index') : swiper.activeIndex;\n\n      this.set('_currentSlideInternal', index);\n      this.set('currentSlide', index);\n      this.sendAction('onChange', swiper.slides[swiper.activeIndex]);\n    },\n    didUpdateAttrs: function didUpdateAttrs() {\n      this._super.apply(this, arguments);\n\n      /*\n       Data-down Swiper slide activation\n       */\n      if (this.get('currentSlide') !== this.get('_currentSlideInternal')) {\n        var index = this.get('currentSlide');\n\n        if (this.get('loop')) {\n          var swiper = this.get('_swiper');\n          index = $(swiper.slides).filter('[data-swiper-slide-index=' + this.get('currentSlide') + ']').prevAll().length;\n        }\n\n        this.get('_swiper').slideTo(index);\n        this.set('_currentSlideInternal', this.get('currentSlide'));\n      }\n\n      /*\n       Trigger `update()` of swiper\n       */\n      if (this.get('updateFor') !== this.get('_updateForInternal')) {\n        once(this, this.get('_swiper').update);\n        this.set('_updateForInternal', this.get('updateFor'));\n      }\n    },\n    didInsertElement: function didInsertElement() {\n      this._super.apply(this, arguments);\n      this.set('registerAs', this);\n\n      var swiperOptions = assign({ initialSlide: this.get('currentSlide') }, this._getOptions());\n\n      this.set('_swiper', new Swiper(this.element, swiperOptions)).on('onSlideChangeEnd', this.slideChanged.bind(this));\n\n      this.sendAction('afterSwiperInit', this);\n    },\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n\n      if (this.get('_swiper')) {\n        this.get('_swiper').off('onSlideChangeEnd');\n        this.get('_swiper').destroy();\n        this.set('_swiper', null);\n      }\n    }\n  });\n});","define('ember-cli-swiper/components/swiper-slide', ['exports', 'ember-cli-swiper/templates/components/swiper-slide'], function (exports, _swiperSlide) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var Component = Ember.Component;\n  exports.default = Component.extend({\n    layout: _swiperSlide.default,\n    classNames: ['swiper-slide']\n  });\n});","define(\"ember-cli-swiper/templates/components/swiper-container\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.__esModule = true;\n  exports.default = Ember.HTMLBars.template({ \"id\": \"OCBCOf9R\", \"block\": \"{\\\"statements\\\":[[11,\\\"div\\\",[]],[15,\\\"class\\\",\\\"swiper-wrapper\\\"],[13],[0,\\\"\\\\n  \\\"],[18,\\\"default\\\",[[33,[\\\"hash\\\"],null,[[\\\"slide\\\"],[[33,[\\\"component\\\"],[\\\"swiper-slide\\\"],null]]]]]],[0,\\\"\\\\n\\\"],[14],[0,\\\"\\\\n\\\\n\\\"],[6,[\\\"if\\\"],[[28,[\\\"hasPagination\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[11,\\\"div\\\",[]],[15,\\\"class\\\",\\\"swiper-pagination\\\"],[13],[14],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[]},null],[0,\\\"\\\\n\\\"],[6,[\\\"if\\\"],[[28,[\\\"hasNavigation\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[11,\\\"div\\\",[]],[15,\\\"class\\\",\\\"swiper-button-next\\\"],[13],[14],[0,\\\"\\\\n  \\\"],[11,\\\"div\\\",[]],[15,\\\"class\\\",\\\"swiper-button-prev\\\"],[13],[14],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[]},null]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"ember-cli-swiper/templates/components/swiper-container.hbs\" } });\n});","define(\"ember-cli-swiper/templates/components/swiper-slide\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.__esModule = true;\n  exports.default = Ember.HTMLBars.template({ \"id\": \"I09pZVYy\", \"block\": \"{\\\"statements\\\":[[18,\\\"default\\\"],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"ember-cli-swiper/templates/components/swiper-slide.hbs\" } });\n});","define('ember-cli-uuid/configuration', ['exports', 'ember'], function (exports, _ember) {\n  var getWithDefault = _ember['default'].getWithDefault;\n  var typeOf = _ember['default'].typeOf;\n\n  var DEFAULTS = {\n    defaultUUID: true\n  };\n\n  /**\n    Ember CLI UUID's configuration object (borrowed from Ember Simple Auth).\n  \n    To change any of these values, set them on the application's environment\n    object, e.g.:\n  \n    ```js\n    // config/environment.js\n    ENV['ember-cli-uuid'] = {\n      defaultUUID: false\n    };\n    ```\n  \n    @class Configuration\n    @extends Object\n    @module ember-cli-uuid/configuration\n    @public\n  */\n  exports['default'] = {\n    /**\n      If `defaultUUID` is set to `true`, all Ember-Data generated records will\n      have an automated UUID v4 set as their primary key.\n       @property defaultUUID\n      @readOnly\n      @static\n      @type Boolean\n      @default false\n      @public\n    */\n    defaultUUID: DEFAULTS.defaultUUID,\n\n    load: function load(config) {\n      for (var property in this) {\n        if (this.hasOwnProperty(property) && typeOf(this[property]) !== 'function') {\n          this[property] = getWithDefault(config, property, DEFAULTS[property]);\n        }\n      }\n    }\n  };\n});","define('ember-cli-uuid/index', ['exports', 'ember-cli-uuid/utils/uuid-helpers'], function (exports, _emberCliUuidUtilsUuidHelpers) {\n  Object.defineProperty(exports, 'uuid', {\n    enumerable: true,\n    get: function get() {\n      return _emberCliUuidUtilsUuidHelpers.uuid;\n    }\n  });\n});","define(\"ember-cli-uuid/utils/uuid-helpers\", [\"exports\"], function (exports) {\n  exports.uuid = uuid;\n\n  function uuid() {\n    return window.uuid.v4();\n  }\n\n  exports[\"default\"] = uuid;\n});","define('ember-concurrency/-buffer-policy', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  var saturateActiveQueue = function saturateActiveQueue(scheduler) {\n    while (scheduler.activeTaskInstances.length < scheduler.maxConcurrency) {\n      var taskInstance = scheduler.queuedTaskInstances.shift();\n      if (!taskInstance) {\n        break;\n      }\n      scheduler.activeTaskInstances.push(taskInstance);\n    }\n  };\n\n  function numPerformSlots(scheduler) {\n    return scheduler.maxConcurrency - scheduler.queuedTaskInstances.length - scheduler.activeTaskInstances.length;\n  }\n\n  var enqueueTasksPolicy = exports.enqueueTasksPolicy = {\n    requiresUnboundedConcurrency: true,\n    schedule: function schedule(scheduler) {\n      // [a,b,_] [c,d,e,f] becomes\n      // [a,b,c] [d,e,f]\n      saturateActiveQueue(scheduler);\n    },\n    getNextPerformStatus: function getNextPerformStatus(scheduler) {\n      return numPerformSlots(scheduler) > 0 ? 'succeed' : 'enqueue';\n    }\n  };\n\n  var dropQueuedTasksPolicy = exports.dropQueuedTasksPolicy = {\n    cancelReason: 'it belongs to a \\'drop\\' Task that was already running',\n    schedule: function schedule(scheduler) {\n      // [a,b,_] [c,d,e,f] becomes\n      // [a,b,c] []\n      saturateActiveQueue(scheduler);\n      scheduler.spliceTaskInstances(this.cancelReason, scheduler.queuedTaskInstances, 0, scheduler.queuedTaskInstances.length);\n    },\n    getNextPerformStatus: function getNextPerformStatus(scheduler) {\n      return numPerformSlots(scheduler) > 0 ? 'succeed' : 'drop';\n    }\n  };\n\n  var cancelOngoingTasksPolicy = exports.cancelOngoingTasksPolicy = {\n    cancelReason: 'it belongs to a \\'restartable\\' Task that was .perform()ed again',\n    schedule: function schedule(scheduler) {\n      // [a,b,_] [c,d,e,f] becomes\n      // [d,e,f] []\n      var activeTaskInstances = scheduler.activeTaskInstances;\n      var queuedTaskInstances = scheduler.queuedTaskInstances;\n      activeTaskInstances.push.apply(activeTaskInstances, _toConsumableArray(queuedTaskInstances));\n      queuedTaskInstances.length = 0;\n\n      var numToShift = Math.max(0, activeTaskInstances.length - scheduler.maxConcurrency);\n      scheduler.spliceTaskInstances(this.cancelReason, activeTaskInstances, 0, numToShift);\n    },\n    getNextPerformStatus: function getNextPerformStatus(scheduler) {\n      return numPerformSlots(scheduler) > 0 ? 'succeed' : 'cancel_previous';\n    }\n  };\n\n  var dropButKeepLatestPolicy = exports.dropButKeepLatestPolicy = {\n    cancelReason: 'it belongs to a \\'keepLatest\\' Task that was already running',\n    schedule: function schedule(scheduler) {\n      // [a,b,_] [c,d,e,f] becomes\n      // [d,e,f] []\n      saturateActiveQueue(scheduler);\n      scheduler.spliceTaskInstances(this.cancelReason, scheduler.queuedTaskInstances, 0, scheduler.queuedTaskInstances.length - 1);\n    }\n  };\n});","define('ember-concurrency/-cancelable-promise-helpers', ['exports', 'ember', 'ember-concurrency/-task-instance', 'ember-concurrency/utils'], function (exports, _ember, _taskInstance, _utils) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.hash = exports.race = exports.allSettled = exports.all = undefined;\n\n  var _marked = [resolver].map(regeneratorRuntime.mark);\n\n  var RSVP = _ember.default.RSVP;\n\n  var asyncAll = taskAwareVariantOf(RSVP.Promise, 'all', identity);\n\n  function resolver(value) {\n    return regeneratorRuntime.wrap(function resolver$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            return _context.abrupt('return', value);\n\n          case 1:\n          case 'end':\n            return _context.stop();\n        }\n      }\n    }, _marked[0], this);\n  }\n\n  /**\n   * A cancelation-aware variant of [Promise.all](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all).\n   * The normal version of a `Promise.all` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `all()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `all()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `all` will be canceled\n   * - if any of the {@linkcode TaskInstance}s (or regular promises) passed in reject (or\n   *   are canceled), all of the other unfinished `TaskInstance`s will\n   *   be automatically canceled.\n   *\n   * [Check out the \"Awaiting Multiple Child Tasks example\"](/#/docs/examples/joining-tasks)\n   */\n  var all = exports.all = function all(things) {\n    if (things.length === 0) {\n      return things;\n    }\n\n    for (var i = 0; i < things.length; ++i) {\n      var t = things[i];\n      if (!(t && t[_utils.yieldableSymbol])) {\n        return asyncAll(things);\n      }\n    }\n\n    var isAsync = false;\n    var taskInstances = things.map(function (thing) {\n      var ti = _taskInstance.default.create({\n        // TODO: consider simpler iterator than full on generator fn?\n        fn: resolver,\n        args: [thing]\n      })._start();\n\n      if (ti._completionState !== 1) {\n        isAsync = true;\n      }\n      return ti;\n    });\n\n    if (isAsync) {\n      return asyncAll(taskInstances);\n    } else {\n      return taskInstances.map(function (ti) {\n        return ti.value;\n      });\n    }\n  };\n\n  /**\n   * A cancelation-aware variant of [RSVP.allSettled](http://emberjs.com/api/classes/RSVP.html#method_allSettled).\n   * The normal version of a `RSVP.allSettled` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `allSettled()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `allSettled()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `allSettled` will be canceled\n   */\n  var allSettled = exports.allSettled = taskAwareVariantOf(RSVP, 'allSettled', identity);\n\n  /**\n   * A cancelation-aware variant of [Promise.race](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/race).\n   * The normal version of a `Promise.race` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `race()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `race()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `race` will be canceled\n   * - once any of the tasks/promises passed in complete (either success, failure,\n   *   or cancelation), any of the {@linkcode TaskInstance}s passed in will be canceled\n   *\n   * [Check out the \"Awaiting Multiple Child Tasks example\"](/#/docs/examples/joining-tasks)\n   */\n  var race = exports.race = taskAwareVariantOf(RSVP.Promise, 'race', identity);\n\n  /**\n   * A cancelation-aware variant of [RSVP.hash](http://emberjs.com/api/classes/RSVP.html#hash).\n   * The normal version of a `RSVP.hash` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `hash()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `hash()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `allSettled` will be canceled\n   * - if any of the items rejects/cancels, all other cancelable items\n   *   (e.g. {@linkcode TaskInstance}s) will be canceled\n   */\n  var hash = exports.hash = taskAwareVariantOf(RSVP, 'hash', getValues);\n\n  function identity(obj) {\n    return obj;\n  }\n\n  function getValues(obj) {\n    return Object.keys(obj).map(function (k) {\n      return obj[k];\n    });\n  }\n\n  function taskAwareVariantOf(obj, method, getItems) {\n    return function (thing) {\n      var items = getItems(thing);\n      var defer = _ember.default.RSVP.defer();\n\n      obj[method](thing).then(defer.resolve, defer.reject);\n\n      var hasCancelled = false;\n      var cancelAll = function cancelAll() {\n        if (hasCancelled) {\n          return;\n        }\n        hasCancelled = true;\n        items.forEach(function (it) {\n          if (it) {\n            if (it instanceof _taskInstance.default) {\n              it.cancel();\n            } else if (typeof it.__ec_cancel__ === 'function') {\n              it.__ec_cancel__();\n            }\n          }\n        });\n      };\n\n      var promise = defer.promise.finally(cancelAll);\n      promise.__ec_cancel__ = cancelAll;\n      return promise;\n    };\n  }\n});","define('ember-concurrency/-encapsulated-task', ['exports', 'ember', 'ember-concurrency/-task-instance'], function (exports, _ember, _taskInstance) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _taskInstance.default.extend({\n    _makeIterator: function _makeIterator() {\n      var perform = this.get('perform');\n      _ember.default.assert(\"The object passed to `task()` must define a `perform` generator function, e.g. `perform: function * (a,b,c) {...}`, or better yet `*perform(a,b,c) {...}`\", typeof perform === 'function');\n      return perform.apply(this, this.args);\n    },\n\n\n    perform: null\n  });\n});","define('ember-concurrency/-evented-observable', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _ember.default.Object.extend({\n    obj: null,\n    eventName: null,\n\n    subscribe: function subscribe(onNext) {\n      var obj = this.obj;\n      var eventName = this.eventName;\n      obj.on(eventName, onNext);\n\n      var isDisposed = false;\n      return {\n        dispose: function dispose() {\n          if (isDisposed) {\n            return;\n          }\n          isDisposed = true;\n          obj.off(eventName, onNext);\n        }\n      };\n    }\n  });\n});","define('ember-concurrency/-helpers', ['exports', 'ember', 'ember-concurrency/-task-property'], function (exports, _ember, _taskProperty) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.taskHelperClosure = taskHelperClosure;\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  function taskHelperClosure(taskMethod, _args, hash) {\n    var task = _args[0];\n    var outerArgs = _args.slice(1);\n\n    return _ember.default.run.bind(null, function () {\n      if (!(task instanceof _taskProperty.Task)) {\n        _ember.default.assert('The first argument passed to the `perform` helper should be a Task object (without quotes); you passed ' + task, false);\n        return;\n      }\n\n      for (var _len = arguments.length, innerArgs = Array(_len), _key = 0; _key < _len; _key++) {\n        innerArgs[_key] = arguments[_key];\n      }\n\n      if (hash && hash.value) {\n        var event = innerArgs.pop();\n        innerArgs.push(_ember.default.get(event, hash.value));\n      }\n\n      return task[taskMethod].apply(task, _toConsumableArray(outerArgs).concat(innerArgs));\n    });\n  }\n});","define('ember-concurrency/-property-modifiers-mixin', ['exports', 'ember', 'ember-concurrency/-scheduler', 'ember-concurrency/-buffer-policy'], function (exports, _ember, _scheduler, _bufferPolicy) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.propertyModifiers = undefined;\n  exports.resolveScheduler = resolveScheduler;\n  var propertyModifiers = exports.propertyModifiers = {\n    // by default, task(...) expands to task(...).enqueue().maxConcurrency(Infinity)\n    _bufferPolicy: _bufferPolicy.enqueueTasksPolicy,\n    _maxConcurrency: Infinity,\n    _taskGroupPath: null,\n    _hasUsedModifier: false,\n    _hasSetBufferPolicy: false,\n\n    restartable: function restartable() {\n      return setBufferPolicy(this, _bufferPolicy.cancelOngoingTasksPolicy);\n    },\n    enqueue: function enqueue() {\n      return setBufferPolicy(this, _bufferPolicy.enqueueTasksPolicy);\n    },\n    drop: function drop() {\n      return setBufferPolicy(this, _bufferPolicy.dropQueuedTasksPolicy);\n    },\n    keepLatest: function keepLatest() {\n      return setBufferPolicy(this, _bufferPolicy.dropButKeepLatestPolicy);\n    },\n    maxConcurrency: function maxConcurrency(n) {\n      this._hasUsedModifier = true;\n      this._maxConcurrency = n;\n      assertModifiersNotMixedWithGroup(this);\n      return this;\n    },\n    group: function group(taskGroupPath) {\n      this._taskGroupPath = taskGroupPath;\n      assertModifiersNotMixedWithGroup(this);\n      return this;\n    },\n    debug: function debug() {\n      this._debug = true;\n      return this;\n    }\n  };\n\n  function setBufferPolicy(obj, policy) {\n    obj._hasSetBufferPolicy = true;\n    obj._hasUsedModifier = true;\n    obj._bufferPolicy = policy;\n    assertModifiersNotMixedWithGroup(obj);\n\n    if (obj._maxConcurrency === Infinity) {\n      obj._maxConcurrency = 1;\n    }\n\n    return obj;\n  }\n\n  function assertModifiersNotMixedWithGroup(obj) {\n    _ember.default.assert('ember-concurrency does not currently support using both .group() with other task modifiers (e.g. drop(), enqueue(), restartable())', !obj._hasUsedModifier || !obj._taskGroupPath);\n  }\n\n  function resolveScheduler(propertyObj, obj, TaskGroup) {\n    if (propertyObj._taskGroupPath) {\n      var taskGroup = obj.get(propertyObj._taskGroupPath);\n      _ember.default.assert('Expected path \\'' + propertyObj._taskGroupPath + '\\' to resolve to a TaskGroup object, but instead was ' + taskGroup, taskGroup instanceof TaskGroup);\n      return taskGroup._scheduler;\n    } else {\n      return _scheduler.default.create({\n        bufferPolicy: propertyObj._bufferPolicy,\n        maxConcurrency: propertyObj._maxConcurrency\n      });\n    }\n  }\n});","define('ember-concurrency/-scheduler', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var get = _ember.default.get,\n      set = _ember.default.set;\n\n\n  var SEEN_INDEX = 0;\n\n  var Scheduler = _ember.default.Object.extend({\n    lastPerformed: null,\n    lastStarted: null,\n    lastRunning: null,\n    lastSuccessful: null,\n    lastComplete: null,\n    lastErrored: null,\n    lastCanceled: null,\n    lastIncomplete: null,\n    performCount: 0,\n\n    boundHandleFulfill: null,\n    boundHandleReject: null,\n\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.activeTaskInstances = [];\n      this.queuedTaskInstances = [];\n    },\n    cancelAll: function cancelAll(reason) {\n      var seen = [];\n      this.spliceTaskInstances(reason, this.activeTaskInstances, 0, this.activeTaskInstances.length, seen);\n      this.spliceTaskInstances(reason, this.queuedTaskInstances, 0, this.queuedTaskInstances.length, seen);\n      flushTaskCounts(seen);\n    },\n    spliceTaskInstances: function spliceTaskInstances(cancelReason, taskInstances, index, count, seen) {\n      for (var i = index; i < index + count; ++i) {\n        var taskInstance = taskInstances[i];\n\n        if (!taskInstance.hasStarted) {\n          // This tracking logic is kinda spread all over the place...\n          // maybe TaskInstances themselves could notify\n          // some delegate of queued state changes upon cancelation?\n          taskInstance.task.decrementProperty('numQueued');\n        }\n\n        taskInstance.cancel(cancelReason);\n        if (seen) {\n          seen.push(taskInstance.task);\n        }\n      }\n      taskInstances.splice(index, count);\n    },\n    schedule: function schedule(taskInstance) {\n      set(this, 'lastPerformed', taskInstance);\n      this.incrementProperty('performCount');\n      taskInstance.task.incrementProperty('numQueued');\n      this.queuedTaskInstances.push(taskInstance);\n      this._flushQueues();\n    },\n    _flushQueues: function _flushQueues() {\n      var seen = [];\n\n      for (var i = 0; i < this.activeTaskInstances.length; ++i) {\n        seen.push(this.activeTaskInstances[i].task);\n      }\n\n      this.activeTaskInstances = filterFinished(this.activeTaskInstances);\n\n      this.bufferPolicy.schedule(this);\n\n      var lastStarted = null;\n      for (var _i = 0; _i < this.activeTaskInstances.length; ++_i) {\n        var taskInstance = this.activeTaskInstances[_i];\n        if (!taskInstance.hasStarted) {\n          this._startTaskInstance(taskInstance);\n          lastStarted = taskInstance;\n        }\n        seen.push(taskInstance.task);\n      }\n\n      if (lastStarted) {\n        set(this, 'lastStarted', lastStarted);\n      }\n      set(this, 'lastRunning', lastStarted);\n\n      for (var _i2 = 0; _i2 < this.queuedTaskInstances.length; ++_i2) {\n        seen.push(this.queuedTaskInstances[_i2].task);\n      }\n\n      flushTaskCounts(seen);\n      set(this, 'concurrency', this.activeTaskInstances.length);\n    },\n    _startTaskInstance: function _startTaskInstance(taskInstance) {\n      var _this = this;\n\n      var task = taskInstance.task;\n      task.decrementProperty('numQueued');\n      task.incrementProperty('numRunning');\n\n      taskInstance._start()._onFinalize(function () {\n        task.decrementProperty('numRunning');\n        var state = taskInstance._completionState;\n        set(_this, 'lastComplete', taskInstance);\n        if (state === 1) {\n          set(_this, 'lastSuccessful', taskInstance);\n        } else {\n          if (state === 2) {\n            set(_this, 'lastErrored', taskInstance);\n          } else if (state === 3) {\n            set(_this, 'lastCanceled', taskInstance);\n          }\n          set(_this, 'lastIncomplete', taskInstance);\n        }\n        _ember.default.run.once(_this, _this._flushQueues);\n      });\n    }\n  });\n\n  function flushTaskCounts(tasks) {\n    SEEN_INDEX++;\n    for (var i = 0, l = tasks.length; i < l; ++i) {\n      var task = tasks[i];\n      if (task._seenIndex < SEEN_INDEX) {\n        task._seenIndex = SEEN_INDEX;\n        updateTaskChainCounts(task);\n      }\n    }\n  }\n\n  function updateTaskChainCounts(task) {\n    var numRunning = task.numRunning;\n    var numQueued = task.numQueued;\n    var taskGroup = task.get('group');\n\n    while (taskGroup) {\n      set(taskGroup, 'numRunning', numRunning);\n      set(taskGroup, 'numQueued', numQueued);\n      taskGroup = taskGroup.get('group');\n    }\n  }\n\n  function filterFinished(taskInstances) {\n    var ret = [];\n    for (var i = 0, l = taskInstances.length; i < l; ++i) {\n      var taskInstance = taskInstances[i];\n      if (get(taskInstance, 'isFinished') === false) {\n        ret.push(taskInstance);\n      }\n    }\n    return ret;\n  }\n\n  exports.default = Scheduler;\n});","define('ember-concurrency/-task-group', ['exports', 'ember', 'ember-concurrency/utils', 'ember-concurrency/-task-state-mixin', 'ember-concurrency/-property-modifiers-mixin'], function (exports, _ember, _utils, _taskStateMixin, _propertyModifiersMixin) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.TaskGroup = undefined;\n  exports.TaskGroupProperty = TaskGroupProperty;\n  var computed = _ember.default.computed;\n  var TaskGroup = exports.TaskGroup = _ember.default.Object.extend(_taskStateMixin.default, {\n    isTaskGroup: true,\n\n    toString: function toString() {\n      return '<TaskGroup:' + this._propertyName + '>';\n    },\n\n\n    _numRunningOrNumQueued: computed.or('numRunning', 'numQueued'),\n    isRunning: computed.bool('_numRunningOrNumQueued'),\n    isQueued: false\n  });\n\n  function TaskGroupProperty() {\n    for (var _len = arguments.length, decorators = Array(_len), _key = 0; _key < _len; _key++) {\n      decorators[_key] = arguments[_key];\n    }\n\n    var taskFn = decorators.pop();\n    var tp = this;\n    _utils._ComputedProperty.call(this, function (_propertyName) {\n      return TaskGroup.create({\n        fn: taskFn,\n        context: this,\n        _origin: this,\n        _taskGroupPath: tp._taskGroupPath,\n        _scheduler: (0, _propertyModifiersMixin.resolveScheduler)(tp, this, TaskGroup),\n        _propertyName: _propertyName\n      });\n    });\n  }\n\n  TaskGroupProperty.prototype = Object.create(_utils._ComputedProperty.prototype);\n  (0, _utils.objectAssign)(TaskGroupProperty.prototype, _propertyModifiersMixin.propertyModifiers, {\n    constructor: TaskGroupProperty\n  });\n});","define('ember-concurrency/-task-instance', ['exports', 'ember', 'ember-concurrency/utils'], function (exports, _ember, _utils) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.didCancel = didCancel;\n  exports.go = go;\n  exports.wrap = wrap;\n  var set = _ember.default.set,\n      get = _ember.default.get,\n      computed = _ember.default.computed;\n\n\n  var TASK_CANCELATION_NAME = 'TaskCancelation';\n\n  var COMPLETION_PENDING = 0;\n  var COMPLETION_SUCCESS = 1;\n  var COMPLETION_ERROR = 2;\n  var COMPLETION_CANCEL = 3;\n\n  var GENERATOR_STATE_BEFORE_CREATE = \"BEFORE_CREATE\";\n  var GENERATOR_STATE_HAS_MORE_VALUES = \"HAS_MORE_VALUES\";\n  var GENERATOR_STATE_DONE = \"DONE\";\n  var GENERATOR_STATE_ERRORED = \"ERRORED\";\n\n  function handleYieldedUnknownThenable(thenable, taskInstance, resumeIndex) {\n    thenable.then(function (value) {\n      taskInstance.proceed(resumeIndex, _utils.YIELDABLE_CONTINUE, value);\n    }, function (error) {\n      taskInstance.proceed(resumeIndex, _utils.YIELDABLE_THROW, error);\n    });\n  }\n\n  /**\n   * Returns true if the object passed to it is a TaskCancelation error.\n   * If you call `someTask.perform().catch(...)` or otherwise treat\n   * a {@linkcode TaskInstance} like a promise, you may need to\n   * handle the cancelation of a TaskInstance differently from\n   * other kinds of errors it might throw, and you can use this\n   * convenience function to distinguish cancelation from errors.\n   *\n   * ```js\n   * click() {\n   *   this.get('myTask').perform().catch(e => {\n   *     if (!didCancel(e)) { throw e; }\n   *   });\n   * }\n   * ```\n   *\n   * @param {Object} error the caught error, which might be a TaskCancelation\n   * @returns {Boolean}\n   */\n  function didCancel(e) {\n    return e && e.name === TASK_CANCELATION_NAME;\n  }\n\n  function forwardToInternalPromise(method) {\n    return function () {\n      var _get;\n\n      this._hasSubscribed = true;\n      return (_get = this.get('_promise'))[method].apply(_get, arguments);\n    };\n  }\n\n  function spliceSlice(str, index, count, add) {\n    return str.slice(0, index) + (add || \"\") + str.slice(index + count);\n  }\n\n  var run = _ember.default.run;\n\n  /**\n    A `TaskInstance` represent a single execution of a\n    {@linkcode Task}. Every call to {@linkcode Task#perform} returns\n    a `TaskInstance`.\n  \n    `TaskInstance`s are cancelable, either explicitly\n    via {@linkcode TaskInstance#cancel} or {@linkcode Task#cancelAll},\n    or automatically due to the host object being destroyed, or\n    because concurrency policy enforced by a\n    {@linkcode TaskProperty Task Modifier} canceled the task instance.\n  \n    <style>\n      .ignore-this--this-is-here-to-hide-constructor,\n      #TaskInstance { display: none }\n    </style>\n  \n    @class TaskInstance\n  */\n  var taskInstanceAttrs = {\n    iterator: null,\n    _disposer: null,\n    _completionState: COMPLETION_PENDING,\n    task: null,\n    args: [],\n    _hasSubscribed: false,\n    _runLoop: true,\n    _debug: false,\n    cancelReason: null,\n\n    /**\n     * If this TaskInstance runs to completion by returning a property\n     * other than a rejecting promise, this property will be set\n     * with that value.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    value: null,\n\n    /**\n     * If this TaskInstance is canceled or throws an error (or yields\n     * a promise that rejects), this property will be set with that error.\n     * Otherwise, it is null.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    error: null,\n\n    /**\n     * True if the task instance is fulfilled.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    isSuccessful: false,\n\n    /**\n     * True if the task instance resolves to a rejection.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    isError: false,\n\n    /**\n     * True if the task instance was canceled before it could run to completion.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    isCanceled: computed.and('isCanceling', 'isFinished'),\n    isCanceling: false,\n\n    /**\n     * True if the task instance has started, else false.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    hasStarted: false,\n\n    /**\n     * True if the task has run to completion.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    isFinished: false,\n\n    /**\n     * True if the task is still running.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    isRunning: _ember.default.computed.not('isFinished'),\n\n    /**\n     * Describes the state that the task instance is in. Can be used for debugging,\n     * or potentially driving some UI state. Possible values are:\n     *\n     * - `\"dropped\"`: task instance was canceled before it started\n     * - `\"canceled\"`: task instance was canceled before it could finish\n     * - `\"finished\"`: task instance ran to completion (even if an exception was thrown)\n     * - `\"running\"`: task instance is currently running (returns true even if\n     *     is paused on a yielded promise)\n     * - `\"waiting\"`: task instance hasn't begun running yet (usually\n     *     because the task is using the {@linkcode TaskProperty#enqueue .enqueue()}\n     *     task modifier)\n     *\n     * The animated timeline examples on the [Task Concurrency](/#/docs/task-concurrency)\n     * docs page make use of this property.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    state: _ember.default.computed('isDropped', 'isCanceling', 'hasStarted', 'isFinished', function () {\n      if (get(this, 'isDropped')) {\n        return 'dropped';\n      } else if (get(this, 'isCanceling')) {\n        return 'canceled';\n      } else if (get(this, 'isFinished')) {\n        return 'finished';\n      } else if (get(this, 'hasStarted')) {\n        return 'running';\n      } else {\n        return 'waiting';\n      }\n    }),\n\n    /**\n     * True if the TaskInstance was canceled before it could\n     * ever start running. For example, calling\n     * {@linkcode Task#perform .perform()} twice on a\n     * task with the {@linkcode TaskProperty#drop .drop()} modifier applied\n     * will result in the second task instance being dropped.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    isDropped: _ember.default.computed('isCanceling', 'hasStarted', function () {\n      return get(this, 'isCanceling') && !get(this, 'hasStarted');\n    }),\n\n    _index: 1,\n\n    _start: function _start() {\n      if (this.hasStarted || this.isCanceling) {\n        return this;\n      }\n      set(this, 'hasStarted', true);\n      this._scheduleProceed(_utils.YIELDABLE_CONTINUE, undefined);\n      return this;\n    },\n    toString: function toString() {\n      var taskString = \"\" + this.task;\n      return spliceSlice(taskString, -1, 0, '.perform()');\n    },\n    cancel: function cancel() {\n      var cancelReason = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \".cancel() was explicitly called\";\n\n      if (this.isCanceling || get(this, 'isFinished')) {\n        return;\n      }\n      set(this, 'isCanceling', true);\n\n      var name = get(this, 'task._propertyName') || \"<unknown>\";\n      set(this, 'cancelReason', 'TaskInstance \\'' + name + '\\' was canceled because ' + cancelReason + '. For more information, see: http://ember-concurrency.com/#/docs/task-cancelation-help');\n\n      if (this.hasStarted) {\n        this._proceedSoon(_utils.YIELDABLE_CANCEL, null);\n      } else {\n        this._finalize(null, COMPLETION_CANCEL);\n      }\n    },\n\n\n    _defer: null,\n    _promise: computed(function () {\n      this._defer = _ember.default.RSVP.defer();\n      this._maybeResolveDefer();\n      return this._defer.promise;\n    }),\n\n    _maybeResolveDefer: function _maybeResolveDefer() {\n      if (!this._defer || !this._completionState) {\n        return;\n      }\n\n      if (this._completionState === COMPLETION_SUCCESS) {\n        this._defer.resolve(this.value);\n      } else {\n        this._defer.reject(this.error);\n      }\n    },\n\n\n    /**\n     * Returns a promise that resolves with the value returned\n     * from the task's (generator) function, or rejects with\n     * either the exception thrown from the task function, or\n     * an error with a `.name` property with value `\"TaskCancelation\"`.\n     *\n     * @method then\n     * @memberof TaskInstance\n     * @instance\n     * @return {Promise}\n     */\n    then: forwardToInternalPromise('then'),\n\n    /**\n     * @method catch\n     * @memberof TaskInstance\n     * @instance\n     * @return {Promise}\n     */\n    catch: forwardToInternalPromise('catch'),\n\n    /**\n     * @method finally\n     * @memberof TaskInstance\n     * @instance\n     * @return {Promise}\n     */\n    finally: forwardToInternalPromise('finally'),\n\n    _finalize: function _finalize(_value, _completionState) {\n      var completionState = _completionState;\n      var value = _value;\n      this._index++;\n\n      if (this.isCanceling) {\n        completionState = COMPLETION_CANCEL;\n        value = new Error(this.cancelReason);\n\n        if (this._debug || _ember.default.ENV.DEBUG_TASKS) {\n          _ember.default.Logger.log(this.cancelReason);\n        }\n\n        value.name = TASK_CANCELATION_NAME;\n        value.taskInstance = this;\n      }\n\n      set(this, '_completionState', completionState);\n      set(this, '_result', value);\n\n      if (completionState === COMPLETION_SUCCESS) {\n        set(this, 'isSuccessful', true);\n        set(this, 'value', value);\n      } else if (completionState === COMPLETION_ERROR) {\n        set(this, 'isError', true);\n        set(this, 'error', value);\n      } else if (completionState === COMPLETION_CANCEL) {\n        set(this, 'error', value);\n      }\n\n      set(this, 'isFinished', true);\n\n      this._dispose();\n      this._runFinalizeCallbacks();\n    },\n\n\n    _finalizeCallbacks: null,\n    _onFinalize: function _onFinalize(callback) {\n      if (!this._finalizeCallbacks) {\n        this._finalizeCallbacks = [];\n      }\n      this._finalizeCallbacks.push(callback);\n\n      if (this._completionState) {\n        this._runFinalizeCallbacks();\n      }\n    },\n    _runFinalizeCallbacks: function _runFinalizeCallbacks() {\n      this._maybeResolveDefer();\n      if (this._finalizeCallbacks) {\n        for (var i = 0, l = this._finalizeCallbacks.length; i < l; ++i) {\n          this._finalizeCallbacks[i]();\n        }\n        this._finalizeCallbacks = null;\n      }\n\n      this._maybeThrowUnhandledTaskErrorLater();\n    },\n    _maybeThrowUnhandledTaskErrorLater: function _maybeThrowUnhandledTaskErrorLater() {\n      var _this = this;\n\n      // this backports the Ember 2.0+ RSVP _onError 'after' microtask behavior to Ember < 2.0\n      if (!this._hasSubscribed && this._completionState === COMPLETION_ERROR) {\n        run.schedule(run.queues[run.queues.length - 1], function () {\n          if (!_this._hasSubscribed && !didCancel(_this.error)) {\n            _ember.default.RSVP.reject(_this.error);\n          }\n        });\n      }\n    },\n    _dispose: function _dispose() {\n      if (this._disposer) {\n        var disposer = this._disposer;\n        this._disposer = null;\n\n        // TODO: test erroring disposer\n        disposer();\n      }\n    },\n    _isGeneratorDone: function _isGeneratorDone() {\n      var state = this._generatorState;\n      return state === GENERATOR_STATE_DONE || state === GENERATOR_STATE_ERRORED;\n    },\n    _resumeGenerator: function _resumeGenerator(nextValue, iteratorMethod) {\n      _ember.default.assert(\"The task generator function has already run to completion. This is probably an ember-concurrency bug.\", !this._isGeneratorDone());\n\n      try {\n        var iterator = this._getIterator();\n        var result = iterator[iteratorMethod](nextValue);\n\n        this._generatorValue = result.value;\n        if (result.done) {\n          this._generatorState = GENERATOR_STATE_DONE;\n        } else {\n          this._generatorState = GENERATOR_STATE_HAS_MORE_VALUES;\n        }\n      } catch (e) {\n        this._generatorValue = e;\n        this._generatorState = GENERATOR_STATE_ERRORED;\n      }\n    },\n    _getIterator: function _getIterator() {\n      if (!this.iterator) {\n        this.iterator = this._makeIterator();\n      }\n      return this.iterator;\n    },\n    _makeIterator: function _makeIterator() {\n      return this.fn.apply(this.context, this.args);\n    },\n    _advanceIndex: function _advanceIndex(index) {\n      if (this._index === index) {\n        return ++this._index;\n      }\n    },\n    _proceedSoon: function _proceedSoon(yieldResumeType, value) {\n      var _this2 = this;\n\n      this._advanceIndex(this._index);\n      if (this._runLoop) {\n        joinAndSchedule('actions', this, this._proceed, yieldResumeType, value);\n      } else {\n        setTimeout(function () {\n          return _this2._proceed(yieldResumeType, value);\n        }, 1);\n      }\n    },\n    proceed: function proceed(index, yieldResumeType, value) {\n      if (this._completionState) {\n        return;\n      }\n      if (!this._advanceIndex(index)) {\n        return;\n      }\n      this._proceedSoon(yieldResumeType, value);\n    },\n    _scheduleProceed: function _scheduleProceed(yieldResumeType, value) {\n      var _this3 = this;\n\n      if (this._completionState) {\n        return;\n      }\n\n      if (this._runLoop && !_ember.default.run.currentRunLoop) {\n        _ember.default.run(this, this._proceed, yieldResumeType, value);\n        return;\n      } else if (!this._runLoop && _ember.default.run.currentRunLoop) {\n        setTimeout(function () {\n          return _this3._proceed(yieldResumeType, value);\n        }, 1);\n        return;\n      } else {\n        this._proceed(yieldResumeType, value);\n      }\n    },\n    _proceed: function _proceed(yieldResumeType, value) {\n      if (this._completionState) {\n        return;\n      }\n\n      if (this._generatorState === GENERATOR_STATE_DONE) {\n        this._handleResolvedReturnedValue(yieldResumeType, value);\n      } else {\n        this._handleResolvedContinueValue(yieldResumeType, value);\n      }\n    },\n    _handleResolvedReturnedValue: function _handleResolvedReturnedValue(yieldResumeType, value) {\n      // decide what to do in the case of `return maybeYieldable`;\n      // value is the resolved value of the yieldable. We just\n      // need to decide how to finalize.\n      _ember.default.assert(\"expected completion state to be pending\", this._completionState === COMPLETION_PENDING);\n      _ember.default.assert(\"expected generator to be done\", this._generatorState === GENERATOR_STATE_DONE);\n\n      switch (yieldResumeType) {\n        case _utils.YIELDABLE_CONTINUE:\n        case _utils.YIELDABLE_RETURN:\n          this._finalize(value, COMPLETION_SUCCESS);\n          break;\n        case _utils.YIELDABLE_THROW:\n          this._finalize(value, COMPLETION_ERROR);\n          break;\n        case _utils.YIELDABLE_CANCEL:\n          set(this, 'isCanceling', true);\n          this._finalize(null, COMPLETION_CANCEL);\n          break;\n      }\n    },\n\n\n    _generatorState: GENERATOR_STATE_BEFORE_CREATE,\n    _generatorValue: null,\n    _handleResolvedContinueValue: function _handleResolvedContinueValue(_yieldResumeType, resumeValue) {\n      var iteratorMethod = _yieldResumeType;\n      if (iteratorMethod === _utils.YIELDABLE_CANCEL) {\n        set(this, 'isCanceling', true);\n        iteratorMethod = _utils.YIELDABLE_RETURN;\n      }\n\n      this._dispose();\n\n      var beforeIndex = this._index;\n      this._resumeGenerator(resumeValue, iteratorMethod);\n\n      if (!this._advanceIndex(beforeIndex)) {\n        return;\n      }\n\n      if (this._generatorState === GENERATOR_STATE_ERRORED) {\n        this._finalize(this._generatorValue, COMPLETION_ERROR);\n        return;\n      }\n\n      this._handleYieldedValue();\n    },\n    _handleYieldedValue: function _handleYieldedValue() {\n      var yieldedValue = this._generatorValue;\n      if (!yieldedValue) {\n        this._proceedWithSimpleValue(yieldedValue);\n        return;\n      }\n\n      if (yieldedValue instanceof _utils.RawValue) {\n        this._proceedWithSimpleValue(yieldedValue.value);\n        return;\n      }\n\n      this._addDisposer(yieldedValue.__ec_cancel__);\n\n      if (yieldedValue[_utils.yieldableSymbol]) {\n        this._invokeYieldable(yieldedValue);\n      } else if (typeof yieldedValue.then === 'function') {\n        handleYieldedUnknownThenable(yieldedValue, this, this._index);\n      } else {\n        this._proceedWithSimpleValue(yieldedValue);\n      }\n    },\n    _proceedWithSimpleValue: function _proceedWithSimpleValue(yieldedValue) {\n      this.proceed(this._index, _utils.YIELDABLE_CONTINUE, yieldedValue);\n    },\n    _addDisposer: function _addDisposer(maybeDisposer) {\n      if (typeof maybeDisposer === 'function') {\n        var priorDisposer = this._disposer;\n        if (priorDisposer) {\n          this._disposer = function () {\n            priorDisposer();\n            maybeDisposer();\n          };\n        } else {\n          this._disposer = maybeDisposer;\n        }\n      }\n    },\n    _invokeYieldable: function _invokeYieldable(yieldedValue) {\n      try {\n        var maybeDisposer = yieldedValue[_utils.yieldableSymbol](this, this._index);\n        this._addDisposer(maybeDisposer);\n      } catch (e) {\n        // TODO: handle erroneous yieldable implementation\n      }\n    }\n  };\n\n  taskInstanceAttrs[_utils.yieldableSymbol] = function handleYieldedTaskInstance(parentTaskInstance, resumeIndex) {\n    var yieldedTaskInstance = this;\n    yieldedTaskInstance._hasSubscribed = true;\n    var state = yieldedTaskInstance._completionState;\n\n    if (state) {\n      if (state === COMPLETION_SUCCESS) {\n        parentTaskInstance.proceed(resumeIndex, _utils.YIELDABLE_CONTINUE, yieldedTaskInstance.value);\n      } else if (state === COMPLETION_ERROR) {\n        parentTaskInstance.proceed(resumeIndex, _utils.YIELDABLE_THROW, yieldedTaskInstance.error);\n      } else if (state === COMPLETION_CANCEL) {\n        parentTaskInstance.proceed(resumeIndex, _utils.YIELDABLE_CANCEL, null);\n      }\n    } else {\n      yieldedTaskInstance._onFinalize(function handleFinalizedYieldedTaskInstance() {\n        handleYieldedTaskInstance.call(yieldedTaskInstance, parentTaskInstance, resumeIndex);\n      });\n      return function disposeYieldedTaskInstance() {\n        // TODO: provide reason for cancelation.\n        yieldedTaskInstance.cancel();\n      };\n    }\n  };\n\n  var TaskInstance = _ember.default.Object.extend(taskInstanceAttrs);\n\n  function joinAndSchedule() {\n    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n\n    _ember.default.run.join(function () {\n      var _Ember$run;\n\n      (_Ember$run = _ember.default.run).schedule.apply(_Ember$run, args);\n    });\n  }\n\n  function go(args, fn) {\n    var attrs = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n    return TaskInstance.create(Object.assign({ args: args, fn: fn, context: this }, attrs))._start();\n  }\n\n  function wrap(fn) {\n    var attrs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n    return function wrappedRunnerFunction() {\n      for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n        args[_key2] = arguments[_key2];\n      }\n\n      return go.call(this, args, fn, attrs);\n    };\n  }\n\n  exports.default = TaskInstance;\n});","define('ember-concurrency/-task-property', ['exports', 'ember', 'ember-concurrency/-task-instance', 'ember-concurrency/-task-state-mixin', 'ember-concurrency/-task-group', 'ember-concurrency/-property-modifiers-mixin', 'ember-concurrency/utils', 'ember-concurrency/-encapsulated-task'], function (exports, _ember, _taskInstance, _taskStateMixin, _taskGroup, _propertyModifiersMixin, _utils, _encapsulatedTask) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.Task = undefined;\n  exports.TaskProperty = TaskProperty;\n\n  function _defineProperty(obj, key, value) {\n    if (key in obj) {\n      Object.defineProperty(obj, key, {\n        value: value,\n        enumerable: true,\n        configurable: true,\n        writable: true\n      });\n    } else {\n      obj[key] = value;\n    }\n\n    return obj;\n  }\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  var getOwner = _ember.default.getOwner;\n\n\n  /**\n    The `Task` object lives on a host Ember object (e.g.\n    a Component, Route, or Controller). You call the\n    {@linkcode Task#perform .perform()} method on this object\n    to create run individual {@linkcode TaskInstance}s,\n    and at any point, you can call the {@linkcode Task#cancelAll .cancelAll()}\n    method on this object to cancel all running or enqueued\n    {@linkcode TaskInstance}s.\n  \n  \n    <style>\n      .ignore-this--this-is-here-to-hide-constructor,\n      #Task{ display: none }\n    </style>\n  \n    @class Task\n  */\n  var Task = exports.Task = _ember.default.Object.extend(_taskStateMixin.default, _defineProperty({\n    /**\n     * `true` if any current task instances are running.\n     *\n     * @memberof Task\n     * @member {boolean} isRunning\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * `true` if any future task instances are queued.\n     *\n     * @memberof Task\n     * @member {boolean} isQueued\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * `true` if the task is not in the running or queued state.\n     *\n     * @memberof Task\n     * @member {boolean} isIdle\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The current state of the task: `\"running\"`, `\"queued\"` or `\"idle\"`.\n     *\n     * @memberof Task\n     * @member {string} state\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently started task instance.\n     *\n     * @memberof Task\n     * @member {TaskInstance} last\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that is currently running.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastRunning\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently performed task instance.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastPerformed\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that succeeded.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastSuccessful\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently completed task instance.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastComplete\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that errored.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastErrored\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently canceled task instance.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastCanceled\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that is incomplete.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastIncomplete\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The number of times this task has been performed.\n     *\n     * @memberof Task\n     * @member {number} performCount\n     * @instance\n     * @readOnly\n     */\n\n    fn: null,\n    context: null,\n    _observes: null,\n    _curryArgs: null,\n\n    init: function init() {\n      this._super.apply(this, arguments);\n\n      if (_typeof(this.fn) === 'object') {\n        var owner = getOwner(this.context);\n        var ownerInjection = owner ? owner.ownerInjection() : {};\n        this._taskInstanceFactory = _encapsulatedTask.default.extend(ownerInjection, this.fn);\n      }\n\n      (0, _utils._cleanupOnDestroy)(this.context, this, 'cancelAll', 'the object it lives on was destroyed or unrendered');\n    },\n    _curry: function _curry() {\n      var task = this._clone();\n\n      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      task._curryArgs = [].concat(_toConsumableArray(this._curryArgs || []), _toConsumableArray(args));\n      return task;\n    },\n    _clone: function _clone() {\n      return Task.create({\n        fn: this.fn,\n        context: this.context,\n        _origin: this._origin,\n        _taskGroupPath: this._taskGroupPath,\n        _scheduler: this._scheduler,\n        _propertyName: this._propertyName\n      });\n    },\n\n\n    /**\n     * This property is true if this task is NOT running, i.e. the number\n     * of currently running TaskInstances is zero.\n     *\n     * This property is useful for driving the state/style of buttons\n     * and loading UI, among other things.\n     *\n     * @memberof Task\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * This property is true if this task is running, i.e. the number\n     * of currently running TaskInstances is greater than zero.\n     *\n     * This property is useful for driving the state/style of buttons\n     * and loading UI, among other things.\n     *\n     * @memberof Task\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * EXPERIMENTAL\n     *\n     * This value describes what would happen to the TaskInstance returned\n     * from .perform() if .perform() were called right now.  Returns one of\n     * the following values:\n     *\n     * - `succeed`: new TaskInstance will start running immediately\n     * - `drop`: new TaskInstance will be dropped\n     * - `enqueue`: new TaskInstance will be enqueued for later execution\n     *\n     * @memberof Task\n     * @instance\n     * @private\n     * @readOnly\n     */\n\n    /**\n     * EXPERIMENTAL\n     *\n     * Returns true if calling .perform() right now would immediately start running\n     * the returned TaskInstance.\n     *\n     * @memberof Task\n     * @instance\n     * @private\n     * @readOnly\n     */\n\n    /**\n     * EXPERIMENTAL\n     *\n     * Returns true if calling .perform() right now would immediately cancel (drop)\n     * the returned TaskInstance.\n     *\n     * @memberof Task\n     * @instance\n     * @private\n     * @readOnly\n     */\n\n    /**\n     * EXPERIMENTAL\n     *\n     * Returns true if calling .perform() right now would enqueue the TaskInstance\n     * rather than execute immediately.\n     *\n     * @memberof Task\n     * @instance\n     * @private\n     * @readOnly\n     */\n\n    /**\n     * EXPERIMENTAL\n     *\n     * Returns true if calling .perform() right now would cause a previous task to be canceled\n     *\n     * @memberof Task\n     * @instance\n     * @private\n     * @readOnly\n     */\n\n    /**\n     * The current number of active running task instances. This\n     * number will never exceed maxConcurrency.\n     *\n     * @memberof Task\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * Cancels all running or queued `TaskInstance`s for this Task.\n     * If you're trying to cancel a specific TaskInstance (rather\n     * than all of the instances running under this task) call\n     * `.cancel()` on the specific TaskInstance.\n     *\n     * @method cancelAll\n     * @memberof Task\n     * @instance\n     */\n\n    toString: function toString() {\n      return '<Task:' + this._propertyName + '>';\n    },\n\n\n    _taskInstanceFactory: _taskInstance.default,\n\n    /**\n     * Creates a new {@linkcode TaskInstance} and attempts to run it right away.\n     * If running this task instance would increase the task's concurrency\n     * to a number greater than the task's maxConcurrency, this task\n     * instance might be immediately canceled (dropped), or enqueued\n     * to run at later time, after the currently running task(s) have finished.\n     *\n     * @method perform\n     * @memberof Task\n     * @param {*} arg* - args to pass to the task function\n     * @instance\n     */\n    perform: function perform() {\n      for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n        args[_key2] = arguments[_key2];\n      }\n\n      var fullArgs = this._curryArgs ? [].concat(_toConsumableArray(this._curryArgs), _toConsumableArray(args)) : args;\n      var taskInstance = this._taskInstanceFactory.create({\n        fn: this.fn,\n        args: fullArgs,\n        context: this.context,\n        owner: this.context,\n        task: this,\n        _debug: this._debug,\n        _origin: this\n      });\n\n      if (this.context.isDestroying) {\n        taskInstance.cancel();\n      }\n\n      this._scheduler.schedule(taskInstance);\n      return taskInstance;\n    }\n  }, _utils.INVOKE, function () {\n    return this.perform.apply(this, arguments);\n  }));\n\n  /**\n    A {@link TaskProperty} is the Computed Property-like object returned\n    from the {@linkcode task} function. You can call Task Modifier methods\n    on this object to configure the behavior of the {@link Task}.\n  \n    See [Managing Task Concurrency](/#/docs/task-concurrency) for an\n    overview of all the different task modifiers you can use and how\n    they impact automatic cancelation / enqueueing of task instances.\n  \n    <style>\n      .ignore-this--this-is-here-to-hide-constructor,\n      #TaskProperty { display: none }\n    </style>\n  \n    @class TaskProperty\n  */\n  function TaskProperty(taskFn) {\n    var tp = this;\n    _utils._ComputedProperty.call(this, function (_propertyName) {\n      taskFn.displayName = _propertyName + ' (task)';\n      return Task.create({\n        fn: tp.taskFn,\n        context: this,\n        _origin: this,\n        _taskGroupPath: tp._taskGroupPath,\n        _scheduler: (0, _propertyModifiersMixin.resolveScheduler)(tp, this, _taskGroup.TaskGroup),\n        _propertyName: _propertyName,\n        _debug: tp._debug\n      });\n    });\n\n    this.taskFn = taskFn;\n    this.eventNames = null;\n    this.cancelEventNames = null;\n    this._observes = null;\n  }\n\n  TaskProperty.prototype = Object.create(_utils._ComputedProperty.prototype);\n  (0, _utils.objectAssign)(TaskProperty.prototype, _propertyModifiersMixin.propertyModifiers, {\n    constructor: TaskProperty,\n\n    setup: function setup(proto, taskName) {\n      if (this._maxConcurrency !== Infinity && !this._hasSetBufferPolicy) {\n        _ember.default.Logger.warn('The use of maxConcurrency() without a specified task modifier is deprecated and won\\'t be supported in future versions of ember-concurrency. Please specify a task modifier instead, e.g. `' + taskName + ': task(...).enqueue().maxConcurrency(' + this._maxConcurrency + ')`');\n      }\n\n      registerOnPrototype(_ember.default.addListener, proto, this.eventNames, taskName, 'perform', false);\n      registerOnPrototype(_ember.default.addListener, proto, this.cancelEventNames, taskName, 'cancelAll', false);\n      registerOnPrototype(_ember.default.addObserver, proto, this._observes, taskName, 'perform', true);\n    },\n    on: function on() {\n      this.eventNames = this.eventNames || [];\n      this.eventNames.push.apply(this.eventNames, arguments);\n      return this;\n    },\n    cancelOn: function cancelOn() {\n      this.cancelEventNames = this.cancelEventNames || [];\n      this.cancelEventNames.push.apply(this.cancelEventNames, arguments);\n      return this;\n    },\n    observes: function observes() {\n      for (var _len3 = arguments.length, properties = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n        properties[_key3] = arguments[_key3];\n      }\n\n      this._observes = properties;\n      return this;\n    },\n    perform: function perform() {\n      throw new Error(\"It looks like you tried to perform a task via `this.nameOfTask.perform()`, which isn't supported. Use `this.get('nameOfTask').perform()` instead.\");\n    }\n  });\n\n  function registerOnPrototype(addListenerOrObserver, proto, names, taskName, taskMethod, once) {\n    if (names) {\n      for (var i = 0; i < names.length; ++i) {\n        var name = names[i];\n        addListenerOrObserver(proto, name, null, makeTaskCallback(taskName, taskMethod, once));\n      }\n    }\n  }\n\n  function makeTaskCallback(taskName, method, once) {\n    return function () {\n      var task = this.get(taskName);\n\n      if (once) {\n        var _Ember$run;\n\n        (_Ember$run = _ember.default.run).scheduleOnce.apply(_Ember$run, ['actions', task, method].concat(Array.prototype.slice.call(arguments)));\n      } else {\n        task[method].apply(task, arguments);\n      }\n    };\n  }\n});","define('ember-concurrency/-task-state-mixin', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var computed = _ember.default.computed;\n  var alias = computed.alias;\n  exports.default = _ember.default.Mixin.create({\n    isRunning: computed.gt('numRunning', 0),\n    isQueued: computed.gt('numQueued', 0),\n    isIdle: computed('isRunning', 'isQueued', function () {\n      return !this.get('isRunning') && !this.get('isQueued');\n    }),\n\n    state: computed('isRunning', 'isQueued', function () {\n      if (this.get('isRunning')) {\n        return 'running';\n      } else if (this.get('isQueued')) {\n        return 'queued';\n      } else {\n        return 'idle';\n      }\n    }),\n\n    _propertyName: null,\n    _origin: null,\n    name: alias('_propertyName'),\n\n    concurrency: alias('numRunning'),\n    last: alias('_scheduler.lastStarted'),\n    lastRunning: alias('_scheduler.lastRunning'),\n    lastPerformed: alias('_scheduler.lastPerformed'),\n    lastSuccessful: alias('_scheduler.lastSuccessful'),\n    lastComplete: alias('_scheduler.lastComplete'),\n    lastErrored: alias('_scheduler.lastErrored'),\n    lastCanceled: alias('_scheduler.lastCanceled'),\n    lastIncomplete: alias('_scheduler.lastIncomplete'),\n    performCount: alias('_scheduler.performCount'),\n\n    numRunning: 0,\n    numQueued: 0,\n    _seenIndex: 0,\n\n    cancelAll: function cancelAll() {\n      var reason = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \".cancelAll() was explicitly called on the Task\";\n\n      this._scheduler.cancelAll(reason);\n    },\n\n\n    group: computed(function () {\n      return this._taskGroupPath && this.context.get(this._taskGroupPath);\n    }),\n\n    _scheduler: null\n\n  });\n});","define('ember-concurrency/-wait-for', ['exports', 'ember', 'ember-concurrency/utils'], function (exports, _ember, _utils) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.waitForQueue = waitForQueue;\n  exports.waitForEvent = waitForEvent;\n\n  function _classCallCheck(instance, Constructor) {\n    if (!(instance instanceof Constructor)) {\n      throw new TypeError(\"Cannot call a class as a function\");\n    }\n  }\n\n  var _createClass = function () {\n    function defineProperties(target, props) {\n      for (var i = 0; i < props.length; i++) {\n        var descriptor = props[i];\n        descriptor.enumerable = descriptor.enumerable || false;\n        descriptor.configurable = true;\n        if (\"value\" in descriptor) descriptor.writable = true;\n        Object.defineProperty(target, descriptor.key, descriptor);\n      }\n    }\n\n    return function (Constructor, protoProps, staticProps) {\n      if (protoProps) defineProperties(Constructor.prototype, protoProps);\n      if (staticProps) defineProperties(Constructor, staticProps);\n      return Constructor;\n    };\n  }();\n\n  var WaitForQueueYieldable = function () {\n    function WaitForQueueYieldable(queueName) {\n      _classCallCheck(this, WaitForQueueYieldable);\n\n      this.queueName = queueName;\n    }\n\n    _createClass(WaitForQueueYieldable, [{\n      key: _utils.yieldableSymbol,\n      value: function value(taskInstance, resumeIndex) {\n        _ember.default.run.schedule(this.queueName, function () {\n          taskInstance.proceed(resumeIndex, _utils.YIELDABLE_CONTINUE, null);\n        });\n      }\n    }]);\n\n    return WaitForQueueYieldable;\n  }();\n\n  var WaitForEventYieldable = function () {\n    function WaitForEventYieldable(object, eventName) {\n      _classCallCheck(this, WaitForEventYieldable);\n\n      this.object = object;\n      this.eventName = eventName;\n    }\n\n    _createClass(WaitForEventYieldable, [{\n      key: _utils.yieldableSymbol,\n      value: function value(taskInstance, resumeIndex) {\n        var _this = this;\n\n        var fn = function fn(event) {\n          taskInstance.proceed(resumeIndex, _utils.YIELDABLE_CONTINUE, event);\n        };\n        this.object.one(this.eventName, fn);\n        return function () {\n          _this.object.off(_this.eventName, fn);\n        };\n      }\n    }]);\n\n    return WaitForEventYieldable;\n  }();\n\n  /**\n   * Use `waitForQueue` to pause the task until a certain run loop queue is reached.\n   *\n   * ```js\n   * import { task, timeout, waitForQueue } from 'ember-concurrency';\n   * export default Component.extend({\n   *   myTask: task(function * () {\n   *     yield waitForQueue('afterRender');\n   *     console.log(\"now we're in the afterRender queue\");\n   *   })\n   * });\n   * ```\n   *\n   * @param {string} queueName the name of the Ember run loop queue\n   */\n  function waitForQueue(queueName) {\n    return new WaitForQueueYieldable(queueName);\n  }\n\n  /**\n   * Use `waitForEvent` to pause the task until an event is fired. The event\n   * can either be a jQuery event or an Ember.Evented event (or any event system\n   * where the object supports `.on()` `.one()` and `.off()`).\n   *\n   * ```js\n   * import { task, timeout, waitForEvent } from 'ember-concurrency';\n   * export default Component.extend({\n   *   myTask: task(function * () {\n   *     console.log(\"Please click anywhere..\");\n   *     let clickEvent = yield waitForEvent($('body'), 'click');\n   *     console.log(\"Got event\", clickEvent);\n   *\n   *     let emberEvent = yield waitForEvent(this, 'foo');\n   *     console.log(\"Got foo event\", emberEvent);\n   *\n   *     // somewhere else: component.trigger('foo', { value: 123 });\n   *   })\n   * });\n   * ```\n   *\n   * @param {object} object the Ember Object or jQuery selector (with ,on(), .one(), and .off())\n   *                 that the event fires from\n   * @param {function} eventName the name of the event to wait for\n   */\n  function waitForEvent(object, eventName) {\n    _ember.default.assert(object + ' must include Ember.Evented (or support `.on()`, `.one()`, and `.off()`) to be able to use `waitForEvent`', (0, _utils.isEventedObject)(object));\n    return new WaitForEventYieldable(object, eventName);\n  }\n});","define('ember-concurrency/index', ['exports', 'ember', 'ember-concurrency/utils', 'ember-concurrency/-task-property', 'ember-concurrency/-task-instance', 'ember-concurrency/-task-group', 'ember-concurrency/-evented-observable', 'ember-concurrency/-cancelable-promise-helpers', 'ember-concurrency/-wait-for'], function (exports, _ember, _utils, _taskProperty, _taskInstance, _taskGroup, _eventedObservable, _cancelablePromiseHelpers, _waitFor) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.waitForEvent = exports.waitForQueue = exports.timeout = exports.didCancel = exports.race = exports.hash = exports.allSettled = exports.all = undefined;\n  exports.task = task;\n  exports.taskGroup = taskGroup;\n  exports.events = events;\n\n\n  /**\n   * A Task is a cancelable, restartable, asynchronous operation that\n   * is driven by a generator function. Tasks are automatically canceled\n   * when the object they live on is destroyed (e.g. a Component\n   * is unrendered).\n   *\n   * To define a task, use the `task(...)` function, and pass in\n   * a generator function, which will be invoked when the task\n   * is performed. The reason generator functions are used is\n   * that they (like the proposed ES7 async-await syntax) can\n   * be used to elegantly express asynchronous, cancelable\n   * operations.\n   *\n   * The following Component defines a task called `myTask` that,\n   * when performed, prints a message to the console, sleeps for 1 second,\n   * prints a final message to the console, and then completes.\n   *\n   * ```js\n   * import { task, timeout } from 'ember-concurrency';\n   * export default Component.extend({\n   *   myTask: task(function * () {\n   *     console.log(\"Pausing for a second...\");\n   *     yield timeout(1000);\n   *     console.log(\"Done!\");\n   *   })\n   * });\n   * ```\n   *\n   * ```hbs\n   * <button {{action myTask.perform}}>Perform Task</button>\n   * ```\n   *\n   * By default, tasks have no concurrency constraints\n   * (multiple instances of a task can be running at the same time)\n   * but much of a power of tasks lies in proper usage of Task Modifiers\n   * that you can apply to a task.\n   *\n   * @param {function} generatorFunction the generator function backing the task.\n   * @returns {TaskProperty}\n   */\n  function task() {\n    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n\n    return new (Function.prototype.bind.apply(_taskProperty.TaskProperty, [null].concat(args)))();\n  }\n\n  function taskGroup() {\n    for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n      args[_key2] = arguments[_key2];\n    }\n\n    return new (Function.prototype.bind.apply(_taskGroup.TaskGroupProperty, [null].concat(args)))();\n  }\n\n  function events(obj, eventName) {\n    return _eventedObservable.default.create({ obj: obj, eventName: eventName });\n  }\n\n  exports.all = _cancelablePromiseHelpers.all;\n  exports.allSettled = _cancelablePromiseHelpers.allSettled;\n  exports.hash = _cancelablePromiseHelpers.hash;\n  exports.race = _cancelablePromiseHelpers.race;\n  exports.didCancel = _taskInstance.didCancel;\n  exports.timeout = _utils.timeout;\n  exports.waitForQueue = _waitFor.waitForQueue;\n  exports.waitForEvent = _waitFor.waitForEvent;\n});","define('ember-concurrency/utils', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports._ComputedProperty = exports.YIELDABLE_CANCEL = exports.YIELDABLE_RETURN = exports.YIELDABLE_THROW = exports.YIELDABLE_CONTINUE = exports.yieldableSymbol = exports.INVOKE = exports.objectAssign = undefined;\n  exports.isEventedObject = isEventedObject;\n  exports.Arguments = Arguments;\n  exports._cleanupOnDestroy = _cleanupOnDestroy;\n  exports.timeout = timeout;\n  exports.RawValue = RawValue;\n  exports.raw = raw;\n  exports.rawTimeout = rawTimeout;\n\n  function _defineProperty(obj, key, value) {\n    if (key in obj) {\n      Object.defineProperty(obj, key, {\n        value: value,\n        enumerable: true,\n        configurable: true,\n        writable: true\n      });\n    } else {\n      obj[key] = value;\n    }\n\n    return obj;\n  }\n\n  function isEventedObject(c) {\n    return c && typeof c.one === 'function' && typeof c.off === 'function';\n  }\n\n  function Arguments(args, defer) {\n    this.args = args;\n    this.defer = defer;\n  }\n\n  Arguments.prototype.resolve = function (value) {\n    if (this.defer) {\n      this.defer.resolve(value);\n    }\n  };\n\n  var objectAssign = exports.objectAssign = Object.assign || function objectAssign(target) {\n    'use strict';\n\n    if (target == null) {\n      throw new TypeError('Cannot convert undefined or null to object');\n    }\n\n    target = Object(target);\n    for (var index = 1; index < arguments.length; index++) {\n      var source = arguments[index];\n      if (source != null) {\n        for (var key in source) {\n          if (Object.prototype.hasOwnProperty.call(source, key)) {\n            target[key] = source[key];\n          }\n        }\n      }\n    }\n    return target;\n  };\n\n  function _cleanupOnDestroy(owner, object, cleanupMethodName) {\n    for (var _len = arguments.length, args = Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n      args[_key - 3] = arguments[_key];\n    }\n\n    // TODO: find a non-mutate-y, non-hacky way of doing this.\n\n    if (!owner.willDestroy) {\n      // we're running in non Ember object (possibly in a test mock)\n      return;\n    }\n\n    if (!owner.willDestroy.__ember_processes_destroyers__) {\n      var oldWillDestroy = owner.willDestroy;\n      var disposers = [];\n\n      owner.willDestroy = function () {\n        for (var i = 0, l = disposers.length; i < l; i++) {\n          disposers[i]();\n        }\n        oldWillDestroy.apply(owner, arguments);\n      };\n      owner.willDestroy.__ember_processes_destroyers__ = disposers;\n    }\n\n    owner.willDestroy.__ember_processes_destroyers__.push(function () {\n      object[cleanupMethodName].apply(object, args);\n    });\n  }\n\n  var INVOKE = exports.INVOKE = \"__invoke_symbol__\";\n\n  var locations = ['ember-glimmer/helpers/action', 'ember-routing-htmlbars/keywords/closure-action', 'ember-routing/keywords/closure-action'];\n\n  for (var i = 0; i < locations.length; i++) {\n    if (locations[i] in _ember.default.__loader.registry) {\n      exports.INVOKE = INVOKE = _ember.default.__loader.require(locations[i])['INVOKE'];\n      break;\n    }\n  }\n\n  // TODO: Symbol polyfill?\n  var yieldableSymbol = exports.yieldableSymbol = \"__ec_yieldable__\";\n  var YIELDABLE_CONTINUE = exports.YIELDABLE_CONTINUE = \"next\";\n  var YIELDABLE_THROW = exports.YIELDABLE_THROW = \"throw\";\n  var YIELDABLE_RETURN = exports.YIELDABLE_RETURN = \"return\";\n  var YIELDABLE_CANCEL = exports.YIELDABLE_CANCEL = \"cancel\";\n\n  var _ComputedProperty = exports._ComputedProperty = _ember.default.ComputedProperty;\n\n  /**\n   *\n   * Yielding `timeout(ms)` will pause a task for the duration\n   * of time passed in, in milliseconds.\n   *\n   * The task below, when performed, will print a message to the\n   * console every second.\n   *\n   * ```js\n   * export default Component.extend({\n   *   myTask: task(function * () {\n   *     while (true) {\n   *       console.log(\"Hello!\");\n   *       yield timeout(1000);\n   *     }\n   *   })\n   * });\n   * ```\n   *\n   * @param {number} ms - the amount of time to sleep before resuming\n   *   the task, in milliseconds\n   */\n  function timeout(ms) {\n    var timerId = void 0;\n    var promise = new _ember.default.RSVP.Promise(function (r) {\n      timerId = _ember.default.run.later(r, ms);\n    });\n    promise.__ec_cancel__ = function () {\n      _ember.default.run.cancel(timerId);\n    };\n    return promise;\n  }\n\n  function RawValue(value) {\n    this.value = value;\n  }\n\n  function raw(value) {\n    return new RawValue(value);\n  }\n\n  function rawTimeout(ms) {\n    return _defineProperty({}, yieldableSymbol, function (taskInstance, resumeIndex) {\n      var _this = this;\n\n      var timerId = setTimeout(function () {\n        taskInstance.proceed(resumeIndex, YIELDABLE_CONTINUE, _this._result);\n      }, ms);\n      return function () {\n        window.clearInterval(timerId);\n      };\n    });\n  }\n});","define('ember-cookies/services/cookies', ['exports', 'ember'], function (exports, _ember) {\n  var _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i['return']) _i['return'](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError('Invalid attempt to destructure non-iterable instance'); } }; })();\n\n  var computed = _ember['default'].computed;\n  var reads = _ember['default'].computed.reads;\n  var isEmpty = _ember['default'].isEmpty;\n  var isPresent = _ember['default'].isPresent;\n  var typeOf = _ember['default'].typeOf;\n  var isNone = _ember['default'].isNone;\n  var assert = _ember['default'].assert;\n  var A = _ember['default'].A;\n  var getOwner = _ember['default'].getOwner;\n  var Service = _ember['default'].Service;\n  var merge = _ember['default'].merge;\n  var keys = Object.keys;\n  exports['default'] = Service.extend({\n    _isFastBoot: reads('_fastBoot.isFastBoot'),\n\n    _fastBoot: computed(function () {\n      var owner = getOwner(this);\n\n      return owner.lookup('service:fastboot');\n    }),\n\n    _document: computed(function () {\n      return document;\n    }),\n\n    _documentCookies: computed(function () {\n      var all = this.get('_document.cookie').split(';');\n      var filtered = this._filterDocumentCookies(A(all));\n\n      return filtered.reduce(function (acc, cookie) {\n        if (!isEmpty(cookie)) {\n          var _cookie = _slicedToArray(cookie, 2);\n\n          var key = _cookie[0];\n          var value = _cookie[1];\n\n          acc[key.trim()] = value.trim();\n        }\n        return acc;\n      }, {});\n    }).volatile(),\n\n    _fastBootCookies: computed(function () {\n      var _this = this;\n\n      var fastBootCookiesCache = this.get('_fastBootCookiesCache');\n\n      if (!fastBootCookiesCache) {\n        (function () {\n          var fastBootCookies = _this.get('_fastBoot.request.cookies');\n          fastBootCookiesCache = A(keys(fastBootCookies)).reduce(function (acc, name) {\n            var value = fastBootCookies[name];\n            acc[name] = { value: value };\n            return acc;\n          }, {});\n          _this.set('_fastBootCookiesCache', fastBootCookiesCache);\n        })();\n      }\n\n      return this._filterCachedFastBootCookies(fastBootCookiesCache);\n    }).volatile(),\n\n    read: function read(name) {\n      var _this2 = this;\n\n      var all = undefined;\n      if (this.get('_isFastBoot')) {\n        all = this.get('_fastBootCookies');\n      } else {\n        all = this.get('_documentCookies');\n      }\n\n      if (name) {\n        return this._decodeValue(all[name]);\n      } else {\n        A(keys(all)).forEach(function (name) {\n          return all[name] = _this2._decodeValue(all[name]);\n        });\n        return all;\n      }\n    },\n\n    write: function write(name, value) {\n      var options = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];\n\n      assert('Cookies cannot be set to be HTTP-only as those cookies would not be accessible by the Ember.js application itself when running in the browser!', !options.httpOnly);\n      assert(\"Cookies cannot be set as signed as signed cookies would not be modifyable in the browser as it has no knowledge of the express server's signing key!\", !options.signed);\n      assert('Cookies cannot be set with both maxAge and an explicit expiration time!', isEmpty(options.expires) || isEmpty(options.maxAge));\n      value = this._encodeValue(value);\n\n      if (this.get('_isFastBoot')) {\n        this._writeFastBootCookie(name, value, options);\n      } else {\n        this._writeDocumentCookie(name, value, options);\n      }\n    },\n\n    clear: function clear(name) {\n      var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n      assert('Expires or Max-Age options cannot be set when clearing cookies', isEmpty(options.expires) && isEmpty(options.maxAge));\n\n      options.expires = new Date('1970-01-01');\n      this.write(name, null, options);\n    },\n\n    _writeDocumentCookie: function _writeDocumentCookie(name, value) {\n      var options = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];\n\n      var serializedCookie = this._serializeCookie(name, value, options);\n      this.set('_document.cookie', serializedCookie);\n    },\n\n    _writeFastBootCookie: function _writeFastBootCookie(name, value) {\n      var options = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];\n\n      var responseHeaders = this.get('_fastBoot.response.headers');\n      var serializedCookie = this._serializeCookie.apply(this, arguments);\n\n      if (!isEmpty(options.maxAge)) {\n        options.maxAge *= 1000;\n      }\n\n      this._cacheFastBootCookie.apply(this, arguments);\n\n      responseHeaders.append('set-cookie', serializedCookie);\n    },\n\n    _cacheFastBootCookie: function _cacheFastBootCookie(name, value) {\n      var options = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];\n\n      var fastBootCache = this.getWithDefault('_fastBootCookiesCache', {});\n      var cachedOptions = merge({}, options);\n\n      if (cachedOptions.maxAge) {\n        var expires = new Date();\n        expires.setSeconds(expires.getSeconds() + options.maxAge);\n        cachedOptions.expires = expires;\n        delete cachedOptions.maxAge;\n      }\n\n      fastBootCache[name] = { value: value, options: cachedOptions };\n      this.set('_fastBootCookiesCache', fastBootCache);\n    },\n\n    _filterCachedFastBootCookies: function _filterCachedFastBootCookies(fastBootCookiesCache) {\n      var _get = this.get('_fastBoot.request');\n\n      var requestPath = _get.path;\n      var protocol = _get.protocol;\n\n      // cannot use deconstruct here\n      var host = this.get('_fastBoot.request.host');\n\n      return A(keys(fastBootCookiesCache)).reduce(function (acc, name) {\n        var _fastBootCookiesCache$name = fastBootCookiesCache[name];\n        var value = _fastBootCookiesCache$name.value;\n        var options = _fastBootCookiesCache$name.options;\n\n        options = options || {};\n\n        var _options = options;\n        var optionsPath = _options.path;\n        var domain = _options.domain;\n        var expires = _options.expires;\n        var secure = _options.secure;\n\n        if (optionsPath && requestPath.indexOf(optionsPath) !== 0) {\n          return acc;\n        }\n\n        if (domain && host.indexOf(domain) + domain.length !== host.length) {\n          return acc;\n        }\n\n        if (expires && expires < new Date()) {\n          return acc;\n        }\n\n        if (secure && protocol !== 'https') {\n          return acc;\n        }\n\n        acc[name] = value;\n        return acc;\n      }, {});\n    },\n\n    _encodeValue: function _encodeValue(value) {\n      if (isNone(value)) {\n        return '';\n      } else {\n        return encodeURIComponent(value);\n      }\n    },\n\n    _decodeValue: function _decodeValue(value) {\n      if (isNone(value)) {\n        return value;\n      } else {\n        return decodeURIComponent(value);\n      }\n    },\n\n    _filterDocumentCookies: function _filterDocumentCookies(unfilteredCookies) {\n      return unfilteredCookies.map(function (c) {\n        return c.split('=');\n      }).filter(function (c) {\n        return isPresent(c[0]) && isPresent(c[1]);\n      });\n    },\n\n    _serializeCookie: function _serializeCookie(name, value) {\n      var options = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];\n\n      var cookie = name + '=' + value;\n\n      if (!isEmpty(options.domain)) {\n        cookie = cookie + '; domain=' + options.domain;\n      }\n      if (typeOf(options.expires) === 'date') {\n        cookie = cookie + '; expires=' + options.expires.toUTCString();\n      }\n      if (!isEmpty(options.maxAge)) {\n        cookie = cookie + '; max-age=' + options.maxAge;\n      }\n      if (options.secure) {\n        cookie = cookie + '; secure';\n      }\n      if (!isEmpty(options.path)) {\n        cookie = cookie + '; path=' + options.path;\n      }\n\n      return cookie;\n    }\n  });\n});","define('ember-cp-validations/-private/ember-validator', ['exports', 'ember-cp-validations/validators/base', 'ember-validators'], function (exports, _base, _emberValidators) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  exports.default = _base.default.extend({\n    validate: function validate() {\n      var result = _emberValidators.validate.apply(undefined, [this.get('_evType')].concat(Array.prototype.slice.call(arguments)));\n\n      if (result && (typeof result === 'undefined' ? 'undefined' : _typeof(result)) === 'object') {\n        return result.message ? result.message : this.createErrorMessage(result.type, result.value, result.context);\n      }\n\n      return result;\n    }\n  });\n});","define('ember-cp-validations/-private/internal-result-object', ['exports', 'ember', 'ember-cp-validations/validations/error', 'ember-cp-validations/utils/utils'], function (exports, _ember, _error, _utils) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var get = _ember.default.get,\n      set = _ember.default.set,\n      isNone = _ember.default.isNone,\n      computed = _ember.default.computed,\n      canInvoke = _ember.default.canInvoke,\n      makeArray = _ember.default.makeArray,\n      defineProperty = _ember.default.defineProperty;\n  var and = computed.and,\n      not = computed.not,\n      readOnly = computed.readOnly;\n  exports.default = _ember.default.Object.extend({\n    model: null,\n    isValid: true,\n    isValidating: false,\n    message: null,\n    attribute: '',\n\n    attrValue: null,\n    _promise: null,\n    _validator: null,\n    _type: readOnly('_validator._type'),\n\n    init: function init() {\n      this._super.apply(this, arguments);\n\n      defineProperty(this, 'attrValue', computed.readOnly('model.' + get(this, 'attribute')));\n\n      if (this.get('isAsync')) {\n        this._handlePromise();\n      }\n    },\n\n\n    isInvalid: not('isValid'),\n    isNotValidating: not('isValidating'),\n    isTruelyValid: and('isNotValidating', 'isValid'),\n\n    isAsync: computed('_promise', function () {\n      return (0, _utils.isPromise)(get(this, '_promise'));\n    }),\n\n    isDirty: computed('attrValue', function () {\n      var model = get(this, 'model');\n      var attribute = get(this, 'attribute');\n      var attrValue = get(this, 'attrValue');\n\n      // Check default model values\n      if ((0, _utils.isDsModel)(model) && canInvoke(model, 'eachAttribute')) {\n        var attrMeta = model.get('constructor.attributes').get(attribute);\n\n        if (attrMeta) {\n          var defaultValue = attrMeta.options.defaultValue;\n\n\n          if (!isNone(defaultValue)) {\n            return defaultValue !== attrValue;\n          }\n        }\n      }\n      return !isNone(attrValue);\n    }),\n\n    messages: computed('message', function () {\n      return makeArray(get(this, 'message'));\n    }),\n\n    error: computed('isInvalid', 'type', 'message', 'attribute', function () {\n      if (get(this, 'isInvalid')) {\n        return _error.default.create({\n          type: get(this, '_type'),\n          message: get(this, 'message'),\n          attribute: get(this, 'attribute')\n        });\n      }\n\n      return null;\n    }),\n\n    errors: computed('error', function () {\n      return makeArray(get(this, 'error'));\n    }),\n\n    _handlePromise: function _handlePromise() {\n      var _this = this;\n\n      set(this, 'isValidating', true);\n\n      get(this, '_promise').finally(function () {\n        set(_this, 'isValidating', false);\n      });\n    }\n  });\n});","define('ember-cp-validations/-private/options', ['exports', 'ember', 'ember-cp-validations/utils/utils'], function (exports, _ember, _utils) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var get = _ember.default.get,\n      set = _ember.default.set,\n      defineProperty = _ember.default.defineProperty;\n\n\n  var Options = _ember.default.Object.extend({\n    model: null,\n    attribute: null,\n\n    // Private\n    __options__: null,\n\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n\n      var options = this.get('__options__');\n\n      Object.keys(options).forEach(function (key) {\n        var value = options[key];\n\n        if ((0, _utils.isDescriptor)(value)) {\n          defineProperty(_this, key, value);\n        } else {\n          set(_this, key, value);\n        }\n      });\n    },\n    copy: function copy(deep) {\n      var _this2 = this;\n\n      var options = this.get('__options__');\n\n      if (deep) {\n        return Options.create({\n          model: get(this, 'model'),\n          attribute: get(this, 'attribute'),\n          __options__: options\n        });\n      }\n\n      return _ember.default.Object.create(Object.keys(options).reduce(function (obj, o) {\n        obj[o] = get(_this2, o);\n        return obj;\n      }, {}));\n    }\n  });\n\n  exports.default = Options;\n});","define('ember-cp-validations/-private/result', ['exports', 'ember', 'ember-cp-validations/validations/result-collection', 'ember-cp-validations/-private/internal-result-object'], function (exports, _ember, _resultCollection, _internalResultObject) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  var get = _ember.default.get,\n      set = _ember.default.set,\n      isNone = _ember.default.isNone,\n      isArray = _ember.default.isArray,\n      computed = _ember.default.computed,\n      setProperties = _ember.default.setProperties,\n      getProperties = _ember.default.getProperties;\n  var readOnly = computed.readOnly;\n\n\n  /**\n   * __PRIVATE__\n   *\n   * @module Validations\n   * @class Result\n   * @private\n   */\n\n  var Result = _ember.default.Object.extend({\n\n    /**\n     * @property model\n     * @type {Object}\n     */\n    model: null,\n\n    /**\n     * @property attribute\n     * @type {String}\n     */\n    attribute: '',\n\n    /**\n     * @property _promise\n     * @async\n     * @private\n     * @type {Promise}\n     */\n    _promise: null,\n\n    /**\n     * The validator that returned this result\n     * @property _validator\n     * @private\n     * @type {Validator}\n     */\n    _validator: null,\n\n    /**\n     * Determines if the _validations object is readOnly.\n     *\n     * This is needed because ResultCollections and global validation objects control their own\n     * state via CPs\n     *\n     * @property _isReadOnly\n     * @private\n     * @readOnly\n     * @type {Boolean}\n     */\n    _isReadOnly: computed('_validations', function () {\n      var validations = get(this, '_validations');\n      return validations instanceof _resultCollection.default || get(validations, 'isValidations');\n    }).readOnly(),\n\n    /**\n     * @property isWarning\n     * @readOnly\n     * @type {Boolean}\n     */\n    isWarning: readOnly('_validator.isWarning'),\n\n    /**\n     * @property isValid\n     * @readOnly\n     * @type {Boolean}\n     */\n    isValid: readOnly('_validations.isValid'),\n\n    /**\n     * @property isInvalid\n     * @readOnly\n     * @type {Boolean}\n     */\n    isInvalid: readOnly('_validations.isInvalid'),\n\n    /**\n     * @property isValidating\n     * @readOnly\n     * @type {Boolean}\n     */\n    isValidating: readOnly('_validations.isValidating'),\n\n    /**\n     * @property isTruelyValid\n     * @readOnly\n     * @type {Boolean}\n     */\n    isTruelyValid: readOnly('_validations.isTruelyValid'),\n\n    /**\n     * @property isAsync\n     * @readOnly\n     * @type {Boolean}\n     */\n    isAsync: readOnly('_validations.isAsync'),\n\n    /**\n     * @property isDirty\n     * @readOnly\n     * @type {Boolean}\n     */\n    isDirty: readOnly('_validations.isDirty'),\n\n    /**\n     * @property message\n     * @readOnly\n     * @type {String}\n     */\n    message: readOnly('_validations.message'),\n\n    /**\n     * @property messages\n     * @readOnly\n     * @type {Array}\n     */\n    messages: readOnly('_validations.messages'),\n\n    /**\n     * @property error\n     * @readOnly\n     * @type {Object}\n     */\n    error: readOnly('_validations.error'),\n\n    /**\n     * @property errors\n     * @readOnly\n     * @type {Array}\n     */\n    errors: readOnly('_validations.errors'),\n\n    /**\n     * This hold all the logic for the above CPs. We do this so we can easily switch this object out with a different validations object\n     * @property _validations\n     * @private\n     * @type {Result}\n     */\n    _validations: computed('model', 'attribute', '_promise', '_validator', function () {\n      return _internalResultObject.default.create(getProperties(this, ['model', 'attribute', '_promise', '_validator']));\n    }),\n\n    init: function init() {\n      this._super.apply(this, arguments);\n\n      if (get(this, 'isAsync') && !get(this, '_isReadOnly')) {\n        this._handlePromise();\n      }\n    },\n    update: function update(result) {\n      var validations = get(this, '_validations');\n      var validator = get(this, '_validator');\n\n      var _getProperties = getProperties(this, ['model', 'attribute']),\n          model = _getProperties.model,\n          attribute = _getProperties.attribute;\n\n      if (isNone(result)) {\n        this.update(false);\n        return;\n      }\n\n      if (get(result, 'isValidations')) {\n        set(this, '_validations', result);\n      } else if (isArray(result)) {\n        var validationResultsCollection = _resultCollection.default.create({\n          attribute: attribute,\n          content: result.map(function (r) {\n            return Result.create({\n              attribute: attribute,\n              model: model,\n              _validator: validator,\n              _validations: r\n            });\n          })\n        });\n        set(this, '_validations', validationResultsCollection);\n      } else if (!get(this, '_isReadOnly')) {\n        if (typeof result === 'string') {\n          setProperties(validations, {\n            message: result,\n            isValid: false\n          });\n        } else if (typeof result === 'boolean') {\n          set(validations, 'isValid', result);\n        } else if ((typeof result === 'undefined' ? 'undefined' : _typeof(result)) === 'object') {\n          setProperties(validations, result);\n        }\n      }\n    },\n    _handlePromise: function _handlePromise() {\n      var _this = this;\n\n      get(this, '_promise').then(function (result) {\n        return _this.update(result);\n      }, function (result) {\n        return _this.update(result);\n      }).catch(function (reason) {\n        // TODO: send into error state\n        throw reason;\n      });\n    }\n  });\n\n  exports.default = Result;\n});","define('ember-cp-validations/index', ['exports', 'ember-cp-validations/validations/factory', 'ember-cp-validations/validations/validator'], function (exports, _factory, _validator) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.validator = exports.buildValidations = undefined;\n\n\n  /**\n   * ## Installation\n   * ```shell\n   * ember install ember-cp-validations\n   * ```\n   *\n   * ## Changelog\n   * Changelog can be found [here](https://github.com/offirgolan/ember-cp-validations/blob/master/CHANGELOG.md)\n   *\n   * ## Live Demo\n   * A live demo can be found [here](http://offirgolan.github.io/ember-cp-validations/)\n   *\n   * ## Looking for help?\n   * If it is a bug [please open an issue on GitHub](http://github.com/offirgolan/ember-cp-validations/issues).\n   *\n   * @module Usage\n   */\n\n  /**\n   * ## Models\n   *\n   * The first thing we need to do is build our validation rules. This will then generate a Mixin that you will be able to incorporate into your model or object.\n   *\n   * ```javascript\n   * // models/user.js\n   *\n   * import Ember from 'ember';\n   * import DS from 'ember-data';\n   * import { validator, buildValidations } from 'ember-cp-validations';\n   *\n   * const Validations = buildValidations({\n   *   username: validator('presence', true),\n   *   password: [\n   *     validator('presence', true),\n   *     validator('length', {\n   *       min: 4,\n   *       max: 8\n   *     })\n   *   ],\n   *   email: [\n   *     validator('presence', true),\n   *     validator('format', { type: 'email' })\n   *   ],\n   *   emailConfirmation: [\n   *     validator('presence', true),\n   *     validator('confirmation', {\n   *       on: 'email',\n   *       message: '{description} do not match',\n   *       description: 'Email addresses'\n   *     })\n   *   ]\n   * });\n   * ```\n   *\n   * Once our rules are created and our Mixin is generated, all we have to do is add it to our model.\n   *\n   * ```javascript\n   * // models/user.js\n   *\n   * export default DS.Model.extend(Validations, {\n   *   'username': attr('string'),\n   *   'password': attr('string'),\n   *   'email': attr('string')\n   * });\n   * ```\n   *\n   * ## Objects\n   *\n   * You can also use the generated `Validations` mixin on any `Ember.Object` or child\n   * of `Ember.Object`, like `Ember.Component`. For example:\n   *\n   * ```javascript\n   * // components/x-foo.js\n   *\n   * import Ember from 'ember';\n   * import { validator, buildValidations } from 'ember-cp-validations';\n   *\n   * const Validations = buildValidations({\n   *   bar: validator('presence', true)\n   * });\n   *\n   * export default Ember.Component.extend(Validations, {\n   *   bar: null\n   * });\n   * ```\n   *\n   * ```javascript\n   * // models/user.js\n   *\n   * export default Ember.Object.extend(Validations, {\n   *   username: null\n   * });\n   * ```\n   *\n   * ## A Note on Testing & Object Containers\n   *\n   * To lookup validators, container access is required, which can cause an issue with `Ember.Object` creation\n   * if the object is statically imported. The current fix for this is as follows.\n   *\n   * **Ember < 2.3.0**\n   *\n   * ```javascript\n   * // routes/index.js\n   *\n   * import User from '../models/user';\n   *\n   * export default Ember.Route.extend({\n   *   model() {\n   *     var container = this.get('container');\n   *     return User.create({ username: 'John', container })\n   *   }\n   * });\n   * ```\n   *\n   * **Ember >= 2.3.0**\n   *\n   * ```javascript\n   * // routes/index.js\n   *\n   * import User from '../models/user';\n   *\n   * export default Ember.Route.extend({\n   *   model() {\n   *     return User.create(\n   *      Ember.getOwner(this).ownerInjection(),\n   *      { username: 'John' }\n   *     );\n   *   }\n   * });\n   * ```\n   *\n   * This also has ramifications for Ember Data model tests. When using [Ember QUnit's `moduleForModel`](https://github.com/emberjs/ember-qunit#ember-data-tests)\n   * (or [Ember Mocha's `setupModelTest`](https://github.com/emberjs/ember-mocha#setup-model-tests)), you will need to specify all validators\n   * that your model depends on:\n   *\n   * ```javascript\n   * moduleForModel('foo', 'Unit | Model | model', {\n   *   needs: ['validator:presence']\n   * });\n   * ```\n   *\n   * @module Usage\n   * @submodule Basic\n   */\n\n  /**\n   * ### Default Options\n   *\n   * Default options can be specified over a set of validations for a given attribute. Local properties will always take precedence.\n   *\n   * Instead of doing the following:\n   *\n   * ```javascript\n   * const Validations = buildValidations({\n   *   username: [\n   *     validator('presence', {\n   *       presence: true,\n   *       description: 'Username'\n   *     }),\n   *     validator('length', {\n   *       min: 1,\n   *       description: 'Username'\n   *     }),\n   *     validator('my-custom-validator', {\n   *       description: 'A username'\n   *     })\n   *   ]\n   * });\n   * ```\n   *\n   * We can declare default options:\n   *\n   * ```javascript\n   * const Validations = buildValidations({\n   *   username: {\n   *     description: 'Username'\n   *     validators: [\n   *       validator('presence', true),\n   *       validator('length', {\n   *         min: 1\n   *       }),\n   *       validator('my-custom-validator', {\n   *         description: 'A username'\n   *       })\n   *     ]\n   *   },\n   * });\n   * ```\n   *\n   * In the above example, all the validators for username will have a description of `Username` except that of the `my-custom-validator` validator which will be `A username`.\n   *\n   * ### Global Options\n   *\n   * If you have  specific options you want to propagate through all your validation rules, you can do so by passing in a global options object.\n   * This is ideal for when you have a dependent key that each validator requires such as the current locale from your i18n implementation, or\n   * you want easily toggle your validations on/off.\n   *\n   * ```javascript\n   * const Validations = buildValidations(validationRules, globalOptions);\n   * ```\n   *\n   * ```javascript\n   * import Ember from 'ember';\n   * import { validator, buildValidations } from 'ember-cp-validations';\n   *\n   * const Validations = buildValidations({\n   *   firstName: {\n   *     description: 'First Name'\n   *     validators: [\n   *       validator('presence', {\n   *         presence: true,\n   *         dependentKeys: ['foo', 'bar']\n   *       })\n   *      ]\n   *    },\n   *   lastName: validator('presence', true)\n   * }, {\n   *   description: 'This field'\n   *   dependentKeys: ['i18n.locale'],\n   *   disabled: computed.readOnly('model.disableValidations')\n   * });\n   * ```\n   *\n   * Just like in the default options, locale validator options will always take precedence over default options and default options will always take precedence\n   * over global options. This allows you to declare global rules while having the ability to override them in lower levels.\n   *\n   * This rule does not apply to `dependentKeys`, instead they all are merged. In the example above, __firstName__'s dependentKeys will be\n   * `['i18n.locale', 'disableValidations', 'foo', 'bar']`\n   *\n   * ### Computed Options\n   *\n   * All options can also be Computed Properties. These CPs have access to the `model` and `attribute` that is associated with the validator.\n   *\n   * Please note that the `message` option of a validator can also be a function with [the following signature](http://offirgolan.github.io/ember-cp-validations/docs/modules/Validators.html#message).\n   *\n   * ```javascript\n   * const Validations = buildValidations({\n   *   username: validator('length', {\n   *     disabled: Ember.computed.not('model.meta.username.isEnabled'),\n   *     min: Ember.computed.readOnly('model.meta.username.minLength'),\n   *     max: Ember.computed.readOnly('model.meta.username.maxLength'),\n   *     description: Ember.computed(function() {\n   *       // CPs have access to the `model` and `attribute`\n   *       return this.get('model').generateDescription(this.get('attribute'));\n   *     }).volatile() // Disable caching and force recompute on every get call\n   *   })\n   * });\n   * ```\n   *\n   * ### Nested Keys\n   *\n   * When declaring object validations (not including Ember Data models), it is possible to validate child objects from the parent object.\n   *\n   * ```javascript\n   * import Ember from 'ember';\n   * import { validator, buildValidations } from 'ember-cp-validations';\n   *\n   * const Validations = buildValidations({\n   *   'acceptTerms': validator('inclusion', { in: [ true ] }),\n   *   'user.firstName': validator('presence', true),\n   *   'user.lastName': validator('presence', true),\n   *   'user.account.number': validator('number')\n   * });\n   *\n   * export default Ember.Component.extend(Validations, {\n   *   acceptTerms: false,\n   *   user:  {\n   *     firstName: 'John',\n   *     lastName: 'Doe' ,\n   *     account: {\n   *       number: 123456,\n   *     }\n   *   },\n   *   isFormValid: Ember.computed.alias('validations.isValid'),\n   * });\n   * ```\n   *\n   * @module Usage\n   * @submodule Advanced\n   */\n\n  /**\n   * ### [__Ember-Intl__](https://github.com/jasonmit/ember-intl-cp-validations)\n   *\n   *  ```bash\n   *  ember install ember-intl-cp-validations\n   *  ```\n   *\n   * ### [__Ember-I18n__](https://github.com/jasonmit/ember-i18n-cp-validations)\n   *\n   * ```bash\n   *  ember install ember-i18n-cp-validations\n   * ```\n   *\n   * @module Usage\n   * @submodule I18n Solutions\n   */\n\n  /**\n   * Copyright 2016, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  var buildValidations = exports.buildValidations = _factory.default;\n  var validator = exports.validator = _validator.default;\n\n  exports.default = {\n    buildValidations: buildValidations,\n    validator: validator\n  };\n});","define('ember-cp-validations/utils/assign', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = assign;\n  var get = _ember.default.get,\n      set = _ember.default.set,\n      isNone = _ember.default.isNone,\n      defineProperty = _ember.default.defineProperty;\n  function assign(obj, path, value) {\n    var useEmberObject = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n    var delimiter = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : '.';\n\n    var keyPath = path.split(delimiter);\n    var lastKeyIndex = keyPath.length - 1;\n    var currObj = obj;\n\n    // Iterate over each key in the path (minus the last one which is the property to be assigned)\n    for (var i = 0; i < lastKeyIndex; ++i) {\n      var key = keyPath[i];\n\n      // Create a new object if it doesnt exist\n      if (isNone(get(currObj, key))) {\n        set(currObj, key, useEmberObject ? _ember.default.Object.create() : {});\n      }\n      currObj = get(currObj, key);\n    }\n\n    if (value instanceof _ember.default.ComputedProperty) {\n      defineProperty(currObj, keyPath[lastKeyIndex], value);\n    } else {\n      set(currObj, keyPath[lastKeyIndex], value);\n    }\n  }\n});","define('ember-cp-validations/utils/cycle-breaker', ['exports', 'ember-cp-validations/utils/meta-data'], function (exports, _metaData) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = cycleBreaker;\n  function cycleBreaker(fn, value) {\n    var key = _metaData.default.symbol('cycle');\n\n    return function () {\n      if (_metaData.default.getData(this, key)) {\n        return value;\n      }\n      _metaData.default.setData(this, key, true);\n      try {\n        return fn.apply(this, arguments);\n      } finally {\n        _metaData.default.setData(this, key, false);\n      }\n    };\n  } /**\n     * Copyright 2016, Yahoo! Inc.\n     * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n     */\n\n  /**\n   * Use Ember Meta to break cycles in the CP chains. Lets say we have a User model with a `friends` property that is a hasMany\n   * relationship. If we have a user John and he has a friend Jane, that creates a two-way relationship. John is Jane's friends and vise\n   * versa. If we were to go down the CP chain and get validations for John's friends, it would go to Jane, then to Jane's friends, which\n   * would point back to John. This method tracks which models have been already visited and breaks the cycle.\n   */\n});","define(\"ember-cp-validations/utils/flatten\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = flatten;\n  /**\n   * Copyright 2016, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  function flatten() {\n    var array = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n\n    var result = [];\n\n    for (var i = 0, l = array.length; i < l; i++) {\n      var item = array[i];\n\n      if (Array.isArray(item)) {\n        result = result.concat(flatten(item));\n      } else {\n        result.push(item);\n      }\n    }\n\n    return result;\n  }\n});","define('ember-cp-validations/utils/meta-data', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  var id = 0; /**\n               * Copyright 2016, Yahoo! Inc.\n               * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n               */\n\n  var dataKey = symbol('data');\n\n  function symbol(key) {\n    return '_' + key + '_' + new Date().getTime() + '_' + id++;\n  }\n\n  function getData(obj, s) {\n    var m = _ember.default.meta(obj);\n    var data = m[dataKey];\n\n    if (data) {\n      return data[s];\n    }\n  }\n\n  function setData(obj, s, value) {\n    var m = _ember.default.meta(obj);\n    var data = m[dataKey] = m[dataKey] || {};\n\n    data[s] = value;\n  }\n\n  exports.default = { symbol: symbol, getData: getData, setData: setData };\n});","define(\"ember-cp-validations/utils/should-call-super\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = shouldCallSuper;\n  /**\n   * Copyright 2016, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  /**\n   * Checks if the give key exists on the object's super.\n   * If so, we can successfully call the obj[key] _super\n   *\n   * Created by @rwjblue\n   */\n  function shouldCallSuper(obj, key) {\n    var current = Object.getPrototypeOf(obj);\n    current = Object.getPrototypeOf(current);\n\n    while (current) {\n      var descriptor = Object.getOwnPropertyDescriptor(current, key);\n\n      if (descriptor) {\n        return true;\n      }\n\n      current = Object.getPrototypeOf(current);\n    }\n\n    return false;\n  }\n});","define('ember-cp-validations/utils/utils', ['exports', 'ember', 'ember-require-module'], function (exports, _ember, _emberRequireModule) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.unwrapString = unwrapString;\n  exports.unwrapProxy = unwrapProxy;\n  exports.isProxy = isProxy;\n  exports.isPromise = isPromise;\n  exports.isDsModel = isDsModel;\n  exports.isDSManyArray = isDSManyArray;\n  exports.isEmberObject = isEmberObject;\n  exports.isObject = isObject;\n  exports.isDescriptor = isDescriptor;\n  exports.isValidatable = isValidatable;\n  exports.getValidatableValue = getValidatableValue;\n  exports.mergeOptions = mergeOptions;\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  var DS = (0, _emberRequireModule.default)('ember-data');\n\n  var get = _ember.default.get,\n      typeOf = _ember.default.typeOf,\n      isArray = _ember.default.isArray,\n      canInvoke = _ember.default.canInvoke,\n      emberArray = _ember.default.A;\n  var isHTMLSafe = _ember.default.String.isHTMLSafe;\n\n\n  var assign = _ember.default.assign || _ember.default.merge;\n\n  function unwrapString(s) {\n    if (isHTMLSafe(s)) {\n      return s.toString();\n    }\n\n    return s;\n  }\n\n  function unwrapProxy(o) {\n    return isProxy(o) ? unwrapProxy(get(o, 'content')) : o;\n  }\n\n  function isProxy(o) {\n    return !!(o && (o instanceof _ember.default.ObjectProxy || o instanceof _ember.default.ArrayProxy));\n  }\n\n  function isPromise(p) {\n    return !!(p && canInvoke(p, 'then'));\n  }\n\n  function isDsModel(o) {\n    return !!(DS && o && o instanceof DS.Model);\n  }\n\n  function isDSManyArray(o) {\n    return !!(DS && o && isArray(o) && (o instanceof DS.PromiseManyArray || o instanceof DS.ManyArray));\n  }\n\n  function isEmberObject(o) {\n    return !!(o && o instanceof _ember.default.Object);\n  }\n\n  function isObject(o) {\n    return typeOf(o) === 'object' || typeOf(o) === 'instance';\n  }\n\n  function isDescriptor(o) {\n    return o && (typeof o === 'undefined' ? 'undefined' : _typeof(o)) === 'object' && o.isDescriptor;\n  }\n\n  function isValidatable(value) {\n    var v = unwrapProxy(value);\n    return isDsModel(v) ? !get(v, 'isDeleted') : true;\n  }\n\n  function getValidatableValue(value) {\n    if (!value) {\n      return value;\n    }\n\n    if (isDSManyArray(value)) {\n      return emberArray(value.filter(function (v) {\n        return isValidatable(v);\n      }));\n    }\n\n    return isValidatable(value) ? value : undefined;\n  }\n\n  function mergeOptions() {\n    var o = {};\n\n    for (var _len = arguments.length, options = Array(_len), _key = 0; _key < _len; _key++) {\n      options[_key] = arguments[_key];\n    }\n\n    for (var i = options.length - 1; i >= 0; i--) {\n      var _o = options[i];\n      assign(o, isObject(_o) ? _o : {});\n    }\n\n    return o;\n  }\n});","define('ember-cp-validations/validations/error', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _ember.default.Object.extend({\n    /**\n     * The error validator type\n     * @property type\n     * @type {String}\n     */\n    type: null,\n\n    /**\n     * The error message\n     * @property message\n     * @type {String}\n     */\n    message: null,\n\n    /**\n     * The attribute that the error belongs to\n     * @property attribute\n     * @type {String}\n     */\n    attribute: null,\n\n    /**\n     * The parent attribute that the error belongs to\n     * @property parentAttribute\n     * @type {String}\n     */\n    parentAttribute: null\n  });\n});","define('ember-cp-validations/validations/factory', ['exports', 'ember', 'ember-cp-validations/utils/flatten', 'ember-cp-validations/utils/assign', 'ember-cp-validations/-private/result', 'ember-cp-validations/validations/result-collection', 'ember-cp-validations/validators/base', 'ember-cp-validations/utils/cycle-breaker', 'ember-cp-validations/utils/should-call-super', 'ember-cp-validations/utils/utils'], function (exports, _ember, _flatten, _assign, _result, _resultCollection, _base, _cycleBreaker, _shouldCallSuper, _utils) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = buildValidations;\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  function _defineProperty(obj, key, value) {\n    if (key in obj) {\n      Object.defineProperty(obj, key, {\n        value: value,\n        enumerable: true,\n        configurable: true,\n        writable: true\n      });\n    } else {\n      obj[key] = value;\n    }\n\n    return obj;\n  }\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  var get = _ember.default.get,\n      set = _ember.default.set,\n      run = _ember.default.run,\n      RSVP = _ember.default.RSVP,\n      isNone = _ember.default.isNone,\n      guidFor = _ember.default.guidFor,\n      isEmpty = _ember.default.isEmpty,\n      isArray = _ember.default.isArray,\n      computed = _ember.default.computed,\n      getOwner = _ember.default.getOwner,\n      makeArray = _ember.default.makeArray,\n      getWithDefault = _ember.default.getWithDefault,\n      emberArray = _ember.default.A;\n\n\n  var merge = _ember.default.assign || _ember.default.merge;\n\n  var Promise = RSVP.Promise;\n\n\n  /**\n   * ## Running Manual Validations\n   *\n   * Although validations are lazily computed, there are times where we might want to force all or\n   * specific validations to happen. For this reason we have exposed three methods:\n   *\n   * - {{#crossLink \"Factory/validate:method\"}}{{/crossLink}}: Will always return a promise and should be used if asynchronous validations are present\n   * - {{#crossLink \"Factory/validateSync:method\"}}{{/crossLink}}: Should only be used if all validations are synchronous. It will throw an error if any of the validations are asynchronous\n   * - {{#crossLink \"Factory/validateAttribute:method\"}}{{/crossLink}}: A functional approach to validating an attribute without changing its state\n   *\n   * @module Validations\n   * @main Validations\n   */\n\n  /**\n   * All validations can be accessed via the `validations` object created on your model/object.\n   * Each attribute also has its own validation which has the same properties.\n   * An attribute validation can be accessed via `validations.attrs.<ATTRIBUTE>` which will return a {{#crossLink \"ResultCollection\"}}{{/crossLink}}.\n   *\n   * ### Global Validations\n   *\n   * Global validations exist on the `validations` object that resides on the object that is being validated.\n   * To see all possible properties, please checkout the docs for {{#crossLink \"ResultCollection\"}}{{/crossLink}}.\n   *\n   * ```js\n   * model.get('validations.isValid');\n   * model.get('validations.errors');\n   * model.get('validations.messages');\n   * // etc...\n   * ```\n   *\n   * ### Attribute Validations\n   *\n   * The `validations` object also contains an `attrs` object which holds a {{#crossLink \"ResultCollection\"}}{{/crossLink}}\n   * for each attribute specified in your validation rules.\n   *\n   * ```js\n   * model.get('validations.attrs.username.isValid');\n   * model.get('validations.attrs.password.errors');\n   * model.get('validations.attrs.email.messages');\n   * // etc...\n   * ```\n   * @module Validations\n   * @submodule Accessing Validations\n   */\n\n  /**\n   * @module Validations\n   * @class Factory\n   */\n\n  /**\n   * Top level method that will ultimately return a mixin with all CP validations\n   *\n   * @method  buildValidations\n   * @param  {Object} validations  Validation rules\n   * @return {Ember.Mixin}\n   */\n  function buildValidations() {\n    var validations = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    var globalOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n    normalizeOptions(validations, globalOptions);\n\n    var Validations = void 0,\n        validationMixinCount = void 0;\n\n    var ValidationsMixin = _ember.default.Mixin.create({\n      init: function init() {\n        this._super.apply(this, arguments);\n\n        // Count number of mixins to bypass super check if there is more than 1\n        this.__validationsMixinCount__ = this.__validationsMixinCount__ || 0;\n        validationMixinCount = ++this.__validationsMixinCount__;\n      },\n\n      __validationsClass__: computed(function () {\n        if (!Validations) {\n          var inheritedClass = void 0;\n\n          if ((0, _shouldCallSuper.default)(this, '__validationsClass__') || validationMixinCount > 1) {\n            inheritedClass = this._super();\n          }\n\n          Validations = createValidationsClass(inheritedClass, validations, this);\n        }\n        return Validations;\n      }).readOnly(),\n\n      validations: computed(function () {\n        return this.get('__validationsClass__').create({ model: this });\n      }).readOnly(),\n\n      validate: function validate() {\n        var _get;\n\n        return (_get = get(this, 'validations')).validate.apply(_get, arguments);\n      },\n      validateSync: function validateSync() {\n        var _get2;\n\n        return (_get2 = get(this, 'validations')).validateSync.apply(_get2, arguments);\n      },\n      validateAttribute: function validateAttribute() {\n        var _get3;\n\n        return (_get3 = get(this, 'validations')).validateAttribute.apply(_get3, arguments);\n      },\n      destroy: function destroy() {\n        this._super.apply(this, arguments);\n        get(this, 'validations').destroy();\n      }\n    });\n\n    // Label mixin under a named scope for Ember Inspector\n    ValidationsMixin[_ember.default.NAME_KEY] = 'Validations';\n\n    return ValidationsMixin;\n  }\n\n  /**\n   * Validation rules can be created with default and global options\n   * {\n   *   description: 'Username',\n   *   validators: [...]\n   * }\n   *\n   * This method generate the default options pojo, applies it to each validation rule, and flattens the object\n   *\n   * @method normalizeOptions\n   * @private\n   * @param  {Object} validations\n   * @return\n   */\n  function normalizeOptions() {\n    var validations = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    var globalOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n    var validatableAttrs = Object.keys(validations);\n\n    validatableAttrs.forEach(function (attribute) {\n      var rules = validations[attribute];\n\n      if (rules && (typeof rules === 'undefined' ? 'undefined' : _typeof(rules)) === 'object' && isArray(rules.validators)) {\n        var options = Object.keys(rules).reduce(function (o, k) {\n          if (k !== 'validators') {\n            o[k] = rules[k];\n          }\n          return o;\n        }, {});\n\n        var validators = rules.validators;\n\n        validators.forEach(function (v) {\n          v.defaultOptions = options;\n        });\n        validations[attribute] = validators;\n      }\n      validations[attribute] = makeArray(validations[attribute]);\n      validations[attribute].forEach(function (v) {\n        v.globalOptions = globalOptions;\n      });\n    });\n  }\n\n  /**\n   * Creates the validations class that will become `model.validations`.\n   *   - Setup parent validation inheritance\n   *   - Normalize nested keys (i.e. 'details.dob') into objects (i.e { details: { dob: validator() }})\n   *   - Merge normalized validations with parent\n   *   - Create global CPs (i.e. 'isValid', 'messages', etc...)\n   *\n   * @method createValidationsClass\n   * @private\n   * @param  {Object} inheritedValidationsClass\n   * @param  {Object} validations\n   * @param  {Object} model\n   * @return {Ember.Object}\n   */\n  function createValidationsClass(inheritedValidationsClass, validations, model) {\n    var validationRules = {};\n    var validatableAttributes = Object.keys(validations);\n\n    // Setup validation inheritance\n    if (inheritedValidationsClass && inheritedValidationsClass.__isCPValidationsClass__) {\n      var inheritedValidations = inheritedValidationsClass.create();\n\n      validationRules = merge(validationRules, inheritedValidations.get('_validationRules'));\n      validatableAttributes = emberArray(inheritedValidations.get('validatableAttributes').concat(validatableAttributes)).uniq();\n    }\n\n    // Normalize nested keys into actual objects and merge them with parent object\n    Object.keys(validations).reduce(function (obj, key) {\n      (0, _assign.default)(obj, key, validations[key]);\n      return obj;\n    }, validationRules);\n\n    // Create the mixin that holds all the top level validation props (isValid, messages, etc)\n    var TopLevelProps = createTopLevelPropsMixin(validatableAttributes);\n\n    // Create the `attrs` class which will add the current model reference once instantiated\n    var AttrsClass = createAttrsClass(validatableAttributes, validationRules, model);\n\n    // Create `validations` class\n    var ValidationsClass = _ember.default.Object.extend(TopLevelProps, {\n      model: null,\n      attrs: null,\n      isValidations: true,\n\n      validatableAttributes: computed(function () {\n        return validatableAttributes;\n      }).readOnly(),\n\n      // Caches\n      _validators: null,\n      _debouncedValidations: null,\n\n      // Private\n      _validationRules: computed(function () {\n        return validationRules;\n      }).readOnly(),\n\n      validate: validate,\n      validateSync: validateSync,\n      validateAttribute: validateAttribute,\n\n      init: function init() {\n        this._super.apply(this, arguments);\n        this.setProperties({\n          attrs: AttrsClass.create({\n            _model: this.get('model')\n          }),\n          _validators: {},\n          _debouncedValidations: {}\n        });\n      },\n      destroy: function destroy() {\n        this._super.apply(this, arguments);\n        var validatableAttrs = get(this, 'validatableAttributes');\n        var debouncedValidations = get(this, '_debouncedValidations');\n\n        // Initiate attrs destroy to cleanup any remaining model references\n        this.get('attrs').destroy();\n\n        // Cancel all debounced timers\n        validatableAttrs.forEach(function (attr) {\n          var attrCache = get(debouncedValidations, attr);\n\n          if (!isNone(attrCache)) {\n            // Itterate over each attribute and cancel all of its debounced validations\n            Object.keys(attrCache).forEach(function (v) {\n              return run.cancel(attrCache[v]);\n            });\n          }\n        });\n      }\n    });\n\n    ValidationsClass.reopenClass({\n      __isCPValidationsClass__: true\n    });\n\n    return ValidationsClass;\n  }\n\n  /**\n   * Creates the `attrs` class which holds all the CP logic\n   *\n   * ```javascript\n   * model.get('validations.attrs.username');\n   * model.get('validations.attrs.nested.object.attribute');\n   * ```\n   *\n   * @method createAttrsClass\n   * @private\n   * @param  {Object} validatableAttributes\n   * @param  {Object} validationRules\n   * @param  {Object} model\n   * @return {Ember.Object}\n   */\n  function createAttrsClass(validatableAttributes, validationRules, model) {\n    var nestedClasses = {};\n    var rootPath = 'root';\n\n    var AttrsClass = _ember.default.Object.extend({\n      __path__: rootPath,\n\n      init: function init() {\n        var _this = this;\n\n        this._super.apply(this, arguments);\n\n        var _model = this.get('_model');\n        var path = this.get('__path__');\n\n        /*\n          Instantiate the nested attrs classes for the current path\n         */\n        Object.keys(nestedClasses[path] || []).forEach(function (key) {\n          set(_this, key, nestedClasses[path][key].create({ _model: _model }));\n        });\n      },\n      willDestroy: function willDestroy() {\n        var _this2 = this;\n\n        this._super.apply(this, arguments);\n\n        var path = this.get('__path__');\n\n        /*\n          Remove the model reference\n         */\n        set(this, '_model', null);\n\n        /*\n          Destroy all nested classes\n         */\n        Object.keys(nestedClasses[path] || []).forEach(function (key) {\n          get(_this2, key).destroy();\n        });\n      }\n    });\n\n    /*\n      Insert CPs + Create nested classes\n     */\n    validatableAttributes.forEach(function (attribute) {\n      var path = attribute.split('.');\n      var attr = path.pop();\n      var currPath = [rootPath];\n      var currClass = AttrsClass;\n\n      // Iterate over the path and create the necessary nested classes along the way\n      for (var i = 0; i < path.length; i++) {\n        var key = path[i];\n        var currPathStr = currPath.join('.');\n        var _nestedClasses = void 0;\n\n        nestedClasses[currPathStr] = nestedClasses[currPathStr] || {};\n        _nestedClasses = nestedClasses[currPathStr];\n\n        currPath.push(key);\n\n        if (!_nestedClasses[key]) {\n          _nestedClasses[key] = AttrsClass.extend({\n            __path__: currPath.join('.')\n          });\n        }\n\n        currClass = _nestedClasses[key];\n      }\n\n      // Add the final attr's CP to the class\n      currClass.reopen(_defineProperty({}, attr, createCPValidationFor(attribute, model, get(validationRules, attribute))));\n    });\n\n    return AttrsClass;\n  }\n\n  /**\n   * CP generator for the given attribute\n   *\n   * @method createCPValidationFor\n   * @private\n   * @param  {String} attribute\n   * @param  {Object} model         Since the CPs are created once per class on the first initialization,\n   *                                this is the first model that was instantiated\n   * @param  {Array} validations\n   * @return {Ember.ComputedProperty} A computed property which is a ResultCollection\n   */\n  function createCPValidationFor(attribute, model, validations) {\n    var isVolatile = hasOption(validations, 'volatile', true);\n    var dependentKeys = isVolatile ? [] : getCPDependentKeysFor(attribute, model, validations);\n\n    var cp = computed.apply(undefined, _toConsumableArray(dependentKeys).concat([(0, _cycleBreaker.default)(function () {\n      var model = get(this, '_model');\n      var validators = !isNone(model) ? getValidatorsFor(attribute, model) : [];\n\n      var validationResults = generateValidationResultsFor(attribute, model, validators, function (validator, options) {\n        return validator.validate(validator.getValue(), options, model, attribute);\n      });\n\n      return _resultCollection.default.create({\n        attribute: attribute,\n        content: validationResults\n      });\n    })])).readOnly();\n\n    if (isVolatile) {\n      cp = cp.volatile();\n    }\n\n    return cp;\n  }\n\n  /**\n   * Check if a collection of validations have an option\n   * equal to the given value\n   *\n   * @method hasOption\n   * @private\n   * @param {Array} validations\n   * @param {String} option\n   * @param {Boolean} [value=true]\n   * @returns {Boolean}\n   */\n  function hasOption(validations, option) {\n    var value = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n    for (var i = 0; i < validations.length; i++) {\n      var _validations$i = validations[i],\n          options = _validations$i.options,\n          _validations$i$defaul = _validations$i.defaultOptions,\n          defaultOptions = _validations$i$defaul === undefined ? {} : _validations$i$defaul,\n          _validations$i$global = _validations$i.globalOptions,\n          globalOptions = _validations$i$global === undefined ? {} : _validations$i$global;\n\n      var mergedOptions = (0, _utils.mergeOptions)(options, defaultOptions, globalOptions);\n\n      if (mergedOptions[option] === value) {\n        return true;\n      }\n    }\n\n    return false;\n  }\n\n  /**\n   * Generates the validation results for a given attribute and validators. If a\n   * given validator should be validated, it calls upon the validate callback to retrieve\n   * the result.\n   *\n   * @method generateValidationResultsFor\n   * @private\n   * @param  {String} attribute\n   * @param  {Object} model\n   * @param  {Array} validators\n   * @param  {Function} validate\n   * @param  {Object} opts\n   *                    - disableDebounceCache {Boolean}\n   * @return {Array}\n   */\n  function generateValidationResultsFor(attribute, model, validators, validate) {\n    var opts = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};\n\n    var isModelValidatable = (0, _utils.isValidatable)(model);\n    var isInvalid = false;\n    var value = void 0,\n        result = void 0;\n\n    return validators.map(function (validator) {\n      var options = get(validator, 'options').copy();\n      var isWarning = getWithDefault(options, 'isWarning', false);\n      var disabled = getWithDefault(options, 'disabled', false);\n      var debounce = getWithDefault(options, 'debounce', 0);\n      var lazy = getWithDefault(options, 'lazy', true);\n\n      if (disabled || lazy && isInvalid || !isModelValidatable) {\n        value = true;\n      } else if (debounce > 0) {\n        var cache = getDebouncedValidationsCacheFor(attribute, model);\n\n        // Return a promise and pass the resolve method to the debounce handler\n        value = new Promise(function (resolve) {\n          var t = run.debounce(validator, resolveDebounce, resolve, debounce);\n\n          if (!opts.disableDebounceCache) {\n            cache[guidFor(validator)] = t;\n          }\n        }).then(function () {\n          return validate(validator, get(validator, 'options').copy());\n        });\n      } else {\n        value = validate(validator, options);\n      }\n\n      result = validationReturnValueHandler(attribute, value, model, validator);\n\n      /*\n        If the current result is invalid, the rest of the validations do not need to be\n        triggered (if lazy) since the attribute is already in an invalid state.\n       */\n      if (!isInvalid && !isWarning && get(result, 'isInvalid')) {\n        isInvalid = true;\n      }\n\n      return result;\n    });\n  }\n\n  /**\n   * Create a mixin that will have all the top level CPs under the validations object.\n   * These are computed collections on different properties of each attribute validations CP\n   *\n   * @method createTopLevelPropsMixin\n   * @private\n   * @param  {Object} validations\n   */\n  function createTopLevelPropsMixin(validatableAttrs) {\n    // Expose the following properties as public APIs via readOnly aliases\n    var aliases = ['isWarning', 'isValid', 'isValidating', 'isDirty', 'isAsync', 'isNotValidating', 'isInvalid', 'isTruelyValid', 'messages', 'message', 'warningMessages', 'warningMessage', 'warnings', 'warning', 'errors', 'error', '_promise'];\n\n    var topLevelProps = aliases.reduce(function (props, alias) {\n      props[alias] = computed.readOnly('__attrsResultCollection__.' + alias);\n      return props;\n    }, {});\n\n    return _ember.default.Mixin.create(topLevelProps, {\n      /*\n        Dedupe logic by creating a top level ResultCollection for all attr's ResultCollections\n       */\n      __attrsResultCollection__: computed.apply(undefined, _toConsumableArray(validatableAttrs.map(function (attr) {\n        return 'attrs.' + attr;\n      })).concat([function () {\n        var _this3 = this;\n\n        return _resultCollection.default.create({\n          attribute: 'Model:' + this,\n          content: validatableAttrs.map(function (attr) {\n            return get(_this3, 'attrs.' + attr);\n          })\n        });\n      }])).readOnly()\n    });\n  }\n\n  /**\n   * CP dependency generator for a give attribute depending on its relationships\n   *\n   * @method getCPDependentKeysFor\n   * @private\n   * @param  {String} attribute\n   * @param  {Object} model         Since the CPs are created once per class on the first initialization,\n   *                                this is the first model that was instantiated\n   * @param  {Array} validations\n   * @return {Array} Unique list of dependencies\n   */\n  function getCPDependentKeysFor(attribute, model, validations) {\n    var owner = getOwner(model);\n\n    var dependentKeys = validations.map(function (validation) {\n      var options = validation.options;\n\n      var type = validation._type;\n      var Validator = type === 'function' ? _base.default : lookupValidator(owner, type).class;\n      var baseDependents = _base.default.getDependentsFor(attribute, options) || [];\n      var dependents = Validator.getDependentsFor(attribute, options) || [];\n\n      return [].concat(_toConsumableArray(baseDependents), _toConsumableArray(dependents), _toConsumableArray(getWithDefault(options, 'dependentKeys', [])), _toConsumableArray(getWithDefault(validation, 'defaultOptions.dependentKeys', [])), _toConsumableArray(getWithDefault(validation, 'globalOptions.dependentKeys', [])), _toConsumableArray(extractOptionsDependentKeys(options)), _toConsumableArray(extractOptionsDependentKeys(get(validation, 'defaultOptions'))), _toConsumableArray(extractOptionsDependentKeys(get(validation, 'globalOptions'))));\n    });\n\n    dependentKeys = (0, _flatten.default)(dependentKeys);\n\n    dependentKeys.push('model.' + attribute);\n\n    if ((0, _utils.isDsModel)(model)) {\n      dependentKeys.push('model.isDeleted');\n    }\n\n    dependentKeys = dependentKeys.map(function (d) {\n      return '' + (d.split('.')[0] === 'model' ? '_' : '') + d;\n    });\n\n    return emberArray(dependentKeys).uniq();\n  }\n\n  /**\n   * Extract all dependentKeys from any property that is a CP\n   *\n   * @method extractOptionsDependentKeys\n   * @private\n   * @param  {Object} options\n   * @return {Array}  dependentKeys\n   */\n  function extractOptionsDependentKeys(options) {\n    if (options && (typeof options === 'undefined' ? 'undefined' : _typeof(options)) === 'object') {\n      return Object.keys(options).reduce(function (arr, key) {\n        var option = options[key];\n\n        if ((0, _utils.isDescriptor)(option)) {\n          return arr.concat(option._dependentKeys || []);\n        }\n\n        return arr;\n      }, []);\n    }\n\n    return [];\n  }\n\n  /**\n   * A handler used to create ValidationResult object from values returned from a validator\n   *\n   * @method validationReturnValueHandler\n   * @private\n   * @param  {String} attribute\n   * @param  {Mixed} value\n   * @param  {Object} model\n   * @return {ValidationResult}\n   */\n  function validationReturnValueHandler(attribute, value, model, validator) {\n    var result = void 0;\n    var commonProps = {\n      model: model,\n      attribute: attribute,\n      _validator: validator\n    };\n\n    if ((0, _utils.isPromise)(value)) {\n      result = _result.default.create(commonProps, {\n        _promise: Promise.resolve(value)\n      });\n    } else {\n      result = _result.default.create(commonProps);\n      result.update(value);\n    }\n\n    return result;\n  }\n\n  /**\n   * Get validators for the give attribute. If they are not in the cache, then create them.\n   *\n   * @method getValidatorsFor\n   * @private\n   * @param  {String} attribute\n   * @param  {Object} model\n   * @return {Array}\n   */\n  function getValidatorsFor(attribute, model) {\n    var validators = get(model, 'validations._validators.' + attribute);\n    return isNone(validators) ? createValidatorsFor(attribute, model) : validators;\n  }\n\n  /**\n   * Get debounced validation cache for the given attribute. If it doesn't exist, create a new one.\n   *\n   * @method getValidatorCacheFor\n   * @private\n   * @param  {String} attribute\n   * @param  {Object} model\n   * @return {Map}\n   */\n  function getDebouncedValidationsCacheFor(attribute, model) {\n    var debouncedValidations = get(model, 'validations._debouncedValidations');\n\n    if (isNone(get(debouncedValidations, attribute))) {\n      (0, _assign.default)(debouncedValidations, attribute, {});\n    }\n\n    return get(debouncedValidations, attribute);\n  }\n\n  /**\n   * Create validators for the give attribute and store them in a cache\n   *\n   * @method createValidatorsFor\n   * @private\n   * @param  {String} attribute\n   * @param  {Object} model\n   * @return {Array}\n   */\n  function createValidatorsFor(attribute, model) {\n    var validations = get(model, 'validations');\n    var validationRules = makeArray(get(validations, '_validationRules.' + attribute));\n    var validatorCache = get(validations, '_validators');\n    var owner = getOwner(model);\n    var validators = [];\n    var validator = void 0;\n\n    // We must have an owner to be able to lookup our validators\n    if (isNone(owner)) {\n      throw new TypeError('[ember-cp-validations] ' + model.toString() + ' is missing a container or owner.');\n    }\n\n    validationRules.forEach(function (v) {\n      v.attribute = attribute;\n      v.model = model;\n\n      // If validate function exists, that means validator was created with a function so use the base class\n      if (v._type === 'function') {\n        validator = _base.default.create(owner.ownerInjection(), v);\n      } else {\n        validator = lookupValidator(owner, v._type).create(v);\n      }\n\n      validators.push(validator);\n    });\n\n    // Add validators to model instance cache\n    (0, _assign.default)(validatorCache, attribute, validators);\n\n    return validators;\n  }\n\n  /**\n   * Lookup a validators of a specific type on the owner\n   *\n   * @method lookupValidator\n   * @throws {Error} Validator not found\n   * @private\n   * @param  {Ember.Owner} owner\n   * @param  {String} type\n   * @return {Class} Validator class or undefined if not found\n   */\n  function lookupValidator(owner, type) {\n    var validatorClass = owner.factoryFor('validator:' + type);\n\n    if (isNone(validatorClass)) {\n      throw new Error('[ember-cp-validations] Validator not found of type: ' + type + '.');\n    }\n\n    return validatorClass;\n  }\n\n  /**\n   * Call the passed resolve method. This is needed as run.debounce expects a\n   * static method to work properly.\n   *\n   * @method resolveDebounce\n   * @private\n   * @param  {Function} resolve\n   */\n  function resolveDebounce(resolve) {\n    resolve();\n  }\n\n  /**\n   * ```javascript\n   * model.validate({ on: ['username', 'email'] }).then(({ m, validations }) => {\n   *   validations.get('isValid'); // true or false\n   *   validations.get('isValidating'); // false\n   *\n   *   let usernameValidations = m.get('validations.attrs.username');\n   *   usernameValidations.get('isValid') // true or false\n   * });\n   * ```\n   *\n   * @method validate\n   * @param  {Object} options\n   * @param  {Array} options.on Only validate the given attributes. If empty, will validate over all validatable attribute\n   * @param  {Array} options.excludes Exclude validation on the given attributes\n   * @param  {Boolean} isAsync      If `false`, will get all validations and will error if an async validations is found.\n   *                              If `true`, will get all validations and wrap them in a promise hash\n   * @return {Promise or Object}  Promise if isAsync is true, object if isAsync is false\n   */\n  function validate() {\n    var _this4 = this;\n\n    var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    var isAsync = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n    var model = get(this, 'model');\n    var whiteList = makeArray(options.on);\n    var blackList = makeArray(options.excludes);\n\n    var validationResults = get(this, 'validatableAttributes').reduce(function (v, name) {\n      if (!isEmpty(blackList) && blackList.indexOf(name) !== -1) {\n        return v;\n      }\n\n      if (isEmpty(whiteList) || whiteList.indexOf(name) !== -1) {\n        var validationResult = get(_this4, 'attrs.' + name);\n\n        // If an async validation is found, throw an error\n        if (!isAsync && get(validationResult, 'isAsync')) {\n          throw new Error('[ember-cp-validations] Synchronous validation failed due to ' + name + ' being an async validation.');\n        }\n\n        v.push(validationResult);\n      }\n\n      return v;\n    }, []);\n\n    var validations = _resultCollection.default.create({\n      attribute: 'Validate:' + model,\n      content: validationResults\n    });\n\n    var resultObject = { model: model, validations: validations };\n\n    if (isAsync) {\n      return Promise.resolve(get(validations, '_promise')).then(function () {\n        /*\n          NOTE: When dealing with belongsTo and hasMany relationships, there are cases\n          where we have to resolve the actual models and only then resolve all the underlying\n          validation promises. This is the reason that `validate` must be called recursively.\n         */\n        return get(validations, 'isValidating') ? _this4.validate(options, isAsync) : resultObject;\n      });\n    }\n\n    return resultObject;\n  }\n\n  /**\n   * A functional approach to check if a given attribute on a model is valid independently of the\n   * model attribute's validations. This method will always return a promise which will then resolve\n   * to a {{#crossLink \"ResultCollection\"}}{{/crossLink}}.\n   *\n   * ```javascript\n   * model.validateAttribute('username', 'offirgolan').then(({ m, validations }) => {\n   *   validations.get('isValid'); // true or false\n   *   validations.get('isValidating'); // false\n   * });\n   * ```\n   *\n   * @method validateAttribute\n   * @param  {String}   attribute\n   * @param  {Mixed}  value\n   * @return {Promise}\n   * @async\n   */\n  function validateAttribute(attribute, value) {\n    var _this5 = this;\n\n    var model = get(this, 'model');\n    var validators = !isNone(model) ? getValidatorsFor(attribute, model) : [];\n\n    var validationResults = generateValidationResultsFor(attribute, model, validators, function (validator, options) {\n      return validator.validate(value, options, model, attribute);\n    }, {\n      disableDebounceCache: true\n    });\n\n    var validations = _resultCollection.default.create({\n      attribute: attribute,\n      content: (0, _flatten.default)(validationResults)\n    });\n\n    var result = { model: model, validations: validations };\n\n    return Promise.resolve(get(validations, '_promise')).then(function () {\n      /*\n        NOTE: When dealing with belongsTo and hasMany relationships, there are cases\n        where we have to resolve the actual models and only then resolve all the underlying\n        validation promises. This is the reason that `validateAttribute` must be called recursively.\n       */\n      return get(validations, 'isValidating') ? _this5.validateAttribute(attribute, value) : result;\n    });\n  }\n\n  /**\n   * ```javascript\n   * let { m, validations } = model.validateSync();\n   * validations.get('isValid') // true or false\n   * ```\n   *\n   * @method validateSync\n   * @param  {Object}  options\n   * @param  {Array} options.on Only validate the given attributes. If empty, will validate over all validatable attribute\n   * @param  {Array} options.excludes Exclude validation on the given attributes\n   * @return {Object}\n   */\n  function validateSync(options) {\n    return this.validate(options, false);\n  }\n});","define('ember-cp-validations/validations/result-collection', ['exports', 'ember', 'ember-cp-validations/utils/flatten', 'ember-cp-validations/utils/cycle-breaker'], function (exports, _ember, _flatten, _cycleBreaker) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var get = _ember.default.get,\n      set = _ember.default.set,\n      RSVP = _ember.default.RSVP,\n      computed = _ember.default.computed,\n      isArray = _ember.default.isArray,\n      isNone = _ember.default.isNone,\n      emberArray = _ember.default.A;\n\n\n  var A = emberArray();\n\n  function callable(method) {\n    return function (collection) {\n      return A[method].apply(collection, arguments);\n    };\n  }\n\n  var uniq = callable('uniq');\n  var compact = callable('compact');\n\n  /*\n    CP Macros\n   */\n  function isAny(collection, key, value, defaultValue) {\n    return computed(collection + '.@each.' + key, (0, _cycleBreaker.default)(function () {\n      return get(this, collection).isAny(key, value);\n    }, defaultValue));\n  }\n\n  function isEvery(collection, key, value, defaultValue) {\n    return computed(collection + '.@each.' + key, (0, _cycleBreaker.default)(function () {\n      return get(this, collection).isEvery(key, value);\n    }, defaultValue));\n  }\n\n  /**\n   * @module Validations\n   * @class ResultCollection\n   */\n  exports.default = _ember.default.ArrayProxy.extend({\n    init: function init() {\n      set(this, 'content', emberArray(compact(get(this, 'content'))));\n      this._super.apply(this, arguments);\n    },\n\n\n    /**\n     * The attribute that this collection belongs to\n     *\n     * @property attribute\n     * @type {String}\n     */\n    attribute: null,\n\n    /**\n     * ```javascript\n     * // Examples\n     * get(user, 'validations.isWarning')\n     * get(user, 'validations.attrs.username.isWarning')\n     * ```\n     *\n     * @property isWarning\n     * @default false\n     * @readOnly\n     * @type {Boolean}\n     */\n    isWarning: isEvery('content', 'isWarning', true, false).readOnly(),\n\n    /**\n     * ```javascript\n     * // Examples\n     * get(user, 'validations.isInvalid')\n     * get(user, 'validations.attrs.username.isInvalid')\n     * ```\n     *\n     * @property isInvalid\n     * @default false\n     * @readOnly\n     * @type {Boolean}\n     */\n    isInvalid: computed.not('isValid').readOnly(),\n\n    /**\n     * ```javascript\n     * // Examples\n     * get(user, 'validations.isValid')\n     * get(user, 'validations.attrs.username.isValid')\n     * ```\n     *\n     * @property isValid\n     * @default true\n     * @readOnly\n     * @type {Boolean}\n     */\n    isValid: isEvery('_errorContent', 'isValid', true, true).readOnly(),\n\n    /**\n     * This property is toggled only if there is an async validation\n     *\n     * ```javascript\n     * // Examples\n     * get(user, 'validations.isValidating')\n     * get(user, 'validations.attrs.username.isValidating')\n     * ```\n     *\n     * @property isValidating\n     * @default false\n     * @readOnly\n     * @type {Boolean}\n     */\n    isValidating: isAny('content', 'isValidating', true, false).readOnly(),\n\n    /**\n     * Will be true only if isValid is `true` and isValidating is `false`\n     *\n     * ```javascript\n     * // Examples\n     * get(user, 'validations.isTruelyValid')\n     * get(user, 'validations.attrs.username.isTruelyValid')\n     * ```\n     *\n     * @property isTruelyValid\n     * @default true\n     * @readOnly\n     * @type {Boolean}\n     */\n    isTruelyValid: isEvery('_errorContent', 'isTruelyValid', true, true).readOnly(),\n\n    /**\n     * Will be true is the attribute in question is not `null` or `undefined`. If the object being\n     * validated is an Ember Data Model and you have a `defaultValue` specified, then it will use that for comparison.\n     *\n     * ```javascript\n     * // Examples\n     * // 'username' : DS.attr('string', { defaultValue: 'johndoe' })\n     * get(user, 'validations.isDirty')\n     * get(user, 'validations.attrs.username.isDirty')\n     * ```\n     *\n     * @property isDirty\n     * @default false\n     * @readOnly\n     * @type {Boolean}\n     */\n    isDirty: isAny('_errorContent', 'isDirty', true, false).readOnly(),\n\n    /**\n     * Will be `true` only if a validation returns a promise\n     *\n     * ```javascript\n     * // Examples\n     * get(user, 'validations.isAsync')\n     * get(user, 'validations.attrs.username.isAsync')\n     * ```\n     *\n     * @property isAsync\n     * @default false\n     * @readOnly\n     * @type {Boolean}\n     */\n    isAsync: isAny('content', 'isAsync', true, false).readOnly(),\n\n    /**\n     * A collection of all error messages on the object in question\n     *\n     * ```javascript\n     * // Examples\n     * get(user, 'validations.messages')\n     * get(user, 'validations.attrs.username.messages')\n     * ```\n     *\n     * @property messages\n     * @readOnly\n     * @type {Array}\n     */\n    messages: computed('_errorContent.@each.messages', (0, _cycleBreaker.default)(function () {\n      var messages = (0, _flatten.default)(get(this, '_errorContent').getEach('messages'));\n      return uniq(compact(messages));\n    })).readOnly(),\n\n    /**\n     * An alias to the first message in the messages collection.\n     *\n     * ```javascript\n     * // Example\n     * get(user, 'validations.message')\n     * get(user, 'validations.attrs.username.message')\n     * ```\n     *\n     * @property message\n     * @readOnly\n     * @type {String}\n     */\n    message: computed.readOnly('messages.firstObject'),\n\n    /**\n     * A collection of all warning messages on the object in question\n     *\n     * ```javascript\n     * // Examples\n     * get(user, 'validations.warningMessages')\n     * get(user, 'validations.attrs.username.warningMessages')\n     * ```\n     *\n     * @property warningMessages\n     * @readOnly\n     * @type {Array}\n     */\n    warningMessages: computed('_warningContent.@each.messages', (0, _cycleBreaker.default)(function () {\n      var messages = (0, _flatten.default)(get(this, '_warningContent').getEach('messages'));\n      return uniq(compact(messages));\n    })).readOnly(),\n\n    /**\n     * An alias to the first message in the warningMessages collection.\n     *\n     * ```javascript\n     * // Example\n     * get(user, 'validations.warningMessage')\n     * get(user, 'validations.attrs.username.warningMessage')\n     * ```\n     *\n     * @property warningMessage\n     * @readOnly\n     * @type {String}\n     */\n    warningMessage: computed.readOnly('warningMessages.firstObject'),\n\n    /**\n     * A collection of all {{#crossLink \"Error\"}}Warnings{{/crossLink}} on the object in question.\n     * Each warning object includes the warning message and it's associated attribute name.\n     *\n     * ```javascript\n     * // Example\n     * get(user, 'validations.warnings')\n     * get(user, 'validations.attrs.username.warnings')\n     * ```\n     *\n     * @property warnings\n     * @readOnly\n     * @type {Array}\n     */\n    warnings: computed('attribute', '_warningContent.@each.errors', (0, _cycleBreaker.default)(function () {\n      return computeErrorCollection(get(this, 'attribute'), get(this, '_warningContent'));\n    })).readOnly(),\n\n    /**\n     * An alias to the first {{#crossLink \"Warning\"}}{{/crossLink}} in the warnings collection.\n     *\n     * ```javascript\n     * // Example\n     * get(user, 'validations.warning')\n     * get(user, 'validations.attrs.username.warning')\n     * ```\n     *\n     * @property warning\n     * @readOnly\n     * @type {Error}\n     */\n    warning: computed.readOnly('warnings.firstObject'),\n\n    /**\n     * A collection of all {{#crossLink \"Error\"}}Errors{{/crossLink}} on the object in question.\n     * Each error object includes the error message and it's associated attribute name.\n     *\n     * ```javascript\n     * // Example\n     * get(user, 'validations.errors')\n     * get(user, 'validations.attrs.username.errors')\n     * ```\n     *\n     * @property errors\n     * @readOnly\n     * @type {Array}\n     */\n    errors: computed('attribute', '_errorContent.@each.errors', (0, _cycleBreaker.default)(function () {\n      return computeErrorCollection(get(this, 'attribute'), get(this, '_errorContent'));\n    })).readOnly(),\n\n    /**\n     * An alias to the first {{#crossLink \"Error\"}}{{/crossLink}} in the errors collection.\n     *\n     * ```javascript\n     * // Example\n     * get(user, 'validations.error')\n     * get(user, 'validations.attrs.username.error')\n     * ```\n     *\n     * @property error\n     * @readOnly\n     * @type {Error}\n     */\n    error: computed.readOnly('errors.firstObject'),\n\n    /**\n     * All built options of the validators associated with the results in this collection grouped by validator type\n     *\n     * ```javascript\n     * // Given the following validators\n     * {\n     *   username: [\n     *     validator('presence', true),\n     *     validator('length', { max: 15 }),\n     *     validator('format', { regex: /foo/ }),\n     *     validator('format', { regex: /bar/ }),\n     *   ]\n     * }\n     * ```\n     *\n     * ```js\n     * get(user, 'validations.attrs.username.options')\n     * ```\n     *\n     * The above will return the following\n     * ```js\n     * {\n     *   'presence': { presence: true},\n     *   'length': { max: 15 },\n     *   'regex': [{ regex: /foo/ }, { regex: /bar/ }]\n     * }\n     * ```\n     *\n     * @property options\n     * @readOnly\n     * @type {Object}\n     */\n    options: computed('_contentValidators.@each.options', function () {\n      return groupValidatorOptions(get(this, '_contentValidators'));\n    }).readOnly(),\n\n    /**\n     * @property _promise\n     * @async\n     * @private\n     * @type {Promise}\n     */\n    _promise: computed('content.@each._promise', '_contentValidations.@each._promise', (0, _cycleBreaker.default)(function () {\n      var promises = [this.get('_contentValidations').getEach('_promise'), this.getEach('_promise')];\n      return RSVP.allSettled(compact((0, _flatten.default)(promises)));\n    })).readOnly(),\n\n    /**\n    * @property _contentValidations\n    * @type {Array}\n    * @private\n    */\n    _contentValidations: computed('content.@each._validations', function () {\n      return emberArray(compact(this.getEach('_validations')));\n    }).readOnly(),\n\n    /**\n     * @property _contentValidators\n     * @type {Array}\n     * @private\n     */\n    _contentValidators: computed.mapBy('_errorContent', '_validator').readOnly(),\n\n    /**\n     * @property _errorContent\n     * @type {Array}\n     * @private\n     */\n    _errorContent: computed.filterBy('content', 'isWarning', false).readOnly(),\n\n    /**\n     * @property _warningContent\n     * @type {Array}\n     * @private\n     */\n    _warningContent: computed.filterBy('content', 'isWarning', true).readOnly()\n  });\n\n\n  function computeErrorCollection(attribute) {\n    var content = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\n    var errors = (0, _flatten.default)(content.getEach('errors'));\n\n    errors = uniq(compact(errors));\n    errors.forEach(function (e) {\n      if (attribute && e.get('attribute') !== attribute) {\n        e.set('parentAttribute', attribute);\n      }\n    });\n\n    return errors;\n  }\n\n  /**\n   * Used by the `options` property to create a hash from the `content` that is grouped by validator type.\n   * If there is more than 1 of a type, it groups it into an array of option objects.\n   */\n  function groupValidatorOptions() {\n    var validators = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n\n    return validators.reduce(function (options, v) {\n      if (isNone(v) || isNone(get(v, '_type'))) {\n        return options;\n      }\n\n      var type = get(v, '_type');\n      var vOpts = get(v, 'options').copy();\n\n      if (options[type]) {\n        if (isArray(options[type])) {\n          options[type].push(vOpts);\n        } else {\n          options[type] = [options[type], vOpts];\n        }\n      } else {\n        options[type] = vOpts;\n      }\n      return options;\n    }, {});\n  }\n});","define('ember-cp-validations/validations/validator', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function (arg1, options) {\n    var props = {\n      options: isNone(options) ? {} : options\n    };\n\n    if (typeof arg1 === 'function') {\n      props.validate = arg1;\n      props._type = 'function';\n    } else if (typeof arg1 === 'string') {\n      props._type = arg1;\n    } else {\n      throw new TypeError('[ember-cp-validations] Unexpected type for first validator argument. It should either be a string or a function');\n    }\n\n    return props;\n  };\n\n  var isNone = _ember.default.isNone;\n});","define('ember-cp-validations/validators/alias', ['exports', 'ember', 'ember-cp-validations/validators/base'], function (exports, _ember, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var get = _ember.default.get,\n      assert = _ember.default.assert,\n      isPresent = _ember.default.isPresent,\n      getProperties = _ember.default.getProperties;\n\n\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Creates an alias between a single attribute's validations to another.\n   *  This copies all messages, errors, etc., to the current attribute as well as\n   *  its validation state (isValid, isValidating, etc.)\n   *\n   *  ## Examples\n   *\n   *  ```javascript\n   *  validator('alias', 'attribute')\n   *  validator('alias', {\n   *    alias: 'attribute',\n   *    firstMessageOnly: true\n   *  })\n   *  ```\n   *\n   *  @class Alias\n   *  @module Validators\n   *  @extends Base\n   */\n  var Alias = _base.default.extend({\n    buildOptions: function buildOptions() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      var defaultOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      var globalOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n      var opts = options;\n\n      if (typeof options === 'string') {\n        opts = {\n          alias: options\n        };\n      }\n      return this._super(opts, defaultOptions, globalOptions);\n    },\n    validate: function validate(value, options, model, attribute) {\n      var _getProperties = getProperties(options, ['alias', 'firstMessageOnly']),\n          alias = _getProperties.alias,\n          firstMessageOnly = _getProperties.firstMessageOnly;\n\n      assert('[validator:alias] [' + attribute + '] option \\'alias\\' is required', isPresent(alias));\n\n      var aliasValidation = get(model, 'validations.attrs.' + alias);\n\n      return firstMessageOnly ? get(aliasValidation, 'message') : get(aliasValidation, 'content');\n    }\n  });\n\n  Alias.reopenClass({\n    getDependentsFor: function getDependentsFor(attribute, options) {\n      var alias = typeof options === 'string' ? options : get(options, 'alias');\n\n      assert('[validator:alias] [' + attribute + '] \\'alias\\' must be a string', typeof alias === 'string');\n\n      return [alias + '.messages.[]', alias + '.isTruelyValid'];\n    }\n  });\n\n  exports.default = Alias;\n});","define('ember-cp-validations/validators/base', ['exports', 'ember', 'ember-cp-validations/validators/messages', 'ember-cp-validations/-private/options', 'ember-cp-validations/utils/utils'], function (exports, _ember, _messages, _options, _utils) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var get = _ember.default.get,\n      set = _ember.default.set,\n      isNone = _ember.default.isNone,\n      computed = _ember.default.computed,\n      getOwner = _ember.default.getOwner;\n\n\n  /**\n   * @class Base\n   * @module Validators\n   */\n  var Base = _ember.default.Object.extend({\n\n    /**\n     * Options passed in to the validator when defined in the model\n     * @property options\n     * @type {Object}\n     */\n    options: null,\n\n    /**\n     * Default validation options for this specific attribute\n     * @property defaultOptions\n     * @type {Object}\n     */\n    defaultOptions: null,\n\n    /**\n     * Global validation options for this model\n     * @property globalOptions\n     * @type {Object}\n     */\n    globalOptions: null,\n\n    /**\n     * Model instance\n     * @property model\n     * @type {Model}\n     */\n    model: null,\n\n    /**\n     * Attributed name of the model this validator is attached to\n     * @property attribute\n     * @type {String}\n     */\n    attribute: null,\n\n    /**\n     * Error message object. Populated by validators/messages\n     * @property errorMessages\n     * @type {Object}\n     */\n    errorMessages: null,\n\n    /**\n     * @property isWarning\n     * @type {Boolean}\n     */\n    isWarning: computed.bool('options.isWarning').readOnly(),\n\n    /**\n     * Validator type\n     * @property _type\n     * @private\n     * @type {String}\n     */\n    _type: null,\n\n    init: function init() {\n      this._super.apply(this, arguments);\n      var globalOptions = get(this, 'globalOptions');\n      var defaultOptions = get(this, 'defaultOptions');\n      var options = get(this, 'options');\n      var owner = getOwner(this);\n      var errorMessages = void 0;\n\n      if (!isNone(owner)) {\n        // Since default error messages are stored in app/validators/messages, we have to look it up via the owner\n        errorMessages = owner.factoryFor('validator:messages');\n      }\n\n      // If for some reason, we can't find the messages object (i.e. unit tests), use default\n      errorMessages = errorMessages || _messages.default;\n\n      set(this, 'options', this.buildOptions(options || {}, defaultOptions || {}, globalOptions || {}));\n      set(this, 'errorMessages', errorMessages.create());\n    },\n    buildOptions: function buildOptions() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      var defaultOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      var globalOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n      var builtOptions = (0, _utils.mergeOptions)(options, defaultOptions, globalOptions);\n\n      // Overwrite the validator's value method if it exists in the options and remove it since\n      // there is no need for it to be passed around\n      this.value = builtOptions.value || this.value;\n      delete builtOptions.value;\n\n      return _options.default.create({\n        model: get(this, 'model'),\n        attribute: get(this, 'attribute'),\n        __options__: builtOptions\n      });\n    },\n    value: function value(model, attribute) {\n      return get(model, attribute);\n    },\n    getValue: function getValue() {\n      var value = this.value(get(this, 'model'), get(this, 'attribute'));\n      return (0, _utils.getValidatableValue)(value);\n    },\n    validate: function validate() {\n      return true;\n    },\n    createErrorMessage: function createErrorMessage(type, value) {\n      var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n      var messages = this.get('errorMessages');\n      var message = (0, _utils.unwrapString)(get(options, 'message'));\n\n      set(options, 'description', messages.getDescriptionFor(get(this, 'attribute'), options));\n\n      if (message) {\n        if (typeof message === 'string') {\n          message = messages.formatMessage(message, options);\n        } else if (typeof message === 'function') {\n          message = message.apply(this, arguments);\n          message = isNone(message) ? messages.getMessageFor(type, options) : messages.formatMessage(message, options);\n        }\n      } else {\n        message = messages.getMessageFor(type, options);\n      }\n\n      return message.trim();\n    }\n  });\n\n  Base.reopenClass({\n    getDependentsFor: function getDependentsFor() {\n      return [];\n    }\n  });\n\n  exports.default = Base;\n});","define('ember-cp-validations/validators/belongs-to', ['exports', 'ember', 'ember-cp-validations/validators/base', 'ember-cp-validations/utils/utils'], function (exports, _ember, _base, _utils) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  var get = _ember.default.get;\n\n\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Identifies a `belongs-to` relationship in an Ember Data Model or Ember.Object.\n   *  This is used to create a link to the validations object of the child model.\n   *\n   *  _**Note:** Validations must exist on **both** models/objects_\n   *\n   *  ### Ember Model\n   *\n   *  ```javascript\n   *  // model/users.js\n   *\n   *  const Validations = buildValidations({\n   *    details: validator('belongs-to')\n   *  });\n   *\n   *  export default DS.Model.extend(Validations, {\n   *    'details': DS.belongsTo('user-detail')\n   *  });\n   *  ```\n   *\n   *  ```javascript\n   *  // model/user-details.js\n   *\n   *  const Validations = buildValidations({\n   *    firstName: validator('presence', true),\n   *    lastName: validator('presence', true)\n   *  });\n   *\n   *  export default DS.Model.extend(Validations, {\n   *    \"firstName\": attr('string'),\n   *    \"lastName\": attr('string'),\n   *  });\n   *  ```\n   *\n   *  ### Ember Object\n   *\n   *  ```javascript\n   *  // model/users.js\n   *\n   *  import UserDetails from '../user-details';\n   *\n   *  const Validations = buildValidations({\n   *    details: validator('belongs-to')\n   *  });\n   *\n   *  export default Ember.Object.extend(Validations, {\n   *    details: null,\n   *\n   *    init() {\n   *      this._super(...arguments);\n   *      let owner = Ember.getOwner(this);\n   *      this.set('details', UserDetails.create(owner.ownerInjection()));\n   *    }\n   *  });\n   *  ```\n   *\n   *  From our `user` model, we can now check any validation property on the `user-details` model.\n   *\n   *  ```javascript\n   *  get(model, 'validations.attrs.details.isValid')\n   *  get(model, 'validations.attrs.details.messages')\n   *  ```\n   *\n   *  @class Belongs To\n   *  @module Validators\n   *  @extends Base\n   */\n  var BelongsTo = _base.default.extend({\n    validate: function validate(value) {\n      var _this = this;\n\n      for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        args[_key - 1] = arguments[_key];\n      }\n\n      if (value) {\n        if ((0, _utils.isPromise)(value)) {\n          return value.then(function (model) {\n            return _this.validate.apply(_this, [model].concat(_toConsumableArray(args)));\n          });\n        }\n\n        return get(value, 'validations');\n      }\n\n      return true;\n    }\n  });\n\n  BelongsTo.reopenClass({\n    getDependentsFor: function getDependentsFor(attribute) {\n      return ['model.' + attribute + '.isDeleted', 'model.' + attribute + '.content.isDeleted', 'model.' + attribute + '.validations', 'model.' + attribute + '.content.validations'];\n    }\n  });\n\n  exports.default = BelongsTo;\n});","define('ember-cp-validations/validators/collection', ['exports', 'ember', 'ember-cp-validations/-private/ember-validator'], function (exports, _ember, _emberValidator) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var get = _ember.default.get;\n\n\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  If `true` validates that the given value is a valid collection and will add `<ATTRIBUTE>.[]` as a dependent key to the CP.\n   *  If `false`, validates that the given value is singular. Use this validator if you want validation to occur when the content of your collection changes.\n   *\n   *  ## Examples\n   *\n   *  ```javascript\n   *  validator('collection', true)\n   *  validator('collection', false)\n   *  validator('collection', {\n   *    collection: true,\n   *    message: 'must be a collection'\n   *  })\n   *  ```\n   *\n   *  @class Collection\n   *  @module Validators\n   *  @extends Base\n   */\n  var Collection = _emberValidator.default.extend({\n    _evType: 'collection',\n\n    buildOptions: function buildOptions() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      var defaultOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      var globalOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n      var opts = options;\n\n      if (typeof options === 'boolean') {\n        opts = {\n          collection: options\n        };\n      }\n      return this._super(opts, defaultOptions, globalOptions);\n    }\n  });\n\n  Collection.reopenClass({\n    getDependentsFor: function getDependentsFor(attribute, options) {\n      return options === true || get(options, 'collection') === true ? ['model.' + attribute + '.[]'] : [];\n    }\n  });\n\n  exports.default = Collection;\n});","define('ember-cp-validations/validators/confirmation', ['exports', 'ember', 'ember-cp-validations/-private/ember-validator'], function (exports, _ember, _emberValidator) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var get = _ember.default.get,\n      assert = _ember.default.assert;\n\n\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Validates that the attribute has the same value as the one of the declared attribute.\n   *\n   *  ## Examples\n   *\n   *  ```javascript\n   *  email: validator('format', {\n   *    type: 'email'\n   *  })\n   *  verifiedEmail: validator('confirmation', {\n   *    on: 'email',\n   *    message: 'Email addresses do not match'\n   *  })\n   *  ```\n   *\n   *  @class Confirmation\n   *  @module Validators\n   *  @extends Base\n   */\n  var Confirmation = _emberValidator.default.extend({\n    _evType: 'confirmation'\n  });\n\n  Confirmation.reopenClass({\n    getDependentsFor: function getDependentsFor(attribute, options) {\n      var on = get(options, 'on');\n\n      assert('[validator:confirmation] [' + attribute + '] \\'on\\' must be a string', typeof on === 'string');\n\n      return on ? ['model.' + on] : [];\n    }\n  });\n\n  exports.default = Confirmation;\n});","define('ember-cp-validations/validators/date', ['exports', 'ember-cp-validations/-private/ember-validator'], function (exports, _emberValidator) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _emberValidator.default.extend({\n    _evType: 'date'\n  });\n});","define('ember-cp-validations/validators/dependent', ['exports', 'ember', 'ember-cp-validations/validators/base'], function (exports, _ember, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var A = _ember.default.A,\n      get = _ember.default.get,\n      getWithDefault = _ember.default.getWithDefault,\n      getProperties = _ember.default.getProperties,\n      assert = _ember.default.assert,\n      isNone = _ember.default.isNone,\n      isEmpty = _ember.default.isEmpty,\n      isPresent = _ember.default.isPresent,\n      isArray = _ember.default.isArray;\n\n\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Defines an attribute as valid only if its dependents are valid.\n   *\n   *  ## Example\n   *\n   *  ```javascript\n   *  // Full name will only be valid if firstName and lastName are filled in\n   *  validator('dependent', {\n   *    on: ['firstName', 'lastName']\n   *  })\n   *  ```\n   *\n   *  @class Dependent\n   *  @module Validators\n   *  @extends Base\n   */\n  var Dependent = _base.default.extend({\n    validate: function validate(value, options, model, attribute) {\n      var _getProperties = getProperties(options, ['on', 'allowBlank']),\n          on = _getProperties.on,\n          allowBlank = _getProperties.allowBlank;\n\n      assert('[validator:dependent] [' + attribute + '] option \\'on\\' is required', isPresent(on));\n\n      if (isNone(model)) {\n        return true;\n      }\n\n      if (allowBlank && isEmpty(value)) {\n        return true;\n      }\n\n      var dependentValidations = getWithDefault(options, 'on', A()).map(function (dependent) {\n        return get(model, 'validations.attrs.' + dependent);\n      });\n\n      if (!isEmpty(dependentValidations.filter(function (v) {\n        return !get(v, 'isTruelyValid');\n      }))) {\n        return this.createErrorMessage('invalid', value, options);\n      }\n\n      return true;\n    }\n  });\n\n  Dependent.reopenClass({\n    getDependentsFor: function getDependentsFor(attribute, options) {\n      var dependents = get(options, 'on');\n\n      assert('[validator:dependent] [' + attribute + '] \\'on\\' must be an array', isArray(dependents));\n\n      if (!isEmpty(dependents)) {\n        return dependents.map(function (dependent) {\n          return dependent + '.isTruelyValid';\n        });\n      }\n\n      return [];\n    }\n  });\n\n  exports.default = Dependent;\n});","define('ember-cp-validations/validators/ds-error', ['exports', 'ember-cp-validations/-private/ember-validator', 'ember-validators/ds-error'], function (exports, _emberValidator, _dsError) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Creates a link between this library and Ember-Data's [DS.Errors](http://emberjs.com/api/data/classes/DS.Errors.html)\n   *  to fetch the latest message for the given attribute.\n   *\n   *  ## Examples\n   *\n   *  ```javascript\n   *  validator('ds-error')\n   *  ```\n   *\n   *  @class DS Error\n   *  @module Validators\n   *  @extends Base\n   */\n  /**\n   * Copyright 2016, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  var DSError = _emberValidator.default.extend({\n    _evType: 'ds-error'\n  });\n\n  DSError.reopenClass({\n    getDependentsFor: function getDependentsFor(attribute) {\n      var _getPathAndKey = (0, _dsError.getPathAndKey)(attribute),\n          path = _getPathAndKey.path,\n          key = _getPathAndKey.key;\n\n      return ['model.' + path + '.' + key + '.[]'];\n    }\n  });\n\n  exports.default = DSError;\n});","define('ember-cp-validations/validators/exclusion', ['exports', 'ember-cp-validations/-private/ember-validator'], function (exports, _emberValidator) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _emberValidator.default.extend({\n    _evType: 'exclusion'\n  });\n});","define('ember-cp-validations/validators/format', ['exports', 'ember-cp-validations/-private/ember-validator', 'ember-validators/format'], function (exports, _emberValidator, _format) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _emberValidator.default.extend({\n    _evType: 'format',\n    regularExpressions: _format.regularExpressions\n  });\n});","define('ember-cp-validations/validators/has-many', ['exports', 'ember-cp-validations/validators/base', 'ember-cp-validations/utils/utils'], function (exports, _base, _utils) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Identifies a `has-many` relationship in an Ember Data Model or Ember.Object.\n   *  This is used to create a validation collection of the `has-many` validations.\n   *\n   *  _**Note:** Validations must exist on **all** models/objects_\n   *\n   *  ### Ember Models\n   *\n   *  ```javascript\n   *  // model/users.js\n   *\n   *  const Validations = buildValidations({\n   *    friends: validator('has-many')\n   *  });\n   *\n   *  export default DS.Model.extend(Validations, {\n   *    friends: DS.hasMany('user')\n   *  });\n   *  ```\n   *\n   *  ### Ember Objects\n   *\n   *  ```javascript\n   *  // model/users.js\n   *\n   *  const Validations = buildValidations({\n   *    friends: validator('has-many')\n   *  });\n   *\n   *  export default Ember.Object.extend(Validations, {\n   *    friends: null\n   *  });\n   *  ```\n   *\n   *  From our `user` model, we can now check validation properties on the `friends` attribute.\n   *\n   *  ```javascript\n   *  get(model, 'validations.attrs.friends.isValid')\n   *  get(model, 'validations.attrs.friends.messages')\n   *  ```\n   *\n   *  @class Has Many\n   *  @module Validators\n   *  @extends Base\n   */\n  var HasMany = _base.default.extend({\n    validate: function validate(value) {\n      var _this = this;\n\n      for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        args[_key - 1] = arguments[_key];\n      }\n\n      if (value) {\n        if ((0, _utils.isPromise)(value)) {\n          return value.then(function (models) {\n            return _this.validate.apply(_this, [models].concat(_toConsumableArray(args)));\n          });\n        }\n\n        return value.map(function (m) {\n          return m.get('validations');\n        });\n      }\n\n      return true;\n    }\n  });\n\n  HasMany.reopenClass({\n    getDependentsFor: function getDependentsFor(attribute) {\n      /*\n        The content.@each.isDeleted must be added for older ember-data versions\n       */\n      return ['model.' + attribute + '.[]', 'model.' + attribute + '.@each.isDeleted', 'model.' + attribute + '.content.@each.isDeleted', 'model.' + attribute + '.@each.validations', 'model.' + attribute + '.content.@each.validations'];\n    }\n  });\n\n  exports.default = HasMany;\n});","define('ember-cp-validations/validators/inclusion', ['exports', 'ember-cp-validations/-private/ember-validator'], function (exports, _emberValidator) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _emberValidator.default.extend({\n    _evType: 'inclusion'\n  });\n});","define('ember-cp-validations/validators/length', ['exports', 'ember-cp-validations/-private/ember-validator'], function (exports, _emberValidator) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _emberValidator.default.extend({\n    _evType: 'length'\n  });\n});","define('ember-cp-validations/validators/messages', ['exports', 'ember', 'ember-validators/messages'], function (exports, _ember, _messages) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _ember.default.Object.extend(_messages.default);\n});","define('ember-cp-validations/validators/number', ['exports', 'ember-cp-validations/-private/ember-validator'], function (exports, _emberValidator) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _emberValidator.default.extend({\n    _evType: 'number'\n  });\n});","define('ember-cp-validations/validators/presence', ['exports', 'ember-cp-validations/-private/ember-validator'], function (exports, _emberValidator) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _emberValidator.default.extend({\n    _evType: 'presence',\n\n    /**\n     * Normalized options passed in.\n     * ```js\n     * validator('presence', true)\n     * // Becomes\n     * validator('presence', {\n     *   presence: true\n     * })\n     * ```\n     *\n     * @method buildOptions\n     * @param  {Object}     options\n     * @param  {Object}     defaultOptions\n     * @param  {Object}     globalOptions\n     * @return {Object}\n     */\n    buildOptions: function buildOptions() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      var defaultOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      var globalOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n      var opts = options;\n\n      if (typeof options === 'boolean') {\n        opts = {\n          presence: options\n        };\n      }\n      return this._super(opts, defaultOptions, globalOptions);\n    }\n  });\n});","define('ember-data-save-relationships/index', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = _ember['default'].Mixin.create({\n\n    serializeRelationship: function serializeRelationship(snapshot, data, rel) {\n\n      var relKind = rel.kind;\n      var relKey = rel.key;\n\n      if (this.get('attrs.' + relKey + '.serialize') === true) {\n\n        data.relationships = data.relationships || {};\n        var key = this.keyForRelationship(relKey, relKind, 'serialize');\n        data.relationships[key] = data.relationships[key] || {};\n\n        if (relKind === \"belongsTo\") {\n          data.relationships[key].data = this.serializeRecord(snapshot.belongsTo(relKey));\n        }\n\n        if (relKind === \"hasMany\") {\n          data.relationships[key].data = snapshot.hasMany(relKey).map(this.serializeRecord);\n        }\n      }\n    },\n\n    serializeRecord: function serializeRecord(obj) {\n\n      if (!obj) {\n        return null;\n      }\n\n      var serialized = obj.serialize();\n\n      if (obj.id) {\n        serialized.data.id = obj.id;\n      } else {\n        if (!serialized.data.attributes) {\n          serialized.data.attributes = {};\n        }\n        serialized.data.attributes.__id__ = obj.record.get('_internalModel')[_ember['default'].GUID_KEY];\n      }\n\n      // do not allow embedded relationships\n      delete serialized.data.relationships;\n\n      return serialized.data;\n    },\n\n    serializeHasMany: function serializeHasMany() {\n      this._super.apply(this, arguments);\n      this.serializeRelationship.apply(this, arguments);\n    },\n\n    serializeBelongsTo: function serializeBelongsTo() {\n      this._super.apply(this, arguments);\n      this.serializeRelationship.apply(this, arguments);\n    },\n\n    updateRecord: function updateRecord(json, store) {\n\n      if (!json.attributes) {\n        // return non-attribute (id/type only) JSON intact\n        return json;\n      }\n\n      var record = store.peekAll(json.type).filterBy('currentState.stateName', \"root.loaded.created.uncommitted\").findBy('_internalModel.' + _ember['default'].GUID_KEY, json.attributes.__id__);\n\n      if (record) {\n        // record.unloadRecord();\n        record.set('id', json.id);\n        record._internalModel.flushChangedAttributes();\n        record._internalModel.adapterWillCommit();\n        store.didSaveRecord(record._internalModel);\n        // store.push({ data: json });\n      }\n\n      return json;\n    },\n\n    normalizeSaveResponse: function normalizeSaveResponse(store, modelName, obj) {\n      var _this = this;\n\n      var rels = obj.data.relationships || [];\n\n      Object.keys(rels).forEach(function (rel) {\n        var relationshipData = rels[rel].data;\n        if (Array.isArray(relationshipData)) {\n          // hasMany\n          relationshipData = relationshipData.map(function (json) {\n            json.type = _ember['default'].String.singularize(json.type);\n            _this.updateRecord(json, store);\n          });\n        } else {\n          // belongsTo\n          relationshipData.type = _ember['default'].String.singularize(relationshipData.type);\n          relationshipData = _this.updateRecord(relationshipData, store);\n        }\n      });\n\n      return this._super(store, modelName, obj);\n    }\n\n  });\n});","define('ember-feature-flags/services/features', ['exports', 'ember'], function (exports, _ember) {\n  var camelize = _ember['default'].String.camelize;\n  exports['default'] = _ember['default'].Service.extend({\n\n    init: function init() {\n      this._super.apply(this, arguments);\n      this._flags = Object.create(null);\n\n      this.setUnknownProperty = function (key) {\n        throw new Error('Please use enable/disable to set feature flags. You attempted to set ' + key);\n      };\n    },\n\n    setup: function setup(flags) {\n      this._resetFlags();\n      for (var flag in flags) {\n        if (flags.hasOwnProperty(flag)) {\n          if (!!flags[flag]) {\n            this.enable(flag);\n          } else {\n            this.disable(flag);\n          }\n        }\n      }\n    },\n\n    enable: function enable(flag) {\n      var normalizedFlag = this._normalizeFlag(flag);\n      this._flags[normalizedFlag] = true;\n      this.notifyPropertyChange(normalizedFlag);\n    },\n\n    disable: function disable(flag) {\n      var normalizedFlag = this._normalizeFlag(flag);\n      this._flags[normalizedFlag] = false;\n      this.notifyPropertyChange(normalizedFlag);\n    },\n\n    isEnabled: function isEnabled(feature) {\n      var isEnabled = this._featureIsEnabled(feature);\n      if (this._logFeatureFlagMissEnabled() && !isEnabled) {\n        this._logFeatureFlagMiss(feature);\n      }\n      return isEnabled;\n    },\n\n    _resetFlags: function _resetFlags() {\n      this._flags = Object.create(null);\n    },\n\n    _featureIsEnabled: function _featureIsEnabled(feature) {\n      var normalizeFeature = this._normalizeFlag(feature);\n      return this._flags[normalizeFeature] || false;\n    },\n\n    _logFeatureFlagMissEnabled: function _logFeatureFlagMissEnabled() {\n      return !!this.get('config.LOG_FEATURE_FLAG_MISS');\n    },\n\n    _logFeatureFlagMiss: function _logFeatureFlagMiss(feature) {\n      if (console && console.info) {\n        console.info('Feature flag off:', feature);\n      }\n    },\n\n    _normalizeFlag: function _normalizeFlag(flag) {\n      return camelize(flag);\n    },\n\n    unknownProperty: function unknownProperty(key) {\n      return this.isEnabled(key);\n    }\n\n  });\n});","define('ember-fetch/ajax', ['exports', 'fetch'], function (exports, _fetch) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = ajax;\n  function ajax() {\n    return _fetch.default.apply(undefined, arguments).then(function (response) {\n      if (response.ok) {\n        return response.json();\n      }\n\n      throw response;\n    });\n  }\n});","define('ember-fetch/mixins/adapter-fetch', ['exports', 'ember', 'fetch'], function (exports, _ember, _fetch) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.serialiazeQueryParams = serialiazeQueryParams;\n  exports.headersToObject = headersToObject;\n  exports.mungOptionsForFetch = mungOptionsForFetch;\n  exports.determineBodyPromise = determineBodyPromise;\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  var assign = _ember.default.assign,\n      merge = _ember.default.merge,\n      RSVP = _ember.default.RSVP;\n\n\n  var RBRACKET = /\\[\\]$/;\n\n  /**\n   * Helper function that turns the data/body of a request into a query param string.\n   * This is directly copied from jQuery.param.\n   * @param {Object} queryParamsObject\n   * @returns {String}\n   */\n  function serialiazeQueryParams(queryParamsObject) {\n    var s = [];\n\n    function buildParams(prefix, obj) {\n      var i, len, key;\n\n      if (prefix) {\n        if (Array.isArray(obj)) {\n          for (i = 0, len = obj.length; i < len; i++) {\n            if (RBRACKET.test(prefix)) {\n              add(s, prefix, obj[i]);\n            } else {\n              buildParams(prefix + '[' + (_typeof(obj[i]) === 'object' ? i : '') + ']', obj[i]);\n            }\n          }\n        } else if (obj && String(obj) === '[object Object]') {\n          for (key in obj) {\n            buildParams(prefix + '[' + key + ']', obj[key]);\n          }\n        } else {\n          add(s, prefix, obj);\n        }\n      } else if (Array.isArray(obj)) {\n        for (i = 0, len = obj.length; i < len; i++) {\n          add(s, obj[i].name, obj[i].value);\n        }\n      } else {\n        for (key in obj) {\n          buildParams(key, obj[key]);\n        }\n      }\n      return s;\n    }\n\n    return buildParams('', queryParamsObject).join('&').replace(/%20/g, '+');\n  }\n\n  /**\n   * Part of the `serialiazeQueryParams` helper function.\n   * @param {Array} s\n   * @param {String} k\n   * @param {String} v\n   */\n  function add(s, k, v) {\n    // Strip out keys with undefined or null values (mimics jQuery.ajax).\n    if (v == undefined) {\n      return;\n    }\n\n    v = typeof v === 'function' ? v() : v;\n    s[s.length] = encodeURIComponent(k) + '=' + encodeURIComponent(v);\n  }\n\n  /**\n   * Helper function to create a plain object from the response's Headers.\n   * Consumed by the adapter's `handleResponse`.\n   * @param {Headers} headers\n   * @returns {Object}\n   */\n  function headersToObject(headers) {\n    var headersObject = {};\n\n    if (headers) {\n      headers.forEach(function (value, key) {\n        return headersObject[key] = value;\n      });\n    }\n\n    return headersObject;\n  }\n  /**\n   * Helper function that translates the options passed to `jQuery.ajax` into a format that `fetch` expects.\n   * @param {Object} _options\n   * @param {DS.Adapter} adapter\n   * @returns {Object}\n   */\n  function mungOptionsForFetch(_options, adapter) {\n    // This allows this mixin to be backward compatible with Ember < 2.5.\n    var combineObjs = assign || merge;\n    var options = combineObjs({\n      credentials: 'same-origin'\n    }, _options);\n\n    var adapterHeaders = adapter.get('headers');\n    if (adapterHeaders) {\n      // This double use of `combineObjs` is necessary because `merge` only accepts two arguments.\n      options.headers = combineObjs(combineObjs({}, options.headers || {}), adapterHeaders);\n    }\n\n    // Default to 'GET' in case `type` is not passed in (mimics jQuery.ajax).\n    options.method = options.type || 'GET';\n\n    // GET and HEAD requests can't have a `body`\n    if (options.data) {\n      if (options.method === 'GET' || options.method === 'HEAD') {\n        // Test if there are already query params in the url (mimics jQuey.ajax).\n        var queryParamDelimiter = options.url.indexOf('?') > -1 ? '&' : '?';\n        options.url += '' + queryParamDelimiter + serialiazeQueryParams(options.data);\n      } else {\n        // NOTE: a request's body cannot be an object, so we stringify it if it is.\n        if (typeof options.data === 'string') {\n          // JSON.stringify removes keys with values of `undefined`.\n          options.body = options.data;\n        } else {\n          // Strip out keys with undefined or null values (mimics jQuery.ajax).\n          var filteredBody = Object.keys(options.data).reduce(function (filteredObj, key) {\n            var currentValue = options.data[key];\n            if (currentValue != undefined) {\n              filteredObj[key] = currentValue;\n            }\n            return filteredObj;\n          }, {});\n\n          options.body = JSON.stringify(filteredBody);\n        }\n      }\n    }\n\n    // Mimics the default behavior in Ember Data's `ajaxOptions`, namely to set the\n    // 'Content-Type' header to application/json if it is not a GET request and it has a body.\n    if (options.method !== 'GET' && options.body && (options.headers === undefined || !(options.headers['Content-Type'] || options.headers['content-type']))) {\n      options.headers = options.headers || {};\n      options.headers['Content-Type'] = 'application/json; charset=utf-8';\n    }\n\n    return options;\n  }\n  /**\n   * Function that determines what sort of Promise to return for the response's body.\n   * If the response has a status code of 204 (No Content) or 205 (Reset Content) or if the request method was 'HEAD',\n   * it has no body and we should return a Promise that resolves to an object with 'data' set to null.\n   * Otherwise, it returns a Promise that resolves to the JSON body of the response.\n   * This check is necessary because calling `json` on an empty body will cause JSON.parse to throw an error.\n   * @param {Response} response\n   * @param {Object} requestData\n   * @returns {Promise}\n   */\n  function determineBodyPromise(response, requestData) {\n    var bodyPromise = void 0;\n    var status = response.status;\n\n    if (status === 204 || status === 205 || requestData.method === 'HEAD') {\n      bodyPromise = RSVP.Promise.resolve({ data: null });\n    } else {\n      bodyPromise = response.json();\n    }\n    return bodyPromise;\n  }\n\n  exports.default = _ember.default.Mixin.create({\n    /**\n     * @param {String} url\n     * @param {String} type\n     * @param {Object} options\n     * @override\n     */\n    ajax: function ajax(url, type, options) {\n      var _this = this;\n\n      var requestData = {\n        url: url,\n        method: type\n      };\n\n      var hash = this.ajaxOptions(url, type, options);\n\n      return this._ajaxRequest(hash).catch(function (error, response, requestData) {\n        throw _this.ajaxError(error, response, requestData);\n      }).then(function (response) {\n        if (response.ok) {\n          var bodyPromise = determineBodyPromise(response, requestData);\n          return _this.ajaxSuccess(response, bodyPromise, requestData);\n        }\n        throw _this.ajaxError(null, response, requestData);\n      });\n    },\n\n\n    /**\n     * Overrides the `_ajaxRequest` method to use `fetch` instead of jQuery.ajax\n     * @param {Object} options\n     * @override\n     */\n    _ajaxRequest: function _ajaxRequest(_options) {\n      var options = mungOptionsForFetch(_options, this);\n      return this._fetchRequest(options.url, options);\n    },\n\n\n    /**\n     * A hook into where `fetch` is called.\n     * Useful if you want to override this behavior, for example to multiplex requests.\n     * @param {String} url\n     * @param {Object} options\n     */\n    _fetchRequest: function _fetchRequest(url, options) {\n      return (0, _fetch.default)(url, options);\n    },\n\n\n    /**\n     * @param {Object} response\n     * @param {Promise} bodyPromise\n     * @param {Object} requestData\n     * @override\n     */\n    ajaxSuccess: function ajaxSuccess(response, bodyPromise, requestData) {\n      var _this2 = this;\n\n      var headersObject = headersToObject(response.headers);\n\n      return bodyPromise.then(function (body) {\n        var returnResponse = _this2.handleResponse(response.status, headersObject, body, requestData);\n\n        if (returnResponse && returnResponse.isAdapterError) {\n          return RSVP.Promise.reject(returnResponse);\n        } else {\n          return returnResponse;\n        }\n      });\n    },\n\n\n    /**\n     * @param {Error} error\n     * @param {Object} response\n     * @param {Object} requestData\n     * @override\n     */\n    ajaxError: function ajaxError(error) {\n      var response = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      var requestData = arguments[2];\n\n      if (error instanceof Error) {\n        return error;\n      } else {\n        return this.handleResponse(response.status, headersToObject(response.headers), this.parseErrorResponse(response.statusText) || error, requestData);\n      }\n    }\n  });\n});","define(\"ember-getowner-polyfill/index\", [\"exports\", \"ember\"], function (exports, _ember) {\n\n  _ember[\"default\"].deprecate(\"ember-getowner-polyfill is now a true polyfill. Use Ember.getOwner directly instead of importing from ember-getowner-polyfill\", false, {\n    id: \"ember-getowner-polyfill.import\",\n    until: '2.0.0'\n  });\n\n  exports[\"default\"] = _ember[\"default\"].getOwner;\n});","define('ember-i18n/config/ar', ['exports', 'ember-i18n/config/constants'], function (exports, _emberI18nConfigConstants) {\n  exports['default'] = {\n    rtl: true,\n\n    pluralForm: function pluralForm(n) {\n      var mod100 = n % 100;\n\n      if (n === 0) {\n        return _emberI18nConfigConstants.ZERO;\n      }\n      if (n === 1) {\n        return _emberI18nConfigConstants.ONE;\n      }\n      if (n === 2) {\n        return _emberI18nConfigConstants.TWO;\n      }\n      if (mod100 >= 3 && mod100 <= 10) {\n        return _emberI18nConfigConstants.FEW;\n      }\n      if (mod100 >= 11 && mod100 <= 99) {\n        return _emberI18nConfigConstants.MANY;\n      }\n      return _emberI18nConfigConstants.OTHER;\n    }\n  };\n});","define('ember-i18n/config/bn', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/constants', ['exports'], function (exports) {\n  var ZERO = 'zero';\n  exports.ZERO = ZERO;\n  var ONE = 'one';\n  exports.ONE = ONE;\n  var TWO = 'two';\n  exports.TWO = TWO;\n  var FEW = 'few';\n  exports.FEW = FEW;\n  var MANY = 'many';\n  exports.MANY = MANY;\n  var OTHER = 'other';\n  exports.OTHER = OTHER;\n});","define('ember-i18n/config/da', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/de', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define(\"ember-i18n/config/en\", [\"exports\", \"ember-i18n/config/constants\"], function (exports, _emberI18nConfigConstants) {\n  exports[\"default\"] = {\n    rtl: false,\n\n    pluralForm: function pluralForm(n) {\n      if (n === 1) {\n        return _emberI18nConfigConstants.ONE;\n      }\n      return _emberI18nConfigConstants.OTHER;\n    }\n  };\n});","define('ember-i18n/config/es', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/fa', ['exports', 'ember-i18n/config/zh'], function (exports, _emberI18nConfigZh) {\n  exports['default'] = _emberI18nConfigZh['default'];\n});","define(\"ember-i18n/config/fr\", [\"exports\", \"ember-i18n/config/constants\"], function (exports, _emberI18nConfigConstants) {\n  exports[\"default\"] = {\n    rtl: false,\n\n    pluralForm: function pluralForm(n) {\n      if (n >= 0 && n < 2) {\n        return _emberI18nConfigConstants.ONE;\n      }\n      return _emberI18nConfigConstants.OTHER;\n    }\n  };\n});","define('ember-i18n/config/fy', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/he', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  exports['default'] = {\n    rtl: true,\n\n    pluralForm: _emberI18nConfigEn['default'].pluralForm\n  };\n});","define(\"ember-i18n/config/hi\", [\"exports\", \"ember-i18n/config/constants\"], function (exports, _emberI18nConfigConstants) {\n  exports[\"default\"] = {\n    rtl: false,\n\n    pluralForm: function pluralForm(n) {\n      if (n === 0) {\n        return _emberI18nConfigConstants.ONE;\n      }\n      if (n === 1) {\n        return _emberI18nConfigConstants.ONE;\n      }\n      return _emberI18nConfigConstants.OTHER;\n    }\n  };\n});","define('ember-i18n/config/it', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define(\"ember-i18n/config/iw\", [\"exports\", \"ember-i18n/config/he\"], function (exports, _emberI18nConfigHe) {\n  exports[\"default\"] = _emberI18nConfigHe[\"default\"];\n});","define('ember-i18n/config/ja', ['exports', 'ember-i18n/config/zh'], function (exports, _emberI18nConfigZh) {\n  exports['default'] = _emberI18nConfigZh['default'];\n});","define('ember-i18n/config/jv', ['exports', 'ember-i18n/config/zh'], function (exports, _emberI18nConfigZh) {\n  exports['default'] = _emberI18nConfigZh['default'];\n});","define('ember-i18n/config/ko', ['exports', 'ember-i18n/config/zh'], function (exports, _emberI18nConfigZh) {\n  exports['default'] = _emberI18nConfigZh['default'];\n});","define('ember-i18n/config/mr', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/ms', ['exports', 'ember-i18n/config/zh'], function (exports, _emberI18nConfigZh) {\n  exports['default'] = _emberI18nConfigZh['default'];\n});","define('ember-i18n/config/nl', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/no', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/pa', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/pl', ['exports', 'ember-i18n/config/constants'], function (exports, _emberI18nConfigConstants) {\n  exports['default'] = {\n    rtl: false,\n\n    pluralForm: function pluralForm(n) {\n      var mod1 = n % 1;\n      var mod10 = n % 10;\n      var mod100 = n % 100;\n\n      if (n === 1) {\n        return _emberI18nConfigConstants.ONE;\n      }\n      if (mod1 === 0 && mod10 >= 2 && mod10 <= 4 && !(mod100 >= 12 && mod100 <= 14)) {\n        return _emberI18nConfigConstants.FEW;\n      }\n      if (mod1 === 0 && (mod10 === 0 || mod10 === 1 || mod10 >= 5 && mod10 <= 9 || mod100 >= 12 && mod100 <= 14)) {\n        return _emberI18nConfigConstants.MANY;\n      }\n      return _emberI18nConfigConstants.OTHER;\n    }\n  };\n});","define('ember-i18n/config/pt', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/ru', ['exports', 'ember-i18n/config/constants'], function (exports, _emberI18nConfigConstants) {\n  exports['default'] = {\n    rtl: false,\n\n    pluralForm: function pluralForm(n) {\n      var mod1 = n % 1;\n      var mod10 = n % 10;\n      var mod100 = n % 100;\n\n      if (mod10 === 1 && mod100 !== 11) {\n        return _emberI18nConfigConstants.ONE;\n      }\n      if (mod1 === 0 && mod10 >= 2 && mod10 <= 4 && !(mod100 >= 12 && mod100 <= 14)) {\n        return _emberI18nConfigConstants.FEW;\n      }\n      if (mod1 === 0 && (mod10 === 0 || mod10 >= 5 && mod10 <= 9 || mod100 >= 11 && mod100 <= 14)) {\n        return _emberI18nConfigConstants.MANY;\n      }\n      return _emberI18nConfigConstants.OTHER;\n    }\n  };\n});","define('ember-i18n/config/sv', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/ta', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/te', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/tr', ['exports', 'ember-i18n/config/constants'], function (exports, _emberI18nConfigConstants) {\n  exports['default'] = {\n    rtl: false,\n\n    pluralForm: function pluralForm() /* n */{\n      return _emberI18nConfigConstants.ONE;\n    }\n  };\n});","define('ember-i18n/config/ur', ['exports', 'ember-i18n/config/en'], function (exports, _emberI18nConfigEn) {\n  exports['default'] = _emberI18nConfigEn['default'];\n});","define('ember-i18n/config/vi', ['exports', 'ember-i18n/config/zh'], function (exports, _emberI18nConfigZh) {\n  exports['default'] = _emberI18nConfigZh['default'];\n});","define('ember-i18n/config/zh', ['exports', 'ember-i18n/config/constants'], function (exports, _emberI18nConfigConstants) {\n  exports['default'] = {\n    rtl: false,\n\n    pluralForm: function pluralForm() /* n */{\n      return _emberI18nConfigConstants.OTHER;\n    }\n  };\n});","define('ember-i18n/helper', ['exports', 'ember'], function (exports, _ember) {\n  function _toArray(arr) { return Array.isArray(arr) ? arr : Array.from(arr); }\n\n  var get = _ember['default'].get;\n  var inject = _ember['default'].inject;\n  var Helper = _ember['default'].Helper;\n  var EmberObject = _ember['default'].Object;\n  var observer = _ember['default'].observer;\n\n  function mergedContext(objectContext, hashContext) {\n    return EmberObject.extend({\n      unknownProperty: function unknownProperty(key) {\n        var fromHash = get(hashContext, key);\n        return fromHash === undefined ? get(objectContext, key) : fromHash;\n      }\n    }).create();\n  }\n\n  exports['default'] = Helper.extend({\n    i18n: inject.service(),\n\n    compute: function compute(_ref, interpolations) {\n      var _ref2 = _toArray(_ref);\n\n      var key = _ref2[0];\n      var _ref2$1 = _ref2[1];\n      var contextObject = _ref2$1 === undefined ? {} : _ref2$1;\n\n      var rest = _ref2.slice(2);\n\n      var mergedInterpolations = mergedContext(contextObject, interpolations);\n\n      var i18n = get(this, 'i18n');\n      return i18n.t(key, mergedInterpolations);\n    },\n\n    _recomputeOnLocaleChange: observer('i18n.locale', function () {\n      this.recompute();\n    })\n  });\n});","define(\"ember-i18n/index\", [\"exports\", \"ember-i18n/utils/i18n/compile-template\", \"ember-i18n/services/i18n\", \"ember-i18n/utils/macro\"], function (exports, _emberI18nUtilsI18nCompileTemplate, _emberI18nServicesI18n, _emberI18nUtilsMacro) {\n  exports.compileTemplate = _emberI18nUtilsI18nCompileTemplate[\"default\"];\n  exports.Service = _emberI18nServicesI18n[\"default\"];\n  exports.translationMacro = _emberI18nUtilsMacro[\"default\"];\n});","define('ember-i18n/initializers/ember-i18n', ['exports'], function (exports) {\n  // As of 4.3.0 using the ember-i18n initializer is no longer necessary.\n  //\n  // This is a no-op initializer to prevent applications that relied on the\n  // 'ember-i18n' initializer in their own workflow from breaking.\n  exports['default'] = {\n    name: 'ember-i18n',\n    initialize: function initialize() {\n      // No-op.\n    }\n  };\n});","define('ember-i18n/instance-initializers/ember-i18n', ['exports'], function (exports) {\n  // As of 4.3.0 using the ember-i18n instance initializer is no longer\n  // necessary.\n  //\n  // This is a no-op initializer to prevent applications that relied on the\n  // 'ember-i18n' instance initializer in their own workflow from breaking.\n  exports['default'] = {\n    name: 'ember-i18n',\n    initialize: function initialize() {\n      // No-op.\n    }\n  };\n});","define(\"ember-i18n/legacy/helper\", [\"exports\", \"ember-i18n/legacy/stream\", \"ember\"], function (exports, _emberI18nLegacyStream, _ember) {\n  var _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; })();\n\n  exports[\"default\"] = tHelper;\n\n  var assign = _ember[\"default\"].assign || _ember[\"default\"].merge;\n\n  function tHelper(_ref, hash, options, env) {\n    var _ref2 = _slicedToArray(_ref, 2);\n\n    var i18nKey = _ref2[0];\n    var _ref2$1 = _ref2[1];\n    var contextObject = _ref2$1 === undefined ? { value: function value() {} } : _ref2$1;\n\n    var i18n = env.data.view.container.lookup('service:i18n');\n\n    var out = new _emberI18nLegacyStream[\"default\"](function () {\n      var value = i18nKey.isStream ? i18nKey.value() : i18nKey;\n\n      var contextObjectValue = contextObject.value();\n      var mergedHash = {};\n      assign(mergedHash, contextObjectValue);\n      assign(mergedHash, hash);\n\n      return value === undefined ? '' : i18n.t(value, (0, _emberI18nLegacyStream.readHash)(mergedHash));\n    });\n\n    // Once the view is destroyed destroy the steam as well\n    env.data.view.one('willDestroyElement', out, function () {\n      this.destroy();\n    });\n\n    if (contextObject && contextObject.isStream) {\n      contextObject.subscribe(out.notify, out);\n    }\n\n    // observe any hash arguments that are streams:\n    Object.keys(hash).forEach(function (key) {\n      var value = hash[key];\n\n      if (value && value.isStream) {\n        value.subscribe(out.notify, out);\n      }\n    });\n\n    // observe the locale:\n    i18n.localeStream.subscribe(out.notify, out);\n\n    // if the i18n key itself is dynamic, observe it:\n    if (i18nKey.isStream) {\n      i18nKey.subscribe(out.notify, out);\n    }\n\n    return out;\n  }\n});","define(\"ember-i18n/legacy/initializer\", [\"exports\", \"ember\", \"ember-i18n/legacy/stream\", \"ember-i18n/legacy/helper\"], function (exports, _ember, _emberI18nLegacyStream, _emberI18nLegacyHelper) {\n\n  // Used for Ember < 1.13\n  exports[\"default\"] = {\n    name: 'ember-i18n-legacy-helper',\n\n    initialize: function initialize(registry) {\n      var i18n = registry.lookup('service:i18n');\n\n      i18n.localeStream = new _emberI18nLegacyStream[\"default\"](function () {\n        return i18n.get('locale');\n      });\n\n      _ember[\"default\"].addObserver(i18n, 'locale', i18n, function () {\n        this.localeStream.value(); // force the stream to be dirty\n        this.localeStream.notify();\n      });\n\n      _ember[\"default\"].HTMLBars._registerHelper('t', _emberI18nLegacyHelper[\"default\"]);\n    }\n  };\n});","define('ember-i18n/legacy/stream', ['exports', 'ember'], function (exports, _ember) {\n\n  // As of v1.12, Streams are still private API. Thus, we need to reach in to\n  // Ember internals to get access to it.\n  //\n  // See https://github.com/emberjs/ember.js/blob/v1.12.0/packages/ember-metal/lib/main.js#L384-L386\n  // See https://github.com/emberjs/ember.js/pull/9693\n  // See https://github.com/dockyard/ember-cli-i18n/blob/v0.0.6/addon/utils/stream.js\n\n  exports['default'] = _ember['default'].__loader.require('ember-metal/streams/stream')['default'];\n  var readHash = _ember['default'].__loader.require('ember-metal/streams/utils').readHash;\n  exports.readHash = readHash;\n});","define(\"ember-i18n/services/i18n\", [\"exports\", \"ember\", \"ember-i18n/utils/locale\", \"ember-i18n/utils/add-translations\", \"ember-i18n/utils/get-locales\"], function (exports, _ember, _emberI18nUtilsLocale, _emberI18nUtilsAddTranslations, _emberI18nUtilsGetLocales) {\n  var assert = _ember[\"default\"].assert;\n  var computed = _ember[\"default\"].computed;\n  var get = _ember[\"default\"].get;\n  var Evented = _ember[\"default\"].Evented;\n  var makeArray = _ember[\"default\"].makeArray;\n  var on = _ember[\"default\"].on;\n  var typeOf = _ember[\"default\"].typeOf;\n  var warn = _ember[\"default\"].warn;\n  var getOwner = _ember[\"default\"].getOwner;\n\n  var Parent = _ember[\"default\"].Service || _ember[\"default\"].Object;\n\n  // @public\n  exports[\"default\"] = Parent.extend(Evented, {\n    // @public\n    // The user's locale.\n    locale: null,\n\n    // @public\n    // A list of found locales.\n    locales: computed(_emberI18nUtilsGetLocales[\"default\"]),\n\n    // @public\n    //\n    // Returns the translation `key` interpolated with `data`\n    // in the current `locale`.\n    t: function t(key) {\n      var data = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n      _ember[\"default\"].deprecate('locale is a reserved attribute', data['locale'] === undefined, {\n        id: 'ember-i18n.reserve-locale',\n        until: '5.0.0'\n      });\n\n      _ember[\"default\"].deprecate('htmlSafe is a reserved attribute', data['htmlSafe'] === undefined, {\n        id: 'ember-i18n.reserve-htmlSafe',\n        until: '5.0.0'\n      });\n\n      var locale = this.get('_locale');\n      assert(\"I18n: Cannot translate when locale is null\", locale);\n      var count = get(data, 'count');\n\n      var defaults = makeArray(get(data, 'default'));\n\n      defaults.unshift(key);\n      var template = locale.getCompiledTemplate(defaults, count);\n\n      if (template._isMissing) {\n        this.trigger('missing', this.get('locale'), key, data);\n      }\n\n      return template(data);\n    },\n\n    // @public\n    exists: function exists(key) {\n      var data = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n      var locale = this.get('_locale');\n      assert(\"I18n: Cannot check existance when locale is null\", locale);\n      var count = get(data, 'count');\n\n      var translation = locale.findTranslation(makeArray(key), count);\n      return typeOf(translation.result) !== 'undefined' && !translation.result._isMissing;\n    },\n\n    // @public\n    addTranslations: function addTranslations(locale, translations) {\n      (0, _emberI18nUtilsAddTranslations[\"default\"])(locale, translations, getOwner(this));\n      this._addLocale(locale);\n\n      if (this.get('locale').indexOf(locale) === 0) {\n        this.get('_locale').rebuild();\n      }\n    },\n\n    // @private\n    _initDefaults: on('init', function () {\n      var owner = getOwner(this);\n      var ENV = owner.factoryFor('config:environment')[\"class\"];\n\n      if (this.get('locale') == null) {\n        var defaultLocale = (ENV.i18n || {}).defaultLocale;\n        if (defaultLocale == null) {\n          warn('ember-i18n did not find a default locale; falling back to \"en\".', false, {\n            id: 'ember-i18n.default-locale'\n          });\n\n          defaultLocale = 'en';\n        }\n        this.set('locale', defaultLocale);\n      }\n    }),\n\n    // @private\n    //\n    // adds a runtime locale to the array of locales on disk\n    _addLocale: function _addLocale(locale) {\n      this.get('locales').addObject(locale);\n    },\n\n    _locale: computed('locale', function () {\n      var locale = this.get('locale');\n\n      return locale ? new _emberI18nUtilsLocale[\"default\"](this.get('locale'), getOwner(this)) : null;\n    })\n  });\n});","define(\"ember-i18n/utils/add-translations\", [\"exports\", \"ember\"], function (exports, _ember) {\n  exports[\"default\"] = addTranslations;\n\n  var assign = _ember[\"default\"].assign || _ember[\"default\"].merge;\n\n  function addTranslations(locale, newTranslations, owner) {\n    var key = \"locale:\" + locale + \"/translations\";\n    var factory = owner.factoryFor(key);\n    var existingTranslations = factory && factory[\"class\"];\n\n    if (existingTranslations == null) {\n      existingTranslations = {};\n      owner.register(key, existingTranslations);\n    }\n\n    assign(existingTranslations, newTranslations);\n  }\n});","define('ember-i18n/utils/get-locales', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = getLocales;\n\n  var matchKey = '/locales/(.+)/translations$';\n\n  function getLocales() {\n    return Object.keys(requirejs.entries).reduce(function (locales, module) {\n      var match = module.match(matchKey);\n      if (match) {\n        locales.pushObject(match[1]);\n      }\n      return locales;\n    }, _ember['default'].A()).sort();\n  }\n});","define(\"ember-i18n/utils/i18n/compile-template\", [\"exports\", \"ember\"], function (exports, _ember) {\n  exports[\"default\"] = compileTemplate;\n\n  var htmlSafe = _ember[\"default\"].String.htmlSafe;\n  var get = _ember[\"default\"].get;\n  var escapeExpression = _ember[\"default\"].Handlebars.Utils.escapeExpression;\n  var tripleStache = /\\{\\{\\{\\s*(.*?)\\s*\\}\\}\\}/g;\n  var doubleStache = /\\{\\{\\s*(.*?)\\s*\\}\\}/g;\n\n  // @public\n  //\n  // Compile a translation template.\n  //\n  // To override this, define `util:i18n/compile-template` with\n  // the signature\n  // `Function(String, Boolean) -> Function(Object) -> String`.\n\n  function compileTemplate(template) {\n    var rtl = arguments.length <= 1 || arguments[1] === undefined ? false : arguments[1];\n\n    return function renderTemplate(data) {\n      var result = template.replace(tripleStache, function (i, match) {\n        return get(data, match);\n      }).replace(doubleStache, function (i, match) {\n        return escapeExpression(get(data, match));\n      });\n\n      var wrapped = rtl ? \"‫\" + result + \"‬\" : result;\n\n      return htmlSafe(wrapped);\n    };\n  }\n});","define(\"ember-i18n/utils/i18n/missing-message\", [\"exports\"], function (exports) {\n  exports[\"default\"] = missingMessage;\n  // @public\n  //\n  // Generate a \"missing template\" message that will be used\n  // as a translation.\n  //\n  // To override this, define `util:i18n/missing-message` with\n  // the signature\n  //\n  // `Function(String, String, Object) -> String`.\n\n  function missingMessage(locale, key /*, data */) {\n    return \"Missing translation: \" + key;\n  }\n});","define('ember-i18n/utils/locale', ['exports', 'ember'], function (exports, _ember) {\n  var assert = _ember['default'].assert;\n  var typeOf = _ember['default'].typeOf;\n  var warn = _ember['default'].warn;\n\n  var assign = _ember['default'].assign || _ember['default'].merge;\n\n  // @private\n  //\n  // This class is the work-horse of localization look-up.\n  function Locale(id, owner) {\n    // On Construction:\n    //  1. look for translations in the locale (e.g. pt-BR) and all parent\n    //     locales (e.g. pt), flatten any nested keys, and then merge them.\n    //  2. walk through the configs from most specific to least specific\n    //     and use the first value for `rtl` and `pluralForm`\n    //  3. Default `rtl` to `false`\n    //  4. Ensure `pluralForm` is defined\n    this.id = id;\n    this.owner = owner;\n    this.rebuild();\n  }\n\n  Locale.prototype = {\n    rebuild: function rebuild() {\n      this.translations = getFlattenedTranslations(this.id, this.owner);\n      this._setConfig();\n    },\n\n    _setConfig: function _setConfig() {\n      var _this = this;\n\n      walkConfigs(this.id, this.owner, function (config) {\n        if (_this.rtl === undefined) {\n          _this.rtl = config.rtl;\n        }\n        if (_this.pluralForm === undefined) {\n          _this.pluralForm = config.pluralForm;\n        }\n      });\n\n      // Exit early if we already have an RTL and pluralForm config set\n      if (this.rtl !== undefined && this.pluralForm !== undefined) {\n        return;\n      }\n\n      var defaultConfigFactory = this.owner.factoryFor('ember-i18n@config:zh');\n      var defaultConfig = defaultConfigFactory ? defaultConfigFactory['class'] : null;\n\n      if (this.rtl === undefined) {\n        warn('ember-i18n: No RTL configuration found for ' + this.id + '.', false, { id: 'ember-i18n.no-rtl-configuration' });\n        this.rtl = defaultConfig.rtl;\n      }\n\n      if (this.pluralForm === undefined) {\n        warn('ember-i18n: No pluralForm configuration found for ' + this.id + '.', false, { id: 'ember-i18n.no-plural-form' });\n        this.pluralForm = defaultConfig.pluralForm;\n      }\n    },\n\n    getCompiledTemplate: function getCompiledTemplate(fallbackChain, count) {\n      var translation = this.findTranslation(fallbackChain, count);\n      var result = translation.result;\n\n      if (typeOf(result) === 'string') {\n        result = this._compileTemplate(translation.key, result);\n      }\n\n      if (result == null) {\n        result = this._defineMissingTranslationTemplate(fallbackChain[0]);\n      }\n\n      assert('Template for ' + translation.key + ' in ' + this.id + ' is not a function', typeOf(result) === 'function');\n\n      return result;\n    },\n\n    findTranslation: function findTranslation(fallbackChain, count) {\n      if (this.translations === undefined) {\n        this._init();\n      }\n\n      var result = undefined;\n      var i = undefined;\n      for (i = 0; i < fallbackChain.length; i++) {\n        var key = fallbackChain[i];\n        if (count != null) {\n          var inflection = this.pluralForm(+count);\n          result = this.translations[key + '.' + inflection];\n        }\n\n        if (result == null) {\n          result = this.translations[key];\n        }\n\n        if (result) {\n          break;\n        }\n      }\n\n      return {\n        key: fallbackChain[i],\n        result: result\n      };\n    },\n\n    _defineMissingTranslationTemplate: function _defineMissingTranslationTemplate(key) {\n      var i18n = this.owner.lookup('service:i18n');\n      var locale = this.id;\n      var missingMessage = this.owner.factoryFor('util:i18n/missing-message')['class'];\n\n      function missingTranslation(data) {\n        return missingMessage.call(i18n, locale, key, data);\n      }\n\n      missingTranslation._isMissing = true;\n      this.translations[key] = missingTranslation;\n      return missingTranslation;\n    },\n\n    _compileTemplate: function _compileTemplate(key, string) {\n      var compile = this.owner.factoryFor('util:i18n/compile-template')['class'];\n      var template = compile(string, this.rtl);\n      this.translations[key] = template;\n      return template;\n    }\n  };\n\n  function getFlattenedTranslations(id, owner) {\n    var result = {};\n\n    var parentId = parentLocale(id);\n    if (parentId) {\n      assign(result, getFlattenedTranslations(parentId, owner));\n    }\n\n    var factory = owner.factoryFor('locale:' + id + '/translations');\n    var translations = factory && factory['class'];\n    assign(result, withFlattenedKeys(translations || {}));\n\n    return result;\n  }\n\n  // Walk up confiugration objects from most specific to least.\n  function walkConfigs(id, owner, fn) {\n    var maybeAppConfig = owner.factoryFor('locale:' + id + '/config');\n    var appConfig = maybeAppConfig && maybeAppConfig['class'];\n    if (appConfig) {\n      fn(appConfig);\n    }\n\n    var maybeAddonConfig = owner.factoryFor('ember-i18n@config:' + id);\n    var addonConfig = maybeAddonConfig && maybeAddonConfig['class'];\n    if (addonConfig) {\n      fn(addonConfig);\n    }\n\n    var parentId = parentLocale(id);\n    if (parentId) {\n      walkConfigs(parentId, owner, fn);\n    }\n  }\n\n  function parentLocale(id) {\n    var lastDash = id.lastIndexOf('-');\n    return lastDash > 0 ? id.substr(0, lastDash) : null;\n  }\n\n  function withFlattenedKeys(object) {\n    var result = {};\n\n    Object.keys(object).forEach(function (key) {\n      var value = object[key];\n\n      if (typeOf(value) === 'object') {\n        value = withFlattenedKeys(value);\n\n        Object.keys(value).forEach(function (suffix) {\n          result[key + '.' + suffix] = value[suffix];\n        });\n      } else {\n        result[key] = value;\n      }\n    });\n\n    return result;\n  }\n\n  exports['default'] = Locale;\n});","define('ember-i18n/utils/macro', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = createTranslatedComputedProperty;\n\n  function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i]; return arr2; } else { return Array.from(arr); } }\n\n  var keys = Object.keys;\n  var get = _ember['default'].get;\n\n  // @public\n\n  function createTranslatedComputedProperty(key) {\n    var interpolations = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n    var dependencies = ['i18n.locale'].concat(values(interpolations));\n\n    return _ember['default'].computed.apply(_ember['default'], _toConsumableArray(dependencies).concat([function () {\n      var i18n = get(this, 'i18n');\n      _ember['default'].assert('Cannot translate ' + key + '. ' + this + ' does not have an i18n.', i18n);\n      return i18n.t(key, mapPropertiesByHash(this, interpolations));\n    }]));\n  }\n\n  function values(object) {\n    return keys(object).map(function (key) {\n      return object[key];\n    });\n  }\n\n  function mapPropertiesByHash(object, hash) {\n    var result = {};\n\n    keys(hash).forEach(function (key) {\n      result[key] = get(object, hash[key]);\n    });\n\n    return result;\n  }\n});","define('ember-infinity/components/infinity-loader', ['exports', 'ember', 'ember-version-is'], function (exports, _ember, _emberVersionIs) {\n\n  var InfinityLoaderComponent = _ember['default'].Component.extend({\n    classNames: [\"infinity-loader\"],\n    classNameBindings: [\"infinityModel.reachedInfinity\"],\n    guid: null,\n    eventDebounce: 10,\n    loadMoreAction: 'infinityLoad',\n    loadingText: 'Loading Infinite Model...',\n    loadedText: 'Infinite Model Entirely Loaded.',\n    destroyOnInfinity: false,\n    developmentMode: false,\n    scrollable: null,\n    triggerOffset: 0,\n\n    didInsertElement: function didInsertElement() {\n      this._super.apply(this, arguments);\n      this._setupScrollable();\n      this.set('guid', _ember['default'].guidFor(this));\n      this._bindEvent('scroll');\n      this._bindEvent('resize');\n      this._loadMoreIfNeeded();\n    },\n\n    willDestroyElement: function willDestroyElement() {\n      this._super.apply(this, arguments);\n      this._unbindEvent('scroll');\n      this._unbindEvent('resize');\n    },\n\n    _bindEvent: function _bindEvent(eventName) {\n      var _this = this;\n\n      this.get('_scrollable').on(eventName + '.' + this.get('guid'), function () {\n        _ember['default'].run.debounce(_this, _this._loadMoreIfNeeded, _this.get('eventDebounce'));\n      });\n    },\n\n    _unbindEvent: function _unbindEvent(eventName) {\n      var scrollable = this.get('_scrollable');\n      if (scrollable) {\n        scrollable.off(eventName + '.' + this.get('guid'));\n      }\n    },\n\n    _selfOffset: function _selfOffset() {\n      if (this.get('_customScrollableIsDefined')) {\n        return this.$().offset().top - this.get(\"_scrollable\").offset().top + this.get(\"_scrollable\").scrollTop();\n      } else {\n        return this.$().offset().top;\n      }\n    },\n\n    _bottomOfScrollableOffset: function _bottomOfScrollableOffset() {\n      return this.get('_scrollable').height() + this.get(\"_scrollable\").scrollTop();\n    },\n\n    _triggerOffset: function _triggerOffset() {\n      return this._selfOffset() - this.get('triggerOffset');\n    },\n\n    _shouldLoadMore: function _shouldLoadMore() {\n      if (this.get('developmentMode') || typeof FastBoot !== 'undefined' || this.isDestroying || this.isDestroyed) {\n        return false;\n      }\n\n      return this._bottomOfScrollableOffset() > this._triggerOffset();\n    },\n\n    _loadMoreIfNeeded: function _loadMoreIfNeeded() {\n      if (this._shouldLoadMore()) {\n        this.sendAction('loadMoreAction', this.get('infinityModel'));\n      }\n    },\n\n    _setupScrollable: function _setupScrollable() {\n      var scrollable = this.get('scrollable');\n      if (_ember['default'].typeOf(scrollable) === 'string') {\n        var items = _ember['default'].$(scrollable);\n        if (items.length === 1) {\n          this.set('_scrollable', items.eq(0));\n        } else if (items.length > 1) {\n          throw new Error(\"Ember Infinity: Multiple scrollable elements found for: \" + scrollable);\n        } else {\n          throw new Error(\"Ember Infinity: No scrollable element found for: \" + scrollable);\n        }\n        this.set('_customScrollableIsDefined', true);\n      } else if (scrollable === undefined || scrollable === null) {\n        this.set('_scrollable', _ember['default'].$(window));\n        this.set('_customScrollableIsDefined', false);\n      } else {\n        throw new Error(\"Ember Infinity: Scrollable must either be a css selector string or left empty to default to window\");\n      }\n    },\n\n    loadedStatusDidChange: _ember['default'].observer('infinityModel.reachedInfinity', 'destroyOnInfinity', function () {\n      if (this.get('infinityModel.reachedInfinity') && this.get('destroyOnInfinity')) {\n        this.destroy();\n      }\n    }),\n\n    infinityModelPushed: _ember['default'].observer('infinityModel.length', function () {\n      _ember['default'].run.scheduleOnce('afterRender', this, this._loadMoreIfNeeded);\n    })\n  });\n\n  if ((0, _emberVersionIs['default'])('lessThan', '1.13.0')) {\n    InfinityLoaderComponent.reopen({\n      hasBlock: _ember['default'].computed.alias('template')\n    });\n  }\n\n  exports['default'] = InfinityLoaderComponent;\n});","define('ember-infinity/mixins/route', ['exports', 'ember', 'ember-version-is'], function (exports, _ember, _emberVersionIs) {\n\n  var keys = Object.keys || _ember['default'].keys;\n  var assign = _ember['default'].assign || _ember['default'].merge;\n  /**\n    The Ember Infinity Route Mixin enables an application route to load paginated\n    records for the route `model` as triggered by the controller (or Infinity Loader\n    component).\n  \n    @class RouteMixin\n    @namespace EmberInfinity\n    @module ember-infinity/mixins/route\n    @extends Ember.Mixin\n  */\n  var RouteMixin = _ember['default'].Mixin.create({\n\n    /**\n      @private\n      @property _perPage\n      @type Integer\n      @default 25\n    */\n    _perPage: 25,\n\n    /**\n      @private\n      @property currentPage\n      @type Integer\n      @default 0\n    */\n    currentPage: 0,\n\n    /**\n      @private\n      @property _extraParams\n      @type Object\n      @default {}\n    */\n    _extraParams: {},\n\n    /**\n      @private\n      @property _boundParams\n      @type Object\n      @default {}\n    */\n    _boundParams: {},\n\n    /**\n      @private\n      @property _loadingMore\n      @type Boolean\n      @default false\n    */\n    _loadingMore: false,\n\n    /**\n      @private\n      @property _totalPages\n      @type Integer\n      @default 0\n    */\n    _totalPages: 0,\n\n    /**\n      @private\n      @property _infinityModelName\n      @type String\n      @default null\n    */\n    _infinityModelName: null,\n\n    /**\n      @private\n      @property _modelPath\n      @type String\n      @default 'controller.model'\n    */\n    _modelPath: 'controller.model',\n\n    /**\n     * Name of the \"per page\" param in the\n     * resource request payload\n     * @type {String}\n     * @default  \"per_page\"\n     */\n    perPageParam: 'per_page',\n\n    /**\n     * Name of the \"page\" param in the\n     * resource request payload\n     * @type {String}\n     * @default \"page\"\n     */\n    pageParam: 'page',\n\n    /**\n     * Path of the \"total pages\" param in\n     * the HTTP response\n     * @type {String}\n     * @default \"meta.total_pages\"\n     */\n    totalPagesParam: 'meta.total_pages',\n\n    actions: {\n      infinityLoad: function infinityLoad(infinityModel) {\n        if (infinityModel === this._infinityModel()) {\n          this._infinityLoad();\n        } else {\n          return true;\n        }\n      }\n    },\n\n    /**\n     * The supported findMethod name for\n     * the developers Ember Data version.\n     * Provided here for backwards compat.\n     * @type {String}\n     * @default \"query\"\n     */\n    _storeFindMethod: 'query',\n\n    _firstPageLoaded: false,\n\n    /**\n      @private\n      @property _canLoadMore\n      @type Boolean\n      @default false\n    */\n    _canLoadMore: _ember['default'].computed('_totalPages', 'currentPage', function () {\n      var totalPages = this.get('_totalPages');\n      var currentPage = this.get('currentPage');\n\n      return totalPages && currentPage !== undefined ? currentPage < totalPages : false;\n    }),\n\n    /**\n     @private\n     @method _infinityModel\n     @return {DS.RecordArray} the model\n    */\n    _infinityModel: function _infinityModel() {\n      return this.get(this.get('_modelPath'));\n    },\n\n    _ensureCompatibility: function _ensureCompatibility() {\n      if ((0, _emberVersionIs.emberDataVersionIs)('greaterThan', '1.0.0-beta.19.2') && (0, _emberVersionIs.emberDataVersionIs)('lessThan', '1.13.4')) {\n        throw new _ember['default'].Error(\"Ember Infinity: You are using an unsupported version of Ember Data.  Please upgrade to at least 1.13.4 or downgrade to 1.0.0-beta.19.2\");\n      }\n\n      if (_ember['default'].isEmpty(this.get('store')) || _ember['default'].isEmpty(this.get('store')[this._storeFindMethod])) {\n        throw new _ember['default'].Error(\"Ember Infinity: Ember Data store is not available to infinityModel\");\n      }\n\n      if (this.get('_infinityModelName') === undefined) {\n        throw new _ember['default'].Error(\"Ember Infinity: You must pass a Model Name to infinityModel\");\n      }\n    },\n\n    /**\n      Use the infinityModel method in the place of `this.store.find('model')` to\n      initialize the Infinity Model for your route.\n       @method infinityModel\n      @param {String} modelName The name of the model.\n      @param {Object} options Optional, the perPage and startingPage to load from.\n      @param {Object} boundParams Optional, any route properties to be included as additional params.\n      @return {Ember.RSVP.Promise}\n    */\n    infinityModel: function infinityModel(modelName, options, boundParams) {\n      if ((0, _emberVersionIs.emberDataVersionIs)('lessThan', '1.13.0')) {\n        this.set('_storeFindMethod', 'find');\n      }\n\n      this.set('_infinityModelName', modelName);\n\n      this._ensureCompatibility();\n\n      options = options ? assign({}, options) : {};\n      var startingPage = options.startingPage === undefined ? 0 : options.startingPage - 1;\n\n      var perPage = options.perPage || this.get('_perPage');\n      var modelPath = options.modelPath || this.get('_modelPath');\n\n      delete options.startingPage;\n      delete options.perPage;\n      delete options.modelPath;\n\n      this.setProperties({\n        currentPage: startingPage,\n        _firstPageLoaded: false,\n        _perPage: perPage,\n        _modelPath: modelPath,\n        _extraParams: options\n      });\n\n      if (typeof boundParams === 'object') {\n        this.set('_boundParams', boundParams);\n      }\n\n      return this._loadNextPage();\n    },\n\n    /**\n     Call additional functions after finding the infinityModel in the Ember data store.\n     @private\n     @method _afterInfinityModel\n     @param {Function} infinityModelPromise The resolved result of the Ember store find method. Passed in automatically.\n     @return {Ember.RSVP.Promise}\n    */\n    _afterInfinityModel: function _afterInfinityModel(_this) {\n      return function (infinityModelPromiseResult) {\n        if (typeof _this.afterInfinityModel === 'function') {\n          var result = _this.afterInfinityModel(infinityModelPromiseResult);\n          if (result) {\n            return result;\n          }\n        }\n\n        return infinityModelPromiseResult;\n      };\n    },\n\n    /**\n     Trigger a load of the next page of results.\n      @private\n     @method _infinityLoad\n     */\n    _infinityLoad: function _infinityLoad() {\n      if (this.get('_loadingMore') || !this.get('_canLoadMore')) {\n        return;\n      }\n\n      this._loadNextPage();\n    },\n\n    /**\n     load the next page from the adapter and update the model\n      @private\n     @method _loadNextPage\n     @return {Ember.RSVP.Promise} A Promise that resolves the model\n     */\n    _loadNextPage: function _loadNextPage() {\n      var _this2 = this;\n\n      this.set('_loadingMore', true);\n\n      return this._requestNextPage().then(function (newObjects) {\n        _this2._nextPageLoaded(newObjects);\n\n        return newObjects;\n      })['finally'](function () {\n        _this2.set('_loadingMore', false);\n      });\n    },\n\n    /**\n     request the next page from the adapter\n      @private\n     @method _requestNextPage\n     @returns {Ember.RSVP.Promise} A Promise that resolves the next page of objects\n     */\n    _requestNextPage: function _requestNextPage() {\n      var modelName = this.get('_infinityModelName');\n      var nextPage = this.incrementProperty('currentPage');\n      var params = this._buildParams(nextPage);\n\n      return this.get('store')[this._storeFindMethod](modelName, params).then(this._afterInfinityModel(this));\n    },\n\n    /**\n     build the params for the next page request\n      @private\n     @method _buildParams\n     @param {Number} nextPage the page number for the current request\n     @return {Object} The query params for the next page of results\n     */\n    _buildParams: function _buildParams(nextPage) {\n      var _this3 = this;\n\n      var pageParams = {};\n\n      if (this.get('perPageParam')) {\n        pageParams[this.get('perPageParam')] = this.get('_perPage');\n      }\n\n      if (this.get('pageParam')) {\n        pageParams[this.get('pageParam')] = nextPage;\n      }\n\n      var params = assign(pageParams, this.get('_extraParams'));\n\n      var boundParams = this.get('_boundParams');\n      if (!_ember['default'].isEmpty(boundParams)) {\n        keys(boundParams).forEach(function (k) {\n          return params[k] = _this3.get(boundParams[k]);\n        });\n      }\n\n      return params;\n    },\n\n    /**\n     Update the infinity model with new objects\n     Only called on the second page and following\n      @deprecated\n     @method updateInfinityModel\n     @param {Ember.Enumerable} newObjects The new objects to add to the model\n     @return {Ember.Array} returns the new objects\n     */\n    updateInfinityModel: function updateInfinityModel(newObjects) {\n      return this._doUpdate(newObjects);\n    },\n\n    _doUpdate: function _doUpdate(newObjects) {\n      var infinityModel = this._infinityModel();\n      return infinityModel.pushObjects(newObjects.get('content'));\n    },\n\n    /**\n      @method _nextPageLoaded\n     @param {Ember.Enumerable} newObjects The new objects to add to the model\n     @return {DS.RecordArray} returns the updated infinity model\n     @private\n     */\n    _nextPageLoaded: function _nextPageLoaded(newObjects) {\n      var totalPages = newObjects.get(this.get('totalPagesParam'));\n      this.set('_totalPages', totalPages);\n\n      var infinityModel = newObjects;\n\n      if (this.get('_firstPageLoaded')) {\n        if (typeof this.updateInfinityModel === 'function' && this.updateInfinityModel !== _ember['default'].Object.extend(RouteMixin).create().updateInfinityModel) {\n          _ember['default'].deprecate(\"EmberInfinity.updateInfinityModel is deprecated. \" + \"Please use EmberInfinity.afterInfinityModel.\", false, { id: 'ember-infinity.updateInfinityModel', until: '2.1' });\n\n          infinityModel = this.updateInfinityModel(newObjects);\n        } else {\n          infinityModel = this._doUpdate(newObjects);\n        }\n      }\n\n      this.set('_firstPageLoaded', true);\n      this._notifyInfinityModelUpdated(newObjects);\n\n      var canLoadMore = this.get('_canLoadMore');\n      infinityModel.set('reachedInfinity', !canLoadMore);\n\n      if (!canLoadMore) {\n        this._notifyInfinityModelLoaded();\n      }\n\n      return infinityModel;\n    },\n\n    /**\n     notify that the infinity model has been updated\n      @private\n     @method _notifyInfinityModelUpdated\n     */\n    _notifyInfinityModelUpdated: function _notifyInfinityModelUpdated(newObjects) {\n      if (!this.infinityModelUpdated) {\n        return;\n      }\n\n      _ember['default'].run.scheduleOnce('afterRender', this, 'infinityModelUpdated', {\n        lastPageLoaded: this.get('currentPage'),\n        totalPages: this.get('_totalPages'),\n        newObjects: newObjects\n      });\n    },\n\n    /**\n     finish the loading cycle by notifying that infinity has been reached\n      @private\n     @method _notifyInfinityModelLoaded\n     */\n    _notifyInfinityModelLoaded: function _notifyInfinityModelLoaded() {\n      if (!this.infinityModelLoaded) {\n        return;\n      }\n\n      var totalPages = this.get('_totalPages');\n      _ember['default'].run.scheduleOnce('afterRender', this, 'infinityModelLoaded', { totalPages: totalPages });\n    }\n  });\n\n  exports['default'] = RouteMixin;\n});","define(\"ember-inflector/index\", [\"module\", \"exports\", \"ember\", \"ember-inflector/lib/system\", \"ember-inflector/lib/ext/string\"], function (module, exports, _ember, _system) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.defaultRules = exports.singularize = exports.pluralize = undefined;\n  /* global define, module */\n\n  _system.Inflector.defaultRules = _system.defaultRules;\n  _ember.default.Inflector = _system.Inflector;\n\n  _ember.default.String.pluralize = _system.pluralize;\n  _ember.default.String.singularize = _system.singularize;\n\n  exports.default = _system.Inflector;\n  exports.pluralize = _system.pluralize;\n  exports.singularize = _system.singularize;\n  exports.defaultRules = _system.defaultRules;\n\n\n  if (typeof define !== 'undefined' && define.amd) {\n    define('ember-inflector', ['exports'], function (__exports__) {\n      __exports__['default'] = _system.Inflector;\n      __exports__.pluralize = _system.pluralize;\n      __exports__.singularize = _system.singularize;\n\n      return __exports__;\n    });\n  } else if (typeof module !== 'undefined' && module['exports']) {\n    module['exports'] = _system.Inflector;\n    _system.Inflector.singularize = _system.singularize;\n    _system.Inflector.pluralize = _system.pluralize;\n  }\n});","define('ember-inflector/lib/ext/string', ['ember', 'ember-inflector/lib/system/string'], function (_ember, _string) {\n  'use strict';\n\n  if (_ember.default.EXTEND_PROTOTYPES === true || _ember.default.EXTEND_PROTOTYPES.String) {\n    /**\n      See {{#crossLink \"Ember.String/pluralize\"}}{{/crossLink}}\n       @method pluralize\n      @for String\n    */\n    String.prototype.pluralize = function () {\n      return (0, _string.pluralize)(this);\n    };\n\n    /**\n      See {{#crossLink \"Ember.String/singularize\"}}{{/crossLink}}\n       @method singularize\n      @for String\n    */\n    String.prototype.singularize = function () {\n      return (0, _string.singularize)(this);\n    };\n  }\n});","define('ember-inflector/lib/helpers/pluralize', ['exports', 'ember-inflector', 'ember-inflector/lib/utils/make-helper'], function (exports, _emberInflector, _makeHelper) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = (0, _makeHelper.default)(function (params, hash) {\n    var count = void 0,\n        word = void 0,\n        withoutCount = false;\n\n    if (params.length === 1) {\n      word = params[0];\n      return (0, _emberInflector.pluralize)(word);\n    } else {\n      count = params[0];\n      word = params[1];\n\n      if (hash[\"without-count\"]) {\n        withoutCount = hash[\"without-count\"];\n      }\n\n      if (parseFloat(count) !== 1) {\n        word = (0, _emberInflector.pluralize)(word);\n      }\n\n      return withoutCount ? word : count + \" \" + word;\n    }\n  });\n});","define('ember-inflector/lib/helpers/singularize', ['exports', 'ember-inflector', 'ember-inflector/lib/utils/make-helper'], function (exports, _emberInflector, _makeHelper) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = (0, _makeHelper.default)(function (params) {\n    return (0, _emberInflector.singularize)(params[0]);\n  });\n});","define(\"ember-inflector/lib/system\", [\"exports\", \"ember-inflector/lib/system/inflector\", \"ember-inflector/lib/system/string\", \"ember-inflector/lib/system/inflections\"], function (exports, _inflector, _string, _inflections) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.defaultRules = exports.pluralize = exports.singularize = exports.Inflector = undefined;\n\n\n  _inflector.default.inflector = new _inflector.default(_inflections.default);\n\n  exports.Inflector = _inflector.default;\n  exports.singularize = _string.singularize;\n  exports.pluralize = _string.pluralize;\n  exports.defaultRules = _inflections.default;\n});","define('ember-inflector/lib/system/inflections', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = {\n    plurals: [[/$/, 's'], [/s$/i, 's'], [/^(ax|test)is$/i, '$1es'], [/(octop|vir)us$/i, '$1i'], [/(octop|vir)i$/i, '$1i'], [/(alias|status|bonus)$/i, '$1es'], [/(bu)s$/i, '$1ses'], [/(buffal|tomat)o$/i, '$1oes'], [/([ti])um$/i, '$1a'], [/([ti])a$/i, '$1a'], [/sis$/i, 'ses'], [/(?:([^f])fe|([lr])f)$/i, '$1$2ves'], [/(hive)$/i, '$1s'], [/([^aeiouy]|qu)y$/i, '$1ies'], [/(x|ch|ss|sh)$/i, '$1es'], [/(matr|vert|ind)(?:ix|ex)$/i, '$1ices'], [/^(m|l)ouse$/i, '$1ice'], [/^(m|l)ice$/i, '$1ice'], [/^(ox)$/i, '$1en'], [/^(oxen)$/i, '$1'], [/(quiz)$/i, '$1zes']],\n\n    singular: [[/s$/i, ''], [/(ss)$/i, '$1'], [/(n)ews$/i, '$1ews'], [/([ti])a$/i, '$1um'], [/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)(sis|ses)$/i, '$1sis'], [/(^analy)(sis|ses)$/i, '$1sis'], [/([^f])ves$/i, '$1fe'], [/(hive)s$/i, '$1'], [/(tive)s$/i, '$1'], [/([lr])ves$/i, '$1f'], [/([^aeiouy]|qu)ies$/i, '$1y'], [/(s)eries$/i, '$1eries'], [/(m)ovies$/i, '$1ovie'], [/(x|ch|ss|sh)es$/i, '$1'], [/^(m|l)ice$/i, '$1ouse'], [/(bus)(es)?$/i, '$1'], [/(o)es$/i, '$1'], [/(shoe)s$/i, '$1'], [/(cris|test)(is|es)$/i, '$1is'], [/^(a)x[ie]s$/i, '$1xis'], [/(octop|vir)(us|i)$/i, '$1us'], [/(alias|status|bonus)(es)?$/i, '$1'], [/^(ox)en/i, '$1'], [/(vert|ind)ices$/i, '$1ex'], [/(matr)ices$/i, '$1ix'], [/(quiz)zes$/i, '$1'], [/(database)s$/i, '$1']],\n\n    irregularPairs: [['person', 'people'], ['man', 'men'], ['child', 'children'], ['sex', 'sexes'], ['move', 'moves'], ['cow', 'kine'], ['zombie', 'zombies']],\n\n    uncountable: ['equipment', 'information', 'rice', 'money', 'species', 'series', 'fish', 'sheep', 'jeans', 'police']\n  };\n});","define('ember-inflector/lib/system/inflector', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  var capitalize = _ember.default.String.capitalize;\n\n  var BLANK_REGEX = /^\\s*$/;\n  var LAST_WORD_DASHED_REGEX = /([\\w/-]+[_/\\s-])([a-z\\d]+$)/;\n  var LAST_WORD_CAMELIZED_REGEX = /([\\w/\\s-]+)([A-Z][a-z\\d]*$)/;\n  var CAMELIZED_REGEX = /[A-Z][a-z\\d]*$/;\n\n  function loadUncountable(rules, uncountable) {\n    for (var i = 0, length = uncountable.length; i < length; i++) {\n      rules.uncountable[uncountable[i].toLowerCase()] = true;\n    }\n  }\n\n  function loadIrregular(rules, irregularPairs) {\n    var pair;\n\n    for (var i = 0, length = irregularPairs.length; i < length; i++) {\n      pair = irregularPairs[i];\n\n      //pluralizing\n      rules.irregular[pair[0].toLowerCase()] = pair[1];\n      rules.irregular[pair[1].toLowerCase()] = pair[1];\n\n      //singularizing\n      rules.irregularInverse[pair[1].toLowerCase()] = pair[0];\n      rules.irregularInverse[pair[0].toLowerCase()] = pair[0];\n    }\n  }\n\n  /**\n    Inflector.Ember provides a mechanism for supplying inflection rules for your\n    application. Ember includes a default set of inflection rules, and provides an\n    API for providing additional rules.\n  \n    Examples:\n  \n    Creating an inflector with no rules.\n  \n    ```js\n    var inflector = new Ember.Inflector();\n    ```\n  \n    Creating an inflector with the default ember ruleset.\n  \n    ```js\n    var inflector = new Ember.Inflector(Ember.Inflector.defaultRules);\n  \n    inflector.pluralize('cow'); //=> 'kine'\n    inflector.singularize('kine'); //=> 'cow'\n    ```\n  \n    Creating an inflector and adding rules later.\n  \n    ```javascript\n    var inflector = Ember.Inflector.inflector;\n  \n    inflector.pluralize('advice'); // => 'advices'\n    inflector.uncountable('advice');\n    inflector.pluralize('advice'); // => 'advice'\n  \n    inflector.pluralize('formula'); // => 'formulas'\n    inflector.irregular('formula', 'formulae');\n    inflector.pluralize('formula'); // => 'formulae'\n  \n    // you would not need to add these as they are the default rules\n    inflector.plural(/$/, 's');\n    inflector.singular(/s$/i, '');\n    ```\n  \n    Creating an inflector with a nondefault ruleset.\n  \n    ```javascript\n    var rules = {\n      plurals:  [\n        [ /$/, 's' ]\n      ],\n      singular: [\n        [ /\\s$/, '' ]\n      ],\n      irregularPairs: [\n        [ 'cow', 'kine' ]\n      ],\n      uncountable: [ 'fish' ]\n    };\n  \n    var inflector = new Ember.Inflector(rules);\n    ```\n  \n    @class Inflector\n    @namespace Ember\n  */\n  function Inflector(ruleSet) {\n    ruleSet = ruleSet || {};\n    ruleSet.uncountable = ruleSet.uncountable || makeDictionary();\n    ruleSet.irregularPairs = ruleSet.irregularPairs || makeDictionary();\n\n    var rules = this.rules = {\n      plurals: ruleSet.plurals || [],\n      singular: ruleSet.singular || [],\n      irregular: makeDictionary(),\n      irregularInverse: makeDictionary(),\n      uncountable: makeDictionary()\n    };\n\n    loadUncountable(rules, ruleSet.uncountable);\n    loadIrregular(rules, ruleSet.irregularPairs);\n\n    this.enableCache();\n  }\n\n  if (!Object.create && !Object.create(null).hasOwnProperty) {\n    throw new Error(\"This browser does not support Object.create(null), please polyfil with es5-sham: http://git.io/yBU2rg\");\n  }\n\n  function makeDictionary() {\n    var cache = Object.create(null);\n    cache['_dict'] = null;\n    delete cache['_dict'];\n    return cache;\n  }\n\n  Inflector.prototype = {\n    /**\n      @public\n       As inflections can be costly, and commonly the same subset of words are repeatedly\n      inflected an optional cache is provided.\n       @method enableCache\n    */\n    enableCache: function enableCache() {\n      this.purgeCache();\n\n      this.singularize = function (word) {\n        this._cacheUsed = true;\n        return this._sCache[word] || (this._sCache[word] = this._singularize(word));\n      };\n\n      this.pluralize = function (word) {\n        this._cacheUsed = true;\n        return this._pCache[word] || (this._pCache[word] = this._pluralize(word));\n      };\n    },\n\n    /**\n      @public\n       @method purgedCache\n    */\n    purgeCache: function purgeCache() {\n      this._cacheUsed = false;\n      this._sCache = makeDictionary();\n      this._pCache = makeDictionary();\n    },\n\n    /**\n      @public\n      disable caching\n       @method disableCache;\n    */\n    disableCache: function disableCache() {\n      this._sCache = null;\n      this._pCache = null;\n      this.singularize = function (word) {\n        return this._singularize(word);\n      };\n\n      this.pluralize = function (word) {\n        return this._pluralize(word);\n      };\n    },\n\n    /**\n      @method plural\n      @param {RegExp} regex\n      @param {String} string\n    */\n    plural: function plural(regex, string) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      this.rules.plurals.push([regex, string.toLowerCase()]);\n    },\n\n    /**\n      @method singular\n      @param {RegExp} regex\n      @param {String} string\n    */\n    singular: function singular(regex, string) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      this.rules.singular.push([regex, string.toLowerCase()]);\n    },\n\n    /**\n      @method uncountable\n      @param {String} regex\n    */\n    uncountable: function uncountable(string) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      loadUncountable(this.rules, [string.toLowerCase()]);\n    },\n\n    /**\n      @method irregular\n      @param {String} singular\n      @param {String} plural\n    */\n    irregular: function irregular(singular, plural) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      loadIrregular(this.rules, [[singular, plural]]);\n    },\n\n    /**\n      @method pluralize\n      @param {String} word\n    */\n    pluralize: function pluralize(word) {\n      return this._pluralize(word);\n    },\n\n    _pluralize: function _pluralize(word) {\n      return this.inflect(word, this.rules.plurals, this.rules.irregular);\n    },\n    /**\n      @method singularize\n      @param {String} word\n    */\n    singularize: function singularize(word) {\n      return this._singularize(word);\n    },\n\n    _singularize: function _singularize(word) {\n      return this.inflect(word, this.rules.singular, this.rules.irregularInverse);\n    },\n\n    /**\n      @protected\n       @method inflect\n      @param {String} word\n      @param {Object} typeRules\n      @param {Object} irregular\n    */\n    inflect: function inflect(word, typeRules, irregular) {\n      var inflection, substitution, result, lowercase, wordSplit, firstPhrase, lastWord, isBlank, isCamelized, rule, isUncountable;\n\n      isBlank = !word || BLANK_REGEX.test(word);\n\n      isCamelized = CAMELIZED_REGEX.test(word);\n      firstPhrase = \"\";\n\n      if (isBlank) {\n        return word;\n      }\n\n      lowercase = word.toLowerCase();\n      wordSplit = LAST_WORD_DASHED_REGEX.exec(word) || LAST_WORD_CAMELIZED_REGEX.exec(word);\n\n      if (wordSplit) {\n        firstPhrase = wordSplit[1];\n        lastWord = wordSplit[2].toLowerCase();\n      }\n\n      isUncountable = this.rules.uncountable[lowercase] || this.rules.uncountable[lastWord];\n\n      if (isUncountable) {\n        return word;\n      }\n\n      for (rule in irregular) {\n        if (lowercase.match(rule + \"$\")) {\n          substitution = irregular[rule];\n\n          if (isCamelized && irregular[lastWord]) {\n            substitution = capitalize(substitution);\n            rule = capitalize(rule);\n          }\n\n          return word.replace(new RegExp(rule, 'i'), substitution);\n        }\n      }\n\n      for (var i = typeRules.length, min = 0; i > min; i--) {\n        inflection = typeRules[i - 1];\n        rule = inflection[0];\n\n        if (rule.test(word)) {\n          break;\n        }\n      }\n\n      inflection = inflection || [];\n\n      rule = inflection[0];\n      substitution = inflection[1];\n\n      result = word.replace(rule, substitution);\n\n      return result;\n    }\n  };\n\n  exports.default = Inflector;\n});","define('ember-inflector/lib/system/string', ['exports', 'ember-inflector/lib/system/inflector'], function (exports, _inflector) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.singularize = exports.pluralize = undefined;\n\n\n  function pluralize(word) {\n    return _inflector.default.inflector.pluralize(word);\n  }\n\n  function singularize(word) {\n    return _inflector.default.inflector.singularize(word);\n  }\n\n  exports.pluralize = pluralize;\n  exports.singularize = singularize;\n});","define('ember-inflector/lib/utils/make-helper', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = makeHelper;\n  function makeHelper(helperFunction) {\n    if (_ember.default.Helper) {\n      return _ember.default.Helper.helper(helperFunction);\n    }\n    if (_ember.default.HTMLBars) {\n      return _ember.default.HTMLBars.makeBoundHelper(helperFunction);\n    }\n    return _ember.default.Handlebars.makeBoundHelper(helperFunction);\n  }\n});","define('ember-load-initializers/index', ['exports'], function (exports) {\n  function resolveInitializer(moduleName) {\n    var module = require(moduleName, null, null, true);\n    if (!module) {\n      throw new Error(moduleName + ' must export an initializer.');\n    }\n    var initializer = module['default'];\n    if (!initializer.name) {\n      initializer.name = moduleName.slice(moduleName.lastIndexOf('/') + 1);\n    }\n    return initializer;\n  }\n\n  function registerInitializers(app, moduleNames) {\n    for (var i = 0; i < moduleNames.length; i++) {\n      app.initializer(resolveInitializer(moduleNames[i]));\n    }\n  }\n\n  function registerInstanceInitializers(app, moduleNames) {\n    for (var i = 0; i < moduleNames.length; i++) {\n      app.instanceInitializer(resolveInitializer(moduleNames[i]));\n    }\n  }\n\n  exports['default'] = function (app, prefix) {\n    var initializerPrefix = prefix + '/initializers/';\n    var instanceInitializerPrefix = prefix + '/instance-initializers/';\n    var initializers = [];\n    var instanceInitializers = [];\n    // this is 2 pass because generally the first pass is the problem\n    // and is reduced, and resolveInitializer has potential to deopt\n    var moduleNames = Object.keys(requirejs._eak_seen);\n    for (var i = 0; i < moduleNames.length; i++) {\n      var moduleName = moduleNames[i];\n      if (moduleName.lastIndexOf(initializerPrefix, 0) === 0) {\n        initializers.push(moduleName);\n      } else if (moduleName.lastIndexOf(instanceInitializerPrefix, 0) === 0) {\n        instanceInitializers.push(moduleName);\n      }\n    }\n    registerInitializers(app, initializers);\n    registerInstanceInitializers(app, instanceInitializers);\n  };\n});","define('ember-local-storage/adapters/adapter', ['exports', 'ember-local-storage/adapters/local'], function (exports, _local) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function () {\n      return _local.default;\n    }\n  });\n});","define('ember-local-storage/adapters/base', ['exports', 'ember', 'ember-data', 'ember-local-storage/mixins/adapters/import-export'], function (exports, _ember, _emberData, _importExport) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  var keys = Object.keys || _ember.default.keys;\n\n  var JSONAPIAdapter = _emberData.default.JSONAPIAdapter;\n  var get = _ember.default.get,\n      RSVP = _ember.default.RSVP,\n      run = _ember.default.run,\n      Inflector = _ember.default.Inflector,\n      typeOf = _ember.default.typeOf,\n      isEmpty = _ember.default.isEmpty,\n      computed = _ember.default.computed;\n\n\n  // Ember data ships with ember-inflector\n  var inflector = Inflector.inflector;\n\n  exports.default = JSONAPIAdapter.extend(_importExport.default, {\n    _debug: false,\n    _indices: computed(function () {\n      return {};\n    }),\n    isNewSerializerAPI: true,\n    coalesceFindRequests: false,\n\n    // Reload behavior\n    shouldReloadRecord: function shouldReloadRecord() {\n      return true;\n    },\n    shouldReloadAll: function shouldReloadAll() {\n      return true;\n    },\n    shouldBackgroundReloadRecord: function shouldBackgroundReloadRecord() {\n      return true;\n    },\n    shouldBackgroundReloadAll: function shouldBackgroundReloadAll() {\n      return true;\n    },\n    generateIdForRecord: function generateIdForRecord() {\n      return Math.random().toString(32).slice(2).substr(0, 8);\n    },\n\n\n    // Relationship sugar\n    createRecord: function createRecord(store, type, snapshot) {\n      snapshot.eachRelationship(function (name, relationship) {\n        var kind = relationship.kind,\n            options = relationship.options;\n\n\n        if (kind === 'belongsTo' && options.autoSave) {\n          snapshot.record.get(name).then(function (record) {\n            if (record) {\n              record.save();\n            }\n          });\n        }\n      });\n\n      return this._super.apply(this, arguments);\n    },\n    deleteRecord: function deleteRecord(store, type, snapshot) {\n      snapshot.eachRelationship(function (name, relationship) {\n        var kind = relationship.kind,\n            options = relationship.options;\n\n\n        if (kind === 'hasMany' && options.dependent === 'destroy') {\n          snapshot.record.get(name).then(function (records) {\n            records.forEach(function (record) {\n              record.destroyRecord();\n            });\n          });\n        }\n\n        if (kind === 'belongsTo' && options.autoSave) {\n          snapshot.record.get(name).then(function (record) {\n            if (record) {\n              record.save();\n            }\n          });\n        }\n      });\n\n      return this._super.apply(this, arguments);\n    },\n\n\n    // Polyfill queryRecord\n    queryRecord: function queryRecord(store, type, query) {\n      var records = this._super.apply(this, arguments);\n\n      if (!records) {\n        var url = this.buildURL(type.modelName, null, null, 'queryRecord', query);\n\n        if (this.sortQueryParams) {\n          query = this.sortQueryParams(query);\n        }\n\n        records = this.ajax(url, 'GET', { data: query });\n      }\n\n      return records.then(function (result) {\n        result = result.data[0];\n        // hack to fix https://github.com/emberjs/data/issues/3790\n        // and https://github.com/emberjs/data/pull/3866\n        try {\n          store.push({ data: null });\n          return { data: result || null };\n        } catch (e) {\n          return { data: result || [] };\n        }\n      });\n    },\n\n\n    // Delegate to _handleStorageRequest\n    ajax: function ajax() {\n      return this._handleStorageRequest.apply(this, arguments);\n    },\n\n\n    // Delegate to _handleStorageRequest\n    makeRequest: function makeRequest(request) {\n      return this._handleStorageRequest(request.url, request.method, { data: request.data });\n    },\n\n\n    // Work arround ds-improved-ajax Feature Flag\n    _makeRequest: function _makeRequest() {\n      return this.makeRequest.apply(this, arguments);\n    },\n\n\n    // Remove the ajax() deprecation warning\n    _hasCustomizedAjax: function _hasCustomizedAjax() {\n      return false;\n    },\n\n\n    // Delegate to _handle${type}Request\n    _handleStorageRequest: function _handleStorageRequest(url, type) {\n      var _this = this;\n\n      var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n      if (this._debug) {\n        console.log(url, type, options); // eslint-disable-line no-console\n      }\n\n      return new RSVP.Promise(function (resolve, reject) {\n        var handler = _this['_handle' + type + 'Request'];\n        if (handler) {\n          var data = handler.call(_this, url, options.data);\n          run(null, resolve, { data: data });\n        } else {\n          run(null, reject, 'There is nothing to handle _handle' + type + 'Request');\n        }\n      }, 'DS: LocalStorageAdapter#_handleStorageRequest ' + type + ' to ' + url);\n    },\n    _handleGETRequest: function _handleGETRequest(url, query) {\n      var _this2 = this;\n\n      var _urlParts = this._urlParts(url),\n          type = _urlParts.type,\n          id = _urlParts.id;\n\n      var storage = get(this, '_storage'),\n          storageKey = this._storageKey(type, id);\n\n      if (id) {\n        if (!storage[storageKey]) {\n          throw this.handleResponse(404, {}, \"Not found\", { url: url, method: 'GET' });\n        }\n        return JSON.parse(storage[storageKey]);\n      }\n\n      var records = this._getIndex(type).filter(function (storageKey) {\n        return storage[storageKey];\n      }).map(function (storageKey) {\n        return JSON.parse(storage[storageKey]);\n      });\n\n      if (query && query.filter) {\n        var serializer = this.store.serializerFor(inflector.singularize(type));\n\n        return records.filter(function (record) {\n          return _this2._queryFilter(record, serializer, query.filter);\n        });\n      }\n\n      return records;\n    },\n    _handlePOSTRequest: function _handlePOSTRequest(url, record) {\n      var _record$data = record.data,\n          type = _record$data.type,\n          id = _record$data.id;\n\n      var storageKey = this._storageKey(type, id);\n\n      this._addToIndex(type, storageKey);\n      get(this, '_storage')[storageKey] = JSON.stringify(record.data);\n\n      return null;\n    },\n    _handlePATCHRequest: function _handlePATCHRequest(url, record) {\n      var _record$data2 = record.data,\n          type = _record$data2.type,\n          id = _record$data2.id;\n\n      var storageKey = this._storageKey(type, id);\n\n      this._addToIndex(type, storageKey);\n      get(this, '_storage')[storageKey] = JSON.stringify(record.data);\n\n      return null;\n    },\n    _handleDELETERequest: function _handleDELETERequest(url) {\n      var _urlParts2 = this._urlParts(url),\n          type = _urlParts2.type,\n          id = _urlParts2.id;\n\n      var storageKey = this._storageKey(type, id);\n\n      this._removeFromIndex(type, storageKey);\n      delete get(this, '_storage')[storageKey];\n\n      return null;\n    },\n    _queryFilter: function _queryFilter(data, serializer) {\n      var _this3 = this;\n\n      var query = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n      var queryType = typeOf(query),\n          dataType = typeOf(data);\n\n      if (queryType === 'object' && dataType === 'object') {\n        return keys(query).every(function (key) {\n          var queryValue = query[key],\n              recordValue = void 0;\n\n          // normalize type\n          if (key === 'type' && typeOf(queryValue) === 'string') {\n            queryValue = inflector.pluralize(queryValue);\n          }\n\n          // Attributes\n          if (key === 'id' || key === 'type') {\n            recordValue = data[key];\n          } else {\n            key = serializer.keyForAttribute(key);\n            recordValue = data.attributes ? data.attributes[key] : undefined;\n          }\n\n          if (recordValue !== undefined) {\n            return _this3._matches(recordValue, queryValue);\n          }\n\n          // Relationships\n          key = serializer.keyForRelationship(key);\n          if (data.relationships && data.relationships[key]) {\n            if (isEmpty(data.relationships[key].data)) {\n              return;\n            }\n\n            return _this3._queryFilter(data.relationships[key].data, serializer, queryValue);\n          }\n        });\n      } else if (queryType === 'array') {\n        // belongsTo\n        if (dataType === 'object') {\n          var queryMessage = query.map(function (item) {\n            return keys(item).map(function (key) {\n              return key + ': ' + item[key];\n            });\n          }).join(', ');\n\n          throw new Error('You can not provide an array with a belongsTo relation. ' + 'Query: ' + queryMessage);\n\n          // hasMany\n        } else {\n          return query.every(function (queryValue) {\n            return _this3._queryFilter(data, serializer, queryValue);\n          });\n        }\n      } else {\n        // belongsTo\n        if (dataType === 'object') {\n          return this._matches(data.id, query);\n\n          // hasMany\n        } else {\n          return data.some(function (record) {\n            return _this3._queryFilter(record, serializer, query);\n          });\n        }\n      }\n    },\n    _matches: function _matches(recordValue, queryValue) {\n      if (typeOf(queryValue) === 'regexp') {\n        return queryValue.test(recordValue);\n      }\n\n      return recordValue === queryValue;\n    },\n    _urlParts: function _urlParts(url) {\n      var parts = url.split('/');\n\n      // remove empty part\n      parts.shift();\n\n      var type = parts.shift();\n      var id = parts.shift();\n\n      if (type === this.modelNamespace) {\n        type = type + '/' + id;\n        id = parts.shift();\n      }\n\n      return {\n        type: type,\n        id: id\n      };\n    },\n    _storageKey: function _storageKey(type, id) {\n      return type + '-' + id;\n    },\n\n\n    // Should be overwriten\n    // Signature: _getIndex(type)\n    _getIndex: function _getIndex() {},\n    _indexHasKey: function _indexHasKey(type, id) {\n      return this._getIndex(type).indexOf(id) !== -1;\n    },\n    _addToIndex: function _addToIndex(type, id) {\n      if (!this._indexHasKey(type, id)) {\n        this._getIndex(type).addObject(id);\n      }\n    },\n    _removeFromIndex: function _removeFromIndex(type, id) {\n      this._getIndex(type).removeObject(id);\n    }\n  });\n});","define('ember-local-storage/adapters/local', ['exports', 'ember', 'ember-local-storage/adapters/base', 'ember-local-storage/helpers/storage', 'ember-local-storage/local/array'], function (exports, _ember, _base, _storage, _array) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var get = _ember.default.get;\n  exports.default = _base.default.extend({\n    _storage: (0, _storage.getStorage)('local'),\n\n    _getIndex: function _getIndex(type) {\n      var indices = get(this, '_indices');\n\n      if (!indices[type]) {\n        indices[type] = _array.default.extend({ _storageKey: 'index-' + type }).create();\n      }\n\n      return indices[type];\n    }\n  });\n});","define('ember-local-storage/adapters/session', ['exports', 'ember', 'ember-local-storage/adapters/base', 'ember-local-storage/helpers/storage', 'ember-local-storage/session/array'], function (exports, _ember, _base, _storage, _array) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var get = _ember.default.get;\n  exports.default = _base.default.extend({\n    _storage: (0, _storage.getStorage)('session'),\n\n    _getIndex: function _getIndex(type) {\n      var indices = get(this, '_indices');\n\n      if (!indices[type]) {\n        indices[type] = _array.default.extend({ _storageKey: 'index-' + type }).create();\n      }\n\n      return indices[type];\n    }\n  });\n});","define('ember-local-storage/helpers/import-export', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.importData = importData;\n  exports.exportData = exportData;\n  var get = _ember.default.get,\n      singularize = _ember.default.String.singularize,\n      run = _ember.default.run;\n\n\n  var assign = _ember.default.assign || _ember.default.merge;\n\n  function importData(store, content, options) {\n    // merge defaults\n    options = assign({\n      json: true,\n      truncate: true\n    }, options || {});\n\n    var reloadTypes = [];\n\n    content = options.json ? JSON.parse(content) : content;\n\n    if (options.truncate) {\n      content.data.forEach(function (record) {\n        var type = record.type;\n        var adapter = store.adapterFor(singularize(type));\n\n        adapter._getIndex(type).forEach(function (storageKey) {\n          delete get(adapter, '_storage')[storageKey];\n        });\n\n        adapter._getIndex(type).reset();\n\n        // unload from store\n        store.unloadAll(singularize(type));\n      });\n    }\n\n    var promises = content.data.map(function (record) {\n      var adapter = store.adapterFor(singularize(record.type));\n\n      // collect types to reload\n      reloadTypes.push(singularize(record.type));\n\n      return adapter._handleStorageRequest(null, 'POST', {\n        data: { data: record }\n      });\n    });\n\n    return _ember.default.RSVP.all(promises).then(function () {\n      // reload from store\n      reloadTypes.forEach(function (type) {\n        store.findAll(type);\n      });\n    });\n  }\n\n  function exportData(store, types, options) {\n    // merge defaults\n    options = assign({\n      json: true,\n      download: false,\n      filename: 'ember-data.json'\n    }, options || {});\n\n    var json = void 0,\n        data = void 0;\n\n    // collect data\n    data = types.reduce(function (records, type) {\n      var adapter = store.adapterFor(singularize(type));\n      var url = adapter.buildURL(type),\n          exportData = adapter._handleGETRequest(url);\n\n      records.data = records.data.concat(exportData);\n      return records;\n    }, { data: [] });\n\n    if (options.json || options.download) {\n      json = JSON.stringify(data);\n    }\n\n    if (options.json) {\n      data = json;\n    }\n\n    if (options.download) {\n      window.saveAs(new Blob([json], { type: 'application/json;charset=utf-8' }), options.filename);\n    }\n\n    return new _ember.default.RSVP.Promise(function (resolve) {\n      run(null, resolve, data);\n    }, 'DS: LocalStorageAdapter#exportData');\n  }\n});","define('ember-local-storage/helpers/storage', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports._resetStorages = exports.storageFor = exports.getStorage = exports.tryStorage = undefined;\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  var assert = _ember.default.assert,\n      computed = _ember.default.computed,\n      getOwner = _ember.default.getOwner,\n      dasherize = _ember.default.String.dasherize;\n\n\n  var assign = _ember.default.assign || _ember.default.merge;\n\n  var storage = {};\n\n  function tryStorage(name) {\n    var nativeStorage = void 0;\n\n    // safari private mode exposes xStorage but fails on setItem\n    try {\n      nativeStorage = name === 'local' ? localStorage : sessionStorage;\n      nativeStorage.setItem('emberlocalstorage.test', 'ok');\n      nativeStorage.removeItem('emberlocalstorage.test');\n    } catch (e) {\n      nativeStorage = undefined;\n    }\n\n    return nativeStorage;\n  }\n\n  function getStorage(name) {\n    if (storage[name]) {\n      return storage[name];\n    } else {\n      return storage[name] = tryStorage(name) || {};\n    }\n  }\n\n  var storages = {};\n\n  function storageFor(key, modelName) {\n    var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n    if (arguments.length === 2 && (typeof modelName === 'undefined' ? 'undefined' : _typeof(modelName)) === 'object') {\n      options = modelName;\n      modelName = null;\n    }\n\n    assert('The options argument must be an object', (typeof options === 'undefined' ? 'undefined' : _typeof(options)) === 'object');\n\n    // normalize key\n    key = dasherize(key);\n\n    if (!modelName) {\n      return computed(function () {\n        if (!storages[key]) {\n          storages[key] = createStorage(this, key, null, options);\n        }\n\n        return storages[key];\n      });\n    }\n\n    assert('The second argument must be a string', typeof modelName === 'string');\n\n    return computed(modelName, function () {\n      var model = this.get(modelName);\n\n      // if the propertyValue is null/undefined we simply return null/undefined\n      if (!model || typeof model === 'undefined') {\n        return model;\n      }\n\n      var modelKey = _modelKey(model);\n      var storageKey = key + ':' + modelKey;\n      // TODO allow callbacks to delete the storage if model gets deleted\n\n      if (!storages[storageKey]) {\n        storages[storageKey] = createStorage(this, key, modelKey, options);\n      }\n\n      return storages[storageKey];\n    });\n  }\n\n  /*\n   * Looks up the storage factory on the container and sets initial state\n   * on the instance if desired.\n   */\n  function createStorage(context, key, modelKey, options) {\n    var owner = getOwner(context);\n    var factoryType = 'storage';\n    var storageFactory = factoryType + ':' + key;\n\n    var storageKey = void 0;\n\n    owner.registerOptionsForType(factoryType, { instantiate: false });\n\n    if (options.legacyKey) {\n      storageKey = options.legacyKey;\n    } else {\n      storageKey = modelKey ? storageFactory + ':' + modelKey : storageFactory;\n    }\n\n    var initialState = {},\n        defaultState = {\n      _storageKey: storageKey\n    },\n        StorageFactory = owner.lookup(storageFactory);\n\n    if (!StorageFactory) {\n      throw new TypeError('Unknown StorageFactory: ' + storageFactory);\n    }\n\n    if (typeof StorageFactory.initialState === 'function') {\n      initialState._initialContent = StorageFactory.initialState.call(context);\n    } else if (StorageFactory.initialState) {\n      throw new TypeError('initialState property must be a function');\n    }\n\n    assign(initialState, defaultState);\n\n    if (StorageFactory.create) {\n      return StorageFactory.create(initialState);\n    }\n\n    return _ember.default.Object.create(StorageFactory);\n  }\n\n  function _modelKey(model) {\n    var modelName = model.modelName || model.constructor.typeKey || model.constructor.modelName;\n    var id = model.get('id');\n\n    if (!modelName || !id) {\n      throw new TypeError('The model must have a `modelName` and `id` on it');\n    }\n\n    return modelName + ':' + id;\n  }\n\n  // Testing helper\n  function _resetStorages() {\n    storages = {};\n  }\n\n  exports.tryStorage = tryStorage;\n  exports.getStorage = getStorage;\n  exports.storageFor = storageFor;\n  exports._resetStorages = _resetStorages;\n});","define('ember-local-storage/helpers/utils', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  function save() {\n    this._super.apply(this, arguments);\n    this._save();\n  }\n\n  function saveIfChanged(key) {\n    this._super.apply(this, arguments);\n\n    if (key !== '_isInitialContent') {\n      this._save();\n    }\n  }\n\n  exports.save = save;\n  exports.saveIfChanged = saveIfChanged;\n});","define('ember-local-storage/index', ['exports', 'ember-local-storage/helpers/storage'], function (exports, _storage) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.storageFor = undefined;\n  exports.storageFor = _storage.storageFor;\n});","define('ember-local-storage/initializers/local-storage-adapter', ['exports', 'ember-data', 'ember-local-storage/helpers/import-export'], function (exports, _emberData, _importExport) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.initialize = initialize;\n  function initialize() {\n    if (!_emberData.default.Store.prototype._emberLocalStoragePatched) {\n      _emberData.default.Store.reopen({\n        _emberLocalStoragePatched: true,\n        importData: function importData(json, options) {\n          return (0, _importExport.importData)(this, json, options);\n        },\n        exportData: function exportData(types, options) {\n          return (0, _importExport.exportData)(this, types, options);\n        }\n      });\n    }\n  }\n\n  exports.default = {\n    name: 'local-storage-adapter',\n    after: 'ember-data',\n    initialize: initialize\n  };\n});","define('ember-local-storage/local/array', ['exports', 'ember', 'ember-local-storage/mixins/array'], function (exports, _ember, _array) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _ember.default.ArrayProxy.extend(_array.default, {\n    _storageType: 'local'\n  });\n});","define('ember-local-storage/local/object', ['exports', 'ember', 'ember-local-storage/mixins/object'], function (exports, _ember, _object) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _ember.default.ObjectProxy.extend(_object.default, {\n    _storageType: 'local'\n  });\n});","define('ember-local-storage/mixins/adapters/import-export', ['exports', 'ember', 'ember-local-storage/helpers/import-export'], function (exports, _ember, _importExport) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var Mixin = _ember.default.Mixin;\n  exports.default = Mixin.create({\n    importData: function importData(store, content, options) {\n      return (0, _importExport.importData)(store, content, options);\n    },\n    exportData: function exportData(store, types, options) {\n      return (0, _importExport.exportData)(store, types, options);\n    }\n  });\n});","define('ember-local-storage/mixins/array', ['exports', 'ember', 'ember-local-storage/mixins/storage', 'ember-local-storage/helpers/utils'], function (exports, _ember, _storage, _utils) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var A = _ember.default.A,\n      Mixin = _ember.default.Mixin,\n      set = _ember.default.set;\n  exports.default = Mixin.create(_storage.default, {\n    _initialContent: A(),\n    _clear: function _clear() {\n      set(this, 'content', _ember.default.A());\n    },\n\n\n    replaceContent: _utils.save,\n    reset: _utils.save\n  });\n});","define('ember-local-storage/mixins/object', ['exports', 'ember', 'ember-local-storage/mixins/storage', 'ember-local-storage/helpers/utils'], function (exports, _ember, _storage, _utils) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var Mixin = _ember.default.Mixin,\n      set = _ember.default.set;\n  exports.default = Mixin.create(_storage.default, {\n    _initialContent: {},\n    _clear: function _clear() {\n      set(this, 'content', {});\n    },\n\n\n    setUnknownProperty: _utils.saveIfChanged,\n    set: _utils.saveIfChanged,\n    setProperties: _utils.save\n  });\n});","define('ember-local-storage/mixins/storage', ['exports', 'ember', 'ember-local-storage/helpers/storage'], function (exports, _ember, _storage2) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var Mixin = _ember.default.Mixin,\n      get = _ember.default.get,\n      set = _ember.default.set,\n      copy = _ember.default.copy,\n      isArray = _ember.default.isArray;\n\n\n  var assign = _ember.default.assign || _ember.default.merge;\n\n  exports.default = Mixin.create({\n    _storageKey: null,\n    _initialContent: null,\n    _initialContentString: null,\n    _isInitialContent: true,\n    // we need it for storage event testing\n    _testing: false,\n\n    // Shorthand for the storage\n    _storage: function _storage() {\n      return (0, _storage2.getStorage)(get(this, '_storageType'));\n    },\n    init: function init() {\n      var storage = this._storage();\n      var storageKey = get(this, '_storageKey');\n      var initialContent = get(this, '_initialContent');\n\n      var serialized = void 0,\n          content = void 0;\n\n      set(this, '_initialContentString', JSON.stringify(initialContent));\n\n      // Merge the serialized version into defaults.\n      content = this._getInitialContentCopy();\n\n      // Retrieve the serialized version from storage.\n      serialized = storage[storageKey];\n      if (serialized) {\n        assign(content, JSON.parse(serialized));\n      }\n\n      // Do not change to set(this, 'content', content)\n      this.set('content', content);\n\n      // Keep in sync with other windows\n      this._addStorageListener();\n\n      return this._super.apply(this, arguments);\n    },\n    _getInitialContentCopy: function _getInitialContentCopy() {\n      var initialContent = get(this, '_initialContent');\n      var content = copy(initialContent, true);\n\n      // Ember.copy returns a normal array when prototype extensions are off\n      // This ensures that we wrap it in an Ember Array.\n      return isArray(content) ? _ember.default.A(content) : content;\n    },\n    _addStorageListener: function _addStorageListener() {\n      var _this = this;\n\n      var storage = this._storage();\n      var storageKey = get(this, '_storageKey');\n\n      if (window.addEventListener) {\n        this._storageEventHandler = function (event) {\n          if (_this.isDestroying) {\n            return;\n          }\n\n          if (event.storageArea === storage && event.key === storageKey) {\n            if ('hidden' in document && !document.hidden && !_this._testing || event.newValue === event.oldValue || event.newValue === JSON.stringify(_this.get('content'))) {\n              return;\n            }\n\n            if (event.newValue) {\n              // TODO: Why do we use this.set here? I guess it's the loop bug...\n              _this.set('content', JSON.parse(event.newValue));\n            } else {\n              _this.clear();\n            }\n          }\n        };\n\n        window.addEventListener('storage', this._storageEventHandler, false);\n      }\n    },\n    _save: function _save() {\n      var storage = this._storage();\n      var content = get(this, 'content');\n      var storageKey = get(this, '_storageKey');\n      var initialContentString = get(this, '_initialContentString');\n\n      // TODO: Why is it needed?\n      if (storageKey) {\n        var json = JSON.stringify(content);\n\n        if (json !== initialContentString) {\n          set(this, '_isInitialContent', false);\n        }\n\n        storage[storageKey] = json;\n      }\n    },\n    willDestroy: function willDestroy() {\n      if (this._storageEventHandler) {\n        window.removeEventHandler('storage', this._storageEventHandler, false);\n      }\n\n      this._super.apply(this, arguments);\n    },\n\n\n    // Public API\n\n    // returns boolean\n    isInitialContent: function isInitialContent() {\n      return get(this, '_isInitialContent');\n    },\n\n\n    // reset the content\n    // returns void\n    reset: function reset() {\n      var content = this._getInitialContentCopy();\n\n      // Do not change to set(this, 'content', content)\n      this.set('content', content);\n      set(this, '_isInitialContent', true);\n    },\n\n\n    // clear the content\n    // returns void\n    clear: function clear() {\n      this._clear();\n      delete this._storage()[get(this, '_storageKey')];\n    }\n  });\n});","define('ember-local-storage/serializers/serializer', ['exports', 'ember-data'], function (exports, _emberData) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var JSONAPISerializer = _emberData.default.JSONAPISerializer;\n  exports.default = JSONAPISerializer.extend({\n    // Serialization behavior\n    _shouldSerializeHasMany: function _shouldSerializeHasMany() {\n      return true;\n    },\n    shouldSerializeHasMany: function shouldSerializeHasMany() {\n      return true;\n    }\n  });\n});","define('ember-local-storage/session/array', ['exports', 'ember', 'ember-local-storage/mixins/array'], function (exports, _ember, _array) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _ember.default.ArrayProxy.extend(_array.default, {\n    _storageType: 'session'\n  });\n});","define('ember-local-storage/session/object', ['exports', 'ember', 'ember-local-storage/mixins/object'], function (exports, _ember, _object) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _ember.default.ObjectProxy.extend(_object.default, {\n    _storageType: 'session'\n  });\n});","define('ember-macaroni/index', ['exports', 'ember-macaroni/macros/collection/find-from-collection-by-key', 'ember-macaroni/macros/collection/find-from-collection-by-value', 'ember-macaroni/macros/collection/reject-from-collection-by-key', 'ember-macaroni/macros/collection/reject-from-collection-by-value', 'ember-macaroni/macros/collection/filter-from-collection-by-key', 'ember-macaroni/macros/collection/filter-from-collection-by-contains', 'ember-macaroni/macros/collection/collection-without-key', 'ember-macaroni/macros/collection/reduce-collection-by-key', 'ember-macaroni/macros/truth/is-equal-by-keys', 'ember-macaroni/macros/truth/if-then-else-with-keys', 'ember-macaroni/macros/truth/if-then-else-with-values', 'ember-macaroni/macros/truth/gte', 'ember-macaroni/macros/truth/gt', 'ember-macaroni/macros/truth/lte', 'ember-macaroni/macros/truth/lt', 'ember-macaroni/macros/general/get-properties-by-keys', 'ember-macaroni/macros/general/join-with'], function (exports, _emberMacaroniMacrosCollectionFindFromCollectionByKey, _emberMacaroniMacrosCollectionFindFromCollectionByValue, _emberMacaroniMacrosCollectionRejectFromCollectionByKey, _emberMacaroniMacrosCollectionRejectFromCollectionByValue, _emberMacaroniMacrosCollectionFilterFromCollectionByKey, _emberMacaroniMacrosCollectionFilterFromCollectionByContains, _emberMacaroniMacrosCollectionCollectionWithoutKey, _emberMacaroniMacrosCollectionReduceCollectionByKey, _emberMacaroniMacrosTruthIsEqualByKeys, _emberMacaroniMacrosTruthIfThenElseWithKeys, _emberMacaroniMacrosTruthIfThenElseWithValues, _emberMacaroniMacrosTruthGte, _emberMacaroniMacrosTruthGt, _emberMacaroniMacrosTruthLte, _emberMacaroniMacrosTruthLt, _emberMacaroniMacrosGeneralGetPropertiesByKeys, _emberMacaroniMacrosGeneralJoinWith) {\n  exports.findFromCollectionByKey = _emberMacaroniMacrosCollectionFindFromCollectionByKey['default'];\n  exports.findFromCollectionByValue = _emberMacaroniMacrosCollectionFindFromCollectionByValue['default'];\n  exports.rejectFromCollectionByKey = _emberMacaroniMacrosCollectionRejectFromCollectionByKey['default'];\n  exports.rejectFromCollectionByValue = _emberMacaroniMacrosCollectionRejectFromCollectionByValue['default'];\n  exports.filterFromCollectionByKey = _emberMacaroniMacrosCollectionFilterFromCollectionByKey['default'];\n  exports.filterFromCollectionByContains = _emberMacaroniMacrosCollectionFilterFromCollectionByContains['default'];\n  exports.collectionWithoutKey = _emberMacaroniMacrosCollectionCollectionWithoutKey['default'];\n  exports.reduceCollectionByKey = _emberMacaroniMacrosCollectionReduceCollectionByKey['default'];\n  exports.getPropertiesByKeys = _emberMacaroniMacrosGeneralGetPropertiesByKeys['default'];\n  exports.joinWith = _emberMacaroniMacrosGeneralJoinWith['default'];\n  exports.isEqualByKeys = _emberMacaroniMacrosTruthIsEqualByKeys['default'];\n  exports.ifThenElseWithKeys = _emberMacaroniMacrosTruthIfThenElseWithKeys['default'];\n  exports.ifThenElseWithValues = _emberMacaroniMacrosTruthIfThenElseWithValues['default'];\n  exports.gte = _emberMacaroniMacrosTruthGte['default'];\n  exports.gt = _emberMacaroniMacrosTruthGt['default'];\n  exports.lte = _emberMacaroniMacrosTruthLte['default'];\n  exports.lt = _emberMacaroniMacrosTruthLt['default'];\n  exports['default'] = {\n    findFromCollectionByKey: _emberMacaroniMacrosCollectionFindFromCollectionByKey['default'],\n    findFromCollectionByValue: _emberMacaroniMacrosCollectionFindFromCollectionByValue['default'],\n    rejectFromCollectionByKey: _emberMacaroniMacrosCollectionRejectFromCollectionByKey['default'],\n    rejectFromCollectionByValue: _emberMacaroniMacrosCollectionRejectFromCollectionByValue['default'],\n    filterFromCollectionByKey: _emberMacaroniMacrosCollectionFilterFromCollectionByKey['default'],\n    filterFromCollectionByContains: _emberMacaroniMacrosCollectionFilterFromCollectionByContains['default'],\n    collectionWithoutKey: _emberMacaroniMacrosCollectionCollectionWithoutKey['default'],\n    reduceCollectionByKey: _emberMacaroniMacrosCollectionReduceCollectionByKey['default'],\n    getPropertiesByKeys: _emberMacaroniMacrosGeneralGetPropertiesByKeys['default'],\n    joinWith: _emberMacaroniMacrosGeneralJoinWith['default'],\n    isEqualByKeys: _emberMacaroniMacrosTruthIsEqualByKeys['default'],\n    ifThenElseWithKeys: _emberMacaroniMacrosTruthIfThenElseWithKeys['default'],\n    ifThenElseWithValues: _emberMacaroniMacrosTruthIfThenElseWithValues['default'],\n    gte: _emberMacaroniMacrosTruthGte['default'],\n    gt: _emberMacaroniMacrosTruthGt['default'],\n    lte: _emberMacaroniMacrosTruthLte['default'],\n    lt: _emberMacaroniMacrosTruthLt['default']\n  };\n});","define('ember-macaroni/macros/collection/collection-without-key', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = collectionWithoutKey;\n  var computed = _ember['default'].computed;\n  var _get = _ember['default'].get;\n  var emberArray = _ember['default'].A;\n\n  /**\n   * Returns an array without an item by dependent key.\n   *\n   * Ember.Object.extend({\n   *   items: [{ id: 1, name: 'foo' }, { id: 2, name: 'bar' }],\n   *   selectedItem: { id: 1, name: 'foo' },\n   *   notSelectedItems: collectionWithoutKey('items', 'selectedItem')\n   * });\n   *\n   * @param {String} collectionKey The key name for the collection\n   * @param {String} dependentKey The key name for the property to exclude\n  */\n\n  function collectionWithoutKey(collectionKey, dependentKey) {\n    return computed(collectionKey + '.[]', dependentKey, {\n      get: function get() {\n        return emberArray(_get(this, collectionKey)).without(_get(this, dependentKey));\n      }\n    });\n  }\n});","define('ember-macaroni/macros/collection/filter-from-collection-by-contains', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = filterFromCollectionByContains;\n  var computed = _ember['default'].computed;\n  var _get = _ember['default'].get;\n  var emberArray = _ember['default'].A;\n\n  /**\n   * Returns an array with just the items that are contained in another array.\n   *\n   * Ember.Object.extend({\n   *   items: [{ id: 1, name: 'foo' }, { id: 2, name: 'bar' }],\n   *   selectedId: 1,\n   *   selectedItem: filterFromCollectionByContains('items', 'id', [1]) // [{ id: 1, name: 'foo' }]\n   * });\n   *\n   * @param {String} collectionKey The key name for the collection\n   * @param {String} propName The key name for the property to filter by\n   * @param {Array} values The array of values to filter\n  */\n\n  function filterFromCollectionByContains(collectionKey, propName) {\n    var values = arguments.length <= 2 || arguments[2] === undefined ? [] : arguments[2];\n\n    return computed(collectionKey + '.@each.' + propName, {\n      get: function get() {\n        return emberArray(_get(this, collectionKey)).filter(function (item) {\n          return emberArray(values).contains(_get(item, propName));\n        });\n      }\n    });\n  }\n});","define('ember-macaroni/macros/collection/filter-from-collection-by-key', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = filterFromCollectionByKey;\n  var computed = _ember['default'].computed;\n  var _get = _ember['default'].get;\n  var emberArray = _ember['default'].A;\n\n  /**\n   * Returns an array with just the items with the matched property.\n   *\n   * Ember.Object.extend({\n   *   items: [{ id: 1, name: 'foo' }, { id: 2, name: 'bar' }],\n   *   selectedId: 1,\n   *   selectedItem: filterFromCollectionByKey('items', 'id', 'selectedId') // [{ id: 1, name: 'foo' }]\n   * });\n   *\n   * @param {String} collectionKey The key name for the collection\n   * @param {String} propName The key name for the property to filter by\n   * @param {String} valueKey The key name that returns the value to filter\n  */\n\n  function filterFromCollectionByKey(collectionKey, propName, valueKey) {\n    return computed(collectionKey + '.@each.' + propName, valueKey, {\n      get: function get() {\n        return emberArray(_get(this, collectionKey)).filterBy(propName, _get(this, valueKey));\n      }\n    });\n  }\n});","define('ember-macaroni/macros/collection/find-from-collection-by-key', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = findFromCollectionByKey;\n  var computed = _ember['default'].computed;\n  var _get = _ember['default'].get;\n  var emberArray = _ember['default'].A;\n\n  /**\n   * Returns the first item with a property matching the passed value from a dependent key.\n   *\n   * Ember.Object.extend({\n   *   items: [{ id: 1, name: 'foo' }, { id: 2, name: 'bar' }],\n   *   selectedId: 1,\n   *   selectedItem: findFromCollectionByKey('items', 'id', 'selectedId') // { id: 1, name: 'foo' }\n   * });\n   *\n   * @param {String} collectionKey The key name for the collection\n   * @param {String} propName The key name for the property to find by\n   * @param {String} valueKey The key name that returns the value to find\n  */\n\n  function findFromCollectionByKey(collectionKey, propName, valueKey) {\n    return computed(collectionKey + '.@each.' + propName, valueKey, {\n      get: function get() {\n        return emberArray(_get(this, collectionKey)).findBy(propName, _get(this, valueKey));\n      }\n    });\n  }\n});","define('ember-macaroni/macros/collection/find-from-collection-by-value', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = findFromCollectionByValue;\n  var computed = _ember['default'].computed;\n  var _get = _ember['default'].get;\n  var emberArray = _ember['default'].A;\n\n  /**\n   * Returns the first item with a property matching the passed value.\n   *\n   * Ember.Object.extend({\n   *   items: [{ id: 1, name: 'foo' }, { id: 2, name: 'bar' }],\n   *   selectedItem: findFromCollectionByKey('items', 'id', 1) // { id: 1, name: 'foo' }\n   * });\n   *\n   * @param {String} collectionKey The key name for the collection\n   * @param {String} propName The key name for the property to find by\n   * @param {*} value The value to match\n  */\n\n  function findFromCollectionByValue(collectionKey, propName, value) {\n    return computed(collectionKey + '.@each.' + propName, {\n      get: function get() {\n        return emberArray(_get(this, collectionKey)).findBy(propName, value);\n      }\n    });\n  }\n});","define('ember-macaroni/macros/collection/reduce-collection-by-key', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = reduceCollectionByKey;\n  var computed = _ember['default'].computed;\n  var _get = _ember['default'].get;\n  var getWithDefault = _ember['default'].getWithDefault;\n  var emberArray = _ember['default'].A;\n\n  /**\n   * Combines the values of the enumerator into a single value, using a dependent key.\n   *\n   * Ember.Object.extend({\n   *   items: [{ name: 'foo', age: 2 }, { name: 'bar', age: 5 }],\n   *   selectedItem: reduceCollectionByKey('items', 'age', 0) // 7\n   * });\n   *\n   * @param {String} collectionKey The key name for the collection\n   * @param {String} dependentKey The key name for the property to reduce\n   * @param {*} startValue The initial value\n  */\n\n  function reduceCollectionByKey(collectionKey, dependentKey) {\n    var startValue = arguments.length <= 2 || arguments[2] === undefined ? 0 : arguments[2];\n\n    return computed(collectionKey + '.@each.' + dependentKey, {\n      get: function get() {\n        return emberArray(_get(this, collectionKey)).reduce(function (total, current) {\n          return total + parseFloat(getWithDefault(current, dependentKey, 0));\n        }, startValue);\n      }\n    });\n  }\n});","define('ember-macaroni/macros/collection/reject-from-collection-by-key', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = rejectFromCollectionByKey;\n  var computed = _ember['default'].computed;\n  var _get = _ember['default'].get;\n  var emberArray = _ember['default'].A;\n\n  /**\n   * Returns an array with the items that do not match the passed value from a dependent key.\n   *\n   * Ember.Object.extend({\n   *   items: [{ id: 1, name: 'foo' }, { id: 2, name: 'bar' }],\n   *   selectedId: 2,\n   *   selectedItem: rejectFromCollectionByKey('items', 'id', 'selectedId') // [{ id: 1, name: 'foo' }]\n   * });\n   *\n   * @param {String} collectionKey The key name for the collection\n   * @param {String} propName The key name for the property to reject by\n   * @param {String} valueKey The key name that returns the value to reject\n  */\n\n  function rejectFromCollectionByKey(collectionKey, propName, valueKey) {\n    return computed(collectionKey + '.@each.' + propName, valueKey, {\n      get: function get() {\n        return emberArray(_get(this, collectionKey)).rejectBy(propName, _get(this, valueKey));\n      }\n    });\n  }\n});","define('ember-macaroni/macros/collection/reject-from-collection-by-value', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = rejectFromCollectionByValue;\n  var computed = _ember['default'].computed;\n  var _get = _ember['default'].get;\n  var emberArray = _ember['default'].A;\n\n  /**\n   * Returns an array with the items that do not match the passed value.\n   *\n   * Ember.Object.extend({\n   *   items: [{ id: 1, name: 'foo' }, { id: 2, name: 'bar' }],\n   *   selectedItem: rejectFromCollectionByValue('items', 'id', 2) // [{ id: 1, name: 'foo' }]\n   * });\n   *\n   * @param {String} collectionKey The key name for the collection\n   * @param {String} propName The key name for the property to reject by\n   * @param {*} value The value to reject\n  */\n\n  function rejectFromCollectionByValue(collectionKey, propName, value) {\n    return computed(collectionKey + '.@each.' + propName, {\n      get: function get() {\n        return emberArray(_get(this, collectionKey)).rejectBy(propName, value);\n      }\n    });\n  }\n});","define('ember-macaroni/macros/general/get-properties-by-keys', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = getPropertiesByKeys;\n  var computed = _ember['default'].computed;\n  var getProperties = _ember['default'].getProperties;\n\n  /**\n   * Returns a POJO containing all the key-values that match the dependent keys.\n   *\n   * Ember.Object.extend({\n   *   age: 5,\n   *   name: 'foo',\n   *   props: getPropertiesByKeys('age', 'name') // { age: 5, name: 'foo' }\n   * });\n   *\n   * @param {...rest} dependentKeys Argument list of dependent keys\n  */\n\n  function getPropertiesByKeys() {\n    for (var _len = arguments.length, dependentKeys = Array(_len), _key = 0; _key < _len; _key++) {\n      dependentKeys[_key] = arguments[_key];\n    }\n\n    var computedFunc = computed({\n      get: function get() {\n        return getProperties(this, dependentKeys);\n      }\n    });\n\n    return computedFunc.property.apply(computedFunc, dependentKeys);\n  }\n});","define('ember-macaroni/macros/general/join-with', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = joinWith;\n  var computed = _ember['default'].computed;\n  var _get = _ember['default'].get;\n\n  /**\n   * Returns a string of values joined together with a separator.\n   *\n   * Ember.Object.extend({\n   *   firstName: 'Derek',\n   *   lastName: 'Zoolander',\n   *   fullName: joinWith(' ', 'firstName', 'lastName') // 'Derek Zoolander'\n   * });\n   *\n   * @param {String} seperator Separator to join values with\n   * @param {...rest} dependentKeys Argument list of dependent keys\n  */\n\n  function joinWith(separator) {\n    for (var _len = arguments.length, dependentKeys = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n      dependentKeys[_key - 1] = arguments[_key];\n    }\n\n    var computedFunc = computed({\n      get: function get() {\n        var _this = this;\n\n        return dependentKeys.map(function (dependentKey) {\n          return _get(_this, dependentKey);\n        }).join(separator);\n      }\n    });\n\n    return computedFunc.property.apply(computedFunc, dependentKeys);\n  }\n});","define('ember-macaroni/macros/truth/gt', ['exports', 'ember', 'ember-macaroni/macros/utils/compare'], function (exports, _ember, _emberMacaroniMacrosUtilsCompare) {\n  exports['default'] = gt;\n  var computed = _ember['default'].computed;\n  var _get = _ember['default'].get;\n\n  /**\n   * Greater than comparison between two dependent keys.\n   *\n   * Ember.Object.extend({\n   *   first: 5,\n   *   second: 2,\n   *   isFirstGreaterThanSecond: gt('first', 'second') // true\n   * });\n   *\n   * @param {String} lhsKey The key name for the left hand side of the operator\n   * @param {String} rhsKey The key name for the right hand side of the operator\n  */\n\n  function gt(lhsKey, rhsKey) {\n    return computed(lhsKey, rhsKey, {\n      get: function get() {\n        return (0, _emberMacaroniMacrosUtilsCompare['default'])(_get(this, lhsKey), _get(this, rhsKey), 'gt');\n      }\n    });\n  }\n});","define('ember-macaroni/macros/truth/gte', ['exports', 'ember', 'ember-macaroni/macros/utils/compare'], function (exports, _ember, _emberMacaroniMacrosUtilsCompare) {\n  exports['default'] = gte;\n  var computed = _ember['default'].computed;\n  var _get = _ember['default'].get;\n\n  /**\n   * Greater than or equal to comparison between two dependent keys.\n   *\n   * Ember.Object.extend({\n   *   first: 5,\n   *   second: 2,\n   *   isFirstGreaterThanOrEqualToSecond: gte('first', 'second') // true\n   * });\n   *\n   * @param {String} lhsKey The key name for the left hand side of the operator\n   * @param {String} rhsKey The key name for the right hand side of the operator\n  */\n\n  function gte(lhsKey, rhsKey) {\n    return computed(lhsKey, rhsKey, {\n      get: function get() {\n        return (0, _emberMacaroniMacrosUtilsCompare['default'])(_get(this, lhsKey), _get(this, rhsKey), 'gte');\n      }\n    });\n  }\n});","define('ember-macaroni/macros/truth/if-then-else-with-keys', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = ifThenElseWithKeys;\n  var computed = _ember['default'].computed;\n  var _get = _ember['default'].get;\n  var isPresent = _ember['default'].isPresent;\n\n  /**\n   * Ternary conditional with dependent keys.\n   *\n   * Ember.Object.extend({\n   *   isSelected: true,\n   *   selectedText: 'Is Enabled',\n  *    deselectedText: 'Is Disabled',\n   *   displayText: ifThenElseWithKeys('isSelected', 'selectedText', 'deselectedText') // 'Is Enabled'\n   * });\n   *\n   * @param {String} conditionalKey The key name for the conditional property\n   * @param {String} trueKey The key name for the property to return when the conditional is true\n   * @param {String} falseKey The key name for the property to return when the conditional is false\n  */\n\n  function ifThenElseWithKeys(conditionalKey, trueKey, falseKey) {\n    return computed(conditionalKey, trueKey, falseKey, {\n      get: function get() {\n        var conditionalValue = _get(this, conditionalKey);\n        var trueValue = _get(this, trueKey);\n        var falseValue = _get(this, falseKey);\n\n        return isPresent(conditionalValue) && !!conditionalValue ? trueValue : falseValue;\n      }\n    });\n  }\n});","define('ember-macaroni/macros/truth/if-then-else-with-values', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = ifThenElseWithValues;\n  var computed = _ember['default'].computed;\n  var _get = _ember['default'].get;\n  var isPresent = _ember['default'].isPresent;\n\n  /**\n   * Ternary conditional.\n   *\n   * Ember.Object.extend({\n   *   isSelected: true,\n   *   displayText: ifThenElseWithKeys('isSelected', 'Is Enabled', 'Is Disabled') // 'Is Enabled'\n   * });\n   *\n   * @param {String} conditionalKey The key name for the conditional property\n   * @param {String} trueValue The value to return when the conditional is true\n   * @param {String} falseValue The value to return when the conditional is false\n  */\n\n  function ifThenElseWithValues(conditionalKey) {\n    var trueValue = arguments.length <= 1 || arguments[1] === undefined ? true : arguments[1];\n    var falseValue = arguments.length <= 2 || arguments[2] === undefined ? false : arguments[2];\n\n    return computed(conditionalKey, {\n      get: function get() {\n        var conditionalValue = _get(this, conditionalKey);\n\n        return isPresent(conditionalValue) && !!conditionalValue ? trueValue : falseValue;\n      }\n    });\n  }\n});","define('ember-macaroni/macros/truth/is-equal-by-keys', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = isEqualByKeys;\n  var computed = _ember['default'].computed;\n  var _get = _ember['default'].get;\n\n  /**\n   * Strict equality using dependent keys.\n   *\n   * Ember.Object.extend({\n   *   employeeId: 1\n   *   selectedId: 1,\n   *   isSelected: isEqualByKeys('employeeId', 'selectedId') // true\n   * });\n   *\n   * @param {String} firstKey The key name for the first property\n   * @param {String} secondKey The key name for the second property\n  */\n\n  function isEqualByKeys(firstKey, secondKey) {\n    return computed(firstKey, secondKey, {\n      get: function get() {\n        return _get(this, firstKey) === _get(this, secondKey);\n      }\n    });\n  }\n});","define('ember-macaroni/macros/truth/lt', ['exports', 'ember', 'ember-macaroni/macros/utils/compare'], function (exports, _ember, _emberMacaroniMacrosUtilsCompare) {\n  exports['default'] = lt;\n  var computed = _ember['default'].computed;\n  var _get = _ember['default'].get;\n\n  /**\n   * Lesser than comparison between two dependent keys.\n   *\n   * Ember.Object.extend({\n   *   first: 5,\n   *   second: 2,\n   *   isFirstLessThanSecond: lt('first', 'second') // false\n   * });\n   *\n   * @param {String} lhsKey The key name for the left hand side of the operator\n   * @param {String} rhsKey The key name for the right hand side of the operator\n  */\n\n  function lt(lhsKey, rhsKey) {\n    return computed(lhsKey, rhsKey, {\n      get: function get() {\n        return (0, _emberMacaroniMacrosUtilsCompare['default'])(_get(this, lhsKey), _get(this, rhsKey), 'lt');\n      }\n    });\n  }\n});","define('ember-macaroni/macros/truth/lte', ['exports', 'ember', 'ember-macaroni/macros/utils/compare'], function (exports, _ember, _emberMacaroniMacrosUtilsCompare) {\n  exports['default'] = lte;\n  var computed = _ember['default'].computed;\n  var _get = _ember['default'].get;\n\n  /**\n   * Lesser than or equal to comparison between two dependent keys.\n   *\n   * Ember.Object.extend({\n   *   first: 5,\n   *   second: 2,\n   *   isFirstLesserThanOrEqualToSecond: lte('first', 'second') // false\n   * });\n   *\n   * @param {String} lhsKey The key name for the left hand side of the operator\n   * @param {String} rhsKey The key name for the right hand side of the operator\n  */\n\n  function lte(lhsKey, rhsKey) {\n    return computed(lhsKey, rhsKey, {\n      get: function get() {\n        return (0, _emberMacaroniMacrosUtilsCompare['default'])(_get(this, lhsKey), _get(this, rhsKey), 'lte');\n      }\n    });\n  }\n});","define(\"ember-macaroni/macros/utils/compare\", [\"exports\"], function (exports) {\n  exports[\"default\"] = compare;\n  var comparisonMap = {\n    gt: function gt(lhs, rhs) {\n      return lhs > rhs;\n    },\n    gte: function gte(lhs, rhs) {\n      return lhs >= rhs;\n    },\n    lt: function lt(lhs, rhs) {\n      return lhs < rhs;\n    },\n    lte: function lte(lhs, rhs) {\n      return lhs <= rhs;\n    }\n  };\n\n  function compare(lhs, rhs, operator) {\n    return !!comparisonMap[operator](lhs, rhs);\n  }\n});","define('ember-macro-helpers/-build-computed', ['exports', 'ember-computed'], function (exports, _emberComputed) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function (_ref2) {\n    var collapseKeys = _ref2.collapseKeys,\n        getValue = _ref2.getValue,\n        flattenKeys = _ref2.flattenKeys,\n        isLazy = _ref2.isLazy;\n\n    return function () {\n      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      var _parseComputedArgs = parseComputedArgs(args),\n          keys = _parseComputedArgs.keys,\n          incomingCallback = _parseComputedArgs.callback;\n\n      var collapsedKeys = collapseKeys(keys);\n\n      function createArgs(context, key) {\n        var bundledKeys = collapsedKeys.map(function (macro) {\n          return { context: context, macro: macro, key: key };\n        });\n        var values = void 0;\n        if (isLazy) {\n          values = bundledKeys.slice();\n          values.splice(0, 0, getValue);\n        } else {\n          values = bundledKeys.map(getValue);\n        }\n        return values;\n      }\n\n      var newCallback = buildCallback({ incomingCallback: incomingCallback, createArgs: createArgs });\n\n      return _emberComputed.default.apply(undefined, _toConsumableArray(flattenKeys(keys)).concat([newCallback]));\n    };\n  };\n\n  exports.buildCurriedComputed = buildCurriedComputed;\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  function parseComputedArgs(args) {\n    return {\n      keys: args.slice(0, -1),\n      callback: args[args.length - 1]\n    };\n  }\n\n  function buildCallback(_ref) {\n    var incomingCallback = _ref.incomingCallback,\n        createArgs = _ref.createArgs;\n\n    var newCallback = void 0;\n\n    if (typeof incomingCallback === 'function') {\n      newCallback = function newCallback(key) {\n        return incomingCallback.apply(this, createArgs(this, key));\n      };\n    } else {\n      newCallback = {};\n      if (incomingCallback.get) {\n        newCallback.get = function (key) {\n          return incomingCallback.get.apply(this, createArgs(this, key));\n        };\n      }\n      if (incomingCallback.set) {\n        newCallback.set = function (key, value) {\n          var _incomingCallback$set;\n\n          return (_incomingCallback$set = incomingCallback.set).call.apply(_incomingCallback$set, [this, value].concat(_toConsumableArray(createArgs(this, key))));\n        };\n      }\n    }\n\n    return newCallback;\n  }\n\n  function buildCurriedComputed(computed) {\n    return function (callback) {\n      return function () {\n        return computed.apply(undefined, Array.prototype.slice.call(arguments).concat([callback])).readOnly();\n      };\n    };\n  }\n});","define('ember-macro-helpers/-constants', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var ARRAY_EACH = exports.ARRAY_EACH = '@each.';\n  var ARRAY_LENGTH = exports.ARRAY_LENGTH = '[]';\n});","define('ember-macro-helpers/collapse-key', ['exports', 'ember-macro-helpers/expand-property'], function (exports, _expandProperty) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function (property) {\n    if (typeof property !== 'string') {\n      return [property];\n    }\n\n    var atEachIndex = property.indexOf('.@each');\n    if (atEachIndex !== -1) {\n      return [property.slice(0, atEachIndex)];\n    } else if (property.slice(-2) === '[]') {\n      return [property.slice(0, -3)];\n    }\n\n    return (0, _expandProperty.default)(property);\n  };\n});","define('ember-macro-helpers/collapse-keys', ['exports', 'ember-macro-helpers/collapse-key'], function (exports, _collapseKey) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.collapseKeysWithMap = collapseKeysWithMap;\n\n  exports.default = function (keys) {\n    return collapseKeysWithMap(keys).collapsedKeys;\n  };\n\n  function collapseKeysWithMap(keys) {\n    var collapsedKeys = [];\n    var keyMap = [];\n\n    keys.forEach(function (key) {\n      var array = (0, _collapseKey.default)(key);\n\n      collapsedKeys = collapsedKeys.concat(array);\n\n      var i = void 0;\n      if (keyMap.length) {\n        i = keyMap[keyMap.length - 1] + 1;\n      } else {\n        i = 0;\n      }\n      keyMap = keyMap.concat(array.map(function () {\n        return i;\n      }));\n    });\n\n    return {\n      collapsedKeys: collapsedKeys,\n      keyMap: keyMap\n    };\n  }\n});","define('ember-macro-helpers/computed-unsafe', ['exports', 'ember-macro-helpers/-build-computed', 'ember-macro-helpers/get-value-unsafe', 'ember-macro-helpers/flatten-keys-unsafe'], function (exports, _buildComputed, _getValueUnsafe, _flattenKeysUnsafe) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  var collapseKeys = function collapseKeys(keys) {\n    return keys;\n  };\n\n  exports.default = (0, _buildComputed.default)({ collapseKeys: collapseKeys, getValue: _getValueUnsafe.default, flattenKeys: _flattenKeysUnsafe.default });\n});","define('ember-macro-helpers/computed', ['exports', 'ember-macro-helpers/-build-computed', 'ember-macro-helpers/collapse-keys', 'ember-macro-helpers/get-value', 'ember-macro-helpers/flatten-keys'], function (exports, _buildComputed, _collapseKeys, _getValue, _flattenKeys) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = (0, _buildComputed.default)({ collapseKeys: _collapseKeys.default, getValue: _getValue.default, flattenKeys: _flattenKeys.default });\n});","define('ember-macro-helpers/create-class-computed', ['exports', 'ember', 'ember-object', 'ember-component', 'ember-computed', 'ember-evented/on', 'ember-metal/observer', 'ember-metal/get', 'ember-metal/set', 'ember-weakmap', 'ember-macro-helpers/get-value', 'ember-macro-helpers/collapse-keys', 'ember-macro-helpers/flatten-keys'], function (exports, _ember, _emberObject, _emberComponent, _emberComputed, _on, _observer, _get, _set, _emberWeakmap, _getValue, _collapseKeys, _flattenKeys) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function (observerBools, macroGenerator) {\n    return function () {\n      for (var _len = arguments.length, keys = Array(_len), _key = 0; _key < _len; _key++) {\n        keys[_key] = arguments[_key];\n      }\n\n      var _collapseKeysWithMap = (0, _collapseKeys.collapseKeysWithMap)(keys),\n          collapsedKeys = _collapseKeysWithMap.collapsedKeys,\n          keyMap = _collapseKeysWithMap.keyMap;\n\n      function getOriginalArrayDecorator(key, i) {\n        if (typeof key === 'string') {\n          var originalKey = keys[keyMap[i]];\n          if (originalKey.indexOf('.[]') !== -1 || originalKey.indexOf('.@each') !== -1) {\n            return originalKey;\n          }\n        }\n        return key;\n      }\n\n      var mappedKeys = [];\n\n      function rewriteComputed(obj, key) {\n        var _this = this;\n\n        var mappedWithResolvedOberverKeys = mappedKeys.map(function (macro, i) {\n          var shouldObserve = observerBools[i];\n          if (shouldObserve) {\n            macro = (0, _getValue.default)({ context: _this, macro: macro, key: key });\n          }\n          return macro;\n        });\n\n        var cp = macroGenerator.apply(this, mappedWithResolvedOberverKeys);\n        defineProperty(this, 'computed', cp);\n      }\n\n      var classProperties = {};\n\n      collapsedKeys.forEach(function (key, i) {\n        var shouldObserve = observerBools[i];\n        if (!shouldObserve) {\n          key = getOriginalArrayDecorator(key, i);\n        }\n\n        var mappedKey = resolveMappedLocation(key, i);\n\n        mappedKeys.push(mappedKey);\n        if (shouldObserve) {\n          classProperties['key' + i + 'DidChange'] = (0, _observer.default)(mappedKey, rewriteComputed);\n        }\n      });\n\n      var ObserverClass = BaseClass.extend(classProperties, {\n        // can't use rewriteComputed directly, maybe a bug\n        // https://github.com/emberjs/ember.js/issues/15246\n        onInit: (0, _on.default)('init', function () {\n          rewriteComputed.call(this);\n        })\n      });\n\n      var cp = _emberComputed.default.apply(undefined, _toConsumableArray((0, _flattenKeys.default)(keys)).concat([function (key) {\n        var _this2 = this;\n\n        var propertyInstance = findOrCreatePropertyInstance(this, ObserverClass, key, cp);\n\n        var properties = collapsedKeys.reduce(function (properties, macro, i) {\n          if (typeof macro !== 'string') {\n            properties[i.toString()] = (0, _getValue.default)({ context: _this2, macro: macro, key: key });\n          }\n          return properties;\n        }, {});\n\n        (0, _set.setProperties)(propertyInstance.nonStrings, properties);\n\n        return (0, _get.default)(propertyInstance, 'computed');\n      }])).readOnly();\n\n      return cp;\n    };\n  };\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  var defineProperty = _ember.default.defineProperty;\n\n\n  var PROPERTIES = new _emberWeakmap.default();\n\n  function findOrCreatePropertyInstance(context, propertyClass, key, cp) {\n    var propertiesForContext = PROPERTIES.get(context);\n    if (!propertiesForContext) {\n      propertiesForContext = new _emberWeakmap.default();\n      PROPERTIES.set(context, propertiesForContext);\n    }\n\n    var property = propertiesForContext.get(cp);\n    if (property) {\n      return property;\n    }\n\n    // let owner = getOwner(context);\n    property = propertyClass.create( /*owner.ownerInjection(), */{\n      key: key,\n      context: context,\n      nonStrings: _emberObject.default.create()\n    });\n\n    propertiesForContext.set(cp, property);\n\n    if (context instanceof _emberComponent.default) {\n      context.one('willDestroyElement', function () {\n        property.destroy();\n      });\n    }\n\n    return property;\n  }\n\n  var BaseClass = _emberObject.default.extend({\n    computedDidChange: (0, _observer.default)('computed', function () {\n      var context = this.context,\n          key = this.key;\n\n\n      if (context.isDestroying) {\n        // controllers can get into this state\n        this.destroy();\n\n        return;\n      }\n\n      context.notifyPropertyChange(key);\n    })\n  });\n\n  function resolveMappedLocation(key, i) {\n    if (typeof key === 'string') {\n      return 'context.' + key;\n    } else {\n      return 'nonStrings.' + i;\n    }\n  }\n});","define('ember-macro-helpers/curried-computed', ['exports', 'ember-macro-helpers/-build-computed', 'ember-macro-helpers/computed'], function (exports, _buildComputed, _computed) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = (0, _buildComputed.buildCurriedComputed)(_computed.default);\n});","define('ember-macro-helpers/expand-property-list', ['exports', 'ember-macro-helpers/expand-property'], function (exports, _expandProperty) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function (propertyList) {\n    return propertyList.reduce(function (newPropertyList, property) {\n      return newPropertyList.concat((0, _expandProperty.default)(property));\n    }, []);\n  };\n});","define('ember-macro-helpers/expand-property', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function (property) {\n    var newPropertyList = [];\n    expandProperties(property, function (expandedProperties) {\n      newPropertyList = newPropertyList.concat(expandedProperties);\n    });\n    return newPropertyList;\n  };\n\n  var expandProperties = _ember.default.expandProperties;\n});","define('ember-macro-helpers/flatten-keys-unsafe', ['exports', 'ember-macro-helpers/flatten-keys'], function (exports, _flattenKeys) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function (keys) {\n    var flattenedKeys = (0, _flattenKeys.default)(keys);\n\n    return flattenedKeys.reduce(function (flattenedKeys, key) {\n      // keys with spaces throw an exception\n      // treat as a literal and ignore\n      var hasSpaces = key.indexOf(' ') !== -1;\n      if (!hasSpaces) {\n        flattenedKeys.push(key);\n      }\n      return flattenedKeys;\n    }, []);\n  };\n});","define('ember-macro-helpers/flatten-keys', ['exports', 'ember-macro-helpers/is-computed'], function (exports, _isComputed) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function (keys) {\n    var flattenedKeys = [];\n    _flattenKeys(keys.slice(0, -1), flattenedKeys);\n    var lastKey = keys[keys.length - 1];\n    if (lastKey) {\n      var lastValue = flattenKey(lastKey, flattenedKeys);\n      if (lastValue) {\n        if (lastValue.get) {\n          flattenKey(lastValue.get, flattenedKeys);\n        }\n        if (lastValue.set) {\n          flattenKey(lastValue.set, flattenedKeys);\n        }\n      }\n    }\n    return flattenedKeys;\n  };\n\n  function flattenKey(key, flattenedKeys) {\n    if ((0, _isComputed.default)(key)) {\n      var dependentKeys = key._dependentKeys;\n      if (dependentKeys === undefined) {\n        // when there are no keys (raw)\n        return;\n      }\n\n      return _flattenKeys(dependentKeys, flattenedKeys);\n    }\n\n    if (typeof key !== 'string') {\n      return key;\n    }\n\n    flattenedKeys.push(key);\n  }\n\n  function _flattenKeys(keys, flattenedKeys) {\n    keys.forEach(function (key) {\n      flattenKey(key, flattenedKeys);\n    });\n  }\n});","define('ember-macro-helpers/get-value-unsafe', ['exports', 'ember-macro-helpers/get-value'], function (exports, _getValue) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function () {\n    var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n    var value = (0, _getValue.default)(options);\n    if (value !== undefined) {\n      return value;\n    }\n\n    return options.macro;\n  };\n});","define('ember-macro-helpers/get-value', ['exports', 'ember-metal/get', 'ember-macro-helpers/is-computed'], function (exports, _get, _isComputed) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function () {\n    var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n        context = _ref.context,\n        macro = _ref.macro,\n        key = _ref.key;\n\n    if ((0, _isComputed.default)(macro)) {\n      return macro._getter.call(context, key);\n    }\n\n    if (typeof macro !== 'string') {\n      return macro;\n    }\n\n    return (0, _get.default)(context, macro);\n  };\n});","define('ember-macro-helpers/index', ['exports', 'ember-macro-helpers/computed', 'ember-macro-helpers/create-class-computed', 'ember-macro-helpers/curried-computed', 'ember-macro-helpers/lazy-computed', 'ember-macro-helpers/lazy-curried-computed', 'ember-macro-helpers/literal', 'ember-macro-helpers/raw', 'ember-macro-helpers/reads', 'ember-macro-helpers/writable'], function (exports, _computed, _createClassComputed, _curriedComputed, _lazyComputed, _lazyCurriedComputed, _literal, _raw, _reads, _writable) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'computed', {\n    enumerable: true,\n    get: function () {\n      return _computed.default;\n    }\n  });\n  Object.defineProperty(exports, 'createClassComputed', {\n    enumerable: true,\n    get: function () {\n      return _createClassComputed.default;\n    }\n  });\n  Object.defineProperty(exports, 'curriedComputed', {\n    enumerable: true,\n    get: function () {\n      return _curriedComputed.default;\n    }\n  });\n  Object.defineProperty(exports, 'lazyComputed', {\n    enumerable: true,\n    get: function () {\n      return _lazyComputed.default;\n    }\n  });\n  Object.defineProperty(exports, 'lazyCurriedComputed', {\n    enumerable: true,\n    get: function () {\n      return _lazyCurriedComputed.default;\n    }\n  });\n  Object.defineProperty(exports, 'literal', {\n    enumerable: true,\n    get: function () {\n      return _literal.default;\n    }\n  });\n  Object.defineProperty(exports, 'raw', {\n    enumerable: true,\n    get: function () {\n      return _raw.default;\n    }\n  });\n  Object.defineProperty(exports, 'reads', {\n    enumerable: true,\n    get: function () {\n      return _reads.default;\n    }\n  });\n  Object.defineProperty(exports, 'writable', {\n    enumerable: true,\n    get: function () {\n      return _writable.default;\n    }\n  });\n});","define('ember-macro-helpers/is-computed', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function (key) {\n    return key instanceof ComputedProperty;\n  };\n\n  var ComputedProperty = _ember.default.ComputedProperty;\n});","define('ember-macro-helpers/lazy-computed', ['exports', 'ember-macro-helpers/-build-computed', 'ember-macro-helpers/collapse-keys', 'ember-macro-helpers/get-value', 'ember-macro-helpers/flatten-keys'], function (exports, _buildComputed, _collapseKeys, _getValue, _flattenKeys) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = (0, _buildComputed.default)({ collapseKeys: _collapseKeys.default, getValue: _getValue.default, flattenKeys: _flattenKeys.default, isLazy: true });\n});","define('ember-macro-helpers/lazy-curried-computed', ['exports', 'ember-macro-helpers/-build-computed', 'ember-macro-helpers/lazy-computed'], function (exports, _buildComputed, _lazyComputed) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = (0, _buildComputed.buildCurriedComputed)(_lazyComputed.default);\n});","define('ember-macro-helpers/literal', ['exports', 'ember-macro-helpers/raw'], function (exports, _raw) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function () {\n      return _raw.default;\n    }\n  });\n});","define('ember-macro-helpers/normalize-array-key', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function (array) {\n    var keys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\n    // this macro support should be extracted out\n    // we should only deal with string keys in here\n    if (typeof array !== 'string') {\n      return array;\n    }\n\n    var props = void 0;\n\n    var i = array.indexOf('.@each');\n    if (i !== -1) {\n      var chain = array.split('.');\n      var end = chain[chain.length - 1];\n      if (end.indexOf('{') === 0) {\n        props = end.substring(1, end.length - 1).split(',');\n      } else {\n        props = [end];\n      }\n    } else {\n      i = array.indexOf('.[]');\n      props = [];\n    }\n\n    if (i !== -1) {\n      array = array.substr(0, i);\n    }\n\n    keys.forEach(function (key) {\n      // key could be a promise proxy and not resolved yet\n      if (key === undefined) {\n        return;\n      }\n\n      if (props.indexOf(key) === -1) {\n        props.push(key);\n      }\n    });\n\n    var suffix = void 0;\n    if (props.length === 0) {\n      suffix = '[]';\n    } else {\n      suffix = '@each.';\n      if (props.length === 1) {\n        suffix += props[0];\n      } else {\n        suffix += '{' + props.join(',') + '}';\n      }\n    }\n\n    return array + '.' + suffix;\n  };\n});","define('ember-macro-helpers/raw', ['exports', 'ember-computed'], function (exports, _emberComputed) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function (key) {\n    return (0, _emberComputed.default)(function () {\n      return key;\n    }).readOnly();\n  };\n});","define('ember-macro-helpers/reads', ['exports', 'ember-macro-helpers/writable'], function (exports, _writable) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function () {\n      return _writable.default;\n    }\n  });\n});","define('ember-macro-helpers/writable', ['exports', 'ember-macro-helpers/computed'], function (exports, _computed) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function (getter, setterCallback) {\n    var newCallback = {\n      get: function get(val) {\n        return val;\n      }\n    };\n\n    if (setterCallback) {\n      if ((typeof setterCallback === 'undefined' ? 'undefined' : _typeof(setterCallback)) === 'object' && setterCallback.set) {\n        newCallback.set = setterCallback.set;\n      } else {\n        newCallback.set = function () {\n          return setterCallback.apply(this, arguments);\n        };\n      }\n    }\n\n    return (0, _computed.default)(getter, newCallback);\n  };\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n});","define('ember-metrics/metrics-adapters/base', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var emberObject = _ember.default.Object,\n      assert = _ember.default.assert,\n      guidFor = _ember.default.guidFor,\n      typeOf = _ember.default.typeOf;\n\n\n  function makeToString(ret) {\n    return function () {\n      return ret;\n    };\n  }\n\n  exports.default = emberObject.extend({\n    init: function init() {\n      assert('[ember-metrics] ' + this.toString() + ' must implement the init hook!');\n    },\n    willDestroy: function willDestroy() {\n      assert('[ember-metrics] ' + this.toString() + ' must implement the willDestroy hook!');\n    },\n    toString: function toString() {\n      var hasToStringExtension = typeOf(this.toStringExtension) === 'function';\n      var extension = hasToStringExtension ? ':' + this.toStringExtension() : '';\n      var ret = 'ember-metrics@metrics-adapter:' + extension + ':' + guidFor(this);\n\n      this.toString = makeToString(ret);\n      return ret;\n    },\n\n\n    metrics: null,\n    config: null,\n    identify: function identify() {},\n    trackEvent: function trackEvent() {},\n    trackPage: function trackPage() {},\n    alias: function alias() {}\n  });\n});","define('ember-metrics/metrics-adapters/facebook-pixel', ['exports', 'ember', 'ember-metrics/utils/can-use-dom', 'ember-metrics/utils/object-transforms', 'ember-metrics/metrics-adapters/base'], function (exports, _ember, _canUseDom, _objectTransforms, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var assert = _ember.default.assert,\n      $ = _ember.default.$,\n      get = _ember.default.get;\n  var compact = _objectTransforms.default.compact;\n  exports.default = _base.default.extend({\n    toStringExtension: function toStringExtension() {\n      return 'FacebookPixel';\n    },\n    init: function init() {\n      var config = get(this, 'config');\n      var id = config.id;\n\n\n      assert('[ember-metrics] You must pass a valid `id` to the ' + this.toString() + ' adapter', id);\n\n      if (_canUseDom.default) {\n        /* eslint-disable */\n        !function (f, b, e, v, n, t, s) {\n          if (f.fbq) return;n = f.fbq = function () {\n            n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments);\n          };if (!f._fbq) f._fbq = n;\n          n.push = n;n.loaded = !0;n.version = '2.0';n.queue = [];t = b.createElement(e);t.async = !0;\n          t.src = v;s = b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t, s);\n        }(window, document, 'script', 'https://connect.facebook.net/en_US/fbevents.js');\n        /* eslint-enable */\n\n        window.fbq('init', id);\n\n        // Leave this call due to Facebook API docs\n        // https://developers.facebook.com/docs/facebook-pixel/api-reference#setup\n        this.trackEvent({ event: 'PageView' });\n      }\n    },\n    trackEvent: function trackEvent() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      if (!_canUseDom.default) {\n        return;\n      }\n\n      var compactedOptions = compact(options);\n      var event = compactedOptions.event;\n\n\n      if (!event) {\n        return;\n      }\n      delete compactedOptions.event;\n\n      if (window.fbq) {\n        window.fbq('track', event, compactedOptions);\n      }\n    },\n    trackPage: function trackPage() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      if (!_canUseDom.default) {\n        return;\n      }\n\n      window.fbq('track', 'PageView', options);\n    },\n    willDestroy: function willDestroy() {\n      if (!_canUseDom.default) {\n        return;\n      }\n\n      $('script[src*=\"fbevents.js\"]').remove();\n      delete window.fbq;\n    }\n  });\n});","define('ember-metrics/metrics-adapters/google-analytics', ['exports', 'ember', 'ember-metrics/utils/can-use-dom', 'ember-metrics/utils/object-transforms', 'ember-metrics/metrics-adapters/base'], function (exports, _ember, _canUseDom, _objectTransforms, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var isPresent = _ember.default.isPresent,\n      copy = _ember.default.copy,\n      assert = _ember.default.assert,\n      get = _ember.default.get,\n      $ = _ember.default.$,\n      capitalize = _ember.default.String.capitalize;\n  var compact = _objectTransforms.default.compact;\n\n  var assign = _ember.default.assign || _ember.default.merge;\n\n  exports.default = _base.default.extend({\n    toStringExtension: function toStringExtension() {\n      return 'GoogleAnalytics';\n    },\n    init: function init() {\n      var config = copy(get(this, 'config'));\n      var id = config.id,\n          sendHitTask = config.sendHitTask,\n          trace = config.trace,\n          require = config.require;\n      var debug = config.debug;\n\n\n      assert('[ember-metrics] You must pass a valid `id` to the ' + this.toString() + ' adapter', id);\n\n      delete config.id;\n      delete config.require;\n\n      if (debug) {\n        delete config.debug;\n      }\n      if (sendHitTask) {\n        delete config.sendHitTask;\n      }\n      if (trace) {\n        delete config.trace;\n      }\n\n      var hasOptions = isPresent(Object.keys(config));\n\n      if (_canUseDom.default) {\n\n        /* eslint-disable */\n        (function (i, s, o, g, r, a, m) {\n          i['GoogleAnalyticsObject'] = r;i[r] = i[r] || function () {\n            (i[r].q = i[r].q || []).push(arguments);\n          }, i[r].l = 1 * new Date();a = s.createElement(o), m = s.getElementsByTagName(o)[0];a.async = 1;a.src = g;m.parentNode.insertBefore(a, m);\n        })(window, document, 'script', 'https://www.google-analytics.com/analytics' + (debug ? '_debug' : '') + '.js', 'ga');\n        /* eslint-enable */\n\n        if (trace === true) {\n          window.ga_debug = { trace: true };\n        }\n\n        if (hasOptions) {\n          window.ga('create', id, config);\n        } else {\n          window.ga('create', id, 'auto');\n        }\n\n        if (require) {\n          require.forEach(function (plugin) {\n            window.ga('require', plugin);\n          });\n        }\n\n        if (sendHitTask === false) {\n          window.ga('set', 'sendHitTask', null);\n        }\n      }\n    },\n    identify: function identify() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      var compactedOptions = compact(options);\n      var distinctId = compactedOptions.distinctId;\n\n\n      if (_canUseDom.default) {\n        window.ga('set', 'userId', distinctId);\n      }\n    },\n    trackEvent: function trackEvent() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      var compactedOptions = compact(options);\n      var sendEvent = { hitType: 'event' };\n      var eventKeys = ['category', 'action', 'label', 'value'];\n      var gaEvent = {};\n\n      if (compactedOptions.nonInteraction) {\n        gaEvent.nonInteraction = compactedOptions.nonInteraction;\n        delete compactedOptions.nonInteraction;\n      }\n\n      for (var key in compactedOptions) {\n        if (eventKeys.includes(key)) {\n          var capitalizedKey = capitalize(key);\n          gaEvent['event' + capitalizedKey] = compactedOptions[key];\n        } else {\n          gaEvent[key] = compactedOptions[key];\n        }\n      }\n\n      var event = assign(sendEvent, gaEvent);\n      if (_canUseDom.default) {\n        window.ga('send', event);\n      }\n\n      return event;\n    },\n    trackPage: function trackPage() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      var compactedOptions = compact(options);\n      var sendEvent = { hitType: 'pageview' };\n\n      var event = assign(sendEvent, compactedOptions);\n      for (var key in compactedOptions) {\n        if (compactedOptions.hasOwnProperty(key)) {\n          window.ga('set', key, compactedOptions[key]);\n        }\n      }\n      if (_canUseDom.default) {\n        window.ga('send', sendEvent);\n      }\n\n      return event;\n    },\n    willDestroy: function willDestroy() {\n      if (_canUseDom.default) {\n        $('script[src*=\"google-analytics\"]').remove();\n        delete window.ga;\n      }\n    }\n  });\n});","define('ember-metrics/metrics-adapters/google-tag-manager', ['exports', 'ember', 'ember-metrics/utils/can-use-dom', 'ember-metrics/utils/object-transforms', 'ember-metrics/metrics-adapters/base'], function (exports, _ember, _canUseDom, _objectTransforms, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var assert = _ember.default.assert,\n      get = _ember.default.get,\n      set = _ember.default.set,\n      $ = _ember.default.$,\n      getWithDefault = _ember.default.getWithDefault,\n      capitalize = _ember.default.String.capitalize;\n\n  var assign = _ember.default.assign || _ember.default.merge;\n  var compact = _objectTransforms.default.compact;\n  exports.default = _base.default.extend({\n    dataLayer: 'dataLayer',\n\n    toStringExtension: function toStringExtension() {\n      return 'GoogleTagManager';\n    },\n    init: function init() {\n      var config = get(this, 'config');\n      var id = config.id,\n          envParams = config.envParams;\n\n      var dataLayer = getWithDefault(config, 'dataLayer', 'dataLayer');\n      var envParamsString = envParams ? '&' + envParams : '';\n\n      assert('[ember-metrics] You must pass a valid `id` to the ' + this.toString() + ' adapter', id);\n\n      set(this, 'dataLayer', dataLayer);\n\n      if (_canUseDom.default) {\n        (function (w, d, s, l, i) {\n          w[l] = w[l] || [];\n          w[l].push({\n            'gtm.start': new Date().getTime(),\n            event: 'gtm.js'\n          });\n          var f = d.getElementsByTagName(s)[0],\n              j = d.createElement(s),\n              dl = l !== 'dataLayer' ? '&l=' + l : '';\n          j.async = true;\n          j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl + envParamsString;\n          f.parentNode.insertBefore(j, f);\n        })(window, document, 'script', get(this, 'dataLayer'), id);\n      }\n    },\n    trackEvent: function trackEvent() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      var compactedOptions = compact(options);\n      var dataLayer = get(this, 'dataLayer');\n      var gtmEvent = { 'event': compactedOptions['event'] };\n\n      delete compactedOptions['event'];\n\n      for (var key in compactedOptions) {\n        var capitalizedKey = capitalize(key);\n        gtmEvent['event' + capitalizedKey] = compactedOptions[key];\n      }\n\n      if (_canUseDom.default) {\n        window[dataLayer].push(gtmEvent);\n      }\n\n      return gtmEvent;\n    },\n    trackPage: function trackPage() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      var compactedOptions = compact(options);\n      var dataLayer = get(this, 'dataLayer');\n      var sendEvent = {\n        event: compactedOptions['event'] || 'pageview'\n      };\n\n      var pageEvent = assign(sendEvent, compactedOptions);\n\n      if (_canUseDom.default) {\n        window[dataLayer].push(pageEvent);\n      }\n\n      return pageEvent;\n    },\n    willDestroy: function willDestroy() {\n      if (_canUseDom.default) {\n        $('script[src*=\"gtm.js\"]').remove();\n        delete window.dataLayer;\n      }\n    }\n  });\n});","define('ember-metrics/metrics-adapters/intercom', ['exports', 'ember', 'ember-metrics/utils/can-use-dom', 'ember-metrics/utils/object-transforms', 'ember-metrics/metrics-adapters/base'], function (exports, _ember, _canUseDom, _objectTransforms, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var $ = _ember.default.$,\n      assert = _ember.default.assert,\n      get = _ember.default.get;\n  var compact = _objectTransforms.default.compact,\n      without = _objectTransforms.default.without;\n\n  var assign = _ember.default.assign || _ember.default.merge;\n\n  exports.default = _base.default.extend({\n    booted: false,\n\n    toStringExtension: function toStringExtension() {\n      return 'Intercom';\n    },\n    init: function init() {\n      var _get = get(this, 'config'),\n          appId = _get.appId;\n\n      assert('[ember-metrics] You must pass a valid `appId` to the ' + this.toString() + ' adapter', appId);\n\n      if (_canUseDom.default) {\n        /* eslint-disable */\n        (function () {\n          var w = window;var ic = w.Intercom;if (typeof ic === \"function\") {\n            ic('reattach_activator');ic('update', {});\n          } else {\n            var l = function l() {\n              var s = d.createElement('script');s.type = 'text/javascript';s.async = true;\n              s.src = 'https://widget.intercom.io/widget/' + appId;\n              var x = d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s, x);\n            };\n\n            var d = document;var i = function i() {\n              i.c(arguments);\n            };i.q = [];i.c = function (args) {\n              i.q.push(args);\n            };w.Intercom = i;l();\n          }\n        })();\n        /* eslint-enable */\n      }\n    },\n    identify: function identify() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      var _get2 = get(this, 'config'),\n          appId = _get2.appId;\n\n      var compactedOptions = compact(options);\n      var distinctId = compactedOptions.distinctId;\n\n      var props = without(compactedOptions, 'distinctId');\n\n      props.app_id = appId;\n      if (distinctId) {\n        props.user_id = distinctId;\n      }\n\n      assert('[ember-metrics] You must pass `distinctId` or `email` to `identify()` when using the ' + this.toString() + ' adapter', props.email || props.user_id);\n\n      var method = this.booted ? 'update' : 'boot';\n      if (_canUseDom.default) {\n        window.Intercom(method, props);\n        this.booted = true;\n      }\n    },\n    trackEvent: function trackEvent() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      var compactedOptions = compact(options);\n      var event = compactedOptions.event;\n\n      var props = without(compactedOptions, 'event');\n\n      if (_canUseDom.default) {\n        window.Intercom('trackEvent', event, props);\n      }\n    },\n    trackPage: function trackPage() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      var event = { event: 'page viewed' };\n      var mergedOptions = assign(event, options);\n\n      this.trackEvent(mergedOptions);\n    },\n    willDestroy: function willDestroy() {\n      if (_canUseDom.default) {\n        $('script[src*=\"intercom\"]').remove();\n        delete window.Intercom;\n      }\n    }\n  });\n});","define('ember-metrics/metrics-adapters/mixpanel', ['exports', 'ember', 'ember-metrics/utils/can-use-dom', 'ember-metrics/utils/object-transforms', 'ember-metrics/metrics-adapters/base'], function (exports, _ember, _canUseDom, _objectTransforms, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var assert = _ember.default.assert,\n      $ = _ember.default.$,\n      get = _ember.default.get;\n  var without = _objectTransforms.default.without,\n      compact = _objectTransforms.default.compact,\n      isPresent = _objectTransforms.default.isPresent;\n\n  var assign = _ember.default.assign || _ember.default.merge;\n\n  exports.default = _base.default.extend({\n    toStringExtension: function toStringExtension() {\n      return 'Mixpanel';\n    },\n    init: function init() {\n      var config = get(this, 'config');\n      var token = config.token;\n\n\n      assert('[ember-metrics] You must pass a valid `token` to the ' + this.toString() + ' adapter', token);\n\n      if (_canUseDom.default) {\n        /* eslint-disable */\n        (function (e, a) {\n          if (!a.__SV) {\n            var b = window;try {\n              var c,\n                  l,\n                  i,\n                  j = b.location,\n                  g = j.hash;c = function c(a, b) {\n                return (l = a.match(RegExp(b + \"=([^&]*)\"))) ? l[1] : null;\n              };g && c(g, \"state\") && (i = JSON.parse(decodeURIComponent(c(g, \"state\"))), \"mpeditor\" === i.action && (b.sessionStorage.setItem(\"_mpcehash\", g), history.replaceState(i.desiredHash || \"\", e.title, j.pathname + j.search)));\n            } catch (m) {}var k, h;window.mixpanel = a;a._i = [];a.init = function (b, c, f) {\n              function e(b, a) {\n                var c = a.split(\".\");2 == c.length && (b = b[c[0]], a = c[1]);b[a] = function () {\n                  b.push([a].concat(Array.prototype.slice.call(arguments, 0)));\n                };\n              }var d = a;\"undefined\" !== typeof f ? d = a[f] = [] : f = \"mixpanel\";d.people = d.people || [];d.toString = function (b) {\n                var a = \"mixpanel\";\"mixpanel\" !== f && (a += \".\" + f);b || (a += \" (stub)\");return a;\n              };d.people.toString = function () {\n                return d.toString(1) + \".people (stub)\";\n              };k = \"disable time_event track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config reset people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user\".split(\" \");\n              for (h = 0; h < k.length; h++) {\n                e(d, k[h]);\n              }a._i.push([b, c, f]);\n            };a.__SV = 1.2;b = e.createElement(\"script\");b.type = \"text/javascript\";b.async = !0;b.src = \"undefined\" !== typeof MIXPANEL_CUSTOM_LIB_URL ? MIXPANEL_CUSTOM_LIB_URL : \"file:\" === e.location.protocol && \"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js\".match(/^\\/\\//) ? \"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js\" : \"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js\";c = e.getElementsByTagName(\"script\")[0];c.parentNode.insertBefore(b, c);\n          }\n        })(document, window.mixpanel || []);\n        mixpanel.init(token, { \"api_host\": \"https://api.mixpanel.com\", \"secure_cookie\": true });\n        /* eslint-enable */\n      }\n    },\n    identify: function identify() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      var compactedOptions = compact(options);\n      var distinctId = compactedOptions.distinctId;\n\n      var props = without(compactedOptions, 'distinctId');\n\n      if (isPresent(props) && _canUseDom.default) {\n        window.mixpanel.identify(distinctId);\n        window.mixpanel.people.set(props);\n      } else if (_canUseDom.default) {\n        window.mixpanel.identify(distinctId);\n      }\n    },\n    trackEvent: function trackEvent() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      var compactedOptions = compact(options);\n      var event = compactedOptions.event;\n\n      var props = without(compactedOptions, 'event');\n\n      if (isPresent(props) && _canUseDom.default) {\n        window.mixpanel.track(event, props);\n      } else if (_canUseDom.default) {\n        window.mixpanel.track(event);\n      }\n    },\n    trackPage: function trackPage() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      var event = { event: 'page viewed' };\n      var mergedOptions = assign(event, options);\n\n      this.trackEvent(mergedOptions);\n    },\n    alias: function alias() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      var compactedOptions = compact(options);\n      var alias = compactedOptions.alias,\n          original = compactedOptions.original;\n\n\n      if (original && _canUseDom.default) {\n        window.mixpanel.alias(alias, original);\n      } else if (_canUseDom.default) {\n        window.mixpanel.alias(alias);\n      }\n    },\n    willDestroy: function willDestroy() {\n      if (_canUseDom.default) {\n        $('script[src*=\"mixpanel\"]').remove();\n        delete window.mixpanel;\n      }\n    }\n  });\n});","define('ember-metrics/metrics-adapters/piwik', ['exports', 'ember', 'ember-metrics/utils/can-use-dom', 'ember-metrics/metrics-adapters/base'], function (exports, _ember, _canUseDom, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var assert = _ember.default.assert,\n      $ = _ember.default.$,\n      get = _ember.default.get;\n  exports.default = _base.default.extend({\n    toStringExtension: function toStringExtension() {\n      return 'Piwik';\n    },\n    init: function init() {\n      var config = get(this, 'config');\n      var piwikUrl = config.piwikUrl,\n          siteId = config.siteId;\n\n\n      assert('[ember-metrics] You must pass a `piwikUrl` and a `siteId` to the ' + this.toString() + ' adapter', piwikUrl && siteId);\n\n      if (_canUseDom.default) {\n        window._paq = window._paq || [];\n        (function () {\n          window._paq.push(['setTrackerUrl', piwikUrl + '/piwik.php']);\n          window._paq.push(['setSiteId', siteId]);\n          var d = document,\n              g = d.createElement('script'),\n              s = d.getElementsByTagName('script')[0];\n          g.type = 'text/javascript';g.async = true;g.defer = true;g.src = piwikUrl + '/piwik.js';s.parentNode.insertBefore(g, s);\n        })();\n      }\n    },\n    identify: function identify() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      if (_canUseDom.default) {\n        window._paq.push(['setUserId', options.userId]);\n      }\n    },\n    trackEvent: function trackEvent() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      if (_canUseDom.default) {\n        window._paq.push(['trackEvent', options.category, options.action, options.name, options.value]);\n      }\n    },\n    trackPage: function trackPage() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      if (_canUseDom.default) {\n        window._paq.push(['setCustomUrl', options.page]);\n        window._paq.push(['trackPageView', options.title]);\n      }\n    },\n    willDestroy: function willDestroy() {\n      if (_canUseDom.default) {\n        $('script[src*=\"piwik\"]').remove();\n        delete window._paq;\n      }\n    }\n  });\n});","define('ember-metrics/metrics-adapters/segment', ['exports', 'ember', 'ember-metrics/utils/can-use-dom', 'ember-metrics/utils/object-transforms', 'ember-metrics/metrics-adapters/base'], function (exports, _ember, _canUseDom, _objectTransforms, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var $ = _ember.default.$,\n      assert = _ember.default.assert,\n      copy = _ember.default.copy,\n      get = _ember.default.get;\n  exports.default = _base.default.extend({\n    toStringExtension: function toStringExtension() {\n      return 'Segment';\n    },\n    init: function init() {\n      var config = copy(get(this, 'config'));\n      var segmentKey = config.key;\n\n      assert('[ember-metrics] You must pass a valid `key` to the ' + this.toString() + ' adapter', segmentKey);\n\n      if (_canUseDom.default) {\n        /* eslint-disable */\n        window.analytics = window.analytics || [], window.analytics.methods = [\"identify\", \"group\", \"track\", \"page\", \"pageview\", \"alias\", \"ready\", \"on\", \"once\", \"off\", \"trackLink\", \"trackForm\", \"trackClick\", \"trackSubmit\"], window.analytics.factory = function (t) {\n          return function () {\n            var a = Array.prototype.slice.call(arguments);return a.unshift(t), window.analytics.push(a), window.analytics;\n          };\n        };for (var i = 0; i < window.analytics.methods.length; i++) {\n          var key = window.analytics.methods[i];window.analytics[key] = window.analytics.factory(key);\n        }window.analytics.load = function (t) {\n          if (!document.getElementById(\"analytics-js\")) {\n            var a = document.createElement(\"script\");a.type = \"text/javascript\", a.id = \"analytics-js\", a.async = !0, a.src = (\"https:\" === document.location.protocol ? \"https://\" : \"http://\") + \"cdn.segment.com/analytics.js/v1/\" + t + \"/analytics.min.js\";var n = document.getElementsByTagName(\"script\")[0];n.parentNode.insertBefore(a, n);\n          }\n        }, window.analytics.SNIPPET_VERSION = \"2.0.9\";\n        /* eslint-enable */\n        window.analytics.load(segmentKey);\n      }\n    },\n    alias: function alias() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      var compactedOptions = (0, _objectTransforms.compact)(options);\n      var alias = compactedOptions.alias,\n          original = compactedOptions.original;\n\n\n      if (original && _canUseDom.default) {\n        window.analytics.alias(alias, original);\n      } else if (_canUseDom.default) {\n        window.analytics.alias(alias);\n      }\n    },\n    identify: function identify() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      var compactedOptions = (0, _objectTransforms.compact)(options);\n      var distinctId = compactedOptions.distinctId;\n\n      delete compactedOptions.distinctId;\n      if (_canUseDom.default) {\n        window.analytics.identify(distinctId, compactedOptions);\n      }\n    },\n    trackEvent: function trackEvent() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      var compactedOptions = (0, _objectTransforms.compact)(options);\n      var event = compactedOptions.event;\n\n      delete compactedOptions.event;\n\n      if (_canUseDom.default) {\n        window.analytics.track(event, compactedOptions);\n      }\n    },\n    trackPage: function trackPage() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      var compactedOptions = (0, _objectTransforms.compact)(options);\n      var page = compactedOptions.page;\n\n      delete compactedOptions.page;\n\n      if (_canUseDom.default) {\n        window.analytics.page(page, compactedOptions);\n      }\n    },\n    willDestroy: function willDestroy() {\n      if (_canUseDom.default) {\n        $('script[src*=\"segment.com\"]').remove();\n        delete window.analytics;\n      }\n    }\n  });\n});","define('ember-metrics/services/metrics', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _slicedToArray = function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];\n      var _n = true;\n      var _d = false;\n      var _e = undefined;\n\n      try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);\n\n          if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;\n        _e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }\n\n      return _arr;\n    }\n\n    return function (arr, i) {\n      if (Array.isArray(arr)) {\n        return arr;\n      } else if (Symbol.iterator in Object(arr)) {\n        return sliceIterator(arr, i);\n      } else {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n      }\n    };\n  }();\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  var Service = _ember.default.Service,\n      getWithDefault = _ember.default.getWithDefault,\n      assert = _ember.default.assert,\n      get = _ember.default.get,\n      set = _ember.default.set,\n      copy = _ember.default.copy,\n      makeArray = _ember.default.makeArray,\n      emberArray = _ember.default.A,\n      dasherize = _ember.default.String.dasherize,\n      getOwner = _ember.default.getOwner;\n  var keys = Object.keys;\n\n  var assign = _ember.default.assign || _ember.default.merge;\n\n  exports.default = Service.extend({\n    /**\n     * Cached adapters to reduce multiple expensive lookups.\n     *\n     * @property _adapters\n     * @private\n     * @type Object\n     * @default null\n     */\n    _adapters: null,\n\n    /**\n     * Contextual information attached to each call to an adapter. Often you'll\n     * want to include things like `currentUser.name` with every event or page\n     * view  that's tracked. Any properties that you bind to `metrics.context`\n     * will be merged into the options for every service call.\n     *\n     * @property context\n     * @type Object\n     * @default null\n     */\n    context: null,\n\n    /**\n     * Indicates whether calls to the service will be forwarded to the adapters\n     *\n     * @property enabled\n     * @type Boolean\n     * @default true\n     */\n    enabled: true,\n\n    /**\n     * When the Service is created, activate adapters that were specified in the\n     * configuration. This config is injected into the Service as\n     * `options`.\n     *\n     * @method init\n     * @param {Void}\n     * @return {Void}\n     */\n    init: function init() {\n      var adapters = getWithDefault(this, 'options.metricsAdapters', emberArray());\n      var owner = getOwner(this);\n      owner.registerOptionsForType('ember-metrics@metrics-adapter', { instantiate: false });\n      owner.registerOptionsForType('metrics-adapter', { instantiate: false });\n      set(this, 'appEnvironment', getWithDefault(this, 'options.environment', 'development'));\n      set(this, '_adapters', {});\n      set(this, 'context', {});\n      this.activateAdapters(adapters);\n      this._super.apply(this, arguments);\n    },\n    identify: function identify() {\n      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      this.invoke.apply(this, ['identify'].concat(_toConsumableArray(args)));\n    },\n    alias: function alias() {\n      for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n        args[_key2] = arguments[_key2];\n      }\n\n      this.invoke.apply(this, ['alias'].concat(_toConsumableArray(args)));\n    },\n    trackEvent: function trackEvent() {\n      for (var _len3 = arguments.length, args = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n        args[_key3] = arguments[_key3];\n      }\n\n      this.invoke.apply(this, ['trackEvent'].concat(_toConsumableArray(args)));\n    },\n    trackPage: function trackPage() {\n      for (var _len4 = arguments.length, args = Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n        args[_key4] = arguments[_key4];\n      }\n\n      this.invoke.apply(this, ['trackPage'].concat(_toConsumableArray(args)));\n    },\n\n\n    /**\n     * Instantiates the adapters specified in the configuration and caches them\n     * for future retrieval.\n     *\n     * @method activateAdapters\n     * @param {Array} adapterOptions\n     * @return {Object} instantiated adapters\n     */\n    activateAdapters: function activateAdapters() {\n      var _this = this;\n\n      var adapterOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n\n      var appEnvironment = get(this, 'appEnvironment');\n      var cachedAdapters = get(this, '_adapters');\n      var activatedAdapters = {};\n\n      adapterOptions.filter(function (adapterOption) {\n        return _this._filterEnvironments(adapterOption, appEnvironment);\n      }).forEach(function (adapterOption) {\n        var name = adapterOption.name;\n\n        var adapter = cachedAdapters[name] ? cachedAdapters[name] : _this._activateAdapter(adapterOption);\n\n        set(activatedAdapters, name, adapter);\n      });\n\n      return set(this, '_adapters', activatedAdapters);\n    },\n\n\n    /**\n     * Invokes a method on the passed adapter, or across all activated adapters if not passed.\n     *\n     * @method invoke\n     * @param {String} methodName\n     * @param {Rest} args\n     * @return {Void}\n     */\n    invoke: function invoke(methodName) {\n      if (!get(this, 'enabled')) {\n        return;\n      }\n\n      var cachedAdapters = get(this, '_adapters');\n      var allAdapterNames = keys(cachedAdapters);\n\n      var _ref = (arguments.length <= 1 ? 0 : arguments.length - 1) > 1 ? [makeArray(arguments.length <= 1 ? undefined : arguments[1]), arguments.length <= 2 ? undefined : arguments[2]] : [allAdapterNames, arguments.length <= 1 ? undefined : arguments[1]],\n          _ref2 = _slicedToArray(_ref, 2),\n          selectedAdapterNames = _ref2[0],\n          options = _ref2[1];\n\n      var context = copy(get(this, 'context'));\n      var mergedOptions = assign(context, options);\n\n      selectedAdapterNames.map(function (adapterName) {\n        return get(cachedAdapters, adapterName);\n      }).forEach(function (adapter) {\n        return adapter && adapter[methodName](mergedOptions);\n      });\n    },\n\n\n    /**\n     * On teardown, destroy cached adapters together with the Service.\n     *\n     * @method willDestroy\n     * @param {Void}\n     * @return {Void}\n     */\n    willDestroy: function willDestroy() {\n      var cachedAdapters = get(this, '_adapters');\n\n      for (var adapterName in cachedAdapters) {\n        get(cachedAdapters, adapterName).destroy();\n      }\n    },\n\n\n    /**\n     * Instantiates an adapter if one is found.\n     *\n     * @method _activateAdapter\n     * @param {Object}\n     * @private\n     * @return {Adapter}\n     */\n    _activateAdapter: function _activateAdapter() {\n      var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n          name = _ref3.name,\n          config = _ref3.config;\n\n      var Adapter = this._lookupAdapter(name);\n      assert('[ember-metrics] Could not find metrics adapter ' + name + '.', Adapter);\n\n      return Adapter.create(getOwner(this).ownerInjection(), { this: this, config: config });\n    },\n\n\n    /**\n     * Looks up the adapter from the container. Prioritizes the consuming app's\n     * adapters over the addon's adapters.\n     *\n     * @method _lookupAdapter\n     * @param {String} adapterName\n     * @private\n     * @return {Adapter} a local adapter or an adapter from the addon\n     */\n    _lookupAdapter: function _lookupAdapter(adapterName) {\n      assert('[ember-metrics] Could not find metrics adapter without a name.', adapterName);\n\n      var dasherizedAdapterName = dasherize(adapterName);\n      var availableAdapter = getOwner(this).lookup('ember-metrics@metrics-adapter:' + dasherizedAdapterName);\n      var localAdapter = getOwner(this).lookup('metrics-adapter:' + dasherizedAdapterName);\n\n      return localAdapter ? localAdapter : availableAdapter;\n    },\n\n\n    /**\n     * Predicate that Filters out adapters that should not be activated in the\n     * current application environment. Defaults to all environments if the option\n     * is `all` or undefined.\n     *\n     * @method _filterEnvironments\n     * @param {Object} adapterOption\n     * @param {String} appEnvironment\n     * @private\n     * @return {Boolean} should an adapter be activated\n     */\n    _filterEnvironments: function _filterEnvironments(adapterOption, appEnvironment) {\n      var environments = adapterOption.environments;\n\n      environments = environments || ['all'];\n      var wrappedEnvironments = emberArray(environments);\n\n      return wrappedEnvironments.indexOf('all') > -1 || wrappedEnvironments.indexOf(appEnvironment) > -1;\n    }\n  });\n});","define('ember-metrics/utils/can-use-dom', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\n  exports.default = canUseDOM;\n});","define('ember-metrics/utils/object-transforms', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.compact = compact;\n  exports.without = without;\n  exports.only = only;\n  exports.isPresent = isPresent;\n  function compact(objectInstance) {\n    var compactedObject = {};\n\n    for (var key in objectInstance) {\n      var value = objectInstance[key];\n\n      if (_ember.default.isPresent(value)) {\n        compactedObject[key] = value;\n      }\n    }\n\n    return compactedObject;\n  }\n\n  function without(originalObj, keysToRemove) {\n    var newObj = {};\n    var allKeys = Object.keys(originalObj);\n\n    allKeys.forEach(function (key) {\n      if (keysToRemove.indexOf(key) === -1) {\n        newObj[key] = originalObj[key];\n      }\n    });\n\n    return newObj;\n  }\n\n  function only(originalObj, keysToRemain) {\n    var newObj = {};\n    var allKeys = Object.keys(originalObj);\n\n    allKeys.forEach(function (key) {\n      if (keysToRemain.indexOf(key) !== -1) {\n        newObj[key] = originalObj[key];\n      }\n    });\n\n    return newObj;\n  }\n\n  function isPresent(objectInstance) {\n    var keys = Object.keys(objectInstance);\n\n    return !!keys.length;\n  }\n});","define('ember-moment/computeds/-base', ['exports', 'ember-macro-helpers/computed-unsafe'], function (exports, _computedUnsafe) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = computedFactory;\n  function computedFactory(fn) {\n    return function () {\n      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      return _computedUnsafe.default.apply(undefined, args.concat([function () {\n        for (var _len2 = arguments.length, vals = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n          vals[_key2] = arguments[_key2];\n        }\n\n        return fn.call(this, vals);\n      }]));\n    };\n  }\n});","define('ember-moment/computeds/calendar', ['exports', 'ember', 'moment', 'ember-moment/computeds/-base'], function (exports, _ember, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _slicedToArray = function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];\n      var _n = true;\n      var _d = false;\n      var _e = undefined;\n\n      try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);\n\n          if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;\n        _e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }\n\n      return _arr;\n    }\n\n    return function (arr, i) {\n      if (Array.isArray(arr)) {\n        return arr;\n      } else if (Symbol.iterator in Object(arr)) {\n        return sliceIterator(arr, i);\n      } else {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n      }\n    };\n  }();\n\n  exports.default = (0, _base.default)(function calendarComputed(params) {\n    var formatHash = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n    if (!params || params && params.length > 3) {\n      throw new TypeError('ember-moment: Invalid Number of arguments, at most 3');\n    }\n\n    var _params = _slicedToArray(params, 3),\n        date = _params[0],\n        referenceTime = _params[1],\n        formats = _params[2];\n\n    var clone = Object.create(formatHash);\n    var mergedFormats = _ember.default.merge(clone, formats);\n\n    return (0, _moment.default)(date).calendar(referenceTime, mergedFormats);\n  });\n});","define('ember-moment/computeds/duration', ['exports', 'moment', 'ember-moment/computeds/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports.default = (0, _base.default)(function durationComputed(params) {\n    return _moment.default.duration.apply(_moment.default, _toConsumableArray(params));\n  });\n});","define('ember-moment/computeds/format', ['exports', 'ember', 'moment', 'ember-moment/computeds/-base'], function (exports, _ember, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _slicedToArray = function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];\n      var _n = true;\n      var _d = false;\n      var _e = undefined;\n\n      try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);\n\n          if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;\n        _e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }\n\n      return _arr;\n    }\n\n    return function (arr, i) {\n      if (Array.isArray(arr)) {\n        return arr;\n      } else if (Symbol.iterator in Object(arr)) {\n        return sliceIterator(arr, i);\n      } else {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n      }\n    };\n  }();\n\n  var CONFIG_KEY = 'config:environment';\n  var get = _ember.default.get,\n      getOwner = _ember.default.getOwner;\n  exports.default = (0, _base.default)(function formatComputed(_ref) {\n    var _ref2 = _slicedToArray(_ref, 2),\n        value = _ref2[0],\n        optionalFormat = _ref2[1];\n\n    if (!optionalFormat) {\n      var owner = getOwner(this);\n\n      if (owner && owner.hasRegistration && owner.hasRegistration(CONFIG_KEY)) {\n        var config = owner.resolveRegistration(CONFIG_KEY);\n\n        if (config) {\n          optionalFormat = get(config, 'moment.outputFormat');\n        }\n      }\n    }\n\n    return (0, _moment.default)(value).format(optionalFormat);\n  });\n});","define('ember-moment/computeds/from-now', ['exports', 'moment', 'ember-moment/computeds/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports.default = (0, _base.default)(function fromNowComputed(params) {\n    var maybeHideSuffix = void 0;\n\n    if (params.length > 1) {\n      maybeHideSuffix = params.pop();\n    }\n\n    return _moment.default.apply(undefined, _toConsumableArray(params)).fromNow(maybeHideSuffix);\n  });\n});","define('ember-moment/computeds/humanize', ['exports', 'moment', 'ember-moment/computeds/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _slicedToArray = function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];\n      var _n = true;\n      var _d = false;\n      var _e = undefined;\n\n      try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);\n\n          if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;\n        _e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }\n\n      return _arr;\n    }\n\n    return function (arr, i) {\n      if (Array.isArray(arr)) {\n        return arr;\n      } else if (Symbol.iterator in Object(arr)) {\n        return sliceIterator(arr, i);\n      } else {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n      }\n    };\n  }();\n\n  exports.default = (0, _base.default)(function humanizeComputed(_ref) {\n    var _ref2 = _slicedToArray(_ref, 2),\n        duration = _ref2[0],\n        suffixless = _ref2[1];\n\n    if (!_moment.default.isDuration(duration)) {\n      duration = _moment.default.duration(duration);\n    }\n\n    return duration.humanize(suffixless);\n  });\n});","define('ember-moment/computeds/locale', ['exports', 'moment', 'ember-moment/computeds/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _slicedToArray = function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];\n      var _n = true;\n      var _d = false;\n      var _e = undefined;\n\n      try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);\n\n          if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;\n        _e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }\n\n      return _arr;\n    }\n\n    return function (arr, i) {\n      if (Array.isArray(arr)) {\n        return arr;\n      } else if (Symbol.iterator in Object(arr)) {\n        return sliceIterator(arr, i);\n      } else {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n      }\n    };\n  }();\n\n  exports.default = (0, _base.default)(function localeComputed(_ref) {\n    var _ref2 = _slicedToArray(_ref, 2),\n        date = _ref2[0],\n        locale = _ref2[1];\n\n    if (!_moment.default.isDuration(date)) {\n      date = (0, _moment.default)(date);\n    }\n\n    return date.locale(locale);\n  });\n});","define('ember-moment/computeds/moment', ['exports', 'moment', 'ember-moment/computeds/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports.default = (0, _base.default)(function momentComputed(params) {\n    return _moment.default.apply(undefined, _toConsumableArray(params));\n  });\n});","define('ember-moment/computeds/to-now', ['exports', 'moment', 'ember-moment/computeds/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports.default = (0, _base.default)(function toNowComputed(params) {\n    var maybeHidePrefix = void 0;\n\n    if (params.length > 1) {\n      maybeHidePrefix = params.pop();\n    }\n\n    return _moment.default.apply(undefined, _toConsumableArray(params)).toNow(maybeHidePrefix);\n  });\n});","define('ember-moment/computeds/tz', ['exports', 'moment', 'ember-moment/computeds/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _slicedToArray = function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];\n      var _n = true;\n      var _d = false;\n      var _e = undefined;\n\n      try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);\n\n          if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;\n        _e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }\n\n      return _arr;\n    }\n\n    return function (arr, i) {\n      if (Array.isArray(arr)) {\n        return arr;\n      } else if (Symbol.iterator in Object(arr)) {\n        return sliceIterator(arr, i);\n      } else {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n      }\n    };\n  }();\n\n  exports.default = (0, _base.default)(function tzComputed(_ref) {\n    var _ref2 = _slicedToArray(_ref, 2),\n        date = _ref2[0],\n        tz = _ref2[1];\n\n    return (0, _moment.default)(date).tz(tz);\n  });\n});","define('ember-moment/computeds/utc', ['exports', 'moment', 'ember-moment/computeds/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports.default = (0, _base.default)(function utcComputed(params) {\n    return _moment.default.utc.apply(_moment.default, _toConsumableArray(params));\n  });\n});","define('ember-moment/helpers/-base', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var observer = _ember.default.observer,\n      inject = _ember.default.inject,\n      get = _ember.default.get,\n      Helper = _ember.default.Helper,\n      run = _ember.default.run;\n  exports.default = Helper.extend({\n    moment: inject.service(),\n    disableInterval: false,\n\n    localeOrTimeZoneChanged: observer('moment.locale', 'moment.timeZone', function () {\n      this.recompute();\n    }),\n\n    compute: function compute(value, _ref) {\n      var _this = this;\n\n      var interval = _ref.interval;\n\n      if (get(this, 'disableInterval')) {\n        return;\n      }\n\n      this.clearTimer();\n\n      if (interval) {\n        /*\n         * NOTE: intentionally a setTimeout so tests do not block on it\n         * as the run loop queue is never clear so tests will stay locked waiting\n         * for queue to clear.\n         */\n        this.intervalTimer = setTimeout(function () {\n          run(function () {\n            return _this.recompute();\n          });\n        }, parseInt(interval, 10));\n      }\n    },\n    morphMoment: function morphMoment(time, _ref2) {\n      var locale = _ref2.locale,\n          timeZone = _ref2.timeZone;\n\n      var momentService = get(this, 'moment');\n\n      locale = locale || get(momentService, 'locale');\n      timeZone = timeZone || get(momentService, 'timeZone');\n\n      if (locale && time.locale) {\n        time = time.locale(locale);\n      }\n\n      if (timeZone && time.tz) {\n        time = time.tz(timeZone);\n      }\n\n      return time;\n    },\n    clearTimer: function clearTimer() {\n      clearTimeout(this.intervalTimer);\n    },\n    destroy: function destroy() {\n      this.clearTimer();\n      this._super.apply(this, arguments);\n    }\n  });\n});","define('ember-moment/helpers/is-after', ['exports', 'ember', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _ember, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n\n    globalAllowEmpty: false,\n\n    compute: (0, _helperCompute.default)(function (params, _ref) {\n      var _morphMoment;\n\n      var precision = _ref.precision,\n          locale = _ref.locale,\n          timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      var moment = this.get('moment');\n      var length = params.length;\n\n      var args = [];\n      var comparisonArgs = [];\n\n      if (length === 1) {\n        comparisonArgs.push(params[0]);\n      } else if (length === 2) {\n        args.push(params[0]);\n        comparisonArgs.push(params[1]);\n      }\n\n      return (_morphMoment = this.morphMoment(moment.moment.apply(moment, args), { locale: locale, timeZone: timeZone })).isAfter.apply(_morphMoment, comparisonArgs.concat([precision]));\n    })\n  });\n});","define('ember-moment/helpers/is-before', ['exports', 'ember', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _ember, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n\n    globalAllowEmpty: false,\n\n    compute: (0, _helperCompute.default)(function (params, _ref) {\n      var _morphMoment;\n\n      var precision = _ref.precision,\n          locale = _ref.locale,\n          timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      var moment = this.get('moment');\n      var length = params.length;\n\n      var args = [];\n      var comparisonArgs = [];\n\n      if (length === 1) {\n        comparisonArgs.push(params[0]);\n      } else if (length === 2) {\n        args.push(params[0]);\n        comparisonArgs.push(params[1]);\n      }\n\n      return (_morphMoment = this.morphMoment(moment.moment.apply(moment, args), { locale: locale, timeZone: timeZone })).isBefore.apply(_morphMoment, comparisonArgs.concat([precision]));\n    })\n  });\n});","define('ember-moment/helpers/is-between', ['exports', 'ember', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _ember, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n\n    globalAllowEmpty: false,\n\n    compute: (0, _helperCompute.default)(function (params, _ref) {\n      var _morphMoment;\n\n      var precision = _ref.precision,\n          inclusivity = _ref.inclusivity,\n          locale = _ref.locale,\n          timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      var moment = this.get('moment');\n      var _params = [].concat(params);\n      var length = params.length;\n\n\n      if (length < 2 || length > 3) {\n        throw new TypeError('ember-moment: Invalid Number of arguments, expected 2 or 3');\n      }\n\n      var args = [];\n\n      if (length > 2) {\n        args.push(_params.shift());\n      }\n\n      return (_morphMoment = this.morphMoment(moment.moment.apply(moment, args), { locale: locale, timeZone: timeZone })).isBetween.apply(_morphMoment, _toConsumableArray(_params).concat([precision, inclusivity]));\n    })\n  });\n});","define('ember-moment/helpers/is-same-or-after', ['exports', 'ember', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _ember, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n\n    globalAllowEmpty: false,\n\n    compute: (0, _helperCompute.default)(function (params, _ref) {\n      var _morphMoment;\n\n      var precision = _ref.precision,\n          locale = _ref.locale,\n          timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      var moment = this.get('moment');\n      var length = params.length;\n\n      var args = [];\n      var comparisonArgs = [];\n\n      if (length === 1) {\n        comparisonArgs.push(params[0]);\n      } else if (length === 2) {\n        args.push(params[0]);\n        comparisonArgs.push(params[1]);\n      }\n\n      return (_morphMoment = this.morphMoment(moment.moment.apply(moment, args), { locale: locale, timeZone: timeZone })).isSameOrAfter.apply(_morphMoment, comparisonArgs.concat([precision]));\n    })\n  });\n});","define('ember-moment/helpers/is-same-or-before', ['exports', 'ember', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _ember, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n\n    globalAllowEmpty: false,\n\n    compute: (0, _helperCompute.default)(function (params, _ref) {\n      var _morphMoment;\n\n      var precision = _ref.precision,\n          locale = _ref.locale,\n          timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      var moment = this.get('moment');\n      var length = params.length;\n\n      var args = [];\n      var comparisonArgs = [];\n\n      if (length === 1) {\n        comparisonArgs.push(params[0]);\n      } else if (length === 2) {\n        args.push(params[0]);\n        comparisonArgs.push(params[1]);\n      }\n\n      return (_morphMoment = this.morphMoment(moment.moment.apply(moment, args), { locale: locale, timeZone: timeZone })).isSameOrBefore.apply(_morphMoment, comparisonArgs.concat([precision]));\n    })\n  });\n});","define('ember-moment/helpers/is-same', ['exports', 'ember', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _ember, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n\n    globalAllowEmpty: false,\n\n    compute: (0, _helperCompute.default)(function (params, _ref) {\n      var _morphMoment;\n\n      var precision = _ref.precision,\n          locale = _ref.locale,\n          timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      var moment = this.get('moment');\n      var length = params.length;\n\n      var args = [];\n      var comparisonArgs = [];\n\n      if (length === 1) {\n        comparisonArgs.push(params[0]);\n      } else if (length === 2) {\n        args.push(params[0]);\n        comparisonArgs.push(params[1]);\n      }\n\n      return (_morphMoment = this.morphMoment(moment.moment.apply(moment, args), { locale: locale, timeZone: timeZone })).isSame.apply(_morphMoment, comparisonArgs.concat([precision]));\n    })\n  });\n});","define('ember-moment/helpers/moment-add', ['exports', 'ember', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _ember, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n\n    globalAllowEmpty: false,\n\n    compute: (0, _helperCompute.default)(function (params, _ref) {\n      var _morphMoment;\n\n      var precision = _ref.precision,\n          locale = _ref.locale,\n          timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      var moment = this.get('moment');\n      var length = params.length;\n\n      var args = [];\n      var additionArgs = [];\n\n      if (length === 1) {\n        additionArgs.push(params[0]);\n      } else if (length === 2 && _ember.default.typeOf(params[0]) === 'number' && _ember.default.typeOf(params[1]) === 'string') {\n        additionArgs.push.apply(additionArgs, _toConsumableArray(params));\n      } else {\n        args.push(params[0]);\n        additionArgs.push.apply(additionArgs, _toConsumableArray(params.slice(1)));\n      }\n\n      return (_morphMoment = this.morphMoment(moment.moment.apply(moment, args), { locale: locale, timeZone: timeZone })).add.apply(_morphMoment, additionArgs.concat([precision]));\n    })\n  });\n});","define('ember-moment/helpers/moment-calendar', ['exports', 'ember', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _ember, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _slicedToArray = function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];\n      var _n = true;\n      var _d = false;\n      var _e = undefined;\n\n      try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);\n\n          if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;\n        _e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }\n\n      return _arr;\n    }\n\n    return function (arr, i) {\n      if (Array.isArray(arr)) {\n        return arr;\n      } else if (Symbol.iterator in Object(arr)) {\n        return sliceIterator(arr, i);\n      } else {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n      }\n    };\n  }();\n\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n\n    globalAllowEmpty: false,\n\n    compute: (0, _helperCompute.default)(function (params) {\n      var formatHash = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n      this._super.apply(this, arguments);\n\n      if (!params || params && params.length > 3) {\n        throw new TypeError('ember-moment: Invalid Number of arguments, at most 3');\n      }\n\n      var moment = this.get('moment');\n      var locale = formatHash.locale,\n          timeZone = formatHash.timeZone;\n\n      var _params = _slicedToArray(params, 3),\n          date = _params[0],\n          referenceTime = _params[1],\n          formats = _params[2];\n\n      var clone = Object.create(formatHash);\n\n      delete clone.locale;\n      delete clone.timeZone;\n\n      var mergedFormats = _ember.default.merge(clone, formats);\n\n      return this.morphMoment(moment.moment(date), { locale: locale, timeZone: timeZone }).calendar(referenceTime, mergedFormats);\n    })\n  });\n});","define('ember-moment/helpers/moment-diff', ['exports', 'ember', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _ember, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _slicedToArray = function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];\n      var _n = true;\n      var _d = false;\n      var _e = undefined;\n\n      try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);\n\n          if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;\n        _e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }\n\n      return _arr;\n    }\n\n    return function (arr, i) {\n      if (Array.isArray(arr)) {\n        return arr;\n      } else if (Symbol.iterator in Object(arr)) {\n        return sliceIterator(arr, i);\n      } else {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n      }\n    };\n  }();\n\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n\n    globalAllowEmpty: false,\n\n    compute: (0, _helperCompute.default)(function (params, _ref) {\n      var precision = _ref.precision,\n          float = _ref.float,\n          locale = _ref.locale,\n          timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      if (!params || params && params.length !== 2) {\n        throw new TypeError('ember-moment: Invalid Number of arguments, must be 2');\n      }\n\n      var moment = this.get('moment');\n\n      var _params = _slicedToArray(params, 2),\n          dateA = _params[0],\n          dateB = _params[1];\n\n      return this.morphMoment(moment.moment(dateB), { locale: locale, timeZone: timeZone }).diff(dateA, precision, float);\n    })\n  });\n});","define('ember-moment/helpers/moment-duration', ['exports', 'moment', 'ember', 'ember-moment/helpers/-base'], function (exports, _moment, _ember, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n\n    disableInterval: true,\n\n    compute: function compute(params, _ref) {\n      var locale = _ref.locale,\n          timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n      var momentService = this.get('moment');\n\n      if (!params || params && params.length > 2) {\n        throw new TypeError('ember-moment: Invalid Number of arguments, at most 2');\n      }\n\n      var result = momentService.moment(_moment.default.duration.apply(_moment.default, _toConsumableArray(params)));\n      return this.morphMoment(result._i, { locale: locale, timeZone: timeZone }).humanize();\n    }\n  });\n});","define('ember-moment/helpers/moment-format', ['exports', 'ember', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _ember, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var observer = _ember.default.observer,\n      isEmpty = _ember.default.isEmpty,\n      get = _ember.default.get;\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n\n    globalAllowEmpty: false,\n\n    defaultFormatDidChange: observer('moment.defaultFormat', function () {\n      this.recompute();\n    }),\n\n    compute: (0, _helperCompute.default)(function (params, _ref) {\n      var _morphMoment;\n\n      var locale = _ref.locale,\n          timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      var moment = this.get('moment');\n      var length = params.length;\n\n\n      if (length > 3) {\n        throw new TypeError('ember-moment: Invalid Number of arguments, expected at most 4');\n      }\n\n      var args = [];\n      var formatArgs = [];\n      var defaultFormat = get(this, 'moment.defaultFormat');\n\n      args.push(params[0]);\n\n      if (length === 1 && !isEmpty(defaultFormat)) {\n        formatArgs.push(defaultFormat);\n      } else if (length === 2) {\n        formatArgs.push(params[1]);\n      } else if (length > 2) {\n        args.push(params[2]);\n        formatArgs.push(params[1]);\n      }\n\n      return (_morphMoment = this.morphMoment(moment.moment.apply(moment, args), { locale: locale, timeZone: timeZone })).format.apply(_morphMoment, formatArgs);\n    })\n  });\n});","define('ember-moment/helpers/moment-from-now', ['exports', 'ember', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _ember, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n\n    globalAllowEmpty: false,\n\n    compute: (0, _helperCompute.default)(function (params, _ref) {\n      var hideSuffix = _ref.hideSuffix,\n          locale = _ref.locale,\n          timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      var moment = this.get('moment');\n\n      return this.morphMoment(moment.moment.apply(moment, _toConsumableArray(params)), { locale: locale, timeZone: timeZone }).fromNow(hideSuffix);\n    })\n  });\n});","define('ember-moment/helpers/moment-from', ['exports', 'ember', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _ember, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  function _toArray(arr) {\n    return Array.isArray(arr) ? arr : Array.from(arr);\n  }\n\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n\n    globalAllowEmpty: false,\n\n    compute: (0, _helperCompute.default)(function (_ref, _ref2) {\n      var _morphMoment;\n\n      var _ref3 = _toArray(_ref),\n          datetime = _ref3[0],\n          params = _ref3.slice(1);\n\n      var locale = _ref2.locale,\n          timeZone = _ref2.timeZone;\n\n      this._super.apply(this, arguments);\n\n      var moment = this.get('moment');\n\n      return (_morphMoment = this.morphMoment(moment.moment(datetime), { locale: locale, timeZone: timeZone })).from.apply(_morphMoment, _toConsumableArray(params));\n    })\n  });\n});","define('ember-moment/helpers/moment-subtract', ['exports', 'ember', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _ember, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n    globalAllowEmpty: false,\n\n    compute: (0, _helperCompute.default)(function (params, _ref) {\n      var _morphMoment;\n\n      var precision = _ref.precision,\n          locale = _ref.locale,\n          timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      var moment = this.get('moment');\n      var length = params.length;\n\n      var args = [];\n      var subtractionArgs = [];\n\n      if (length === 1) {\n        subtractionArgs.push(params[0]);\n      } else if (length === 2 && _ember.default.typeOf(params[0]) === 'number' && _ember.default.typeOf(params[1]) === 'string') {\n        subtractionArgs.push.apply(subtractionArgs, _toConsumableArray(params));\n      } else {\n        args.push(params[0]);\n        subtractionArgs.push.apply(subtractionArgs, _toConsumableArray(params.slice(1)));\n      }\n\n      return (_morphMoment = this.morphMoment(moment.moment.apply(moment, args), { locale: locale, timeZone: timeZone })).subtract.apply(_morphMoment, subtractionArgs.concat([precision]));\n    })\n  });\n});","define('ember-moment/helpers/moment-to-date', ['exports', 'ember', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _ember, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n\n    globalAllowEmpty: false,\n\n    compute: (0, _helperCompute.default)(function (params, _ref) {\n      var _morphMoment;\n\n      var hidePrefix = _ref.hidePrefix,\n          locale = _ref.locale,\n          timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      var moment = this.get('moment');\n\n      return (_morphMoment = this.morphMoment(moment.moment(), { locale: locale, timeZone: timeZone })).to.apply(_morphMoment, _toConsumableArray(params).concat([hidePrefix]));\n    })\n  });\n});","define('ember-moment/helpers/moment-to-now', ['exports', 'ember', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _ember, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n\n    globalAllowEmpty: false,\n\n    compute: (0, _helperCompute.default)(function (params, _ref) {\n      var hidePrefix = _ref.hidePrefix,\n          locale = _ref.locale,\n          timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      var moment = this.get('moment');\n\n      return this.morphMoment(moment.moment.apply(moment, _toConsumableArray(params)), { locale: locale, timeZone: timeZone }).toNow(hidePrefix);\n    })\n  });\n});","define('ember-moment/helpers/moment-to', ['exports', 'ember', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _ember, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  function _toArray(arr) {\n    return Array.isArray(arr) ? arr : Array.from(arr);\n  }\n\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n\n    globalAllowEmpty: false,\n\n    compute: (0, _helperCompute.default)(function (_ref, _ref2) {\n      var _morphMoment;\n\n      var _ref3 = _toArray(_ref),\n          datetime = _ref3[0],\n          params = _ref3.slice(1);\n\n      var locale = _ref2.locale,\n          timeZone = _ref2.timeZone;\n\n      this._super.apply(this, arguments);\n\n      var moment = this.get('moment');\n\n      return (_morphMoment = this.morphMoment(moment.moment(datetime), { locale: locale, timeZone: timeZone })).to.apply(_morphMoment, _toConsumableArray(params));\n    })\n  });\n});","define('ember-moment/helpers/moment', ['exports', 'ember', 'ember-moment/helpers/-base'], function (exports, _ember, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n\n    compute: function compute(params, _ref) {\n      var locale = _ref.locale,\n          timeZone = _ref.timeZone;\n\n      this._super.apply(this, arguments);\n\n      var moment = this.get('moment');\n\n      return this.morphMoment(moment.moment.apply(moment, _toConsumableArray(params)), { locale: locale, timeZone: timeZone });\n    }\n  });\n});","define('ember-moment/helpers/now', ['exports', 'ember', 'moment', 'ember-moment/helpers/-base'], function (exports, _ember, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n\n    compute: function compute() {\n      this._super.apply(this, arguments);\n\n      var momentService = this.get('moment');\n\n      return momentService.moment(_moment.default.now());\n    }\n  });\n});","define('ember-moment/helpers/unix', ['exports', 'ember', 'moment', 'ember-moment/helpers/-base'], function (exports, _ember, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _slicedToArray = function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];\n      var _n = true;\n      var _d = false;\n      var _e = undefined;\n\n      try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);\n\n          if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;\n        _e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }\n\n      return _arr;\n    }\n\n    return function (arr, i) {\n      if (Array.isArray(arr)) {\n        return arr;\n      } else if (Symbol.iterator in Object(arr)) {\n        return sliceIterator(arr, i);\n      } else {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n      }\n    };\n  }();\n\n  exports.default = _base.default.extend({\n    moment: _ember.default.inject.service(),\n\n    compute: function compute(_ref) {\n      var _ref2 = _slicedToArray(_ref, 1),\n          unixTimeStamp = _ref2[0];\n\n      this._super.apply(this, arguments);\n\n      var momentService = this.get('moment');\n      return momentService.moment(_moment.default.unix(unixTimeStamp));\n    }\n  });\n});","define('ember-moment/helpers/utc', ['exports', 'moment', 'ember-moment/helpers/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _slicedToArray = function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];\n      var _n = true;\n      var _d = false;\n      var _e = undefined;\n\n      try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);\n\n          if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;\n        _e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }\n\n      return _arr;\n    }\n\n    return function (arr, i) {\n      if (Array.isArray(arr)) {\n        return arr;\n      } else if (Symbol.iterator in Object(arr)) {\n        return sliceIterator(arr, i);\n      } else {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n      }\n    };\n  }();\n\n  exports.default = _base.default.extend({\n    compute: function compute(_ref) {\n      var _ref2 = _slicedToArray(_ref, 2),\n          utcTime = _ref2[0],\n          format = _ref2[1];\n\n      this._super.apply(this, arguments);\n\n      return Ember.get(this, 'moment').utc(_moment.default.utc(utcTime, format));\n    }\n  });\n});","define('ember-moment/services/moment', ['exports', 'ember', 'moment'], function (exports, _ember, _moment2) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var computed = _ember.default.computed,\n      _get = _ember.default.get,\n      getProperties = _ember.default.getProperties,\n      _set = _ember.default.set,\n      setProperties = _ember.default.setProperties,\n      logger = _ember.default.Logger;\n  exports.default = _ember.default.Service.extend(_ember.default.Evented, {\n    _timeZone: null,\n\n    locale: null,\n    localeOptions: {},\n    defaultFormat: null,\n\n    timeZone: computed('_timeZone', {\n      get: function get() {\n        return _get(this, '_timeZone');\n      },\n      set: function set(propertyKey, timeZone) {\n        if (!_moment2.default.tz) {\n          logger.warn('[ember-moment] attempted to set timezone, but moment-timezone is not setup.');\n          return;\n        }\n\n        _set(this, '_timeZone', timeZone);\n\n        return timeZone;\n      }\n    }),\n\n    setLocale: function setLocale(locale) {\n      this.changeLocale(locale);\n    },\n    updateLocale: function updateLocale(locale) {\n      var localeOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n      this.changeLocale(locale, localeOptions);\n    },\n    changeLocale: function changeLocale(locale) {\n      var localeOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n      setProperties(this, {\n        locale: locale,\n        localeOptions: localeOptions\n      });\n      _moment2.default.updateLocale(locale, localeOptions);\n      this.trigger('localeChanged', locale);\n    },\n    setTimeZone: function setTimeZone(timeZone) {\n      this.changeTimeZone(timeZone);\n    },\n    changeTimeZone: function changeTimeZone(timeZone) {\n      _set(this, 'timeZone', timeZone);\n      this.trigger('timeZoneChanged', timeZone);\n    },\n    isMoment: function isMoment(obj) {\n      return _moment2.default.isMoment(obj);\n    },\n    moment: function moment() {\n      var momentObj = _moment2.default.apply(undefined, arguments);\n\n      var _getProperties = getProperties(this, 'locale', 'timeZone'),\n          locale = _getProperties.locale,\n          timeZone = _getProperties.timeZone;\n\n      if (locale && momentObj.locale) {\n        momentObj = momentObj.locale(locale);\n      }\n\n      if (timeZone && momentObj.tz) {\n        momentObj = momentObj.tz(timeZone);\n      }\n\n      return momentObj;\n    }\n  });\n});","define('ember-moment/utils/helper-compute', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function (cb) {\n    return function (params, hash) {\n      if (!params || params && params.length === 0) {\n        throw new TypeError('ember-moment: Invalid Number of arguments, expected at least 1');\n      }\n\n      var datetime = params[0];\n\n      var allowEmpty = hash.allowEmpty || hash['allow-empty'];\n\n      if (allowEmpty === undefined || allowEmpty === null) {\n        allowEmpty = !!get(this, 'globalAllowEmpty');\n      }\n\n      if (isBlank(datetime)) {\n        if (allowEmpty) {\n          return;\n        }\n\n        warn('ember-moment: an empty value (null, undefined, or \"\") was passed to moment-format');\n      }\n\n      return cb.apply(this, arguments);\n    };\n  };\n\n  var isBlank = _ember.default.isBlank,\n      get = _ember.default.get,\n      warn = _ember.default.Logger.warn;\n});","define('ember-multiselect-checkboxes/components/multiselect-checkboxes', ['exports', 'ember'], function (exports, _ember) {\n\n  var Checkbox = _ember['default'].Object.extend({\n    isSelected: _ember['default'].computed('value', 'selection.[]', {\n      get: function get() {\n        return this.get('selection').includes(this.get('value'));\n      },\n\n      set: function set(_, checked) {\n        var selection = this.get('selection');\n        var selected = selection.includes(this.get('value'));\n        var onchange = this.get('onchange');\n        var updateSelectionValue = this.get('updateSelectionValue');\n        var isMutable = typeof selection.addObject === 'function' && typeof selection.removeObject === 'function';\n\n        // Dispatch onchange event to handler with updated selection if handler is specified\n        if (onchange) {\n          var updated = _ember['default'].A(selection.slice());\n          var operation = undefined;\n\n          if (checked && !selected) {\n            operation = 'added';\n            updated.addObject(this.get('value'));\n          } else if (!checked && selected) {\n            operation = 'removed';\n            updated.removeObject(this.get('value'));\n          }\n\n          onchange(updated, this.get('value'), operation);\n        }\n\n        // Mutate selection if updateSelectionValue is true and selection is mutable\n        if (updateSelectionValue !== false && isMutable) {\n          if (checked && !selected) {\n            selection.addObject(this.get('value'));\n          } else if (!checked && selected) {\n            selection.removeObject(this.get('value'));\n          }\n\n          return checked;\n        } else {\n\n          // Only change the checked status of the checkbox when selection is mutated, because if\n          // it is not mutated and the onchange handler does not update the bound selection value the\n          // displayed checkboxes would be out of sync with bound selection value.\n          return !checked;\n        }\n      }\n    })\n  });\n\n  exports['default'] = _ember['default'].Component.extend({\n    classNames: ['multiselect-checkboxes'],\n\n    tagName: 'ul',\n\n    i18n: _ember['default'].computed(function () {\n      return _ember['default'].getOwner(this).lookup('service:i18n');\n    }),\n\n    checkboxes: _ember['default'].computed('options.[]', 'labelProperty', 'valueProperty', 'selection', 'translate', 'i18n.locale', function () {\n      var _this = this;\n\n      var labelProperty = this.get('labelProperty');\n      var valueProperty = this.get('valueProperty');\n      var selection = _ember['default'].A(this.get('selection'));\n      var onchange = this.get('onchange');\n      var updateSelectionValue = this.get('updateSelectionValue') !== undefined ? this.get('updateSelectionValue') : true;\n      var options = _ember['default'].A(this.get('options'));\n      var translate = this.get('translate');\n\n      var checkboxes = options.map(function (option) {\n        var label = undefined,\n            value = undefined;\n\n        if (labelProperty) {\n          if (typeof option.get === 'function') {\n            label = option.get(labelProperty);\n          } else {\n            label = option[labelProperty];\n          }\n        } else {\n          label = String(option);\n        }\n\n        if (translate && label && _this.get('i18n')) {\n          label = _this.get('i18n').t(label);\n        }\n\n        if (valueProperty) {\n          if (typeof option.get === 'function') {\n            value = option.get(valueProperty);\n          } else {\n            value = option[valueProperty];\n          }\n        } else {\n          value = option;\n        }\n\n        return Checkbox.create({\n          option: option,\n          label: label,\n          value: value,\n          selection: selection,\n          onchange: onchange,\n          updateSelectionValue: updateSelectionValue\n        });\n      });\n\n      return _ember['default'].A(checkboxes);\n    })\n  });\n});","define('ember-power-calendar/components/power-calendar-multiple', ['exports', 'ember-power-calendar/components/power-calendar', 'ember-computed', 'moment'], function (exports, _powerCalendar, _emberComputed, _moment) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports.default = _powerCalendar.default.extend({\n    daysComponent: 'power-calendar-multiple/days',\n\n    // CPs\n    currentCenter: (0, _emberComputed.default)('center', function () {\n      var center = this.get('center');\n      if (center) {\n        return (0, _moment.default)(center);\n      }\n      return (0, _moment.default)((this.get('selected') || [])[0] || this.get('powerCalendarService').getDate());\n    }),\n\n    // Actions\n    actions: {\n      select: function select(day, calendar, e) {\n        var action = this.get('onSelect');\n        if (action) {\n          action(this._buildCollection(day), calendar, e);\n        }\n      }\n    },\n\n    // Methods\n    _buildCollection: function _buildCollection(day) {\n      var selected = this.get('publicAPI.selected') || [];\n      var values = [];\n      var index = -1;\n      for (var i = 0; i < selected.length; i++) {\n        if (day.moment.isSame(selected[i], 'day')) {\n          index = i;\n          break;\n        }\n      }\n      if (index === -1) {\n        values = [].concat(_toConsumableArray(selected), [day.moment]);\n      } else {\n        values = selected.slice(0, index).concat(selected.slice(index + 1));\n      }\n      var moments = values.map(function (d) {\n        return (0, _moment.default)(d);\n      });\n      return {\n        moment: moments,\n        date: moments.map(function (m) {\n          return m.toDate();\n        })\n      };\n    }\n  });\n});","define('ember-power-calendar/components/power-calendar-multiple/days', ['exports', 'ember-power-calendar/components/power-calendar/days', 'ember-power-calendar/utils/computed-fallback-if-undefined'], function (exports, _days, _computedFallbackIfUndefined) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _days.default.extend({\n    maxLength: (0, _computedFallbackIfUndefined.default)(Infinity),\n\n    // Methods\n    dayIsSelected: function dayIsSelected(dayMoment) {\n      var calendar = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.get('calendar');\n\n      var selected = calendar.selected || [];\n      return selected.some(function (d) {\n        return dayMoment.isSame(d, 'day');\n      });\n    },\n    dayIsDisabled: function dayIsDisabled(dayMoment) {\n      var numSelected = this.get('calendar.selected.length') || 0;\n      var maxLength = this.get('maxLength') || Infinity;\n      return this._super.apply(this, arguments) || numSelected >= maxLength && !this.dayIsSelected(dayMoment);\n    }\n  });\n});","define('ember-power-calendar/components/power-calendar-range', ['exports', 'ember-power-calendar/components/power-calendar', 'ember-computed', 'moment', 'ember-metal/get', 'ember-platform', 'ember-power-calendar/utils/computed-fallback-if-undefined'], function (exports, _powerCalendar, _emberComputed, _moment, _get2, _emberPlatform, _computedFallbackIfUndefined) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _slicedToArray = function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];\n      var _n = true;\n      var _d = false;\n      var _e = undefined;\n\n      try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);\n\n          if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;\n        _e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }\n\n      return _arr;\n    }\n\n    return function (arr, i) {\n      if (Array.isArray(arr)) {\n        return arr;\n      } else if (Symbol.iterator in Object(arr)) {\n        return sliceIterator(arr, i);\n      } else {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n      }\n    };\n  }();\n\n  function parseDuration(value) {\n    if (value === null || _moment.default.isDuration(value)) {\n      return value;\n    }\n    if (typeof value === 'number') {\n      return _moment.default.duration(value, 'days');\n    }\n    if (typeof value === 'string') {\n      var _value$match = value.match(/(\\d+)(.*)/),\n          _value$match2 = _slicedToArray(_value$match, 3),\n          quantity = _value$match2[1],\n          units = _value$match2[2];\n\n      units = units.trim() || 'days';\n      return _moment.default.duration(parseInt(quantity, 10), units);\n    }\n  }\n\n  exports.default = _powerCalendar.default.extend({\n    daysComponent: 'power-calendar-range/days',\n    minRange: (0, _computedFallbackIfUndefined.default)(_moment.default.duration(1, 'day')),\n    maxRange: (0, _computedFallbackIfUndefined.default)(null),\n\n    // CPs\n    currentCenter: (0, _emberComputed.default)('center', function () {\n      var center = this.get('center');\n      if (center) {\n        return (0, _moment.default)(center);\n      }\n      return (0, _moment.default)(this.get('selected.start') || this.get('powerCalendarService').getDate());\n    }),\n\n    minRangeDuration: (0, _emberComputed.default)('minRange', function () {\n      return parseDuration(this.get('minRange'));\n    }),\n\n    maxRangeDuration: (0, _emberComputed.default)('maxRange', function () {\n      return parseDuration(this.get('maxRange'));\n    }),\n\n    publicAPI: (0, _emberComputed.default)('_publicAPI', 'minRangeDuration', 'maxRangeDuration', function () {\n      var rangeOnlyAPI = { minRange: this.get('minRangeDuration'), maxRange: this.get('maxRangeDuration') };\n      return (0, _emberPlatform.assign)(rangeOnlyAPI, this.get('_publicAPI'));\n    }),\n\n    // Actions\n    actions: {\n      select: function select(day, calendar, e) {\n        var range = this._buildRange(day);\n        var _range$moment = range.moment,\n            start = _range$moment.start,\n            end = _range$moment.end;\n\n        if (start && end) {\n          var _get = this.get('publicAPI'),\n              minRange = _get.minRange,\n              maxRange = _get.maxRange;\n\n          var diff = Math.abs(end.diff(start));\n          if (diff < minRange.as('ms') || maxRange && diff > maxRange.as('ms')) {\n            return;\n          }\n        }\n        var action = this.get('onSelect');\n        if (action) {\n          action(range, calendar, e);\n        }\n      }\n    },\n\n    // Methods\n    _buildRange: function _buildRange(day) {\n      var selected = this.get('publicAPI.selected') || { start: null, end: null };\n\n      var _getProperties = (0, _get2.getProperties)(selected, 'start', 'end'),\n          start = _getProperties.start,\n          end = _getProperties.end;\n\n      if (start && !end) {\n        var startMoment = (0, _moment.default)(start);\n        if (startMoment.isAfter(day.moment)) {\n          return {\n            moment: { start: day.moment, end: startMoment },\n            date: { start: day.date, end: startMoment.toDate() }\n          };\n        } else {\n          return {\n            moment: { start: startMoment, end: day.moment },\n            date: { start: startMoment.toDate(), end: day.date }\n          };\n        }\n      } else {\n        return {\n          moment: { start: day.moment, end: null },\n          date: { start: day.date, end: null }\n        };\n      }\n    }\n  });\n});","define('ember-power-calendar/components/power-calendar-range/days', ['exports', 'ember-power-calendar/components/power-calendar/days', 'ember-metal/get'], function (exports, _days, _get) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _days.default.extend({\n    // Methods\n    buildDay: function buildDay(dayMoment, today, calendar) {\n      var day = this._super.apply(this, arguments);\n\n      var _getProperties = (0, _get.getProperties)(calendar.selected || { start: null, end: null }, 'start', 'end'),\n          start = _getProperties.start,\n          end = _getProperties.end;\n\n      if (start && end) {\n        day.isSelected = dayMoment.isBetween(start, end, 'day', '[]');\n        day.isRangeStart = day.isSelected && dayMoment.isSame(start, 'day');\n        day.isRangeEnd = day.isSelected && dayMoment.isSame(end, 'day');\n      } else {\n        day.isRangeEnd = false;\n        if (!start) {\n          day.isRangeStart = false;\n        } else {\n          day.isRangeStart = day.isSelected = dayMoment.isSame(start, 'day');\n          if (!day.isDisabled) {\n            var diff = Math.abs(day.moment.diff(start));\n            day.isDisabled = diff < calendar.minRange.as('ms') || calendar.maxRange !== null && diff > calendar.maxRange.as('ms');\n          }\n        }\n      }\n      return day;\n    },\n    dayIsSelected: function dayIsSelected() {\n      return false;\n    }\n  });\n});","define('ember-power-calendar/components/power-calendar', ['exports', 'ember-power-calendar/templates/components/power-calendar', 'ember-component', 'ember-computed', 'moment', 'ember-service/inject', 'ember-concurrency', 'ember-metal/utils'], function (exports, _powerCalendar, _emberComponent, _emberComputed, _moment, _inject, _emberConcurrency, _utils) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _emberComponent.default.extend({\n    layout: _powerCalendar.default,\n    classNames: ['ember-power-calendar'],\n    powerCalendarService: (0, _inject.default)('power-calendar'),\n    momentService: (0, _inject.default)('moment'),\n    navComponent: 'power-calendar/nav',\n    daysComponent: 'power-calendar/days',\n    center: null,\n\n    // Lifecycle chooks\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      var changeCenter = function changeCenter(newCenter, calendar, e) {\n        return _this.get('changeCenterTask').perform((0, _moment.default)(newCenter), calendar, e);\n      };\n      this.publicActions = {\n        changeCenter: changeCenter,\n        moveCenter: function moveCenter(step, unit, calendar, e) {\n          var newCenter = (0, _moment.default)(_this.get('center')).add(step, unit);\n          return changeCenter(newCenter, calendar, e);\n        },\n        select: function select() {\n          for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n            args[_key] = arguments[_key];\n          }\n\n          return _this.send.apply(_this, ['select'].concat(args));\n        }\n      };\n      this.get('powerCalendarService').registerCalendar(this);\n      var onInit = this.get('onInit');\n      if (onInit) {\n        onInit(this.get('publicAPI'));\n      }\n    },\n    willDestroy: function willDestroy() {\n      this._super.apply(this, arguments);\n      this.get('powerCalendarService').unregisterCalendar(this);\n    },\n\n\n    // CPs\n    currentCenter: (0, _emberComputed.default)('center', function () {\n      var center = this.get('center');\n      if (center) {\n        return (0, _moment.default)(center);\n      }\n      return (0, _moment.default)(this.get('selected') || this.get('powerCalendarService').getDate());\n    }),\n\n    publicAPI: (0, _emberComputed.default)('_publicAPI', function () {\n      return this.get('_publicAPI');\n    }),\n\n    _publicAPI: (0, _emberComputed.default)('selected', 'currentCenter', 'locale', 'momentService.locale', 'changeCenterTask.isRunning', function () {\n      return {\n        uniqueId: (0, _utils.guidFor)(this),\n        selected: this.get('selected'),\n        loading: this.get('changeCenterTask.isRunning'),\n        center: this.get('currentCenter'),\n        locale: this.get('locale') || this.get('momentService.locale') || _moment.default.locale(),\n        actions: this.get('publicActions')\n      };\n    }),\n\n    // Actions\n    actions: {\n      select: function select(day, calendar, e) {\n        var action = this.get('onSelect');\n        if (action) {\n          action(day, calendar, e);\n        }\n      }\n    },\n\n    // Tasks\n    changeCenterTask: (0, _emberConcurrency.task)(regeneratorRuntime.mark(function _callee(newCenterMoment, calendar, e) {\n      return regeneratorRuntime.wrap(function _callee$(_context) {\n        while (1) {\n          switch (_context.prev = _context.next) {\n            case 0:\n              _context.next = 2;\n              return this.get('onCenterChange')({ date: newCenterMoment.toDate(), moment: newCenterMoment }, calendar, e);\n\n            case 2:\n            case 'end':\n              return _context.stop();\n          }\n        }\n      }, _callee, this);\n    }))\n  });\n});","define('ember-power-calendar/components/power-calendar/days', ['exports', 'ember-component', 'ember-power-calendar/templates/components/power-calendar/days', 'ember-computed', 'ember-service/inject', 'ember-runloop', 'moment'], function (exports, _emberComponent, _days, _emberComputed, _inject, _emberRunloop, _moment) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  function withLocale(locale, fn) {\n    var returnValue = void 0;\n    if (locale) {\n      var previousLocale = _moment.default.locale();\n      _moment.default.locale(locale);\n      returnValue = fn();\n      _moment.default.locale(previousLocale);\n    } else {\n      returnValue = fn();\n    }\n    return returnValue;\n  }\n\n  exports.default = _emberComponent.default.extend({\n    layout: _days.default,\n    focusedId: null,\n    showDaysAround: true,\n    classNames: ['ember-power-calendar-days'],\n    weekdayFormat: 'short', // \"min\" | \"short\" | \"long\"\n    powerCalendarService: (0, _inject.default)('power-calendar'),\n    attributeBindings: ['data-power-calendar-id'],\n\n    // CPs\n    'data-power-calendar-id': _emberComputed.default.oneWay('calendar.uniqueId'),\n    weekdaysMin: (0, _emberComputed.default)('calendar.locale', function () {\n      return withLocale(this.get('calendar.locale'), function () {\n        return _moment.default.weekdaysMin();\n      });\n    }),\n\n    weekdaysShort: (0, _emberComputed.default)('calendar.locale', function () {\n      return withLocale(this.get('calendar.locale'), function () {\n        return _moment.default.weekdaysShort();\n      });\n    }),\n\n    weekdays: (0, _emberComputed.default)('calendar.locale', function () {\n      return withLocale(this.get('calendar.locale'), function () {\n        return _moment.default.weekdays();\n      });\n    }),\n\n    localeStartOfWeek: (0, _emberComputed.default)('weekdaysShort', 'startOfWeek', function () {\n      var forcedStartOfWeek = this.get('startOfWeek');\n      if (forcedStartOfWeek) {\n        return parseInt(forcedStartOfWeek, 10);\n      }\n      var now = this.get('powerCalendarService').getDate();\n      var dayAbbr = withLocale(this.get('calendar.locale'), function () {\n        return (0, _moment.default)(now).startOf('week').format('ddd');\n      });\n      return this.get('weekdaysShort').indexOf(dayAbbr);\n    }),\n\n    weekdaysNames: (0, _emberComputed.default)('localeStartOfWeek', 'weekdayFormat', 'calendar.locale', function () {\n      var _getProperties = this.getProperties('localeStartOfWeek', 'weekdayFormat'),\n          localeStartOfWeek = _getProperties.localeStartOfWeek,\n          weekdayFormat = _getProperties.weekdayFormat;\n\n      var format = 'weekdays' + (weekdayFormat === 'long' ? '' : weekdayFormat === 'min' ? 'Min' : 'Short');\n      var weekdaysNames = this.get(format);\n      return weekdaysNames.slice(localeStartOfWeek).concat(weekdaysNames.slice(0, localeStartOfWeek));\n    }),\n\n    days: (0, _emberComputed.default)('calendar', 'focusedId', 'localeStartOfWeek', 'minDate', 'maxDate', 'disabledDates.[]', 'maxLength', function () {\n      var today = this.get('powerCalendarService').getDate();\n      var calendar = this.get('calendar');\n      var lastDay = this.lastDay(calendar);\n      var currentMoment = this.firstDay(calendar);\n      var days = [];\n      while (currentMoment.isBefore(lastDay)) {\n        days.push(this.buildDay(currentMoment, today, calendar));\n        currentMoment.add(1, 'day');\n      }\n      return days;\n    }),\n\n    weeks: (0, _emberComputed.default)('showDaysAround', 'days', function () {\n      var _getProperties2 = this.getProperties('showDaysAround', 'days'),\n          showDaysAround = _getProperties2.showDaysAround,\n          days = _getProperties2.days;\n\n      var weeks = [];\n      var i = 0;\n      while (days[i]) {\n        var daysOfWeek = days.slice(i, i + 7);\n        if (!showDaysAround) {\n          daysOfWeek = daysOfWeek.filter(function (d) {\n            return d.isCurrentMonth;\n          });\n        }\n        weeks.push({\n          id: days[i].moment.format('YYYY-w'),\n          days: daysOfWeek,\n          missingDays: 7 - daysOfWeek.length\n        });\n        i += 7;\n      }\n      return weeks;\n    }),\n\n    // Actions\n    actions: {\n      onFocusDay: function onFocusDay(day) {\n        (0, _emberRunloop.scheduleOnce)('actions', this, this._updateFocused, day.id);\n      },\n      onBlurDay: function onBlurDay() {\n        (0, _emberRunloop.scheduleOnce)('actions', this, this._updateFocused, null);\n      },\n      onKeyDown: function onKeyDown(calendar, e) {\n        var focusedId = this.get('focusedId');\n        if (focusedId) {\n          var days = this.get('days');\n          var day = void 0,\n              index = void 0;\n          for (var i = 0; i < days.length; i++) {\n            if (days[i].id === focusedId) {\n              index = i;\n              break;\n            }\n          }\n          if (e.keyCode === 38) {\n            e.preventDefault();\n            var newIndex = Math.max(index - 7, 0);\n            day = days[newIndex];\n            if (day.isDisabled) {\n              for (var _i = newIndex + 1; _i <= index; _i++) {\n                day = days[_i];\n                if (!day.isDisabled) {\n                  break;\n                }\n              }\n            }\n          } else if (e.keyCode === 40) {\n            e.preventDefault();\n            var _newIndex = Math.min(index + 7, days.length - 1);\n            day = days[_newIndex];\n            if (day.isDisabled) {\n              for (var _i2 = _newIndex - 1; _i2 >= index; _i2--) {\n                day = days[_i2];\n                if (!day.isDisabled) {\n                  break;\n                }\n              }\n            }\n          } else if (e.keyCode === 37) {\n            day = days[Math.max(index - 1, 0)];\n            if (day.isDisabled) {\n              return;\n            }\n          } else if (e.keyCode === 39) {\n            day = days[Math.min(index + 1, days.length - 1)];\n            if (day.isDisabled) {\n              return;\n            }\n          } else {\n            return;\n          }\n          this.set('focusedId', day.id);\n          (0, _emberRunloop.scheduleOnce)('afterRender', this, '_focusDate', day.id);\n        }\n      }\n    },\n\n    // Methods\n    buildDay: function buildDay(dayMoment, today, calendar) {\n      var id = dayMoment.format('YYYY-MM-DD');\n      var momentDate = dayMoment.clone();\n\n      return {\n        id: id,\n        number: momentDate.date(),\n        date: momentDate.toDate(),\n        moment: momentDate,\n        isDisabled: this.dayIsDisabled(momentDate),\n        isFocused: this.get('focusedId') === id,\n        isCurrentMonth: momentDate.month() === calendar.center.month(),\n        isToday: momentDate.isSame(today, 'day'),\n        isSelected: this.dayIsSelected(momentDate, calendar)\n      };\n    },\n    buildonSelectValue: function buildonSelectValue(day) {\n      return day;\n    },\n    dayIsSelected: function dayIsSelected(dayMoment) {\n      var calendar = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.get('calendar');\n\n      return calendar.selected ? dayMoment.isSame(calendar.selected, 'day') : false;\n    },\n    dayIsDisabled: function dayIsDisabled(momentDate) {\n      var isDisabled = !this.get('onSelect');\n      if (isDisabled) {\n        return true;\n      }\n\n      var minDate = this.get('minDate');\n      if (minDate && momentDate.isBefore(minDate)) {\n        return true;\n      }\n\n      var maxDate = this.get('maxDate');\n      if (maxDate && momentDate.isAfter(maxDate)) {\n        return true;\n      }\n\n      var disabledDates = this.get('disabledDates');\n      if (disabledDates && disabledDates.some(function (d) {\n        return momentDate.isSame(d, 'day');\n      })) {\n        return true;\n      }\n\n      return false;\n    },\n    firstDay: function firstDay(calendar) {\n      var firstDay = calendar.center.clone().startOf('month');\n      var localeStartOfWeek = this.get('localeStartOfWeek');\n      while (firstDay.isoWeekday() % 7 !== localeStartOfWeek) {\n        firstDay.add(-1, 'day');\n      }\n      return firstDay;\n    },\n    lastDay: function lastDay(calendar) {\n      var localeStartOfWeek = this.get('localeStartOfWeek');\n      var lastDay = calendar.center.clone().endOf('month');\n      var localeEndOfWeek = (localeStartOfWeek + 6) % 7;\n      while (lastDay.isoWeekday() % 7 !== localeEndOfWeek) {\n        lastDay.add(1, 'day');\n      }\n      return lastDay;\n    },\n    _updateFocused: function _updateFocused(id) {\n      this.set('focusedId', id);\n    },\n    _focusDate: function _focusDate(id) {\n      var dayElement = this.element.querySelector('[data-date=\"' + id + '\"]');\n      if (dayElement) {\n        dayElement.focus();\n      }\n    }\n  });\n});","define('ember-power-calendar/components/power-calendar/nav', ['exports', 'ember', 'ember-power-calendar/templates/components/power-calendar/nav'], function (exports, _ember, _nav) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _ember.default.Component.extend({\n    layout: _nav.default,\n    tagName: ''\n  });\n});","define('ember-power-calendar/services/power-calendar', ['exports', 'ember', 'ember-metal/utils'], function (exports, _ember, _utils) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _ember.default.Service.extend({\n    date: null,\n\n    // Lifecycle hooks\n    init: function init() {\n      this._super.apply(this, arguments);\n      this._calendars = {};\n    },\n\n\n    // Methods\n    getDate: function getDate() {\n      return this.get('date') || new Date();\n    },\n    registerCalendar: function registerCalendar(calendar) {\n      this._calendars[(0, _utils.guidFor)(calendar)] = calendar;\n    },\n    unregisterCalendar: function unregisterCalendar(calendar) {\n      delete this._calendars[(0, _utils.guidFor)(calendar)];\n    }\n  });\n});","define(\"ember-power-calendar/templates/components/power-calendar\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.__esModule = true;\n  exports.default = Ember.HTMLBars.template({ \"id\": \"etEehZ98\", \"block\": \"{\\\"statements\\\":[[6,[\\\"with\\\"],[[33,[\\\"assign\\\"],[[28,[\\\"publicAPI\\\"]],[33,[\\\"hash\\\"],null,[[\\\"nav\\\",\\\"days\\\"],[[33,[\\\"component\\\"],[[28,[\\\"navComponent\\\"]]],[[\\\"calendar\\\",\\\"onCenterChange\\\"],[[33,[\\\"readonly\\\"],[[28,[\\\"publicAPI\\\"]]],null],[33,[\\\"readonly\\\"],[[28,[\\\"onCenterChange\\\"]]],null]]]],[33,[\\\"component\\\"],[[28,[\\\"daysComponent\\\"]]],[[\\\"calendar\\\",\\\"onSelect\\\"],[[33,[\\\"readonly\\\"],[[28,[\\\"publicAPI\\\"]]],null],[33,[\\\"readonly\\\"],[[28,[\\\"onSelect\\\"]]],null]]]]]]]],null]],null,{\\\"statements\\\":[[6,[\\\"if\\\"],[[29,\\\"default\\\"]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[18,\\\"default\\\",[[28,[\\\"calendar\\\"]]]],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[0,\\\"    \\\"],[1,[28,[\\\"calendar\\\",\\\"nav\\\"]],false],[0,\\\"\\\\n    \\\"],[1,[28,[\\\"calendar\\\",\\\"days\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[]}]],\\\"locals\\\":[\\\"calendar\\\"]},null]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"ember-power-calendar/templates/components/power-calendar.hbs\" } });\n});","define(\"ember-power-calendar/templates/components/power-calendar/days\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.__esModule = true;\n  exports.default = Ember.HTMLBars.template({ \"id\": \"K10V/Gjk\", \"block\": \"{\\\"statements\\\":[[11,\\\"div\\\",[]],[15,\\\"class\\\",\\\"ember-power-calendar-row ember-power-calendar-weekdays\\\"],[13],[0,\\\"\\\\n\\\"],[6,[\\\"each\\\"],[[28,[\\\"weekdaysNames\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[11,\\\"div\\\",[]],[15,\\\"class\\\",\\\"ember-power-calendar-weekday\\\"],[13],[1,[28,[\\\"wdn\\\"]],false],[14],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"wdn\\\"]},null],[14],[0,\\\"\\\\n\\\\n\\\"],[11,\\\"div\\\",[]],[15,\\\"class\\\",\\\"ember-power-calendar-day-grid\\\"],[16,\\\"onkeydown\\\",[33,[\\\"action\\\"],[[28,[null]],\\\"onKeyDown\\\",[28,[\\\"calendar\\\"]]],null],null],[13],[0,\\\"\\\\n\\\"],[6,[\\\"each\\\"],[[28,[\\\"weeks\\\"]]],[[\\\"key\\\"],[\\\"id\\\"]],{\\\"statements\\\":[[0,\\\"    \\\"],[11,\\\"div\\\",[]],[15,\\\"class\\\",\\\"ember-power-calendar-row ember-power-calendar-week\\\"],[16,\\\"data-missing-days\\\",[28,[\\\"week\\\",\\\"missingDays\\\"]],null],[13],[0,\\\"\\\\n\\\"],[6,[\\\"each\\\"],[[28,[\\\"week\\\",\\\"days\\\"]]],[[\\\"key\\\"],[\\\"id\\\"]],{\\\"statements\\\":[[0,\\\"        \\\"],[11,\\\"button\\\",[]],[15,\\\"type\\\",\\\"button\\\"],[16,\\\"data-date\\\",[34,[[28,[\\\"day\\\",\\\"id\\\"]]]]],[16,\\\"class\\\",[34,[\\\"ember-power-calendar-day \\\",[33,[\\\"if\\\"],[[28,[\\\"onSelect\\\"]],\\\"ember-power-calendar-day--interactive\\\"],null],\\\" \\\",[33,[\\\"if\\\"],[[28,[\\\"day\\\",\\\"isCurrentMonth\\\"]],\\\"ember-power-calendar-day--current-month\\\",\\\"ember-power-calendar-day--other-month\\\"],null],\\\" \\\",[33,[\\\"if\\\"],[[28,[\\\"day\\\",\\\"isSelected\\\"]],\\\"ember-power-calendar-day--selected\\\"],null],\\\" \\\",[33,[\\\"if\\\"],[[28,[\\\"day\\\",\\\"isToday\\\"]],\\\"ember-power-calendar-day--today\\\"],null],\\\" \\\",[33,[\\\"if\\\"],[[28,[\\\"day\\\",\\\"isFocused\\\"]],\\\"ember-power-calendar-day--focused\\\"],null],\\\" \\\",[33,[\\\"if\\\"],[[28,[\\\"day\\\",\\\"isRangeStart\\\"]],\\\"ember-power-calendar-day--range-start\\\"],null],\\\" \\\",[33,[\\\"if\\\"],[[28,[\\\"day\\\",\\\"isRangeEnd\\\"]],\\\"ember-power-calendar-day--range-end\\\"],null]]]],[16,\\\"onclick\\\",[33,[\\\"action\\\"],[[28,[null]],[28,[\\\"calendar\\\",\\\"actions\\\",\\\"select\\\"]],[28,[\\\"day\\\"]],[28,[\\\"calendar\\\"]]],null],null],[16,\\\"onfocus\\\",[33,[\\\"action\\\"],[[28,[null]],\\\"onFocusDay\\\",[28,[\\\"day\\\"]]],null],null],[16,\\\"onblur\\\",[33,[\\\"action\\\"],[[28,[null]],\\\"onBlurDay\\\"],null],null],[16,\\\"disabled\\\",[28,[\\\"day\\\",\\\"isDisabled\\\"]],null],[13],[0,\\\"\\\\n\\\"],[6,[\\\"if\\\"],[[29,\\\"default\\\"]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[18,\\\"default\\\",[[28,[\\\"day\\\"]],[28,[\\\"publicAPI\\\"]]]],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[0,\\\"            \\\"],[1,[28,[\\\"day\\\",\\\"number\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[]}],[0,\\\"        \\\"],[14],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"day\\\"]},null],[0,\\\"    \\\"],[14],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[\\\"week\\\"]},null],[14],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"ember-power-calendar/templates/components/power-calendar/days.hbs\" } });\n});","define(\"ember-power-calendar/templates/components/power-calendar/nav\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.__esModule = true;\n  exports.default = Ember.HTMLBars.template({ \"id\": \"AEL9hO7w\", \"block\": \"{\\\"statements\\\":[[11,\\\"nav\\\",[]],[15,\\\"class\\\",\\\"ember-power-calendar-nav\\\"],[13],[0,\\\"\\\\n\\\"],[6,[\\\"if\\\"],[[28,[\\\"onCenterChange\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[11,\\\"button\\\",[]],[15,\\\"type\\\",\\\"button\\\"],[15,\\\"class\\\",\\\"ember-power-calendar-nav-control ember-power-calendar-nav-control--previous\\\"],[16,\\\"onclick\\\",[33,[\\\"action\\\"],[[28,[null]],[28,[\\\"calendar\\\",\\\"actions\\\",\\\"moveCenter\\\"]],-1,\\\"month\\\",[28,[\\\"calendar\\\"]]],null],null],[13],[0,\\\"«\\\"],[14],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[]},null],[0,\\\"  \\\"],[11,\\\"div\\\",[]],[15,\\\"class\\\",\\\"ember-power-calendar-nav-title\\\"],[13],[0,\\\"\\\\n\\\"],[6,[\\\"if\\\"],[[29,\\\"default\\\"]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[18,\\\"default\\\",[[28,[\\\"calendar\\\"]]]],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[0,\\\"      \\\"],[1,[33,[\\\"moment-format\\\"],[[28,[\\\"calendar\\\",\\\"center\\\"]],\\\"MMMM YYYY\\\"],[[\\\"locale\\\"],[[28,[\\\"calendar\\\",\\\"locale\\\"]]]]],false],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[]}],[0,\\\"  \\\"],[14],[0,\\\"\\\\n\\\"],[6,[\\\"if\\\"],[[28,[\\\"onCenterChange\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[11,\\\"button\\\",[]],[15,\\\"type\\\",\\\"button\\\"],[15,\\\"class\\\",\\\"ember-power-calendar-nav-control ember-power-calendar-nav-control--next\\\"],[16,\\\"onclick\\\",[33,[\\\"action\\\"],[[28,[null]],[28,[\\\"calendar\\\",\\\"actions\\\",\\\"moveCenter\\\"]],1,\\\"month\\\",[28,[\\\"calendar\\\"]]],null],null],[13],[0,\\\"»\\\"],[14],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[]},null],[14]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"ember-power-calendar/templates/components/power-calendar/nav.hbs\" } });\n});","define('ember-power-calendar/utils/computed-fallback-if-undefined', ['exports', 'ember-computed'], function (exports, _emberComputed) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function (fallback) {\n    return (0, _emberComputed.default)({\n      get: function get() {\n        return fallback;\n      },\n      set: function set(_, v) {\n        return v === undefined ? fallback : v;\n      }\n    });\n  };\n});","define('ember-progress-bar/components/ember-progress-bar', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var assign = _ember['default'].assign;\n  var get = _ember['default'].get;\n  var set = _ember['default'].set;\n  var typeOf = _ember['default'].typeOf;\n\n  function deepObjectAssign(object) {\n    Object.keys(object).forEach(function (key) {\n      if (typeOf(object[key]) === 'object') {\n        object[key] = deepObjectAssign(object[key]);\n      }\n    });\n\n    return assign({}, object);\n  }\n\n  exports['default'] = Component.extend({\n    classNames: ['ember-progress-bar'],\n    hook: 'ember_progress_bar',\n    onAnimationComplete: null,\n\n    shape: 'Line',\n    options: {},\n\n    defaultStep: function defaultStep(state, bar) {\n      bar.setText((bar.value() * 100).toFixed(0));\n    },\n\n    didInsertElement: function didInsertElement() {\n      this._super.apply(this, arguments);\n\n      var shape = get(this, 'shape');\n      var options = deepObjectAssign(get(this, 'options'));\n\n      if (get(this, 'useDefaultStep')) {\n        set(options, 'step', get(this, 'defaultStep'));\n      }\n\n      var progressBar = new ProgressBar[shape](this.element, options);\n\n      set(this, 'progressBar', progressBar);\n    },\n\n    didRender: function didRender() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n\n      var progress = get(this, 'progress');\n\n      get(this, 'progressBar').animate(progress, function () {\n        return _this.sendAction('onAnimationComplete');\n      });\n    },\n\n    willDestroyElement: function willDestroyElement() {\n      get(this, 'progressBar').destroy();\n\n      this._super.apply(this, arguments);\n    }\n  });\n});","define(\"ember-progress-bar/templates/components/ember-progress-bar\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.__esModule = true;\n  exports.default = Ember.HTMLBars.template({ \"id\": \"E8DovGyl\", \"block\": \"{\\\"statements\\\":[[18,\\\"default\\\"],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"ember-progress-bar/templates/components/ember-progress-bar.hbs\" } });\n});","define('ember-radio-button/components/labeled-radio-button', ['exports', 'ember', 'ember-radio-button/templates/components/labeled-radio-button'], function (exports, _ember, _emberRadioButtonTemplatesComponentsLabeledRadioButton) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  exports['default'] = Component.extend({\n    tagName: 'label',\n    layout: _emberRadioButtonTemplatesComponentsLabeledRadioButton['default'],\n    attributeBindings: ['for'],\n    classNameBindings: ['checked'],\n    classNames: ['ember-radio-button'],\n    defaultLayout: null, // ie8 support\n\n    checked: computed('groupValue', 'value', function () {\n      return this.get('groupValue') === this.get('value');\n    }).readOnly(),\n\n    'for': computed.readOnly('radioId'),\n\n    actions: {\n      innerRadioChanged: function innerRadioChanged(value) {\n        this.sendAction('changed', value);\n      }\n    }\n  });\n});","define('ember-radio-button/components/radio-button-input', ['exports', 'ember'], function (exports, _ember) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  var run = _ember['default'].run;\n  exports['default'] = Component.extend({\n    tagName: 'input',\n    type: 'radio',\n\n    // value - required\n    // groupValue - required\n\n    // disabled - optional\n    // name - optional\n    // required - optional\n    // radioClass - string\n    // radioId - string\n\n    defaultLayout: null, // ie8 support\n\n    attributeBindings: ['checked', 'disabled', 'name', 'required', 'type', 'value'],\n\n    checked: computed('groupValue', 'value', function () {\n      return this.get('groupValue') === this.get('value');\n    }).readOnly(),\n\n    sendChangedAction: function sendChangedAction() {\n      this.sendAction('changed', this.get('value'));\n    },\n\n    change: function change() {\n      var value = this.get('value');\n      var groupValue = this.get('groupValue');\n\n      if (groupValue !== value) {\n        this.set('groupValue', value); // violates DDAU\n        run.once(this, 'sendChangedAction');\n      }\n    }\n  });\n});","define('ember-radio-button/components/radio-button', ['exports', 'ember', 'ember-radio-button/templates/components/radio-button'], function (exports, _ember, _emberRadioButtonTemplatesComponentsRadioButton) {\n  var Component = _ember['default'].Component;\n  var computed = _ember['default'].computed;\n  exports['default'] = Component.extend({\n    tagName: '',\n    layout: _emberRadioButtonTemplatesComponentsRadioButton['default'],\n\n    // value - passed in, required, the value for this radio button\n    // groupValue - passed in, required, the currently selected value\n\n    // optionally passed in:\n    // disabled - boolean\n    // required - boolean\n    // name - string\n    // radioClass - string\n    // radioId - string\n\n    // polyfill hasBlock for ember versions < 1.13\n    hasBlock: computed.bool('template').readOnly(),\n\n    joinedClassNames: computed('classNames', function () {\n      var classNames = this.get('classNames');\n      if (classNames && classNames.length && classNames.join) {\n        return classNames.join(' ');\n      }\n      return classNames;\n    }),\n\n    // is this needed here or just on radio-button-input?\n    defaultLayout: null, // ie8 support\n\n    checked: computed('groupValue', 'value', function () {\n      return this.get('groupValue') === this.get('value');\n    }).readOnly(),\n\n    actions: {\n      changed: function changed(newValue) {\n        this.sendAction('changed', newValue);\n      }\n    }\n  });\n});","define(\"ember-radio-button/templates/components/labeled-radio-button\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.__esModule = true;\n  exports.default = Ember.HTMLBars.template({ \"id\": \"e1WM6vWJ\", \"block\": \"{\\\"statements\\\":[[1,[33,[\\\"radio-button\\\"],null,[[\\\"radioClass\\\",\\\"radioId\\\",\\\"changed\\\",\\\"disabled\\\",\\\"groupValue\\\",\\\"name\\\",\\\"required\\\",\\\"value\\\"],[[28,[\\\"radioClass\\\"]],[28,[\\\"radioId\\\"]],\\\"innerRadioChanged\\\",[28,[\\\"disabled\\\"]],[28,[\\\"groupValue\\\"]],[28,[\\\"name\\\"]],[28,[\\\"required\\\"]],[28,[\\\"value\\\"]]]]],false],[0,\\\"\\\\n\\\\n\\\"],[18,\\\"default\\\"],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"ember-radio-button/templates/components/labeled-radio-button.hbs\" } });\n});","define(\"ember-radio-button/templates/components/radio-button\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.__esModule = true;\n  exports.default = Ember.HTMLBars.template({ \"id\": \"0F5+3W+l\", \"block\": \"{\\\"statements\\\":[[6,[\\\"if\\\"],[[29,\\\"default\\\"]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[11,\\\"label\\\",[]],[16,\\\"class\\\",[34,[\\\"ember-radio-button \\\",[33,[\\\"if\\\"],[[28,[\\\"checked\\\"]],\\\"checked\\\"],null],\\\" \\\",[26,[\\\"joinedClassNames\\\"]]]]],[16,\\\"for\\\",[26,[\\\"radioId\\\"]],null],[13],[0,\\\"\\\\n    \\\"],[1,[33,[\\\"radio-button-input\\\"],null,[[\\\"class\\\",\\\"id\\\",\\\"disabled\\\",\\\"name\\\",\\\"required\\\",\\\"groupValue\\\",\\\"value\\\",\\\"changed\\\"],[[28,[\\\"radioClass\\\"]],[28,[\\\"radioId\\\"]],[28,[\\\"disabled\\\"]],[28,[\\\"name\\\"]],[28,[\\\"required\\\"]],[28,[\\\"groupValue\\\"]],[28,[\\\"value\\\"]],\\\"changed\\\"]]],false],[0,\\\"\\\\n\\\\n    \\\"],[18,\\\"default\\\"],[0,\\\"\\\\n  \\\"],[14],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[]},{\\\"statements\\\":[[0,\\\"  \\\"],[1,[33,[\\\"radio-button-input\\\"],null,[[\\\"class\\\",\\\"id\\\",\\\"disabled\\\",\\\"name\\\",\\\"required\\\",\\\"groupValue\\\",\\\"value\\\",\\\"changed\\\"],[[28,[\\\"radioClass\\\"]],[28,[\\\"radioId\\\"]],[28,[\\\"disabled\\\"]],[28,[\\\"name\\\"]],[28,[\\\"required\\\"]],[28,[\\\"groupValue\\\"]],[28,[\\\"value\\\"]],\\\"changed\\\"]]],false],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[]}]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"ember-radio-button/templates/components/radio-button.hbs\" } });\n});","define('ember-require-module/index', ['exports'], function (exports) {\n  exports['default'] = requireModule;\n  /* globals requirejs, require */\n\n  function requireModule(module) {\n    var exportName = arguments.length <= 1 || arguments[1] === undefined ? 'default' : arguments[1];\n\n    var rjs = requirejs;\n\n    if (rjs.has && rjs.has(module) || !rjs.has && (rjs.entries[module] || rjs.entries[module + '/index'])) {\n      return require(module)[exportName];\n    }\n  }\n});","define('ember-resolver/index', ['exports', 'ember-resolver/resolvers/classic'], function (exports, _emberResolverResolversClassic) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberResolverResolversClassic['default'];\n    }\n  });\n});","define('ember-resolver/resolver', ['exports', 'ember-resolver/resolvers/classic'], function (exports, _emberResolverResolversClassic) {\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function get() {\n      return _emberResolverResolversClassic['default'];\n    }\n  });\n});","define('ember-resolver/resolvers/classic/container-debug-adapter', ['exports', 'ember', 'ember-resolver/resolvers/classic/index'], function (exports, _ember, _emberResolverResolversClassicIndex) {\n  var ContainerDebugAdapter = _ember['default'].ContainerDebugAdapter;\n\n  function getPod(type, key, prefix) {\n    var match = key.match(new RegExp('^/?' + prefix + '/(.+)/' + type + '$'));\n    if (match) {\n      return match[1];\n    }\n  }\n\n  /*\n   * This module defines a subclass of Ember.ContainerDebugAdapter that adds\n   * support for resolving from modules.\n   *\n   */\n  exports['default'] = ContainerDebugAdapter.extend({\n    _moduleRegistry: null,\n\n    init: function init() {\n      this._super.apply(this, arguments);\n\n      if (!this._moduleRegistry) {\n        this._moduleRegistry = new _emberResolverResolversClassicIndex.ModuleRegistry();\n      }\n    },\n\n    /**\n        The container of the application being debugged.\n        This property will be injected\n        on creation.\n         @property container\n        @default null\n        */\n\n    /**\n        The resolver instance of the application\n        being debugged. This property will be injected\n        on creation.\n         @property resolver\n        @default null\n        */\n\n    /**\n        Returns true if it is possible to catalog a list of available\n        classes in the resolver for a given type.\n         @method canCatalogEntriesByType\n        @param {string} type The type. e.g. \"model\", \"controller\", \"route\"\n        @return {boolean} whether a list is available for this type.\n        */\n    canCatalogEntriesByType: function canCatalogEntriesByType(type) {\n      if (type === 'model') {\n        return true;\n      }\n      return this._super.apply(this, arguments);\n    },\n\n    /**\n        Returns the available classes a given type.\n         @method catalogEntriesByType\n        @param {string} type The type. e.g. \"model\", \"controller\", \"route\"\n        @return {Array} An array of classes.\n        */\n    catalogEntriesByType: function catalogEntriesByType(type) {\n      var moduleNames = this._moduleRegistry.moduleNames();\n      var types = _ember['default'].A();\n\n      var prefix = this.namespace.modulePrefix;\n\n      for (var i = 0, l = moduleNames.length; i < l; i++) {\n        var key = moduleNames[i];\n\n        if (key.indexOf(type) !== -1) {\n          // Check if it's a pod module\n          var _name = getPod(type, key, this.namespace.podModulePrefix || prefix);\n          if (!_name) {\n            // Not pod\n            _name = key.split(type + 's/').pop();\n\n            // Support for different prefix (such as ember-cli addons).\n            // Uncomment the code below when\n            // https://github.com/ember-cli/ember-resolver/pull/80 is merged.\n\n            //let match = key.match('^/?(.+)/' + type);\n            //if (match && match[1] !== prefix) {\n            // Different prefix such as an addon\n            //name = match[1] + '@' + name;\n            //}\n          }\n          types.addObject(_name);\n        }\n      }\n      return types;\n    }\n  });\n});","define('ember-resolver/resolvers/classic/index', ['exports', 'ember', 'ember-resolver/utils/class-factory', 'ember-resolver/utils/make-dictionary'], function (exports, _ember, _emberResolverUtilsClassFactory, _emberResolverUtilsMakeDictionary) {\n  var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\n  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\n  if (typeof requirejs.entries === 'undefined') {\n    requirejs.entries = requirejs._eak_seen;\n  }\n\n  var ModuleRegistry = (function () {\n    function ModuleRegistry(entries) {\n      _classCallCheck(this, ModuleRegistry);\n\n      this._entries = entries || requirejs.entries;\n    }\n\n    /*\n     * This module defines a subclass of Ember.DefaultResolver that adds two\n     * important features:\n     *\n     *  1) The resolver makes the container aware of es6 modules via the AMD\n     *     output. The loader's _moduleEntries is consulted so that classes can be\n     *     resolved directly via the module loader, without needing a manual\n     *     `import`.\n     *  2) is able to provide injections to classes that implement `extend`\n     *     (as is typical with Ember).\n     */\n\n    _createClass(ModuleRegistry, [{\n      key: 'moduleNames',\n      value: function moduleNames() {\n        return Object.keys(this._entries);\n      }\n    }, {\n      key: 'has',\n      value: function has(moduleName) {\n        return moduleName in this._entries;\n      }\n    }, {\n      key: 'get',\n      value: function get(moduleName) {\n        return require(moduleName);\n      }\n    }]);\n\n    return ModuleRegistry;\n  })();\n\n  exports.ModuleRegistry = ModuleRegistry;\n  var _Ember$String = _ember['default'].String;\n  var underscore = _Ember$String.underscore;\n  var classify = _Ember$String.classify;\n  var dasherize = _Ember$String.dasherize;\n  var get = _ember['default'].get;\n  var DefaultResolver = _ember['default'].DefaultResolver;\n\n  function parseName(fullName) {\n    /*jshint validthis:true */\n\n    if (fullName.parsedName === true) {\n      return fullName;\n    }\n\n    var prefix = undefined,\n        type = undefined,\n        name = undefined;\n    var fullNameParts = fullName.split('@');\n\n    // HTMLBars uses helper:@content-helper which collides\n    // with ember-cli namespace detection.\n    // This will be removed in a future release of HTMLBars.\n    if (fullName !== 'helper:@content-helper' && fullNameParts.length === 2) {\n      var prefixParts = fullNameParts[0].split(':');\n\n      if (prefixParts.length === 2) {\n        prefix = prefixParts[1];\n        type = prefixParts[0];\n        name = fullNameParts[1];\n      } else {\n        var nameParts = fullNameParts[1].split(':');\n\n        prefix = fullNameParts[0];\n        type = nameParts[0];\n        name = nameParts[1];\n      }\n    } else {\n      fullNameParts = fullName.split(':');\n      type = fullNameParts[0];\n      name = fullNameParts[1];\n    }\n\n    var fullNameWithoutType = name;\n    var namespace = get(this, 'namespace');\n    var root = namespace;\n\n    return {\n      parsedName: true,\n      fullName: fullName,\n      prefix: prefix || this.prefix({ type: type }),\n      type: type,\n      fullNameWithoutType: fullNameWithoutType,\n      name: name,\n      root: root,\n      resolveMethodName: \"resolve\" + classify(type)\n    };\n  }\n\n  function resolveOther(parsedName) {\n    /*jshint validthis:true */\n\n    _ember['default'].assert('`modulePrefix` must be defined', this.namespace.modulePrefix);\n\n    var normalizedModuleName = this.findModuleName(parsedName);\n\n    if (normalizedModuleName) {\n      var defaultExport = this._extractDefaultExport(normalizedModuleName, parsedName);\n\n      if (defaultExport === undefined) {\n        throw new Error(' Expected to find: \\'' + parsedName.fullName + '\\' within \\'' + normalizedModuleName + '\\' but got \\'undefined\\'. Did you forget to \\'export default\\' within \\'' + normalizedModuleName + '\\'?');\n      }\n\n      if (this.shouldWrapInClassFactory(defaultExport, parsedName)) {\n        defaultExport = (0, _emberResolverUtilsClassFactory['default'])(defaultExport);\n      }\n\n      return defaultExport;\n    } else {\n      return this._super(parsedName);\n    }\n  }\n\n  // Ember.DefaultResolver docs:\n  //   https://github.com/emberjs/ember.js/blob/master/packages/ember-application/lib/system/resolver.js\n  var Resolver = DefaultResolver.extend({\n    resolveOther: resolveOther,\n    parseName: parseName,\n    resolveTemplate: resolveOther,\n    pluralizedTypes: null,\n    moduleRegistry: null,\n\n    makeToString: function makeToString(factory, fullName) {\n      return '' + this.namespace.modulePrefix + '@' + fullName + ':';\n    },\n\n    shouldWrapInClassFactory: function shouldWrapInClassFactory() /* module, parsedName */{\n      return false;\n    },\n\n    init: function init() {\n      this._super();\n      this.moduleBasedResolver = true;\n\n      if (!this._moduleRegistry) {\n        this._moduleRegistry = new ModuleRegistry();\n      }\n\n      this._normalizeCache = (0, _emberResolverUtilsMakeDictionary['default'])();\n\n      this.pluralizedTypes = this.pluralizedTypes || (0, _emberResolverUtilsMakeDictionary['default'])();\n\n      if (!this.pluralizedTypes.config) {\n        this.pluralizedTypes.config = 'config';\n      }\n      this._deprecatedPodModulePrefix = false;\n    },\n\n    normalize: function normalize(fullName) {\n      return this._normalizeCache[fullName] || (this._normalizeCache[fullName] = this._normalize(fullName));\n    },\n\n    _normalize: function _normalize(fullName) {\n      // A) Convert underscores to dashes\n      // B) Convert camelCase to dash-case, except for helpers where we want to avoid shadowing camelCase expressions\n      // C) replace `.` with `/` in order to make nested controllers work in the following cases\n      //      1. `needs: ['posts/post']`\n      //      2. `{{render \"posts/post\"}}`\n      //      3. `this.render('posts/post')` from Route\n\n      var split = fullName.split(':');\n      if (split.length > 1) {\n        if (split[0] === 'helper') {\n          return split[0] + ':' + split[1].replace(/_/g, '-');\n        } else {\n          return split[0] + ':' + dasherize(split[1].replace(/\\./g, '/'));\n        }\n      } else {\n        return fullName;\n      }\n    },\n\n    pluralize: function pluralize(type) {\n      return this.pluralizedTypes[type] || (this.pluralizedTypes[type] = type + 's');\n    },\n\n    podBasedLookupWithPrefix: function podBasedLookupWithPrefix(podPrefix, parsedName) {\n      var fullNameWithoutType = parsedName.fullNameWithoutType;\n\n      if (parsedName.type === 'template') {\n        fullNameWithoutType = fullNameWithoutType.replace(/^components\\//, '');\n      }\n\n      return podPrefix + '/' + fullNameWithoutType + '/' + parsedName.type;\n    },\n\n    podBasedModuleName: function podBasedModuleName(parsedName) {\n      var podPrefix = this.namespace.podModulePrefix || this.namespace.modulePrefix;\n\n      return this.podBasedLookupWithPrefix(podPrefix, parsedName);\n    },\n\n    podBasedComponentsInSubdir: function podBasedComponentsInSubdir(parsedName) {\n      var podPrefix = this.namespace.podModulePrefix || this.namespace.modulePrefix;\n      podPrefix = podPrefix + '/components';\n\n      if (parsedName.type === 'component' || parsedName.fullNameWithoutType.match(/^components/)) {\n        return this.podBasedLookupWithPrefix(podPrefix, parsedName);\n      }\n    },\n\n    resolveEngine: function resolveEngine(parsedName) {\n      var engineName = parsedName.fullNameWithoutType;\n      var engineModule = engineName + '/engine';\n\n      if (this._moduleRegistry.has(engineModule)) {\n        return this._extractDefaultExport(engineModule);\n      }\n    },\n\n    resolveRouteMap: function resolveRouteMap(parsedName) {\n      var engineName = parsedName.fullNameWithoutType;\n      var engineRoutesModule = engineName + '/routes';\n\n      if (this._moduleRegistry.has(engineRoutesModule)) {\n        var routeMap = this._extractDefaultExport(engineRoutesModule);\n\n        _ember['default'].assert('The route map for ' + engineName + ' should be wrapped by \\'buildRoutes\\' before exporting.', routeMap.isRouteMap);\n\n        return routeMap;\n      }\n    },\n\n    mainModuleName: function mainModuleName(parsedName) {\n      // if router:main or adapter:main look for a module with just the type first\n      var tmpModuleName = parsedName.prefix + '/' + parsedName.type;\n\n      if (parsedName.fullNameWithoutType === 'main') {\n        return tmpModuleName;\n      }\n    },\n\n    defaultModuleName: function defaultModuleName(parsedName) {\n      return parsedName.prefix + '/' + this.pluralize(parsedName.type) + '/' + parsedName.fullNameWithoutType;\n    },\n\n    prefix: function prefix(parsedName) {\n      var tmpPrefix = this.namespace.modulePrefix;\n\n      if (this.namespace[parsedName.type + 'Prefix']) {\n        tmpPrefix = this.namespace[parsedName.type + 'Prefix'];\n      }\n\n      return tmpPrefix;\n    },\n\n    /**\n      A listing of functions to test for moduleName's based on the provided\n     `parsedName`. This allows easy customization of additional module based\n     lookup patterns.\n      @property moduleNameLookupPatterns\n     @returns {Ember.Array}\n     */\n    moduleNameLookupPatterns: _ember['default'].computed(function () {\n      return [this.podBasedModuleName, this.podBasedComponentsInSubdir, this.mainModuleName, this.defaultModuleName];\n    }).readOnly(),\n\n    findModuleName: function findModuleName(parsedName, loggingDisabled) {\n      var moduleNameLookupPatterns = this.get('moduleNameLookupPatterns');\n      var moduleName = undefined;\n\n      for (var index = 0, _length = moduleNameLookupPatterns.length; index < _length; index++) {\n        var item = moduleNameLookupPatterns[index];\n\n        var tmpModuleName = item.call(this, parsedName);\n\n        // allow treat all dashed and all underscored as the same thing\n        // supports components with dashes and other stuff with underscores.\n        if (tmpModuleName) {\n          tmpModuleName = this.chooseModuleName(tmpModuleName, parsedName);\n        }\n\n        if (tmpModuleName && this._moduleRegistry.has(tmpModuleName)) {\n          moduleName = tmpModuleName;\n        }\n\n        if (!loggingDisabled) {\n          this._logLookup(moduleName, parsedName, tmpModuleName);\n        }\n\n        if (moduleName) {\n          return moduleName;\n        }\n      }\n    },\n\n    chooseModuleName: function chooseModuleName(moduleName, parsedName) {\n      var _this = this;\n\n      var underscoredModuleName = underscore(moduleName);\n\n      if (moduleName !== underscoredModuleName && this._moduleRegistry.has(moduleName) && this._moduleRegistry.has(underscoredModuleName)) {\n        throw new TypeError('Ambiguous module names: \\'' + moduleName + '\\' and \\'' + underscoredModuleName + '\\'');\n      }\n\n      if (this._moduleRegistry.has(moduleName)) {\n        return moduleName;\n      } else if (this._moduleRegistry.has(underscoredModuleName)) {\n        return underscoredModuleName;\n      }\n      // workaround for dasherized partials:\n      // something/something/-something => something/something/_something\n      var partializedModuleName = moduleName.replace(/\\/-([^\\/]*)$/, '/_$1');\n\n      if (this._moduleRegistry.has(partializedModuleName)) {\n        _ember['default'].deprecate('Modules should not contain underscores. ' + 'Attempted to lookup \"' + moduleName + '\" which ' + 'was not found. Please rename \"' + partializedModuleName + '\" ' + 'to \"' + moduleName + '\" instead.', false, { id: 'ember-resolver.underscored-modules', until: '3.0.0' });\n\n        return partializedModuleName;\n      }\n      _ember['default'].runInDebug(function () {\n        var isCamelCaseHelper = parsedName.type === 'helper' && !!moduleName.match(/[a-z]+[A-Z]+/);\n        if (isCamelCaseHelper) {\n          _this._camelCaseHelperWarnedNames = _this._camelCaseHelperWarnedNames || [];\n          var alreadyWarned = _this._camelCaseHelperWarnedNames.indexOf(parsedName.fullName) > -1;\n          if (!alreadyWarned && _this._moduleRegistry.has(dasherize(moduleName))) {\n            _this._camelCaseHelperWarnedNames.push(parsedName.fullName);\n            _ember['default'].warn('Attempted to lookup \"' + parsedName.fullName + '\" which ' + 'was not found. In previous versions of ember-resolver, a bug would have ' + 'caused the module at \"' + dasherize(moduleName) + '\" to be ' + 'returned for this camel case helper name. This has been fixed. ' + 'Use the dasherized name to resolve the module that would have been ' + 'returned in previous versions.', false, { id: 'ember-resolver.camelcase-helper-names', until: '3.0.0' });\n          }\n        }\n      });\n    },\n\n    // used by Ember.DefaultResolver.prototype._logLookup\n    lookupDescription: function lookupDescription(fullName) {\n      var parsedName = this.parseName(fullName);\n\n      var moduleName = this.findModuleName(parsedName, true);\n\n      return moduleName;\n    },\n\n    // only needed until 1.6.0-beta.2 can be required\n    _logLookup: function _logLookup(found, parsedName, description) {\n      if (!_ember['default'].ENV.LOG_MODULE_RESOLVER && !parsedName.root.LOG_RESOLVER) {\n        return;\n      }\n\n      var symbol = undefined,\n          padding = undefined;\n\n      if (found) {\n        symbol = '[✓]';\n      } else {\n        symbol = '[ ]';\n      }\n\n      if (parsedName.fullName.length > 60) {\n        padding = '.';\n      } else {\n        padding = new Array(60 - parsedName.fullName.length).join('.');\n      }\n\n      if (!description) {\n        description = this.lookupDescription(parsedName);\n      }\n\n      _ember['default'].Logger.info(symbol, parsedName.fullName, padding, description);\n    },\n\n    knownForType: function knownForType(type) {\n      var moduleKeys = this._moduleRegistry.moduleNames();\n\n      var items = (0, _emberResolverUtilsMakeDictionary['default'])();\n      for (var index = 0, _length2 = moduleKeys.length; index < _length2; index++) {\n        var moduleName = moduleKeys[index];\n        var fullname = this.translateToContainerFullname(type, moduleName);\n\n        if (fullname) {\n          items[fullname] = true;\n        }\n      }\n\n      return items;\n    },\n\n    translateToContainerFullname: function translateToContainerFullname(type, moduleName) {\n      var prefix = this.prefix({ type: type });\n\n      // Note: using string manipulation here rather than regexes for better performance.\n      // pod modules\n      // '^' + prefix + '/(.+)/' + type + '$'\n      var podPrefix = prefix + '/';\n      var podSuffix = '/' + type;\n      var start = moduleName.indexOf(podPrefix);\n      var end = moduleName.indexOf(podSuffix);\n\n      if (start === 0 && end === moduleName.length - podSuffix.length && moduleName.length > podPrefix.length + podSuffix.length) {\n        return type + ':' + moduleName.slice(start + podPrefix.length, end);\n      }\n\n      // non-pod modules\n      // '^' + prefix + '/' + pluralizedType + '/(.+)$'\n      var pluralizedType = this.pluralize(type);\n      var nonPodPrefix = prefix + '/' + pluralizedType + '/';\n\n      if (moduleName.indexOf(nonPodPrefix) === 0 && moduleName.length > nonPodPrefix.length) {\n        return type + ':' + moduleName.slice(nonPodPrefix.length);\n      }\n    },\n\n    _extractDefaultExport: function _extractDefaultExport(normalizedModuleName) {\n      var module = require(normalizedModuleName, null, null, true /* force sync */);\n\n      if (module && module['default']) {\n        module = module['default'];\n      }\n\n      return module;\n    }\n  });\n\n  Resolver.reopenClass({\n    moduleBasedResolver: true\n  });\n\n  exports['default'] = Resolver;\n});\n/* globals requirejs, require */","define('ember-resolver/utils/class-factory', ['exports'], function (exports) {\n  exports['default'] = classFactory;\n\n  function classFactory(klass) {\n    return {\n      create: function create(injections) {\n        if (typeof klass.extend === 'function') {\n          return klass.extend(injections);\n        } else {\n          return klass;\n        }\n      }\n    };\n  }\n});","define('ember-resolver/utils/make-dictionary', ['exports'], function (exports) {\n  exports['default'] = makeDictionary;\n\n  function makeDictionary() {\n    var cache = Object.create(null);\n    cache['_dict'] = null;\n    delete cache['_dict'];\n    return cache;\n  }\n});","define('ember-responsive/initializers/responsive', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.initialize = initialize;\n  /**\n   * Ember responsive initializer\n   *\n   * Supports auto injecting media service app-wide.\n   * Generated by the ember-responsive addon.\n   */\n  function initialize() {\n    var application = arguments[1] || arguments[0];\n\n    application.inject('controller', 'media', 'service:media');\n    application.inject('component', 'media', 'service:media');\n    application.inject('route', 'media', 'service:media');\n    application.inject('view', 'media', 'service:media');\n  }\n\n  exports.default = {\n    name: 'responsive',\n    initialize: initialize\n  };\n});","define('ember-responsive/media', ['exports', 'ember', 'ember-responsive/null-match-media'], function (exports, _ember, _nullMatchMedia) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  var getOwner = _ember.default.getOwner;\n  var _Ember$String = _ember.default.String,\n      dasherize = _Ember$String.dasherize,\n      classify = _Ember$String.classify;\n  exports.default = _ember.default.Service.extend({\n\n    /**\n    * A set of matching matchers.\n    *\n    * @property  matches\n    * @type      Ember.NativeArray\n    * @default   Ember.NativeArray\n    */\n    matches: _ember.default.computed(function () {\n      return _ember.default.A();\n    }),\n\n    /**\n      * A hash of listeners indexed by their matcher's names\n      *\n      * @property\n      * @type Object\n      */\n    listeners: {},\n\n    /**\n    * The matcher to use for testing media queries.\n    *\n    * @property  matcher\n    * @type      matchMedia\n    * @default   window.matchMedia\n    * @private\n    */\n    mql: detectMatchMedia(),\n\n    /**\n     * Initialize the service based on the breakpoints config\n     *\n     * @method init\n     *\n     */\n    init: function init() {\n      var owner = getOwner(this);\n      owner.registerOptionsForType('breakpoints', { instantiate: false });\n      var breakpoints = this.get('breakpoints');\n      if (breakpoints) {\n        for (var name in breakpoints) {\n          if (breakpoints.hasOwnProperty(name)) {\n            this.match(name, breakpoints[name]);\n          }\n        }\n      }\n    },\n\n\n    breakpoints: _ember.default.computed(function () {\n      return getOwner(this).lookup('breakpoints:main');\n    }),\n\n    /**\n    * A string composed of all the matching matchers' names, turned into\n    * friendly, dasherized class-names that are prefixed with `media-`.\n    *\n    * @property  classNames\n    * @type      string\n    */\n    classNames: _ember.default.computed('matches.[]', function () {\n      return this.get('matches').map(function (name) {\n        return 'media-' + dasherize(name);\n      }).join(' ');\n    }),\n\n    /**\n    * Adds a new matcher to the list.\n    *\n    * After this method is called, you will be able to access the result\n    * of the matcher as a property on this object.\n    *\n    * **Adding a new matcher**\n    *\n    * ```javascript\n    * media = Ember.Responsive.Media.create();\n    * media.match('all', 'all');\n    * media.get('all');\n    *   // => instanceof window.matchMedia\n    * media.get('all.matches');\n    *   // => true\n    * ```\n    *\n    * @param   string  name   The name of the matcher\n    * @param   string  query  The media query to match against\n    * @method  match\n    */\n    match: function match(name, query) {\n      var _this = this;\n\n      var matcher = (this.get('mql') || window.matchMedia)(query),\n          isser = 'is' + classify(name);\n\n      var listener = function listener(matcher) {\n        if (_this.get('isDestroyed')) {\n          return;\n        }\n\n        _this.set(name, matcher);\n        _this.set(isser, matcher.matches);\n\n        if (matcher.matches) {\n          _this.get('matches').addObject(name);\n        } else {\n          _this.get('matches').removeObject(name);\n        }\n      };\n      this.get('listeners')[name] = listener;\n\n      if (matcher.addListener) {\n        matcher.addListener(function (matcher) {\n          _ember.default.run(null, listener, matcher);\n        });\n      }\n      listener(matcher);\n    }\n  });\n\n\n  function detectMatchMedia() {\n    if ((typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object' && window.matchMedia) {\n      return window.matchMedia;\n    }\n\n    return _nullMatchMedia.default;\n  }\n});","define(\"ember-responsive/null-match-media\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function () {\n    return {\n      matches: false\n    };\n  };\n});","define('ember-route-action-helper/-private/internals', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.ACTION = undefined;\n\n\n  var ClosureActionModule = void 0;\n\n  if ('ember-htmlbars/keywords/closure-action' in _ember.default.__loader.registry) {\n    ClosureActionModule = _ember.default.__loader.require('ember-htmlbars/keywords/closure-action');\n  } else if ('ember-routing-htmlbars/keywords/closure-action' in _ember.default.__loader.registry) {\n    ClosureActionModule = _ember.default.__loader.require('ember-routing-htmlbars/keywords/closure-action');\n  } else {\n    ClosureActionModule = {};\n  }\n\n  var ACTION = exports.ACTION = ClosureActionModule.ACTION;\n});","define('ember-route-action-helper/helpers/route-action', ['exports', 'ember', 'ember-route-action-helper/-private/internals'], function (exports, _ember, _internals) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  function _toArray(arr) {\n    return Array.isArray(arr) ? arr : Array.from(arr);\n  }\n\n  var emberArray = _ember.default.A,\n      Helper = _ember.default.Helper,\n      assert = _ember.default.assert,\n      computed = _ember.default.computed,\n      get = _ember.default.get,\n      getOwner = _ember.default.getOwner,\n      run = _ember.default.run,\n      runInDebug = _ember.default.runInDebug;\n\n\n  function getCurrentHandlerInfos(router) {\n    var routerLib = router._routerMicrolib || router.router;\n\n    return routerLib.currentHandlerInfos;\n  }\n\n  function getRoutes(router) {\n    return emberArray(getCurrentHandlerInfos(router)).mapBy('handler').reverse();\n  }\n\n  function getRouteWithAction(router, actionName) {\n    var action = void 0;\n    var handler = emberArray(getRoutes(router)).find(function (route) {\n      var actions = route.actions || route._actions;\n      action = actions[actionName];\n\n      return typeof action === 'function';\n    });\n\n    return { action: action, handler: handler };\n  }\n\n  exports.default = Helper.extend({\n    router: computed(function () {\n      return getOwner(this).lookup('router:main');\n    }).readOnly(),\n\n    compute: function compute(_ref) {\n      var _ref2 = _toArray(_ref),\n          actionName = _ref2[0],\n          params = _ref2.slice(1);\n\n      var router = get(this, 'router');\n      assert('[ember-route-action-helper] Unable to lookup router', router);\n\n      runInDebug(function () {\n        var _getRouteWithAction = getRouteWithAction(router, actionName),\n            handler = _getRouteWithAction.handler;\n\n        assert('[ember-route-action-helper] Unable to find action ' + actionName, handler);\n      });\n\n      var routeAction = function routeAction() {\n        var _getRouteWithAction2 = getRouteWithAction(router, actionName),\n            action = _getRouteWithAction2.action,\n            handler = _getRouteWithAction2.handler;\n\n        for (var _len = arguments.length, invocationArgs = Array(_len), _key = 0; _key < _len; _key++) {\n          invocationArgs[_key] = arguments[_key];\n        }\n\n        var args = params.concat(invocationArgs);\n        return run.join.apply(run, [handler, action].concat(_toConsumableArray(args)));\n      };\n\n      routeAction[_internals.ACTION] = true;\n\n      return routeAction;\n    }\n  });\n});","define('ember-shepherd/services/tour', ['exports', 'ember-shepherd/utils'], function (exports, _utils) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  var get = Ember.get;\n  var observer = Ember.observer;\n  var set = Ember.set;\n  var isEmpty = Ember.isEmpty;\n  var isPresent = Ember.isPresent;\n  var Service = Ember.Service;\n  var Evented = Ember.Evented;\n  var run = Ember.run;\n  exports.default = Service.extend(Evented, {\n    // Configuration Options\n    confirmCancel: false,\n    confirmCancelMessage: null,\n    defaults: {},\n    disableScroll: false,\n    errorTitle: null,\n    isActive: false,\n    messageForUser: null,\n    modal: false,\n    requiredElements: [],\n    steps: [],\n\n    /**\n     * Get the tour object and call back\n     * @public\n     */\n    back: function back() {\n      get(this, 'tourObject').back();\n      this.trigger('back');\n    },\n\n\n    /**\n     * Cancel the tour\n     * @public\n     */\n    cancel: function cancel() {\n      get(this, 'tourObject').cancel();\n    },\n\n\n    /**\n     * Advance the tour to the next step and trigger next\n     * @public\n     */\n    next: function next() {\n      get(this, 'tourObject').next();\n      this.trigger('next');\n    },\n\n\n    /**\n     * Show a specific step, by passing its id\n     * @param id The id of the step you want to show\n     * @public\n     */\n    show: function show(id) {\n      get(this, 'tourObject').show(id);\n    },\n    start: function start() {\n      set(this, 'isActive', true);\n      get(this, 'tourObject').start();\n    },\n    onTourStart: function onTourStart() {\n      if (get(this, 'modal')) {\n        var shepherdOverlay = document.createElement('div');\n        shepherdOverlay.id = 'shepherdOverlay';\n        document.body.appendChild(shepherdOverlay);\n      }\n      if (get(this, 'disableScroll')) {\n        disableScroll.on(window);\n      }\n      this.trigger('start');\n    },\n\n\n    /**\n     * This function is called when a tour is completed or cancelled to initiate cleanup.\n     * @param {string} completeOrCancel 'complete' or 'cancel'\n     */\n    onTourFinish: function onTourFinish(completeOrCancel) {\n      set(this, 'isActive', false);\n      this.cleanup();\n      this.trigger(completeOrCancel);\n    },\n\n\n    /**\n     * Cleanup the modal leftovers, like the overlay and highlight, so they don't hang around.\n     * @private\n     */\n    cleanup: function cleanup() {\n      var _this = this;\n\n      if (get(this, 'disableScroll')) {\n        disableScroll.off(window);\n      }\n      if (get(this, 'modal')) {\n        var tour = get(this, 'tourObject');\n\n        if (tour) {\n          var steps = tour.steps;\n\n\n          steps.map(function (step) {\n            var stepElement = _this.getElementForStep(step);\n\n            if (step && step.options.attachTo && stepElement) {\n              stepElement.style.pointerEvents = 'auto';\n            }\n          });\n        }\n        run('afterRender', function () {\n          (0, _utils.removeElement)('#shepherdOverlay');\n          (0, _utils.removeElement)('#highlightOverlay');\n\n          var shepherdModal = document.querySelector('.shepherd-modal');\n\n          if (shepherdModal) {\n            shepherdModal.classList.remove('shepherd-modal');\n          }\n        });\n      }\n    },\n\n\n    /**\n     * Creates an overlay element clone of the element you want to highlight and copies all the styles.\n     * @param step The step object that points to the element to highlight\n     * @private\n     */\n    createHighlightOverlay: function createHighlightOverlay(step) {\n      var _this2 = this;\n\n      (0, _utils.removeElement)('#highlightOverlay');\n\n      var currentElement = this.getElementForStep(step);\n\n      if (currentElement) {\n        var highlightElement = currentElement.cloneNode(true);\n\n        highlightElement.setAttribute('id', 'highlightOverlay');\n        document.body.appendChild(highlightElement);\n\n        this.setComputedStylesOnClonedElement(currentElement, highlightElement);\n\n        // Style all internal elements as well\n        var children = currentElement.children;\n\n\n        var clonedChildren = highlightElement.children;\n\n        for (var i = 0; i < children.length; i++) {\n          this.setComputedStylesOnClonedElement(children[i], clonedChildren[i]);\n        }\n\n        (0, _utils.setPositionForHighlightElement)({\n          currentElement: currentElement,\n          highlightElement: highlightElement\n        });\n\n        window.addEventListener('resize', function () {\n          run.debounce(_this2, _utils.setPositionForHighlightElement, {\n            currentElement: currentElement,\n            highlightElement: highlightElement\n          }, 50);\n        });\n      }\n    },\n\n\n    /**\n     * Return the element for a step\n     *\n     * @method getElementForStep\n     * @param step step the step to get an element for\n     * @returns {Element} the element for this step\n     * @private\n     */\n    getElementForStep: function getElementForStep(step) {\n      var attachTo = step.options.attachTo;\n\n\n      if (!attachTo) {\n        return null;\n      }\n\n      var type = typeof attachTo === 'undefined' ? 'undefined' : _typeof(attachTo);\n\n      var element = void 0;\n\n      if (type === 'string') {\n        element = (0, _utils.getElementFromString)(attachTo);\n      } else if (type === 'object') {\n        element = (0, _utils.getElementFromObject)(attachTo);\n      } else {\n        /* istanbul ignore next: cannot test undefined attachTo, but it does work! */\n        element = null;\n      }\n      return element;\n    },\n\n\n    /**\n     * Set computed styles on the cloned element\n     *\n     * @method setComputedStylesOnClonedElement\n     * @param element element we want to copy\n     * @param clonedElement cloned element above the overlay\n     * @private\n     */\n    setComputedStylesOnClonedElement: function setComputedStylesOnClonedElement(element, clonedElement) {\n      var computedStyle = window.getComputedStyle(element, null);\n\n      for (var i = 0; i < computedStyle.length; i++) {\n        var propertyName = computedStyle[i];\n\n        clonedElement.style[propertyName] = computedStyle.getPropertyValue(propertyName);\n      }\n    },\n\n\n    /**\n     * This wraps the cancel function in a confirm dialog\n     * @param  {boolean} confirmCancel Whether to show the dialog or not\n     * @param  {string} confirmCancelMessage The message to display\n     * @param  {object} tourObject The tour object\n     * @private\n     */\n    wrapCancelFunction: function wrapCancelFunction(confirmCancel, confirmCancelMessage, tourObject) {\n      var cancelFunction = tourObject.cancel;\n\n      if (confirmCancel) {\n        var cancelMessage = confirmCancelMessage || 'Are you sure you want to stop the tour?';\n\n        var newCancelFunction = function newCancelFunction() {\n          var stopTour = window.confirm(cancelMessage);\n          if (stopTour) {\n            cancelFunction();\n          }\n        };\n        tourObject.cancel = newCancelFunction;\n      }\n    },\n    initialize: function initialize() {\n      var defaults = get(this, 'defaults');\n\n      var tourObject = new Shepherd.Tour({\n        defaults: defaults\n      });\n\n      // Allow for confirm cancel dialog\n      this.wrapCancelFunction(get(this, 'confirmCancel'), get(this, 'confirmCancelMessage'), tourObject);\n\n      tourObject.on('start', run.bind(this, 'onTourStart'));\n      tourObject.on('complete', run.bind(this, 'onTourFinish', 'complete'));\n      tourObject.on('cancel', run.bind(this, 'onTourFinish', 'cancel'));\n      set(this, 'tourObject', tourObject);\n    },\n\n\n    /**\n     * Creates a button of the specified type, with the given classes and text\n     *\n     * @param type The type of button cancel, back, or next\n     * @param classes Classes to apply to the button\n     * @param text The text for the button\n     * @param action The action to call\n     * @returns {{action: *, classes: *, text: *}}\n     * @private\n     */\n    makeButton: function makeButton(_ref) {\n      var type = _ref.type,\n          classes = _ref.classes,\n          text = _ref.text,\n          action = _ref.action;\n\n      var builtInButtonTypes = ['back', 'cancel', 'next'];\n      if (builtInButtonTypes.includes(type)) {\n        action = run.bind(this, function () {\n          this[type]();\n        });\n      } else {\n        action = action || function () {};\n      }\n      return {\n        action: action,\n        classes: classes,\n        text: text\n      };\n    },\n\n\n    /**\n     * Check if attachTo is an object, if it is, put element and on into a string,\n     * if it is already a string, just return that string\n     *\n     * @param attachTo\n     * @returns {*}\n     * @private\n     */\n    normalizeAttachTo: function normalizeAttachTo(attachTo) {\n      if (attachTo && typeof attachTo.element === 'string' && typeof attachTo.on === 'string') {\n        return attachTo.element + ' ' + attachTo.on;\n      } else {\n        return attachTo;\n      }\n    },\n\n\n    /**\n     * Modulates the styles of the passed step's target element, based on the step's options and\n     * the tour's `modal` option, to visually emphasize the element\n     *\n     * @param step The step object that attaches to the element\n     * @private\n     */\n    popoutElement: function popoutElement(step) {\n      var currentElement = this.getElementForStep(step);\n\n      if (currentElement) {\n        if (step.options.highlightClass) {\n          currentElement.classList.add(step.options.highlightClass);\n        }\n\n        if (get(this, 'modal')) {\n          currentElement.style.pointerEvents = 'none';\n\n          if (step.options.copyStyles) {\n            this.createHighlightOverlay(step);\n          } else {\n            var shepherdModal = document.querySelector('.shepherd-modal');\n\n            if (shepherdModal) {\n              shepherdModal.classList.remove('shepherd-modal');\n            }\n\n            currentElement.classList.add('shepherd-modal');\n          }\n        }\n      }\n    },\n\n\n    /**\n     * Observes the array of requiredElements, which are the elements that must be present at the start of the tour,\n     * and determines if they exist, and are visible, if either is false, it will stop the tour from executing.\n     * @private\n     */\n    requiredElementsPresent: function requiredElementsPresent() {\n      var _this3 = this;\n\n      var allElementsPresent = true;\n\n      var requiredElements = get(this, 'requiredElements');\n\n      if (isPresent(requiredElements)) {\n        /* istanbul ignore next: also can't test this due to things attached to root blowing up tests */\n        requiredElements.forEach(function (element) {\n          var selectedElement = document.querySelector(element.selector);\n\n          if (allElementsPresent && (!selectedElement || (0, _utils.elementIsHidden)(selectedElement))) {\n            allElementsPresent = false;\n            set(_this3, 'errorTitle', element.title);\n            set(_this3, 'messageForUser', element.message);\n          }\n        });\n      }\n      return allElementsPresent;\n    },\n\n\n    // TODO: Figure out how to use a computed instead of an observer here\n    /**\n     * Create a tour object based on the current configuration\n     * @private\n     */\n    stepsChange: observer('steps', function () {\n      var _this4 = this;\n\n      this.initialize();\n      var steps = get(this, 'steps');\n\n      var tour = get(this, 'tourObject');\n\n      // Return nothing if there are no steps\n      if (isEmpty(steps)) {\n        return;\n      }\n      /* istanbul ignore next: also can't test this due to things attached to root blowing up tests */\n      if (!this.requiredElementsPresent()) {\n        tour.addStep('error', {\n          buttons: [{\n            text: 'Exit',\n            action: tour.cancel\n          }],\n          classes: 'shepherd shepherd-open shepherd-theme-arrows shepherd-transparent-text',\n          copyStyles: false,\n          title: get(this, 'errorTitle'),\n          text: [get(this, 'messageForUser')]\n        });\n        return;\n      }\n\n      steps.forEach(function (step, index) {\n        var id = step.id,\n            options = step.options;\n\n\n        options.buttons = options.builtInButtons.map(_this4.makeButton, _this4);\n        options.attachTo = _this4.normalizeAttachTo(options.attachTo);\n        tour.addStep(id, options);\n\n        // Step up events for the current step\n        var currentStep = tour.steps[index];\n\n        currentStep.on('before-show', function () {\n          _this4.popoutElement(currentStep);\n        });\n        currentStep.on('hide', function () {\n          // Remove element copy, if it was cloned\n          var currentElement = _this4.getElementForStep(currentStep);\n\n          if (currentElement) {\n            if (currentStep.options.highlightClass) {\n              currentElement.classList.remove(currentStep.options.highlightClass);\n            }\n\n            (0, _utils.removeElement)('#highlightOverlay');\n          }\n        });\n\n        if (!currentStep.options.scrollToHandler) {\n          currentStep.options.scrollToHandler = function (elem) {\n            // Allow scrolling so scrollTo works.\n            disableScroll.off(window);\n\n            if (typeof elem !== 'undefined') {\n              elem.scrollIntoView();\n            }\n\n            run.later(function () {\n              disableScroll.on(window);\n            }, 50);\n          };\n        }\n      });\n    })\n  });\n});","define('ember-shepherd/utils', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  /**\n   * Helper method to check if element is hidden, since we cannot use :visible without jQuery\n   * @param {HTMLElement} element The element to check for visibility\n   * @returns {boolean} true if element is hidden\n   * @private\n   */\n  function elementIsHidden(element) {\n    return element.offsetWidth === 0 && element.offsetHeight === 0;\n  }\n\n  /**\n   * Get the element from an option object\n   *\n   * @method getElementFromObject\n   * @param Object attachTo\n   * @returns {Element}\n   * @private\n   */\n  function getElementFromObject(attachTo) {\n    var op = attachTo.element;\n\n    if (op instanceof HTMLElement) {\n      return op;\n    }\n\n    return document.querySelector(op);\n  }\n\n  /**\n   * Get the element from an option string\n   *\n   * @method getElementFromString\n   * @param element the string in the step configuration\n   * @returns {Element} the element from the string\n   * @private\n   */\n  function getElementFromString(element) {\n    var attachTo = element.split(' ');\n\n    attachTo.pop();\n    var selector = attachTo.join(' ');\n\n    return document.querySelector(selector);\n  }\n\n  /**\n   * Taken from introjs https://github.com/usablica/intro.js/blob/master/intro.js#L1092-1124\n   * Get an element position on the page\n   * Thanks to `meouw`: http://stackoverflow.com/a/442474/375966\n   * @private\n   */\n  function getElementPosition(element) {\n    var elementPosition = {\n      height: element.offsetHeight,\n      width: element.offsetWidth\n    };\n\n    // calculate element top and left\n    var x = 0;\n    var y = 0;\n\n    while (element && !isNaN(element.offsetLeft) && !isNaN(element.offsetTop)) {\n      x += element.offsetLeft;\n      y += element.offsetTop;\n      element = element.offsetParent;\n    }\n\n    elementPosition.top = y;\n    elementPosition.left = x;\n    return elementPosition;\n  }\n\n  /**\n   * Helper method to remove an element without jQuery\n   * @param {string} selector The CSS selector for the element to remove\n   * @private\n   */\n  function removeElement(selector) {\n    var element = document.querySelector(selector);\n\n    if (element instanceof HTMLElement) {\n      element.parentNode.removeChild(element);\n    }\n  }\n\n  /**\n   * Set position of the highlighted element\n   *\n   * @param currentElement The element that belongs to the step\n   * @param highlightElement The cloned element that is above the overlay\n   * @private\n   */\n  function setPositionForHighlightElement(_ref) {\n    var currentElement = _ref.currentElement,\n        highlightElement = _ref.highlightElement;\n\n    var elementPosition = getElementPosition(currentElement);\n\n    highlightElement.style.position = 'absolute';\n    highlightElement.style.left = elementPosition.left + 'px';\n    highlightElement.style.top = elementPosition.top + 'px';\n    highlightElement.style.width = elementPosition.width + 'px';\n    highlightElement.style.height = elementPosition.height + 'px';\n    highlightElement.style['z-index'] = 10002;\n  }\n\n  exports.elementIsHidden = elementIsHidden;\n  exports.getElementFromObject = getElementFromObject;\n  exports.getElementFromString = getElementFromString;\n  exports.getElementPosition = getElementPosition;\n  exports.removeElement = removeElement;\n  exports.setPositionForHighlightElement = setPositionForHighlightElement;\n});","define('ember-simple-auth/authenticators/base', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var RSVP = _ember.default.RSVP,\n      Evented = _ember.default.Evented,\n      EmberObject = _ember.default.Object;\n  exports.default = EmberObject.extend(Evented, {\n    /**\n      __Triggered when the authentication data is updated by the authenticator\n      due to an external or scheduled event__. This might happen, e.g., if the\n      authenticator refreshes an expired token or an event is triggered from an\n      external authentication provider that the authenticator uses. The session\n      handles that event, passes the updated data back to the authenticator's\n      {{#crossLink \"BaseAuthenticator/restore:method\"}}{{/crossLink}}\n      method and handles the result of that invocation accordingly.\n       @event sessionDataUpdated\n      @param {Object} data The updated session data\n      @public\n    */\n\n    /**\n      __Triggered when the authentication data is invalidated by the authenticator\n      due to an external or scheduled event__. This might happen, e.g., if a token\n      expires or an event is triggered from an external authentication provider\n      that the authenticator uses. The session handles the event and will\n      invalidate itself when it is triggered.\n       @event sessionDataInvalidated\n      @public\n    */\n\n    /**\n      Restores the session from a session data object. __This method is invoked\n      by the session either on application startup if session data is restored\n      from the session store__ or when properties in the store change due to\n      external events (e.g. in another tab) and the new session data needs to be\n      validated for whether it constitutes an authenticated session.\n       __This method returns a promise. A resolving promise results in the session\n      becoming or remaining authenticated.__ Any data the promise resolves with\n      will be saved in and accessible via the session service's\n      `data.authenticated` property (see\n      {{#crossLink \"SessionService/data:property\"}}{{/crossLink}}). A rejecting\n      promise indicates that `data` does not constitute a valid session and will\n      result in the session being invalidated or remaining unauthenticated.\n       The `BaseAuthenticator`'s implementation always returns a rejecting\n      promise. __This method must be overridden in subclasses.__\n       @method restore\n      @param {Object} data The data to restore the session from\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming or remaining authenticated\n      @public\n    */\n    restore: function restore() {\n      return RSVP.reject();\n    },\n\n\n    /**\n      Authenticates the session with the specified `args`. These options vary\n      depending on the actual authentication mechanism the authenticator\n      implements (e.g. a set of credentials or a Facebook account id etc.). __The\n      session will invoke this method in order to authenticate itself__ (see\n      {{#crossLink \"SessionService/authenticate:method\"}}{{/crossLink}}).\n       __This method returns a promise. A resolving promise will result in the\n      session becoming authenticated.__ Any data the promise resolves with will\n      be saved in and accessible via the session service's `data.authenticated`\n      property (see {{#crossLink \"SessionService/data:property\"}}{{/crossLink}}).\n      A rejecting promise indicates that authentication failed and will result in\n      the session remaining unauthenticated.\n       The `BaseAuthenticator`'s implementation always returns a rejecting promise\n      and thus never authenticates the session. __This method must be overridden\n      in subclasses__.\n       @method authenticate\n      @param {Any} [...args] The arguments that the authenticator requires to authenticate the session\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming authenticated\n      @public\n    */\n    authenticate: function authenticate() {\n      return RSVP.reject();\n    },\n\n\n    /**\n      This method is invoked as a callback when the session is invalidated. While\n      the session will invalidate itself and clear all authenticated session data,\n      it might be necessary for some authenticators to perform additional tasks\n      (e.g. invalidating an access token on the server side).\n       __This method returns a promise. A resolving promise will result in the\n      session becoming unauthenticated.__ A rejecting promise will result in\n      invalidation being intercepted and the session remaining authenticated.\n       The `BaseAuthenticator`'s implementation always returns a resolving promise\n      and thus never intercepts session invalidation. __This method doesn't have\n      to be overridden in custom authenticators__ if no actions need to be\n      performed on session invalidation.\n       @method invalidate\n      @param {Object} data The current authenticated session data\n      @param {Array} ...args additional arguments as required by the authenticator\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session being invalidated\n      @public\n    */\n    invalidate: function invalidate() {\n      return RSVP.resolve();\n    }\n  });\n});","define('ember-simple-auth/authenticators/devise', ['exports', 'ember', 'ember-simple-auth/authenticators/base', 'fetch'], function (exports, _ember, _base, _fetch) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var Promise = _ember.default.RSVP.Promise,\n      isEmpty = _ember.default.isEmpty,\n      run = _ember.default.run,\n      emberAssign = _ember.default.assign,\n      merge = _ember.default.merge,\n      computed = _ember.default.computed;\n\n  var assign = emberAssign || merge;\n\n  var JSON_CONTENT_TYPE = 'application/json';\n\n  /**\n    Authenticator that works with the Ruby gem\n    [devise](https://github.com/plataformatec/devise).\n  \n    __As token authentication is not actually part of devise anymore, the server\n    needs to implement some customizations__ to work with this authenticator -\n    see [this gist](https://gist.github.com/josevalim/fb706b1e933ef01e4fb6).\n  \n    @class DeviseAuthenticator\n    @module ember-simple-auth/authenticators/devise\n    @extends BaseAuthenticator\n    @public\n  */\n  exports.default = _base.default.extend({\n    /**\n      The endpoint on the server that the authentication request is sent to.\n       @property serverTokenEndpoint\n      @type String\n      @default '/users/sign_in'\n      @public\n    */\n    serverTokenEndpoint: '/users/sign_in',\n\n    /**\n      The devise resource name. __This will be used in the request and also be\n      expected in the server's response.__\n       @property resourceName\n      @type String\n      @default 'user'\n      @public\n    */\n    resourceName: 'user',\n\n    /**\n      The token attribute name. __This will be used in the request and also be\n      expected in the server's response.__\n       @property tokenAttributeName\n      @type String\n      @default 'token'\n      @public\n    */\n    tokenAttributeName: 'token',\n\n    /**\n      The identification attribute name. __This will be used in the request and\n      also be expected in the server's response.__\n       @property identificationAttributeName\n      @type String\n      @default 'email'\n      @public\n    */\n    identificationAttributeName: 'email',\n\n    /**\n      When authentication fails, the rejection callback is provided with the whole\n      Fetch API [Response](https://fetch.spec.whatwg.org/#response-class) object\n      instead of its responseJSON or responseText.\n       This is useful for cases when the backend provides additional context not\n      available in the response body.\n       @property rejectWithXhr\n      @type Boolean\n      @default false\n      @deprecated DeviseAuthenticator/rejectWithResponse:property\n      @public\n    */\n    rejectWithXhr: computed.deprecatingAlias('rejectWithResponse', {\n      id: 'ember-simple-auth.authenticator.reject-with-xhr',\n      until: '2.0.0'\n    }),\n\n    /**\n      When authentication fails, the rejection callback is provided with the whole\n      Fetch API [Response](https://fetch.spec.whatwg.org/#response-class) object\n      instead of its responseJSON or responseText.\n       This is useful for cases when the backend provides additional context not\n      available in the response body.\n       @property rejectWithResponse\n      @type Boolean\n      @default false\n      @public\n    */\n    rejectWithResponse: false,\n\n    /**\n      Restores the session from a session data object; __returns a resolving\n      promise when there are non-empty\n      {{#crossLink \"DeviseAuthenticator/tokenAttributeName:property\"}}token{{/crossLink}}\n      and\n      {{#crossLink \"DeviseAuthenticator/identificationAttributeName:property\"}}identification{{/crossLink}}\n      values in `data`__ and a rejecting promise otherwise.\n       @method restore\n      @param {Object} data The data to restore the session from\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming or remaining authenticated\n      @public\n    */\n    restore: function restore(data) {\n      // eslint-disable-next-line prefer-promise-reject-errors\n      return this._validate(data) ? Promise.resolve(data) : Promise.reject();\n    },\n\n\n    /**\n      Authenticates the session with the specified `identification` and\n      `password`; the credentials are `POST`ed to the\n      {{#crossLink \"DeviseAuthenticator/serverTokenEndpoint:property\"}}server{{/crossLink}}.\n      If the credentials are valid the server will responds with a\n      {{#crossLink \"DeviseAuthenticator/tokenAttributeName:property\"}}token{{/crossLink}}\n      and\n      {{#crossLink \"DeviseAuthenticator/identificationAttributeName:property\"}}identification{{/crossLink}}.\n      __If the credentials are valid and authentication succeeds, a promise that\n      resolves with the server's response is returned__, otherwise a promise that\n      rejects with the server error is returned.\n       @method authenticate\n      @param {String} identification The user's identification\n      @param {String} password The user's password\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming authenticated\n      @public\n    */\n    authenticate: function authenticate(identification, password) {\n      var _this = this;\n\n      return new Promise(function (resolve, reject) {\n        var useResponse = _this.get('rejectWithResponse');\n\n        var _getProperties = _this.getProperties('resourceName', 'identificationAttributeName', 'tokenAttributeName'),\n            resourceName = _getProperties.resourceName,\n            identificationAttributeName = _getProperties.identificationAttributeName,\n            tokenAttributeName = _getProperties.tokenAttributeName;\n\n        var data = {};\n        data[resourceName] = { password: password };\n        data[resourceName][identificationAttributeName] = identification;\n\n        _this.makeRequest(data).then(function (response) {\n          if (response.ok) {\n            response.json().then(function (json) {\n              if (_this._validate(json)) {\n                var _resourceName = _this.get('resourceName');\n                var _json = json[_resourceName] ? json[_resourceName] : json;\n                run(null, resolve, _json);\n              } else {\n                run(null, reject, 'Check that server response includes ' + tokenAttributeName + ' and ' + identificationAttributeName);\n              }\n            });\n          } else {\n            if (useResponse) {\n              run(null, reject, response);\n            } else {\n              response.json().then(function (json) {\n                return run(null, reject, json);\n              });\n            }\n          }\n        }).catch(function (error) {\n          return run(null, reject, error);\n        });\n      });\n    },\n\n\n    /**\n      Does nothing\n       @method invalidate\n      @return {Ember.RSVP.Promise} A resolving promise\n      @public\n    */\n    invalidate: function invalidate() {\n      return Promise.resolve();\n    },\n\n\n    /**\n      Makes a request to the Devise server using\n      [ember-fetch](https://github.com/stefanpenner/ember-fetch).\n       @method makeRequest\n      @param {Object} data The request data\n      @param {Object} options request options that are passed to `fetch`\n      @return {Promise} The promise returned by `fetch`\n      @protected\n    */\n    makeRequest: function makeRequest(data) {\n      var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n      var url = options.url || this.get('serverTokenEndpoint');\n      var requestOptions = {};\n      var body = JSON.stringify(data);\n      assign(requestOptions, {\n        body: body,\n        method: 'POST',\n        headers: {\n          'accept': JSON_CONTENT_TYPE,\n          'content-type': JSON_CONTENT_TYPE\n        }\n      });\n      assign(requestOptions, options || {});\n\n      return (0, _fetch.default)(url, requestOptions);\n    },\n    _validate: function _validate(data) {\n      var tokenAttributeName = this.get('tokenAttributeName');\n      var identificationAttributeName = this.get('identificationAttributeName');\n      var resourceName = this.get('resourceName');\n      var _data = data[resourceName] ? data[resourceName] : data;\n\n      return !isEmpty(_data[tokenAttributeName]) && !isEmpty(_data[identificationAttributeName]);\n    }\n  });\n});","define('ember-simple-auth/authenticators/oauth2-implicit-grant', ['exports', 'ember', 'ember-simple-auth/authenticators/base'], function (exports, _ember, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var RSVP = _ember.default.RSVP,\n      isEmpty = _ember.default.isEmpty;\n  exports.default = _base.default.extend({\n    /**\n     Restores the session from a session data object; __will return a resolving\n     promise when there is a non-empty `access_token` in the session data__ and\n     a rejecting promise otherwise.\n      @method restore\n     @param {Object} data The data to restore the session from\n     @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming or remaining authenticated\n     @public\n     */\n    restore: function restore(data) {\n      var _this = this;\n\n      return new RSVP.Promise(function (resolve, reject) {\n        if (!_this._validateData(data)) {\n          return reject('Could not restore session - \"access_token\" missing.');\n        }\n\n        return resolve(data);\n      });\n    },\n\n\n    /**\n     Authenticates the session using the specified location `hash`\n     (see https://tools.ietf.org/html/rfc6749#section-4.2.2).\n      __If the access token is valid and thus authentication succeeds, a promise that\n     resolves with the access token is returned__, otherwise a promise that rejects\n     with the error code as returned by the server is returned\n     (see https://tools.ietf.org/html/rfc6749#section-4.2.2.1).\n      @method authenticate\n     @param {Object} hash The location hash\n     @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming authenticated\n     @public\n     */\n    authenticate: function authenticate(hash) {\n      var _this2 = this;\n\n      return new RSVP.Promise(function (resolve, reject) {\n        if (hash.error) {\n          reject(hash.error);\n        } else if (!_this2._validateData(hash)) {\n          reject('Invalid auth params - \"access_token\" missing.');\n        } else {\n          resolve(hash);\n        }\n      });\n    },\n\n\n    /**\n     This method simply returns a resolving promise.\n      @method invalidate\n     @return {Ember.RSVP.Promise} A promise that when it resolves results in the session being invalidated\n     @public\n     */\n    invalidate: function invalidate() {\n      return RSVP.Promise.resolve();\n    },\n    _validateData: function _validateData(data) {\n      // see https://tools.ietf.org/html/rfc6749#section-4.2.2\n\n      return !isEmpty(data) && !isEmpty(data.access_token);\n    }\n  });\n});","define('ember-simple-auth/authenticators/oauth2-password-grant', ['exports', 'ember', 'ember-simple-auth/authenticators/base', 'fetch'], function (exports, _ember, _base, _fetch) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var RSVP = _ember.default.RSVP,\n      isEmpty = _ember.default.isEmpty,\n      run = _ember.default.run,\n      computed = _ember.default.computed,\n      makeArray = _ember.default.makeArray,\n      emberAssign = _ember.default.assign,\n      merge = _ember.default.merge,\n      A = _ember.default.A,\n      testing = _ember.default.testing,\n      warn = _ember.default.warn,\n      emberKeys = _ember.default.keys;\n\n  var assign = emberAssign || merge;\n  var keys = Object.keys || emberKeys; // Ember.keys deprecated in 1.13\n\n  /**\n    Authenticator that conforms to OAuth 2\n    ([RFC 6749](http://tools.ietf.org/html/rfc6749)), specifically the _\"Resource\n    Owner Password Credentials Grant Type\"_.\n  \n    This authenticator also automatically refreshes access tokens (see\n    [RFC 6749, section 6](http://tools.ietf.org/html/rfc6749#section-6)) if the\n    server supports it.\n  \n    @class OAuth2PasswordGrantAuthenticator\n    @module ember-simple-auth/authenticators/oauth2-password-grant\n    @extends BaseAuthenticator\n    @public\n  */\n  exports.default = _base.default.extend({\n    /**\n      Triggered when the authenticator refreshed the access token (see\n      [RFC 6749, section 6](http://tools.ietf.org/html/rfc6749#section-6)).\n       @event sessionDataUpdated\n      @param {Object} data The updated session data\n      @public\n    */\n\n    /**\n      The client_id to be sent to the authentication server (see\n      https://tools.ietf.org/html/rfc6749#appendix-A.1). __This should only be\n      used for statistics or logging etc. as it cannot actually be trusted since\n      it could have been manipulated on the client!__\n       @property clientId\n      @type String\n      @default null\n      @public\n    */\n    clientId: null,\n\n    /**\n      The endpoint on the server that authentication and token refresh requests\n      are sent to.\n       @property serverTokenEndpoint\n      @type String\n      @default '/token'\n      @public\n    */\n    serverTokenEndpoint: '/token',\n\n    /**\n      The endpoint on the server that token revocation requests are sent to. Only\n      set this if the server actually supports token revocation. If this is\n      `null`, the authenticator will not revoke tokens on session invalidation.\n       __If token revocation is enabled but fails, session invalidation will be\n      intercepted and the session will remain authenticated (see\n      {{#crossLink \"OAuth2PasswordGrantAuthenticator/invalidate:method\"}}{{/crossLink}}).__\n       @property serverTokenRevocationEndpoint\n      @type String\n      @default null\n      @public\n    */\n    serverTokenRevocationEndpoint: null,\n\n    /**\n      Sets whether the authenticator automatically refreshes access tokens if the\n      server supports it.\n       @property refreshAccessTokens\n      @type Boolean\n      @default true\n      @public\n    */\n    refreshAccessTokens: true,\n\n    /**\n      The offset time in milliseconds to refresh the access token. This must\n      return a random number. This randomization is needed because in case of\n      multiple tabs, we need to prevent the tabs from sending refresh token\n      request at the same exact moment.\n       __When overriding this property, make sure to mark the overridden property\n      as volatile so it will actually have a different value each time it is\n      accessed.__\n       @property refreshAccessTokens\n      @type Integer\n      @default a random number between 5 and 10\n      @public\n    */\n    tokenRefreshOffset: computed(function () {\n      var min = 5;\n      var max = 10;\n\n      return (Math.floor(Math.random() * (max - min)) + min) * 1000;\n    }).volatile(),\n\n    _refreshTokenTimeout: null,\n\n    _clientIdHeader: computed('clientId', function () {\n      var clientId = this.get('clientId');\n\n      if (!isEmpty(clientId)) {\n        var base64ClientId = window.base64.encode(clientId.concat(':'));\n        return { Authorization: 'Basic ' + base64ClientId };\n      }\n    }),\n\n    /**\n      When authentication fails, the rejection callback is provided with the whole\n      Fetch API [Response](https://fetch.spec.whatwg.org/#response-class) object\n      instead of its responseJSON or responseText.\n       This is useful for cases when the backend provides additional context not\n      available in the response body.\n       @property rejectWithXhr\n      @type Boolean\n      @default false\n      @deprecated OAuth2PasswordGrantAuthenticator/rejectWithResponse:property\n      @public\n    */\n    rejectWithXhr: computed.deprecatingAlias('rejectWithResponse', {\n      id: 'ember-simple-auth.authenticator.reject-with-xhr',\n      until: '2.0.0'\n    }),\n\n    /**\n      When authentication fails, the rejection callback is provided with the whole\n      Fetch API [Response](https://fetch.spec.whatwg.org/#response-class) object\n      instead of its responseJSON or responseText.\n       This is useful for cases when the backend provides additional context not\n      available in the response body.\n       @property rejectWithResponse\n      @type Boolean\n      @default false\n      @public\n    */\n    rejectWithResponse: false,\n\n    /**\n      Restores the session from a session data object; __will return a resolving\n      promise when there is a non-empty `access_token` in the session data__ and\n      a rejecting promise otherwise.\n       If the server issues\n      [expiring access tokens](https://tools.ietf.org/html/rfc6749#section-5.1)\n      and there is an expired access token in the session data along with a\n      refresh token, the authenticator will try to refresh the access token and\n      return a promise that resolves with the new access token if the refresh was\n      successful. If there is no refresh token or the token refresh is not\n      successful, a rejecting promise will be returned.\n       @method restore\n      @param {Object} data The data to restore the session from\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming or remaining authenticated\n      @public\n    */\n    restore: function restore(data) {\n      var _this = this;\n\n      return new RSVP.Promise(function (resolve, reject) {\n        var now = new Date().getTime();\n        var refreshAccessTokens = _this.get('refreshAccessTokens');\n        if (!isEmpty(data['expires_at']) && data['expires_at'] < now) {\n          if (refreshAccessTokens) {\n            _this._refreshAccessToken(data['expires_in'], data['refresh_token']).then(resolve, reject);\n          } else {\n            reject();\n          }\n        } else {\n          if (!_this._validate(data)) {\n            reject();\n          } else {\n            _this._scheduleAccessTokenRefresh(data['expires_in'], data['expires_at'], data['refresh_token']);\n            resolve(data);\n          }\n        }\n      });\n    },\n\n\n    /**\n      Authenticates the session with the specified `identification`, `password`\n      and optional `scope`; issues a `POST` request to the\n      {{#crossLink \"OAuth2PasswordGrantAuthenticator/serverTokenEndpoint:property\"}}{{/crossLink}}\n      and receives the access token in response (see\n      http://tools.ietf.org/html/rfc6749#section-4.3).\n       __If the credentials are valid (and the optionally requested scope is\n      granted) and thus authentication succeeds, a promise that resolves with the\n      server's response is returned__, otherwise a promise that rejects with the\n      error as returned by the server is returned.\n       __If the\n      [server supports it](https://tools.ietf.org/html/rfc6749#section-5.1), this\n      method also schedules refresh requests for the access token before it\n      expires.__\n       @method authenticate\n      @param {String} identification The resource owner username\n      @param {String} password The resource owner password\n      @param {String|Array} scope The scope of the access request (see [RFC 6749, section 3.3](http://tools.ietf.org/html/rfc6749#section-3.3))\n      @param {Object} headers Optional headers that particular backends may require (for example sending 2FA challenge responses)\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming authenticated\n      @public\n    */\n    authenticate: function authenticate(identification, password) {\n      var _this2 = this;\n\n      var scope = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n      var headers = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n\n      return new RSVP.Promise(function (resolve, reject) {\n        var data = { 'grant_type': 'password', username: identification, password: password };\n        var serverTokenEndpoint = _this2.get('serverTokenEndpoint');\n        var useResponse = _this2.get('rejectWithResponse');\n        var scopesString = makeArray(scope).join(' ');\n        if (!isEmpty(scopesString)) {\n          data.scope = scopesString;\n        }\n        _this2.makeRequest(serverTokenEndpoint, data, headers).then(function (response) {\n          run(function () {\n            if (!_this2._validate(response)) {\n              reject('access_token is missing in server response');\n            }\n\n            var expiresAt = _this2._absolutizeExpirationTime(response['expires_in']);\n            _this2._scheduleAccessTokenRefresh(response['expires_in'], expiresAt, response['refresh_token']);\n            if (!isEmpty(expiresAt)) {\n              response = assign(response, { 'expires_at': expiresAt });\n            }\n\n            resolve(response);\n          });\n        }, function (response) {\n          run(null, reject, useResponse ? response : response.responseJSON);\n        });\n      });\n    },\n\n\n    /**\n      If token revocation is enabled, this will revoke the access token (and the\n      refresh token if present). If token revocation succeeds, this method\n      returns a resolving promise, otherwise it will return a rejecting promise,\n      thus intercepting session invalidation.\n       If token revocation is not enabled this method simply returns a resolving\n      promise.\n       @method invalidate\n      @param {Object} data The current authenticated session data\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session being invalidated\n      @public\n    */\n    invalidate: function invalidate(data) {\n      var _this3 = this;\n\n      var serverTokenRevocationEndpoint = this.get('serverTokenRevocationEndpoint');\n      function success(resolve) {\n        run.cancel(this._refreshTokenTimeout);\n        delete this._refreshTokenTimeout;\n        resolve();\n      }\n      return new RSVP.Promise(function (resolve) {\n        if (isEmpty(serverTokenRevocationEndpoint)) {\n          success.apply(_this3, [resolve]);\n        } else {\n          var requests = [];\n          A(['access_token', 'refresh_token']).forEach(function (tokenType) {\n            var token = data[tokenType];\n            if (!isEmpty(token)) {\n              requests.push(_this3.makeRequest(serverTokenRevocationEndpoint, {\n                'token_type_hint': tokenType, token: token\n              }));\n            }\n          });\n          var succeed = function succeed() {\n            success.apply(_this3, [resolve]);\n          };\n          RSVP.all(requests).then(succeed, succeed);\n        }\n      });\n    },\n\n\n    /**\n      Makes a request to the OAuth 2.0 server.\n       @method makeRequest\n      @param {String} url The request URL\n      @param {Object} data The request data\n      @param {Object} headers Additional headers to send in request\n      @return {Promise} A promise that resolves with the response object\n      @protected\n    */\n    makeRequest: function makeRequest(url, data) {\n      var headers = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n      headers['Content-Type'] = 'application/x-www-form-urlencoded';\n\n      var body = keys(data).map(function (key) {\n        return encodeURIComponent(key) + '=' + encodeURIComponent(data[key]);\n      }).join('&');\n\n      var options = {\n        body: body,\n        headers: headers,\n        method: 'POST'\n      };\n\n      var clientIdHeader = this.get('_clientIdHeader');\n      if (!isEmpty(clientIdHeader)) {\n        merge(options.headers, clientIdHeader);\n      }\n      return new RSVP.Promise(function (resolve, reject) {\n        (0, _fetch.default)(url, options).then(function (response) {\n          response.text().then(function (text) {\n            var json = text ? JSON.parse(text) : {};\n            if (!response.ok) {\n              response.responseJSON = json;\n              reject(response);\n            } else {\n              resolve(json);\n            }\n          });\n        }).catch(reject);\n      });\n    },\n    _scheduleAccessTokenRefresh: function _scheduleAccessTokenRefresh(expiresIn, expiresAt, refreshToken) {\n      var refreshAccessTokens = this.get('refreshAccessTokens');\n      if (refreshAccessTokens) {\n        var now = new Date().getTime();\n        if (isEmpty(expiresAt) && !isEmpty(expiresIn)) {\n          expiresAt = new Date(now + expiresIn * 1000).getTime();\n        }\n        var offset = this.get('tokenRefreshOffset');\n        if (!isEmpty(refreshToken) && !isEmpty(expiresAt) && expiresAt > now - offset) {\n          run.cancel(this._refreshTokenTimeout);\n          delete this._refreshTokenTimeout;\n          if (!testing) {\n            this._refreshTokenTimeout = run.later(this, this._refreshAccessToken, expiresIn, refreshToken, expiresAt - now - offset);\n          }\n        }\n      }\n    },\n    _refreshAccessToken: function _refreshAccessToken(expiresIn, refreshToken) {\n      var _this4 = this;\n\n      var data = { 'grant_type': 'refresh_token', 'refresh_token': refreshToken };\n      var serverTokenEndpoint = this.get('serverTokenEndpoint');\n      return new RSVP.Promise(function (resolve, reject) {\n        _this4.makeRequest(serverTokenEndpoint, data).then(function (response) {\n          run(function () {\n            expiresIn = response['expires_in'] || expiresIn;\n            refreshToken = response['refresh_token'] || refreshToken;\n            var expiresAt = _this4._absolutizeExpirationTime(expiresIn);\n            var data = assign(response, { 'expires_in': expiresIn, 'expires_at': expiresAt, 'refresh_token': refreshToken });\n            _this4._scheduleAccessTokenRefresh(expiresIn, null, refreshToken);\n            _this4.trigger('sessionDataUpdated', data);\n            resolve(data);\n          });\n        }, function (response) {\n          warn('Access token could not be refreshed - server responded with ' + response.responseJSON + '.', false, { id: 'ember-simple-auth.failedOAuth2TokenRefresh' });\n          reject();\n        });\n      });\n    },\n    _absolutizeExpirationTime: function _absolutizeExpirationTime(expiresIn) {\n      if (!isEmpty(expiresIn)) {\n        return new Date(new Date().getTime() + expiresIn * 1000).getTime();\n      }\n    },\n    _validate: function _validate(data) {\n      return !isEmpty(data['access_token']);\n    }\n  });\n});","define('ember-simple-auth/authenticators/test', ['exports', 'ember', 'ember-simple-auth/authenticators/base'], function (exports, _ember, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var RSVP = _ember.default.RSVP;\n  exports.default = _base.default.extend({\n    restore: function restore(data) {\n      return RSVP.resolve(data);\n    },\n    authenticate: function authenticate(data) {\n      return RSVP.resolve(data);\n    },\n    invalidate: function invalidate() {\n      return RSVP.resolve();\n    }\n  });\n});","define('ember-simple-auth/authenticators/torii', ['exports', 'ember', 'ember-simple-auth/authenticators/base'], function (exports, _ember, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var RSVP = _ember.default.RSVP,\n      isEmpty = _ember.default.isEmpty,\n      assert = _ember.default.assert,\n      isPresent = _ember.default.isPresent;\n  exports.default = _base.default.extend({\n    _provider: null,\n\n    /**\n      Restores the session by calling the torii provider's `fetch` method.\n       __Many torii providers do not implement the `fetch` method__. If the\n      provider in use does not implement the method simply add it as follows:\n       ```js\n      // app/torii-providers/facebook.js\n      import FacebookOauth2Provider from 'torii/providers/facebook-oauth2';\n       export default FacebookOauth2Provider.extend({\n        fetch(data) {\n          return data;\n        }\n      });\n      ```\n       @method restore\n      @param {Object} data The data to restore the session from\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming or remaining authenticated\n      @public\n    */\n    restore: function restore(data) {\n      var _this = this;\n\n      this._assertToriiIsPresent();\n\n      data = data || {};\n      if (!isEmpty(data.provider)) {\n        var _data = data,\n            provider = _data.provider;\n\n\n        return this.get('torii').fetch(data.provider, data).then(function (data) {\n          _this._authenticateWithProvider(provider, data);\n          return data;\n        }, function () {\n          return delete _this._provider;\n        });\n      } else {\n        delete this._provider;\n        return RSVP.reject();\n      }\n    },\n\n\n    /**\n      Authenticates the session by opening the specified torii provider. For more\n      documentation on torii and its providers abstraction, see the\n      [project's README](https://github.com/Vestorly/torii#readme), specifically\n      the\n      [section on providers](https://github.com/Vestorly/torii#configuring-a-torii-provider).\n       @method authenticate\n      @param {String} provider The torii provider to authenticate the session with\n      @param {Object} options The options to pass to the torii provider\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming authenticated\n      @public\n    */\n    authenticate: function authenticate(provider, options) {\n      var _this2 = this;\n\n      this._assertToriiIsPresent();\n\n      return this.get('torii').open(provider, options || {}).then(function (data) {\n        _this2._authenticateWithProvider(provider, data);\n        return data;\n      });\n    },\n\n\n    /**\n      Closes the torii provider. If the provider is successfully closed, this\n      method returns a resolving promise, otherwise it will return a rejecting\n      promise, thus intercepting session invalidation.\n       @method invalidate\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session being invalidated\n      @public\n    */\n    invalidate: function invalidate(data) {\n      var _this3 = this;\n\n      return this.get('torii').close(this._provider, data).then(function () {\n        delete _this3._provider;\n      });\n    },\n    _authenticateWithProvider: function _authenticateWithProvider(provider, data) {\n      data.provider = provider;\n      this._provider = data.provider;\n    },\n    _assertToriiIsPresent: function _assertToriiIsPresent() {\n      var torii = this.get('torii');\n      assert('You are trying to use the torii authenticator but torii is not available. Inject torii into the authenticator with \"torii: Ember.inject.service()\".', isPresent(torii));\n    }\n  });\n});","define('ember-simple-auth/authorizers/base', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var EmberObject = _ember.default.Object;\n  exports.default = EmberObject.extend({\n    /**\n      Authorizes a block of code. This method will be invoked by the session\n      service's {{#crossLink \"SessionService/authorize:method\"}}{{/crossLink}}\n      method which will pass the current authenticated session data (see\n      {{#crossLink \"SessionService/data:property\"}}{{/crossLink}}) and a block.\n      Depending on the mechanism it implements, the authorizer transforms the\n      session data into authorization data and invokes the block with that data.\n       `BaseAuthorizer`'s implementation does nothing. __This method must be\n      overridden in custom authorizers.__\n       @method authorize\n      @param {Object} data The current authenticated session data\n      @param {Function} block The callback to call with the authorization data\n      @public\n    */\n    authorize: function authorize() {}\n  });\n});","define('ember-simple-auth/authorizers/devise', ['exports', 'ember', 'ember-simple-auth/authorizers/base'], function (exports, _ember, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var isEmpty = _ember.default.isEmpty;\n  exports.default = _base.default.extend({\n    /**\n      The token attribute name.\n       @property tokenAttributeName\n      @type String\n      @default 'token'\n      @public\n    */\n    tokenAttributeName: 'token',\n\n    /**\n      The identification attribute name.\n       @property identificationAttributeName\n      @type String\n      @default 'email'\n      @public\n    */\n    identificationAttributeName: 'email',\n\n    /**\n      Includes the user's token (see\n      {{#crossLink \"DeviseAuthenticator/tokenAttributeName:property\"}}{{/crossLink}})\n      and identification (see\n      {{#crossLink \"DeviseAuthenticator/identificationAttributeName:property\"}}{{/crossLink}})\n      in the `Authorization` header.\n       @method authorize\n      @param {Object} data The data that the session currently holds\n      @param {Function} block(headerName,headerContent) The callback to call with the authorization data; will receive the header name and header content as arguments.\n      @public\n    */\n    authorize: function authorize(data, block) {\n      var _getProperties = this.getProperties('tokenAttributeName', 'identificationAttributeName'),\n          tokenAttributeName = _getProperties.tokenAttributeName,\n          identificationAttributeName = _getProperties.identificationAttributeName;\n\n      var userToken = data[tokenAttributeName];\n      var userIdentification = data[identificationAttributeName];\n\n      if (!isEmpty(userToken) && !isEmpty(userIdentification)) {\n        var authData = tokenAttributeName + '=\"' + userToken + '\", ' + identificationAttributeName + '=\"' + userIdentification + '\"';\n        block('Authorization', 'Token ' + authData);\n      }\n    }\n  });\n});","define('ember-simple-auth/authorizers/oauth2-bearer', ['exports', 'ember', 'ember-simple-auth/authorizers/base'], function (exports, _ember, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var isEmpty = _ember.default.isEmpty;\n  exports.default = _base.default.extend({\n    /**\n      Includes the access token from the session data into the `Authorization`\n      header as a Bearer token, e.g.:\n       ```\n      Authorization: Bearer 234rtgjneroigne4\n      ```\n       @method authorize\n      @param {Object} data The data that the session currently holds\n      @param {Function} block(headerName,headerContent) The callback to call with the authorization data; will receive the header name and header content as arguments\n      @public\n    */\n    authorize: function authorize(data, block) {\n      var accessToken = data['access_token'];\n\n      if (!isEmpty(accessToken)) {\n        block('Authorization', 'Bearer ' + accessToken);\n      }\n    }\n  });\n});","define('ember-simple-auth/configuration', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var getWithDefault = _ember.default.getWithDefault,\n      typeOf = _ember.default.typeOf,\n      deprecate = _ember.default.deprecate;\n\n\n  var DEFAULTS = {\n    baseURL: '',\n    authenticationRoute: 'login',\n    routeAfterAuthentication: 'index',\n    routeIfAlreadyAuthenticated: 'index'\n  };\n\n  /**\n    Ember Simple Auth's configuration object.\n  \n    To change any of these values, set them on the application's environment\n    object, e.g.:\n  \n    ```js\n    // config/environment.js\n    ENV['ember-simple-auth'] = {\n      baseURL: 'path/to/base/url'\n    };\n    ```\n  \n    @class Configuration\n    @extends Object\n    @module ember-simple-auth/configuration\n    @public\n  */\n  exports.default = {\n    /**\n      The base URL of the application as configured in `config/environment.js`.\n       @property baseURL\n      @readOnly\n      @static\n      @type String\n      @default ''\n      @public\n    */\n    baseURL: DEFAULTS.baseURL,\n\n    /**\n      The route to transition to for authentication. The\n      {{#crossLink \"AuthenticatedRouteMixin\"}}{{/crossLink}} will transition to\n      this route when a route that implements the mixin is accessed when the\n      route is not authenticated.\n       @property authenticationRoute\n      @deprecated AuthenticatedRouteMixin/authenticationRoute:property\n      @readOnly\n      @static\n      @type String\n      @default 'login'\n      @public\n    */\n    authenticationRoute: DEFAULTS.authenticationRoute,\n\n    /**\n      The route to transition to after successful authentication.\n       @property routeAfterAuthentication\n      @deprecated ApplicationRouteMixin/routeAfterAuthentication:property\n      @readOnly\n      @static\n      @type String\n      @default 'index'\n      @public\n    */\n    routeAfterAuthentication: DEFAULTS.routeAfterAuthentication,\n\n    /**\n      The route to transition to if a route that implements the\n      {{#crossLink \"UnauthenticatedRouteMixin\"}}{{/crossLink}} is accessed when\n      the session is authenticated.\n       @property routeIfAlreadyAuthenticated\n      @deprecated UnauthenticatedRouteMixin/routeIfAlreadyAuthenticated:property\n      @readOnly\n      @static\n      @type String\n      @default 'index'\n      @public\n    */\n    routeIfAlreadyAuthenticated: DEFAULTS.routeIfAlreadyAuthenticated,\n\n    load: function load(config) {\n      for (var property in this) {\n        if (this.hasOwnProperty(property) && typeOf(this[property]) !== 'function') {\n          if (['authenticationRoute', 'routeAfterAuthentication', 'routeIfAlreadyAuthenticated'].indexOf(property) >= 0 && DEFAULTS[property] !== this[property]) {\n            deprecate('Ember Simple Auth: ' + property + ' should no longer be overridden in the configuration. Instead, override the ' + property + ' property in the route.', false, {\n              id: 'ember-simple-auth.configuration.routes',\n              until: '2.0.0'\n            });\n          }\n\n          this[property] = getWithDefault(config, property, DEFAULTS[property]);\n        }\n      }\n    }\n  };\n});","define('ember-simple-auth/initializers/setup-session-service', ['exports', 'ember-simple-auth/utils/inject'], function (exports, _inject) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = setupSessionStore;\n  function setupSessionStore(registry) {\n    (0, _inject.default)(registry, 'service:session', 'session', 'session:main');\n  }\n});","define('ember-simple-auth/initializers/setup-session', ['exports', 'ember', 'ember-simple-auth/internal-session', 'ember-simple-auth/session-stores/ephemeral', 'ember-simple-auth/utils/inject'], function (exports, _ember, _internalSession, _ephemeral, _inject) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = setupSession;\n  function setupSession(registry) {\n    registry.register('session:main', _internalSession.default);\n\n    var store = 'session-store:application';\n    if (_ember.default.testing) {\n      store = 'session-store:test';\n      registry.register(store, _ephemeral.default);\n    }\n\n    (0, _inject.default)(registry, 'session:main', 'store', store);\n  }\n});","define('ember-simple-auth/instance-initializers/setup-session-restoration', ['exports', 'ember-simple-auth/utils/lookup'], function (exports, _lookup) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = setupSessionRestoration;\n  function setupSessionRestoration(instance) {\n    var applicationRoute = (0, _lookup.default)(instance, 'route:application');\n    var session = (0, _lookup.default)(instance, 'session:main');\n    var originalBeforeModel = applicationRoute.beforeModel;\n    var applyOriginalBeforeModel = function applyOriginalBeforeModel() {\n      return originalBeforeModel.apply(applicationRoute, arguments);\n    };\n    applicationRoute.reopen({\n      beforeModel: function beforeModel() {\n        var _arguments = arguments;\n\n        return session.restore().then(function () {\n          return applyOriginalBeforeModel.apply(undefined, _arguments);\n        }, function () {\n          return applyOriginalBeforeModel.apply(undefined, _arguments);\n        });\n      }\n    });\n  }\n});","define('ember-simple-auth/internal-session', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  var RSVP = _ember.default.RSVP,\n      isNone = _ember.default.isNone,\n      isEmpty = _ember.default.isEmpty,\n      ObjectProxy = _ember.default.ObjectProxy,\n      Evented = _ember.default.Evented,\n      emberAssign = _ember.default.assign,\n      merge = _ember.default.merge,\n      assert = _ember.default.assert,\n      deprecate = _ember.default.deprecate,\n      set = _ember.default.set,\n      debug = _ember.default.debug,\n      getOwner = _ember.default.getOwner;\n\n  var assign = emberAssign || merge;\n\n  exports.default = ObjectProxy.extend(Evented, {\n    authenticator: null,\n    store: null,\n    isAuthenticated: false,\n    attemptedTransition: null,\n\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.set('content', { authenticated: {} });\n      this._busy = false;\n      this._bindToStoreEvents();\n    },\n    authenticate: function authenticate(authenticatorFactory) {\n      var _this = this;\n\n      this._busy = true;\n      assert('Session#authenticate requires the authenticator to be specified, was \"' + authenticatorFactory + '\"!', !isEmpty(authenticatorFactory));\n      var authenticator = this._lookupAuthenticator(authenticatorFactory);\n      assert('No authenticator for factory \"' + authenticatorFactory + '\" could be found!', !isNone(authenticator));\n\n      for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        args[_key - 1] = arguments[_key];\n      }\n\n      return authenticator.authenticate.apply(authenticator, _toConsumableArray(args)).then(function (content) {\n        _this._busy = false;\n        return _this._setup(authenticatorFactory, content, true);\n      }, function (error) {\n        var rejectWithError = function rejectWithError() {\n          return RSVP.Promise.reject(error);\n        };\n\n        _this._busy = false;\n        return _this._clear().then(rejectWithError, rejectWithError);\n      });\n    },\n    invalidate: function invalidate() {\n      var _this2 = this;\n\n      this._busy = true;\n      assert('Session#invalidate requires the session to be authenticated!', this.get('isAuthenticated'));\n\n      var authenticator = this._lookupAuthenticator(this.authenticator);\n      return authenticator.invalidate.apply(authenticator, [this.content.authenticated].concat(Array.prototype.slice.call(arguments))).then(function () {\n        authenticator.off('sessionDataUpdated');\n        _this2._busy = false;\n        return _this2._clear(true);\n      }, function (error) {\n        _this2.trigger('sessionInvalidationFailed', error);\n        _this2._busy = false;\n        return RSVP.Promise.reject(error);\n      });\n    },\n    restore: function restore() {\n      var _this3 = this;\n\n      this._busy = true;\n      var reject = function reject() {\n        return RSVP.Promise.reject();\n      };\n\n      return this._callStoreAsync('restore').then(function (restoredContent) {\n        var _ref = restoredContent.authenticated || {},\n            authenticatorFactory = _ref.authenticator;\n\n        if (authenticatorFactory) {\n          delete restoredContent.authenticated.authenticator;\n          var authenticator = _this3._lookupAuthenticator(authenticatorFactory);\n          return authenticator.restore(restoredContent.authenticated).then(function (content) {\n            _this3.set('content', restoredContent);\n            _this3._busy = false;\n            return _this3._setup(authenticatorFactory, content);\n          }, function (err) {\n            debug('The authenticator \"' + authenticatorFactory + '\" rejected to restore the session - invalidating\\u2026');\n            if (err) {\n              debug(err);\n            }\n            _this3._busy = false;\n            return _this3._clearWithContent(restoredContent).then(reject, reject);\n          });\n        } else {\n          delete (restoredContent || {}).authenticated;\n          _this3._busy = false;\n          return _this3._clearWithContent(restoredContent).then(reject, reject);\n        }\n      }, function () {\n        _this3._busy = false;\n        return _this3._clear().then(reject, reject);\n      });\n    },\n    _callStoreAsync: function _callStoreAsync(method) {\n      var _store;\n\n      for (var _len2 = arguments.length, params = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n        params[_key2 - 1] = arguments[_key2];\n      }\n\n      var result = (_store = this.store)[method].apply(_store, _toConsumableArray(params));\n\n      if (typeof result === 'undefined' || typeof result.then === 'undefined') {\n        deprecate('Ember Simple Auth: Synchronous stores have been deprecated. Make sure your custom store\\'s ' + method + ' method returns a promise.', false, {\n          id: 'ember-simple-auth.session-store.synchronous-' + method,\n          until: '2.0.0'\n        });\n        return RSVP.Promise.resolve(result);\n      } else {\n        return result;\n      }\n    },\n    _setup: function _setup(authenticator, authenticatedContent, trigger) {\n      var _this4 = this;\n\n      trigger = Boolean(trigger) && !this.get('isAuthenticated');\n      this.beginPropertyChanges();\n      this.setProperties({\n        isAuthenticated: true,\n        authenticator: authenticator\n      });\n      set(this.content, 'authenticated', authenticatedContent);\n      this._bindToAuthenticatorEvents();\n\n      return this._updateStore().then(function () {\n        _this4.endPropertyChanges();\n        if (trigger) {\n          _this4.trigger('authenticationSucceeded');\n        }\n      }, function () {\n        _this4.setProperties({\n          isAuthenticated: false,\n          authenticator: null\n        });\n        set(_this4.content, 'authenticated', {});\n        _this4.endPropertyChanges();\n      });\n    },\n    _clear: function _clear(trigger) {\n      var _this5 = this;\n\n      trigger = Boolean(trigger) && this.get('isAuthenticated');\n      this.beginPropertyChanges();\n      this.setProperties({\n        isAuthenticated: false,\n        authenticator: null\n      });\n      set(this.content, 'authenticated', {});\n\n      return this._updateStore().then(function () {\n        _this5.endPropertyChanges();\n        if (trigger) {\n          _this5.trigger('invalidationSucceeded');\n        }\n      }, function () {\n        return _this5.endPropertyChanges();\n      });\n    },\n    _clearWithContent: function _clearWithContent(content, trigger) {\n      this.set('content', content);\n      return this._clear(trigger);\n    },\n    setUnknownProperty: function setUnknownProperty(key, value) {\n      assert('\"authenticated\" is a reserved key used by Ember Simple Auth!', key !== 'authenticated');\n      var result = this._super(key, value);\n      if (!/^_/.test(key)) {\n        this._updateStore();\n      }\n      return result;\n    },\n    _updateStore: function _updateStore() {\n      var data = this.content;\n      if (!isEmpty(this.authenticator)) {\n        set(data, 'authenticated', assign({ authenticator: this.authenticator }, data.authenticated || {}));\n      }\n      return this._callStoreAsync('persist', data);\n    },\n    _bindToAuthenticatorEvents: function _bindToAuthenticatorEvents() {\n      var _this6 = this;\n\n      var authenticator = this._lookupAuthenticator(this.authenticator);\n      authenticator.off('sessionDataUpdated');\n      authenticator.off('sessionDataInvalidated');\n      authenticator.on('sessionDataUpdated', function (content) {\n        _this6._setup(_this6.authenticator, content);\n      });\n      authenticator.on('sessionDataInvalidated', function () {\n        _this6._clear(true);\n      });\n    },\n    _bindToStoreEvents: function _bindToStoreEvents() {\n      var _this7 = this;\n\n      this.store.on('sessionDataUpdated', function (content) {\n        if (!_this7._busy) {\n          _this7._busy = true;\n\n          var _ref2 = content.authenticated || {},\n              authenticatorFactory = _ref2.authenticator;\n\n          if (authenticatorFactory) {\n            delete content.authenticated.authenticator;\n            var authenticator = _this7._lookupAuthenticator(authenticatorFactory);\n            authenticator.restore(content.authenticated).then(function (authenticatedContent) {\n              _this7.set('content', content);\n              _this7._busy = false;\n              _this7._setup(authenticatorFactory, authenticatedContent, true);\n            }, function (err) {\n              debug('The authenticator \"' + authenticatorFactory + '\" rejected to restore the session - invalidating\\u2026');\n              if (err) {\n                debug(err);\n              }\n              _this7._busy = false;\n              _this7._clearWithContent(content, true);\n            });\n          } else {\n            _this7._busy = false;\n            _this7._clearWithContent(content, true);\n          }\n        }\n      });\n    },\n    _lookupAuthenticator: function _lookupAuthenticator(authenticator) {\n      return getOwner(this).lookup(authenticator);\n    }\n  });\n});","define('ember-simple-auth/mixins/application-route-mixin', ['exports', 'ember', 'ember-simple-auth/configuration'], function (exports, _ember, _configuration) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _slicedToArray = function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];\n      var _n = true;\n      var _d = false;\n      var _e = undefined;\n\n      try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);\n\n          if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;\n        _e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }\n\n      return _arr;\n    }\n\n    return function (arr, i) {\n      if (Array.isArray(arr)) {\n        return arr;\n      } else if (Symbol.iterator in Object(arr)) {\n        return sliceIterator(arr, i);\n      } else {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n      }\n    };\n  }();\n\n  var inject = _ember.default.inject,\n      Mixin = _ember.default.Mixin,\n      A = _ember.default.A,\n      bind = _ember.default.run.bind,\n      testing = _ember.default.testing,\n      computed = _ember.default.computed,\n      getOwner = _ember.default.getOwner;\n  exports.default = Mixin.create({\n    /**\n      The session service.\n       @property session\n      @readOnly\n      @type SessionService\n      @public\n    */\n    session: inject.service('session'),\n\n    _isFastBoot: computed(function () {\n      var fastboot = getOwner(this).lookup('service:fastboot');\n\n      return fastboot ? fastboot.get('isFastBoot') : false;\n    }),\n\n    /**\n      The route to transition to after successful authentication.\n       @property routeAfterAuthentication\n      @type String\n      @default 'index'\n      @public\n    */\n    routeAfterAuthentication: computed(function () {\n      return _configuration.default.routeAfterAuthentication;\n    }),\n\n    init: function init() {\n      this._super.apply(this, arguments);\n      this._subscribeToSessionEvents();\n    },\n    _subscribeToSessionEvents: function _subscribeToSessionEvents() {\n      var _this = this,\n          _arguments = arguments;\n\n      A([['authenticationSucceeded', 'sessionAuthenticated'], ['invalidationSucceeded', 'sessionInvalidated']]).forEach(function (_ref) {\n        var _ref2 = _slicedToArray(_ref, 2),\n            event = _ref2[0],\n            method = _ref2[1];\n\n        _this.get('session').on(event, bind(_this, function () {\n          _this[method].apply(_this, _arguments);\n        }));\n      });\n    },\n\n\n    /**\n      This method handles the session's\n      {{#crossLink \"SessionService/authenticationSucceeded:event\"}}{{/crossLink}}\n      event. If there is a transition that was previously intercepted by the\n      {{#crossLink \"AuthenticatedRouteMixin/beforeModel:method\"}}\n      AuthenticatedRouteMixin's `beforeModel` method{{/crossLink}} it will retry\n      it. If there is no such transition, the `ember_simple_auth-redirectTarget`\n      cookie will be checked for a url that represents an attemptedTransition\n      that was aborted in Fastboot mode, otherwise this action transitions to the\n      {{#crossLink \"Configuration/routeAfterAuthentication:property\"}}{{/crossLink}}.\n        @method sessionAuthenticated\n      @public\n    */\n    sessionAuthenticated: function sessionAuthenticated() {\n      var attemptedTransition = this.get('session.attemptedTransition');\n      var cookies = getOwner(this).lookup('service:cookies');\n      var redirectTarget = cookies.read('ember_simple_auth-redirectTarget');\n\n      if (attemptedTransition) {\n        attemptedTransition.retry();\n        this.set('session.attemptedTransition', null);\n      } else if (redirectTarget) {\n        this.transitionTo(redirectTarget);\n        cookies.clear('ember_simple_auth-redirectTarget');\n      } else {\n        this.transitionTo(this.get('routeAfterAuthentication'));\n      }\n    },\n\n\n    /**\n      This method handles the session's\n      {{#crossLink \"SessionService/invalidationSucceeded:event\"}}{{/crossLink}}\n      event. __It reloads the Ember.js application__ by redirecting the browser\n      to the application's root URL so that all in-memory data (such as Ember\n      Data stores etc.) gets cleared.\n       If the Ember.js application will be used in an environment where the users\n      don't have direct access to any data stored on the client (e.g.\n      [cordova](http://cordova.apache.org)) this action can be overridden to e.g.\n      simply transition to the index route.\n       @method sessionInvalidated\n      @public\n    */\n    sessionInvalidated: function sessionInvalidated() {\n      if (!testing) {\n        if (this.get('_isFastBoot')) {\n          this.transitionTo(_configuration.default.baseURL);\n        } else {\n          window.location.replace(_configuration.default.baseURL);\n        }\n      }\n    }\n  });\n});","define('ember-simple-auth/mixins/authenticated-route-mixin', ['exports', 'ember', 'ember-simple-auth/configuration'], function (exports, _ember, _configuration) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var service = _ember.default.inject.service,\n      Mixin = _ember.default.Mixin,\n      assert = _ember.default.assert,\n      computed = _ember.default.computed,\n      getOwner = _ember.default.getOwner;\n  exports.default = Mixin.create({\n    /**\n      The session service.\n       @property session\n      @readOnly\n      @type SessionService\n      @public\n    */\n    session: service('session'),\n\n    _isFastBoot: computed(function () {\n      var fastboot = getOwner(this).lookup('service:fastboot');\n\n      return fastboot ? fastboot.get('isFastBoot') : false;\n    }),\n\n    /**\n      The route to transition to for authentication. The\n      {{#crossLink \"AuthenticatedRouteMixin\"}}{{/crossLink}} will transition to\n      this route when a route that implements the mixin is accessed when the\n      route is not authenticated.\n       @property authenticationRoute\n      @type String\n      @default 'login'\n      @public\n    */\n    authenticationRoute: computed(function () {\n      return _configuration.default.authenticationRoute;\n    }),\n\n    /**\n      Checks whether the session is authenticated and if it is not aborts the\n      current transition and instead transitions to the\n      {{#crossLink \"Configuration/authenticationRoute:property\"}}{{/crossLink}}.\n      If the current transition is aborted, this method will save it in the\n      session service's\n      {{#crossLink \"SessionService/attemptedTransition:property\"}}{{/crossLink}}\n      property so that  it can be retried after the session is authenticated\n      (see\n      {{#crossLink \"ApplicationRouteMixin/sessionAuthenticated:method\"}}{{/crossLink}}).\n      If the transition is aborted in Fastboot mode, the transition's target\n      URL will be saved in a `ember_simple_auth-redirectTarget` cookie for use by\n      the browser after authentication is complete.\n       __If `beforeModel` is overridden in a route that uses this mixin, the route's\n     implementation must call `this._super(...arguments)`__ so that the mixin's\n     `beforeModel` method is actually executed.\n       @method beforeModel\n      @param {Transition} transition The transition that lead to this route\n      @public\n    */\n    beforeModel: function beforeModel(transition) {\n      if (!this.get('session.isAuthenticated')) {\n        if (this.get('_isFastBoot')) {\n          var fastboot = getOwner(this).lookup('service:fastboot');\n          var cookies = getOwner(this).lookup('service:cookies');\n\n          cookies.write('ember_simple_auth-redirectTarget', transition.intent.url, {\n            path: '/',\n            secure: fastboot.get('request.protocol') === 'https'\n          });\n        } else {\n          this.set('session.attemptedTransition', transition);\n        }\n\n        this.triggerAuthentication();\n      } else {\n        return this._super.apply(this, arguments);\n      }\n    },\n\n\n    /**\n      Triggers authentication; by default this method transitions to the\n      `authenticationRoute`. In case the application uses an authentication\n      mechanism that does not use an authentication route, this method can be\n      overridden.\n       @method triggerAuthentication\n      @protected\n    */\n    triggerAuthentication: function triggerAuthentication() {\n      var authenticationRoute = this.get('authenticationRoute');\n      assert('The route configured as Configuration.authenticationRoute cannot implement the AuthenticatedRouteMixin mixin as that leads to an infinite transitioning loop!', this.get('routeName') !== authenticationRoute);\n\n      this.transitionTo(authenticationRoute);\n    }\n  });\n});","define('ember-simple-auth/mixins/data-adapter-mixin', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var service = _ember.default.inject.service,\n      Mixin = _ember.default.Mixin,\n      assert = _ember.default.assert,\n      isPresent = _ember.default.isPresent;\n  exports.default = Mixin.create({\n    /**\n      The session service.\n       @property session\n      @readOnly\n      @type SessionService\n      @public\n    */\n    session: service('session'),\n\n    /**\n      The authorizer that is used to authorize API requests. The authorizer has\n      to call the authorization callback (see\n      {{#crossLink \"BaseAuthorizer/authorize:method\"}}{{/crossLink}}) with header\n      name and header content arguments. __This property must be overridden in\n      adapters using this mixin.__\n       @property authorizer\n      @type String\n      @default null\n      @public\n    */\n    authorizer: null,\n\n    /**\n      Defines a `beforeSend` hook (see http://api.jquery.com/jQuery.ajax/) that\n      injects a request header containing the authorization data as constructed\n      by the {{#crossLink \"DataAdapterMixin/authorizer:property\"}}{{/crossLink}}\n      (see\n      {{#crossLink \"SessionService/authorize:method\"}}{{/crossLink}}). The\n      specific header name and contents depend on the actual authorizer that is\n      used.\n       Until [emberjs/rfcs#171](https://github.com/emberjs/rfcs/pull/171)\n      gets resolved and [ds-improved-ajax](https://github.com/emberjs/data/pull/3099)\n      [feature flag](https://github.com/emberjs/data/blob/master/FEATURES.md#feature-flags)\n      is enabled, this method will be called for **every** ember-data version.\n      `headersForRequest` *should* replace it after the resolution of the RFC.\n       @method ajaxOptions\n      @protected\n    */\n    ajaxOptions: function ajaxOptions() {\n      var _this = this;\n\n      var authorizer = this.get('authorizer');\n      assert(\"You're using the DataAdapterMixin without specifying an authorizer. Please add `authorizer: 'authorizer:application'` to your adapter.\", isPresent(authorizer));\n\n      var hash = this._super.apply(this, arguments);\n      var beforeSend = hash.beforeSend;\n\n\n      hash.beforeSend = function (xhr) {\n        _this.get('session').authorize(authorizer, function (headerName, headerValue) {\n          xhr.setRequestHeader(headerName, headerValue);\n        });\n        if (beforeSend) {\n          beforeSend(xhr);\n        }\n      };\n      return hash;\n    },\n\n\n    /**\n      Adds request headers containing the authorization data as constructed\n      by the {{#crossLink \"DataAdapterMixin/authorizer:property\"}}{{/crossLink}}.\n       Until [emberjs/rfcs#171](https://github.com/emberjs/rfcs/pull/171)\n      gets resolved and [ds-improved-ajax](https://github.com/emberjs/data/pull/3099)\n      [feature flag](https://github.com/emberjs/data/blob/master/FEATURES.md#feature-flags)\n      is enabled, this method will **not** be used.\n      See `ajaxOptions` instead.\n       @method headersForRequest\n      @protected\n     */\n    headersForRequest: function headersForRequest() {\n      var authorizer = this.get('authorizer');\n      assert(\"You're using the DataAdapterMixin without specifying an authorizer. Please add `authorizer: 'authorizer:application'` to your adapter.\", isPresent(authorizer));\n\n      var headers = this._super.apply(this, arguments);\n      headers = Object(headers);\n      this.get('session').authorize(authorizer, function (headerName, headerValue) {\n        headers[headerName] = headerValue;\n      });\n      return headers;\n    },\n\n\n    /**\n      This method is called for every response that the adapter receives from the\n      API. If the response has a 401 status code it invalidates the session (see\n      {{#crossLink \"SessionService/invalidate:method\"}}{{/crossLink}}).\n       @method handleResponse\n      @param {Number} status The response status as received from the API\n      @param  {Object} headers HTTP headers as received from the API\n      @param {Any} payload The response body as received from the API\n      @param {Object} requestData the original request information\n      @protected\n    */\n    handleResponse: function handleResponse(status, headers, payload, requestData) {\n      this.ensureResponseAuthorized(status, headers, payload, requestData);\n      return this._super.apply(this, arguments);\n    },\n\n\n    /**\n     The default implementation for handleResponse.\n     If the response has a 401 status code it invalidates the session (see\n      {{#crossLink \"SessionService/invalidate:method\"}}{{/crossLink}}).\n      Override this method if you want custom invalidation logic for incoming responses.\n     @method ensureResponseAuthorized\n     @param {Number} status The response status as received from the API\n     @param  {Object} headers HTTP headers as received from the API\n     @param {Any} payload The response body as received from the API\n     @param {Object} requestData the original request information\n    */\n    ensureResponseAuthorized: function ensureResponseAuthorized(status /* ,headers, payload, requestData */) {\n      if (status === 401 && this.get('session.isAuthenticated')) {\n        this.get('session').invalidate();\n      }\n    }\n  });\n});","define('ember-simple-auth/mixins/oauth2-implicit-grant-callback-route-mixin', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var service = _ember.default.inject.service,\n      Mixin = _ember.default.Mixin,\n      computed = _ember.default.computed,\n      getOwner = _ember.default.getOwner;\n  exports.default = Mixin.create({\n    /**\n     The session service.\n      @property session\n     @readOnly\n     @type SessionService\n     @public\n     */\n    session: service('session'),\n\n    /**\n      The authenticator that should be used to authenticate the callback. This\n      must be a subclass of the\n      {{#crossLink \"OAuth2ImplicitGrantAuthenticator\"}}{{/crossLink}}\n      authenticator.\n       @property authenticator\n      @type String\n      @default null\n      @public\n    */\n    authenticator: null,\n\n    /**\n      Any error that potentially occurs during authentication will be stored in\n      this property.\n       @property error\n      @type String\n      @default null\n      @public\n    */\n    error: null,\n\n    /**\n      Passes the hash received with the redirection from the authentication\n      server to the\n      {{#crossLink \"OAuth2ImplicitGrantAuthenticator\"}}{{/crossLink}} and\n      authenticates the session with the authenticator.\n       @method activate\n      @public\n    */\n    activate: function activate() {\n      var _this = this;\n\n      if (this.get('_isFastBoot')) {\n        return;\n      }\n\n      var authenticator = this.get('authenticator');\n\n      var hash = this._parseResponse(this._windowLocationHash());\n\n      this.get('session').authenticate(authenticator, hash).catch(function (err) {\n        _this.set('error', err);\n      });\n    },\n\n\n    _isFastBoot: computed(function () {\n      var fastboot = getOwner(this).lookup('service:fastboot');\n\n      return fastboot ? fastboot.get('isFastBoot') : false;\n    }),\n\n    _windowLocationHash: function _windowLocationHash() {\n      // we wrap this so we can stub it with sinon\n      return window.location.hash;\n    },\n    _parseResponse: function _parseResponse(locationHash) {\n      var params = {};\n      var query = locationHash.substring(locationHash.indexOf('?'));\n      var regex = /([^#?&=]+)=([^&]*)/g;\n      var match = void 0;\n\n      // decode all parameter pairs\n      while ((match = regex.exec(query)) !== null) {\n        params[decodeURIComponent(match[1])] = decodeURIComponent(match[2]);\n      }\n\n      return params;\n    }\n  });\n});","define('ember-simple-auth/mixins/unauthenticated-route-mixin', ['exports', 'ember', 'ember-simple-auth/configuration'], function (exports, _ember, _configuration) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var service = _ember.default.inject.service,\n      Mixin = _ember.default.Mixin,\n      assert = _ember.default.assert,\n      computed = _ember.default.computed,\n      getOwner = _ember.default.getOwner;\n  exports.default = Mixin.create({\n    /**\n      The session service.\n       @property session\n      @readOnly\n      @type SessionService\n      @public\n    */\n    session: service('session'),\n\n    _isFastBoot: computed(function () {\n      var fastboot = getOwner(this).lookup('service:fastboot');\n\n      return fastboot ? fastboot.get('isFastBoot') : false;\n    }),\n\n    /**\n      The route to transition to if a route that implements the\n      {{#crossLink \"UnauthenticatedRouteMixin\"}}{{/crossLink}} is accessed when\n      the session is authenticated.\n       @property routeIfAlreadyAuthenticated\n      @type String\n      @default 'index'\n      @public\n    */\n    routeIfAlreadyAuthenticated: computed(function () {\n      return _configuration.default.routeIfAlreadyAuthenticated;\n    }),\n\n    /**\n      Checks whether the session is authenticated and if it is aborts the current\n      transition and instead transitions to the\n      {{#crossLink \"Configuration/routeIfAlreadyAuthenticated:property\"}}{{/crossLink}}.\n       __If `beforeModel` is overridden in a route that uses this mixin, the route's\n     implementation must call `this._super(...arguments)`__ so that the mixin's\n     `beforeModel` method is actually executed.\n       @method beforeModel\n      @param {Transition} transition The transition that lead to this route\n      @public\n    */\n    beforeModel: function beforeModel() {\n      if (this.get('session').get('isAuthenticated')) {\n        var routeIfAlreadyAuthenticated = this.get('routeIfAlreadyAuthenticated');\n        assert('The route configured as Configuration.routeIfAlreadyAuthenticated cannot implement the UnauthenticatedRouteMixin mixin as that leads to an infinite transitioning loop!', this.get('routeName') !== routeIfAlreadyAuthenticated);\n\n        this.transitionTo(routeIfAlreadyAuthenticated);\n      } else {\n        return this._super.apply(this, arguments);\n      }\n    }\n  });\n});","define('ember-simple-auth/services/session', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  var SESSION_DATA_KEY_PREFIX = /^data\\./;\n\n  var computed = _ember.default.computed,\n      A = _ember.default.A,\n      Service = _ember.default.Service,\n      Evented = _ember.default.Evented,\n      getOwner = _ember.default.getOwner,\n      isNone = _ember.default.isNone,\n      assert = _ember.default.assert;\n  exports.default = Service.extend(Evented, {\n    /**\n      Triggered whenever the session is successfully authenticated. This happens\n      when the session gets authenticated via\n      {{#crossLink \"SessionService/authenticate:method\"}}{{/crossLink}} but also\n      when the session is authenticated in another tab or window of the same\n      application and the session state gets synchronized across tabs or windows\n      via the store (see\n      {{#crossLink \"BaseStore/sessionDataUpdated:event\"}}{{/crossLink}}).\n       When using the {{#crossLink \"ApplicationRouteMixin\"}}{{/crossLink}} this\n      event will automatically get handled (see\n      {{#crossLink \"ApplicationRouteMixin/sessionAuthenticated:method\"}}{{/crossLink}}).\n       @event authenticationSucceeded\n      @public\n    */\n\n    /**\n      Triggered whenever the session is successfully invalidated. This happens\n      when the session gets invalidated via\n      {{#crossLink \"SessionService/invalidate:method\"}}{{/crossLink}} but also\n      when the session is invalidated in another tab or window of the same\n      application and the session state gets synchronized across tabs or windows\n      via the store (see\n      {{#crossLink \"BaseStore/sessionDataUpdated:event\"}}{{/crossLink}}).\n       When using the {{#crossLink \"ApplicationRouteMixin\"}}{{/crossLink}} this\n      event will automatically get handled (see\n      {{#crossLink \"ApplicationRouteMixin/sessionInvalidated:method\"}}{{/crossLink}}).\n       @event invalidationSucceeded\n      @public\n    */\n\n    /**\n      Returns whether the session is currently authenticated.\n       @property isAuthenticated\n      @type Boolean\n      @readOnly\n      @default false\n      @public\n    */\n    isAuthenticated: computed.oneWay('session.isAuthenticated'),\n\n    /**\n      The current session data as a plain object. The\n      `authenticated` key holds the session data that the authenticator resolved\n      with when the session was authenticated (see\n      {{#crossLink \"BaseAuthenticator/authenticate:method\"}}{{/crossLink}}) and\n      that will be cleared when the session is invalidated. This data cannot be\n      written. All other session data is writable and will not be cleared when\n      the session is invalidated.\n       @property data\n      @type Object\n      @readOnly\n      @default { authenticated: {} }\n      @public\n    */\n    data: computed.oneWay('session.content'),\n\n    /**\n      The session store.\n       @property store\n      @type BaseStore\n      @readOnly\n      @default null\n      @public\n    */\n    store: computed.oneWay('session.store'),\n\n    /**\n      A previously attempted but intercepted transition (e.g. by the\n      {{#crossLink \"AuthenticatedRouteMixin\"}}{{/crossLink}}). If an attempted\n      transition is present, the\n      {{#crossLink \"ApplicationRouteMixin\"}}{{/crossLink}} will retry it when the\n      session becomes authenticated (see\n      {{#crossLink \"ApplicationRouteMixin/sessionAuthenticated:method\"}}{{/crossLink}}).\n       @property attemptedTransition\n      @type Transition\n      @default null\n      @public\n    */\n    attemptedTransition: computed.alias('session.attemptedTransition'),\n\n    init: function init() {\n      this._super.apply(this, arguments);\n      this._forwardSessionEvents();\n    },\n    set: function set(key, value) {\n      var setsSessionData = SESSION_DATA_KEY_PREFIX.test(key);\n      if (setsSessionData) {\n        var sessionDataKey = 'session.' + key.replace(SESSION_DATA_KEY_PREFIX, '');\n        return this._super(sessionDataKey, value);\n      } else {\n        return this._super.apply(this, arguments);\n      }\n    },\n    _forwardSessionEvents: function _forwardSessionEvents() {\n      var _this = this,\n          _arguments = arguments;\n\n      A(['authenticationSucceeded', 'invalidationSucceeded']).forEach(function (event) {\n        var session = _this.get('session');\n        // the internal session won't be available in route unit tests\n        if (session) {\n          session.on(event, function () {\n            _this.trigger.apply(_this, [event].concat(Array.prototype.slice.call(_arguments)));\n          });\n        }\n      });\n    },\n\n\n    /**\n      __Authenticates the session with an `authenticator`__ and appropriate\n      arguments. The authenticator implements the actual steps necessary to\n      authenticate the session (see\n      {{#crossLink \"BaseAuthenticator/authenticate:method\"}}{{/crossLink}}) and\n      returns a promise after doing so. The session handles the returned promise\n      and when it resolves becomes authenticated, otherwise remains\n      unauthenticated. All data the authenticator resolves with will be\n      accessible via the\n      {{#crossLink \"SessionService/data:property\"}}session data's{{/crossLink}}\n      `authenticated` property.\n       __This method returns a promise. A resolving promise indicates that the\n      session was successfully authenticated__ while a rejecting promise\n      indicates that authentication failed and the session remains\n      unauthenticated. The promise does not resolve with a value; instead, the\n      data returned from the authenticator is available via the\n      {{#crossLink \"SessionService/data:property\"}}{{/crossLink}} property.\n       When authentication succeeds this will trigger the\n      {{#crossLink \"SessionService/authenticationSucceeded:event\"}}{{/crossLink}}\n      event.\n       @method authenticate\n      @param {String} authenticator The authenticator to use to authenticate the session\n      @param {Any} [...args] The arguments to pass to the authenticator; depending on the type of authenticator these might be a set of credentials, a Facebook OAuth Token, etc.\n      @return {Ember.RSVP.Promise} A promise that resolves when the session was authenticated successfully and rejects otherwise\n      @public\n    */\n    authenticate: function authenticate() {\n      var session = this.get('session');\n\n      return session.authenticate.apply(session, arguments);\n    },\n\n\n    /**\n      __Invalidates the session with the authenticator it is currently\n      authenticated with__ (see\n      {{#crossLink \"SessionService/authenticate:method\"}}{{/crossLink}}). This\n      invokes the authenticator's\n      {{#crossLink \"BaseAuthenticator/invalidate:method\"}}{{/crossLink}} method\n      and handles the returned promise accordingly.\n       This method returns a promise. A resolving promise indicates that the\n      session was successfully invalidated while a rejecting promise indicates\n      that invalidation failed and the session remains authenticated. Once the\n      session is successfully invalidated it clears all of its authenticated data\n      (see {{#crossLink \"SessionService/data:property\"}}{{/crossLink}}).\n       When invalidation succeeds this will trigger the\n      {{#crossLink \"SessionService/invalidationSucceeded:event\"}}{{/crossLink}}\n      event.\n       @method invalidate\n      @param {Array} ...args arguments that will be passed to the authenticator\n      @return {Ember.RSVP.Promise} A promise that resolves when the session was invalidated successfully and rejects otherwise\n      @public\n    */\n    invalidate: function invalidate() {\n      var session = this.get('session');\n\n      return session.invalidate.apply(session, arguments);\n    },\n\n\n    /**\n      Authorizes a block of code with an authorizer (see\n      {{#crossLink \"BaseAuthorizer/authorize:method\"}}{{/crossLink}}) if the\n      session is authenticated. If the session is not currently authenticated\n      this method does nothing.\n       ```js\n      this.get('session').authorize('authorizer:oauth2-bearer', (headerName, headerValue) => {\n        xhr.setRequestHeader(headerName, headerValue);\n      });\n      ```\n       @method authorize\n      @param {String} authorizer The authorizer to authorize the block with\n      @param {Function} block The block of code to call with the authorization data generated by the authorizer\n      @public\n    */\n    authorize: function authorize(authorizerFactory, block) {\n      if (this.get('isAuthenticated')) {\n        var authorizer = getOwner(this).lookup(authorizerFactory);\n        assert('No authorizer for factory ' + authorizerFactory + ' could be found!', !isNone(authorizer));\n        var sessionData = this.get('data.authenticated');\n        authorizer.authorize(sessionData, block);\n      }\n    }\n  });\n});","define('ember-simple-auth/session-stores/adaptive', ['exports', 'ember', 'ember-simple-auth/session-stores/base', 'ember-simple-auth/session-stores/local-storage', 'ember-simple-auth/session-stores/cookie'], function (exports, _ember, _base, _localStorage, _cookie) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var computed = _ember.default.computed,\n      service = _ember.default.inject.service,\n      getOwner = _ember.default.getOwner;\n\n\n  var LOCAL_STORAGE_TEST_KEY = '_ember_simple_auth_test_key';\n\n  var proxyToInternalStore = function proxyToInternalStore() {\n    return computed({\n      get: function get(key) {\n        return this.get('_' + key);\n      },\n      set: function set(key, value) {\n        this.set('_' + key, value);\n        var _store = this.get('_store');\n        if (_store) {\n          _store.set(key, value);\n        }\n        return value;\n      }\n    });\n  };\n\n  /**\n    Session store that persists data in the browser's `localStorage` (see\n    {{#crossLink \"LocalStorageStore\"}}{{/crossLink}}) if that is available or in\n    a cookie (see {{#crossLink \"CookieStore\"}}{{/crossLink}}) if it is not.\n  \n    __This is the default store that Ember Simple Auth will use when the\n    application doesn't define a custom store.__\n  \n    __This session store does not work with FastBoot. In order to use Ember\n    Simple Auth with FastBoot, configure the\n    {{#crossLink \"CookieStore\"}}{{/crossLink}} as the application's session\n    store.__\n  \n    @class AdaptiveStore\n    @module ember-simple-auth/session-stores/adaptive\n    @extends BaseStore\n    @public\n  */\n  exports.default = _base.default.extend({\n    /**\n      The `localStorage` key the store persists data in if `localStorage` is\n      available.\n       @property localStorageKey\n      @type String\n      @default 'ember_simple_auth-session'\n      @public\n    */\n    localStorageKey: 'ember_simple_auth-session',\n\n    /**\n      The domain to use for the cookie if `localStorage` is not available, e.g.,\n      \"example.com\", \".example.com\" (which includes all subdomains) or\n      \"subdomain.example.com\". If not explicitly set, the cookie domain defaults\n      to the domain the session was authenticated on.\n       @property cookieDomain\n      @type String\n      @default null\n      @public\n    */\n    _cookieDomain: null,\n    cookieDomain: proxyToInternalStore(),\n\n    /**\n      The name of the cookie to use if `localStorage` is not available.\n       @property cookieName\n      @type String\n      @default ember_simple_auth-session\n      @public\n    */\n    _cookieName: 'ember_simple_auth-session',\n    cookieName: proxyToInternalStore(),\n\n    /**\n      The path to use for the cookie, e.g., \"/\", \"/something\".\n       @property cookiePath\n      @type String\n      @default '/'\n      @public\n    */\n    _cookiePath: '/',\n    cookiePath: proxyToInternalStore(),\n\n    /**\n      The expiration time for the cookie in seconds if `localStorage` is not\n      available. A value of `null` will make the cookie a session cookie that\n      expires and gets deleted when the browser is closed.\n       @property cookieExpirationTime\n      @default null\n      @type Integer\n      @public\n    */\n    _cookieExpirationTime: null,\n    cookieExpirationTime: proxyToInternalStore(),\n\n    _cookies: service('cookies'),\n\n    _fastboot: computed(function () {\n      var owner = getOwner(this);\n\n      return owner && owner.lookup('service:fastboot');\n    }),\n\n    _isLocalStorageAvailable: computed(function () {\n      try {\n        localStorage.setItem(LOCAL_STORAGE_TEST_KEY, true);\n        localStorage.removeItem(LOCAL_STORAGE_TEST_KEY);\n        return true;\n      } catch (e) {\n        return false;\n      }\n    }),\n\n    init: function init() {\n      this._super.apply(this, arguments);\n\n      var store = void 0;\n      if (this.get('_isLocalStorageAvailable')) {\n        var options = { key: this.get('localStorageKey') };\n        options._isFastBoot = false;\n        store = this._createStore(_localStorage.default, options);\n      } else {\n        var _options = this.getProperties('cookieDomain', 'cookieName', 'cookieExpirationTime', 'cookiePath');\n        _options._fastboot = this.get('_fastboot');\n        _options._cookies = this.get('_cookies');\n\n        store = this._createStore(_cookie.default, _options);\n        this.set('cookieExpirationTime', store.get('cookieExpirationTime'));\n      }\n      this.set('_store', store);\n    },\n    _createStore: function _createStore(storeType, options) {\n      var _this = this;\n\n      var store = storeType.create(options);\n\n      store.on('sessionDataUpdated', function (data) {\n        _this.trigger('sessionDataUpdated', data);\n      });\n      return store;\n    },\n\n\n    /**\n      Persists the `data` in the `localStorage` if it is available or in a cookie\n      if it is not.\n       @method persist\n      @param {Object} data The data to persist\n      @return {Ember.RSVP.Promise} A promise that resolves when the data has successfully been persisted and rejects otherwise.\n      @public\n    */\n    persist: function persist() {\n      var _get;\n\n      return (_get = this.get('_store')).persist.apply(_get, arguments);\n    },\n\n\n    /**\n      Returns all data currently stored in the `localStorage` if that is\n      available - or if it is not, in the cookie - as a plain object.\n       @method restore\n      @return {Ember.RSVP.Promise} A promise that resolves with the data currently persisted in the store when the data has been restored successfully and rejects otherwise.\n      @public\n    */\n    restore: function restore() {\n      return this.get('_store').restore();\n    },\n\n\n    /**\n      Clears the store by deleting the\n      {{#crossLink \"LocalStorageStore/key:property\"}}{{/crossLink}} from\n      `localStorage` if that is available or by deleting the cookie if it is not.\n       @method clear\n      @return {Ember.RSVP.Promise} A promise that resolves when the store has been cleared successfully and rejects otherwise.\n      @public\n    */\n    clear: function clear() {\n      return this.get('_store').clear();\n    }\n  });\n});","define('ember-simple-auth/session-stores/base', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var RSVP = _ember.default.RSVP,\n      EmberObject = _ember.default.Object,\n      Evented = _ember.default.Evented;\n  exports.default = EmberObject.extend(Evented, {\n    /**\n      Triggered when the session store's data changes due to an external event,\n      e.g., from another tab or window of the same application. The session\n      handles that event, passes the updated data to its authenticator's\n      {{#crossLink \"BaseAuthenticator/restore:method\"}}{{/crossLink}} method and\n      handles the result of that invocation accordingly.\n       @event sessionDataUpdated\n      @param {Object} data The updated session data\n      @public\n    */\n\n    /**\n      Persists the `data`. This replaces all currently stored data.\n       `BaseStores`'s implementation always returns a rejecting promise. __This\n      method must be overridden in subclasses__.\n       @method persist\n      @param {Object} data The data to persist\n      @return {Ember.RSVP.Promise} A promise that resolves when the data has successfully been persisted and rejects otherwise.\n      @public\n    */\n    persist: function persist() {\n      return RSVP.reject();\n    },\n\n\n    /**\n      Returns all data currently stored as a plain object.\n       `BaseStores`'s implementation always returns a rejecting promise. __This\n      method must be overridden in subclasses__.\n       @method restore\n      @return {Ember.RSVP.Promise} A promise that resolves with the data currently persisted in the store when the data has been restored successfully and rejects otherwise.\n      @public\n    */\n    restore: function restore() {\n      return RSVP.reject();\n    },\n\n\n    /**\n      Clears the store.\n       `BaseStores`'s implementation always returns a rejecting promise. __This\n      method must be overridden in subclasses__.\n       @method clear\n      @return {Ember.RSVP.Promise} A promise that resolves when the store has been cleared successfully and rejects otherwise.\n      @public\n    */\n    clear: function clear() {\n      return RSVP.reject();\n    }\n  });\n});","define('ember-simple-auth/session-stores/cookie', ['exports', 'ember', 'ember-simple-auth/session-stores/base', 'ember-simple-auth/utils/objects-are-equal'], function (exports, _ember, _base, _objectsAreEqual) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var RSVP = _ember.default.RSVP,\n      computed = _ember.default.computed,\n      service = _ember.default.inject.service,\n      _Ember$run = _ember.default.run,\n      next = _Ember$run.next,\n      scheduleOnce = _Ember$run.scheduleOnce,\n      cancel = _Ember$run.cancel,\n      later = _Ember$run.later,\n      isEmpty = _ember.default.isEmpty,\n      typeOf = _ember.default.typeOf,\n      testing = _ember.default.testing,\n      isPresent = _ember.default.isPresent,\n      A = _ember.default.A,\n      getOwner = _ember.default.getOwner,\n      warn = _ember.default.warn;\n\n\n  var persistingProperty = function persistingProperty() {\n    var beforeSet = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : function () {};\n\n    return computed({\n      get: function get(key) {\n        return this.get('_' + key);\n      },\n      set: function set(key, value) {\n        beforeSet.apply(this, [key, value]);\n        this.set('_' + key, value);\n        scheduleOnce('actions', this, this.rewriteCookie);\n        return value;\n      }\n    });\n  };\n\n  /**\n    Session store that persists data in a cookie.\n  \n    By default the cookie session store uses a session cookie that expires and is\n    deleted when the browser is closed. The cookie expiration period can be\n    configured by setting the\n    {{#crossLink \"CookieStore/cookieExpirationTime:property\"}}{{/crossLink}}\n    property. This can be used to implement \"remember me\" functionality that will\n    either store the session persistently or in a session cookie depending on\n    whether the user opted in or not:\n  \n    ```js\n    // app/controllers/login.js\n    export default Ember.Controller.extend({\n      rememberMe: false,\n  \n      _rememberMeChanged: Ember.observer('rememberMe', function() {\n        const expirationTime = this.get('rememberMe') ? (14 * 24 * 60 * 60) : null;\n        this.set('session.store.cookieExpirationTime', expirationTime);\n      }\n    });\n    ```\n  \n    __Applications that use FastBoot must use this session store by defining the\n    application session store like this:__\n  \n    ```js\n    // app/session-stores/application.js\n    import CookieStore from 'ember-simple-auth/session-stores/cookie';\n  \n    export default CookieStore.extend();\n    ```\n  \n    @class CookieStore\n    @module ember-simple-auth/session-stores/cookie\n    @extends BaseStore\n    @public\n  */\n  exports.default = _base.default.extend({\n    _syncDataTimeout: null,\n    _renewExpirationTimeout: null,\n\n    /**\n      The domain to use for the cookie, e.g., \"example.com\", \".example.com\"\n      (which includes all subdomains) or \"subdomain.example.com\". If not\n      explicitly set, the cookie domain defaults to the domain the session was\n      authenticated on.\n       @property cookieDomain\n      @type String\n      @default null\n      @public\n    */\n    _cookieDomain: null,\n    cookieDomain: persistingProperty(),\n\n    /**\n      The name of the cookie.\n       @property cookieName\n      @type String\n      @default ember_simple_auth-session\n      @public\n    */\n    _cookieName: 'ember_simple_auth-session',\n    cookieName: persistingProperty(function () {\n      this._oldCookieName = this._cookieName;\n    }),\n\n    /**\n      The path to use for the cookie, e.g., \"/\", \"/something\".\n       @property cookiePath\n      @type String\n      @default '/'\n      @public\n    */\n    _cookiePath: '/',\n    cookiePath: persistingProperty(),\n\n    /**\n      The expiration time for the cookie in seconds. A value of `null` will make\n      the cookie a session cookie that expires and gets deleted when the browser\n      is closed.\n       The recommended minimum value is 90 seconds. If your value is less than\n      that, the cookie may expire before its expiration time is extended\n      (expiration time is extended every 60 seconds).\n       @property cookieExpirationTime\n      @default null\n      @type Integer\n      @public\n    */\n    _cookieExpirationTime: null,\n    cookieExpirationTime: persistingProperty(function (key, value) {\n      if (value < 90) {\n        this._warn('The recommended minimum value for `cookieExpirationTime` is 90 seconds. If your value is less than that, the cookie may expire before its expiration time is extended (expiration time is extended every 60 seconds).', false, { id: 'ember-simple-auth.cookieExpirationTime' });\n      }\n    }),\n\n    _cookies: service('cookies'),\n\n    _fastboot: computed(function () {\n      var owner = getOwner(this);\n\n      return owner && owner.lookup('service:fastboot');\n    }),\n\n    _secureCookies: computed(function () {\n      if (this.get('_fastboot.isFastBoot')) {\n        return this.get('_fastboot.request.protocol') === 'https';\n      }\n\n      return window.location.protocol === 'https:';\n    }).volatile(),\n\n    _isPageVisible: computed(function () {\n      if (this.get('_fastboot.isFastBoot')) {\n        return false;\n      } else {\n        var visibilityState = typeof document !== 'undefined' ? document.visibilityState || 'visible' : false;\n        return visibilityState === 'visible';\n      }\n    }).volatile(),\n\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n\n      var cachedExpirationTime = this._read(this.get('cookieName') + '-expiration_time');\n      if (cachedExpirationTime) {\n        this.set('cookieExpirationTime', parseInt(cachedExpirationTime, 10));\n      }\n\n      if (!this.get('_fastboot.isFastBoot')) {\n        next(function () {\n          _this._syncData().then(function () {\n            _this._renewExpiration();\n          });\n        });\n      } else {\n        this._renew();\n      }\n    },\n\n\n    /**\n      Persists the `data` in the cookie.\n       @method persist\n      @param {Object} data The data to persist\n      @return {Ember.RSVP.Promise} A promise that resolves when the data has successfully been persisted and rejects otherwise.\n      @public\n    */\n    persist: function persist(data) {\n      this._lastData = data;\n      data = JSON.stringify(data || {});\n      var expiration = this._calculateExpirationTime();\n      this._write(data, expiration);\n      return RSVP.resolve();\n    },\n\n\n    /**\n      Returns all data currently stored in the cookie as a plain object.\n       @method restore\n      @return {Ember.RSVP.Promise} A promise that resolves with the data currently persisted in the store when the data has been restored successfully and rejects otherwise.\n      @public\n    */\n    restore: function restore() {\n      var data = this._read(this.get('cookieName'));\n      if (isEmpty(data)) {\n        return RSVP.resolve({});\n      } else {\n        return RSVP.resolve(JSON.parse(data));\n      }\n    },\n\n\n    /**\n      Clears the store by deleting the cookie.\n       @method clear\n      @return {Ember.RSVP.Promise} A promise that resolves when the store has been cleared successfully and rejects otherwise.\n      @public\n    */\n    clear: function clear() {\n      this._write('', 0);\n      this._lastData = {};\n      return RSVP.resolve();\n    },\n    _read: function _read(name) {\n      return this.get('_cookies').read(name) || '';\n    },\n    _calculateExpirationTime: function _calculateExpirationTime() {\n      var cachedExpirationTime = this._read(this.get('cookieName') + '-expiration_time');\n      cachedExpirationTime = cachedExpirationTime ? new Date().getTime() + cachedExpirationTime * 1000 : null;\n      return this.get('cookieExpirationTime') ? new Date().getTime() + this.get('cookieExpirationTime') * 1000 : cachedExpirationTime;\n    },\n    _write: function _write(value, expiration) {\n      var _this2 = this;\n\n      var cookieOptions = {\n        domain: this.get('cookieDomain'),\n        expires: isEmpty(expiration) ? null : new Date(expiration),\n        path: this.get('cookiePath'),\n        secure: this.get('_secureCookies')\n      };\n      if (this._oldCookieName) {\n        A([this._oldCookieName, this._oldCookieName + '-expiration_time']).forEach(function (oldCookie) {\n          _this2.get('_cookies').clear(oldCookie);\n        });\n        delete this._oldCookieName;\n      }\n      this.get('_cookies').write(this.get('cookieName'), value, cookieOptions);\n      if (!isEmpty(expiration)) {\n        var expirationCookieName = this.get('cookieName') + '-expiration_time';\n        var cachedExpirationTime = this.get('_cookies').read(expirationCookieName);\n        this.get('_cookies').write(expirationCookieName, this.get('cookieExpirationTime') || cachedExpirationTime, cookieOptions);\n      }\n    },\n    _syncData: function _syncData() {\n      var _this3 = this;\n\n      return this.restore().then(function (data) {\n        if (!(0, _objectsAreEqual.default)(data, _this3._lastData)) {\n          _this3._lastData = data;\n          _this3.trigger('sessionDataUpdated', data);\n        }\n        if (!testing) {\n          cancel(_this3._syncDataTimeout);\n          _this3._syncDataTimeout = later(_this3, _this3._syncData, 500);\n        }\n      });\n    },\n    _renew: function _renew() {\n      var _this4 = this;\n\n      return this.restore().then(function (data) {\n        if (!isEmpty(data) && data !== {}) {\n          data = typeOf(data) === 'string' ? data : JSON.stringify(data || {});\n          var expiration = _this4._calculateExpirationTime();\n          _this4._write(data, expiration);\n        }\n      });\n    },\n    _renewExpiration: function _renewExpiration() {\n      if (!testing) {\n        cancel(this._renewExpirationTimeout);\n        this._renewExpirationTimeout = later(this, this._renewExpiration, 60000);\n      }\n      if (this.get('_isPageVisible')) {\n        return this._renew();\n      } else {\n        return RSVP.resolve();\n      }\n    },\n    rewriteCookie: function rewriteCookie() {\n      // if `cookieName` has not been renamed, `oldCookieName` will be nil\n      var cookieName = this._oldCookieName || this._cookieName;\n      var data = this._read(cookieName);\n      if (isPresent(data)) {\n        var expiration = this._calculateExpirationTime();\n        this._write(data, expiration);\n      }\n    },\n    _warn: function _warn() {\n      warn.apply(undefined, arguments);\n    }\n  });\n});","define('ember-simple-auth/session-stores/ephemeral', ['exports', 'ember', 'ember-simple-auth/session-stores/base'], function (exports, _ember, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var RSVP = _ember.default.RSVP;\n  exports.default = _base.default.extend({\n    init: function init() {\n      this._super.apply(this, arguments);\n      this.clear();\n    },\n\n\n    /**\n      Persists `data`. This replaces all currently stored data.\n       @method persist\n      @param {Object} data The data to persist\n      @return {Ember.RSVP.Promise} A promise that resolves when the data has successfully been persisted and rejects otherwise.\n      @public\n    */\n    persist: function persist(data) {\n      this._data = JSON.stringify(data || {});\n\n      return RSVP.resolve();\n    },\n\n\n    /**\n      Returns all data currently stored as a plain object.\n       @method restore\n      @return {Ember.RSVP.Promise} A promise that resolves with the data currently persisted in the store when the data has been restored successfully and rejects otherwise.\n      @public\n    */\n    restore: function restore() {\n      var data = JSON.parse(this._data) || {};\n\n      return RSVP.resolve(data);\n    },\n\n\n    /**\n      Clears the store.\n       @method clear\n      @return {Ember.RSVP.Promise} A promise that resolves when the store has been cleared successfully and rejects otherwise.\n      @public\n    */\n    clear: function clear() {\n      delete this._data;\n      this._data = '{}';\n\n      return RSVP.resolve();\n    }\n  });\n});","define('ember-simple-auth/session-stores/local-storage', ['exports', 'ember', 'ember-simple-auth/session-stores/base', 'ember-simple-auth/utils/objects-are-equal'], function (exports, _ember, _base, _objectsAreEqual) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var RSVP = _ember.default.RSVP,\n      computed = _ember.default.computed,\n      getOwner = _ember.default.getOwner,\n      bind = _ember.default.run.bind;\n  exports.default = _base.default.extend({\n    _isFastBoot: computed(function () {\n      var fastboot = getOwner(this).lookup('service:fastboot');\n\n      return fastboot ? fastboot.get('isFastBoot') : false;\n    }),\n\n    /**\n      The `localStorage` key the store persists data in.\n       @property key\n      @type String\n      @default 'ember_simple_auth-session'\n      @public\n    */\n    key: 'ember_simple_auth-session',\n\n    init: function init() {\n      this._super.apply(this, arguments);\n\n      if (!this.get('_isFastBoot')) {\n        window.addEventListener('storage', bind(this, this._handleStorageEvent));\n      }\n    },\n    willDestroy: function willDestroy() {\n      if (!this.get('_isFastBoot')) {\n        window.removeEventListener('storage', bind(this, this._handleStorageEvent));\n      }\n    },\n\n\n    /**\n      Persists the `data` in the `localStorage`.\n       @method persist\n      @param {Object} data The data to persist\n      @return {Ember.RSVP.Promise} A promise that resolves when the data has successfully been persisted and rejects otherwise.\n      @public\n    */\n    persist: function persist(data) {\n      this._lastData = data;\n      data = JSON.stringify(data || {});\n      localStorage.setItem(this.key, data);\n\n      return RSVP.resolve();\n    },\n\n\n    /**\n      Returns all data currently stored in the `localStorage` as a plain object.\n       @method restore\n      @return {Ember.RSVP.Promise} A promise that resolves with the data currently persisted in the store when the data has been restored successfully and rejects otherwise.\n      @public\n    */\n    restore: function restore() {\n      var data = localStorage.getItem(this.key);\n\n      return RSVP.resolve(JSON.parse(data) || {});\n    },\n\n\n    /**\n      Clears the store by deleting the\n      {{#crossLink \"LocalStorageStore/key:property\"}}{{/crossLink}} from\n      `localStorage`.\n       @method clear\n      @return {Ember.RSVP.Promise} A promise that resolves when the store has been cleared successfully and rejects otherwise.\n      @public\n    */\n    clear: function clear() {\n      localStorage.removeItem(this.key);\n      this._lastData = {};\n\n      return RSVP.resolve();\n    },\n    _handleStorageEvent: function _handleStorageEvent(e) {\n      var _this = this;\n\n      if (e.key === this.get('key')) {\n        this.restore().then(function (data) {\n          if (!(0, _objectsAreEqual.default)(data, _this._lastData)) {\n            _this._lastData = data;\n            _this.trigger('sessionDataUpdated', data);\n          }\n        });\n      }\n    }\n  });\n});","define('ember-simple-auth/session-stores/session-storage', ['exports', 'ember', 'ember-simple-auth/session-stores/base', 'ember-simple-auth/utils/objects-are-equal'], function (exports, _ember, _base, _objectsAreEqual) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var RSVP = _ember.default.RSVP,\n      computed = _ember.default.computed,\n      getOwner = _ember.default.getOwner,\n      bind = _ember.default.run.bind;\n  exports.default = _base.default.extend({\n    _isFastBoot: computed(function () {\n      var fastboot = getOwner(this).lookup('service:fastboot');\n\n      return fastboot ? fastboot.get('isFastBoot') : false;\n    }),\n\n    /**\n      The `sessionStorage` key the store persists data in.\n       @property key\n      @type String\n      @default 'ember_simple_auth-session'\n      @public\n    */\n    key: 'ember_simple_auth-session',\n\n    init: function init() {\n      this._super.apply(this, arguments);\n\n      if (!this.get('_isFastBoot')) {\n        window.addEventListener('storage', bind(this, this._handleStorageEvent));\n      }\n    },\n    willDestroy: function willDestroy() {\n      if (!this.get('_isFastBoot')) {\n        window.removeEventListener('storage', bind(this, this._handleStorageEvent));\n      }\n    },\n\n\n    /**\n      Persists the `data` in the `sessionStorage`.\n       @method persist\n      @param {Object} data The data to persist\n      @return {Ember.RSVP.Promise} A promise that resolves when the data has successfully been persisted and rejects otherwise.\n      @public\n    */\n    persist: function persist(data) {\n      this._lastData = data;\n      data = JSON.stringify(data || {});\n      sessionStorage.setItem(this.key, data);\n\n      return RSVP.resolve();\n    },\n\n\n    /**\n      Returns all data currently stored in the `sessionStorage` as a plain object.\n       @method restore\n      @return {Ember.RSVP.Promise} A promise that resolves with the data currently persisted in the store when the data has been restored successfully and rejects otherwise.\n      @public\n    */\n    restore: function restore() {\n      var data = sessionStorage.getItem(this.key);\n\n      return RSVP.resolve(JSON.parse(data) || {});\n    },\n\n\n    /**\n      Clears the store by deleting the\n      {{#crossLink \"sessionStorageStore/key:property\"}}{{/crossLink}} from\n      `sessionStorage`.\n       @method clear\n      @return {Ember.RSVP.Promise} A promise that resolves when the store has been cleared successfully and rejects otherwise.\n      @public\n    */\n    clear: function clear() {\n      sessionStorage.removeItem(this.key);\n      this._lastData = {};\n\n      return RSVP.resolve();\n    },\n    _handleStorageEvent: function _handleStorageEvent(e) {\n      var _this = this;\n\n      if (e.key === this.get('key')) {\n        this.restore().then(function (data) {\n          if (!(0, _objectsAreEqual.default)(data, _this._lastData)) {\n            _this._lastData = data;\n            _this.trigger('sessionDataUpdated', data);\n          }\n        });\n      }\n    }\n  });\n});","define(\"ember-simple-auth/utils/inject\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function (registry, factoryNameOrType, property, injectionName) {\n    var inject = registry.inject || registry.injection;\n    inject.call(registry, factoryNameOrType, property, injectionName);\n  };\n});","define(\"ember-simple-auth/utils/lookup\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function (instance, factoryName) {\n    if (instance.lookup) {\n      return instance.lookup(factoryName);\n    } else {\n      return instance.container.lookup(factoryName);\n    }\n  };\n});","define('ember-simple-auth/utils/objects-are-equal', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = objectsAreEqual;\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  function objectsAreEqual(a, b) {\n    function compare(x, y) {\n      var property = void 0;\n      if (isNaN(x) && isNaN(y) && typeof x === 'number' && typeof y === 'number') {\n        return true;\n      }\n\n      if (x === y) {\n        return true;\n      }\n\n      if (!(x instanceof Object && y instanceof Object)) {\n        return false;\n      }\n\n      for (property in y) {\n        if (y.hasOwnProperty(property) !== x.hasOwnProperty(property)) {\n          return false;\n        } else if (_typeof(y[property]) !== _typeof(x[property])) {\n          return false;\n        }\n      }\n\n      for (property in x) {\n        if (y.hasOwnProperty(property) !== x.hasOwnProperty(property)) {\n          return false;\n        } else if (_typeof(y[property]) !== _typeof(x[property])) {\n          return false;\n        }\n\n        switch (_typeof(x[property])) {\n          case 'object':\n            if (!compare(x[property], y[property])) {\n              return false;\n            }\n            break;\n          default:\n            if (x[property] !== y[property]) {\n              return false;\n            }\n            break;\n        }\n      }\n\n      return true;\n    }\n\n    return compare(a, b);\n  }\n});","define(\"ember-string-ishtmlsafe-polyfill/index\", [\"exports\", \"ember\"], function (exports, _ember) {\n\n  _ember[\"default\"].deprecate(\"ember-string-ishtmlsafe-polyfill is now a true polyfill. Use Ember.String.isHTMLSafe directly instead of importing from ember-string-ishtmlsafe-polyfill\", false, {\n    id: \"ember-string-ishtmlsafe-polyfill.import\",\n    until: '2.0.0'\n  });\n\n  exports[\"default\"] = _ember[\"default\"].String.isHTMLSafe;\n});","define('ember-tether/components/ember-tether', ['exports', 'ember'], function (exports, _ember) {\n  var observer = _ember['default'].observer;\n  var get = _ember['default'].get;\n  var getOwner = _ember['default'].getOwner;\n  var run = _ember['default'].run;\n  var computed = _ember['default'].computed;\n  var isNone = _ember['default'].isNone;\n  var Component = _ember['default'].Component;\n  exports['default'] = Component.extend({\n    classNames: ['ember-tether'],\n    classPrefix: 'ember-tether',\n    target: null,\n    attachment: null,\n    targetAttachment: null,\n    offset: null,\n    targetOffset: null,\n    targetModifier: null,\n    constraints: null,\n    optimizations: null,\n    emberTetherConfig: computed(function () {\n      return (getOwner(this).resolveRegistration('config:environment') || {})['ember-tether'];\n    }),\n    bodyElement: computed(function () {\n      var config = get(this, 'emberTetherConfig');\n      if (config && config.bodyElementId) {\n        return document.getElementById(config.bodyElementId);\n      }\n    }),\n    didInsertElement: function didInsertElement() {\n      this._super.apply(this, arguments);\n      this.addTether();\n    },\n\n    willDestroyElement: function willDestroyElement() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      var _tether = this._tether;\n      var element = this.element;\n\n      run.schedule('render', function () {\n        _this.removeElement(element);\n        _this.removeTether(_tether);\n      });\n    },\n\n    didRender: function didRender() {\n      this._super.apply(this, arguments);\n      this.positionTether();\n    },\n\n    tetherDidChange: observer('classPrefix', 'target', 'attachment', 'targetAttachment', 'offset', 'targetOffset', 'targetModifier', 'constraints', 'optimizations', function () {\n      this.removeTether(this._tether);\n      this.addTether();\n    }),\n\n    positionTether: function positionTether() {\n      if (this._tether) {\n        this._tether.position();\n      }\n    },\n\n    addTether: function addTether() {\n      if (get(this, '_tetherTarget')) {\n        this._tether = new Tether(this._tetherOptions());\n      }\n    },\n\n    removeTether: function removeTether(tether) {\n      if (tether) {\n        tether.destroy();\n      }\n    },\n\n    removeElement: function removeElement(element) {\n      if (element.parentNode) {\n        element.parentNode.removeChild(element);\n      }\n    },\n\n    _tetherTarget: computed('target', function () {\n      var t = get(this, 'target');\n      if (t && t.element) {\n        t = t.element;\n      }\n      return t;\n    }),\n\n    _tetherOptions: function _tetherOptions() {\n      var _this2 = this;\n\n      var options = {\n        element: this.element,\n        target: get(this, '_tetherTarget')\n      };\n      ['classPrefix', 'attachment', 'targetAttachment', 'offset', 'targetOffset', 'targetModifier', 'constraints', 'optimizations', 'bodyElement'].forEach(function (k) {\n        var v = get(_this2, k);\n        if (!isNone(v)) {\n          options[k] = v;\n        }\n      });\n      return options;\n    }\n  });\n});","define('ember-uploader/components', ['exports', 'ember-uploader/components/file-field'], function (exports, _emberUploaderComponentsFileField) {\n  exports.FileField = _emberUploaderComponentsFileField['default'];\n});","define('ember-uploader/components/file-field', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = _ember['default'].Component.extend(_ember['default'].Evented, {\n    tagName: 'input',\n    type: 'file',\n    attributeBindings: ['name', 'disabled', 'form', 'type', 'accept', 'autofocus', 'required', 'multiple'],\n    multiple: false,\n    change: function change(event) {\n      var input = event.target;\n      if (!_ember['default'].isEmpty(input.files)) {\n        this.trigger('filesDidChange', input.files);\n      }\n    }\n  });\n});","define('ember-uploader/core', ['exports', 'ember', 'ember-uploader/version'], function (exports, _ember, _emberUploaderVersion) {\n\n  /**\n   * @module ember-uploader\n   */\n\n  /**\n   * All Ember Uploader methods and functions are defined inside of this namespace.\n   *\n   * @class EmberUploader\n   * @static\n   */\n\n  /**\n   * @property VERSION\n   * @type string\n   * @static\n   */\n\n  var EmberUploader = _ember['default'].Namespace.create({\n    VERSION: _emberUploaderVersion['default']\n  });\n\n  if (_ember['default'].libraries) {\n    _ember['default'].libraries.registerCoreLibrary('Ember Uploader', EmberUploader.VERSION);\n  }\n\n  exports['default'] = EmberUploader;\n});","define('ember-uploader/index', ['exports', 'ember', 'ember-uploader/core', 'ember-uploader/uploaders', 'ember-uploader/components'], function (exports, _ember, _emberUploaderCore, _emberUploaderUploaders, _emberUploaderComponents) {\n\n  if (_ember['default'].VERSION.match(/^1/)) {\n    _ember['default'].Logger.warn('This version of Ember Uploader has not been tested on Ember 1.x. Use at your own risk.');\n  }\n\n  _emberUploaderCore['default'].Uploader = _emberUploaderUploaders.Uploader;\n  _emberUploaderCore['default'].S3Uploader = _emberUploaderUploaders.S3Uploader;\n\n  _emberUploaderCore['default'].FileField = _emberUploaderComponents.FileField;\n\n  _ember['default'].lookup.EmberUploader = _emberUploaderCore['default'];\n\n  exports['default'] = _emberUploaderCore['default'];\n});\n\n/**\n  Ember Uploader\n  @module ember-uploader\n  @main ember-uploader\n*/","define('ember-uploader/uploaders', ['exports', 'ember-uploader/uploaders/base', 'ember-uploader/uploaders/s3'], function (exports, _emberUploaderUploadersBase, _emberUploaderUploadersS3) {\n  exports.Uploader = _emberUploaderUploadersBase['default'];\n  exports.S3Uploader = _emberUploaderUploadersS3['default'];\n});","define('ember-uploader/uploaders/base', ['exports', 'ember'], function (exports, _ember) {\n  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\n  var get = _ember['default'].get;\n  var set = _ember['default'].set;\n  var run = _ember['default'].run;\n  exports['default'] = _ember['default'].Object.extend(_ember['default'].Evented, {\n    /**\n     * Target url to upload to\n     *\n     * @property url\n     */\n    url: null,\n\n    /**\n     * ajax request method, by default it will be POST\n     *\n     * @property method\n     */\n    method: 'POST',\n\n    /**\n     * Used to define a namespace for the file param and any extra data params\n     * that may be sent\n     *\n     * @property paramNamespace\n     */\n    paramNamespace: null,\n\n    /**\n     * The parameter name for the file(s) to be uploaded\n     *\n     * @property paramName\n     */\n    paramName: 'file',\n\n    /**\n     * Boolean property changed to true upon upload start and false upon upload\n     * end\n     *\n     * @property isUploading\n     */\n    isUploading: false,\n\n    /**\n     * The ajax settings used in all requests made from the uploader\n     *\n     * @property ajaxSettings\n     */\n    ajaxSettings: {},\n\n    /**\n     * Start upload of file(s) and any extra data\n     *\n     * @param  {object|array} files  One file object or one array of files object\n     * @param  {object} extra Extra data to be sent with the upload\n     * @return {object} Returns a Ember.RSVP.Promise wrapping the ajax request\n     * object\n     */\n    upload: function upload(files) {\n      var extra = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n      var data = this.createFormData(files, extra);\n      var url = get(this, 'url');\n      var method = get(this, 'method');\n\n      set(this, 'isUploading', true);\n\n      return this.ajax(url, data, method);\n    },\n\n    /**\n     * Creates the FormData object with the file(s) and any extra data\n     *\n     * @param {object|array} files One file object or an array of file objects\n     * @param {object} extra Extra data to be sent with the upload\n     * @return {object} Returns a FormData object with the supplied file(s) and\n     * extra data\n     */\n    createFormData: function createFormData(files) {\n      var extra = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n      var formData = new FormData();\n\n      for (var prop in extra) {\n        if (extra.hasOwnProperty(prop)) {\n          formData.append(this.toNamespacedParam(prop), extra[prop]);\n        }\n      }\n\n      // if is a array of files ...\n      if (files.constructor === FileList || files.constructor === Array) {\n        var paramKey = this.toNamespacedParam(this.paramName) + '[]';\n\n        for (var i = 0; i < files.length; i++) {\n          // FormData expects the key for arrays to be postfixed with empty\n          // brackets This same key is used each time a new item is added.\n          formData.append(paramKey, files[i]);\n        }\n      } else {\n        // if has only one file object ...\n        formData.append(this.toNamespacedParam(this.paramName), files);\n      }\n\n      return formData;\n    },\n\n    /**\n     * Returns the param name namespaced if a namespace exists\n     *\n     * @param {string} name The param name to namespace\n     * @return {string} Returns the namespaced param\n     */\n    toNamespacedParam: function toNamespacedParam(name) {\n      return this.paramNamespace ? this.paramNamespace + '[' + name + ']' : name;\n    },\n\n    /**\n     * Triggers didUpload event with given params and sets isUploading to false\n     *\n     * @param {object} data Object of data supplied to the didUpload event\n     * @return {object} Returns the given data\n     */\n    didUpload: function didUpload(data) {\n      set(this, 'isUploading', false);\n      this.trigger('didUpload', data);\n      return data;\n    },\n\n    /**\n     * Triggers didError event with given params and sets isUploading to false\n     *\n     * @param {object} jqXHR jQuery XMLHttpRequest object\n     * @param {string} textStatus The status code of the error\n     * @param {object} errorThrown The error caused\n     * @return {object} Returns the jQuery XMLHttpRequest\n     */\n    didError: function didError(jqXHR, textStatus, errorThrown) {\n      set(this, 'isUploading', false);\n\n      // Borrowed from Ember Data\n      var isObject = jqXHR !== null && typeof jqXHR === 'object';\n\n      if (isObject) {\n        jqXHR.then = null;\n        if (!jqXHR.errorThrown) {\n          if (typeof errorThrown === 'string') {\n            jqXHR.errorThrown = new Error(errorThrown);\n          } else {\n            jqXHR.errorThrown = errorThrown;\n          }\n        }\n      }\n\n      this.trigger('didError', jqXHR, textStatus, errorThrown);\n\n      return jqXHR;\n    },\n\n    /**\n     * Triggers progress event supplying event with current percent\n     *\n     * @param {object} event Event from xhr onprogress\n     */\n    didProgress: function didProgress(event) {\n      event.percent = event.loaded / event.total * 100;\n      this.trigger('progress', event);\n    },\n\n    /**\n     * Triggers isAborting event and sets isUploading to false\n     */\n    abort: function abort() {\n      set(this, 'isUploading', false);\n      this.trigger('isAborting');\n    },\n\n    /**\n     * Starts a request to the given url sending the supplied data using the\n     * supplied request method\n     *\n     * @param {string} url The target url for the request\n     * @param {object} data The data to send with the request\n     * @param {string} method The request method\n     * @return {object} Returns a Ember.RSVP.Promise wrapping the ajax request\n     * object\n     */\n    ajax: function ajax(url) {\n      var _this = this;\n\n      var data = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n      var method = arguments.length <= 2 || arguments[2] === undefined ? this.method : arguments[2];\n\n      var ajaxSettings = get(this, 'ajaxSettings');\n\n      return this.ajaxPromise(_extends({}, ajaxSettings, {\n        contentType: false,\n        processData: false,\n        xhr: function xhr() {\n          var xhr = _ember['default'].$.ajaxSettings.xhr();\n          xhr.upload.onprogress = function (event) {\n            _this.didProgress(event);\n          };\n          _this.one('isAborting', function () {\n            return xhr.abort();\n          });\n          return xhr;\n        },\n        url: url,\n        data: data,\n        method: method\n      }));\n    },\n\n    /**\n     * Starts a request using the supplied settings returning a\n     * Ember.RSVP.Promise wrapping the ajax request\n     *\n     * @param {object} settings The jQuery.ajax compatible settings object\n     * @return {object} Returns a Ember.RSVP.Promise wrapping the ajax request\n     */\n    ajaxPromise: function ajaxPromise(settings) {\n      var _this2 = this;\n\n      return new _ember['default'].RSVP.Promise(function (resolve, reject) {\n        settings.success = function (data) {\n          run(null, resolve, _this2.didUpload(data));\n        };\n\n        settings.error = function (jqXHR, responseText, errorThrown) {\n          run(null, reject, _this2.didError(jqXHR, responseText, errorThrown));\n        };\n\n        _ember['default'].$.ajax(settings);\n      });\n    }\n  });\n});","define('ember-uploader/uploaders/s3', ['exports', 'ember', 'ember-uploader/uploaders/base'], function (exports, _ember, _emberUploaderUploadersBase) {\n  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\n  var get = _ember['default'].get;\n  var set = _ember['default'].set;\n  var run = _ember['default'].run;\n  exports['default'] = _emberUploaderUploadersBase['default'].extend({\n    /**\n     * Target url used to request a signed upload policy\n     *\n     * @property url\n     */\n    signingUrl: '/sign',\n\n    /**\n     * request method for signing\n     *\n     * @property method\n     */\n    signingMethod: 'GET',\n\n    /**\n     * Boolean property changed to true upon signing start and false upon\n     * signing end\n     *\n     * @property isSigning\n     */\n    isSigning: false,\n\n    /**\n     * Request signed upload policy and upload file(s) and any extra data\n     *\n     * @param  {object|array} files  One file object or one array of files object\n     * @param  {object} extra Extra data to be sent with the upload\n     * @return {object} Returns a Ember.RSVP.Promise wrapping the signing\n     * request object\n     */\n    upload: function upload(file) {\n      var _this = this;\n\n      var extra = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n      return this.sign(file, extra).then(function (json) {\n        var url = undefined;\n\n        set(_this, 'isUploading', true);\n\n        if (json.endpoint) {\n          url = json.endpoint;\n          delete json.endpoint;\n        } else if (json.region) {\n          url = 'https://s3-' + json.region + '.amazonaws.com/' + json.bucket;\n          delete json.region;\n        } else {\n          url = 'https://' + json.bucket + '.s3.amazonaws.com';\n        }\n\n        return _this.ajax(url, _this.createFormData(file, json));\n      });\n    },\n\n    /**\n     * Request signed upload policy\n     *\n     * @param  {object|array} files  One file object or one array of files object\n     * @param  {object} extra Extra data to be sent with the upload\n     * @return {object} Returns a Ember.RSVP.Promise wrapping the signing\n     * request object\n     */\n    sign: function sign(file) {\n      var _this2 = this;\n\n      var extra = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n      var url = get(this, 'signingUrl');\n      var method = get(this, 'signingMethod');\n      var signingAjaxSettings = get(this, 'signingAjaxSettings');\n\n      extra.name = file.name;\n      extra.type = file.type;\n      extra.size = file.size;\n\n      var settings = _extends({}, signingAjaxSettings, {\n        contentType: 'application/json',\n        dataType: 'json',\n        data: method.match(/get/i) ? extra : JSON.stringify(extra),\n        method: method,\n        url: url\n      });\n\n      set(this, 'isSigning', true);\n\n      return new _ember['default'].RSVP.Promise(function (resolve, reject) {\n        settings.success = function (json) {\n          run(null, resolve, _this2.didSign(json));\n        };\n\n        settings.error = function (jqXHR, responseText, errorThrown) {\n          run(null, reject, _this2.didErrorOnSign(jqXHR, responseText, errorThrown));\n        };\n\n        _ember['default'].$.ajax(settings);\n      });\n    },\n\n    /**\n     * Triggers didErrorOnSign event and sets isSigning to false\n     *\n     * @param {object} jqXHR jQuery XMLHttpRequest object\n     * @param {string} textStatus The status code of the error\n     * @param {object} errorThrown The error caused\n     * @return {object} Returns the jQuery XMLHttpRequest\n     */\n    didErrorOnSign: function didErrorOnSign(jqXHR, textStatus, errorThrown) {\n      set(this, 'isSigning', false);\n      this.trigger('didErrorOnSign');\n      this.didError(jqXHR, textStatus, errorThrown);\n      return jqXHR;\n    },\n\n    /**\n     * Triggers didSign event and returns the signing response\n     *\n     * @param {object} response The signing response\n     * @return {object} The signing response\n     */\n    didSign: function didSign(response) {\n      this.trigger('didSign', response);\n      return response;\n    }\n  });\n});","define(\"ember-uploader/version\", [\"exports\"], function (exports) {\n  exports[\"default\"] = \"1.2.3\";\n});","define('ember-useragent/initializers/user-agent', ['exports'], function (exports) {\n  exports.initialize = initialize;\n  /**\n   * Ember UserAgent initializer\n   *\n   * Supports auto injection of the userAgent service app-wide.\n   * Generated by the ember-useragent addon.\n   */\n\n  function initialize() {\n    var application = arguments[1] || arguments[0];\n\n    application.inject('controller', 'userAgent', 'service:userAgent');\n    application.inject('component', 'userAgent', 'service:userAgent');\n    application.inject('route', 'userAgent', 'service:userAgent');\n    application.inject('view', 'userAgent', 'service:userAgent');\n  }\n\n  exports['default'] = {\n    name: 'user-agent',\n    initialize: initialize\n  };\n});","define('ember-useragent/instance-initializers/ember-useragent', ['exports', 'ember', 'ua-parser-js'], function (exports, _ember, _uaParserJs) {\n  exports.initialize = _initialize;\n  var assert = _ember['default'].assert;\n  var setProperties = _ember['default'].setProperties;\n\n  function _initialize(appInstance) {\n\n    var userAgent = undefined;\n\n    var service = appInstance.lookup('service:userAgent');\n\n    if (window && window.navigator) {\n      userAgent = window.navigator.userAgent;\n    }\n\n    assert('No userAgent present in ember-useragent/instance-initializers/ember-useragent', userAgent);\n\n    setProperties(service, {\n      _UAParser: new _uaParserJs['default'](userAgent),\n      userAgent: userAgent\n    });\n  }\n\n  exports['default'] = {\n    name: 'ember-useragent-browser',\n    initialize: function initialize() {\n      if (typeof FastBoot === 'undefined') {\n        _initialize.apply(undefined, arguments);\n      }\n    }\n  };\n});","define('ember-useragent/instance-initializers/fastboot/ember-useragent', ['exports', 'ember'], function (exports, _ember) {\n  exports.initialize = _initialize;\n  var assert = _ember['default'].assert;\n  var setProperties = _ember['default'].setProperties;\n\n  function _initialize(appInstance) {\n\n    var UAParser = FastBoot.require('ua-parser-js'),\n        userAgent = undefined,\n        headers = undefined;\n\n    var service = appInstance.lookup('service:userAgent');\n    var fastbootService = appInstance.lookup('service:fastboot');\n\n    headers = fastbootService.get('request.headers');\n    userAgent = headers.get('user-agent');\n\n    assert('No userAgent present in ember-useragent/instance-initializers/fastboot', userAgent);\n\n    setProperties(service, {\n      _UAParser: new UAParser(userAgent),\n      userAgent: userAgent\n    });\n  }\n\n  exports['default'] = {\n    name: 'ember-useragent-fastboot',\n    initialize: function initialize() {\n      if (typeof FastBoot !== 'undefined') {\n        _initialize.apply(undefined, arguments);\n      }\n    }\n  };\n});\n/* global FastBoot */","define('ember-useragent/services/user-agent', ['exports', 'ember'], function (exports, _ember) {\n  var get = _ember['default'].get;\n  var isEqual = _ember['default'].isEqual;\n  var merge = _ember['default'].merge;\n  var setProperties = _ember['default'].setProperties;\n  exports['default'] = _ember['default'].Service.extend({\n\n    setupService: _ember['default'].observer('_UAParser', function () {\n      var parser = get(this, '_UAParser');\n\n      var browser = parser.getBrowser();\n      var device = parser.getDevice();\n      var engine = parser.getEngine();\n      var os = parser.getOS();\n\n      setProperties(this, merge({\n\n        browser: {\n          info: browser,\n          isChrome: isEqual(browser.name, 'Chrome'),\n          isEdge: isEqual(browser.name, 'Edge'),\n          isFirefox: isEqual(browser.name, 'Firefox'),\n          isIE: isEqual(browser.name, 'IE') || isEqual(browser.name, 'IE Mobile'),\n          isSafari: isEqual(browser.name, 'Safari') || isEqual(browser.name, 'Mobile Safari')\n        },\n\n        device: {\n          info: device,\n          isConsole: isEqual(device.type, 'console'),\n          isDesktop: !device.type,\n          isMobile: isEqual(device.type, 'mobile'),\n          isTablet: isEqual(device.type, 'tablet')\n        },\n\n        engine: {\n          info: engine,\n          isWebkit: isEqual(engine.name, 'WebKit')\n        },\n\n        os: {\n          info: os,\n          isAndroid: isEqual(os.name, 'Android'),\n          isIOS: isEqual(os.name, 'iOS'),\n          isLinux: isEqual(os.name, 'Linux'),\n          isMacOS: isEqual(os.name, 'Mac OS'),\n          isWindows: isEqual(os.name, 'Windows') || isEqual(os.name, 'Windows Phone') || isEqual(os.name, 'Windows Mobile')\n        }\n\n      }, parser));\n    })\n\n  });\n});","define('ember-validators/collection', ['exports', 'ember', 'ember-validators/utils/validation-error'], function (exports, _ember, _emberValidatorsUtilsValidationError) {\n  exports['default'] = validateCollection;\n  var get = _ember['default'].get;\n  var assert = _ember['default'].assert;\n  var isArray = _ember['default'].isArray;\n  var isPresent = _ember['default'].isPresent;\n\n  /**\n   *  @class Collection\n   *  @module Validators\n   */\n\n  /**\n    * @method validate\n    * @param {Any} value\n    * @param {Object} options\n    * @param {Boolean} options.collection\n    * @param {Object} model\n    * @param {String} attribute\n    */\n\n  function validateCollection(value, options, model, attribute) {\n    var collection = get(options, 'collection');\n\n    assert('[validator:collection] [' + attribute + '] option \\'collection\\' is required', isPresent(collection));\n\n    if (collection === true && !isArray(value)) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('collection', value, options);\n    }\n\n    if (collection === false && isArray(value)) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('singular', value, options);\n    }\n\n    return true;\n  }\n});\n/**\n * Copyright 2016, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */","define('ember-validators/confirmation', ['exports', 'ember', 'ember-validators/utils/validation-error'], function (exports, _ember, _emberValidatorsUtilsValidationError) {\n  exports['default'] = validateConfirmation;\n  var get = _ember['default'].get;\n  var assert = _ember['default'].assert;\n  var isEqual = _ember['default'].isEqual;\n  var isEmpty = _ember['default'].isEmpty;\n  var isPresent = _ember['default'].isPresent;\n\n  /**\n   *  @class Confirmation\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {String} options.on The attribute to confirm against\n   * @param {String} options.allowBlank If true, skips validation if the value is empty\n   * @param {Object} model\n   * @param {String} attribute\n   */\n\n  function validateConfirmation(value, options, model, attribute) {\n    var on = get(options, 'on');\n    var allowBlank = get(options, 'allowBlank');\n\n    assert('[validator:confirmation] [' + attribute + '] option \\'on\\' is required', isPresent(on));\n\n    if (allowBlank && isEmpty(value)) {\n      return true;\n    }\n\n    if (!isEqual(value, get(model, on))) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('confirmation', value, options);\n    }\n\n    return true;\n  }\n});\n/**\n * Copyright 2016, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */","define('ember-validators/date', ['exports', 'ember', 'ember-validators/utils/validation-error', 'ember-require-module'], function (exports, _ember, _emberValidatorsUtilsValidationError, _emberRequireModule) {\n  exports['default'] = validateDate;\n  exports.parseDate = parseDate;\n\n  var moment = (0, _emberRequireModule['default'])('moment');\n\n  if (!moment) {\n    throw new Error('MomentJS is required to use the Date validator.');\n  }\n\n  var getWithDefault = _ember['default'].getWithDefault;\n  var getProperties = _ember['default'].getProperties;\n  var isNone = _ember['default'].isNone;\n  var isEmpty = _ember['default'].isEmpty;\n  var set = _ember['default'].set;\n\n  /**\n   * @class Date\n   * @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.allowBlank If true, skips validation if the value is empty\n   * @param {String} options.before The specified date must be before this date\n   * @param {String} options.onOrBefore The specified date must be on or before this date\n   * @param {String} options.after The specified date must be after this date\n   * @param {String} options.onOrAfter The specified date must be on or after this date\n   * @param {String} options.precision Limit the comparison check to a specific granularity.\n   *                                   Possible Options: [`year`, `month`, `week`, `day`, `hour`, `minute`, `second`].\n   * @param {String} options.format Input value date format\n   * @param {String} options.errorFormat Error output date format. Defaults to `MMM Do, YYYY`\n   * @param {Object} model\n   * @param {String} attribute\n   */\n\n  function validateDate(value, options) {\n    var errorFormat = getWithDefault(options, 'errorFormat', 'MMM Do, YYYY');\n\n    var _getProperties = getProperties(options, ['format', 'precision', 'allowBlank']);\n\n    var format = _getProperties.format;\n    var precision = _getProperties.precision;\n    var allowBlank = _getProperties.allowBlank;\n\n    var _getProperties2 = getProperties(options, ['before', 'onOrBefore', 'after', 'onOrAfter']);\n\n    var before = _getProperties2.before;\n    var onOrBefore = _getProperties2.onOrBefore;\n    var after = _getProperties2.after;\n    var onOrAfter = _getProperties2.onOrAfter;\n\n    var date = undefined;\n\n    if (allowBlank && isEmpty(value)) {\n      return true;\n    }\n\n    if (format) {\n      date = parseDate(value, format, true);\n      if (!date.isValid()) {\n        return (0, _emberValidatorsUtilsValidationError['default'])('wrongDateFormat', value, options);\n      }\n    } else {\n      date = parseDate(value);\n      if (!date.isValid()) {\n        return (0, _emberValidatorsUtilsValidationError['default'])('date', value, options);\n      }\n    }\n\n    if (before) {\n      before = parseDate(before, format);\n      if (!date.isBefore(before, precision)) {\n        set(options, 'before', before.format(errorFormat));\n        return (0, _emberValidatorsUtilsValidationError['default'])('before', value, options);\n      }\n    }\n\n    if (onOrBefore) {\n      onOrBefore = parseDate(onOrBefore, format);\n      if (!date.isSameOrBefore(onOrBefore, precision)) {\n        set(options, 'onOrBefore', onOrBefore.format(errorFormat));\n        return (0, _emberValidatorsUtilsValidationError['default'])('onOrBefore', value, options);\n      }\n    }\n\n    if (after) {\n      after = parseDate(after, format);\n      if (!date.isAfter(after, precision)) {\n        set(options, 'after', after.format(errorFormat));\n        return (0, _emberValidatorsUtilsValidationError['default'])('after', value, options);\n      }\n    }\n\n    if (onOrAfter) {\n      onOrAfter = parseDate(onOrAfter, format);\n      if (!date.isSameOrAfter(onOrAfter, precision)) {\n        set(options, 'onOrAfter', onOrAfter.format(errorFormat));\n        return (0, _emberValidatorsUtilsValidationError['default'])('onOrAfter', value, options);\n      }\n    }\n\n    return true;\n  }\n\n  function parseDate(date, format) {\n    var useStrict = arguments.length <= 2 || arguments[2] === undefined ? false : arguments[2];\n\n    if (date === 'now' || isEmpty(date)) {\n      return moment();\n    }\n\n    return isNone(format) ? moment(new Date(date)) : moment(date, format, useStrict);\n  }\n});\n/**\n * Copyright 2016, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */","define('ember-validators/ds-error', ['exports', 'ember', 'ember-require-module', 'ember-validators/utils/validation-error'], function (exports, _ember, _emberRequireModule, _emberValidatorsUtilsValidationError) {\n  exports['default'] = validateDsError;\n  exports.getPathAndKey = getPathAndKey;\n\n  var DS = (0, _emberRequireModule['default'])('ember-data');\n\n  if (!DS) {\n    throw new Error('Ember-Data is required to use the DS Error validator.');\n  }\n\n  var get = _ember['default'].get;\n  var isNone = _ember['default'].isNone;\n\n  /**\n   *  @class DS Error\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Object} model\n   * @param {String} attribute\n   */\n\n  function validateDsError(value, options, model, attribute) {\n    var _getPathAndKey = getPathAndKey(attribute);\n\n    var path = _getPathAndKey.path;\n    var key = _getPathAndKey.key;\n\n    var errors = get(model, path);\n\n    if (!isNone(errors) && errors instanceof DS.Errors && errors.has(key)) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('ds', null, options, get(errors.errorsFor(key), 'lastObject.message'));\n    }\n\n    return true;\n  }\n\n  function getPathAndKey(attribute) {\n    var path = attribute.split('.');\n    var key = path.pop();\n\n    path.push('errors');\n\n    return { path: path.join('.'), key: key };\n  }\n});\n/**\n * Copyright 2016, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */","define('ember-validators/exclusion', ['exports', 'ember', 'ember-validators/utils/validation-error'], function (exports, _ember, _emberValidatorsUtilsValidationError) {\n  var _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i['return']) _i['return'](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError('Invalid attempt to destructure non-iterable instance'); } }; })();\n\n  exports['default'] = validateExclusion;\n  var get = _ember['default'].get;\n  var typeOf = _ember['default'].typeOf;\n  var isEmpty = _ember['default'].isEmpty;\n  var assert = _ember['default'].assert;\n  var getProperties = _ember['default'].getProperties;\n\n  /**\n   *  @class Exclusion\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.allowBlank If true, skips validation if the value is empty\n   * @param {Array} options.in The list of values this attribute should not be\n   * @param {Array} options.range The range in which the attribute's value should not reside in\n   * @param {Object} model\n   * @param {String} attribute\n   */\n\n  function validateExclusion(value, options, model, attribute) {\n    var array = get(options, 'in');\n\n    var _getProperties = getProperties(options, ['range', 'allowBlank']);\n\n    var range = _getProperties.range;\n    var allowBlank = _getProperties.allowBlank;\n\n    assert('[validator:exclusion] [' + attribute + '] no options were passed in', !isEmpty(Object.keys(options)));\n\n    if (allowBlank && isEmpty(value)) {\n      return true;\n    }\n\n    if (array && array.indexOf(value) !== -1) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('exclusion', value, options);\n    }\n\n    if (range && range.length === 2) {\n      var _range = _slicedToArray(range, 2);\n\n      var min = _range[0];\n      var max = _range[1];\n\n      var equalType = typeOf(value) === typeOf(min) && typeOf(value) === typeOf(max);\n\n      if (equalType && min <= value && value <= max) {\n        return (0, _emberValidatorsUtilsValidationError['default'])('exclusion', value, options);\n      }\n    }\n\n    return true;\n  }\n});\n/**\n * Copyright 2016, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */","define('ember-validators/format', ['exports', 'ember', 'ember-validators/utils/validation-error'], function (exports, _ember, _emberValidatorsUtilsValidationError) {\n  exports['default'] = validateFormat;\n  var set = _ember['default'].set;\n  var isNone = _ember['default'].isNone;\n  var isEmpty = _ember['default'].isEmpty;\n  var assert = _ember['default'].assert;\n  var canInvoke = _ember['default'].canInvoke;\n  var getProperties = _ember['default'].getProperties;\n\n  /**\n   *  @class Format\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.allowBlank If true, skips validation if the value is empty\n   * @param {String} options.type Can be the one of the following options [`email`, `phone`, `url`]\n   * @param {String} options.inverse If true, pass if the value doesn't match the given regex / type\n   * @param {Regex} options.regex The regular expression to test against\n   * @param {Boolean} options.allowNonTld If true, the predefined regular expression `email` allows non top-level domains\n   * @param {Number} options.minTldLength The min length of the top-level domain on the predefined `email` regular expression\n   * @param {Object} model\n   * @param {String} attribute\n   */\n  var regularExpressions = {\n    email: /^[a-z0-9!#$%&'*+\\/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+\\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,\n    phone: /^([\\+]?1\\s*[-\\/\\.]?\\s*)?(\\((\\d{3})\\)|(\\d{3}))\\s*[-\\/\\.]?\\s*(\\d{3})\\s*[-\\/\\.]?\\s*(\\d{4})\\s*(([xX]|[eE][xX][tT]?[\\.]?|extension)\\s*([#*\\d]+))*$/,\n    url: /(?:([A-Za-z]+):)?(\\/{0,3})[a-zA-Z0-9][a-zA-Z-0-9]*(\\.[\\w-]+)+([\\w.,@?^=%&amp;:\\/~+#-{}]*[\\w@?^=%&amp;\\/~+#-{}])??/\n  };\n\n  exports.regularExpressions = regularExpressions;\n\n  function validateFormat(value, options, model, attribute) {\n    var _getProperties = getProperties(options, ['regex', 'type', 'inverse', 'allowBlank']);\n\n    var regex = _getProperties.regex;\n    var type = _getProperties.type;\n    var _getProperties$inverse = _getProperties.inverse;\n    var inverse = _getProperties$inverse === undefined ? false : _getProperties$inverse;\n    var allowBlank = _getProperties.allowBlank;\n\n    assert('[validator:format] [' + attribute + '] no options were passed in', !isEmpty(Object.keys(options)));\n\n    if (allowBlank && isEmpty(value)) {\n      return true;\n    }\n\n    if (type && !regex && regularExpressions[type]) {\n      regex = regularExpressions[type];\n    }\n\n    if (type === 'email') {\n      if (regex === regularExpressions.email) {\n        regex = formatEmailRegex(options);\n      }\n\n      set(options, 'regex', regex);\n    }\n\n    if (!canInvoke(value, 'match') || regex && isEmpty(value.match(regex)) !== inverse) {\n      return (0, _emberValidatorsUtilsValidationError['default'])(type || 'invalid', value, options);\n    }\n\n    return true;\n  }\n\n  function formatEmailRegex(options) {\n    var source = regularExpressions.email.source;\n\n    var _getProperties2 = getProperties(options, ['allowNonTld', 'minTldLength']);\n\n    var allowNonTld = _getProperties2.allowNonTld;\n    var minTldLength = _getProperties2.minTldLength;\n\n    if (!isNone(minTldLength) && typeof minTldLength === 'number') {\n      source = source.replace('[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$', '[a-z0-9]{' + minTldLength + ',}(?:[a-z0-9-]*[a-z0-9])?$');\n    }\n\n    if (allowNonTld) {\n      source = source.replace('@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\\\.)', '@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\\\.?)');\n    }\n\n    return new RegExp(source, 'i');\n  }\n});\n\n/**\n * Copyright 2016, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */","define('ember-validators/inclusion', ['exports', 'ember', 'ember-validators/utils/validation-error'], function (exports, _ember, _emberValidatorsUtilsValidationError) {\n  var _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i['return']) _i['return'](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError('Invalid attempt to destructure non-iterable instance'); } }; })();\n\n  exports['default'] = validateInclusion;\n  var get = _ember['default'].get;\n  var typeOf = _ember['default'].typeOf;\n  var assert = _ember['default'].assert;\n  var isEmpty = _ember['default'].isEmpty;\n  var getProperties = _ember['default'].getProperties;\n\n  /**\n   *  @class Inclusion\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.allowBlank If true, skips validation if the value is empty\n   * @param {Array} options.in The list of values this attribute could be\n   * @param {Array} options.range The range in which the attribute's value should reside in\n   * @param {Object} model\n   * @param {String} attribute\n   */\n\n  function validateInclusion(value, options, model, attribute) {\n    var array = get(options, 'in');\n\n    var _getProperties = getProperties(options, ['range', 'allowBlank']);\n\n    var range = _getProperties.range;\n    var allowBlank = _getProperties.allowBlank;\n\n    assert('[validator:inclusion] [' + attribute + '] no options were passed in', !isEmpty(Object.keys(options)));\n\n    if (allowBlank && isEmpty(value)) {\n      return true;\n    }\n\n    if (array && array.indexOf(value) === -1) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('inclusion', value, options);\n    }\n\n    if (range && range.length === 2) {\n      var _range = _slicedToArray(range, 2);\n\n      var min = _range[0];\n      var max = _range[1];\n\n      var equalType = typeOf(value) === typeOf(min) && typeOf(value) === typeOf(max);\n\n      if (!equalType || min > value || value > max) {\n        return (0, _emberValidatorsUtilsValidationError['default'])('inclusion', value, options);\n      }\n    }\n\n    return true;\n  }\n});\n/**\n * Copyright 2016, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */","define('ember-validators/index', ['exports', 'ember', 'ember-require-module'], function (exports, _ember, _emberRequireModule) {\n  exports.validate = validate;\n  var assert = _ember['default'].assert;\n  var isPresent = _ember['default'].isPresent;\n\n  function validate(type) {\n    var validator = (0, _emberRequireModule['default'])('ember-validators/' + type);\n\n    assert('Validator not found of type: ' + type + '.', isPresent(validator));\n\n    for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n      args[_key - 1] = arguments[_key];\n    }\n\n    return validator.apply(undefined, args);\n  }\n});\n/**\n * Copyright 2016, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */","define('ember-validators/length', ['exports', 'ember', 'ember-validators/utils/validation-error'], function (exports, _ember, _emberValidatorsUtilsValidationError) {\n  exports['default'] = validateLength;\n  var get = _ember['default'].get;\n  var isNone = _ember['default'].isNone;\n  var isEmpty = _ember['default'].isEmpty;\n  var getProperties = _ember['default'].getProperties;\n\n  /**\n   *  @class Length\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.allowNone If true, skips validation if the value is null or undefined. __Default: true__\n   * @param {Boolean} options.allowBlank If true, skips validation if the value is empty\n   * @param {Boolean} options.useBetweenMessage If true, uses the between error message when `max` and `min` are both set\n   * @param {Number} options.is The exact length the value can be\n   * @param {Number} options.min The minimum length the value can be\n   * @param {Number} options.max The maximum length the value can be\n   * @param {Object} model\n   * @param {String} attribute\n   */\n\n  function validateLength(value, options) {\n    var _getProperties = getProperties(options, ['allowNone', 'allowBlank', 'useBetweenMessage', 'is', 'min', 'max']);\n\n    var _getProperties$allowNone = _getProperties.allowNone;\n    var allowNone = _getProperties$allowNone === undefined ? true : _getProperties$allowNone;\n    var allowBlank = _getProperties.allowBlank;\n    var useBetweenMessage = _getProperties.useBetweenMessage;\n    var is = _getProperties.is;\n    var min = _getProperties.min;\n    var max = _getProperties.max;\n\n    if (isNone(value)) {\n      return allowNone ? true : (0, _emberValidatorsUtilsValidationError['default'])('invalid', value, options);\n    }\n\n    if (allowBlank && isEmpty(value)) {\n      return true;\n    }\n\n    var length = get(value, 'length');\n\n    if (!isNone(is) && is !== length) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('wrongLength', value, options);\n    }\n\n    if (useBetweenMessage && !isNone(min) && !isNone(max) && (length < min || length > max)) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('between', value, options);\n    }\n\n    if (!isNone(min) && min > length) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('tooShort', value, options);\n    }\n\n    if (!isNone(max) && max < length) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('tooLong', value, options);\n    }\n\n    return true;\n  }\n});\n/**\n * Copyright 2016, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */","define('ember-validators/messages', ['exports', 'ember'], function (exports, _ember) {\n  var get = _ember['default'].get;\n  var isNone = _ember['default'].isNone;\n\n  /**\n   *  @class Messages\n   *  @module Validators\n   */\n  exports['default'] = {\n    /**\n     * Regex for matching error message placeholders\n     * @private\n     * @property _regex\n     * @type {RegExp}\n     */\n    _regex: /\\{(\\w+)\\}/g,\n\n    /**\n     * Default attribute description if one isnt passed into a validator's options\n     * @property defaultDescription\n     * @type {String}\n     */\n    defaultDescription: 'This field',\n\n    /**\n     * Get a description for a specific attribute. This is a hook\n     * for i18n solutions to retrieve attribute descriptions from a translation\n     * @method getDescriptionFor\n     * @param  {String} attribute\n     * @param  {Object} options\n     * @return {String}\n     */\n    getDescriptionFor: function getDescriptionFor(attribute) {\n      var context = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n      return get(context, 'description') || get(this, 'defaultDescription');\n    },\n\n    /**\n     * Get a message with a given type\n     * @method getMessageFor\n     * @param  {String} type\n     * @param  {Object} context\n     * @return {String}\n     */\n    getMessageFor: function getMessageFor(type) {\n      var context = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n      return this.formatMessage(get(this, type), context);\n    },\n\n    /**\n     * Regex replace all placeholders with their given context\n     * @method formatMessage\n     * @param  {String} message\n     * @param  {Object} context\n     * @return {String}\n     */\n    formatMessage: function formatMessage(message) {\n      var context = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n      var m = message;\n\n      if (isNone(m) || typeof m !== 'string') {\n        m = get(this, 'invalid');\n      }\n      return m.replace(get(this, '_regex'), function (s, attr) {\n        return get(context, attr);\n      });\n    },\n\n    /**\n     * Default validation error message strings\n     */\n    accepted: '{description} must be accepted',\n    after: '{description} must be after {after}',\n    before: '{description} must be before {before}',\n    blank: '{description} can\\'t be blank',\n    collection: '{description} must be a collection',\n    confirmation: '{description} doesn\\'t match {on}',\n    date: '{description} must be a valid date',\n    email: '{description} must be a valid email address',\n    empty: '{description} can\\'t be empty',\n    equalTo: '{description} must be equal to {is}',\n    even: '{description} must be even',\n    exclusion: '{description} is reserved',\n    greaterThan: '{description} must be greater than {gt}',\n    greaterThanOrEqualTo: '{description} must be greater than or equal to {gte}',\n    inclusion: '{description} is not included in the list',\n    invalid: '{description} is invalid',\n    lessThan: '{description} must be less than {lt}',\n    lessThanOrEqualTo: '{description} must be less than or equal to {lte}',\n    notAnInteger: '{description} must be an integer',\n    notANumber: '{description} must be a number',\n    odd: '{description} must be odd',\n    onOrAfter: '{description} must be on or after {onOrAfter}',\n    onOrBefore: '{description} must be on or before {onOrBefore}',\n    otherThan: '{description} must be other than {value}',\n    phone: '{description} must be a valid phone number',\n    positive: '{description} must be positive',\n    multipleOf: '{description} must be a multiple of {multipleOf}',\n    present: '{description} must be blank',\n    singular: '{description} can\\'t be a collection',\n    tooLong: '{description} is too long (maximum is {max} characters)',\n    tooShort: '{description} is too short (minimum is {min} characters)',\n    between: '{description} must be between {min} and {max} characters',\n    url: '{description} must be a valid url',\n    wrongDateFormat: '{description} must be in the format of {format}',\n    wrongLength: '{description} is the wrong length (should be {is} characters)'\n  };\n});\n/**\n * Copyright 2016, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */","define('ember-validators/number', ['exports', 'ember', 'ember-validators/utils/validation-error'], function (exports, _ember, _emberValidatorsUtilsValidationError) {\n  exports['default'] = validateNumber;\n  var get = _ember['default'].get;\n  var isNone = _ember['default'].isNone;\n  var isEmpty = _ember['default'].isEmpty;\n  var getProperties = _ember['default'].getProperties;\n\n  /**\n   *  @class Number\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.allowBlank If true, skips validation if the value is empty\n   * @param {Boolean} options.allowNone If true, skips validation if the value is null or undefined. __Default: true__\n   * @param {Boolean} options.allowString If true, validator will accept string representation of a number\n   * @param {Boolean} options.integer Number must be an integer\n   * @param {Boolean} options.positive Number must be greater than 0\n   * @param {Boolean} options.odd Number must be odd\n   * @param {Boolean} options.even Number must be even\n   * @param {Number} options.is Number must be equal to this value\n   * @param {Number} options.lt Number must be less than this value\n   * @param {Number} options.lte Number must be less than or equal to this value\n   * @param {Number} options.gt Number must be greater than this value\n   * @param {Number} options.gte Number must be greater than or equal to this value\n   * @param {Number} options.multipleOf Number must be a multiple of this value\n   * @param {Object} model\n   * @param {String} attribute\n   */\n\n  function validateNumber(value, options) {\n    var numValue = Number(value);\n    var optionKeys = Object.keys(options);\n\n    var _getProperties = getProperties(options, ['allowBlank', 'allowNone', 'allowString', 'integer']);\n\n    var allowBlank = _getProperties.allowBlank;\n    var _getProperties$allowNone = _getProperties.allowNone;\n    var allowNone = _getProperties$allowNone === undefined ? true : _getProperties$allowNone;\n    var allowString = _getProperties.allowString;\n    var integer = _getProperties.integer;\n\n    if (!allowNone && isNone(value)) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('notANumber', value, options);\n    }\n\n    if (allowBlank && isEmpty(value)) {\n      return true;\n    }\n\n    if (typeof value === 'string' && (isEmpty(value) || !allowString)) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('notANumber', value, options);\n    }\n\n    if (!isNumber(numValue)) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('notANumber', value, options);\n    }\n\n    if (integer && !isInteger(numValue)) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('notAnInteger', value, options);\n    }\n\n    for (var i = 0; i < optionKeys.length; i++) {\n      var type = optionKeys[i];\n      var returnValue = _validateType(type, options, numValue);\n\n      if (typeof returnValue !== 'boolean') {\n        return returnValue;\n      }\n    }\n\n    return true;\n  }\n\n  function _validateType(type, options, value) {\n    var expected = get(options, type);\n    var actual = value;\n\n    if (type === 'is' && actual !== expected) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('equalTo', value, options);\n    } else if (type === 'lt' && actual >= expected) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('lessThan', value, options);\n    } else if (type === 'lte' && actual > expected) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('lessThanOrEqualTo', value, options);\n    } else if (type === 'gt' && actual <= expected) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('greaterThan', value, options);\n    } else if (type === 'gte' && actual < expected) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('greaterThanOrEqualTo', value, options);\n    } else if (type === 'positive' && actual < 0) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('positive', value, options);\n    } else if (type === 'odd' && actual % 2 === 0) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('odd', value, options);\n    } else if (type === 'even' && actual % 2 !== 0) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('even', value, options);\n    } else if (type === 'multipleOf' && !isInteger(actual / expected)) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('multipleOf', value, options);\n    }\n\n    return true;\n  }\n\n  /*\n    Use polyfills instead of Number.isNaN or Number.isInteger to support IE & Safari\n   */\n\n  function isNumber(value) {\n    return typeof value === 'number' && !isNaN(value);\n  }\n\n  function isInteger(value) {\n    return typeof value === 'number' && isFinite(value) && Math.floor(value) === value;\n  }\n});\n/**\n * Copyright 2016, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */","define('ember-validators/presence', ['exports', 'ember', 'ember-validators/utils/validation-error', 'ember-validators/utils/unwrap-proxy'], function (exports, _ember, _emberValidatorsUtilsValidationError, _emberValidatorsUtilsUnwrapProxy) {\n  exports['default'] = validatePresence;\n  var assert = _ember['default'].assert;\n  var isEmpty = _ember['default'].isEmpty;\n  var isPresent = _ember['default'].isPresent;\n  var getProperties = _ember['default'].getProperties;\n\n  /**\n   *  @class Presence\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.presence If true validates that the given value is not empty,\n   *                                   if false, validates that the given value is empty.\n   * @param {Boolean} options.ignoreBlank If true, treats an empty or whitespace string as not present\n   * @param {Object} model\n   * @param {String} attribute\n   */\n\n  function validatePresence(value, options, model, attribute) {\n    var _getProperties = getProperties(options, ['presence', 'ignoreBlank']);\n\n    var presence = _getProperties.presence;\n    var ignoreBlank = _getProperties.ignoreBlank;\n\n    var v = (0, _emberValidatorsUtilsUnwrapProxy['default'])(value);\n    var _isPresent = ignoreBlank ? isPresent(v) : !isEmpty(v);\n\n    assert('[validator:presence] [' + attribute + '] option \\'presence\\' is required', isPresent(presence));\n\n    if (presence === true && !_isPresent) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('blank', value, options);\n    }\n\n    if (presence === false && _isPresent) {\n      return (0, _emberValidatorsUtilsValidationError['default'])('present', value, options);\n    }\n\n    return true;\n  }\n});\n/**\n * Copyright 2016, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */","define('ember-validators/utils/is-promise', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = isPromise;\n  var canInvoke = _ember['default'].canInvoke;\n\n  function isPromise(p) {\n    return !!(p && canInvoke(p, 'then'));\n  }\n});\n/**\n * Copyright 2016, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */","define('ember-validators/utils/unwrap-proxy', ['exports', 'ember'], function (exports, _ember) {\n  exports['default'] = unwrapProxy;\n  exports.isProxy = isProxy;\n  var get = _ember['default'].get;\n\n  function unwrapProxy(_x) {\n    var _again = true;\n\n    _function: while (_again) {\n      var o = _x;\n      _again = false;\n      if (isProxy(o)) {\n        _x = get(o, 'content');\n        _again = true;\n        continue _function;\n      } else {\n        return o;\n      }\n    }\n  }\n\n  function isProxy(o) {\n    return !!(o && (o instanceof _ember['default'].ObjectProxy || o instanceof _ember['default'].ArrayProxy));\n  }\n});\n/**\n * Copyright 2016, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */","define(\"ember-validators/utils/validation-error\", [\"exports\"], function (exports) {\n  exports[\"default\"] = validationError;\n  /**\n   * Copyright 2016, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  function validationError(type, value, context, message) {\n    return { type: type, value: value, context: context, message: message };\n  }\n});","define('ember-version-is/index', ['exports', 'ember', 'ember-data'], function (exports, _ember, _emberData) {\n\n  var is = function is(value, operation, version) {\n    if (arguments.length === 2 || _ember['default'].isNone(version)) {\n      _ember['default'].assert('range must be a valid semver range', semver.validRange(operation));\n      return semver.satisfies(value, operation);\n    }\n\n    switch (operation) {\n      case 'equalTo':\n        return semver.eq(value, version);\n      case 'greaterThan':\n        return semver.gt(value, version);\n      case 'greaterThanOrEqualTo':\n        return semver.gte(value, version);\n      case 'lessThan':\n        return semver.lt(value, version);\n      case 'lessThanOrEqualTo':\n        return semver.lte(value, version);\n      default:\n        throw new Error(\"Ember Version Is: Please pass either 'equalTo', 'lessThan', 'lessThanOrEqualTo', 'greaterThan' or 'greatThanOrEqualTo' as the operation argument.\");\n    }\n  };\n\n  var emberVersionIs = function emberVersionIs(operation, value) {\n    return is(_ember['default'].VERSION, operation, value);\n  };\n\n  var emberDataVersionIs = function emberDataVersionIs(operation, value) {\n    return is(_emberData['default'].VERSION, operation, value);\n  };\n\n  exports.is = is;\n  exports.emberVersionIs = emberVersionIs;\n  exports.emberDataVersionIs = emberDataVersionIs;\n  exports['default'] = emberVersionIs;\n});\n/*global semver*/","define('ember-weakmap/index', ['exports', 'ember-weakmap/weak-map'], function (exports, _emberWeakmapWeakMap) {\n  exports['default'] = typeof WeakMap !== 'undefined' ? WeakMap : _emberWeakmapWeakMap['default'];\n});","define('ember-weakmap/weak-map', ['exports', 'ember'], function (exports, _ember) {\n  var _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i['return']) _i['return'](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError('Invalid attempt to destructure non-iterable instance'); } }; })();\n\n  var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\n  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\n  var meta = _ember['default'].meta;\n\n  var id = 0;\n  var dateKey = new Date().getTime();\n  var metaKey = symbol();\n\n  function UNDEFINED() {}\n\n  function symbol() {\n    return '__ember' + dateKey + id++;\n  }\n\n  var WeakMap = (function () {\n    function WeakMap(iterable) {\n      _classCallCheck(this, WeakMap);\n\n      this._id = symbol();\n\n      if (iterable === null || iterable === undefined) {\n        return;\n      } else if (Array.isArray(iterable)) {\n        for (var i = 0; i < iterable.length; i++) {\n          var _iterable$i = _slicedToArray(iterable[i], 2);\n\n          var key = _iterable$i[0];\n          var value = _iterable$i[1];\n\n          this.set(key, value);\n        }\n      } else {\n        throw new TypeError('The weak map constructor polyfill only supports an array argument');\n      }\n    }\n\n    /*\n     * @method get\n     * @param key {Object}\n     * @return {*} stored value\n     */\n\n    _createClass(WeakMap, [{\n      key: 'get',\n      value: function get(obj) {\n        var metaInfo = meta(obj);\n        var metaObject = metaInfo[metaKey];\n\n        if (metaInfo && metaObject) {\n          if (metaObject[this._id] === UNDEFINED) {\n            return undefined;\n          }\n\n          return metaObject[this._id];\n        }\n      }\n\n      /*\n       * @method set\n       * @param key {Object}\n       * @param value {Any}\n       * @return {Any} stored value\n       */\n    }, {\n      key: 'set',\n      value: function set(obj, value) {\n        var type = typeof obj;\n\n        if (!obj || type !== 'object' && type !== 'function') {\n          throw new TypeError('Invalid value used as weak map key');\n        }\n\n        var metaInfo = meta(obj);\n        if (value === undefined) {\n          value = UNDEFINED;\n        }\n\n        if (!metaInfo[metaKey]) {\n          metaInfo[metaKey] = {};\n        }\n\n        metaInfo[metaKey][this._id] = value;\n        return this;\n      }\n\n      /*\n       * @method has\n       * @param key {Object}\n       * @return {Boolean} if the key exists\n       */\n    }, {\n      key: 'has',\n      value: function has(obj) {\n        var metaInfo = meta(obj);\n        var metaObject = metaInfo[metaKey];\n\n        return metaObject && metaObject[this._id] !== undefined;\n      }\n\n      /*\n       * @method delete\n       * @param key {Object}\n       */\n    }, {\n      key: 'delete',\n      value: function _delete(obj) {\n        var metaInfo = meta(obj);\n\n        if (this.has(obj)) {\n          delete metaInfo[metaKey][this._id];\n\n          return true;\n        }\n\n        return false;\n      }\n    }]);\n\n    return WeakMap;\n  })();\n\n  exports['default'] = _ember['default'].WeakMap ? _ember['default'].WeakMap : WeakMap;\n});","define('ember-welcome-page/components/welcome-page', ['exports', 'ember', 'ember-welcome-page/templates/components/welcome-page'], function (exports, _ember, _emberWelcomePageTemplatesComponentsWelcomePage) {\n  var _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i['return']) _i['return'](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError('Invalid attempt to destructure non-iterable instance'); } }; })();\n\n  exports['default'] = _ember['default'].Component.extend({\n    layout: _emberWelcomePageTemplatesComponentsWelcomePage['default'],\n\n    emberVersion: _ember['default'].computed(function () {\n      var _Ember$VERSION$split = _ember['default'].VERSION.split(\".\");\n\n      var _Ember$VERSION$split2 = _slicedToArray(_Ember$VERSION$split, 2);\n\n      var major = _Ember$VERSION$split2[0];\n      var minor = _Ember$VERSION$split2[1];\n\n      return major + '.' + minor + '.0';\n    })\n  });\n});","define(\"ember-welcome-page/templates/components/welcome-page\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.__esModule = true;\n  exports.default = Ember.HTMLBars.template({ \"id\": \"t1+kJFex\", \"block\": \"{\\\"statements\\\":[[11,\\\"div\\\",[]],[15,\\\"id\\\",\\\"ember-welcome-page-id-selector\\\"],[16,\\\"data-ember-version\\\",[34,[[26,[\\\"emberVersion\\\"]]]]],[13],[0,\\\"\\\\n  \\\"],[11,\\\"div\\\",[]],[15,\\\"class\\\",\\\"columns\\\"],[13],[0,\\\"\\\\n    \\\"],[11,\\\"div\\\",[]],[15,\\\"class\\\",\\\"tomster\\\"],[13],[0,\\\"\\\\n      \\\"],[11,\\\"img\\\",[]],[15,\\\"src\\\",\\\"ember-welcome-page/images/construction.png\\\"],[15,\\\"alt\\\",\\\"Under construction\\\"],[13],[14],[0,\\\"\\\\n    \\\"],[14],[0,\\\"\\\\n    \\\"],[11,\\\"div\\\",[]],[15,\\\"class\\\",\\\"welcome\\\"],[13],[0,\\\"\\\\n      \\\"],[11,\\\"h2\\\",[]],[15,\\\"id\\\",\\\"title\\\"],[13],[0,\\\"Congratulations, you made it!\\\"],[14],[0,\\\"\\\\n\\\\n      \\\"],[11,\\\"p\\\",[]],[13],[0,\\\"You’ve officially spun up your very first Ember app :-)\\\"],[14],[0,\\\"\\\\n      \\\"],[11,\\\"p\\\",[]],[13],[0,\\\"You’ve got one more decision to make: what do you want to do next? We’d suggest one of the following to help you get going:\\\"],[14],[0,\\\"\\\\n      \\\"],[11,\\\"ol\\\",[]],[13],[0,\\\"\\\\n        \\\"],[11,\\\"li\\\",[]],[13],[11,\\\"a\\\",[]],[16,\\\"href\\\",[34,[\\\"https://guides.emberjs.com/v\\\",[26,[\\\"emberVersion\\\"]],\\\"/getting-started/quick-start/\\\"]]],[13],[0,\\\"Quick Start\\\"],[14],[0,\\\" - a quick introduction to how Ember works. Learn about defining your first route, writing a UI component and deploying your application.\\\"],[14],[0,\\\"\\\\n        \\\"],[11,\\\"li\\\",[]],[13],[11,\\\"a\\\",[]],[16,\\\"href\\\",[34,[\\\"https://guides.emberjs.com/v\\\",[26,[\\\"emberVersion\\\"]],\\\"/tutorial/ember-cli/\\\"]]],[13],[0,\\\"Ember Guides\\\"],[14],[0,\\\" - this is our more thorough, hands-on intro to Ember. Your crash course in Ember philosophy, background and some in-depth discussion of how things work (and why they work the way they do).\\\"],[14],[0,\\\"\\\\n      \\\"],[14],[0,\\\"\\\\n      \\\"],[11,\\\"p\\\",[]],[13],[0,\\\"If you run into problems, you can check \\\"],[11,\\\"a\\\",[]],[15,\\\"href\\\",\\\"http://stackoverflow.com/questions/tagged/ember.js\\\"],[13],[0,\\\"Stack Overflow\\\"],[14],[0,\\\" or \\\"],[11,\\\"a\\\",[]],[15,\\\"href\\\",\\\"http://discuss.emberjs.com/\\\"],[13],[0,\\\"our forums\\\"],[14],[0,\\\"  for ideas and answers—someone’s probably been through the same thing and already posted an answer.  If not, you can post your \\\"],[11,\\\"strong\\\",[]],[13],[0,\\\"own\\\"],[14],[0,\\\" question. People love to help new Ember developers get started, and our community is incredibly supportive \\\"],[14],[0,\\\"\\\\n    \\\"],[14],[0,\\\"\\\\n  \\\"],[14],[0,\\\"\\\\n    \\\"],[11,\\\"p\\\",[]],[15,\\\"class\\\",\\\"postscript\\\"],[13],[0,\\\"To remove this welcome message, remove the \\\"],[11,\\\"code\\\",[]],[13],[0,\\\"{{welcome-page}}\\\"],[14],[0,\\\" component from your \\\"],[11,\\\"code\\\",[]],[13],[0,\\\"application.hbs\\\"],[14],[0,\\\" file.\\\"],[11,\\\"br\\\",[]],[13],[14],[0,\\\"You'll see this page update soon after!\\\"],[14],[0,\\\"\\\\n\\\"],[14],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"ember-welcome-page/templates/components/welcome-page.hbs\" } });\n});","define('emberx-select/components/x-option', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var isArray = _ember.default.isArray;\n  exports.default = _ember.default.Component.extend({\n    tagName: 'option',\n    attributeBindings: ['selected', 'name', 'disabled', 'value', 'title'],\n    classNameBindings: [':x-option'],\n\n    /**\n     * The value associated with this option. When this option is\n     * selected, the `x-select` will fire its action with this\n     * value.\n     *\n     * @property value\n     * @type Object\n     * @default null\n     */\n    value: null,\n\n    /**\n     * Property bound to the `selected` attribute of the native\n     * `<option>` element. It is aware of the containing `x-select`'s\n     * value and will mark itself if it is the same.\n     *\n     * @private\n     * @property selected\n     * @type Boolean\n     */\n    selected: _ember.default.computed('value', 'select.value', 'select.multiple', function () {\n      if (this.get('select.multiple') && isArray(this.get('select.value'))) {\n        var selectValue = _ember.default.A(this.get('select.value'));\n\n        return selectValue.includes(this.get('value'));\n      } else {\n        return this.get('value') === this.get('select.value');\n      }\n    }),\n\n    didReceiveAttrs: function didReceiveAttrs() {\n      this._super.apply(this, arguments);\n\n      var oldDisabled = this.get('_oldDisabled');\n\n      if (oldDisabled !== undefined && !oldDisabled) {\n        // Undefined means the first time\n\n        if (this.get('disabled') !== oldDisabled) {\n          this.sendAction('on-disable', this.get('value'), this.get('disabled'));\n        }\n      }\n\n      this.set('_oldDisabled', this.get('disabled'));\n    },\n\n\n    /**\n     * Register this x-option with the containing `x-select`\n     *\n     * @override\n     */\n    didInsertElement: function didInsertElement() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n\n      _ember.default.run.scheduleOnce('afterRender', function () {\n        _this.get('register')(_this);\n      });\n    },\n\n\n    /**\n     * Unregister this x-option with its containing x-select.\n     *\n     * @override\n     */\n    willDestroyElement: function willDestroyElement() {\n      this.get('unregister')(this);\n      this._super.apply(this, arguments);\n    }\n  });\n});","define('emberx-select/components/x-select', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var isArray = _ember.default.isArray,\n      computed = _ember.default.computed;\n\n\n  var isSelectedOption = function isSelectedOption(option) {\n    return option.$().is(':selected');\n  };\n\n  /**\n   * Wraps a native <select> element so that it can be object and\n   * binding aware. It is used in conjuction with the\n   * `x-option` component to construct select boxes. E.g.\n   *\n   *   {{#x-select value=\"bob\" action=\"selectPerson\"}}\n   *     {{x-option value=\"fred\"}}Fred Flintstone{{/x-option}}\n   *     {{x-option value=\"bob\"}}Bob Newhart{{/x-option}}\n   *   {{/x-select}}\n   *\n   * the options are always up to date, so that when the object bound to\n   * `value` changes, the corresponding option becomes selected.\n   *\n   * Whenever the select tag receives a change event, it will fire\n   * `action`\n   *\n   * @class Ember.XSelectComponent\n   * @extends Ember.Component\n   */\n  exports.default = _ember.default.Component.extend({\n    tagName: \"select\",\n    classNameBindings: [\":x-select\"],\n    attributeBindings: ['disabled', 'tabindex', 'multiple', 'form', 'name', 'autofocus', 'required', 'size', 'title'],\n\n    /**\n     * Bound to the `disabled` attribute on the native <select> tag.\n     *\n     * @property disabled\n     * @type Boolean\n     * @default false\n     */\n    disabled: false,\n\n    /**\n     * Bound to the `multiple` attribute on the native <select> tag.\n     *\n     * @property multiple\n     * @type Boolean\n     * @default false\n     */\n    multiple: false,\n\n    /**\n     * The collection of options for this select box. When options are\n     * rendered as a child from x-select, they will register themselves with their\n     * containing `x-select`. This is for internal book-keeping only and should\n     * not be changed from outside.\n     *\n     * @private\n     * @property options\n     */\n    options: computed(function () {\n      return _ember.default.A([]);\n    }),\n\n    /**\n     * Bound to the `tabindex` attribute on the native <select> tag.\n     *\n     * @property tabindex\n     * @type Integer\n     * @default 0\n     */\n    tabindex: 0,\n\n    /**\n     * Function for the `on-blur` action\n     *\n     * @property on-blur\n     * @type Function\n     */\n    \"on-blur\": function onBlur() {},\n\n\n    /**\n     * Function for the `on-click` action\n     *\n     * @property on-click\n     * @type Function\n     */\n    \"on-click\": function onClick() {},\n\n\n    /**\n     * Function for the `on-change` action\n     *\n     * @property on-change\n     * @type Function\n     */\n    \"on-change\": function onChange() {},\n\n\n    /**\n     * Function for the `on-focus-out` action\n     *\n     * @property on-focus-out\n     * @type Function\n     */\n    \"on-focus-out\": function onFocusOut() {},\n\n\n    /**\n     * Function that calls an action and sends the proper arguments.\n     *\n     * @method _handleAction\n     * @type Function\n     * @param {String} action - string name of the action to invoke\n     * @param {String|Object} value - current value of the component\n     * @param {Object} event - jQuery event from the current action\n     */\n    _handleAction: function _handleAction(action, value, event) {\n      var actionValue = this.get(action);\n\n      if (typeof actionValue === 'string') {\n        _ember.default.warn('x-select: You must use the action helper for all actions. The try: ' + action + '=(action \"' + actionValue + '\") in your template', false, { id: 'x-select-string-action' });\n        return;\n      }\n\n      this.get(action)(value, event);\n    },\n\n\n    /**\n     * When the select DOM event fires on the element, trigger the\n     * component's action with the current value.\n     */\n    change: function change(event) {\n      var nextValue = this._getValue();\n\n      this.sendAction('action', nextValue, event, this);\n      this._handleAction('on-change', nextValue, event);\n    },\n\n\n    /**\n     * When the click DOM event fires on the element, trigger the\n     * component's action with the component, x-select value, and the jQuery event.\n     */\n    click: function click(event) {\n      this._handleAction('on-click', this._getValue(), event);\n    },\n\n\n    /**\n     * When the blur DOM event fires on the element, trigger the\n     * component's action with the component, x-select value, and the jQuery event.\n     */\n    blur: function blur(event) {\n      this._handleAction('on-blur', this._getValue(), event);\n    },\n\n\n    /**\n     * When the focusOut DOM event fires on the element, trigger the\n     * component's action with the component, x-select value, and the jQuery event.\n     */\n    focusOut: function focusOut(event) {\n      this._handleAction('on-focus-out', this._getValue(), event);\n    },\n\n\n    /**\n     * Reads the current selection from this select's options.\n     *\n     * If this is a multi-select, then the value will be an\n     * array. Otherwise, it will be a single value which could be null.\n     *\n     * @private\n     * @return {Array|Object} the current selection\n     */\n    _getValue: function _getValue() {\n      return this.get('multiple') ? this._findMultipleValues() : this._findSingleValue();\n    },\n\n\n    /**\n     * Finds all selected values from all `x-option`\n     * children. Used when this.get('multiple') === true\n     *\n     * @private\n     * @return {Array} all the values from selected x-options\n     */\n    _findMultipleValues: function _findMultipleValues() {\n      return this.get('options').filter(isSelectedOption).map(function (option) {\n        return option.get('value');\n      });\n    },\n\n\n    /**\n     * Returns the value of the first selected `x-option`.\n     * Used when `this.get('multiple') !== true`\n     *\n     * @private\n     * @return {Object} the value of the first select `x-option`, or null\n     */\n    _findSingleValue: function _findSingleValue() {\n      var selectedValue = this.get('options').find(isSelectedOption);\n      return selectedValue ? selectedValue.get('value') : null;\n    },\n\n\n    /**\n     * If no explicit value is set, apply default values based on selected=true in\n     * the template.\n     *\n     * @private\n     */\n    _setDefaultValues: function _setDefaultValues() {\n      _ember.default.run.once(this, this.__setDefaultValues);\n    },\n\n    __setDefaultValues: function __setDefaultValues() {\n      var canSet = !this.isDestroying && !this.isDestroyed;\n      if (canSet && this.get('value') == null) {\n        this.sendAction('action', this._getValue());\n      }\n    },\n\n    /**\n     * @override\n     */\n    didInsertElement: function didInsertElement() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n\n      this.$().on('blur', function (event) {\n        _this.blur(event);\n      });\n\n      // FIXME this is an unfortunate workaround for an Edge bug for selects with required:\n      // https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8794503/\n      if (/edge\\//i.test(window.navigator.userAgent)) {\n        var value = this.$().val();\n        this.$().val(value + '-fake-edge-\\uD83D\\uDE33');\n        this.$().val(value);\n      }\n    },\n\n\n    /**\n     * @override\n     */\n    willDestroyElement: function willDestroyElement() {\n      this.$().off('blur');\n      this._super.apply(this, arguments);\n    },\n\n    /**\n     * If this is a multi-select, and the value is not an array, that\n     * probably indicates a misconfiguration somewhere, so we error out.\n     *\n     * @private\n     */\n    ensureProperType: _ember.default.on('init', _ember.default.observer('value', function () {\n      var value = this.get('value');\n\n      if (value != null && this.get('multiple') && !isArray(value)) {\n        throw new Error('x-select multiple=true was set, but value ' + value + ' is not enumerable.');\n      }\n    })),\n\n    actions: {\n\n      /**\n       * Registers a new option that is contained within x-select.\n       *\n       * This is called whenever an x-option component is inserted into the DOM.\n       *\n       * @param {<x-option>} option - x-option component.\n       * @private\n       */\n      registerOption: function registerOption(option) {\n        this.get('options').push(option);\n        this._setDefaultValues();\n      },\n\n\n      /**\n       * Removes a the passed option that is contained within x-select.\n       *\n       * This is called whenever an x-option component is begining teardown.\n       *\n       * @param {<x-option>} option - x-option component.\n       * @private\n       */\n      unregisterOption: function unregisterOption(option) {\n        this.get('options').removeObject(option);\n        this._setDefaultValues();\n      }\n    }\n  });\n});","define(\"emberx-select/templates/components/x-select\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  exports.__esModule = true;\n  exports.default = Ember.HTMLBars.template({ \"id\": \"18sBIsJi\", \"block\": \"{\\\"statements\\\":[[18,\\\"default\\\",[[33,[\\\"hash\\\"],null,[[\\\"option\\\"],[[33,[\\\"component\\\"],[\\\"x-option\\\"],[[\\\"select\\\",\\\"register\\\",\\\"unregister\\\"],[[28,[null]],[33,[\\\"action\\\"],[[28,[null]],\\\"registerOption\\\"],null],[33,[\\\"action\\\"],[[28,[null]],\\\"unregisterOption\\\"],null]]]]]]]]],[0,\\\"\\\\n\\\"]],\\\"locals\\\":[],\\\"named\\\":[],\\\"yields\\\":[\\\"default\\\"],\\\"hasPartials\\\":false}\", \"meta\": { \"moduleName\": \"emberx-select/templates/components/x-select.hbs\" } });\n});","define('ember-data/-debug/index', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.assert = assert;\n  exports.debug = debug;\n  exports.deprecate = deprecate;\n  exports.info = info;\n  exports.runInDebug = runInDebug;\n  exports.instrument = instrument;\n  exports.warn = warn;\n  exports.debugSeal = debugSeal;\n  exports.assertPolymorphicType = assertPolymorphicType;\n  function assert() {\n    return _ember.default.assert.apply(_ember.default, arguments);\n  }\n\n  function debug() {\n    return _ember.default.debug.apply(_ember.default, arguments);\n  }\n\n  function deprecate() {\n    return _ember.default.deprecate.apply(_ember.default, arguments);\n  }\n\n  function info() {\n    return _ember.default.info.apply(_ember.default, arguments);\n  }\n\n  function runInDebug() {\n    return _ember.default.runInDebug.apply(_ember.default, arguments);\n  }\n\n  function instrument(method) {\n    return method();\n  }\n\n  function warn() {\n    return _ember.default.warn.apply(_ember.default, arguments);\n  }\n\n  function debugSeal() {\n    return _ember.default.debugSeal.apply(_ember.default, arguments);\n  }\n\n  function checkPolymorphic(modelClass, addedModelClass) {\n    if (modelClass.__isMixin) {\n      //TODO Need to do this in order to support mixins, should convert to public api\n      //once it exists in Ember\n      return modelClass.__mixin.detect(addedModelClass.PrototypeMixin);\n    }\n    if (_ember.default.MODEL_FACTORY_INJECTIONS) {\n      modelClass = modelClass.superclass;\n    }\n    return modelClass.detect(addedModelClass);\n  }\n\n  /*\n    Assert that `addedRecord` has a valid type so it can be added to the\n    relationship of the `record`.\n  \n    The assert basically checks if the `addedRecord` can be added to the\n    relationship (specified via `relationshipMeta`) of the `record`.\n  \n    This utility should only be used internally, as both record parameters must\n    be an InternalModel and the `relationshipMeta` needs to be the meta\n    information about the relationship, retrieved via\n    `record.relationshipFor(key)`.\n  \n    @method assertPolymorphicType\n    @param {InternalModel} internalModel\n    @param {RelationshipMeta} relationshipMeta retrieved via\n           `record.relationshipFor(key)`\n    @param {InternalModel} addedRecord record which\n           should be added/set for the relationship\n  */\n  function assertPolymorphicType(parentInternalModel, relationshipMeta, addedInternalModel) {\n    var addedModelName = addedInternalModel.modelName;\n    var parentModelName = parentInternalModel.modelName;\n    var key = relationshipMeta.key;\n    var relationshipModelName = relationshipMeta.type;\n    var relationshipClass = parentInternalModel.store.modelFor(relationshipModelName);\n    var assertionMessage = 'You cannot add a record of modelClass \\'' + addedModelName + '\\' to the \\'' + parentModelName + '.' + key + '\\' relationship (only \\'' + relationshipModelName + '\\' allowed)';\n\n    assert(assertionMessage, checkPolymorphic(relationshipClass, addedInternalModel.modelClass));\n  }\n});","define('ember-data/-private', ['exports', 'ember', 'ember-data/-debug', 'ember-inflector', 'ember-data/version'], function (exports, Ember, emberData_Debug, emberInflector, VERSION) { 'use strict';\n\nEmber = 'default' in Ember ? Ember['default'] : Ember;\nVERSION = 'default' in VERSION ? VERSION['default'] : VERSION;\n\nvar get$1 = Ember.get;\nvar Promise = Ember.RSVP.Promise;\n\n/**\n  A `PromiseArray` is an object that acts like both an `Ember.Array`\n  and a promise. When the promise is resolved the resulting value\n  will be set to the `PromiseArray`'s `content` property. This makes\n  it easy to create data bindings with the `PromiseArray` that will be\n  updated when the promise resolves.\n\n  For more information see the [Ember.PromiseProxyMixin\n  documentation](/api/classes/Ember.PromiseProxyMixin.html).\n\n  Example\n\n  ```javascript\n  let promiseArray = DS.PromiseArray.create({\n    promise: $.getJSON('/some/remote/data.json')\n  });\n\n  promiseArray.get('length'); // 0\n\n  promiseArray.then(function() {\n    promiseArray.get('length'); // 100\n  });\n  ```\n\n  @class PromiseArray\n  @namespace DS\n  @extends Ember.ArrayProxy\n  @uses Ember.PromiseProxyMixin\n*/\n\nvar PromiseArray = Ember.ArrayProxy.extend(Ember.PromiseProxyMixin);\n\n/**\n  A `PromiseObject` is an object that acts like both an `Ember.Object`\n  and a promise. When the promise is resolved, then the resulting value\n  will be set to the `PromiseObject`'s `content` property. This makes\n  it easy to create data bindings with the `PromiseObject` that will\n  be updated when the promise resolves.\n\n  For more information see the [Ember.PromiseProxyMixin\n  documentation](/api/classes/Ember.PromiseProxyMixin.html).\n\n  Example\n\n  ```javascript\n  let promiseObject = DS.PromiseObject.create({\n    promise: $.getJSON('/some/remote/data.json')\n  });\n\n  promiseObject.get('name'); // null\n\n  promiseObject.then(function() {\n    promiseObject.get('name'); // 'Tomster'\n  });\n  ```\n\n  @class PromiseObject\n  @namespace DS\n  @extends Ember.ObjectProxy\n  @uses Ember.PromiseProxyMixin\n*/\nvar PromiseObject = Ember.ObjectProxy.extend(Ember.PromiseProxyMixin);\n\nfunction promiseObject(promise, label) {\n  return PromiseObject.create({\n    promise: Promise.resolve(promise, label)\n  });\n}\n\nfunction promiseArray(promise, label) {\n  return PromiseArray.create({\n    promise: Promise.resolve(promise, label)\n  });\n}\n\n/**\n  A PromiseManyArray is a PromiseArray that also proxies certain method calls\n  to the underlying manyArray.\n  Right now we proxy:\n\n    * `reload()`\n    * `createRecord()`\n    * `on()`\n    * `one()`\n    * `trigger()`\n    * `off()`\n    * `has()`\n\n  @class PromiseManyArray\n  @namespace DS\n  @extends Ember.ArrayProxy\n*/\n\nfunction proxyToContent(method) {\n  return function () {\n    var _get;\n\n    return (_get = get$1(this, 'content'))[method].apply(_get, arguments);\n  };\n}\n\nvar PromiseManyArray = PromiseArray.extend({\n  reload: function reload() {\n    emberData_Debug.assert('You are trying to reload an async manyArray before it has been created', get$1(this, 'content'));\n    this.set('promise', this.get('content').reload());\n    return this;\n  },\n\n\n  createRecord: proxyToContent('createRecord'),\n\n  on: proxyToContent('on'),\n\n  one: proxyToContent('one'),\n\n  trigger: proxyToContent('trigger'),\n\n  off: proxyToContent('off'),\n\n  has: proxyToContent('has')\n});\n\nvar get$2 = Ember.get;\nvar set = Ember.set;\nvar isEmpty = Ember.isEmpty;\nvar makeArray = Ember.makeArray;\n\nvar MapWithDefault = Ember.MapWithDefault;\n\n/**\n@module ember-data\n*/\n\n/**\n  Holds validation errors for a given record, organized by attribute names.\n\n  Every `DS.Model` has an `errors` property that is an instance of\n  `DS.Errors`. This can be used to display validation error\n  messages returned from the server when a `record.save()` rejects.\n\n  For Example, if you had a `User` model that looked like this:\n\n  ```app/models/user.js\n  import DS from 'ember-data';\n\n  export default DS.Model.extend({\n    username: DS.attr('string'),\n    email: DS.attr('string')\n  });\n  ```\n  And you attempted to save a record that did not validate on the backend:\n\n  ```javascript\n  let user = store.createRecord('user', {\n    username: 'tomster',\n    email: 'invalidEmail'\n  });\n  user.save();\n  ```\n\n  Your backend would be expected to return an error response that described\n  the problem, so that error messages can be generated on the app.\n\n  API responses will be translated into instances of `DS.Errors` differently,\n  depending on the specific combination of adapter and serializer used. You\n  may want to check the documentation or the source code of the libraries\n  that you are using, to know how they expect errors to be communicated.\n\n  Errors can be displayed to the user by accessing their property name\n  to get an array of all the error objects for that property. Each\n  error object is a JavaScript object with two keys:\n\n  - `message` A string containing the error message from the backend\n  - `attribute` The name of the property associated with this error message\n\n  ```handlebars\n  <label>Username: {{input value=username}} </label>\n  {{#each model.errors.username as |error|}}\n    <div class=\"error\">\n      {{error.message}}\n    </div>\n  {{/each}}\n\n  <label>Email: {{input value=email}} </label>\n  {{#each model.errors.email as |error|}}\n    <div class=\"error\">\n      {{error.message}}\n    </div>\n  {{/each}}\n  ```\n\n  You can also access the special `messages` property on the error\n  object to get an array of all the error strings.\n\n  ```handlebars\n  {{#each model.errors.messages as |message|}}\n    <div class=\"error\">\n      {{message}}\n    </div>\n  {{/each}}\n  ```\n\n  @class Errors\n  @namespace DS\n  @extends Ember.Object\n  @uses Ember.Enumerable\n  @uses Ember.Evented\n */\nvar Errors = Ember.ArrayProxy.extend(Ember.Evented, {\n  /**\n    Register with target handler\n     @method registerHandlers\n    @param {Object} target\n    @param {Function} becameInvalid\n    @param {Function} becameValid\n    @deprecated\n  */\n  registerHandlers: function registerHandlers(target, becameInvalid, becameValid) {\n    emberData_Debug.deprecate('Record errors will no longer be evented.', false, {\n      id: 'ds.errors.registerHandlers',\n      until: '3.0.0'\n    });\n\n    this._registerHandlers(target, becameInvalid, becameValid);\n  },\n\n\n  /**\n    Register with target handler\n     @method _registerHandlers\n    @private\n  */\n  _registerHandlers: function _registerHandlers(target, becameInvalid, becameValid) {\n    this.on('becameInvalid', target, becameInvalid);\n    this.on('becameValid', target, becameValid);\n  },\n\n\n  /**\n    @property errorsByAttributeName\n    @type {Ember.MapWithDefault}\n    @private\n  */\n  errorsByAttributeName: Ember.computed(function () {\n    return MapWithDefault.create({\n      defaultValue: function defaultValue() {\n        return Ember.A();\n      }\n    });\n  }),\n\n  /**\n    Returns errors for a given attribute\n     ```javascript\n    let user = store.createRecord('user', {\n      username: 'tomster',\n      email: 'invalidEmail'\n    });\n    user.save().catch(function(){\n      user.get('errors').errorsFor('email'); // returns:\n      // [{attribute: \"email\", message: \"Doesn't look like a valid email.\"}]\n    });\n    ```\n     @method errorsFor\n    @param {String} attribute\n    @return {Array}\n  */\n  errorsFor: function errorsFor(attribute) {\n    return get$2(this, 'errorsByAttributeName').get(attribute);\n  },\n\n\n  /**\n    An array containing all of the error messages for this\n    record. This is useful for displaying all errors to the user.\n     ```handlebars\n    {{#each model.errors.messages as |message|}}\n      <div class=\"error\">\n        {{message}}\n      </div>\n    {{/each}}\n    ```\n     @property messages\n    @type {Array}\n  */\n  messages: Ember.computed.mapBy('content', 'message'),\n\n  /**\n    @property content\n    @type {Array}\n    @private\n  */\n  content: Ember.computed(function () {\n    return Ember.A();\n  }),\n\n  /**\n    @method unknownProperty\n    @private\n  */\n  unknownProperty: function unknownProperty(attribute) {\n    var errors = this.errorsFor(attribute);\n    if (isEmpty(errors)) {\n      return null;\n    }\n    return errors;\n  },\n\n\n  /**\n    Total number of errors.\n     @property length\n    @type {Number}\n    @readOnly\n  */\n\n  /**\n    @property isEmpty\n    @type {Boolean}\n    @readOnly\n  */\n  isEmpty: Ember.computed.not('length').readOnly(),\n\n  /**\n    Adds error messages to a given attribute and sends\n    `becameInvalid` event to the record.\n     Example:\n     ```javascript\n    if (!user.get('username') {\n      user.get('errors').add('username', 'This field is required');\n    }\n    ```\n     @method add\n    @param {String} attribute\n    @param {(Array|String)} messages\n    @deprecated\n  */\n  add: function add(attribute, messages) {\n    emberData_Debug.warn('Interacting with a record errors object will no longer change the record state.', false, {\n      id: 'ds.errors.add'\n    });\n\n    var wasEmpty = get$2(this, 'isEmpty');\n\n    this._add(attribute, messages);\n\n    if (wasEmpty && !get$2(this, 'isEmpty')) {\n      this.trigger('becameInvalid');\n    }\n  },\n\n\n  /**\n    Adds error messages to a given attribute without sending event.\n     @method _add\n    @private\n  */\n  _add: function _add(attribute, messages) {\n    messages = this._findOrCreateMessages(attribute, messages);\n    this.addObjects(messages);\n    get$2(this, 'errorsByAttributeName').get(attribute).addObjects(messages);\n\n    this.notifyPropertyChange(attribute);\n  },\n\n\n  /**\n    @method _findOrCreateMessages\n    @private\n  */\n  _findOrCreateMessages: function _findOrCreateMessages(attribute, messages) {\n    var errors = this.errorsFor(attribute);\n    var messagesArray = makeArray(messages);\n    var _messages = new Array(messagesArray.length);\n\n    for (var i = 0; i < messagesArray.length; i++) {\n      var message = messagesArray[i];\n      var err = errors.findBy('message', message);\n      if (err) {\n        _messages[i] = err;\n      } else {\n        _messages[i] = {\n          attribute: attribute,\n          message: message\n        };\n      }\n    }\n\n    return _messages;\n  },\n\n\n  /**\n    Removes all error messages from the given attribute and sends\n    `becameValid` event to the record if there no more errors left.\n     Example:\n     ```app/models/user.js\n    import DS from 'ember-data';\n     export default DS.Model.extend({\n      email: DS.attr('string'),\n      twoFactorAuth: DS.attr('boolean'),\n      phone: DS.attr('string')\n    });\n    ```\n     ```app/routes/user/edit.js\n    import Ember from 'ember';\n     export default Ember.Route.extend({\n      actions: {\n        save: function(user) {\n           if (!user.get('twoFactorAuth')) {\n             user.get('errors').remove('phone');\n           }\n           user.save();\n         }\n      }\n    });\n    ```\n     @method remove\n    @param {String} attribute\n    @deprecated\n  */\n  remove: function remove(attribute) {\n    emberData_Debug.warn('Interacting with a record errors object will no longer change the record state.', false, {\n      id: 'ds.errors.remove'\n    });\n\n    if (get$2(this, 'isEmpty')) {\n      return;\n    }\n\n    this._remove(attribute);\n\n    if (get$2(this, 'isEmpty')) {\n      this.trigger('becameValid');\n    }\n  },\n\n\n  /**\n    Removes all error messages from the given attribute without sending event.\n     @method _remove\n    @private\n  */\n  _remove: function _remove(attribute) {\n    if (get$2(this, 'isEmpty')) {\n      return;\n    }\n\n    var content = this.rejectBy('attribute', attribute);\n    set(this, 'content', content);\n    get$2(this, 'errorsByAttributeName').delete(attribute);\n\n    this.notifyPropertyChange(attribute);\n  },\n\n\n  /**\n    Removes all error messages and sends `becameValid` event\n    to the record.\n     Example:\n     ```app/routes/user/edit.js\n    import Ember from 'ember';\n     export default Ember.Route.extend({\n      actions: {\n        retrySave: function(user) {\n           user.get('errors').clear();\n           user.save();\n         }\n      }\n    });\n    ```\n     @method clear\n    @deprecated\n  */\n  clear: function clear() {\n    emberData_Debug.warn('Interacting with a record errors object will no longer change the record state.', false, {\n      id: 'ds.errors.clear'\n    });\n\n    if (get$2(this, 'isEmpty')) {\n      return;\n    }\n\n    this._clear();\n    this.trigger('becameValid');\n  },\n\n\n  /**\n    Removes all error messages.\n    to the record.\n     @method _clear\n    @private\n  */\n  _clear: function _clear() {\n    if (get$2(this, 'isEmpty')) {\n      return;\n    }\n\n    var errorsByAttributeName = get$2(this, 'errorsByAttributeName');\n    var attributes = Ember.A();\n\n    errorsByAttributeName.forEach(function (_, attribute) {\n      attributes.push(attribute);\n    });\n\n    errorsByAttributeName.clear();\n    attributes.forEach(function (attribute) {\n      this.notifyPropertyChange(attribute);\n    }, this);\n\n    Ember.ArrayProxy.prototype.clear.call(this);\n  },\n\n\n  /**\n    Checks if there is error messages for the given attribute.\n     ```app/routes/user/edit.js\n    import Ember from 'ember';\n     export default Ember.Route.extend({\n      actions: {\n        save: function(user) {\n           if (user.get('errors').has('email')) {\n             return alert('Please update your email before attempting to save.');\n           }\n           user.save();\n         }\n      }\n    });\n    ```\n     @method has\n    @param {String} attribute\n    @return {Boolean} true if there some errors on given attribute\n  */\n  has: function has(attribute) {\n    return !isEmpty(this.errorsFor(attribute));\n  }\n});\n\nfunction isEnabled() {\n  var _Ember$FEATURES;\n\n  return (_Ember$FEATURES = Ember.FEATURES).isEnabled.apply(_Ember$FEATURES, arguments);\n}\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n/**\n  @module ember-data\n*/\n/*\n  This file encapsulates the various states that a record can transition\n  through during its lifecycle.\n*/\n/**\n  ### State\n\n  Each record has a `currentState` property that explicitly tracks what\n  state a record is in at any given time. For instance, if a record is\n  newly created and has not yet been sent to the adapter to be saved,\n  it would be in the `root.loaded.created.uncommitted` state.  If a\n  record has had local modifications made to it that are in the\n  process of being saved, the record would be in the\n  `root.loaded.updated.inFlight` state. (This state paths will be\n  explained in more detail below.)\n\n  Events are sent by the record or its store to the record's\n  `currentState` property. How the state reacts to these events is\n  dependent on which state it is in. In some states, certain events\n  will be invalid and will cause an exception to be raised.\n\n  States are hierarchical and every state is a substate of the\n  `RootState`. For example, a record can be in the\n  `root.deleted.uncommitted` state, then transition into the\n  `root.deleted.inFlight` state. If a child state does not implement\n  an event handler, the state manager will attempt to invoke the event\n  on all parent states until the root state is reached. The state\n  hierarchy of a record is described in terms of a path string. You\n  can determine a record's current state by getting the state's\n  `stateName` property:\n\n  ```javascript\n  record.get('currentState.stateName');\n  //=> \"root.created.uncommitted\"\n   ```\n\n  The hierarchy of valid states that ship with ember data looks like\n  this:\n\n  ```text\n  * root\n    * deleted\n      * saved\n      * uncommitted\n      * inFlight\n    * empty\n    * loaded\n      * created\n        * uncommitted\n        * inFlight\n      * saved\n      * updated\n        * uncommitted\n        * inFlight\n    * loading\n  ```\n\n  The `DS.Model` states are themselves stateless. What that means is\n  that, the hierarchical states that each of *those* points to is a\n  shared data structure. For performance reasons, instead of each\n  record getting its own copy of the hierarchy of states, each record\n  points to this global, immutable shared instance. How does a state\n  know which record it should be acting on? We pass the record\n  instance into the state's event handlers as the first argument.\n\n  The record passed as the first parameter is where you should stash\n  state about the record if needed; you should never store data on the state\n  object itself.\n\n  ### Events and Flags\n\n  A state may implement zero or more events and flags.\n\n  #### Events\n\n  Events are named functions that are invoked when sent to a record. The\n  record will first look for a method with the given name on the\n  current state. If no method is found, it will search the current\n  state's parent, and then its grandparent, and so on until reaching\n  the top of the hierarchy. If the root is reached without an event\n  handler being found, an exception will be raised. This can be very\n  helpful when debugging new features.\n\n  Here's an example implementation of a state with a `myEvent` event handler:\n\n  ```javascript\n  aState: DS.State.create({\n    myEvent: function(manager, param) {\n      console.log(\"Received myEvent with\", param);\n    }\n  })\n  ```\n\n  To trigger this event:\n\n  ```javascript\n  record.send('myEvent', 'foo');\n  //=> \"Received myEvent with foo\"\n  ```\n\n  Note that an optional parameter can be sent to a record's `send()` method,\n  which will be passed as the second parameter to the event handler.\n\n  Events should transition to a different state if appropriate. This can be\n  done by calling the record's `transitionTo()` method with a path to the\n  desired state. The state manager will attempt to resolve the state path\n  relative to the current state. If no state is found at that path, it will\n  attempt to resolve it relative to the current state's parent, and then its\n  parent, and so on until the root is reached. For example, imagine a hierarchy\n  like this:\n\n      * created\n        * uncommitted <-- currentState\n        * inFlight\n      * updated\n        * inFlight\n\n  If we are currently in the `uncommitted` state, calling\n  `transitionTo('inFlight')` would transition to the `created.inFlight` state,\n  while calling `transitionTo('updated.inFlight')` would transition to\n  the `updated.inFlight` state.\n\n  Remember that *only events* should ever cause a state transition. You should\n  never call `transitionTo()` from outside a state's event handler. If you are\n  tempted to do so, create a new event and send that to the state manager.\n\n  #### Flags\n\n  Flags are Boolean values that can be used to introspect a record's current\n  state in a more user-friendly way than examining its state path. For example,\n  instead of doing this:\n\n  ```javascript\n  var statePath = record.get('stateManager.currentPath');\n  if (statePath === 'created.inFlight') {\n    doSomething();\n  }\n  ```\n\n  You can say:\n\n  ```javascript\n  if (record.get('isNew') && record.get('isSaving')) {\n    doSomething();\n  }\n  ```\n\n  If your state does not set a value for a given flag, the value will\n  be inherited from its parent (or the first place in the state hierarchy\n  where it is defined).\n\n  The current set of flags are defined below. If you want to add a new flag,\n  in addition to the area below, you will also need to declare it in the\n  `DS.Model` class.\n\n\n   * [isEmpty](DS.Model.html#property_isEmpty)\n   * [isLoading](DS.Model.html#property_isLoading)\n   * [isLoaded](DS.Model.html#property_isLoaded)\n   * [hasDirtyAttributes](DS.Model.html#property_hasDirtyAttributes)\n   * [isSaving](DS.Model.html#property_isSaving)\n   * [isDeleted](DS.Model.html#property_isDeleted)\n   * [isNew](DS.Model.html#property_isNew)\n   * [isValid](DS.Model.html#property_isValid)\n\n  @namespace DS\n  @class RootState\n*/\n\nfunction _didSetProperty(internalModel, context) {\n  if (context.value === context.originalValue) {\n    delete internalModel._attributes[context.name];\n    internalModel.send('propertyWasReset', context.name);\n  } else if (context.value !== context.oldValue) {\n    internalModel.send('becomeDirty');\n  }\n\n  internalModel.updateRecordArrays();\n}\n\n// Implementation notes:\n//\n// Each state has a boolean value for all of the following flags:\n//\n// * isLoaded: The record has a populated `data` property. When a\n//   record is loaded via `store.find`, `isLoaded` is false\n//   until the adapter sets it. When a record is created locally,\n//   its `isLoaded` property is always true.\n// * isDirty: The record has local changes that have not yet been\n//   saved by the adapter. This includes records that have been\n//   created (but not yet saved) or deleted.\n// * isSaving: The record has been committed, but\n//   the adapter has not yet acknowledged that the changes have\n//   been persisted to the backend.\n// * isDeleted: The record was marked for deletion. When `isDeleted`\n//   is true and `isDirty` is true, the record is deleted locally\n//   but the deletion was not yet persisted. When `isSaving` is\n//   true, the change is in-flight. When both `isDirty` and\n//   `isSaving` are false, the change has persisted.\n// * isNew: The record was created on the client and the adapter\n//   did not yet report that it was successfully saved.\n// * isValid: The adapter did not report any server-side validation\n//   failures.\n\n// The dirty state is a abstract state whose functionality is\n// shared between the `created` and `updated` states.\n//\n// The deleted state shares the `isDirty` flag with the\n// subclasses of `DirtyState`, but with a very different\n// implementation.\n//\n// Dirty states have three child states:\n//\n// `uncommitted`: the store has not yet handed off the record\n//   to be saved.\n// `inFlight`: the store has handed off the record to be saved,\n//   but the adapter has not yet acknowledged success.\n// `invalid`: the record has invalid information and cannot be\n//   sent to the adapter yet.\nvar DirtyState = {\n  initialState: 'uncommitted',\n\n  // FLAGS\n  isDirty: true,\n\n  // SUBSTATES\n\n  // When a record first becomes dirty, it is `uncommitted`.\n  // This means that there are local pending changes, but they\n  // have not yet begun to be saved, and are not invalid.\n  uncommitted: {\n    // EVENTS\n    didSetProperty: _didSetProperty,\n\n    //TODO(Igor) reloading now triggers a\n    //loadingData event, though it seems fine?\n    loadingData: function loadingData() {},\n    propertyWasReset: function propertyWasReset(internalModel, name) {\n      if (!internalModel.hasChangedAttributes()) {\n        internalModel.send('rolledBack');\n      }\n    },\n    pushedData: function pushedData(internalModel) {\n      internalModel.updateChangedAttributes();\n\n      if (!internalModel.hasChangedAttributes()) {\n        internalModel.transitionTo('loaded.saved');\n      }\n    },\n    becomeDirty: function becomeDirty() {},\n    willCommit: function willCommit(internalModel) {\n      internalModel.transitionTo('inFlight');\n    },\n    reloadRecord: function reloadRecord(internalModel, resolve) {\n      resolve(internalModel.store._reloadRecord(internalModel));\n    },\n    rolledBack: function rolledBack(internalModel) {\n      internalModel.transitionTo('loaded.saved');\n    },\n    becameInvalid: function becameInvalid(internalModel) {\n      internalModel.transitionTo('invalid');\n    },\n    rollback: function rollback(internalModel) {\n      internalModel.rollbackAttributes();\n      internalModel.triggerLater('ready');\n    }\n  },\n\n  // Once a record has been handed off to the adapter to be\n  // saved, it is in the 'in flight' state. Changes to the\n  // record cannot be made during this window.\n  inFlight: {\n    // FLAGS\n    isSaving: true,\n\n    // EVENTS\n    didSetProperty: _didSetProperty,\n    becomeDirty: function becomeDirty() {},\n    pushedData: function pushedData() {},\n\n\n    unloadRecord: assertAgainstUnloadRecord,\n\n    // TODO: More robust semantics around save-while-in-flight\n    willCommit: function willCommit() {},\n    didCommit: function didCommit(internalModel) {\n      internalModel.transitionTo('saved');\n      internalModel.send('invokeLifecycleCallbacks', this.dirtyType);\n    },\n    becameInvalid: function becameInvalid(internalModel) {\n      internalModel.transitionTo('invalid');\n      internalModel.send('invokeLifecycleCallbacks');\n    },\n    becameError: function becameError(internalModel) {\n      internalModel.transitionTo('uncommitted');\n      internalModel.triggerLater('becameError', internalModel);\n    }\n  },\n\n  // A record is in the `invalid` if the adapter has indicated\n  // the the record failed server-side invalidations.\n  invalid: {\n    // FLAGS\n    isValid: false,\n\n    // EVENTS\n    deleteRecord: function deleteRecord(internalModel) {\n      internalModel.transitionTo('deleted.uncommitted');\n    },\n    didSetProperty: function didSetProperty(internalModel, context) {\n      internalModel.removeErrorMessageFromAttribute(context.name);\n\n      _didSetProperty(internalModel, context);\n\n      if (!internalModel.hasErrors()) {\n        this.becameValid(internalModel);\n      }\n    },\n    becameInvalid: function becameInvalid() {},\n    becomeDirty: function becomeDirty() {},\n    pushedData: function pushedData() {},\n    willCommit: function willCommit(internalModel) {\n      internalModel.clearErrorMessages();\n      internalModel.transitionTo('inFlight');\n    },\n    rolledBack: function rolledBack(internalModel) {\n      internalModel.clearErrorMessages();\n      internalModel.transitionTo('loaded.saved');\n      internalModel.triggerLater('ready');\n    },\n    becameValid: function becameValid(internalModel) {\n      internalModel.transitionTo('uncommitted');\n    },\n    invokeLifecycleCallbacks: function invokeLifecycleCallbacks(internalModel) {\n      internalModel.triggerLater('becameInvalid', internalModel);\n    }\n  }\n};\n\n// The created and updated states are created outside the state\n// chart so we can reopen their substates and add mixins as\n// necessary.\n\nfunction deepClone(object) {\n  var clone = {};\n  var value = void 0;\n\n  for (var prop in object) {\n    value = object[prop];\n    if (value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object') {\n      clone[prop] = deepClone(value);\n    } else {\n      clone[prop] = value;\n    }\n  }\n\n  return clone;\n}\n\nfunction mixin(original, hash) {\n  for (var prop in hash) {\n    original[prop] = hash[prop];\n  }\n\n  return original;\n}\n\nfunction dirtyState(options) {\n  var newState = deepClone(DirtyState);\n  return mixin(newState, options);\n}\n\nvar createdState = dirtyState({\n  dirtyType: 'created',\n  // FLAGS\n  isNew: true\n});\n\ncreatedState.invalid.rolledBack = function (internalModel) {\n  internalModel.transitionTo('deleted.saved');\n};\n\ncreatedState.uncommitted.rolledBack = function (internalModel) {\n  internalModel.transitionTo('deleted.saved');\n};\n\nvar updatedState = dirtyState({\n  dirtyType: 'updated'\n});\n\nfunction createdStateDeleteRecord(internalModel) {\n  internalModel.transitionTo('deleted.saved');\n  internalModel.send('invokeLifecycleCallbacks');\n}\n\ncreatedState.uncommitted.deleteRecord = createdStateDeleteRecord;\n\ncreatedState.invalid.deleteRecord = createdStateDeleteRecord;\n\ncreatedState.uncommitted.rollback = function (internalModel) {\n  DirtyState.uncommitted.rollback.apply(this, arguments);\n  internalModel.transitionTo('deleted.saved');\n};\n\ncreatedState.uncommitted.pushedData = function (internalModel) {\n  internalModel.transitionTo('loaded.updated.uncommitted');\n  internalModel.triggerLater('didLoad');\n};\n\ncreatedState.uncommitted.propertyWasReset = function () {};\n\nfunction assertAgainstUnloadRecord(internalModel) {\n  emberData_Debug.assert(\"You can only unload a record which is not inFlight. `\" + internalModel + \"`\", false);\n}\n\nupdatedState.inFlight.unloadRecord = assertAgainstUnloadRecord;\n\nupdatedState.uncommitted.deleteRecord = function (internalModel) {\n  internalModel.transitionTo('deleted.uncommitted');\n};\n\nvar RootState = {\n  // FLAGS\n  isEmpty: false,\n  isLoading: false,\n  isLoaded: false,\n  isDirty: false,\n  isSaving: false,\n  isDeleted: false,\n  isNew: false,\n  isValid: true,\n\n  // DEFAULT EVENTS\n\n  // Trying to roll back if you're not in the dirty state\n  // doesn't change your state. For example, if you're in the\n  // in-flight state, rolling back the record doesn't move\n  // you out of the in-flight state.\n  rolledBack: function rolledBack() {},\n  unloadRecord: function unloadRecord(internalModel) {},\n  propertyWasReset: function propertyWasReset() {},\n\n\n  // SUBSTATES\n\n  // A record begins its lifecycle in the `empty` state.\n  // If its data will come from the adapter, it will\n  // transition into the `loading` state. Otherwise, if\n  // the record is being created on the client, it will\n  // transition into the `created` state.\n  empty: {\n    isEmpty: true,\n\n    // EVENTS\n    loadingData: function loadingData(internalModel, promise) {\n      internalModel._loadingPromise = promise;\n      internalModel.transitionTo('loading');\n    },\n    loadedData: function loadedData(internalModel) {\n      internalModel.transitionTo('loaded.created.uncommitted');\n      internalModel.triggerLater('ready');\n    },\n    pushedData: function pushedData(internalModel) {\n      internalModel.transitionTo('loaded.saved');\n      internalModel.triggerLater('didLoad');\n      internalModel.triggerLater('ready');\n    }\n  },\n\n  // A record enters this state when the store asks\n  // the adapter for its data. It remains in this state\n  // until the adapter provides the requested data.\n  //\n  // Usually, this process is asynchronous, using an\n  // XHR to retrieve the data.\n  loading: {\n    // FLAGS\n    isLoading: true,\n\n    exit: function exit(internalModel) {\n      internalModel._loadingPromise = null;\n    },\n\n\n    // EVENTS\n    pushedData: function pushedData(internalModel) {\n      internalModel.transitionTo('loaded.saved');\n      internalModel.triggerLater('didLoad');\n      internalModel.triggerLater('ready');\n      //TODO this seems out of place here\n      internalModel.didCleanError();\n    },\n    becameError: function becameError(internalModel) {\n      internalModel.triggerLater('becameError', internalModel);\n    },\n    notFound: function notFound(internalModel) {\n      internalModel.transitionTo('empty');\n    }\n  },\n\n  // A record enters this state when its data is populated.\n  // Most of a record's lifecycle is spent inside substates\n  // of the `loaded` state.\n  loaded: {\n    initialState: 'saved',\n\n    // FLAGS\n    isLoaded: true,\n\n    //TODO(Igor) Reloading now triggers a loadingData event,\n    //but it should be ok?\n    loadingData: function loadingData() {},\n\n\n    // SUBSTATES\n\n    // If there are no local changes to a record, it remains\n    // in the `saved` state.\n    saved: {\n      setup: function setup(internalModel) {\n        if (internalModel.hasChangedAttributes()) {\n          internalModel.adapterDidDirty();\n        }\n      },\n\n\n      // EVENTS\n      didSetProperty: _didSetProperty,\n\n      pushedData: function pushedData() {},\n      becomeDirty: function becomeDirty(internalModel) {\n        internalModel.transitionTo('updated.uncommitted');\n      },\n      willCommit: function willCommit(internalModel) {\n        internalModel.transitionTo('updated.inFlight');\n      },\n      reloadRecord: function reloadRecord(internalModel, resolve) {\n        resolve(internalModel.store._reloadRecord(internalModel));\n      },\n      deleteRecord: function deleteRecord(internalModel) {\n        internalModel.transitionTo('deleted.uncommitted');\n      },\n      unloadRecord: function unloadRecord(internalModel) {},\n      didCommit: function didCommit() {},\n\n\n      // loaded.saved.notFound would be triggered by a failed\n      // `reload()` on an unchanged record\n      notFound: function notFound() {}\n    },\n\n    // A record is in this state after it has been locally\n    // created but before the adapter has indicated that\n    // it has been saved.\n    created: createdState,\n\n    // A record is in this state if it has already been\n    // saved to the server, but there are new local changes\n    // that have not yet been saved.\n    updated: updatedState\n  },\n\n  // A record is in this state if it was deleted from the store.\n  deleted: {\n    initialState: 'uncommitted',\n    dirtyType: 'deleted',\n\n    // FLAGS\n    isDeleted: true,\n    isLoaded: true,\n    isDirty: true,\n\n    // TRANSITIONS\n    setup: function setup(internalModel) {\n      internalModel.updateRecordArrays();\n    },\n\n\n    // SUBSTATES\n\n    // When a record is deleted, it enters the `start`\n    // state. It will exit this state when the record\n    // starts to commit.\n    uncommitted: {\n\n      // EVENTS\n\n      willCommit: function willCommit(internalModel) {\n        internalModel.transitionTo('inFlight');\n      },\n      rollback: function rollback(internalModel) {\n        internalModel.rollbackAttributes();\n        internalModel.triggerLater('ready');\n      },\n      pushedData: function pushedData() {},\n      becomeDirty: function becomeDirty() {},\n      deleteRecord: function deleteRecord() {},\n      rolledBack: function rolledBack(internalModel) {\n        internalModel.transitionTo('loaded.saved');\n        internalModel.triggerLater('ready');\n      }\n    },\n\n    // After a record starts committing, but\n    // before the adapter indicates that the deletion\n    // has saved to the server, a record is in the\n    // `inFlight` substate of `deleted`.\n    inFlight: {\n      // FLAGS\n      isSaving: true,\n\n      // EVENTS\n\n      unloadRecord: assertAgainstUnloadRecord,\n\n      // TODO: More robust semantics around save-while-in-flight\n      willCommit: function willCommit() {},\n      didCommit: function didCommit(internalModel) {\n        internalModel.transitionTo('saved');\n\n        internalModel.send('invokeLifecycleCallbacks');\n      },\n      becameError: function becameError(internalModel) {\n        internalModel.transitionTo('uncommitted');\n        internalModel.triggerLater('becameError', internalModel);\n      },\n      becameInvalid: function becameInvalid(internalModel) {\n        internalModel.transitionTo('invalid');\n        internalModel.triggerLater('becameInvalid', internalModel);\n      }\n    },\n\n    // Once the adapter indicates that the deletion has\n    // been saved, the record enters the `saved` substate\n    // of `deleted`.\n    saved: {\n      // FLAGS\n      isDirty: false,\n\n      setup: function setup(internalModel) {\n        internalModel.removeFromInverseRelationships();\n      },\n      invokeLifecycleCallbacks: function invokeLifecycleCallbacks(internalModel) {\n        internalModel.triggerLater('didDelete', internalModel);\n        internalModel.triggerLater('didCommit', internalModel);\n      },\n      willCommit: function willCommit() {},\n      didCommit: function didCommit() {}\n    },\n\n    invalid: {\n      isValid: false,\n\n      didSetProperty: function didSetProperty(internalModel, context) {\n        internalModel.removeErrorMessageFromAttribute(context.name);\n\n        _didSetProperty(internalModel, context);\n\n        if (!internalModel.hasErrors()) {\n          this.becameValid(internalModel);\n        }\n      },\n      becameInvalid: function becameInvalid() {},\n      becomeDirty: function becomeDirty() {},\n      deleteRecord: function deleteRecord() {},\n      willCommit: function willCommit() {},\n      rolledBack: function rolledBack(internalModel) {\n        internalModel.clearErrorMessages();\n        internalModel.transitionTo('loaded.saved');\n        internalModel.triggerLater('ready');\n      },\n      becameValid: function becameValid(internalModel) {\n        internalModel.transitionTo('uncommitted');\n      }\n    }\n  },\n\n  invokeLifecycleCallbacks: function invokeLifecycleCallbacks(internalModel, dirtyType) {\n    if (dirtyType === 'created') {\n      internalModel.triggerLater('didCreate', internalModel);\n    } else {\n      internalModel.triggerLater('didUpdate', internalModel);\n    }\n\n    internalModel.triggerLater('didCommit', internalModel);\n  }\n};\n\nfunction wireState(object, parent, name) {\n  // TODO: Use Object.create and copy instead\n  object = mixin(parent ? Object.create(parent) : {}, object);\n  object.parentState = parent;\n  object.stateName = name;\n\n  for (var prop in object) {\n    if (!object.hasOwnProperty(prop) || prop === 'parentState' || prop === 'stateName') {\n      continue;\n    }\n    if (_typeof(object[prop]) === 'object') {\n      object[prop] = wireState(object[prop], object, name + '.' + prop);\n    }\n  }\n\n  return object;\n}\n\nvar RootState$1 = wireState(RootState, null, 'root');\n\n// All modelNames are dasherized internally. Changing this function may\n// require changes to other normalization hooks (such as typeForRoot).\n\n/**\n This method normalizes a modelName into the format Ember Data uses\n internally.\n\n  @method normalizeModelName\n  @public\n  @param {String} modelName\n  @return {String} normalizedModelName\n  @for DS\n*/\nfunction normalizeModelName(modelName) {\n  return Ember.String.dasherize(modelName);\n}\n\nfunction typeForRelationshipMeta(meta) {\n  var modelName = void 0;\n\n  modelName = meta.type || meta.key;\n  if (meta.kind === 'hasMany') {\n    modelName = emberInflector.singularize(normalizeModelName(modelName));\n  }\n  return modelName;\n}\n\nfunction relationshipFromMeta(meta) {\n  var result = {\n    key: meta.key,\n    kind: meta.kind,\n    type: typeForRelationshipMeta(meta),\n    options: meta.options,\n    name: meta.name,\n    parentType: meta.parentType,\n    isRelationship: true\n  };\n\n  emberData_Debug.runInDebug(function () {\n    return result.parentType = meta.parentType;\n  });\n\n  return result;\n}\n\nvar Map$1 = Ember.Map;\nvar MapWithDefault$1 = Ember.MapWithDefault;\n\nvar relationshipsDescriptor = Ember.computed(function () {\n  if (Ember.testing === true && relationshipsDescriptor._cacheable === true) {\n    relationshipsDescriptor._cacheable = false;\n  }\n\n  var map = new MapWithDefault$1({\n    defaultValue: function defaultValue() {\n      return [];\n    }\n  });\n\n  // Loop through each computed property on the class\n  this.eachComputedProperty(function (name, meta) {\n    // If the computed property is a relationship, add\n    // it to the map.\n    if (meta.isRelationship) {\n      meta.key = name;\n      var relationshipsForType = map.get(typeForRelationshipMeta(meta));\n\n      relationshipsForType.push({\n        name: name,\n        kind: meta.kind\n      });\n    }\n  });\n\n  return map;\n}).readOnly();\n\nvar relatedTypesDescriptor = Ember.computed(function () {\n  var _this = this;\n\n  if (Ember.testing === true && relatedTypesDescriptor._cacheable === true) {\n    relatedTypesDescriptor._cacheable = false;\n  }\n\n  var modelName = void 0;\n  var types = Ember.A();\n\n  // Loop through each computed property on the class,\n  // and create an array of the unique types involved\n  // in relationships\n  this.eachComputedProperty(function (name, meta) {\n    if (meta.isRelationship) {\n      meta.key = name;\n      modelName = typeForRelationshipMeta(meta);\n\n      emberData_Debug.assert('You specified a hasMany (' + meta.type + ') on ' + meta.parentType + ' but ' + meta.type + ' was not found.', modelName);\n\n      if (!types.includes(modelName)) {\n        emberData_Debug.assert('Trying to sideload ' + name + ' on ' + _this.toString() + ' but the type doesn\\'t exist.', !!modelName);\n        types.push(modelName);\n      }\n    }\n  });\n\n  return types;\n}).readOnly();\n\nvar relationshipsByNameDescriptor = Ember.computed(function () {\n  var map = Map$1.create();\n\n  this.eachComputedProperty(function (name, meta) {\n    if (meta.isRelationship) {\n      meta.key = name;\n      var relationship = relationshipFromMeta(meta);\n      relationship.type = typeForRelationshipMeta(meta);\n      map.set(name, relationship);\n    }\n  });\n\n  return map;\n}).readOnly();\n\nvar get = Ember.get;\nvar computed = Ember.computed;\nvar Map = Ember.Map;\n\n/**\n  @module ember-data\n*/\n\nfunction findPossibleInverses(type, inverseType, name, relationshipsSoFar) {\n  var possibleRelationships = relationshipsSoFar || [];\n\n  var relationshipMap = get(inverseType, 'relationships');\n  if (!relationshipMap) {\n    return possibleRelationships;\n  }\n\n  var relationships = relationshipMap.get(type.modelName).filter(function (relationship) {\n    var optionsForRelationship = inverseType.metaForProperty(relationship.name).options;\n\n    if (!optionsForRelationship.inverse) {\n      return true;\n    }\n\n    return name === optionsForRelationship.inverse;\n  });\n\n  if (relationships) {\n    possibleRelationships.push.apply(possibleRelationships, relationships);\n  }\n\n  //Recurse to support polymorphism\n  if (type.superclass) {\n    findPossibleInverses(type.superclass, inverseType, name, possibleRelationships);\n  }\n\n  return possibleRelationships;\n}\n\nfunction intersection(array1, array2) {\n  var result = [];\n  array1.forEach(function (element) {\n    if (array2.indexOf(element) >= 0) {\n      result.push(element);\n    }\n  });\n\n  return result;\n}\n\nvar RESERVED_MODEL_PROPS = ['currentState', 'data', 'store'];\n\nvar retrieveFromCurrentState = computed('currentState', function (key) {\n  return get(this._internalModel.currentState, key);\n}).readOnly();\n\n/**\n\n  The model class that all Ember Data records descend from.\n  This is the public API of Ember Data models. If you are using Ember Data\n  in your application, this is the class you should use.\n  If you are working on Ember Data internals, you most likely want to be dealing\n  with `InternalModel`\n\n  @class Model\n  @namespace DS\n  @extends Ember.Object\n  @uses Ember.Evented\n*/\nvar Model = Ember.Object.extend(Ember.Evented, {\n  _internalModel: null,\n  store: null,\n  __defineNonEnumerable: function __defineNonEnumerable(property) {\n    this[property.name] = property.descriptor.value;\n  },\n\n\n  /**\n    If this property is `true` the record is in the `empty`\n    state. Empty is the first state all records enter after they have\n    been created. Most records created by the store will quickly\n    transition to the `loading` state if data needs to be fetched from\n    the server or the `created` state if the record is created on the\n    client. A record can also enter the empty state if the adapter is\n    unable to locate the record.\n     @property isEmpty\n    @type {Boolean}\n    @readOnly\n  */\n  isEmpty: retrieveFromCurrentState,\n  /**\n    If this property is `true` the record is in the `loading` state. A\n    record enters this state when the store asks the adapter for its\n    data. It remains in this state until the adapter provides the\n    requested data.\n     @property isLoading\n    @type {Boolean}\n    @readOnly\n  */\n  isLoading: retrieveFromCurrentState,\n  /**\n    If this property is `true` the record is in the `loaded` state. A\n    record enters this state when its data is populated. Most of a\n    record's lifecycle is spent inside substates of the `loaded`\n    state.\n     Example\n     ```javascript\n    let record = store.createRecord('model');\n    record.get('isLoaded'); // true\n     store.findRecord('model', 1).then(function(model) {\n      model.get('isLoaded'); // true\n    });\n    ```\n     @property isLoaded\n    @type {Boolean}\n    @readOnly\n  */\n  isLoaded: retrieveFromCurrentState,\n  /**\n    If this property is `true` the record is in the `dirty` state. The\n    record has local changes that have not yet been saved by the\n    adapter. This includes records that have been created (but not yet\n    saved) or deleted.\n     Example\n     ```javascript\n    let record = store.createRecord('model');\n    record.get('hasDirtyAttributes'); // true\n     store.findRecord('model', 1).then(function(model) {\n      model.get('hasDirtyAttributes'); // false\n      model.set('foo', 'some value');\n      model.get('hasDirtyAttributes'); // true\n    });\n    ```\n     @since 1.13.0\n    @property hasDirtyAttributes\n    @type {Boolean}\n    @readOnly\n  */\n  hasDirtyAttributes: computed('currentState.isDirty', function () {\n    return this.get('currentState.isDirty');\n  }),\n  /**\n    If this property is `true` the record is in the `saving` state. A\n    record enters the saving state when `save` is called, but the\n    adapter has not yet acknowledged that the changes have been\n    persisted to the backend.\n     Example\n     ```javascript\n    let record = store.createRecord('model');\n    record.get('isSaving'); // false\n    let promise = record.save();\n    record.get('isSaving'); // true\n    promise.then(function() {\n      record.get('isSaving'); // false\n    });\n    ```\n     @property isSaving\n    @type {Boolean}\n    @readOnly\n  */\n  isSaving: retrieveFromCurrentState,\n  /**\n    If this property is `true` the record is in the `deleted` state\n    and has been marked for deletion. When `isDeleted` is true and\n    `hasDirtyAttributes` is true, the record is deleted locally but the deletion\n    was not yet persisted. When `isSaving` is true, the change is\n    in-flight. When both `hasDirtyAttributes` and `isSaving` are false, the\n    change has persisted.\n     Example\n     ```javascript\n    let record = store.createRecord('model');\n    record.get('isDeleted');    // false\n    record.deleteRecord();\n     // Locally deleted\n    record.get('isDeleted');           // true\n    record.get('hasDirtyAttributes');  // true\n    record.get('isSaving');            // false\n     // Persisting the deletion\n    let promise = record.save();\n    record.get('isDeleted');    // true\n    record.get('isSaving');     // true\n     // Deletion Persisted\n    promise.then(function() {\n      record.get('isDeleted');          // true\n      record.get('isSaving');           // false\n      record.get('hasDirtyAttributes'); // false\n    });\n    ```\n     @property isDeleted\n    @type {Boolean}\n    @readOnly\n  */\n  isDeleted: retrieveFromCurrentState,\n  /**\n    If this property is `true` the record is in the `new` state. A\n    record will be in the `new` state when it has been created on the\n    client and the adapter has not yet report that it was successfully\n    saved.\n     Example\n     ```javascript\n    let record = store.createRecord('model');\n    record.get('isNew'); // true\n     record.save().then(function(model) {\n      model.get('isNew'); // false\n    });\n    ```\n     @property isNew\n    @type {Boolean}\n    @readOnly\n  */\n  isNew: retrieveFromCurrentState,\n  /**\n    If this property is `true` the record is in the `valid` state.\n     A record will be in the `valid` state when the adapter did not report any\n    server-side validation failures.\n     @property isValid\n    @type {Boolean}\n    @readOnly\n  */\n  isValid: retrieveFromCurrentState,\n  /**\n    If the record is in the dirty state this property will report what\n    kind of change has caused it to move into the dirty\n    state. Possible values are:\n     - `created` The record has been created by the client and not yet saved to the adapter.\n    - `updated` The record has been updated by the client and not yet saved to the adapter.\n    - `deleted` The record has been deleted by the client and not yet saved to the adapter.\n     Example\n     ```javascript\n    let record = store.createRecord('model');\n    record.get('dirtyType'); // 'created'\n    ```\n     @property dirtyType\n    @type {String}\n    @readOnly\n  */\n  dirtyType: retrieveFromCurrentState,\n\n  /**\n    If `true` the adapter reported that it was unable to save local\n    changes to the backend for any reason other than a server-side\n    validation error.\n     Example\n     ```javascript\n    record.get('isError'); // false\n    record.set('foo', 'valid value');\n    record.save().then(null, function() {\n      record.get('isError'); // true\n    });\n    ```\n     @property isError\n    @type {Boolean}\n    @readOnly\n  */\n  isError: false,\n\n  /**\n    If `true` the store is attempting to reload the record from the adapter.\n     Example\n     ```javascript\n    record.get('isReloading'); // false\n    record.reload();\n    record.get('isReloading'); // true\n    ```\n     @property isReloading\n    @type {Boolean}\n    @readOnly\n  */\n  isReloading: false,\n\n  /**\n    All ember models have an id property. This is an identifier\n    managed by an external source. These are always coerced to be\n    strings before being used internally. Note when declaring the\n    attributes for a model it is an error to declare an id\n    attribute.\n     ```javascript\n    let record = store.createRecord('model');\n    record.get('id'); // null\n     store.findRecord('model', 1).then(function(model) {\n      model.get('id'); // '1'\n    });\n    ```\n     @property id\n    @type {String}\n  */\n  id: null,\n\n  /**\n    @property currentState\n    @private\n    @type {Object}\n  */\n  currentState: RootState$1.empty,\n\n  /**\n    When the record is in the `invalid` state this object will contain\n    any errors returned by the adapter. When present the errors hash\n    contains keys corresponding to the invalid property names\n    and values which are arrays of Javascript objects with two keys:\n     - `message` A string containing the error message from the backend\n    - `attribute` The name of the property associated with this error message\n     ```javascript\n    record.get('errors.length'); // 0\n    record.set('foo', 'invalid value');\n    record.save().catch(function() {\n      record.get('errors').get('foo');\n      // [{message: 'foo should be a number.', attribute: 'foo'}]\n    });\n    ```\n     The `errors` property us useful for displaying error messages to\n    the user.\n     ```handlebars\n    <label>Username: {{input value=username}} </label>\n    {{#each model.errors.username as |error|}}\n      <div class=\"error\">\n        {{error.message}}\n      </div>\n    {{/each}}\n    <label>Email: {{input value=email}} </label>\n    {{#each model.errors.email as |error|}}\n      <div class=\"error\">\n        {{error.message}}\n      </div>\n    {{/each}}\n    ```\n      You can also access the special `messages` property on the error\n    object to get an array of all the error strings.\n     ```handlebars\n    {{#each model.errors.messages as |message|}}\n      <div class=\"error\">\n        {{message}}\n      </div>\n    {{/each}}\n    ```\n     @property errors\n    @type {DS.Errors}\n  */\n  errors: computed(function () {\n    var errors = Errors.create();\n\n    errors._registerHandlers(this._internalModel, function () {\n      this.send('becameInvalid');\n    }, function () {\n      this.send('becameValid');\n    });\n    return errors;\n  }).readOnly(),\n\n  /**\n    This property holds the `DS.AdapterError` object with which\n    last adapter operation was rejected.\n     @property adapterError\n    @type {DS.AdapterError}\n  */\n  adapterError: null,\n\n  /**\n    Create a JSON representation of the record, using the serialization\n    strategy of the store's adapter.\n    `serialize` takes an optional hash as a parameter, currently\n    supported options are:\n    - `includeId`: `true` if the record's ID should be included in the\n      JSON representation.\n     @method serialize\n    @param {Object} options\n    @return {Object} an object whose values are primitive JSON values only\n  */\n  serialize: function serialize(options) {\n    return this._internalModel.createSnapshot().serialize(options);\n  },\n\n\n  /**\n    Use [DS.JSONSerializer](DS.JSONSerializer.html) to\n    get the JSON representation of a record.\n     `toJSON` takes an optional hash as a parameter, currently\n    supported options are:\n     - `includeId`: `true` if the record's ID should be included in the\n      JSON representation.\n     @method toJSON\n    @param {Object} options\n    @return {Object} A JSON representation of the object.\n  */\n  toJSON: function toJSON(options) {\n    // container is for lazy transform lookups\n    var serializer = this.store.serializerFor('-default');\n    var snapshot = this._internalModel.createSnapshot();\n\n    return serializer.serialize(snapshot, options);\n  },\n\n\n  /**\n    Fired when the record is ready to be interacted with,\n    that is either loaded from the server or created locally.\n     @event ready\n  */\n  ready: null,\n\n  /**\n    Fired when the record is loaded from the server.\n     @event didLoad\n  */\n  didLoad: null,\n\n  /**\n    Fired when the record is updated.\n     @event didUpdate\n  */\n  didUpdate: null,\n\n  /**\n    Fired when a new record is commited to the server.\n     @event didCreate\n  */\n  didCreate: null,\n\n  /**\n    Fired when the record is deleted.\n     @event didDelete\n  */\n  didDelete: null,\n\n  /**\n    Fired when the record becomes invalid.\n     @event becameInvalid\n  */\n  becameInvalid: null,\n\n  /**\n    Fired when the record enters the error state.\n     @event becameError\n  */\n  becameError: null,\n\n  /**\n    Fired when the record is rolled back.\n     @event rolledBack\n  */\n  rolledBack: null,\n\n  //TODO Do we want to deprecate these?\n  /**\n    @method send\n    @private\n    @param {String} name\n    @param {Object} context\n  */\n  send: function send(name, context) {\n    return this._internalModel.send(name, context);\n  },\n\n\n  /**\n    @method transitionTo\n    @private\n    @param {String} name\n  */\n  transitionTo: function transitionTo(name) {\n    return this._internalModel.transitionTo(name);\n  },\n\n\n  /**\n    Marks the record as deleted but does not save it. You must call\n    `save` afterwards if you want to persist it. You might use this\n    method if you want to allow the user to still `rollbackAttributes()`\n    after a delete was made.\n     Example\n     ```app/routes/model/delete.js\n    import Ember from 'ember';\n     export default Ember.Route.extend({\n      actions: {\n        softDelete: function() {\n          this.controller.get('model').deleteRecord();\n        },\n        confirm: function() {\n          this.controller.get('model').save();\n        },\n        undo: function() {\n          this.controller.get('model').rollbackAttributes();\n        }\n      }\n    });\n    ```\n     @method deleteRecord\n  */\n  deleteRecord: function deleteRecord() {\n    this._internalModel.deleteRecord();\n  },\n\n\n  /**\n    Same as `deleteRecord`, but saves the record immediately.\n     Example\n     ```app/routes/model/delete.js\n    import Ember from 'ember';\n     export default Ember.Route.extend({\n      actions: {\n        delete: function() {\n          let controller = this.controller;\n          controller.get('model').destroyRecord().then(function() {\n            controller.transitionToRoute('model.index');\n          });\n        }\n      }\n    });\n    ```\n     If you pass an object on the `adapterOptions` property of the options\n    argument it will be passed to your adapter via the snapshot\n     ```js\n    record.destroyRecord({ adapterOptions: { subscribe: false } });\n    ```\n     ```app/adapters/post.js\n    import MyCustomAdapter from './custom-adapter';\n     export default MyCustomAdapter.extend({\n      deleteRecord: function(store, type, snapshot) {\n        if (snapshot.adapterOptions.subscribe) {\n          // ...\n        }\n        // ...\n      }\n    });\n    ```\n     @method destroyRecord\n    @param {Object} options\n    @return {Promise} a promise that will be resolved when the adapter returns\n    successfully or rejected if the adapter returns with an error.\n  */\n  destroyRecord: function destroyRecord(options) {\n    this.deleteRecord();\n    return this.save(options);\n  },\n\n\n  /**\n    Unloads the record from the store. This will cause the record to be destroyed and freed up for garbage collection.\n     @method unloadRecord\n  */\n  unloadRecord: function unloadRecord() {\n    if (this.isDestroyed) {\n      return;\n    }\n    this._internalModel.unloadRecord();\n  },\n\n\n  /**\n    @method _notifyProperties\n    @private\n  */\n  _notifyProperties: function _notifyProperties(keys) {\n    Ember.beginPropertyChanges();\n    var key = void 0;\n    for (var i = 0, length = keys.length; i < length; i++) {\n      key = keys[i];\n      this.notifyPropertyChange(key);\n    }\n    Ember.endPropertyChanges();\n  },\n\n\n  /**\n    Returns an object, whose keys are changed properties, and value is\n    an [oldProp, newProp] array.\n     The array represents the diff of the canonical state with the local state\n    of the model. Note: if the model is created locally, the canonical state is\n    empty since the adapter hasn't acknowledged the attributes yet:\n     Example\n     ```app/models/mascot.js\n    import DS from 'ember-data';\n     export default DS.Model.extend({\n      name: DS.attr('string'),\n      isAdmin: DS.attr('boolean', {\n        defaultValue: false\n      })\n    });\n    ```\n     ```javascript\n    let mascot = store.createRecord('mascot');\n     mascot.changedAttributes(); // {}\n     mascot.set('name', 'Tomster');\n    mascot.changedAttributes(); // { name: [undefined, 'Tomster'] }\n     mascot.set('isAdmin', true);\n    mascot.changedAttributes(); // { isAdmin: [undefined, true], name: [undefined, 'Tomster'] }\n     mascot.save().then(function() {\n      mascot.changedAttributes(); // {}\n       mascot.set('isAdmin', false);\n      mascot.changedAttributes(); // { isAdmin: [true, false] }\n    });\n    ```\n     @method changedAttributes\n    @return {Object} an object, whose keys are changed properties,\n      and value is an [oldProp, newProp] array.\n  */\n  changedAttributes: function changedAttributes() {\n    return this._internalModel.changedAttributes();\n  },\n\n\n  //TODO discuss with tomhuda about events/hooks\n  //Bring back as hooks?\n  /**\n    @method adapterWillCommit\n    @private\n  adapterWillCommit: function() {\n    this.send('willCommit');\n  },\n   /**\n    @method adapterDidDirty\n    @private\n  adapterDidDirty: function() {\n    this.send('becomeDirty');\n    this.updateRecordArraysLater();\n  },\n  */\n\n  /**\n    If the model `hasDirtyAttributes` this function will discard any unsaved\n    changes. If the model `isNew` it will be removed from the store.\n     Example\n     ```javascript\n    record.get('name'); // 'Untitled Document'\n    record.set('name', 'Doc 1');\n    record.get('name'); // 'Doc 1'\n    record.rollbackAttributes();\n    record.get('name'); // 'Untitled Document'\n    ```\n     @since 1.13.0\n    @method rollbackAttributes\n  */\n  rollbackAttributes: function rollbackAttributes() {\n    this._internalModel.rollbackAttributes();\n  },\n\n\n  /*\n    @method _createSnapshot\n    @private\n  */\n  _createSnapshot: function _createSnapshot() {\n    return this._internalModel.createSnapshot();\n  },\n  toStringExtension: function toStringExtension() {\n    return get(this, 'id');\n  },\n\n\n  /**\n    Save the record and persist any changes to the record to an\n    external source via the adapter.\n     Example\n     ```javascript\n    record.set('name', 'Tomster');\n    record.save().then(function() {\n      // Success callback\n    }, function() {\n      // Error callback\n    });\n    ```\n    If you pass an object on the `adapterOptions` property of the options\n   argument it will be passed to you adapter via the snapshot\n     ```js\n    record.save({ adapterOptions: { subscribe: false } });\n    ```\n     ```app/adapters/post.js\n    import MyCustomAdapter from './custom-adapter';\n     export default MyCustomAdapter.extend({\n      updateRecord: function(store, type, snapshot) {\n        if (snapshot.adapterOptions.subscribe) {\n          // ...\n        }\n        // ...\n      }\n    });\n    ```\n     @method save\n    @param {Object} options\n    @return {Promise} a promise that will be resolved when the adapter returns\n    successfully or rejected if the adapter returns with an error.\n  */\n  save: function save(options) {\n    var _this = this;\n\n    return PromiseObject.create({\n      promise: this._internalModel.save(options).then(function () {\n        return _this;\n      })\n    });\n  },\n\n\n  /**\n    Reload the record from the adapter.\n     This will only work if the record has already finished loading.\n     Example\n     ```app/routes/model/view.js\n    import Ember from 'ember';\n     export default Ember.Route.extend({\n      actions: {\n        reload: function() {\n          this.controller.get('model').reload().then(function(model) {\n            // do something with the reloaded model\n          });\n        }\n      }\n    });\n    ```\n     @method reload\n    @return {Promise} a promise that will be resolved with the record when the\n    adapter returns successfully or rejected if the adapter returns\n    with an error.\n  */\n  reload: function reload() {\n    var _this2 = this;\n\n    return PromiseObject.create({\n      promise: this._internalModel.reload().then(function () {\n        return _this2;\n      })\n    });\n  },\n\n\n  /**\n    Override the default event firing from Ember.Evented to\n    also call methods with the given name.\n     @method trigger\n    @private\n    @param {String} name\n  */\n  trigger: function trigger(name) {\n    var fn = this[name];\n\n    if (typeof fn === 'function') {\n      var length = arguments.length;\n      var args = new Array(length - 1);\n\n      for (var i = 1; i < length; i++) {\n        args[i - 1] = arguments[i];\n      }\n      fn.apply(this, args);\n    }\n\n    this._super.apply(this, arguments);\n  },\n  attr: function attr() {\n    emberData_Debug.assert(\"The `attr` method is not available on DS.Model, a DS.Snapshot was probably expected. Are you passing a DS.Model instead of a DS.Snapshot to your serializer?\", false);\n  },\n\n\n  /**\n    Get the reference for the specified belongsTo relationship.\n     Example\n     ```app/models/blog.js\n    export default DS.Model.extend({\n      user: DS.belongsTo({ async: true })\n    });\n    ```\n     ```javascript\n    let blog = store.push({\n      data: {\n        type: 'blog',\n        id: 1,\n        relationships: {\n          user: {\n            data: { type: 'user', id: 1 }\n          }\n        }\n      }\n    });\n    let userRef = blog.belongsTo('user');\n     // check if the user relationship is loaded\n    let isLoaded = userRef.value() !== null;\n     // get the record of the reference (null if not yet available)\n    let user = userRef.value();\n     // get the identifier of the reference\n    if (userRef.remoteType() === \"id\") {\n      let id = userRef.id();\n    } else if (userRef.remoteType() === \"link\") {\n      let link = userRef.link();\n    }\n     // load user (via store.findRecord or store.findBelongsTo)\n    userRef.load().then(...)\n     // or trigger a reload\n    userRef.reload().then(...)\n     // provide data for reference\n    userRef.push({\n      type: 'user',\n      id: 1,\n      attributes: {\n        username: \"@user\"\n      }\n    }).then(function(user) {\n      userRef.value() === user;\n    });\n    ```\n     @method belongsTo\n    @param {String} name of the relationship\n    @since 2.5.0\n    @return {BelongsToReference} reference for this relationship\n  */\n  belongsTo: function belongsTo(name) {\n    return this._internalModel.referenceFor('belongsTo', name);\n  },\n\n\n  /**\n    Get the reference for the specified hasMany relationship.\n     Example\n     ```javascript\n    // models/blog.js\n    export default DS.Model.extend({\n      comments: DS.hasMany({ async: true })\n    });\n     let blog = store.push({\n      data: {\n        type: 'blog',\n        id: 1,\n        relationships: {\n          comments: {\n            data: [\n              { type: 'comment', id: 1 },\n              { type: 'comment', id: 2 }\n            ]\n          }\n        }\n      }\n    });\n    let commentsRef = blog.hasMany('comments');\n     // check if the comments are loaded already\n    let isLoaded = commentsRef.value() !== null;\n     // get the records of the reference (null if not yet available)\n    let comments = commentsRef.value();\n     // get the identifier of the reference\n    if (commentsRef.remoteType() === \"ids\") {\n      let ids = commentsRef.ids();\n    } else if (commentsRef.remoteType() === \"link\") {\n      let link = commentsRef.link();\n    }\n     // load comments (via store.findMany or store.findHasMany)\n    commentsRef.load().then(...)\n     // or trigger a reload\n    commentsRef.reload().then(...)\n     // provide data for reference\n    commentsRef.push([{ type: 'comment', id: 1 }, { type: 'comment', id: 2 }]).then(function(comments) {\n      commentsRef.value() === comments;\n    });\n    ```\n     @method hasMany\n    @param {String} name of the relationship\n    @since 2.5.0\n    @return {HasManyReference} reference for this relationship\n  */\n  hasMany: function hasMany(name) {\n    return this._internalModel.referenceFor('hasMany', name);\n  },\n\n\n  setId: Ember.observer('id', function () {\n    this._internalModel.setId(this.get('id'));\n  }),\n\n  /**\n   Provides info about the model for debugging purposes\n   by grouping the properties into more semantic groups.\n    Meant to be used by debugging tools such as the Chrome Ember Extension.\n    - Groups all attributes in \"Attributes\" group.\n   - Groups all belongsTo relationships in \"Belongs To\" group.\n   - Groups all hasMany relationships in \"Has Many\" group.\n   - Groups all flags in \"Flags\" group.\n   - Flags relationship CPs as expensive properties.\n    @method _debugInfo\n   @for DS.Model\n   @private\n   */\n  _debugInfo: function _debugInfo() {\n    var attributes = ['id'];\n    var relationships = {};\n    var expensiveProperties = [];\n\n    this.eachAttribute(function (name, meta) {\n      return attributes.push(name);\n    });\n\n    var groups = [{\n      name: 'Attributes',\n      properties: attributes,\n      expand: true\n    }];\n\n    this.eachRelationship(function (name, relationship) {\n      var properties = relationships[relationship.kind];\n\n      if (properties === undefined) {\n        properties = relationships[relationship.kind] = [];\n        groups.push({\n          name: relationship.name,\n          properties: properties,\n          expand: true\n        });\n      }\n      properties.push(name);\n      expensiveProperties.push(name);\n    });\n\n    groups.push({\n      name: 'Flags',\n      properties: ['isLoaded', 'hasDirtyAttributes', 'isSaving', 'isDeleted', 'isError', 'isNew', 'isValid']\n    });\n\n    return {\n      propertyInfo: {\n        // include all other mixins / properties (not just the grouped ones)\n        includeOtherProperties: true,\n        groups: groups,\n        // don't pre-calculate unless cached\n        expensiveProperties: expensiveProperties\n      }\n    };\n  },\n  notifyBelongsToChanged: function notifyBelongsToChanged(key) {\n    this.notifyPropertyChange(key);\n  },\n\n  /**\n   Given a callback, iterates over each of the relationships in the model,\n   invoking the callback with the name of each relationship and its relationship\n   descriptor.\n     The callback method you provide should have the following signature (all\n   parameters are optional):\n    ```javascript\n   function(name, descriptor);\n   ```\n    - `name` the name of the current property in the iteration\n   - `descriptor` the meta object that describes this relationship\n    The relationship descriptor argument is an object with the following properties.\n    - **key** <span class=\"type\">String</span> the name of this relationship on the Model\n   - **kind** <span class=\"type\">String</span> \"hasMany\" or \"belongsTo\"\n   - **options** <span class=\"type\">Object</span> the original options hash passed when the relationship was declared\n   - **parentType** <span class=\"type\">DS.Model</span> the type of the Model that owns this relationship\n   - **type** <span class=\"type\">String</span> the type name of the related Model\n    Note that in addition to a callback, you can also pass an optional target\n   object that will be set as `this` on the context.\n    Example\n    ```app/serializers/application.js\n   import DS from 'ember-data';\n    export default DS.JSONSerializer.extend({\n    serialize: function(record, options) {\n      let json = {};\n       record.eachRelationship(function(name, descriptor) {\n        if (descriptor.kind === 'hasMany') {\n          let serializedHasManyName = name.toUpperCase() + '_IDS';\n          json[serializedHasManyName] = record.get(name).mapBy('id');\n        }\n      });\n       return json;\n    }\n  });\n   ```\n    @method eachRelationship\n   @param {Function} callback the callback to invoke\n   @param {any} binding the value to which the callback's `this` should be bound\n   */\n  eachRelationship: function eachRelationship(callback, binding) {\n    this.constructor.eachRelationship(callback, binding);\n  },\n  relationshipFor: function relationshipFor(name) {\n    return get(this.constructor, 'relationshipsByName').get(name);\n  },\n  inverseFor: function inverseFor(key) {\n    return this.constructor.inverseFor(key, this.store);\n  },\n  notifyHasManyAdded: function notifyHasManyAdded(key) {\n    //We need to notifyPropertyChange in the adding case because we need to make sure\n    //we fetch the newly added record in case it is unloaded\n    //TODO(Igor): Consider whether we could do this only if the record state is unloaded\n\n    //Goes away once hasMany is double promisified\n    this.notifyPropertyChange(key);\n  },\n  eachAttribute: function eachAttribute(callback, binding) {\n    this.constructor.eachAttribute(callback, binding);\n  }\n});\n\n/**\n @property data\n @private\n @type {Object}\n */\nObject.defineProperty(Model.prototype, 'data', {\n  get: function get() {\n    return this._internalModel._data;\n  }\n});\n\nemberData_Debug.runInDebug(function () {\n  Model.reopen({\n    init: function init() {\n      this._super.apply(this, arguments);\n\n      if (!this._internalModel) {\n        throw new Ember.Error('You should not call `create` on a model. Instead, call `store.createRecord` with the attributes you would like to set.');\n      }\n    }\n  });\n});\n\nModel.reopenClass({\n  isModel: true,\n\n  /**\n    Override the class' `create()` method to raise an error. This\n    prevents end users from inadvertently calling `create()` instead\n    of `createRecord()`. The store is still able to create instances\n    by calling the `_create()` method. To create an instance of a\n    `DS.Model` use [store.createRecord](DS.Store.html#method_createRecord).\n     @method create\n    @private\n    @static\n  */\n  /**\n   Represents the model's class name as a string. This can be used to look up the model's class name through\n   `DS.Store`'s modelFor method.\n    `modelName` is generated for you by Ember Data. It will be a lowercased, dasherized string.\n   For example:\n    ```javascript\n   store.modelFor('post').modelName; // 'post'\n   store.modelFor('blog-post').modelName; // 'blog-post'\n   ```\n    The most common place you'll want to access `modelName` is in your serializer's `payloadKeyFromModelName` method. For example, to change payload\n   keys to underscore (instead of dasherized), you might use the following code:\n    ```javascript\n   export default const PostSerializer = DS.RESTSerializer.extend({\n     payloadKeyFromModelName: function(modelName) {\n       return Ember.String.underscore(modelName);\n     }\n   });\n   ```\n   @property modelName\n   @type String\n   @readonly\n   @static\n  */\n  modelName: null,\n\n  /*\n   These class methods below provide relationship\n   introspection abilities about relationships.\n    A note about the computed properties contained here:\n    **These properties are effectively sealed once called for the first time.**\n   To avoid repeatedly doing expensive iteration over a model's fields, these\n   values are computed once and then cached for the remainder of the runtime of\n   your application.\n    If your application needs to modify a class after its initial definition\n   (for example, using `reopen()` to add additional attributes), make sure you\n   do it before using your model with the store, which uses these properties\n   extensively.\n   */\n\n  /**\n   For a given relationship name, returns the model type of the relationship.\n    For example, if you define a model like this:\n    ```app/models/post.js\n   import DS from 'ember-data';\n    export default DS.Model.extend({\n      comments: DS.hasMany('comment')\n    });\n   ```\n    Calling `store.modelFor('post').typeForRelationship('comments', store)` will return `Comment`.\n    @method typeForRelationship\n   @static\n   @param {String} name the name of the relationship\n   @param {store} store an instance of DS.Store\n   @return {DS.Model} the type of the relationship, or undefined\n   */\n  typeForRelationship: function typeForRelationship(name, store) {\n    var relationship = get(this, 'relationshipsByName').get(name);\n    return relationship && store.modelFor(relationship.type);\n  },\n\n\n  inverseMap: Ember.computed(function () {\n    return Object.create(null);\n  }),\n\n  /**\n   Find the relationship which is the inverse of the one asked for.\n    For example, if you define models like this:\n    ```app/models/post.js\n   import DS from 'ember-data';\n    export default DS.Model.extend({\n      comments: DS.hasMany('message')\n    });\n   ```\n    ```app/models/message.js\n   import DS from 'ember-data';\n    export default DS.Model.extend({\n      owner: DS.belongsTo('post')\n    });\n   ```\n    ``` js\n   store.modelFor('post').inverseFor('comments', store) // { type: App.Message, name: 'owner', kind: 'belongsTo' }\n   store.modelFor('message').inverseFor('owner', store) // { type: App.Post, name: 'comments', kind: 'hasMany' }\n   ```\n    @method inverseFor\n   @static\n   @param {String} name the name of the relationship\n   @param {DS.Store} store\n   @return {Object} the inverse relationship, or null\n   */\n  inverseFor: function inverseFor(name, store) {\n    var inverseMap = get(this, 'inverseMap');\n    if (inverseMap[name] !== undefined) {\n      return inverseMap[name];\n    } else {\n      var relationship = get(this, 'relationshipsByName').get(name);\n      if (!relationship) {\n        inverseMap[name] = null;\n        return null;\n      }\n\n      var options = relationship.options;\n      if (options && options.inverse === null) {\n        // populate the cache with a miss entry so we can skip getting and going\n        // through `relationshipsByName`\n        inverseMap[name] = null;\n        return null;\n      }\n\n      return inverseMap[name] = this._findInverseFor(name, store);\n    }\n  },\n\n\n  //Calculate the inverse, ignoring the cache\n  _findInverseFor: function _findInverseFor(name, store) {\n\n    var inverseType = this.typeForRelationship(name, store);\n    if (!inverseType) {\n      return null;\n    }\n\n    var propertyMeta = this.metaForProperty(name);\n    //If inverse is manually specified to be null, like  `comments: DS.hasMany('message', { inverse: null })`\n    var options = propertyMeta.options;\n    if (options.inverse === null) {\n      return null;\n    }\n\n    var inverseName = void 0,\n        inverseKind = void 0,\n        inverse = void 0;\n\n    //If inverse is specified manually, return the inverse\n    if (options.inverse) {\n      inverseName = options.inverse;\n      inverse = Ember.get(inverseType, 'relationshipsByName').get(inverseName);\n\n      emberData_Debug.assert(\"We found no inverse relationships by the name of '\" + inverseName + \"' on the '\" + inverseType.modelName + \"' model. This is most likely due to a missing attribute on your model definition.\", !Ember.isNone(inverse));\n\n      inverseKind = inverse.kind;\n    } else {\n      //No inverse was specified manually, we need to use a heuristic to guess one\n      if (propertyMeta.parentType && propertyMeta.type === propertyMeta.parentType.modelName) {\n        emberData_Debug.warn('Detected a reflexive relationship by the name of \\'' + name + '\\' without an inverse option. Look at http://emberjs.com/guides/models/defining-models/#toc_reflexive-relation for how to explicitly specify inverses.', false, {\n          id: 'ds.model.reflexive-relationship-without-inverse'\n        });\n      }\n\n      var possibleRelationships = findPossibleInverses(this, inverseType, name);\n\n      if (possibleRelationships.length === 0) {\n        return null;\n      }\n\n      var filteredRelationships = possibleRelationships.filter(function (possibleRelationship) {\n        var optionsForRelationship = inverseType.metaForProperty(possibleRelationship.name).options;\n        return name === optionsForRelationship.inverse;\n      });\n\n      emberData_Debug.assert(\"You defined the '\" + name + \"' relationship on \" + this + \", but you defined the inverse relationships of type \" + inverseType.toString() + \" multiple times. Look at http://emberjs.com/guides/models/defining-models/#toc_explicit-inverses for how to explicitly specify inverses\", filteredRelationships.length < 2);\n\n      if (filteredRelationships.length === 1) {\n        possibleRelationships = filteredRelationships;\n      }\n\n      emberData_Debug.assert(\"You defined the '\" + name + \"' relationship on \" + this + \", but multiple possible inverse relationships of type \" + this + \" were found on \" + inverseType + \". Look at http://emberjs.com/guides/models/defining-models/#toc_explicit-inverses for how to explicitly specify inverses\", possibleRelationships.length === 1);\n\n      inverseName = possibleRelationships[0].name;\n      inverseKind = possibleRelationships[0].kind;\n    }\n\n    return {\n      type: inverseType,\n      name: inverseName,\n      kind: inverseKind\n    };\n  },\n\n\n  /**\n   The model's relationships as a map, keyed on the type of the\n   relationship. The value of each entry is an array containing a descriptor\n   for each relationship with that type, describing the name of the relationship\n   as well as the type.\n    For example, given the following model definition:\n    ```app/models/blog.js\n   import DS from 'ember-data';\n    export default DS.Model.extend({\n      users: DS.hasMany('user'),\n      owner: DS.belongsTo('user'),\n      posts: DS.hasMany('post')\n    });\n   ```\n    This computed property would return a map describing these\n   relationships, like this:\n    ```javascript\n   import Ember from 'ember';\n   import Blog from 'app/models/blog';\n   import User from 'app/models/user';\n   import Post from 'app/models/post';\n    let relationships = Ember.get(Blog, 'relationships');\n   relationships.get(User);\n   //=> [ { name: 'users', kind: 'hasMany' },\n   //     { name: 'owner', kind: 'belongsTo' } ]\n   relationships.get(Post);\n   //=> [ { name: 'posts', kind: 'hasMany' } ]\n   ```\n    @property relationships\n   @static\n   @type Ember.Map\n   @readOnly\n   */\n\n  relationships: relationshipsDescriptor,\n\n  /**\n   A hash containing lists of the model's relationships, grouped\n   by the relationship kind. For example, given a model with this\n   definition:\n    ```app/models/blog.js\n   import DS from 'ember-data';\n    export default DS.Model.extend({\n      users: DS.hasMany('user'),\n      owner: DS.belongsTo('user'),\n       posts: DS.hasMany('post')\n    });\n   ```\n    This property would contain the following:\n    ```javascript\n   import Ember from 'ember';\n   import Blog from 'app/models/blog';\n    let relationshipNames = Ember.get(Blog, 'relationshipNames');\n   relationshipNames.hasMany;\n   //=> ['users', 'posts']\n   relationshipNames.belongsTo;\n   //=> ['owner']\n   ```\n    @property relationshipNames\n   @static\n   @type Object\n   @readOnly\n   */\n  relationshipNames: Ember.computed(function () {\n    var names = {\n      hasMany: [],\n      belongsTo: []\n    };\n\n    this.eachComputedProperty(function (name, meta) {\n      if (meta.isRelationship) {\n        names[meta.kind].push(name);\n      }\n    });\n\n    return names;\n  }),\n\n  /**\n   An array of types directly related to a model. Each type will be\n   included once, regardless of the number of relationships it has with\n   the model.\n    For example, given a model with this definition:\n    ```app/models/blog.js\n   import DS from 'ember-data';\n    export default DS.Model.extend({\n      users: DS.hasMany('user'),\n      owner: DS.belongsTo('user'),\n       posts: DS.hasMany('post')\n    });\n   ```\n    This property would contain the following:\n    ```javascript\n   import Ember from 'ember';\n   import Blog from 'app/models/blog';\n    let relatedTypes = Ember.get(Blog, 'relatedTypes');\n   //=> [ User, Post ]\n   ```\n    @property relatedTypes\n   @static\n   @type Ember.Array\n   @readOnly\n   */\n  relatedTypes: relatedTypesDescriptor,\n\n  /**\n   A map whose keys are the relationships of a model and whose values are\n   relationship descriptors.\n    For example, given a model with this\n   definition:\n    ```app/models/blog.js\n   import DS from 'ember-data';\n    export default DS.Model.extend({\n      users: DS.hasMany('user'),\n      owner: DS.belongsTo('user'),\n       posts: DS.hasMany('post')\n    });\n   ```\n    This property would contain the following:\n    ```javascript\n   import Ember from 'ember';\n   import Blog from 'app/models/blog';\n    let relationshipsByName = Ember.get(Blog, 'relationshipsByName');\n   relationshipsByName.get('users');\n   //=> { key: 'users', kind: 'hasMany', type: 'user', options: Object, isRelationship: true }\n   relationshipsByName.get('owner');\n   //=> { key: 'owner', kind: 'belongsTo', type: 'user', options: Object, isRelationship: true }\n   ```\n    @property relationshipsByName\n   @static\n   @type Ember.Map\n   @readOnly\n   */\n  relationshipsByName: relationshipsByNameDescriptor,\n\n  /**\n   A map whose keys are the fields of the model and whose values are strings\n   describing the kind of the field. A model's fields are the union of all of its\n   attributes and relationships.\n    For example:\n    ```app/models/blog.js\n   import DS from 'ember-data';\n    export default DS.Model.extend({\n      users: DS.hasMany('user'),\n      owner: DS.belongsTo('user'),\n       posts: DS.hasMany('post'),\n       title: DS.attr('string')\n    });\n   ```\n    ```js\n   import Ember from 'ember';\n   import Blog from 'app/models/blog';\n    let fields = Ember.get(Blog, 'fields');\n   fields.forEach(function(kind, field) {\n      console.log(field, kind);\n    });\n    // prints:\n   // users, hasMany\n   // owner, belongsTo\n   // posts, hasMany\n   // title, attribute\n   ```\n    @property fields\n   @static\n   @type Ember.Map\n   @readOnly\n   */\n  fields: Ember.computed(function () {\n    var map = Map.create();\n\n    this.eachComputedProperty(function (name, meta) {\n      if (meta.isRelationship) {\n        map.set(name, meta.kind);\n      } else if (meta.isAttribute) {\n        map.set(name, 'attribute');\n      }\n    });\n\n    return map;\n  }).readOnly(),\n\n  /**\n   Given a callback, iterates over each of the relationships in the model,\n   invoking the callback with the name of each relationship and its relationship\n   descriptor.\n    @method eachRelationship\n   @static\n   @param {Function} callback the callback to invoke\n   @param {any} binding the value to which the callback's `this` should be bound\n   */\n  eachRelationship: function eachRelationship(callback, binding) {\n    get(this, 'relationshipsByName').forEach(function (relationship, name) {\n      callback.call(binding, name, relationship);\n    });\n  },\n\n\n  /**\n   Given a callback, iterates over each of the types related to a model,\n   invoking the callback with the related type's class. Each type will be\n   returned just once, regardless of how many different relationships it has\n   with a model.\n    @method eachRelatedType\n   @static\n   @param {Function} callback the callback to invoke\n   @param {any} binding the value to which the callback's `this` should be bound\n   */\n  eachRelatedType: function eachRelatedType(callback, binding) {\n    var relationshipTypes = get(this, 'relatedTypes');\n\n    for (var i = 0; i < relationshipTypes.length; i++) {\n      var type = relationshipTypes[i];\n      callback.call(binding, type);\n    }\n  },\n  determineRelationshipType: function determineRelationshipType(knownSide, store) {\n    var knownKey = knownSide.key;\n    var knownKind = knownSide.kind;\n    var inverse = this.inverseFor(knownKey, store);\n    // let key;\n    var otherKind = void 0;\n\n    if (!inverse) {\n      return knownKind === 'belongsTo' ? 'oneToNone' : 'manyToNone';\n    }\n\n    // key = inverse.name;\n    otherKind = inverse.kind;\n\n    if (otherKind === 'belongsTo') {\n      return knownKind === 'belongsTo' ? 'oneToOne' : 'manyToOne';\n    } else {\n      return knownKind === 'belongsTo' ? 'oneToMany' : 'manyToMany';\n    }\n  },\n\n\n  /**\n   A map whose keys are the attributes of the model (properties\n   described by DS.attr) and whose values are the meta object for the\n   property.\n    Example\n    ```app/models/person.js\n   import DS from 'ember-data';\n    export default DS.Model.extend({\n      firstName: DS.attr('string'),\n      lastName: DS.attr('string'),\n      birthday: DS.attr('date')\n    });\n   ```\n    ```javascript\n   import Ember from 'ember';\n   import Person from 'app/models/person';\n    let attributes = Ember.get(Person, 'attributes')\n    attributes.forEach(function(meta, name) {\n      console.log(name, meta);\n    });\n    // prints:\n   // firstName {type: \"string\", isAttribute: true, options: Object, parentType: function, name: \"firstName\"}\n   // lastName {type: \"string\", isAttribute: true, options: Object, parentType: function, name: \"lastName\"}\n   // birthday {type: \"date\", isAttribute: true, options: Object, parentType: function, name: \"birthday\"}\n   ```\n    @property attributes\n   @static\n   @type {Ember.Map}\n   @readOnly\n   */\n  attributes: Ember.computed(function () {\n    var _this3 = this;\n\n    var map = Map.create();\n\n    this.eachComputedProperty(function (name, meta) {\n      if (meta.isAttribute) {\n        emberData_Debug.assert(\"You may not set `id` as an attribute on your model. Please remove any lines that look like: `id: DS.attr('<type>')` from \" + _this3.toString(), name !== 'id');\n\n        meta.name = name;\n        map.set(name, meta);\n      }\n    });\n\n    return map;\n  }).readOnly(),\n\n  /**\n   A map whose keys are the attributes of the model (properties\n   described by DS.attr) and whose values are type of transformation\n   applied to each attribute. This map does not include any\n   attributes that do not have an transformation type.\n    Example\n    ```app/models/person.js\n   import DS from 'ember-data';\n    export default DS.Model.extend({\n      firstName: DS.attr(),\n      lastName: DS.attr('string'),\n      birthday: DS.attr('date')\n    });\n   ```\n    ```javascript\n   import Ember from 'ember';\n   import Person from 'app/models/person';\n    let transformedAttributes = Ember.get(Person, 'transformedAttributes')\n    transformedAttributes.forEach(function(field, type) {\n      console.log(field, type);\n    });\n    // prints:\n   // lastName string\n   // birthday date\n   ```\n    @property transformedAttributes\n   @static\n   @type {Ember.Map}\n   @readOnly\n   */\n  transformedAttributes: Ember.computed(function () {\n    var map = Map.create();\n\n    this.eachAttribute(function (key, meta) {\n      if (meta.type) {\n        map.set(key, meta.type);\n      }\n    });\n\n    return map;\n  }).readOnly(),\n\n  /**\n   Iterates through the attributes of the model, calling the passed function on each\n   attribute.\n    The callback method you provide should have the following signature (all\n   parameters are optional):\n    ```javascript\n   function(name, meta);\n   ```\n    - `name` the name of the current property in the iteration\n   - `meta` the meta object for the attribute property in the iteration\n    Note that in addition to a callback, you can also pass an optional target\n   object that will be set as `this` on the context.\n    Example\n    ```javascript\n   import DS from 'ember-data';\n    let Person = DS.Model.extend({\n      firstName: DS.attr('string'),\n      lastName: DS.attr('string'),\n      birthday: DS.attr('date')\n    });\n    Person.eachAttribute(function(name, meta) {\n      console.log(name, meta);\n    });\n    // prints:\n   // firstName {type: \"string\", isAttribute: true, options: Object, parentType: function, name: \"firstName\"}\n   // lastName {type: \"string\", isAttribute: true, options: Object, parentType: function, name: \"lastName\"}\n   // birthday {type: \"date\", isAttribute: true, options: Object, parentType: function, name: \"birthday\"}\n   ```\n    @method eachAttribute\n   @param {Function} callback The callback to execute\n   @param {Object} [binding] the value to which the callback's `this` should be bound\n   @static\n   */\n  eachAttribute: function eachAttribute(callback, binding) {\n    get(this, 'attributes').forEach(function (meta, name) {\n      callback.call(binding, name, meta);\n    });\n  },\n\n\n  /**\n   Iterates through the transformedAttributes of the model, calling\n   the passed function on each attribute. Note the callback will not be\n   called for any attributes that do not have an transformation type.\n    The callback method you provide should have the following signature (all\n   parameters are optional):\n    ```javascript\n   function(name, type);\n   ```\n    - `name` the name of the current property in the iteration\n   - `type` a string containing the name of the type of transformed\n   applied to the attribute\n    Note that in addition to a callback, you can also pass an optional target\n   object that will be set as `this` on the context.\n    Example\n    ```javascript\n   import DS from 'ember-data';\n    let Person = DS.Model.extend({\n      firstName: DS.attr(),\n      lastName: DS.attr('string'),\n      birthday: DS.attr('date')\n    });\n    Person.eachTransformedAttribute(function(name, type) {\n      console.log(name, type);\n    });\n    // prints:\n   // lastName string\n   // birthday date\n   ```\n    @method eachTransformedAttribute\n   @param {Function} callback The callback to execute\n   @param {Object} [binding] the value to which the callback's `this` should be bound\n   @static\n   */\n  eachTransformedAttribute: function eachTransformedAttribute(callback, binding) {\n    get(this, 'transformedAttributes').forEach(function (type, name) {\n      callback.call(binding, name, type);\n    });\n  }\n});\n\n// if `Ember.setOwner` is defined, accessing `this.container` is\n// deprecated (but functional). In \"standard\" Ember usage, this\n// deprecation is actually created via an `.extend` of the factory\n// inside the container itself, but that only happens on models\n// with MODEL_FACTORY_INJECTIONS enabled :(\nif (Ember.setOwner) {\n  Object.defineProperty(Model.prototype, 'container', {\n    configurable: true,\n    enumerable: false,\n    get: function get() {\n      emberData_Debug.deprecate('Using the injected `container` is deprecated. Please use the `getOwner` helper instead to access the owner of this object.', false, { id: 'ember-application.injected-container', until: '3.0.0' });\n\n      return this.store.container;\n    }\n  });\n}\n\nif (isEnabled('ds-rollback-attribute')) {\n  Model.reopen({\n    /**\n      Discards any unsaved changes to the given attribute. This feature is not enabled by default. You must enable `ds-rollback-attribute` and be running a canary build.\n       Example\n       ```javascript\n      record.get('name'); // 'Untitled Document'\n      record.set('name', 'Doc 1');\n      record.get('name'); // 'Doc 1'\n      record.rollbackAttribute('name');\n      record.get('name'); // 'Untitled Document'\n      ```\n       @method rollbackAttribute\n    */\n    rollbackAttribute: function rollbackAttribute(attributeName) {\n      if (attributeName in this._internalModel._attributes) {\n        this.set(attributeName, this._internalModel.lastAcknowledgedValue(attributeName));\n      }\n    }\n  });\n}\n\nemberData_Debug.runInDebug(function () {\n  Model.reopen({\n    // This is a temporary solution until we refactor DS.Model to not\n    // rely on the data property.\n    willMergeMixin: function willMergeMixin(props) {\n      var constructor = this.constructor;\n      emberData_Debug.assert('`' + intersection(Object.keys(props), RESERVED_MODEL_PROPS)[0] + '` is a reserved property name on DS.Model objects. Please choose a different property name for ' + constructor.toString(), !intersection(Object.keys(props), RESERVED_MODEL_PROPS)[0]);\n      emberData_Debug.assert(\"You may not set `id` as an attribute on your model. Please remove any lines that look like: `id: DS.attr('<type>')` from \" + constructor.toString(), Object.keys(props).indexOf('id') === -1);\n    },\n\n\n    /**\n     This Ember.js hook allows an object to be notified when a property\n     is defined.\n      In this case, we use it to be notified when an Ember Data user defines a\n     belongs-to relationship. In that case, we need to set up observers for\n     each one, allowing us to track relationship changes and automatically\n     reflect changes in the inverse has-many array.\n      This hook passes the class being set up, as well as the key and value\n     being defined. So, for example, when the user does this:\n      ```javascript\n     DS.Model.extend({\n      parent: DS.belongsTo('user')\n    });\n     ```\n      This hook would be called with \"parent\" as the key and the computed\n     property returned by `DS.belongsTo` as the value.\n      @method didDefineProperty\n     @param {Object} proto\n     @param {String} key\n     @param {Ember.ComputedProperty} value\n     */\n    didDefineProperty: function didDefineProperty(proto, key, value) {\n      // Check if the value being set is a computed property.\n      if (value instanceof Ember.ComputedProperty) {\n\n        // If it is, get the metadata for the relationship. This is\n        // populated by the `DS.belongsTo` helper when it is creating\n        // the computed property.\n        var meta = value.meta();\n\n        meta.parentType = proto.constructor;\n      }\n    }\n  });\n});\n\nvar EmberError$1 = Ember.Error;\n\nvar SOURCE_POINTER_REGEXP = /^\\/?data\\/(attributes|relationships)\\/(.*)/;\nvar SOURCE_POINTER_PRIMARY_REGEXP = /^\\/?data/;\nvar PRIMARY_ATTRIBUTE_KEY = 'base';\n\n/**\n  A `DS.AdapterError` is used by an adapter to signal that an error occurred\n  during a request to an external API. It indicates a generic error, and\n  subclasses are used to indicate specific error states. The following\n  subclasses are provided:\n\n  - `DS.InvalidError`\n  - `DS.TimeoutError`\n  - `DS.AbortError`\n  - `DS.UnauthorizedError`\n  - `DS.ForbiddenError`\n  - `DS.NotFoundError`\n  - `DS.ConflictError`\n  - `DS.ServerError`\n\n  To create a custom error to signal a specific error state in communicating\n  with an external API, extend the `DS.AdapterError`. For example if the\n  external API exclusively used HTTP `503 Service Unavailable` to indicate\n  it was closed for maintenance:\n\n  ```app/adapters/maintenance-error.js\n  import DS from 'ember-data';\n\n  export default DS.AdapterError.extend({ message: \"Down for maintenance.\" });\n  ```\n\n  This error would then be returned by an adapter's `handleResponse` method:\n\n  ```app/adapters/application.js\n  import DS from 'ember-data';\n  import MaintenanceError from './maintenance-error';\n\n  export default DS.JSONAPIAdapter.extend({\n    handleResponse(status) {\n      if (503 === status) {\n        return new MaintenanceError();\n      }\n\n      return this._super(...arguments);\n    }\n  });\n  ```\n\n  And can then be detected in an application and used to send the user to an\n  `under-maintenance` route:\n\n  ```app/routes/application.js\n  import Ember from 'ember';\n  import MaintenanceError from '../adapters/maintenance-error';\n\n  export default Ember.Route.extend({\n    actions: {\n      error(error, transition) {\n        if (error instanceof MaintenanceError) {\n          this.transitionTo('under-maintenance');\n          return;\n        }\n\n        // ...other error handling logic\n      }\n    }\n  });\n  ```\n\n  @class AdapterError\n  @namespace DS\n*/\nfunction AdapterError(errors) {\n  var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'Adapter operation failed';\n\n  this.isAdapterError = true;\n  EmberError$1.call(this, message);\n\n  this.errors = errors || [{\n    title: 'Adapter Error',\n    detail: message\n  }];\n}\n\nvar extendedErrorsEnabled = false;\nif (isEnabled('ds-extended-errors')) {\n  extendedErrorsEnabled = true;\n}\n\nfunction extendFn(ErrorClass) {\n  return function () {\n    var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n        defaultMessage = _ref.message;\n\n    return extend(ErrorClass, defaultMessage);\n  };\n}\n\nfunction extend(ParentErrorClass, defaultMessage) {\n  var ErrorClass = function ErrorClass(errors, message) {\n    emberData_Debug.assert('`AdapterError` expects json-api formatted errors array.', Array.isArray(errors || []));\n    ParentErrorClass.call(this, errors, message || defaultMessage);\n  };\n  ErrorClass.prototype = Object.create(ParentErrorClass.prototype);\n\n  if (extendedErrorsEnabled) {\n    ErrorClass.extend = extendFn(ErrorClass);\n  }\n\n  return ErrorClass;\n}\n\nAdapterError.prototype = Object.create(EmberError$1.prototype);\n\nif (extendedErrorsEnabled) {\n  AdapterError.extend = extendFn(AdapterError);\n}\n\n/**\n  A `DS.InvalidError` is used by an adapter to signal the external API\n  was unable to process a request because the content was not\n  semantically correct or meaningful per the API. Usually this means a\n  record failed some form of server side validation. When a promise\n  from an adapter is rejected with a `DS.InvalidError` the record will\n  transition to the `invalid` state and the errors will be set to the\n  `errors` property on the record.\n\n  For Ember Data to correctly map errors to their corresponding\n  properties on the model, Ember Data expects each error to be\n  a valid json-api error object with a `source/pointer` that matches\n  the property name. For example if you had a Post model that\n  looked like this.\n\n  ```app/models/post.js\n  import DS from 'ember-data';\n\n  export default DS.Model.extend({\n    title: DS.attr('string'),\n    content: DS.attr('string')\n  });\n  ```\n\n  To show an error from the server related to the `title` and\n  `content` properties your adapter could return a promise that\n  rejects with a `DS.InvalidError` object that looks like this:\n\n  ```app/adapters/post.js\n  import Ember from 'ember';\n  import DS from 'ember-data';\n\n  export default DS.RESTAdapter.extend({\n    updateRecord() {\n      // Fictional adapter that always rejects\n      return Ember.RSVP.reject(new DS.InvalidError([\n        {\n          detail: 'Must be unique',\n          source: { pointer: '/data/attributes/title' }\n        },\n        {\n          detail: 'Must not be blank',\n          source: { pointer: '/data/attributes/content'}\n        }\n      ]));\n    }\n  });\n  ```\n\n  Your backend may use different property names for your records the\n  store will attempt extract and normalize the errors using the\n  serializer's `extractErrors` method before the errors get added to\n  the the model. As a result, it is safe for the `InvalidError` to\n  wrap the error payload unaltered.\n\n  @class InvalidError\n  @namespace DS\n*/\nvar InvalidError = extend(AdapterError, 'The adapter rejected the commit because it was invalid');\n\n/**\n  A `DS.TimeoutError` is used by an adapter to signal that a request\n  to the external API has timed out. I.e. no response was received from\n  the external API within an allowed time period.\n\n  An example use case would be to warn the user to check their internet\n  connection if an adapter operation has timed out:\n\n  ```app/routes/application.js\n  import Ember from 'ember';\n  import DS from 'ember-data';\n\n  const { TimeoutError } = DS;\n\n  export default Ember.Route.extend({\n    actions: {\n      error(error, transition) {\n        if (error instanceof TimeoutError) {\n          // alert the user\n          alert('Are you still connected to the internet?');\n          return;\n        }\n\n        // ...other error handling logic\n      }\n    }\n  });\n  ```\n\n  @class TimeoutError\n  @namespace DS\n*/\nvar TimeoutError = extend(AdapterError, 'The adapter operation timed out');\n\n/**\n  A `DS.AbortError` is used by an adapter to signal that a request to\n  the external API was aborted. For example, this can occur if the user\n  navigates away from the current page after a request to the external API\n  has been initiated but before a response has been received.\n\n  @class AbortError\n  @namespace DS\n*/\nvar AbortError = extend(AdapterError, 'The adapter operation was aborted');\n\n/**\n  A `DS.UnauthorizedError` equates to a HTTP `401 Unauthorized` response\n  status. It is used by an adapter to signal that a request to the external\n  API was rejected because authorization is required and has failed or has not\n  yet been provided.\n\n  An example use case would be to redirect the user to a log in route if a\n  request is unauthorized:\n\n  ```app/routes/application.js\n  import Ember from 'ember';\n  import DS from 'ember-data';\n\n  const { UnauthorizedError } = DS;\n\n  export default Ember.Route.extend({\n    actions: {\n      error(error, transition) {\n        if (error instanceof UnauthorizedError) {\n          // go to the sign in route\n          this.transitionTo('login');\n          return;\n        }\n\n        // ...other error handling logic\n      }\n    }\n  });\n  ```\n\n  @class UnauthorizedError\n  @namespace DS\n*/\nvar UnauthorizedError = extendedErrorsEnabled ? extend(AdapterError, 'The adapter operation is unauthorized') : null;\n\n/**\n  A `DS.ForbiddenError` equates to a HTTP `403 Forbidden` response status.\n  It is used by an adapter to signal that a request to the external API was\n  valid but the server is refusing to respond to it. If authorization was\n  provided and is valid, then the authenticated user does not have the\n  necessary permissions for the request.\n\n  @class ForbiddenError\n  @namespace DS\n*/\nvar ForbiddenError = extendedErrorsEnabled ? extend(AdapterError, 'The adapter operation is forbidden') : null;\n\n/**\n  A `DS.NotFoundError` equates to a HTTP `404 Not Found` response status.\n  It is used by an adapter to signal that a request to the external API\n  was rejected because the resource could not be found on the API.\n\n  An example use case would be to detect if the user has entered a route\n  for a specific model that does not exist. For example:\n\n  ```app/routes/post.js\n  import Ember from 'ember';\n  import DS from 'ember-data';\n\n  const { NotFoundError } = DS;\n\n  export default Ember.Route.extend({\n    model(params) {\n      return this.get('store').findRecord('post', params.post_id);\n    },\n\n    actions: {\n      error(error, transition) {\n        if (error instanceof NotFoundError) {\n          // redirect to a list of all posts instead\n          this.transitionTo('posts');\n        } else {\n          // otherwise let the error bubble\n          return true;\n        }\n      }\n    }\n  });\n  ```\n\n  @class NotFoundError\n  @namespace DS\n*/\nvar NotFoundError = extendedErrorsEnabled ? extend(AdapterError, 'The adapter could not find the resource') : null;\n\n/**\n  A `DS.ConflictError` equates to a HTTP `409 Conflict` response status.\n  It is used by an adapter to indicate that the request could not be processed\n  because of a conflict in the request. An example scenario would be when\n  creating a record with a client generated id but that id is already known\n  to the external API.\n\n  @class ConflictError\n  @namespace DS\n*/\nvar ConflictError = extendedErrorsEnabled ? extend(AdapterError, 'The adapter operation failed due to a conflict') : null;\n\n/**\n  A `DS.ServerError` equates to a HTTP `500 Internal Server Error` response\n  status. It is used by the adapter to indicate that a request has failed\n  because of an error in the external API.\n\n  @class ServerError\n  @namespace DS\n*/\nvar ServerError = extendedErrorsEnabled ? extend(AdapterError, 'The adapter operation failed due to a server error') : null;\n\n/**\n  Convert an hash of errors into an array with errors in JSON-API format.\n\n  ```javascript\n  import DS from 'ember-data';\n\n  const { errorsHashToArray } = DS;\n\n  let errors = {\n    base: 'Invalid attributes on saving this record',\n    name: 'Must be present',\n    age: ['Must be present', 'Must be a number']\n  };\n\n  let errorsArray = errorsHashToArray(errors);\n  // [\n  //   {\n  //     title: \"Invalid Document\",\n  //     detail: \"Invalid attributes on saving this record\",\n  //     source: { pointer: \"/data\" }\n  //   },\n  //   {\n  //     title: \"Invalid Attribute\",\n  //     detail: \"Must be present\",\n  //     source: { pointer: \"/data/attributes/name\" }\n  //   },\n  //   {\n  //     title: \"Invalid Attribute\",\n  //     detail: \"Must be present\",\n  //     source: { pointer: \"/data/attributes/age\" }\n  //   },\n  //   {\n  //     title: \"Invalid Attribute\",\n  //     detail: \"Must be a number\",\n  //     source: { pointer: \"/data/attributes/age\" }\n  //   }\n  // ]\n  ```\n\n  @method errorsHashToArray\n  @public\n  @namespace\n  @for DS\n  @param {Object} errors hash with errors as properties\n  @return {Array} array of errors in JSON-API format\n*/\nfunction errorsHashToArray(errors) {\n  var out = [];\n\n  if (Ember.isPresent(errors)) {\n    Object.keys(errors).forEach(function (key) {\n      var messages = Ember.makeArray(errors[key]);\n      for (var i = 0; i < messages.length; i++) {\n        var title = 'Invalid Attribute';\n        var pointer = '/data/attributes/' + key;\n        if (key === PRIMARY_ATTRIBUTE_KEY) {\n          title = 'Invalid Document';\n          pointer = '/data';\n        }\n        out.push({\n          title: title,\n          detail: messages[i],\n          source: {\n            pointer: pointer\n          }\n        });\n      }\n    });\n  }\n\n  return out;\n}\n\n/**\n  Convert an array of errors in JSON-API format into an object.\n\n  ```javascript\n  import DS from 'ember-data';\n\n  const { errorsArrayToHash } = DS;\n\n  let errorsArray = [\n    {\n      title: 'Invalid Attribute',\n      detail: 'Must be present',\n      source: { pointer: '/data/attributes/name' }\n    },\n    {\n      title: 'Invalid Attribute',\n      detail: 'Must be present',\n      source: { pointer: '/data/attributes/age' }\n    },\n    {\n      title: 'Invalid Attribute',\n      detail: 'Must be a number',\n      source: { pointer: '/data/attributes/age' }\n    }\n  ];\n\n  let errors = errorsArrayToHash(errorsArray);\n  // {\n  //   \"name\": [\"Must be present\"],\n  //   \"age\":  [\"Must be present\", \"must be a number\"]\n  // }\n  ```\n\n  @method errorsArrayToHash\n  @public\n  @namespace\n  @for DS\n  @param {Array} errors array of errors in JSON-API format\n  @return {Object}\n*/\nfunction errorsArrayToHash(errors) {\n  var out = {};\n\n  if (Ember.isPresent(errors)) {\n    errors.forEach(function (error) {\n      if (error.source && error.source.pointer) {\n        var key = error.source.pointer.match(SOURCE_POINTER_REGEXP);\n\n        if (key) {\n          key = key[2];\n        } else if (error.source.pointer.search(SOURCE_POINTER_PRIMARY_REGEXP) !== -1) {\n          key = PRIMARY_ATTRIBUTE_KEY;\n        }\n\n        if (key) {\n          out[key] = out[key] || [];\n          out[key].push(error.detail || error.title);\n        }\n      }\n    });\n  }\n\n  return out;\n}\n\nvar EmberOrderedSet = Ember.OrderedSet;\nvar guidFor$1 = Ember.guidFor;\n\nfunction OrderedSet() {\n  this._super$constructor();\n}\n\nOrderedSet.create = function () {\n  var Constructor = this;\n  return new Constructor();\n};\n\nOrderedSet.prototype = Object.create(EmberOrderedSet.prototype);\nOrderedSet.prototype.constructor = OrderedSet;\nOrderedSet.prototype._super$constructor = EmberOrderedSet;\n\nOrderedSet.prototype.addWithIndex = function (obj, idx) {\n  var guid = guidFor$1(obj);\n  var presenceSet = this.presenceSet;\n  var list = this.list;\n\n  if (presenceSet[guid] === true) {\n    return;\n  }\n\n  presenceSet[guid] = true;\n\n  if (idx === undefined || idx === null) {\n    list.push(obj);\n  } else {\n    list.splice(idx, 0, obj);\n  }\n\n  this.size += 1;\n\n  return this;\n};\n\nvar _typeof$3 = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n/*\n  This method normalizes a link to an \"links object\". If the passed link is\n  already an object it's returned without any modifications.\n\n  See http://jsonapi.org/format/#document-links for more information.\n\n  @method _normalizeLink\n  @private\n  @param {String} link\n  @return {Object|null}\n  @for DS\n*/\nfunction _normalizeLink(link) {\n  switch (typeof link === 'undefined' ? 'undefined' : _typeof$3(link)) {\n    case 'object':\n      return link;\n    case 'string':\n      return { href: link };\n  }\n  return null;\n}\n\nvar _createClass$4 = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck$5(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/* global heimdall */\nvar guidFor = Ember.guidFor;\n\nvar Relationship = function () {\n  function Relationship(store, internalModel, inverseKey, relationshipMeta) {\n    _classCallCheck$5(this, Relationship);\n\n    var async = relationshipMeta.options.async;\n    var polymorphic = relationshipMeta.options.polymorphic;\n    this.members = new OrderedSet();\n    this.canonicalMembers = new OrderedSet();\n    this.store = store;\n    this.key = relationshipMeta.key;\n    this.inverseKey = inverseKey;\n    this.internalModel = internalModel;\n    this.isAsync = typeof async === 'undefined' ? true : async;\n    this.isPolymorphic = typeof polymorphic === 'undefined' ? true : polymorphic;\n    this.relationshipMeta = relationshipMeta;\n    //This probably breaks for polymorphic relationship in complex scenarios, due to\n    //multiple possible modelNames\n    this.inverseKeyForImplicit = this.internalModel.modelName + this.key;\n    this.linkPromise = null;\n    this.meta = null;\n    this.hasData = false;\n    this.hasLoaded = false;\n  }\n\n  Relationship.prototype._inverseIsAsync = function _inverseIsAsync() {\n    if (!this.inverseKey || !this.inverseInternalModel) {\n      return false;\n    }\n    return this.inverseInternalModel._relationships.get(this.inverseKey).isAsync;\n  };\n\n  Relationship.prototype.removeInverseRelationships = function removeInverseRelationships() {\n    var _this = this;\n\n    if (!this.inverseKey) {\n      return;\n    }\n\n    var allMembers =\n    // we actually want a union of members and canonicalMembers\n    // they should be disjoint but currently are not due to a bug\n    this.members.toArray().concat(this.canonicalMembers.toArray());\n\n    allMembers.forEach(function (inverseInternalModel) {\n      var relationship = inverseInternalModel._relationships.get(_this.inverseKey);\n      relationship.inverseDidDematerialize();\n    });\n  };\n\n  Relationship.prototype.inverseDidDematerialize = function inverseDidDematerialize() {};\n\n  Relationship.prototype.updateMeta = function updateMeta(meta) {\n    this.meta = meta;\n  };\n\n  Relationship.prototype.clear = function clear() {\n\n    var members = this.members.list;\n    while (members.length > 0) {\n      var member = members[0];\n      this.removeInternalModel(member);\n    }\n\n    var canonicalMembers = this.canonicalMembers.list;\n    while (canonicalMembers.length > 0) {\n      var _member = canonicalMembers[0];\n      this.removeCanonicalInternalModel(_member);\n    }\n  };\n\n  Relationship.prototype.removeInternalModels = function removeInternalModels(internalModels) {\n    var _this2 = this;\n\n    internalModels.forEach(function (internalModel) {\n      return _this2.removeInternalModel(internalModel);\n    });\n  };\n\n  Relationship.prototype.addInternalModels = function addInternalModels(internalModels, idx) {\n    var _this3 = this;\n\n    internalModels.forEach(function (internalModel) {\n      _this3.addInternalModel(internalModel, idx);\n      if (idx !== undefined) {\n        idx++;\n      }\n    });\n  };\n\n  Relationship.prototype.addCanonicalInternalModels = function addCanonicalInternalModels(internalModels, idx) {\n    for (var i = 0; i < internalModels.length; i++) {\n      if (idx !== undefined) {\n        this.addCanonicalInternalModel(internalModels[i], i + idx);\n      } else {\n        this.addCanonicalInternalModel(internalModels[i]);\n      }\n    }\n  };\n\n  Relationship.prototype.addCanonicalInternalModel = function addCanonicalInternalModel(internalModel, idx) {\n    if (!this.canonicalMembers.has(internalModel)) {\n      this.canonicalMembers.add(internalModel);\n      this.setupInverseRelationship(internalModel);\n    }\n    this.flushCanonicalLater();\n    this.setHasData(true);\n  };\n\n  Relationship.prototype.setupInverseRelationship = function setupInverseRelationship(internalModel) {\n    if (this.inverseKey) {\n      var relationships = internalModel._relationships;\n      var relationshipExisted = relationships.has(this.inverseKey);\n      var relationship = relationships.get(this.inverseKey);\n      if (relationshipExisted || this.isPolymorphic) {\n        // if we have only just initialized the inverse relationship, then it\n        // already has this.internalModel in its canonicalMembers, so skip the\n        // unnecessary work.  The exception to this is polymorphic\n        // relationships whose members are determined by their inverse, as those\n        // relationships cannot efficiently find their inverse payloads.\n        relationship.addCanonicalInternalModel(this.internalModel);\n      }\n    } else {\n      var _relationships = internalModel._implicitRelationships;\n      var _relationship = _relationships[this.inverseKeyForImplicit];\n      if (!_relationship) {\n        _relationship = _relationships[this.inverseKeyForImplicit] = new Relationship(this.store, internalModel, this.key, { options: { async: this.isAsync } });\n      }\n      _relationship.addCanonicalInternalModel(this.internalModel);\n    }\n  };\n\n  Relationship.prototype.removeCanonicalInternalModels = function removeCanonicalInternalModels(internalModels, idx) {\n    for (var i = 0; i < internalModels.length; i++) {\n      if (idx !== undefined) {\n        this.removeCanonicalInternalModel(internalModels[i], i + idx);\n      } else {\n        this.removeCanonicalInternalModel(internalModels[i]);\n      }\n    }\n  };\n\n  Relationship.prototype.removeCanonicalInternalModel = function removeCanonicalInternalModel(internalModel, idx) {\n    if (this.canonicalMembers.has(internalModel)) {\n      this.removeCanonicalInternalModelFromOwn(internalModel);\n      if (this.inverseKey) {\n        this.removeCanonicalInternalModelFromInverse(internalModel);\n      } else {\n        if (internalModel._implicitRelationships[this.inverseKeyForImplicit]) {\n          internalModel._implicitRelationships[this.inverseKeyForImplicit].removeCanonicalInternalModel(this.internalModel);\n        }\n      }\n    }\n    this.flushCanonicalLater();\n  };\n\n  Relationship.prototype.addInternalModel = function addInternalModel(internalModel, idx) {\n    if (!this.members.has(internalModel)) {\n      this.members.addWithIndex(internalModel, idx);\n      this.notifyRecordRelationshipAdded(internalModel, idx);\n      if (this.inverseKey) {\n        internalModel._relationships.get(this.inverseKey).addInternalModel(this.internalModel);\n      } else {\n        if (!internalModel._implicitRelationships[this.inverseKeyForImplicit]) {\n          internalModel._implicitRelationships[this.inverseKeyForImplicit] = new Relationship(this.store, internalModel, this.key, { options: { async: this.isAsync } });\n        }\n        internalModel._implicitRelationships[this.inverseKeyForImplicit].addInternalModel(this.internalModel);\n      }\n      this.internalModel.updateRecordArrays();\n    }\n    this.setHasData(true);\n  };\n\n  Relationship.prototype.removeInternalModel = function removeInternalModel(internalModel) {\n    if (this.members.has(internalModel)) {\n      this.removeInternalModelFromOwn(internalModel);\n      if (this.inverseKey) {\n        this.removeInternalModelFromInverse(internalModel);\n      } else {\n        if (internalModel._implicitRelationships[this.inverseKeyForImplicit]) {\n          internalModel._implicitRelationships[this.inverseKeyForImplicit].removeInternalModel(this.internalModel);\n        }\n      }\n    }\n  };\n\n  Relationship.prototype.removeInternalModelFromInverse = function removeInternalModelFromInverse(internalModel) {\n    var inverseRelationship = internalModel._relationships.get(this.inverseKey);\n    //Need to check for existence, as the record might unloading at the moment\n    if (inverseRelationship) {\n      inverseRelationship.removeInternalModelFromOwn(this.internalModel);\n    }\n  };\n\n  Relationship.prototype.removeInternalModelFromOwn = function removeInternalModelFromOwn(internalModel) {\n    this.members.delete(internalModel);\n    this.internalModel.updateRecordArrays();\n  };\n\n  Relationship.prototype.removeCanonicalInternalModelFromInverse = function removeCanonicalInternalModelFromInverse(internalModel) {\n    var inverseRelationship = internalModel._relationships.get(this.inverseKey);\n    //Need to check for existence, as the record might unloading at the moment\n    if (inverseRelationship) {\n      inverseRelationship.removeCanonicalInternalModelFromOwn(this.internalModel);\n    }\n  };\n\n  Relationship.prototype.removeCanonicalInternalModelFromOwn = function removeCanonicalInternalModelFromOwn(internalModel) {\n    this.canonicalMembers.delete(internalModel);\n    this.flushCanonicalLater();\n  };\n\n  /*\n    Call this method once a record deletion has been persisted\n    to purge it from BOTH current and canonical state of all\n    relationships.\n     @method removeCompletelyFromInverse\n    @private\n   */\n\n\n  Relationship.prototype.removeCompletelyFromInverse = function removeCompletelyFromInverse() {\n    var _this4 = this;\n\n    if (!this.inverseKey) {\n      return;\n    }\n\n    // we actually want a union of members and canonicalMembers\n    // they should be disjoint but currently are not due to a bug\n    var seen = Object.create(null);\n    var internalModel = this.internalModel;\n\n    var unload = function unload(inverseInternalModel) {\n      var id = guidFor(inverseInternalModel);\n\n      if (seen[id] === undefined) {\n        var relationship = inverseInternalModel._relationships.get(_this4.inverseKey);\n        relationship.removeCompletelyFromOwn(internalModel);\n        seen[id] = true;\n      }\n    };\n\n    this.members.forEach(unload);\n    this.canonicalMembers.forEach(unload);\n  };\n\n  /*\n    Removes the given internalModel from BOTH canonical AND current state.\n     This method is useful when either a deletion or a rollback on a new record\n    needs to entirely purge itself from an inverse relationship.\n   */\n\n\n  Relationship.prototype.removeCompletelyFromOwn = function removeCompletelyFromOwn(internalModel) {\n    this.canonicalMembers.delete(internalModel);\n    this.members.delete(internalModel);\n    this.internalModel.updateRecordArrays();\n  };\n\n  Relationship.prototype.flushCanonical = function flushCanonical() {\n    var list = this.members.list;\n    this.willSync = false;\n    //a hack for not removing new internalModels\n    //TODO remove once we have proper diffing\n    var newInternalModels = [];\n    for (var i = 0; i < list.length; i++) {\n      if (list[i].isNew()) {\n        newInternalModels.push(list[i]);\n      }\n    }\n\n    //TODO(Igor) make this less abysmally slow\n    this.members = this.canonicalMembers.copy();\n    for (var _i = 0; _i < newInternalModels.length; _i++) {\n      this.members.add(newInternalModels[_i]);\n    }\n  };\n\n  Relationship.prototype.flushCanonicalLater = function flushCanonicalLater() {\n    if (this.willSync) {\n      return;\n    }\n    this.willSync = true;\n    this.store._updateRelationshipState(this);\n  };\n\n  Relationship.prototype.updateLink = function updateLink(link) {\n    emberData_Debug.warn('You pushed a record of type \\'' + this.internalModel.modelName + '\\' with a relationship \\'' + this.key + '\\' configured as \\'async: false\\'. You\\'ve included a link but no primary data, this may be an error in your payload.', this.isAsync || this.hasData, {\n      id: 'ds.store.push-link-for-sync-relationship'\n    });\n    emberData_Debug.assert('You have pushed a record of type \\'' + this.internalModel.modelName + '\\' with \\'' + this.key + '\\' as a link, but the value of that link is not a string.', typeof link === 'string' || link === null);\n\n    this.link = link;\n    this.linkPromise = null;\n    this.internalModel.notifyPropertyChange(this.key);\n  };\n\n  Relationship.prototype.findLink = function findLink() {\n    if (this.linkPromise) {\n      return this.linkPromise;\n    } else {\n      var promise = this.fetchLink();\n      this.linkPromise = promise;\n      return promise.then(function (result) {\n        return result;\n      });\n    }\n  };\n\n  Relationship.prototype.updateInternalModelsFromAdapter = function updateInternalModelsFromAdapter(internalModels) {\n    //TODO(Igor) move this to a proper place\n    //TODO Once we have adapter support, we need to handle updated and canonical changes\n    this.computeChanges(internalModels);\n  };\n\n  Relationship.prototype.notifyRecordRelationshipAdded = function notifyRecordRelationshipAdded() {};\n\n  /*\n   `hasData` for a relationship is a flag to indicate if we consider the\n   content of this relationship \"known\". Snapshots uses this to tell the\n   difference between unknown (`undefined`) or empty (`null`). The reason for\n   this is that we wouldn't want to serialize unknown relationships as `null`\n   as that might overwrite remote state.\n    All relationships for a newly created (`store.createRecord()`) are\n   considered known (`hasData === true`).\n   */\n\n\n  Relationship.prototype.setHasData = function setHasData(value) {\n    this.hasData = value;\n  };\n\n  /*\n   `hasLoaded` is a flag to indicate if we have gotten data from the adapter or\n   not when the relationship has a link.\n    This is used to be able to tell when to fetch the link and when to return\n   the local data in scenarios where the local state is considered known\n   (`hasData === true`).\n    Updating the link will automatically set `hasLoaded` to `false`.\n   */\n\n\n  Relationship.prototype.setHasLoaded = function setHasLoaded(value) {\n    this.hasLoaded = value;\n  };\n\n  /*\n   `push` for a relationship allows the store to push a JSON API Relationship\n   Object onto the relationship. The relationship will then extract and set the\n   meta, data and links of that relationship.\n    `push` use `updateMeta`, `updateData` and `updateLink` to update the state\n   of the relationship.\n   */\n\n\n  Relationship.prototype.push = function push(payload, initial) {\n\n    var hasData = false;\n    var hasLink = false;\n\n    if (payload.meta) {\n      this.updateMeta(payload.meta);\n    }\n\n    if (payload.data !== undefined) {\n      hasData = true;\n      this.updateData(payload.data, initial);\n    }\n\n    if (payload.links && payload.links.related) {\n      var relatedLink = _normalizeLink(payload.links.related);\n      if (relatedLink && relatedLink.href && relatedLink.href !== this.link) {\n        hasLink = true;\n        this.updateLink(relatedLink.href, initial);\n      }\n    }\n\n    /*\n     Data being pushed into the relationship might contain only data or links,\n     or a combination of both.\n      If we got data we want to set both hasData and hasLoaded to true since\n     this would indicate that we should prefer the local state instead of\n     trying to fetch the link or call findRecord().\n      If we have no data but a link is present we want to set hasLoaded to false\n     without modifying the hasData flag. This will ensure we fetch the updated\n     link next time the relationship is accessed.\n     */\n    if (hasData) {\n      this.setHasData(true);\n      this.setHasLoaded(true);\n    } else if (hasLink) {\n      this.setHasLoaded(false);\n    }\n  };\n\n  Relationship.prototype.updateData = function updateData() {};\n\n  Relationship.prototype.destroy = function destroy() {};\n\n  _createClass$4(Relationship, [{\n    key: 'parentType',\n    get: function get() {\n      return this.internalModel.modelName;\n    }\n  }]);\n\n  return Relationship;\n}();\n\nvar get$6 = Ember.get;\n\n\nfunction _bind(fn) {\n  for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n    args[_key - 1] = arguments[_key];\n  }\n\n  return function () {\n    return fn.apply(undefined, args);\n  };\n}\n\nfunction _guard(promise, test) {\n  var guarded = promise['finally'](function () {\n    if (!test()) {\n      guarded._subscribers.length = 0;\n    }\n  });\n\n  return guarded;\n}\n\nfunction _objectIsAlive(object) {\n  return !(get$6(object, \"isDestroyed\") || get$6(object, \"isDestroying\"));\n}\n\n/**\n  @namespace\n  @method diff-array\n  @for DS\n  @param {Array} oldArray the old array\n  @param {Array} newArray the new array\n  @return {hash} {\n      firstChangeIndex: <integer>,  // null if no change\n      addedCount: <integer>,        // 0 if no change\n      removedCount: <integer>       // 0 if no change\n    }\n*/\nfunction diffArray(oldArray, newArray) {\n  var oldLength = oldArray.length;\n  var newLength = newArray.length;\n\n  var shortestLength = Math.min(oldLength, newLength);\n  var firstChangeIndex = null; // null signifies no changes\n\n  // find the first change\n  for (var i = 0; i < shortestLength; i++) {\n    // compare each item in the array\n    if (oldArray[i] !== newArray[i]) {\n      firstChangeIndex = i;\n      break;\n    }\n  }\n\n  if (firstChangeIndex === null && newLength !== oldLength) {\n    // no change found in the overlapping block\n    // and array lengths differ,\n    // so change starts at end of overlap\n    firstChangeIndex = shortestLength;\n  }\n\n  var addedCount = 0;\n  var removedCount = 0;\n  if (firstChangeIndex !== null) {\n    // we found a change, find the end of the change\n    var unchangedEndBlockLength = shortestLength - firstChangeIndex;\n    // walk back from the end of both arrays until we find a change\n    for (var _i = 1; _i <= shortestLength; _i++) {\n      // compare each item in the array\n      if (oldArray[oldLength - _i] !== newArray[newLength - _i]) {\n        unchangedEndBlockLength = _i - 1;\n        break;\n      }\n    }\n    addedCount = newLength - unchangedEndBlockLength - firstChangeIndex;\n    removedCount = oldLength - unchangedEndBlockLength - firstChangeIndex;\n  }\n\n  return {\n    firstChangeIndex: firstChangeIndex,\n    addedCount: addedCount,\n    removedCount: removedCount\n  };\n}\n\n/**\n  @module ember-data\n*/\nvar get$5 = Ember.get;\n\n/**\n  A `ManyArray` is a `MutableArray` that represents the contents of a has-many\n  relationship.\n\n  The `ManyArray` is instantiated lazily the first time the relationship is\n  requested.\n\n  ### Inverses\n\n  Often, the relationships in Ember Data applications will have\n  an inverse. For example, imagine the following models are\n  defined:\n\n  ```app/models/post.js\n  import DS from 'ember-data';\n\n  export default DS.Model.extend({\n    comments: DS.hasMany('comment')\n  });\n  ```\n\n  ```app/models/comment.js\n  import DS from 'ember-data';\n\n  export default DS.Model.extend({\n    post: DS.belongsTo('post')\n  });\n  ```\n\n  If you created a new instance of `App.Post` and added\n  a `App.Comment` record to its `comments` has-many\n  relationship, you would expect the comment's `post`\n  property to be set to the post that contained\n  the has-many.\n\n  We call the record to which a relationship belongs the\n  relationship's _owner_.\n\n  @class ManyArray\n  @namespace DS\n  @extends Ember.Object\n  @uses Ember.MutableArray, Ember.Evented\n*/\n\nvar ManyArray = Ember.Object.extend(Ember.MutableArray, Ember.Evented, {\n  init: function init() {\n    this._super.apply(this, arguments);\n\n    /**\n    The loading state of this array\n     @property {Boolean} isLoaded\n    */\n    this.isLoaded = false;\n    this.length = 0;\n\n    /**\n    Used for async `hasMany` arrays\n    to keep track of when they will resolve.\n     @property {Ember.RSVP.Promise} promise\n    @private\n    */\n    this.promise = null;\n\n    /**\n    Metadata associated with the request for async hasMany relationships.\n     Example\n     Given that the server returns the following JSON payload when fetching a\n    hasMany relationship:\n     ```js\n    {\n      \"comments\": [{\n        \"id\": 1,\n        \"comment\": \"This is the first comment\",\n      }, {\n    // ...\n      }],\n       \"meta\": {\n        \"page\": 1,\n        \"total\": 5\n      }\n    }\n    ```\n     You can then access the metadata via the `meta` property:\n     ```js\n    post.get('comments').then(function(comments) {\n      var meta = comments.get('meta');\n     // meta.page => 1\n    // meta.total => 5\n    });\n    ```\n     @property {Object} meta\n    @public\n    */\n    this.meta = this.meta || null;\n\n    /**\n    `true` if the relationship is polymorphic, `false` otherwise.\n     @property {Boolean} isPolymorphic\n    @private\n    */\n    this.isPolymorphic = this.isPolymorphic || false;\n\n    /**\n    The relationship which manages this array.\n     @property {ManyRelationship} relationship\n    @private\n    */\n    this.relationship = this.relationship || null;\n\n    this.currentState = [];\n    this.flushCanonical(false);\n  },\n  objectAt: function objectAt(index) {\n    var internalModel = this.currentState[index];\n    if (internalModel === undefined) {\n      return;\n    }\n\n    return internalModel.getRecord();\n  },\n  flushCanonical: function flushCanonical() {\n    var isInitialized = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n    // It’s possible the parent side of the relationship may have been unloaded by this point\n    if (!_objectIsAlive(this)) {\n      return;\n    }\n    var toSet = this.canonicalState;\n\n    //a hack for not removing new records\n    //TODO remove once we have proper diffing\n    var newInternalModels = this.currentState.filter(\n    // only add new internalModels which are not yet in the canonical state of this\n    // relationship (a new internalModel can be in the canonical state if it has\n    // been 'acknowleged' to be in the relationship via a store.push)\n    function (internalModel) {\n      return internalModel.isNew() && toSet.indexOf(internalModel) === -1;\n    });\n    toSet = toSet.concat(newInternalModels);\n\n    // diff to find changes\n    var diff = diffArray(this.currentState, toSet);\n\n    if (diff.firstChangeIndex !== null) {\n      // it's null if no change found\n      // we found a change\n      this.arrayContentWillChange(diff.firstChangeIndex, diff.removedCount, diff.addedCount);\n      this.set('length', toSet.length);\n      this.currentState = toSet;\n      this.arrayContentDidChange(diff.firstChangeIndex, diff.removedCount, diff.addedCount);\n      if (isInitialized && diff.addedCount > 0) {\n        //notify only on additions\n        //TODO only notify if unloaded\n        this.relationship.notifyHasManyChanged();\n      }\n    }\n  },\n  internalReplace: function internalReplace(idx, amt, objects) {\n    if (!objects) {\n      objects = [];\n    }\n    this.arrayContentWillChange(idx, amt, objects.length);\n    this.currentState.splice.apply(this.currentState, [idx, amt].concat(objects));\n    this.set('length', this.currentState.length);\n    this.arrayContentDidChange(idx, amt, objects.length);\n  },\n\n\n  //TODO(Igor) optimize\n  _removeInternalModels: function _removeInternalModels(internalModels) {\n    for (var i = 0; i < internalModels.length; i++) {\n      var index = this.currentState.indexOf(internalModels[i]);\n      this.internalReplace(index, 1);\n    }\n  },\n\n\n  //TODO(Igor) optimize\n  _addInternalModels: function _addInternalModels(internalModels, idx) {\n    if (idx === undefined) {\n      idx = this.currentState.length;\n    }\n    this.internalReplace(idx, 0, internalModels);\n  },\n  replace: function replace(idx, amt, objects) {\n    var internalModels = void 0;\n    if (amt > 0) {\n      internalModels = this.currentState.slice(idx, idx + amt);\n      this.get('relationship').removeInternalModels(internalModels);\n    }\n    if (objects) {\n      this.get('relationship').addInternalModels(objects.map(function (obj) {\n        return obj._internalModel;\n      }), idx);\n    }\n  },\n\n\n  /**\n    Reloads all of the records in the manyArray. If the manyArray\n    holds a relationship that was originally fetched using a links url\n    Ember Data will revisit the original links url to repopulate the\n    relationship.\n     If the manyArray holds the result of a `store.query()` reload will\n    re-run the original query.\n     Example\n     ```javascript\n    var user = store.peekRecord('user', 1)\n    user.login().then(function() {\n      user.get('permissions').then(function(permissions) {\n        return permissions.reload();\n      });\n    });\n    ```\n     @method reload\n    @public\n  */\n  reload: function reload() {\n    return this.relationship.reload();\n  },\n\n\n  /**\n    Saves all of the records in the `ManyArray`.\n     Example\n     ```javascript\n    store.findRecord('inbox', 1).then(function(inbox) {\n      inbox.get('messages').then(function(messages) {\n        messages.forEach(function(message) {\n          message.set('isRead', true);\n        });\n        messages.save()\n      });\n    });\n    ```\n     @method save\n    @return {DS.PromiseArray} promise\n  */\n  save: function save() {\n    var manyArray = this;\n    var promiseLabel = 'DS: ManyArray#save ' + get$5(this, 'type');\n    var promise = Ember.RSVP.all(this.invoke(\"save\"), promiseLabel).then(function () {\n      return manyArray;\n    }, null, 'DS: ManyArray#save return ManyArray');\n\n    return PromiseArray.create({ promise: promise });\n  },\n\n\n  /**\n    Create a child record within the owner\n     @method createRecord\n    @private\n    @param {Object} hash\n    @return {DS.Model} record\n  */\n  createRecord: function createRecord(hash) {\n    var store = get$5(this, 'store');\n    var type = get$5(this, 'type');\n\n    emberData_Debug.assert('You cannot add \\'' + type.modelName + '\\' records to this polymorphic relationship.', !get$5(this, 'isPolymorphic'));\n    var record = store.createRecord(type.modelName, hash);\n    this.pushObject(record);\n\n    return record;\n  }\n});\n\nvar _createClass$3 = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck$4(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar ManyRelationship = function (_Relationship) {\n  _inherits(ManyRelationship, _Relationship);\n\n  function ManyRelationship(store, internalModel, inverseKey, relationshipMeta) {\n    _classCallCheck$4(this, ManyRelationship);\n\n    var _this = _possibleConstructorReturn(this, _Relationship.call(this, store, internalModel, inverseKey, relationshipMeta));\n\n    _this.belongsToType = relationshipMeta.type;\n    _this.canonicalState = [];\n    _this.isPolymorphic = relationshipMeta.options.polymorphic;\n    _this._manyArray = null;\n    _this.__loadingPromise = null;\n    return _this;\n  }\n\n  ManyRelationship.prototype._updateLoadingPromise = function _updateLoadingPromise(promise, content) {\n    if (this.__loadingPromise) {\n      if (content) {\n        this.__loadingPromise.set('content', content);\n      }\n      this.__loadingPromise.set('promise', promise);\n    } else {\n      this.__loadingPromise = new PromiseManyArray({\n        promise: promise,\n        content: content\n      });\n    }\n\n    return this.__loadingPromise;\n  };\n\n  ManyRelationship.prototype.removeInverseRelationships = function removeInverseRelationships() {\n    _Relationship.prototype.removeInverseRelationships.call(this);\n    if (this._manyArray) {\n      this._manyArray.destroy();\n      this._manyArray = null;\n    }\n\n    if (this._loadingPromise) {\n      this._loadingPromise.destroy();\n    }\n  };\n\n  ManyRelationship.prototype.updateMeta = function updateMeta(meta) {\n    _Relationship.prototype.updateMeta.call(this, meta);\n    if (this._manyArray) {\n      this._manyArray.set('meta', meta);\n    }\n  };\n\n  ManyRelationship.prototype.addCanonicalInternalModel = function addCanonicalInternalModel(internalModel, idx) {\n    if (this.canonicalMembers.has(internalModel)) {\n      return;\n    }\n    if (idx !== undefined) {\n      this.canonicalState.splice(idx, 0, internalModel);\n    } else {\n      this.canonicalState.push(internalModel);\n    }\n    _Relationship.prototype.addCanonicalInternalModel.call(this, internalModel, idx);\n  };\n\n  ManyRelationship.prototype.inverseDidDematerialize = function inverseDidDematerialize() {\n    if (this._manyArray) {\n      this._manyArray.destroy();\n      this._manyArray = null;\n    }\n    this.notifyHasManyChanged();\n  };\n\n  ManyRelationship.prototype.addInternalModel = function addInternalModel(internalModel, idx) {\n    if (this.members.has(internalModel)) {\n      return;\n    }\n\n    emberData_Debug.assertPolymorphicType(this.internalModel, this.relationshipMeta, internalModel);\n    _Relationship.prototype.addInternalModel.call(this, internalModel, idx);\n    // make lazy later\n    this.manyArray._addInternalModels([internalModel], idx);\n  };\n\n  ManyRelationship.prototype.removeCanonicalInternalModelFromOwn = function removeCanonicalInternalModelFromOwn(internalModel, idx) {\n    var i = idx;\n    if (!this.canonicalMembers.has(internalModel)) {\n      return;\n    }\n    if (i === undefined) {\n      i = this.canonicalState.indexOf(internalModel);\n    }\n    if (i > -1) {\n      this.canonicalState.splice(i, 1);\n    }\n    _Relationship.prototype.removeCanonicalInternalModelFromOwn.call(this, internalModel, idx);\n  };\n\n  ManyRelationship.prototype.removeCompletelyFromOwn = function removeCompletelyFromOwn(internalModel) {\n    _Relationship.prototype.removeCompletelyFromOwn.call(this, internalModel);\n\n    var canonicalIndex = this.canonicalState.indexOf(internalModel);\n\n    if (canonicalIndex !== -1) {\n      this.canonicalState.splice(canonicalIndex, 1);\n    }\n\n    var manyArray = this._manyArray;\n\n    if (manyArray) {\n      var idx = manyArray.currentState.indexOf(internalModel);\n\n      if (idx !== -1) {\n        manyArray.internalReplace(idx, 1);\n      }\n    }\n  };\n\n  ManyRelationship.prototype.flushCanonical = function flushCanonical() {\n    if (this._manyArray) {\n      this._manyArray.flushCanonical();\n    }\n    _Relationship.prototype.flushCanonical.call(this);\n  };\n\n  ManyRelationship.prototype.removeInternalModelFromOwn = function removeInternalModelFromOwn(internalModel, idx) {\n    if (!this.members.has(internalModel)) {\n      return;\n    }\n    _Relationship.prototype.removeInternalModelFromOwn.call(this, internalModel, idx);\n    var manyArray = this.manyArray;\n    if (idx !== undefined) {\n      //TODO(Igor) not used currently, fix\n      manyArray.currentState.removeAt(idx);\n    } else {\n      manyArray._removeInternalModels([internalModel]);\n    }\n  };\n\n  ManyRelationship.prototype.notifyRecordRelationshipAdded = function notifyRecordRelationshipAdded(internalModel, idx) {\n    this.internalModel.notifyHasManyAdded(this.key, internalModel, idx);\n  };\n\n  ManyRelationship.prototype.reload = function reload() {\n    var manyArray = this.manyArray;\n    var manyArrayLoadedState = manyArray.get('isLoaded');\n\n    if (this._loadingPromise) {\n      if (this._loadingPromise.get('isPending')) {\n        return this._loadingPromise;\n      }\n      if (this._loadingPromise.get('isRejected')) {\n        manyArray.set('isLoaded', manyArrayLoadedState);\n      }\n    }\n\n    var promise = void 0;\n    if (this.link) {\n      promise = this.fetchLink();\n    } else {\n      promise = this.store._scheduleFetchMany(manyArray.currentState).then(function () {\n        return manyArray;\n      });\n    }\n\n    this._updateLoadingPromise(promise);\n    return this._loadingPromise;\n  };\n\n  ManyRelationship.prototype.computeChanges = function computeChanges() {\n    var internalModels = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n\n    var members = this.canonicalMembers;\n    var internalModelsToRemove = [];\n    var internalModelSet = setForArray(internalModels);\n\n    members.forEach(function (member) {\n      if (internalModelSet.has(member)) {\n        return;\n      }\n\n      internalModelsToRemove.push(member);\n    });\n\n    this.removeCanonicalInternalModels(internalModelsToRemove);\n\n    for (var i = 0, l = internalModels.length; i < l; i++) {\n      var internalModel = internalModels[i];\n      this.removeCanonicalInternalModel(internalModel);\n      this.addCanonicalInternalModel(internalModel, i);\n    }\n  };\n\n  ManyRelationship.prototype.setInitialInternalModels = function setInitialInternalModels(internalModels) {\n    var _canonicalState;\n\n    if (Array.isArray(internalModels) === false || internalModels.length === 0) {\n      return;\n    }\n\n    var forCanonical = [];\n\n    for (var i = 0; i < internalModels.length; i++) {\n      var internalModel = internalModels[i];\n      if (this.canonicalMembers.has(internalModel)) {\n        continue;\n      }\n\n      forCanonical.push(internalModel);\n      this.canonicalMembers.add(internalModel);\n      this.members.add(internalModel);\n      this.setupInverseRelationship(internalModel);\n    }\n\n    (_canonicalState = this.canonicalState).splice.apply(_canonicalState, [0, this.canonicalState.length].concat(forCanonical));\n  };\n\n  ManyRelationship.prototype.fetchLink = function fetchLink() {\n    var _this2 = this;\n\n    return this.store.findHasMany(this.internalModel, this.link, this.relationshipMeta).then(function (records) {\n      if (records.hasOwnProperty('meta')) {\n        _this2.updateMeta(records.meta);\n      }\n      _this2.store._backburner.join(function () {\n        _this2.updateInternalModelsFromAdapter(records);\n        _this2.manyArray.set('isLoaded', true);\n      });\n      return _this2.manyArray;\n    });\n  };\n\n  ManyRelationship.prototype.findRecords = function findRecords() {\n    var manyArray = this.manyArray;\n    var internalModels = manyArray.currentState;\n\n    //TODO CLEANUP\n    return this.store.findMany(internalModels).then(function () {\n      if (!manyArray.get('isDestroyed')) {\n        //Goes away after the manyArray refactor\n        manyArray.set('isLoaded', true);\n      }\n      return manyArray;\n    });\n  };\n\n  ManyRelationship.prototype.notifyHasManyChanged = function notifyHasManyChanged() {\n    this.internalModel.notifyHasManyAdded(this.key);\n  };\n\n  ManyRelationship.prototype.getRecords = function getRecords() {\n    var _this3 = this;\n\n    //TODO(Igor) sync server here, once our syncing is not stupid\n    var manyArray = this.manyArray;\n    if (this.isAsync) {\n      var promise = void 0;\n      if (this.link) {\n        if (this.hasLoaded) {\n          promise = this.findRecords();\n        } else {\n          promise = this.findLink().then(function () {\n            return _this3.findRecords();\n          });\n        }\n      } else {\n        promise = this.findRecords();\n      }\n      return this._updateLoadingPromise(promise, manyArray);\n    } else {\n      emberData_Debug.assert('You looked up the \\'' + this.key + '\\' relationship on a \\'' + this.internalModel.type.modelName + '\\' with id ' + this.internalModel.id + ' but some of the associated records were not loaded. Either make sure they are all loaded together with the parent record, or specify that the relationship is async (\\'DS.hasMany({ async: true })\\')', manyArray.isEvery('isEmpty', false));\n\n      //TODO(Igor) WTF DO I DO HERE?\n      // TODO @runspired equal WTFs to Igor\n      if (!manyArray.get('isDestroyed')) {\n        manyArray.set('isLoaded', true);\n      }\n      return manyArray;\n    }\n  };\n\n  ManyRelationship.prototype.updateData = function updateData(data, initial) {\n    var internalModels = this.store._pushResourceIdentifiers(this, data);\n    if (initial) {\n      this.setInitialInternalModels(internalModels);\n    } else {\n      this.updateInternalModelsFromAdapter(internalModels);\n    }\n  };\n\n  ManyRelationship.prototype.destroy = function destroy() {\n    _Relationship.prototype.destroy.call(this);\n    var manyArray = this._manyArray;\n    if (manyArray) {\n      manyArray.destroy();\n    }\n\n    var proxy = this.__loadingPromise;\n\n    if (proxy) {\n      proxy.destroy();\n    }\n  };\n\n  _createClass$3(ManyRelationship, [{\n    key: '_loadingPromise',\n    get: function get() {\n      return this.__loadingPromise;\n    }\n  }, {\n    key: 'manyArray',\n    get: function get() {\n      if (!this._manyArray) {\n        this._manyArray = ManyArray.create({\n          canonicalState: this.canonicalState,\n          store: this.store,\n          relationship: this,\n          type: this.store.modelFor(this.belongsToType),\n          record: this.internalModel,\n          meta: this.meta,\n          isPolymorphic: this.isPolymorphic\n        });\n      }\n      return this._manyArray;\n    }\n  }]);\n\n  return ManyRelationship;\n}(Relationship);\n\nfunction setForArray(array) {\n  var set = new OrderedSet();\n\n  if (array) {\n    for (var i = 0, l = array.length; i < l; i++) {\n      set.add(array[i]);\n    }\n  }\n\n  return set;\n}\n\nfunction _classCallCheck$6(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn$1(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits$1(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar BelongsToRelationship = function (_Relationship) {\n  _inherits$1(BelongsToRelationship, _Relationship);\n\n  function BelongsToRelationship(store, internalModel, inverseKey, relationshipMeta) {\n    _classCallCheck$6(this, BelongsToRelationship);\n\n    var _this = _possibleConstructorReturn$1(this, _Relationship.call(this, store, internalModel, inverseKey, relationshipMeta));\n\n    _this.internalModel = internalModel;\n    _this.key = relationshipMeta.key;\n    _this.inverseInternalModel = null;\n    _this.canonicalState = null;\n    return _this;\n  }\n\n  BelongsToRelationship.prototype.setInternalModel = function setInternalModel(internalModel) {\n    if (internalModel) {\n      this.addInternalModel(internalModel);\n    } else if (this.inverseInternalModel) {\n      this.removeInternalModel(this.inverseInternalModel);\n    }\n    this.setHasData(true);\n    this.setHasLoaded(true);\n  };\n\n  BelongsToRelationship.prototype.setCanonicalInternalModel = function setCanonicalInternalModel(internalModel) {\n    if (internalModel) {\n      this.addCanonicalInternalModel(internalModel);\n    } else if (this.canonicalState) {\n      this.removeCanonicalInternalModel(this.canonicalState);\n    }\n    this.flushCanonicalLater();\n  };\n\n  BelongsToRelationship.prototype.setInitialCanonicalInternalModel = function setInitialCanonicalInternalModel(internalModel) {\n    if (!internalModel) {\n      return;\n    }\n\n    // When we initialize a belongsTo relationship, we want to avoid work like\n    // notifying our internalModel that we've \"changed\" and excessive thrash on\n    // setting up inverse relationships\n    this.canonicalMembers.add(internalModel);\n    this.members.add(internalModel);\n    this.inverseInternalModel = this.canonicalState = internalModel;\n    this.setupInverseRelationship(internalModel);\n  };\n\n  BelongsToRelationship.prototype.addCanonicalInternalModel = function addCanonicalInternalModel(internalModel) {\n    if (this.canonicalMembers.has(internalModel)) {\n      return;\n    }\n\n    if (this.canonicalState) {\n      this.removeCanonicalInternalModel(this.canonicalState);\n    }\n\n    this.canonicalState = internalModel;\n    _Relationship.prototype.addCanonicalInternalModel.call(this, internalModel);\n  };\n\n  BelongsToRelationship.prototype.inverseDidDematerialize = function inverseDidDematerialize() {\n    this.notifyBelongsToChanged();\n  };\n\n  BelongsToRelationship.prototype.removeCompletelyFromOwn = function removeCompletelyFromOwn(internalModel) {\n    _Relationship.prototype.removeCompletelyFromOwn.call(this, internalModel);\n\n    if (this.canonicalState === internalModel) {\n      this.canonicalState = null;\n    }\n\n    if (this.inverseInternalModel === internalModel) {\n      this.inverseInternalModel = null;\n      this.notifyBelongsToChanged();\n    }\n  };\n\n  BelongsToRelationship.prototype.flushCanonical = function flushCanonical() {\n    //temporary fix to not remove newly created records if server returned null.\n    //TODO remove once we have proper diffing\n    if (this.inverseInternalModel && this.inverseInternalModel.isNew() && !this.canonicalState) {\n      return;\n    }\n    if (this.inverseInternalModel !== this.canonicalState) {\n      this.inverseInternalModel = this.canonicalState;\n      this.notifyBelongsToChanged();\n    }\n\n    _Relationship.prototype.flushCanonical.call(this);\n  };\n\n  BelongsToRelationship.prototype.addInternalModel = function addInternalModel(internalModel) {\n    if (this.members.has(internalModel)) {\n      return;\n    }\n\n    emberData_Debug.assertPolymorphicType(this.internalModel, this.relationshipMeta, internalModel);\n\n    if (this.inverseInternalModel) {\n      this.removeInternalModel(this.inverseInternalModel);\n    }\n\n    this.inverseInternalModel = internalModel;\n    _Relationship.prototype.addInternalModel.call(this, internalModel);\n    this.notifyBelongsToChanged();\n  };\n\n  BelongsToRelationship.prototype.setRecordPromise = function setRecordPromise(newPromise) {\n    var content = newPromise.get && newPromise.get('content');\n    emberData_Debug.assert(\"You passed in a promise that did not originate from an EmberData relationship. You can only pass promises that come from a belongsTo or hasMany relationship to the get call.\", content !== undefined);\n    this.setInternalModel(content ? content._internalModel : content);\n  };\n\n  BelongsToRelationship.prototype.removeInternalModelFromOwn = function removeInternalModelFromOwn(internalModel) {\n    if (!this.members.has(internalModel)) {\n      return;\n    }\n    this.inverseInternalModel = null;\n    _Relationship.prototype.removeInternalModelFromOwn.call(this, internalModel);\n    this.notifyBelongsToChanged();\n  };\n\n  BelongsToRelationship.prototype.notifyBelongsToChanged = function notifyBelongsToChanged() {\n    this.internalModel.notifyBelongsToChanged(this.key);\n  };\n\n  BelongsToRelationship.prototype.removeCanonicalInternalModelFromOwn = function removeCanonicalInternalModelFromOwn(internalModel) {\n    if (!this.canonicalMembers.has(internalModel)) {\n      return;\n    }\n    this.canonicalState = null;\n    _Relationship.prototype.removeCanonicalInternalModelFromOwn.call(this, internalModel);\n  };\n\n  BelongsToRelationship.prototype.findRecord = function findRecord() {\n    if (this.inverseInternalModel) {\n      return this.store._findByInternalModel(this.inverseInternalModel);\n    } else {\n      return Ember.RSVP.Promise.resolve(null);\n    }\n  };\n\n  BelongsToRelationship.prototype.fetchLink = function fetchLink() {\n    var _this2 = this;\n\n    return this.store.findBelongsTo(this.internalModel, this.link, this.relationshipMeta).then(function (internalModel) {\n      if (internalModel) {\n        _this2.addInternalModel(internalModel);\n      }\n      return internalModel;\n    });\n  };\n\n  BelongsToRelationship.prototype.getRecord = function getRecord() {\n    var _this3 = this;\n\n    //TODO(Igor) flushCanonical here once our syncing is not stupid\n    if (this.isAsync) {\n      var promise = void 0;\n      if (this.link) {\n        if (this.hasLoaded) {\n          promise = this.findRecord();\n        } else {\n          promise = this.findLink().then(function () {\n            return _this3.findRecord();\n          });\n        }\n      } else {\n        promise = this.findRecord();\n      }\n\n      return PromiseObject.create({\n        promise: promise,\n        content: this.inverseInternalModel ? this.inverseInternalModel.getRecord() : null\n      });\n    } else {\n      if (this.inverseInternalModel === null) {\n        return null;\n      }\n      var toReturn = this.inverseInternalModel.getRecord();\n      emberData_Debug.assert(\"You looked up the '\" + this.key + \"' relationship on a '\" + this.internalModel.modelName + \"' with id \" + this.internalModel.id + \" but some of the associated records were not loaded. Either make sure they are all loaded together with the parent record, or specify that the relationship is async (`DS.belongsTo({ async: true })`)\", toReturn === null || !toReturn.get('isEmpty'));\n      return toReturn;\n    }\n  };\n\n  BelongsToRelationship.prototype.reload = function reload() {\n    // TODO handle case when reload() is triggered multiple times\n\n    if (this.link) {\n      return this.fetchLink();\n    }\n\n    // reload record, if it is already loaded\n    if (this.inverseInternalModel && this.inverseInternalModel.hasRecord) {\n      return this.inverseInternalModel.getRecord().reload();\n    }\n\n    return this.findRecord();\n  };\n\n  BelongsToRelationship.prototype.updateData = function updateData(data, initial) {\n    emberData_Debug.assert('Ember Data expected the data for the ' + this.key + ' relationship on a ' + this.internalModel.toString() + ' to be in a JSON API format and include an `id` and `type` property but it found ' + Ember.inspect(data) + '. Please check your serializer and make sure it is serializing the relationship payload into a JSON API format.', data === null || data.id !== undefined && data.type !== undefined);\n    var internalModel = this.store._pushResourceIdentifier(this, data);\n    if (initial) {\n      this.setInitialCanonicalInternalModel(internalModel);\n    } else {\n      this.setCanonicalInternalModel(internalModel);\n    }\n  };\n\n  return BelongsToRelationship;\n}(Relationship);\n\nvar _createClass$2 = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck$3(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar _get = Ember.get;\n\n\nfunction shouldFindInverse(relationshipMeta) {\n  var options = relationshipMeta.options;\n  return !(options && options.inverse === null);\n}\n\nfunction createRelationshipFor(internalModel, relationshipMeta, store) {\n  var inverseKey = void 0;\n  var inverse = null;\n\n  if (shouldFindInverse(relationshipMeta)) {\n    inverse = internalModel.type.inverseFor(relationshipMeta.key, store);\n  } else {\n    emberData_Debug.runInDebug(function () {\n      internalModel.type.typeForRelationship(relationshipMeta.key, store);\n    });\n  }\n\n  if (inverse) {\n    inverseKey = inverse.name;\n  }\n\n  if (relationshipMeta.kind === 'hasMany') {\n    return new ManyRelationship(store, internalModel, inverseKey, relationshipMeta);\n  } else {\n    return new BelongsToRelationship(store, internalModel, inverseKey, relationshipMeta);\n  }\n}\n\nvar Relationships = function () {\n  function Relationships(internalModel) {\n    _classCallCheck$3(this, Relationships);\n\n    this.internalModel = internalModel;\n    this.initializedRelationships = Object.create(null);\n  }\n\n  // TODO @runspired deprecate this as it was never truly a record instance\n\n\n  Relationships.prototype.has = function has(key) {\n    return !!this.initializedRelationships[key];\n  };\n\n  Relationships.prototype.forEach = function forEach(cb) {\n    var rels = this.initializedRelationships;\n    Object.keys(rels).forEach(function (name) {\n      cb(name, rels[name]);\n    });\n  };\n\n  Relationships.prototype.get = function get(key) {\n    var relationships = this.initializedRelationships;\n    var relationship = relationships[key];\n    var internalModel = this.internalModel;\n\n    if (!relationship) {\n      var relationshipsByName = _get(internalModel.type, 'relationshipsByName');\n      var rel = relationshipsByName.get(key);\n\n      if (!rel) {\n        return undefined;\n      }\n\n      var relationshipPayload = internalModel.store._relationshipsPayloads.get(internalModel.modelName, internalModel.id, key);\n\n      relationship = relationships[key] = createRelationshipFor(internalModel, rel, internalModel.store);\n\n      if (relationshipPayload) {\n        relationship.push(relationshipPayload, true);\n      }\n    }\n\n    return relationship;\n  };\n\n  _createClass$2(Relationships, [{\n    key: \"record\",\n    get: function get() {\n      return this.internalModel;\n    }\n  }]);\n\n  return Relationships;\n}();\n\nvar _createClass$5 = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck$7(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/**\n  @module ember-data\n*/\n\nvar get$7 = Ember.get;\n\n/**\n  @class Snapshot\n  @namespace DS\n  @private\n  @constructor\n  @param {DS.Model} internalModel The model to create a snapshot from\n*/\n\nvar Snapshot = function () {\n  function Snapshot(internalModel) {\n    var _this = this;\n\n    var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n    _classCallCheck$7(this, Snapshot);\n\n    this._attributes = Object.create(null);\n    this._belongsToRelationships = Object.create(null);\n    this._belongsToIds = Object.create(null);\n    this._hasManyRelationships = Object.create(null);\n    this._hasManyIds = Object.create(null);\n    this._internalModel = internalModel;\n\n    var record = internalModel.getRecord();\n\n    /**\n     The underlying record for this snapshot. Can be used to access methods and\n     properties defined on the record.\n      Example\n      ```javascript\n     let json = snapshot.record.toJSON();\n     ```\n      @property record\n     @type {DS.Model}\n     */\n    this.record = record;\n    record.eachAttribute(function (keyName) {\n      return _this._attributes[keyName] = get$7(record, keyName);\n    });\n\n    /**\n     The id of the snapshot's underlying record\n      Example\n      ```javascript\n     // store.push('post', { id: 1, author: 'Tomster', title: 'Ember.js rocks' });\n     postSnapshot.id; // => '1'\n     ```\n      @property id\n     @type {String}\n     */\n    this.id = internalModel.id;\n\n    /**\n     A hash of adapter options\n     @property adapterOptions\n     @type {Object}\n     */\n    this.adapterOptions = options.adapterOptions;\n    this.include = options.include;\n\n    /**\n     The name of the type of the underlying record for this snapshot, as a string.\n      @property modelName\n     @type {String}\n     */\n    this.modelName = internalModel.modelName;\n\n    this._changedAttributes = record.changedAttributes();\n  }\n\n  /**\n   The type of the underlying record for this snapshot, as a DS.Model.\n    @property type\n   @type {DS.Model}\n   */\n\n\n  /**\n   Returns the value of an attribute.\n    Example\n    ```javascript\n   // store.push('post', { id: 1, author: 'Tomster', title: 'Ember.js rocks' });\n   postSnapshot.attr('author'); // => 'Tomster'\n   postSnapshot.attr('title'); // => 'Ember.js rocks'\n   ```\n    Note: Values are loaded eagerly and cached when the snapshot is created.\n    @method attr\n   @param {String} keyName\n   @return {Object} The attribute value or undefined\n   */\n  Snapshot.prototype.attr = function attr(keyName) {\n    if (keyName in this._attributes) {\n      return this._attributes[keyName];\n    }\n    throw new Ember.Error(\"Model '\" + Ember.inspect(this.record) + \"' has no attribute named '\" + keyName + \"' defined.\");\n  };\n\n  /**\n   Returns all attributes and their corresponding values.\n    Example\n    ```javascript\n   // store.push('post', { id: 1, author: 'Tomster', title: 'Ember.js rocks' });\n   postSnapshot.attributes(); // => { author: 'Tomster', title: 'Ember.js rocks' }\n   ```\n    @method attributes\n   @return {Object} All attributes of the current snapshot\n   */\n\n\n  Snapshot.prototype.attributes = function attributes() {\n    return Ember.copy(this._attributes);\n  };\n\n  /**\n   Returns all changed attributes and their old and new values.\n    Example\n    ```javascript\n   // store.push('post', { id: 1, author: 'Tomster', title: 'Ember.js rocks' });\n   postModel.set('title', 'Ember.js rocks!');\n   postSnapshot.changedAttributes(); // => { title: ['Ember.js rocks', 'Ember.js rocks!'] }\n   ```\n    @method changedAttributes\n   @return {Object} All changed attributes of the current snapshot\n   */\n\n\n  Snapshot.prototype.changedAttributes = function changedAttributes() {\n    var changedAttributes = Object.create(null);\n    var changedAttributeKeys = Object.keys(this._changedAttributes);\n\n    for (var i = 0, length = changedAttributeKeys.length; i < length; i++) {\n      var key = changedAttributeKeys[i];\n      changedAttributes[key] = Ember.copy(this._changedAttributes[key]);\n    }\n\n    return changedAttributes;\n  };\n\n  /**\n   Returns the current value of a belongsTo relationship.\n    `belongsTo` takes an optional hash of options as a second parameter,\n   currently supported options are:\n    - `id`: set to `true` if you only want the ID of the related record to be\n   returned.\n    Example\n    ```javascript\n   // store.push('post', { id: 1, title: 'Hello World' });\n   // store.createRecord('comment', { body: 'Lorem ipsum', post: post });\n   commentSnapshot.belongsTo('post'); // => DS.Snapshot\n   commentSnapshot.belongsTo('post', { id: true }); // => '1'\n    // store.push('comment', { id: 1, body: 'Lorem ipsum' });\n   commentSnapshot.belongsTo('post'); // => undefined\n   ```\n    Calling `belongsTo` will return a new Snapshot as long as there's any known\n   data for the relationship available, such as an ID. If the relationship is\n   known but unset, `belongsTo` will return `null`. If the contents of the\n   relationship is unknown `belongsTo` will return `undefined`.\n    Note: Relationships are loaded lazily and cached upon first access.\n    @method belongsTo\n   @param {String} keyName\n   @param {Object} [options]\n   @return {(DS.Snapshot|String|null|undefined)} A snapshot or ID of a known\n   relationship or null if the relationship is known but unset. undefined\n   will be returned if the contents of the relationship is unknown.\n   */\n\n\n  Snapshot.prototype.belongsTo = function belongsTo(keyName, options) {\n    var id = options && options.id;\n    var relationship = void 0,\n        inverseInternalModel = void 0,\n        hasData = void 0;\n    var result = void 0;\n\n    if (id && keyName in this._belongsToIds) {\n      return this._belongsToIds[keyName];\n    }\n\n    if (!id && keyName in this._belongsToRelationships) {\n      return this._belongsToRelationships[keyName];\n    }\n\n    relationship = this._internalModel._relationships.get(keyName);\n    if (!(relationship && relationship.relationshipMeta.kind === 'belongsTo')) {\n      throw new Ember.Error(\"Model '\" + Ember.inspect(this.record) + \"' has no belongsTo relationship named '\" + keyName + \"' defined.\");\n    }\n\n    hasData = get$7(relationship, 'hasData');\n    inverseInternalModel = get$7(relationship, 'inverseInternalModel');\n\n    if (hasData) {\n      if (inverseInternalModel && !inverseInternalModel.isDeleted()) {\n        if (id) {\n          result = get$7(inverseInternalModel, 'id');\n        } else {\n          result = inverseInternalModel.createSnapshot();\n        }\n      } else {\n        result = null;\n      }\n    }\n\n    if (id) {\n      this._belongsToIds[keyName] = result;\n    } else {\n      this._belongsToRelationships[keyName] = result;\n    }\n\n    return result;\n  };\n\n  /**\n   Returns the current value of a hasMany relationship.\n    `hasMany` takes an optional hash of options as a second parameter,\n   currently supported options are:\n    - `ids`: set to `true` if you only want the IDs of the related records to be\n   returned.\n    Example\n    ```javascript\n   // store.push('post', { id: 1, title: 'Hello World', comments: [2, 3] });\n   postSnapshot.hasMany('comments'); // => [DS.Snapshot, DS.Snapshot]\n   postSnapshot.hasMany('comments', { ids: true }); // => ['2', '3']\n    // store.push('post', { id: 1, title: 'Hello World' });\n   postSnapshot.hasMany('comments'); // => undefined\n   ```\n    Note: Relationships are loaded lazily and cached upon first access.\n    @method hasMany\n   @param {String} keyName\n   @param {Object} [options]\n   @return {(Array|undefined)} An array of snapshots or IDs of a known\n   relationship or an empty array if the relationship is known but unset.\n   undefined will be returned if the contents of the relationship is unknown.\n   */\n\n\n  Snapshot.prototype.hasMany = function hasMany(keyName, options) {\n    var ids = options && options.ids;\n    var relationship = void 0,\n        members = void 0,\n        hasData = void 0;\n    var results = void 0;\n\n    if (ids && keyName in this._hasManyIds) {\n      return this._hasManyIds[keyName];\n    }\n\n    if (!ids && keyName in this._hasManyRelationships) {\n      return this._hasManyRelationships[keyName];\n    }\n\n    relationship = this._internalModel._relationships.get(keyName);\n    if (!(relationship && relationship.relationshipMeta.kind === 'hasMany')) {\n      throw new Ember.Error(\"Model '\" + Ember.inspect(this.record) + \"' has no hasMany relationship named '\" + keyName + \"' defined.\");\n    }\n\n    hasData = get$7(relationship, 'hasData');\n    members = get$7(relationship, 'members');\n\n    if (hasData) {\n      results = [];\n      members.forEach(function (member) {\n        if (!member.isDeleted()) {\n          if (ids) {\n            results.push(member.id);\n          } else {\n            results.push(member.createSnapshot());\n          }\n        }\n      });\n    }\n\n    if (ids) {\n      this._hasManyIds[keyName] = results;\n    } else {\n      this._hasManyRelationships[keyName] = results;\n    }\n\n    return results;\n  };\n\n  /**\n    Iterates through all the attributes of the model, calling the passed\n    function on each attribute.\n     Example\n     ```javascript\n    snapshot.eachAttribute(function(name, meta) {\n      // ...\n    });\n    ```\n     @method eachAttribute\n    @param {Function} callback the callback to execute\n    @param {Object} [binding] the value to which the callback's `this` should be bound\n  */\n\n\n  Snapshot.prototype.eachAttribute = function eachAttribute(callback, binding) {\n    this.record.eachAttribute(callback, binding);\n  };\n\n  /**\n    Iterates through all the relationships of the model, calling the passed\n    function on each relationship.\n     Example\n     ```javascript\n    snapshot.eachRelationship(function(name, relationship) {\n      // ...\n    });\n    ```\n     @method eachRelationship\n    @param {Function} callback the callback to execute\n    @param {Object} [binding] the value to which the callback's `this` should be bound\n  */\n\n\n  Snapshot.prototype.eachRelationship = function eachRelationship(callback, binding) {\n    this.record.eachRelationship(callback, binding);\n  };\n\n  /**\n    Serializes the snapshot using the serializer for the model.\n     Example\n     ```app/adapters/application.js\n    import DS from 'ember-data';\n     export default DS.Adapter.extend({\n      createRecord(store, type, snapshot) {\n        var data = snapshot.serialize({ includeId: true });\n        var url = `/${type.modelName}`;\n         return fetch(url, {\n          method: 'POST',\n          body: data,\n        }).then((response) => response.json())\n      }\n    });\n    ```\n     @method serialize\n    @param {Object} options\n    @return {Object} an object whose values are primitive JSON values only\n   */\n\n\n  Snapshot.prototype.serialize = function serialize(options) {\n    return this.record.store.serializerFor(this.modelName).serialize(this, options);\n  };\n\n  _createClass$5(Snapshot, [{\n    key: \"type\",\n    get: function get() {\n      // TODO @runspired we should deprecate this in favor of modelClass but only once\n      // we've cleaned up the internals enough that a public change to follow suite is\n      // uncontroversial.\n      return this._internalModel.modelClass;\n    }\n  }]);\n\n  return Snapshot;\n}();\n\nvar get$8 = Ember.get;\n\n/*\n  Check if the passed model has a `type` attribute or a relationship named `type`.\n\n  @method modelHasAttributeOrRelationshipNamedType\n  @param modelClass\n */\nfunction modelHasAttributeOrRelationshipNamedType(modelClass) {\n  return get$8(modelClass, 'attributes').has('type') || get$8(modelClass, 'relationshipsByName').has('type');\n}\n\n/*\n  ember-container-inject-owner is a new feature in Ember 2.3 that finally provides a public\n  API for looking items up.  This function serves as a super simple polyfill to avoid\n  triggering deprecations.\n */\nfunction getOwner(context) {\n  var owner = void 0;\n\n  if (Ember.getOwner) {\n    owner = Ember.getOwner(context);\n  } else if (context.container) {\n    owner = context.container;\n  }\n\n  if (owner && owner.lookupFactory && !owner._lookupFactory) {\n    // `owner` is a container, we are just making this work\n    owner._lookupFactory = owner.lookupFactory;\n    owner.register = function () {\n      var registry = owner.registry || owner._registry || owner;\n\n      return registry.register.apply(registry, arguments);\n    };\n  }\n\n  return owner;\n}\n\nvar Reference = function Reference(store, internalModel) {\n  this.store = store;\n  this.internalModel = internalModel;\n};\n\nReference.prototype = {\n  constructor: Reference\n};\n\n/**\n   An RecordReference is a low level API that allows users and\n   addon author to perform meta-operations on a record.\n\n   @class RecordReference\n   @namespace DS\n*/\nvar RecordReference = function RecordReference(store, internalModel) {\n  this._super$constructor(store, internalModel);\n  this.type = internalModel.modelName;\n  this._id = internalModel.id;\n};\n\nRecordReference.prototype = Object.create(Reference.prototype);\nRecordReference.prototype.constructor = RecordReference;\nRecordReference.prototype._super$constructor = Reference;\n\n/**\n   The `id` of the record that this reference refers to.\n\n   Together, the `type` and `id` properties form a composite key for\n   the identity map.\n\n   Example\n\n   ```javascript\n   let userRef = store.getReference('user', 1);\n\n   userRef.id(); // '1'\n   ```\n\n   @method id\n   @return {String} The id of the record.\n*/\nRecordReference.prototype.id = function () {\n  return this._id;\n};\n\n/**\n   How the reference will be looked up when it is loaded: Currently\n   this always return `identity` to signifying that a record will be\n   loaded by the `type` and `id`.\n\n   Example\n\n   ```javascript\n   const userRef = store.getReference('user', 1);\n\n   userRef.remoteType(); // 'identity'\n   ```\n\n   @method remoteType\n   @return {String} 'identity'\n*/\nRecordReference.prototype.remoteType = function () {\n  return 'identity';\n};\n\n/**\n  This API allows you to provide a reference with new data. The\n  simplest usage of this API is similar to `store.push`: you provide a\n  normalized hash of data and the object represented by the reference\n  will update.\n\n  If you pass a promise to `push`, Ember Data will not ask the adapter\n  for the data if another attempt to fetch it is made in the\n  interim. When the promise resolves, the underlying object is updated\n  with the new data, and the promise returned by *this function* is resolved\n  with that object.\n\n  For example, `recordReference.push(promise)` will be resolved with a\n  record.\n\n   Example\n\n   ```javascript\n   let userRef = store.getReference('user', 1);\n\n   // provide data for reference\n   userRef.push({ data: { id: 1, username: \"@user\" }}).then(function(user) {\n     userRef.value() === user;\n   });\n   ```\n\n  @method push\n  @param {Promise|Object}\n  @return Promise<record> a promise for the value (record or relationship)\n*/\nRecordReference.prototype.push = function (objectOrPromise) {\n  var _this = this;\n\n  return Ember.RSVP.resolve(objectOrPromise).then(function (data) {\n    return _this.store.push(data);\n  });\n};\n\n/**\n  If the entity referred to by the reference is already loaded, it is\n  present as `reference.value`. Otherwise the value returned by this function\n  is `null`.\n\n   Example\n\n   ```javascript\n   let userRef = store.getReference('user', 1);\n\n   userRef.value(); // user\n   ```\n\n   @method value\n   @return {DS.Model} the record for this RecordReference\n*/\nRecordReference.prototype.value = function () {\n  if (this.internalModel.hasRecord) {\n    return this.internalModel.getRecord();\n  }\n};\n\n/**\n   Triggers a fetch for the backing entity based on its `remoteType`\n   (see `remoteType` definitions per reference type).\n\n   Example\n\n   ```javascript\n   let userRef = store.getReference('user', 1);\n\n   // load user (via store.find)\n   userRef.load().then(...)\n   ```\n\n   @method load\n   @return {Promise<record>} the record for this RecordReference\n*/\nRecordReference.prototype.load = function () {\n  return this.store.findRecord(this.type, this._id);\n};\n\n/**\n   Reloads the record if it is already loaded. If the record is not\n   loaded it will load the record via `store.findRecord`\n\n   Example\n\n   ```javascript\n   let userRef = store.getReference('user', 1);\n\n   // or trigger a reload\n   userRef.reload().then(...)\n   ```\n\n   @method reload\n   @return {Promise<record>} the record for this RecordReference\n*/\nRecordReference.prototype.reload = function () {\n  var record = this.value();\n  if (record) {\n    return record.reload();\n  }\n\n  return this.load();\n};\n\n/**\n   A BelongsToReference is a low level API that allows users and\n   addon author to perform meta-operations on a belongs-to\n   relationship.\n\n   @class BelongsToReference\n   @namespace DS\n   @extends DS.Reference\n*/\nvar BelongsToReference = function BelongsToReference(store, parentInternalModel, belongsToRelationship) {\n  this._super$constructor(store, parentInternalModel);\n  this.belongsToRelationship = belongsToRelationship;\n  this.type = belongsToRelationship.relationshipMeta.type;\n  this.parent = parentInternalModel.recordReference;\n\n  // TODO inverse\n};\n\nBelongsToReference.prototype = Object.create(Reference.prototype);\nBelongsToReference.prototype.constructor = BelongsToReference;\nBelongsToReference.prototype._super$constructor = Reference;\n\n/**\n   This returns a string that represents how the reference will be\n   looked up when it is loaded. If the relationship has a link it will\n   use the \"link\" otherwise it defaults to \"id\".\n\n   Example\n\n   ```javascript\n    // models/blog.js\n    export default DS.Model.extend({\n      user: DS.belongsTo({ async: true })\n    });\n\n    let blog = store.push({\n      type: 'blog',\n      id: 1,\n      relationships: {\n        user: {\n          data: { type: 'user', id: 1 }\n        }\n      }\n    });\n    let userRef = blog.belongsTo('user');\n\n    // get the identifier of the reference\n    if (userRef.remoteType() === \"id\") {\n      let id = userRef.id();\n    } else if (userRef.remoteType() === \"link\") {\n      let link = userRef.link();\n    }\n    ```\n\n   @method remoteType\n   @return {String} The name of the remote type. This should either be \"link\" or \"id\"\n*/\nBelongsToReference.prototype.remoteType = function () {\n  if (this.belongsToRelationship.link) {\n    return \"link\";\n  }\n\n  return \"id\";\n};\n\n/**\n   The `id` of the record that this reference refers to. Together, the\n   `type()` and `id()` methods form a composite key for the identity\n   map. This can be used to access the id of an async relationship\n   without triggering a fetch that would normally happen if you\n   attempted to use `record.get('relationship.id')`.\n\n   Example\n\n   ```javascript\n    // models/blog.js\n    export default DS.Model.extend({\n      user: DS.belongsTo({ async: true })\n    });\n\n    let blog = store.push({\n      data: {\n        type: 'blog',\n        id: 1,\n        relationships: {\n          user: {\n            data: { type: 'user', id: 1 }\n          }\n        }\n      }\n    });\n    let userRef = blog.belongsTo('user');\n\n    // get the identifier of the reference\n    if (userRef.remoteType() === \"id\") {\n      let id = userRef.id();\n    }\n    ```\n\n   @method id\n   @return {String} The id of the record in this belongsTo relationship.\n*/\nBelongsToReference.prototype.id = function () {\n  var inverseInternalModel = this.belongsToRelationship.inverseInternalModel;\n  return inverseInternalModel && inverseInternalModel.id;\n};\n\n/**\n   The link Ember Data will use to fetch or reload this belongs-to\n   relationship.\n\n   Example\n\n   ```javascript\n    // models/blog.js\n    export default DS.Model.extend({\n      user: DS.belongsTo({ async: true })\n    });\n\n    let blog = store.push({\n      data: {\n        type: 'blog',\n        id: 1,\n        relationships: {\n          user: {\n            links: {\n              related: '/articles/1/author'\n            }\n          }\n        }\n      }\n    });\n    let userRef = blog.belongsTo('user');\n\n    // get the identifier of the reference\n    if (userRef.remoteType() === \"link\") {\n      let link = userRef.link();\n    }\n    ```\n\n   @method link\n   @return {String} The link Ember Data will use to fetch or reload this belongs-to relationship.\n*/\nBelongsToReference.prototype.link = function () {\n  return this.belongsToRelationship.link;\n};\n\n/**\n   The meta data for the belongs-to relationship.\n\n   Example\n\n   ```javascript\n    // models/blog.js\n    export default DS.Model.extend({\n      user: DS.belongsTo({ async: true })\n    });\n\n    let blog = store.push({\n      data: {\n        type: 'blog',\n        id: 1,\n        relationships: {\n          user: {\n            links: {\n              related: {\n                href: '/articles/1/author',\n                meta: {\n                  lastUpdated: 1458014400000\n                }\n              }\n            }\n          }\n        }\n      }\n    });\n\n    let userRef = blog.belongsTo('user');\n\n    userRef.meta() // { lastUpdated: 1458014400000 }\n    ```\n\n   @method meta\n   @return {Object} The meta information for the belongs-oo relationship.\n*/\nBelongsToReference.prototype.meta = function () {\n  return this.belongsToRelationship.meta;\n};\n\n/**\n   `push` can be used to update the data in the relationship and Ember\n   Data will treat the new data as the conanical value of this\n   relationship on the backend.\n\n   Example\n\n    ```javascript\n    // models/blog.js\n    export default DS.Model.extend({\n      user: DS.belongsTo({ async: true })\n    });\n\n    let blog = store.push({\n      data: {\n        type: 'blog',\n        id: 1,\n        relationships: {\n          user: {\n            data: { type: 'user', id: 1 }\n          }\n        }\n      }\n    });\n    let userRef = blog.belongsTo('user');\n\n    // provide data for reference\n    userRef.push({\n      data: {\n        type: 'user',\n        id: 1,\n        attributes: {\n          username: \"@user\"\n        }\n      }\n    }).then(function(user) {\n      userRef.value() === user;\n    });\n    ```\n\n   @method push\n   @param {Object|Promise} objectOrPromise a promise that resolves to a JSONAPI document object describing the new value of this relationship.\n   @return {Promise<record>} A promise that resolves with the new value in this belongs-to relationship.\n*/\nBelongsToReference.prototype.push = function (objectOrPromise) {\n  var _this = this;\n\n  return Ember.RSVP.resolve(objectOrPromise).then(function (data) {\n    var record = void 0;\n\n    if (data instanceof Model) {\n      if (isEnabled('ds-overhaul-references')) {\n        emberData_Debug.deprecate(\"BelongsToReference#push(DS.Model) is deprecated. Update relationship via `model.set('relationshipName', value)` instead.\", false, {\n          id: 'ds.references.belongs-to.push-record',\n          until: '3.0'\n        });\n      }\n      record = data;\n    } else {\n      record = _this.store.push(data);\n    }\n\n    emberData_Debug.assertPolymorphicType(_this.internalModel, _this.belongsToRelationship.relationshipMeta, record._internalModel);\n\n    _this.belongsToRelationship.setCanonicalInternalModel(record._internalModel);\n\n    return record;\n  });\n};\n\n/**\n   `value()` synchronously returns the current value of the belongs-to\n   relationship. Unlike `record.get('relationshipName')`, calling\n   `value()` on a reference does not trigger a fetch if the async\n   relationship is not yet loaded. If the relationship is not loaded\n   it will always return `null`.\n\n   Example\n\n    ```javascript\n    // models/blog.js\n    export default DS.Model.extend({\n      user: DS.belongsTo({ async: true })\n    });\n\n    let blog = store.push({\n      data: {\n        type: 'blog',\n        id: 1,\n        relationships: {\n          user: {\n            data: { type: 'user', id: 1 }\n          }\n        }\n      }\n    });\n    let userRef = blog.belongsTo('user');\n\n    userRef.value(); // null\n\n    // provide data for reference\n    userRef.push({\n      data: {\n        type: 'user',\n        id: 1,\n        attributes: {\n          username: \"@user\"\n        }\n      }\n    }).then(function(user) {\n      userRef.value(); // user\n    });\n    ```\n\n   @method value\n   @param {Object|Promise} objectOrPromise a promise that resolves to a JSONAPI document object describing the new value of this relationship.\n   @return {DS.Model} the record in this relationship\n*/\nBelongsToReference.prototype.value = function () {\n  var inverseInternalModel = this.belongsToRelationship.inverseInternalModel;\n\n  if (inverseInternalModel && inverseInternalModel.isLoaded()) {\n    return inverseInternalModel.getRecord();\n  }\n\n  return null;\n};\n\n/**\n   Loads a record in a belongs to relationship if it is not already\n   loaded. If the relationship is already loaded this method does not\n   trigger a new load.\n\n   Example\n\n    ```javascript\n    // models/blog.js\n    export default DS.Model.extend({\n      user: DS.belongsTo({ async: true })\n    });\n\n    let blog = store.push({\n      data: {\n        type: 'blog',\n        id: 1,\n        relationships: {\n          user: {\n            data: { type: 'user', id: 1 }\n          }\n        }\n      }\n    });\n    let userRef = blog.belongsTo('user');\n\n    userRef.value(); // null\n\n    userRef.load().then(function(user) {\n      userRef.value() === user\n    });\n\n   @method load\n   @return {Promise} a promise that resolves with the record in this belongs-to relationship.\n*/\nBelongsToReference.prototype.load = function () {\n  var _this2 = this;\n\n  if (this.remoteType() === \"id\") {\n    return this.belongsToRelationship.getRecord();\n  }\n\n  if (this.remoteType() === \"link\") {\n    return this.belongsToRelationship.findLink().then(function (internalModel) {\n      return _this2.value();\n    });\n  }\n};\n\n/**\n   Triggers a reload of the value in this relationship. If the\n   remoteType is `\"link\"` Ember Data will use the relationship link to\n   reload the relationship. Otherwise it will reload the record by its\n   id.\n\n   Example\n\n    ```javascript\n    // models/blog.js\n    export default DS.Model.extend({\n      user: DS.belongsTo({ async: true })\n    });\n\n    let blog = store.push({\n      data: {\n        type: 'blog',\n        id: 1,\n        relationships: {\n          user: {\n            data: { type: 'user', id: 1 }\n          }\n        }\n      }\n    });\n    let userRef = blog.belongsTo('user');\n\n    userRef.reload().then(function(user) {\n      userRef.value() === user\n    });\n\n   @method reload\n   @return {Promise} a promise that resolves with the record in this belongs-to relationship after the reload has completed.\n*/\nBelongsToReference.prototype.reload = function () {\n  var _this3 = this;\n\n  return this.belongsToRelationship.reload().then(function (internalModel) {\n    return _this3.value();\n  });\n};\n\nvar _typeof$4 = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar resolve = Ember.RSVP.resolve;\nvar get$9 = Ember.get;\n\n/**\n   A HasManyReference is a low level API that allows users and addon\n   author to perform meta-operations on a has-many relationship.\n\n   @class HasManyReference\n   @namespace DS\n*/\n\nvar HasManyReference = function HasManyReference(store, parentInternalModel, hasManyRelationship) {\n  this._super$constructor(store, parentInternalModel);\n  this.hasManyRelationship = hasManyRelationship;\n  this.type = hasManyRelationship.relationshipMeta.type;\n  this.parent = parentInternalModel.recordReference;\n\n  // TODO inverse\n};\n\nHasManyReference.prototype = Object.create(Reference.prototype);\nHasManyReference.prototype.constructor = HasManyReference;\nHasManyReference.prototype._super$constructor = Reference;\n\n/**\n   This returns a string that represents how the reference will be\n   looked up when it is loaded. If the relationship has a link it will\n   use the \"link\" otherwise it defaults to \"id\".\n\n   Example\n\n   ```app/models/post.js\n   export default DS.Model.extend({\n     comments: DS.hasMany({ async: true })\n   });\n   ```\n\n   ```javascript\n   let post = store.push({\n     data: {\n       type: 'post',\n       id: 1,\n       relationships: {\n         comments: {\n           data: [{ type: 'comment', id: 1 }]\n         }\n       }\n     }\n   });\n\n   let commentsRef = post.hasMany('comments');\n\n   // get the identifier of the reference\n   if (commentsRef.remoteType() === \"ids\") {\n     let ids = commentsRef.ids();\n   } else if (commentsRef.remoteType() === \"link\") {\n     let link = commentsRef.link();\n   }\n   ```\n\n   @method remoteType\n   @return {String} The name of the remote type. This should either be \"link\" or \"ids\"\n*/\nHasManyReference.prototype.remoteType = function () {\n  if (this.hasManyRelationship.link) {\n    return \"link\";\n  }\n\n  return \"ids\";\n};\n\n/**\n   The link Ember Data will use to fetch or reload this has-many\n   relationship.\n\n   Example\n\n   ```app/models/post.js\n   export default DS.Model.extend({\n     comments: DS.hasMany({ async: true })\n   });\n   ```\n\n   ```javascript\n   let post = store.push({\n     data: {\n       type: 'post',\n       id: 1,\n       relationships: {\n         comments: {\n           links: {\n             related: '/posts/1/comments'\n           }\n         }\n       }\n     }\n   });\n\n   let commentsRef = post.hasMany('comments');\n\n   commentsRef.link(); // '/posts/1/comments'\n   ```\n\n   @method link\n   @return {String} The link Ember Data will use to fetch or reload this has-many relationship.\n*/\nHasManyReference.prototype.link = function () {\n  return this.hasManyRelationship.link;\n};\n\n/**\n   `ids()` returns an array of the record ids in this relationship.\n\n   Example\n\n   ```app/models/post.js\n   export default DS.Model.extend({\n     comments: DS.hasMany({ async: true })\n   });\n   ```\n\n   ```javascript\n   let post = store.push({\n     data: {\n       type: 'post',\n       id: 1,\n       relationships: {\n         comments: {\n           data: [{ type: 'comment', id: 1 }]\n         }\n       }\n     }\n   });\n\n   let commentsRef = post.hasMany('comments');\n\n   commentsRef.ids(); // ['1']\n   ```\n\n   @method remoteType\n   @return {Array} The ids in this has-many relationship\n*/\nHasManyReference.prototype.ids = function () {\n  var members = this.hasManyRelationship.members.toArray();\n\n  return members.map(function (internalModel) {\n    return internalModel.id;\n  });\n};\n\n/**\n   The link Ember Data will use to fetch or reload this has-many\n   relationship.\n\n   Example\n\n   ```app/models/post.js\n   export default DS.Model.extend({\n     comments: DS.hasMany({ async: true })\n   });\n   ```\n\n   ```javascript\n   let post = store.push({\n     data: {\n       type: 'post',\n       id: 1,\n       relationships: {\n         comments: {\n           links: {\n             related: {\n               href: '/posts/1/comments',\n               meta: {\n                 count: 10\n               }\n             }\n           }\n         }\n       }\n     }\n   });\n\n   let commentsRef = post.hasMany('comments');\n\n   commentsRef.meta(); // { count: 10 }\n   ```\n\n   @method meta\n   @return {Object} The meta information for the has-many relationship.\n*/\nHasManyReference.prototype.meta = function () {\n  return this.hasManyRelationship.meta;\n};\n\n/**\n   `push` can be used to update the data in the relationship and Ember\n   Data will treat the new data as the canonical value of this\n   relationship on the backend.\n\n   Example\n\n   ```app/models/post.js\n   export default DS.Model.extend({\n     comments: DS.hasMany({ async: true })\n   });\n   ```\n\n   ```\n   let post = store.push({\n     data: {\n       type: 'post',\n       id: 1,\n       relationships: {\n         comments: {\n           data: [{ type: 'comment', id: 1 }]\n         }\n       }\n     }\n   });\n\n   let commentsRef = post.hasMany('comments');\n\n   commentsRef.ids(); // ['1']\n\n   commentsRef.push([\n     [{ type: 'comment', id: 2 }],\n     [{ type: 'comment', id: 3 }],\n   ])\n\n   commentsRef.ids(); // ['2', '3']\n   ```\n\n   @method push\n   @param {Array|Promise} objectOrPromise a promise that resolves to a JSONAPI document object describing the new value of this relationship.\n   @return {DS.ManyArray}\n*/\nHasManyReference.prototype.push = function (objectOrPromise) {\n  var _this = this;\n\n  return resolve(objectOrPromise).then(function (payload) {\n    var array = payload;\n\n    if (isEnabled(\"ds-overhaul-references\")) {\n      emberData_Debug.deprecate(\"HasManyReference#push(array) is deprecated. Push a JSON-API document instead.\", !Array.isArray(payload), {\n        id: 'ds.references.has-many.push-array',\n        until: '3.0'\n      });\n    }\n\n    var useLegacyArrayPush = true;\n    if ((typeof payload === 'undefined' ? 'undefined' : _typeof$4(payload)) === \"object\" && payload.data) {\n      array = payload.data;\n      useLegacyArrayPush = array.length && array[0].data;\n\n      if (isEnabled('ds-overhaul-references')) {\n        emberData_Debug.deprecate(\"HasManyReference#push() expects a valid JSON-API document.\", !useLegacyArrayPush, {\n          id: 'ds.references.has-many.push-invalid-json-api',\n          until: '3.0'\n        });\n      }\n    }\n\n    if (!isEnabled('ds-overhaul-references')) {\n      useLegacyArrayPush = true;\n    }\n\n    var internalModels = void 0;\n    if (useLegacyArrayPush) {\n      internalModels = array.map(function (obj) {\n        var record = _this.store.push(obj);\n\n        emberData_Debug.runInDebug(function () {\n          var relationshipMeta = _this.hasManyRelationship.relationshipMeta;\n          emberData_Debug.assertPolymorphicType(_this.internalModel, relationshipMeta, record._internalModel);\n        });\n\n        return record._internalModel;\n      });\n    } else {\n      var records = _this.store.push(payload);\n      internalModels = Ember.A(records).mapBy('_internalModel');\n\n      emberData_Debug.runInDebug(function () {\n        internalModels.forEach(function (internalModel) {\n          var relationshipMeta = _this.hasManyRelationship.relationshipMeta;\n          emberData_Debug.assertPolymorphicType(_this.internalModel, relationshipMeta, internalModel);\n        });\n      });\n    }\n\n    _this.hasManyRelationship.computeChanges(internalModels);\n\n    return _this.hasManyRelationship.manyArray;\n  });\n};\n\nHasManyReference.prototype._isLoaded = function () {\n  var hasData = get$9(this.hasManyRelationship, 'hasData');\n  if (!hasData) {\n    return false;\n  }\n\n  var members = this.hasManyRelationship.members.toArray();\n\n  return members.every(function (internalModel) {\n    return internalModel.isLoaded() === true;\n  });\n};\n\n/**\n   `value()` sycronously returns the current value of the has-many\n    relationship. Unlike `record.get('relationshipName')`, calling\n    `value()` on a reference does not trigger a fetch if the async\n    relationship is not yet loaded. If the relationship is not loaded\n    it will always return `null`.\n\n   Example\n\n   ```app/models/post.js\n   export default DS.Model.extend({\n     comments: DS.hasMany({ async: true })\n   });\n   ```\n\n   ```javascript\n   let post = store.push({\n     data: {\n       type: 'post',\n       id: 1,\n       relationships: {\n         comments: {\n           data: [{ type: 'comment', id: 1 }]\n         }\n       }\n     }\n   });\n\n   let commentsRef = post.hasMany('comments');\n\n   post.get('comments').then(function(comments) {\n     commentsRef.value() === comments\n   })\n   ```\n\n   @method value\n   @return {DS.ManyArray}\n*/\nHasManyReference.prototype.value = function () {\n  if (this._isLoaded()) {\n    return this.hasManyRelationship.manyArray;\n  }\n\n  return null;\n};\n\n/**\n   Loads the relationship if it is not already loaded.  If the\n   relationship is already loaded this method does not trigger a new\n   load.\n\n   Example\n\n   ```app/models/post.js\n   export default DS.Model.extend({\n     comments: DS.hasMany({ async: true })\n   });\n   ```\n\n   ```javascript\n   let post = store.push({\n     data: {\n       type: 'post',\n       id: 1,\n       relationships: {\n         comments: {\n           data: [{ type: 'comment', id: 1 }]\n         }\n       }\n     }\n   });\n\n   let commentsRef = post.hasMany('comments');\n\n   commentsRef.load().then(function(comments) {\n     //...\n   });\n   ```\n\n   @method load\n   @return {Promise} a promise that resolves with the ManyArray in\n   this has-many relationship.\n*/\nHasManyReference.prototype.load = function () {\n  if (!this._isLoaded()) {\n    return this.hasManyRelationship.getRecords();\n  }\n\n  return resolve(this.hasManyRelationship.manyArray);\n};\n\n/**\n   Reloads this has-many relationship.\n\n   Example\n\n   ```app/models/post.js\n   export default DS.Model.extend({\n     comments: DS.hasMany({ async: true })\n   });\n   ```\n\n   ```javascript\n   let post = store.push({\n     data: {\n       type: 'post',\n       id: 1,\n       relationships: {\n         comments: {\n           data: [{ type: 'comment', id: 1 }]\n         }\n       }\n     }\n   });\n\n   let commentsRef = post.hasMany('comments');\n\n   commentsRef.reload().then(function(comments) {\n     //...\n   });\n   ```\n\n   @method reload\n   @return {Promise} a promise that resolves with the ManyArray in this has-many relationship.\n*/\nHasManyReference.prototype.reload = function () {\n  return this.hasManyRelationship.reload();\n};\n\nvar _typeof$2 = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass$1 = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck$2(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar get$4 = Ember.get;\nvar set$2 = Ember.set;\nvar copy$1 = Ember.copy;\nvar EmberError$2 = Ember.Error;\nvar inspect$1 = Ember.inspect;\nvar isEmpty$1 = Ember.isEmpty;\nvar isEqual = Ember.isEqual;\nvar setOwner = Ember.setOwner;\nvar run = Ember.run;\nvar RSVP$1 = Ember.RSVP;\nvar Promise$2 = Ember.RSVP.Promise;\n\n\nvar assign = Ember.assign || Ember.merge;\n\n/*\n  The TransitionChainMap caches the `state.enters`, `state.setups`, and final state reached\n  when transitioning from one state to another, so that future transitions can replay the\n  transition without needing to walk the state tree, collect these hook calls and determine\n   the state to transition into.\n\n   A future optimization would be to build a single chained method out of the collected enters\n   and setups. It may also be faster to do a two level cache (from: { to }) instead of caching based\n   on a key that adds the two together.\n */\nvar TransitionChainMap = Object.create(null);\n\nvar _extractPivotNameCache = Object.create(null);\nvar _splitOnDotCache = Object.create(null);\n\nfunction splitOnDot(name) {\n  return _splitOnDotCache[name] || (_splitOnDotCache[name] = name.split('.'));\n}\n\nfunction extractPivotName(name) {\n  return _extractPivotNameCache[name] || (_extractPivotNameCache[name] = splitOnDot(name)[0]);\n}\n\nfunction areAllModelsUnloaded(internalModels) {\n  for (var i = 0; i < internalModels.length; ++i) {\n    var record = internalModels[i]._record;\n    if (record && !(record.get('isDestroyed') || record.get('isDestroying'))) {\n      return false;\n    }\n  }\n  return true;\n}\n\n// this (and all heimdall instrumentation) will be stripped by a babel transform\n//  https://github.com/heimdalljs/babel5-plugin-strip-heimdall\n\n\nvar InternalModelReferenceId = 1;\nvar nextBfsId = 1;\n\n/*\n  `InternalModel` is the Model class that we use internally inside Ember Data to represent models.\n  Internal ED methods should only deal with `InternalModel` objects. It is a fast, plain Javascript class.\n\n  We expose `DS.Model` to application code, by materializing a `DS.Model` from `InternalModel` lazily, as\n  a performance optimization.\n\n  `InternalModel` should never be exposed to application code. At the boundaries of the system, in places\n  like `find`, `push`, etc. we convert between Models and InternalModels.\n\n  We need to make sure that the properties from `InternalModel` are correctly exposed/proxied on `Model`\n  if they are needed.\n\n  @private\n  @class InternalModel\n*/\n\nvar InternalModel = function () {\n  function InternalModel(modelName, id, store, data) {\n    _classCallCheck$2(this, InternalModel);\n\n    this.id = id;\n\n    // this ensure ordered set can quickly identify this as unique\n    this[Ember.GUID_KEY] = InternalModelReferenceId++ + 'internal-model';\n\n    this.store = store;\n    this.modelName = modelName;\n    this._loadingPromise = null;\n    this._record = null;\n    this._isDestroyed = false;\n    this.isError = false;\n    this._isUpdatingRecordArrays = false; // used by the recordArrayManager\n\n    // During dematerialization we don't want to rematerialize the record.  The\n    // reason this might happen is that dematerialization removes records from\n    // record arrays,  and Ember arrays will always `objectAt(0)` and\n    // `objectAt(len - 1)` to test whether or not `firstObject` or `lastObject`\n    // have changed.\n    this._isDematerializing = false;\n    this._scheduledDestroy = null;\n\n    this.resetRecord();\n\n    if (data) {\n      this.__data = data;\n    }\n\n    // caches for lazy getters\n    this._modelClass = null;\n    this.__deferredTriggers = null;\n    this.__recordArrays = null;\n    this._references = null;\n    this._recordReference = null;\n    this.__relationships = null;\n    this.__implicitRelationships = null;\n\n    // Used during the mark phase of unloading to avoid checking the same internal\n    // model twice in the same scan\n    this._bfsId = 0;\n  }\n\n  InternalModel.prototype.isHiddenFromRecordArrays = function isHiddenFromRecordArrays() {\n    // During dematerialization we don't want to rematerialize the record.\n    // recordWasDeleted can cause other records to rematerialize because it\n    // removes the internal model from the array and Ember arrays will always\n    // `objectAt(0)` and `objectAt(len -1)` to check whether `firstObject` or\n    // `lastObject` have changed.  When this happens we don't want those\n    // models to rematerialize their records.\n\n    return this._isDematerializing || this.isDestroyed || this.currentState.stateName === 'root.deleted.saved' || this.isEmpty();\n  };\n\n  InternalModel.prototype.isEmpty = function isEmpty() {\n    return this.currentState.isEmpty;\n  };\n\n  InternalModel.prototype.isLoading = function isLoading() {\n    return this.currentState.isLoading;\n  };\n\n  InternalModel.prototype.isLoaded = function isLoaded() {\n    return this.currentState.isLoaded;\n  };\n\n  InternalModel.prototype.hasDirtyAttributes = function hasDirtyAttributes() {\n    return this.currentState.hasDirtyAttributes;\n  };\n\n  InternalModel.prototype.isSaving = function isSaving() {\n    return this.currentState.isSaving;\n  };\n\n  InternalModel.prototype.isDeleted = function isDeleted() {\n    return this.currentState.isDeleted;\n  };\n\n  InternalModel.prototype.isNew = function isNew() {\n    return this.currentState.isNew;\n  };\n\n  InternalModel.prototype.isValid = function isValid() {\n    return this.currentState.isValid;\n  };\n\n  InternalModel.prototype.dirtyType = function dirtyType() {\n    return this.currentState.dirtyType;\n  };\n\n  InternalModel.prototype.getRecord = function getRecord(properties) {\n    if (!this._record && !this._isDematerializing) {\n\n      // lookupFactory should really return an object that creates\n      // instances with the injections applied\n      var createOptions = {\n        store: this.store,\n        _internalModel: this,\n        id: this.id,\n        currentState: this.currentState,\n        isError: this.isError,\n        adapterError: this.error\n      };\n\n      if ((typeof properties === 'undefined' ? 'undefined' : _typeof$2(properties)) === 'object' && properties !== null) {\n        assign(createOptions, properties);\n      }\n\n      if (setOwner) {\n        // ensure that `getOwner(this)` works inside a model instance\n        setOwner(createOptions, getOwner(this.store));\n      } else {\n        createOptions.container = this.store.container;\n      }\n\n      this._record = this.store.modelFactoryFor(this.modelName).create(createOptions);\n\n      this._triggerDeferredTriggers();\n    }\n\n    return this._record;\n  };\n\n  InternalModel.prototype.resetRecord = function resetRecord() {\n    this._record = null;\n    this.dataHasInitialized = false;\n    this.isReloading = false;\n    this.error = null;\n    this.currentState = RootState$1.empty;\n    this.__attributes = null;\n    this.__inFlightAttributes = null;\n    this._data = null;\n  };\n\n  InternalModel.prototype.dematerializeRecord = function dematerializeRecord() {\n    if (this._record) {\n      this._isDematerializing = true;\n      this._record.destroy();\n      this.destroyRelationships();\n      this.updateRecordArrays();\n      this.resetRecord();\n    }\n  };\n\n  InternalModel.prototype.deleteRecord = function deleteRecord() {\n    this.send('deleteRecord');\n  };\n\n  InternalModel.prototype.save = function save(options) {\n    var promiseLabel = \"DS: Model#save \" + this;\n    var resolver = RSVP$1.defer(promiseLabel);\n\n    this.store.scheduleSave(this, resolver, options);\n    return resolver.promise;\n  };\n\n  InternalModel.prototype.startedReloading = function startedReloading() {\n    this.isReloading = true;\n    if (this.hasRecord) {\n      set$2(this._record, 'isReloading', true);\n    }\n  };\n\n  InternalModel.prototype.finishedReloading = function finishedReloading() {\n    this.isReloading = false;\n    if (this.hasRecord) {\n      set$2(this._record, 'isReloading', false);\n    }\n  };\n\n  InternalModel.prototype.reload = function reload() {\n    this.startedReloading();\n    var internalModel = this;\n    var promiseLabel = \"DS: Model#reload of \" + this;\n\n    return new Promise$2(function (resolve) {\n      internalModel.send('reloadRecord', resolve);\n    }, promiseLabel).then(function () {\n      internalModel.didCleanError();\n      return internalModel;\n    }, function (error) {\n      internalModel.didError(error);\n      throw error;\n    }, \"DS: Model#reload complete, update flags\").finally(function () {\n      internalModel.finishedReloading();\n      internalModel.updateRecordArrays();\n    });\n  };\n\n  /**\n    Computes the set of internal models reachable from `this` across exactly one\n    relationship.\n     @return {Array} An array containing the internal models that `this` belongs\n    to or has many.\n  */\n\n\n  InternalModel.prototype._directlyRelatedInternalModels = function _directlyRelatedInternalModels() {\n    var array = [];\n    this._relationships.forEach(function (name, rel) {\n      var local = rel.members.toArray();\n      var server = rel.canonicalMembers.toArray();\n      array = array.concat(local, server);\n    });\n    return array;\n  };\n\n  /**\n    Computes the set of internal models reachable from this internal model.\n     Reachability is determined over the relationship graph (ie a graph where\n    nodes are internal models and edges are belongs to or has many\n    relationships).\n     @return {Array} An array including `this` and all internal models reachable\n    from `this`.\n  */\n\n\n  InternalModel.prototype._allRelatedInternalModels = function _allRelatedInternalModels() {\n    var array = [];\n    var queue = [];\n    var bfsId = nextBfsId++;\n    queue.push(this);\n    this._bfsId = bfsId;\n    while (queue.length > 0) {\n      var node = queue.shift();\n      array.push(node);\n      var related = node._directlyRelatedInternalModels();\n      for (var i = 0; i < related.length; ++i) {\n        var internalModel = related[i];\n        emberData_Debug.assert('Internal Error: seen a future bfs iteration', internalModel._bfsId <= bfsId);\n        if (internalModel._bfsId < bfsId) {\n          queue.push(internalModel);\n          internalModel._bfsId = bfsId;\n        }\n      }\n    }\n    return array;\n  };\n\n  /**\n    Unload the record for this internal model. This will cause the record to be\n    destroyed and freed up for garbage collection. It will also do a check\n    for cleaning up internal models.\n     This check is performed by first computing the set of related internal\n    models. If all records in this set are unloaded, then the entire set is\n    destroyed. Otherwise, nothing in the set is destroyed.\n     This means that this internal model will be freed up for garbage collection\n    once all models that refer to it via some relationship are also unloaded.\n  */\n\n\n  InternalModel.prototype.unloadRecord = function unloadRecord() {\n    this.send('unloadRecord');\n    this.dematerializeRecord();\n\n    if (this._scheduledDestroy === null) {\n      this._scheduledDestroy = run.schedule('destroy', this, '_checkForOrphanedInternalModels');\n    }\n  };\n\n  InternalModel.prototype.hasScheduledDestroy = function hasScheduledDestroy() {\n    return !!this._scheduledDestroy;\n  };\n\n  InternalModel.prototype.cancelDestroy = function cancelDestroy() {\n    emberData_Debug.assert('You cannot cancel the destruction of an InternalModel once it has already been destroyed', !this.isDestroyed);\n\n    this._isDematerializing = false;\n    run.cancel(this._scheduledDestroy);\n    this._scheduledDestroy = null;\n  };\n\n  // typically, we prefer to async destroy this lets us batch cleanup work.\n  // Unfortunately, some scenarios where that is not possible. Such as:\n  //\n  // ```js\n  // const record = store.find(‘record’, 1);\n  // record.unloadRecord();\n  // store.createRecord(‘record’, 1);\n  // ```\n  //\n  // In those scenarios, we make that model's cleanup work, sync.\n  //\n\n\n  InternalModel.prototype.destroySync = function destroySync() {\n    if (this._isDematerializing) {\n      this.cancelDestroy();\n    }\n    this._checkForOrphanedInternalModels();\n    if (this.isDestroyed || this.isDestroying) {\n      return;\n    }\n\n    // just in-case we are not one of the orphaned, we should still\n    // still destroy ourselves\n    this.destroy();\n  };\n\n  InternalModel.prototype._checkForOrphanedInternalModels = function _checkForOrphanedInternalModels() {\n    this._isDematerializing = false;\n    this._scheduledDestroy = null;\n    if (this.isDestroyed) {\n      return;\n    }\n\n    this._cleanupOrphanedInternalModels();\n  };\n\n  InternalModel.prototype._cleanupOrphanedInternalModels = function _cleanupOrphanedInternalModels() {\n    var relatedInternalModels = this._allRelatedInternalModels();\n    if (areAllModelsUnloaded(relatedInternalModels)) {\n      for (var i = 0; i < relatedInternalModels.length; ++i) {\n        var internalModel = relatedInternalModels[i];\n        if (!internalModel.isDestroyed) {\n          internalModel.destroy();\n        }\n      }\n    }\n  };\n\n  InternalModel.prototype.eachRelationship = function eachRelationship(callback, binding) {\n    return this.modelClass.eachRelationship(callback, binding);\n  };\n\n  InternalModel.prototype.destroy = function destroy() {\n    emberData_Debug.assert(\"Cannot destroy an internalModel while its record is materialized\", !this._record || this._record.get('isDestroyed') || this._record.get('isDestroying'));\n\n    this.store._internalModelDestroyed(this);\n\n    this._relationships.forEach(function (name, rel) {\n      return rel.destroy();\n    });\n\n    this._isDestroyed = true;\n  };\n\n  InternalModel.prototype.eachAttribute = function eachAttribute(callback, binding) {\n    return this.modelClass.eachAttribute(callback, binding);\n  };\n\n  InternalModel.prototype.inverseFor = function inverseFor(key) {\n    return this.modelClass.inverseFor(key);\n  };\n\n  InternalModel.prototype.setupData = function setupData(data) {\n    this.store._internalModelDidReceiveRelationshipData(this.modelName, this.id, data.relationships);\n\n    var changedKeys = void 0;\n\n    if (this.hasRecord) {\n      changedKeys = this._changedKeys(data.attributes);\n    }\n\n    assign(this._data, data.attributes);\n    this.pushedData();\n\n    if (this.hasRecord) {\n      this._record._notifyProperties(changedKeys);\n    }\n    this.didInitializeData();\n  };\n\n  InternalModel.prototype.becameReady = function becameReady() {\n    this.store.recordArrayManager.recordWasLoaded(this);\n  };\n\n  InternalModel.prototype.didInitializeData = function didInitializeData() {\n    if (!this.dataHasInitialized) {\n      this.becameReady();\n      this.dataHasInitialized = true;\n    }\n  };\n\n  /*\n    @method createSnapshot\n    @private\n  */\n  InternalModel.prototype.createSnapshot = function createSnapshot(options) {\n    return new Snapshot(this, options);\n  };\n\n  /*\n    @method loadingData\n    @private\n    @param {Promise} promise\n  */\n\n\n  InternalModel.prototype.loadingData = function loadingData(promise) {\n    this.send('loadingData', promise);\n  };\n\n  /*\n    @method loadedData\n    @private\n  */\n\n\n  InternalModel.prototype.loadedData = function loadedData() {\n    this.send('loadedData');\n    this.didInitializeData();\n  };\n\n  /*\n    @method notFound\n    @private\n  */\n\n\n  InternalModel.prototype.notFound = function notFound() {\n    this.send('notFound');\n  };\n\n  /*\n    @method pushedData\n    @private\n  */\n\n\n  InternalModel.prototype.pushedData = function pushedData() {\n    this.send('pushedData');\n  };\n\n  InternalModel.prototype.flushChangedAttributes = function flushChangedAttributes() {\n    this._inFlightAttributes = this._attributes;\n    this._attributes = null;\n  };\n\n  InternalModel.prototype.hasChangedAttributes = function hasChangedAttributes() {\n    return this.__attributes !== null && Object.keys(this.__attributes).length > 0;\n  };\n\n  /*\n    Checks if the attributes which are considered as changed are still\n    different to the state which is acknowledged by the server.\n     This method is needed when data for the internal model is pushed and the\n    pushed data might acknowledge dirty attributes as confirmed.\n     @method updateChangedAttributes\n    @private\n   */\n\n\n  InternalModel.prototype.updateChangedAttributes = function updateChangedAttributes() {\n    var changedAttributes = this.changedAttributes();\n    var changedAttributeNames = Object.keys(changedAttributes);\n    var attrs = this._attributes;\n\n    for (var i = 0, length = changedAttributeNames.length; i < length; i++) {\n      var attribute = changedAttributeNames[i];\n      var data = changedAttributes[attribute];\n      var oldData = data[0];\n      var newData = data[1];\n\n      if (oldData === newData) {\n        delete attrs[attribute];\n      }\n    }\n  };\n\n  /*\n    Returns an object, whose keys are changed properties, and value is an\n    [oldProp, newProp] array.\n     @method changedAttributes\n    @private\n  */\n\n\n  InternalModel.prototype.changedAttributes = function changedAttributes() {\n    var oldData = this._data;\n    var currentData = this._attributes;\n    var inFlightData = this._inFlightAttributes;\n    var newData = assign(copy$1(inFlightData), currentData);\n    var diffData = Object.create(null);\n    var newDataKeys = Object.keys(newData);\n\n    for (var i = 0, length = newDataKeys.length; i < length; i++) {\n      var key = newDataKeys[i];\n      diffData[key] = [oldData[key], newData[key]];\n    }\n\n    return diffData;\n  };\n\n  /*\n    @method adapterWillCommit\n    @private\n  */\n\n\n  InternalModel.prototype.adapterWillCommit = function adapterWillCommit() {\n    this.send('willCommit');\n  };\n\n  /*\n    @method adapterDidDirty\n    @private\n  */\n\n\n  InternalModel.prototype.adapterDidDirty = function adapterDidDirty() {\n    this.send('becomeDirty');\n    this.updateRecordArrays();\n  };\n\n  /*\n    @method send\n    @private\n    @param {String} name\n    @param {Object} context\n  */\n\n\n  InternalModel.prototype.send = function send(name, context) {\n    var currentState = this.currentState;\n\n    if (!currentState[name]) {\n      this._unhandledEvent(currentState, name, context);\n    }\n\n    return currentState[name](this, context);\n  };\n\n  InternalModel.prototype.notifyHasManyAdded = function notifyHasManyAdded(key, record, idx) {\n    if (this.hasRecord) {\n      this._record.notifyHasManyAdded(key, record, idx);\n    }\n  };\n\n  InternalModel.prototype.notifyBelongsToChanged = function notifyBelongsToChanged(key, record) {\n    if (this.hasRecord) {\n      this._record.notifyBelongsToChanged(key, record);\n    }\n  };\n\n  InternalModel.prototype.notifyPropertyChange = function notifyPropertyChange(key) {\n    if (this.hasRecord) {\n      this._record.notifyPropertyChange(key);\n    }\n  };\n\n  InternalModel.prototype.rollbackAttributes = function rollbackAttributes() {\n    var dirtyKeys = void 0;\n    if (this.hasChangedAttributes()) {\n      dirtyKeys = Object.keys(this._attributes);\n      this._attributes = null;\n    }\n\n    if (get$4(this, 'isError')) {\n      this._inFlightAttributes = null;\n      this.didCleanError();\n    }\n\n    //Eventually rollback will always work for relationships\n    //For now we support it only out of deleted state, because we\n    //have an explicit way of knowing when the server acked the relationship change\n    if (this.isDeleted()) {\n      //TODO: Should probably move this to the state machine somehow\n      this.becameReady();\n    }\n\n    if (this.isNew()) {\n      this.removeFromInverseRelationships(true);\n    }\n\n    if (this.isValid()) {\n      this._inFlightAttributes = null;\n    }\n\n    this.send('rolledBack');\n\n    if (dirtyKeys && dirtyKeys.length > 0) {\n      this._record._notifyProperties(dirtyKeys);\n    }\n  };\n\n  /*\n    @method transitionTo\n    @private\n    @param {String} name\n  */\n\n\n  InternalModel.prototype.transitionTo = function transitionTo(name) {\n    // POSSIBLE TODO: Remove this code and replace with\n    // always having direct reference to state objects\n\n    var pivotName = extractPivotName(name);\n    var state = this.currentState;\n    var transitionMapId = state.stateName + '->' + name;\n\n    do {\n      if (state.exit) {\n        state.exit(this);\n      }\n      state = state.parentState;\n    } while (!state[pivotName]);\n\n    var setups = void 0;\n    var enters = void 0;\n    var i = void 0;\n    var l = void 0;\n    var map = TransitionChainMap[transitionMapId];\n\n    if (map) {\n      setups = map.setups;\n      enters = map.enters;\n      state = map.state;\n    } else {\n      setups = [];\n      enters = [];\n\n      var path = splitOnDot(name);\n\n      for (i = 0, l = path.length; i < l; i++) {\n        state = state[path[i]];\n\n        if (state.enter) {\n          enters.push(state);\n        }\n        if (state.setup) {\n          setups.push(state);\n        }\n      }\n\n      TransitionChainMap[transitionMapId] = { setups: setups, enters: enters, state: state };\n    }\n\n    for (i = 0, l = enters.length; i < l; i++) {\n      enters[i].enter(this);\n    }\n\n    this.currentState = state;\n    if (this.hasRecord) {\n      set$2(this._record, 'currentState', state);\n    }\n\n    for (i = 0, l = setups.length; i < l; i++) {\n      setups[i].setup(this);\n    }\n\n    this.updateRecordArrays();\n  };\n\n  InternalModel.prototype._unhandledEvent = function _unhandledEvent(state, name, context) {\n    var errorMessage = \"Attempted to handle event `\" + name + \"` \";\n    errorMessage += \"on \" + String(this) + \" while in state \";\n    errorMessage += state.stateName + \". \";\n\n    if (context !== undefined) {\n      errorMessage += \"Called with \" + inspect$1(context) + \".\";\n    }\n\n    throw new EmberError$2(errorMessage);\n  };\n\n  InternalModel.prototype.triggerLater = function triggerLater() {\n    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n\n    if (this._deferredTriggers.push(args) !== 1) {\n      return;\n    }\n\n    this.store._updateInternalModel(this);\n  };\n\n  InternalModel.prototype._triggerDeferredTriggers = function _triggerDeferredTriggers() {\n    //TODO: Before 1.0 we want to remove all the events that happen on the pre materialized record,\n    //but for now, we queue up all the events triggered before the record was materialized, and flush\n    //them once we have the record\n    if (!this.hasRecord) {\n      return;\n    }\n    var triggers = this._deferredTriggers;\n    var record = this._record;\n    var trigger = record.trigger;\n    for (var i = 0, l = triggers.length; i < l; i++) {\n      trigger.apply(record, triggers[i]);\n    }\n\n    triggers.length = 0;\n  };\n\n  /*\n   This method should only be called by records in the `isNew()` state OR once the record\n   has been deleted and that deletion has been persisted.\n    It will remove this record from any associated relationships.\n    If `isNew` is true (default false), it will also completely reset all\n    relationships to an empty state as well.\n     @method removeFromInverseRelationships\n    @param {Boolean} isNew whether to unload from the `isNew` perspective\n    @private\n   */\n\n\n  InternalModel.prototype.removeFromInverseRelationships = function removeFromInverseRelationships() {\n    var isNew = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n\n    this._relationships.forEach(function (name, rel) {\n      rel.removeCompletelyFromInverse();\n      if (isNew === true) {\n        rel.clear();\n      }\n    });\n\n    var implicitRelationships = this._implicitRelationships;\n    this.__implicitRelationships = null;\n\n    Object.keys(implicitRelationships).forEach(function (key) {\n      var rel = implicitRelationships[key];\n\n      rel.removeCompletelyFromInverse();\n      if (isNew === true) {\n        rel.clear();\n      }\n    });\n  };\n\n  /*\n    Notify all inverses that this internalModel has been dematerialized\n    and destroys any ManyArrays.\n   */\n\n\n  InternalModel.prototype.destroyRelationships = function destroyRelationships() {\n    var _this = this;\n\n    this._relationships.forEach(function (name, rel) {\n      if (rel._inverseIsAsync()) {\n        rel.removeInternalModelFromInverse(_this);\n        rel.removeInverseRelationships();\n      } else {\n        rel.removeCompletelyFromInverse();\n      }\n    });\n\n    var implicitRelationships = this._implicitRelationships;\n    this.__implicitRelationships = null;\n    Object.keys(implicitRelationships).forEach(function (key) {\n      var rel = implicitRelationships[key];\n\n      if (rel._inverseIsAsync()) {\n        rel.removeInternalModelFromInverse(_this);\n        rel.removeInverseRelationships();\n      } else {\n        rel.removeCompletelyFromInverse();\n      }\n\n      rel.destroy();\n    });\n  };\n\n  /*\n    When a find request is triggered on the store, the user can optionally pass in\n    attributes and relationships to be preloaded. These are meant to behave as if they\n    came back from the server, except the user obtained them out of band and is informing\n    the store of their existence. The most common use case is for supporting client side\n    nested URLs, such as `/posts/1/comments/2` so the user can do\n    `store.findRecord('comment', 2, { preload: { post: 1 } })` without having to fetch the post.\n     Preloaded data can be attributes and relationships passed in either as IDs or as actual\n    models.\n     @method preloadData\n    @private\n    @param {Object} preload\n  */\n\n\n  InternalModel.prototype.preloadData = function preloadData(preload) {\n    var _this2 = this;\n\n    //TODO(Igor) consider the polymorphic case\n    Object.keys(preload).forEach(function (key) {\n      var preloadValue = get$4(preload, key);\n      var relationshipMeta = _this2.modelClass.metaForProperty(key);\n      if (relationshipMeta.isRelationship) {\n        _this2._preloadRelationship(key, preloadValue);\n      } else {\n        _this2._data[key] = preloadValue;\n      }\n    });\n  };\n\n  InternalModel.prototype._preloadRelationship = function _preloadRelationship(key, preloadValue) {\n    var relationshipMeta = this.modelClass.metaForProperty(key);\n    var modelClass = relationshipMeta.type;\n    if (relationshipMeta.kind === 'hasMany') {\n      this._preloadHasMany(key, preloadValue, modelClass);\n    } else {\n      this._preloadBelongsTo(key, preloadValue, modelClass);\n    }\n  };\n\n  InternalModel.prototype._preloadHasMany = function _preloadHasMany(key, preloadValue, modelClass) {\n    emberData_Debug.assert(\"You need to pass in an array to set a hasMany property on a record\", Array.isArray(preloadValue));\n    var recordsToSet = new Array(preloadValue.length);\n\n    for (var i = 0; i < preloadValue.length; i++) {\n      var recordToPush = preloadValue[i];\n      recordsToSet[i] = this._convertStringOrNumberIntoInternalModel(recordToPush, modelClass);\n    }\n\n    //We use the pathway of setting the hasMany as if it came from the adapter\n    //because the user told us that they know this relationships exists already\n    this._relationships.get(key).updateInternalModelsFromAdapter(recordsToSet);\n  };\n\n  InternalModel.prototype._preloadBelongsTo = function _preloadBelongsTo(key, preloadValue, modelClass) {\n    var internalModelToSet = this._convertStringOrNumberIntoInternalModel(preloadValue, modelClass);\n\n    //We use the pathway of setting the hasMany as if it came from the adapter\n    //because the user told us that they know this relationships exists already\n    this._relationships.get(key).setInternalModel(internalModelToSet);\n  };\n\n  InternalModel.prototype._convertStringOrNumberIntoInternalModel = function _convertStringOrNumberIntoInternalModel(value, modelClass) {\n    if (typeof value === 'string' || typeof value === 'number') {\n      return this.store._internalModelForId(modelClass, value);\n    }\n    if (value._internalModel) {\n      return value._internalModel;\n    }\n    return value;\n  };\n\n  /*\n    Used to notify the store to update FilteredRecordArray membership.\n     @method updateRecordArrays\n    @private\n  */\n\n\n  InternalModel.prototype.updateRecordArrays = function updateRecordArrays() {\n    this.store.recordArrayManager.recordDidChange(this);\n  };\n\n  InternalModel.prototype.setId = function setId(id) {\n    emberData_Debug.assert('A record\\'s id cannot be changed once it is in the loaded state', this.id === null || this.id === id || this.isNew());\n    this.id = id;\n    if (this._record.get('id') !== id) {\n      this._record.set('id', id);\n    }\n  };\n\n  InternalModel.prototype.didError = function didError(error) {\n    this.error = error;\n    this.isError = true;\n\n    if (this.hasRecord) {\n      this._record.setProperties({\n        isError: true,\n        adapterError: error\n      });\n    }\n  };\n\n  InternalModel.prototype.didCleanError = function didCleanError() {\n    this.error = null;\n    this.isError = false;\n\n    if (this.hasRecord) {\n      this._record.setProperties({\n        isError: false,\n        adapterError: null\n      });\n    }\n  };\n\n  /*\n    If the adapter did not return a hash in response to a commit,\n    merge the changed attributes and relationships into the existing\n    saved data.\n     @method adapterDidCommit\n  */\n\n\n  InternalModel.prototype.adapterDidCommit = function adapterDidCommit(data) {\n    if (data) {\n      this.store._internalModelDidReceiveRelationshipData(this.modelName, this.id, data.relationships);\n\n      data = data.attributes;\n    }\n\n    this.didCleanError();\n    var changedKeys = this._changedKeys(data);\n\n    assign(this._data, this._inFlightAttributes);\n    if (data) {\n      assign(this._data, data);\n    }\n\n    this._inFlightAttributes = null;\n\n    this.send('didCommit');\n    this.updateRecordArrays();\n\n    if (!data) {\n      return;\n    }\n\n    this._record._notifyProperties(changedKeys);\n  };\n\n  InternalModel.prototype.addErrorMessageToAttribute = function addErrorMessageToAttribute(attribute, message) {\n    get$4(this.getRecord(), 'errors')._add(attribute, message);\n  };\n\n  InternalModel.prototype.removeErrorMessageFromAttribute = function removeErrorMessageFromAttribute(attribute) {\n    get$4(this.getRecord(), 'errors')._remove(attribute);\n  };\n\n  InternalModel.prototype.clearErrorMessages = function clearErrorMessages() {\n    get$4(this.getRecord(), 'errors')._clear();\n  };\n\n  InternalModel.prototype.hasErrors = function hasErrors() {\n    var errors = get$4(this.getRecord(), 'errors');\n\n    return !isEmpty$1(errors);\n  };\n\n  // FOR USE DURING COMMIT PROCESS\n\n  /*\n    @method adapterDidInvalidate\n    @private\n  */\n\n\n  InternalModel.prototype.adapterDidInvalidate = function adapterDidInvalidate(errors) {\n    var attribute = void 0;\n\n    for (attribute in errors) {\n      if (errors.hasOwnProperty(attribute)) {\n        this.addErrorMessageToAttribute(attribute, errors[attribute]);\n      }\n    }\n\n    this.send('becameInvalid');\n\n    this._saveWasRejected();\n  };\n\n  /*\n    @method adapterDidError\n    @private\n  */\n\n\n  InternalModel.prototype.adapterDidError = function adapterDidError(error) {\n    this.send('becameError');\n    this.didError(error);\n    this._saveWasRejected();\n  };\n\n  InternalModel.prototype._saveWasRejected = function _saveWasRejected() {\n    var keys = Object.keys(this._inFlightAttributes);\n    if (keys.length > 0) {\n      var attrs = this._attributes;\n      for (var i = 0; i < keys.length; i++) {\n        if (attrs[keys[i]] === undefined) {\n          attrs[keys[i]] = this._inFlightAttributes[keys[i]];\n        }\n      }\n    }\n    this._inFlightAttributes = null;\n  };\n\n  /*\n    Ember Data has 3 buckets for storing the value of an attribute on an internalModel.\n     `_data` holds all of the attributes that have been acknowledged by\n    a backend via the adapter. When rollbackAttributes is called on a model all\n    attributes will revert to the record's state in `_data`.\n     `_attributes` holds any change the user has made to an attribute\n    that has not been acknowledged by the adapter. Any values in\n    `_attributes` are have priority over values in `_data`.\n     `_inFlightAttributes`. When a record is being synced with the\n    backend the values in `_attributes` are copied to\n    `_inFlightAttributes`. This way if the backend acknowledges the\n    save but does not return the new state Ember Data can copy the\n    values from `_inFlightAttributes` to `_data`. Without having to\n    worry about changes made to `_attributes` while the save was\n    happenign.\n      Changed keys builds a list of all of the values that may have been\n    changed by the backend after a successful save.\n     It does this by iterating over each key, value pair in the payload\n    returned from the server after a save. If the `key` is found in\n    `_attributes` then the user has a local changed to the attribute\n    that has not been synced with the server and the key is not\n    included in the list of changed keys.\n  \n    If the value, for a key differs from the value in what Ember Data\n    believes to be the truth about the backend state (A merger of the\n    `_data` and `_inFlightAttributes` objects where\n    `_inFlightAttributes` has priority) then that means the backend\n    has updated the value and the key is added to the list of changed\n    keys.\n     @method _changedKeys\n    @private\n  */\n\n\n  InternalModel.prototype._changedKeys = function _changedKeys(updates) {\n    var changedKeys = [];\n\n    if (updates) {\n      var original = void 0,\n          i = void 0,\n          value = void 0,\n          key = void 0;\n      var keys = Object.keys(updates);\n      var length = keys.length;\n      var hasAttrs = this.hasChangedAttributes();\n      var attrs = void 0;\n      if (hasAttrs) {\n        attrs = this._attributes;\n      }\n\n      original = assign(Object.create(null), this._data);\n      original = assign(original, this._inFlightAttributes);\n\n      for (i = 0; i < length; i++) {\n        key = keys[i];\n        value = updates[key];\n\n        // A value in _attributes means the user has a local change to\n        // this attributes. We never override this value when merging\n        // updates from the backend so we should not sent a change\n        // notification if the server value differs from the original.\n        if (hasAttrs === true && attrs[key] !== undefined) {\n          continue;\n        }\n\n        if (!isEqual(original[key], value)) {\n          changedKeys.push(key);\n        }\n      }\n    }\n\n    return changedKeys;\n  };\n\n  InternalModel.prototype.toString = function toString() {\n    return '<' + this.modelName + ':' + this.id + '>';\n  };\n\n  InternalModel.prototype.referenceFor = function referenceFor(kind, name) {\n    var _this3 = this;\n\n    var reference = this.references[name];\n\n    if (!reference) {\n      var relationship = this._relationships.get(name);\n\n      emberData_Debug.runInDebug(function () {\n        var modelName = _this3.modelName;\n        emberData_Debug.assert('There is no ' + kind + ' relationship named \\'' + name + '\\' on a model of modelClass \\'' + modelName + '\\'', relationship);\n\n        var actualRelationshipKind = relationship.relationshipMeta.kind;\n        emberData_Debug.assert('You tried to get the \\'' + name + '\\' relationship on a \\'' + modelName + '\\' via record.' + kind + '(\\'' + name + '\\'), but the relationship is of kind \\'' + actualRelationshipKind + '\\'. Use record.' + actualRelationshipKind + '(\\'' + name + '\\') instead.', actualRelationshipKind === kind);\n      });\n\n      if (kind === \"belongsTo\") {\n        reference = new BelongsToReference(this.store, this, relationship);\n      } else if (kind === \"hasMany\") {\n        reference = new HasManyReference(this.store, this, relationship);\n      }\n\n      this.references[name] = reference;\n    }\n\n    return reference;\n  };\n\n  _createClass$1(InternalModel, [{\n    key: 'modelClass',\n    get: function get() {\n      return this._modelClass || (this._modelClass = this.store._modelFor(this.modelName));\n    }\n  }, {\n    key: 'type',\n    get: function get() {\n      return this.modelClass;\n    }\n  }, {\n    key: 'recordReference',\n    get: function get() {\n      if (this._recordReference === null) {\n        this._recordReference = new RecordReference(this.store, this);\n      }\n      return this._recordReference;\n    }\n  }, {\n    key: '_recordArrays',\n    get: function get() {\n      if (this.__recordArrays === null) {\n        this.__recordArrays = OrderedSet.create();\n      }\n      return this.__recordArrays;\n    }\n  }, {\n    key: 'references',\n    get: function get() {\n      if (this._references === null) {\n        this._references = Object.create(null);\n      }\n      return this._references;\n    }\n  }, {\n    key: '_deferredTriggers',\n    get: function get() {\n      if (this.__deferredTriggers === null) {\n        this.__deferredTriggers = [];\n      }\n      return this.__deferredTriggers;\n    }\n  }, {\n    key: '_attributes',\n    get: function get() {\n      if (this.__attributes === null) {\n        this.__attributes = Object.create(null);\n      }\n      return this.__attributes;\n    },\n    set: function set(v) {\n      this.__attributes = v;\n    }\n  }, {\n    key: '_relationships',\n    get: function get() {\n      if (this.__relationships === null) {\n        this.__relationships = new Relationships(this);\n      }\n\n      return this.__relationships;\n    }\n  }, {\n    key: '_inFlightAttributes',\n    get: function get() {\n      if (this.__inFlightAttributes === null) {\n        this.__inFlightAttributes = Object.create(null);\n      }\n      return this.__inFlightAttributes;\n    },\n    set: function set(v) {\n      this.__inFlightAttributes = v;\n    }\n  }, {\n    key: '_data',\n    get: function get() {\n      if (this.__data === null) {\n        this.__data = Object.create(null);\n      }\n      return this.__data;\n    },\n    set: function set(v) {\n      this.__data = v;\n    }\n\n    /*\n     implicit relationships are relationship which have not been declared but the inverse side exists on\n     another record somewhere\n     For example if there was\n      ```app/models/comment.js\n     import DS from 'ember-data';\n      export default DS.Model.extend({\n     name: DS.attr()\n     })\n     ```\n      but there is also\n      ```app/models/post.js\n     import DS from 'ember-data';\n      export default DS.Model.extend({\n     name: DS.attr(),\n     comments: DS.hasMany('comment')\n     })\n     ```\n      would have a implicit post relationship in order to be do things like remove ourselves from the post\n     when we are deleted\n    */\n\n  }, {\n    key: '_implicitRelationships',\n    get: function get() {\n      if (this.__implicitRelationships === null) {\n        this.__implicitRelationships = Object.create(null);\n      }\n      return this.__implicitRelationships;\n    }\n  }, {\n    key: 'isDestroyed',\n    get: function get() {\n      return this._isDestroyed;\n    }\n  }, {\n    key: 'hasRecord',\n    get: function get() {\n      return !!this._record;\n    }\n  }]);\n\n  return InternalModel;\n}();\n\nif (isEnabled('ds-rollback-attribute')) {\n  /*\n     Returns the latest truth for an attribute - the canonical value, or the\n     in-flight value.\n      @method lastAcknowledgedValue\n     @private\n  */\n  InternalModel.prototype.lastAcknowledgedValue = function lastAcknowledgedValue(key) {\n    if (key in this._inFlightAttributes) {\n      return this._inFlightAttributes[key];\n    } else {\n      return this._data[key];\n    }\n  };\n}\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/**\n `InternalModelMap` is a custom storage map for internalModels of a given modelName\n used by `IdentityMap`.\n\n It was extracted from an implicit pojo based \"internalModel map\" and preserves\n that interface while we work towards a more official API.\n\n @class InternalModelMap\n @private\n */\n\nvar InternalModelMap = function () {\n  function InternalModelMap(modelName) {\n    _classCallCheck$1(this, InternalModelMap);\n\n    this.modelName = modelName;\n    this._idToModel = Object.create(null);\n    this._models = [];\n    this._metadata = null;\n  }\n\n  /**\n    A \"map\" of records based on their ID for this modelName\n   */\n\n\n  /**\n   *\n   * @param id\n   * @returns {InternalModel}\n   */\n  InternalModelMap.prototype.get = function get(id) {\n    var r = this._idToModel[id];\n    return r;\n  };\n\n  InternalModelMap.prototype.has = function has(id) {\n    return !!this._idToModel[id];\n  };\n\n  InternalModelMap.prototype.set = function set(id, internalModel) {\n    emberData_Debug.assert('You cannot index an internalModel by an empty id\\'', id);\n    emberData_Debug.assert('You cannot set an index for an internalModel to something other than an internalModel', internalModel instanceof InternalModel);\n    emberData_Debug.assert('You cannot set an index for an internalModel that is not in the InternalModelMap', this.contains(internalModel));\n    emberData_Debug.assert('You cannot update the id index of an InternalModel once set. Attempted to update ' + id + '.', !this.has(id) || this.get(id) === internalModel);\n\n    this._idToModel[id] = internalModel;\n  };\n\n  InternalModelMap.prototype.add = function add(internalModel, id) {\n    emberData_Debug.assert('You cannot re-add an already present InternalModel to the InternalModelMap.', !this.contains(internalModel));\n\n    if (id) {\n      this._idToModel[id] = internalModel;\n    }\n\n    this._models.push(internalModel);\n  };\n\n  InternalModelMap.prototype.remove = function remove(internalModel, id) {\n    if (id) {\n      delete this._idToModel[id];\n    }\n\n    var loc = this._models.indexOf(internalModel);\n\n    if (loc !== -1) {\n      this._models.splice(loc, 1);\n    }\n  };\n\n  InternalModelMap.prototype.contains = function contains(internalModel) {\n    return this._models.indexOf(internalModel) !== -1;\n  };\n\n  /**\n   An array of all models of this modelName\n   */\n\n\n  /**\n   Destroy all models in the internalModelTest and wipe metadata.\n    @method clear\n   */\n  InternalModelMap.prototype.clear = function clear() {\n    if (this._models) {\n      var models = this._models;\n      this._models = [];\n\n      for (var i = 0; i < models.length; i++) {\n        var model = models[i];\n        model.unloadRecord();\n      }\n    }\n\n    this._metadata = null;\n  };\n\n  InternalModelMap.prototype.destroy = function destroy() {\n    this._store = null;\n    this._modelClass = null;\n  };\n\n  _createClass(InternalModelMap, [{\n    key: 'idToRecord',\n    get: function get() {\n      emberData_Debug.deprecate('Use of InternalModelMap.idToRecord is deprecated, use InternalModelMap.get(id) instead.', false, {\n        id: 'ds.record-map.idToRecord',\n        until: '2.13'\n      });\n      return this._idToModel;\n    }\n  }, {\n    key: 'length',\n    get: function get() {\n      return this._models.length;\n    }\n  }, {\n    key: 'models',\n    get: function get() {\n      return this._models;\n    }\n\n    /**\n     * meta information about internalModels\n     */\n\n  }, {\n    key: 'metadata',\n    get: function get() {\n      return this._metadata || (this._metadata = Object.create(null));\n    }\n\n    /**\n     deprecated (and unsupported) way of accessing modelClass\n      @deprecated\n     */\n\n  }, {\n    key: 'type',\n    get: function get() {\n      throw new Error('InternalModelMap.type is no longer available');\n    }\n  }]);\n\n  return InternalModelMap;\n}();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/**\n `IdentityMap` is a custom storage map for records by modelName\n used by `DS.Store`.\n\n @class IdentityMap\n @private\n */\n\nvar IdentityMap = function () {\n  function IdentityMap() {\n    _classCallCheck(this, IdentityMap);\n\n    this._map = Object.create(null);\n  }\n\n  /**\n   Retrieves the `InternalModelMap` for a given modelName,\n   creating one if one did not already exist. This is\n   similar to `getWithDefault` or `get` on a `MapWithDefault`\n    @method retrieve\n   @param modelName a previously normalized modelName\n   @returns {InternalModelMap} the InternalModelMap for the given modelName\n   */\n\n\n  IdentityMap.prototype.retrieve = function retrieve(modelName) {\n    var map = this._map[modelName];\n\n    if (!map) {\n      map = this._map[modelName] = new InternalModelMap(modelName);\n    }\n\n    return map;\n  };\n\n  /**\n   Clears the contents of all known `RecordMaps`, but does\n   not remove the InternalModelMap instances.\n    @method clear\n   */\n\n\n  IdentityMap.prototype.clear = function clear() {\n    var map = this._map;\n    var keys = Object.keys(map);\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n      map[key].clear();\n    }\n  };\n\n  return IdentityMap;\n}();\n\nvar _typeof$5 = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n/*\n  This is a helper method that validates a JSON API top-level document\n\n  The format of a document is described here:\n  http://jsonapi.org/format/#document-top-level\n\n  @method validateDocumentStructure\n  @param {Object} doc JSON API document\n  @return {array} An array of errors found in the document structure\n*/\nfunction validateDocumentStructure(doc) {\n  var errors = [];\n  if (!doc || (typeof doc === 'undefined' ? 'undefined' : _typeof$5(doc)) !== 'object') {\n    errors.push('Top level of a JSON API document must be an object');\n  } else {\n    if (!('data' in doc) && !('errors' in doc) && !('meta' in doc)) {\n      errors.push('One or more of the following keys must be present: \"data\", \"errors\", \"meta\".');\n    } else {\n      if ('data' in doc && 'errors' in doc) {\n        errors.push('Top level keys \"errors\" and \"data\" cannot both be present in a JSON API document');\n      }\n    }\n    if ('data' in doc) {\n      if (!(doc.data === null || Array.isArray(doc.data) || _typeof$5(doc.data) === 'object')) {\n        errors.push('data must be null, an object, or an array');\n      }\n    }\n    if ('meta' in doc) {\n      if (_typeof$5(doc.meta) !== 'object') {\n        errors.push('meta must be an object');\n      }\n    }\n    if ('errors' in doc) {\n      if (!Array.isArray(doc.errors)) {\n        errors.push('errors must be an array');\n      }\n    }\n    if ('links' in doc) {\n      if (_typeof$5(doc.links) !== 'object') {\n        errors.push('links must be an object');\n      }\n    }\n    if ('jsonapi' in doc) {\n      if (_typeof$5(doc.jsonapi) !== 'object') {\n        errors.push('jsonapi must be an object');\n      }\n    }\n    if ('included' in doc) {\n      if (_typeof$5(doc.included) !== 'object') {\n        errors.push('included must be an array');\n      }\n    }\n  }\n\n  return errors;\n}\n\n/*\n  This is a helper method that always returns a JSON-API Document.\n\n  @method normalizeResponseHelper\n  @param {DS.Serializer} serializer\n  @param {DS.Store} store\n  @param {subclass of DS.Model} modelClass\n  @param {Object} payload\n  @param {String|Number} id\n  @param {String} requestType\n  @return {Object} JSON-API Document\n*/\nfunction normalizeResponseHelper(serializer, store, modelClass, payload, id, requestType) {\n  var normalizedResponse = serializer.normalizeResponse(store, modelClass, payload, id, requestType);\n  var validationErrors = [];\n  emberData_Debug.runInDebug(function () {\n    validationErrors = validateDocumentStructure(normalizedResponse);\n  });\n  emberData_Debug.assert('normalizeResponse must return a valid JSON API document:\\n\\t* ' + validationErrors.join('\\n\\t* '), Ember.isEmpty(validationErrors));\n\n  return normalizedResponse;\n}\n\nfunction serializerForAdapter(store, adapter, modelName) {\n  var serializer = adapter.serializer;\n\n  if (serializer === undefined) {\n    serializer = store.serializerFor(modelName);\n  }\n\n  if (serializer === null || serializer === undefined) {\n    serializer = {\n      extract: function extract(store, type, payload) {\n        return payload;\n      }\n    };\n  }\n\n  return serializer;\n}\n\nvar _createClass$6 = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck$9(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/**\n  Manages the payloads for both sides of a single relationship, across all model\n  instances.\n\n  For example, with\n\n    const User = DS.Model.extend({\n      hobbies: DS.hasMany('hobby')\n    });\n\n    const Hobby = DS.Model.extend({\n      user: DS.belongsTo('user')\n    });\n\n    let relationshipPayloads = new RelationshipPayloads('user', 'hobbies', 'hobby', 'user');\n\n    let userPayload = {\n      data: {\n        id: 1,\n        type: 'user',\n        relationships: {\n          hobbies: {\n            data: [{\n              id: 2,\n              type: 'hobby',\n            }]\n          }\n        }\n      }\n    };\n\n    // here we expect the payload of the individual relationship\n    relationshipPayloads.push('user', 1, 'hobbies', userPayload.data.relationships.hobbies);\n\n    relationshipPayloads.get('user', 1, 'hobbies');\n    relationshipPayloads.get('hobby', 2, 'user');\n\n  @class RelationshipPayloads\n  @private\n*/\n\nvar RelationshipPayloads = function () {\n  function RelationshipPayloads(store, modelName, relationshipName, relationshipMeta, inverseModelName, inverseRelationshipName, inverseRelationshipMeta) {\n    _classCallCheck$9(this, RelationshipPayloads);\n\n    this._store = store;\n\n    this._lhsModelName = modelName;\n    this._lhsRelationshipName = relationshipName;\n    this._lhsRelationshipMeta = relationshipMeta;\n\n    this._rhsModelName = inverseModelName;\n    this._rhsRelationshipName = inverseRelationshipName;\n    this._rhsRelationshipMeta = inverseRelationshipMeta;\n\n    // a map of id -> payloads for the left hand side of the relationship.\n    this._lhsPayloads = Object.create(null);\n    if (modelName !== inverseModelName || relationshipName !== inverseRelationshipName) {\n      // The common case of a non-reflexive relationship, or a reflexive\n      // relationship whose inverse is not itself\n      this._rhsPayloads = Object.create(null);\n      this._isReflexive = false;\n    } else {\n      // Edge case when we have a reflexive relationship to itself\n      //  eg user hasMany friends inverse friends\n      //\n      //  In this case there aren't really two sides to the relationship, but\n      //  we set `_rhsPayloads = _lhsPayloads` to make things easier to reason\n      //  about\n      this._rhsPayloads = this._lhsPayloads;\n      this._isReflexive = true;\n    }\n\n    // When we push relationship payloads, just stash them in a queue until\n    // somebody actually asks for one of them.\n    //\n    // This is a queue of the relationship payloads that have been pushed for\n    // either side of this relationship\n    this._pendingPayloads = [];\n  }\n\n  /**\n    Get the payload for the relationship of an individual record.\n     This might return the raw payload as pushed into the store, or one computed\n    from the payload of the inverse relationship.\n     @method\n  */\n\n\n  RelationshipPayloads.prototype.get = function get(modelName, id, relationshipName) {\n    this._flushPending();\n\n    if (this._isLHS(modelName, relationshipName)) {\n      return this._lhsPayloads[id];\n    } else {\n      emberData_Debug.assert(modelName + ':' + relationshipName + ' is not either side of this relationship, ' + this._lhsModelName + ':' + this._lhsRelationshipName + '<->' + this._rhsModelName + ':' + this._rhsRelationshipName, this._isRHS(modelName, relationshipName));\n      return this._rhsPayloads[id];\n    }\n  };\n\n  /**\n    Push a relationship payload for an individual record.\n     This will make the payload available later for both this relationship and its inverse.\n     @method\n  */\n\n\n  RelationshipPayloads.prototype.push = function push(modelName, id, relationshipName, relationshipData) {\n    this._pendingPayloads.push([modelName, id, relationshipName, relationshipData]);\n  };\n\n  /**\n    Unload the relationship payload for an individual record.\n     This does not unload the inverse relationship payload.\n     @method\n  */\n\n\n  RelationshipPayloads.prototype.unload = function unload(modelName, id, relationshipName) {\n    this._flushPending();\n\n    if (this._isLHS(modelName, relationshipName)) {\n      delete this._lhsPayloads[id];\n    } else {\n      emberData_Debug.assert(modelName + ':' + relationshipName + ' is not either side of this relationship, ' + this._lhsModelName + ':' + this._lhsRelationshipName + '<->' + this._rhsModelName + ':' + this._rhsRelationshipName, this._isRHS(modelName, relationshipName));\n      delete this._rhsPayloads[id];\n    }\n  };\n\n  /**\n    @return {boolean} true iff `modelName` and `relationshipName` refer to the\n    left hand side of this relationship, as opposed to the right hand side.\n     @method\n  */\n\n\n  RelationshipPayloads.prototype._isLHS = function _isLHS(modelName, relationshipName) {\n    return modelName === this._lhsModelName && relationshipName === this._lhsRelationshipName;\n  };\n\n  /**\n    @return {boolean} true iff `modelName` and `relationshipName` refer to the\n    right hand side of this relationship, as opposed to the left hand side.\n     @method\n  */\n\n\n  RelationshipPayloads.prototype._isRHS = function _isRHS(modelName, relationshipName) {\n    return modelName === this._rhsModelName && relationshipName === this._rhsRelationshipName;\n  };\n\n  RelationshipPayloads.prototype._flushPending = function _flushPending() {\n    if (this._pendingPayloads.length === 0) {\n      return;\n    }\n\n    var payloadsToBeProcessed = this._pendingPayloads.splice(0, this._pendingPayloads.length);\n    for (var i = 0; i < payloadsToBeProcessed.length; ++i) {\n      var modelName = payloadsToBeProcessed[i][0];\n      var id = payloadsToBeProcessed[i][1];\n      var relationshipName = payloadsToBeProcessed[i][2];\n      var relationshipData = payloadsToBeProcessed[i][3];\n\n      // TODO: maybe delay this allocation slightly?\n      var inverseRelationshipData = {\n        data: {\n          id: id,\n          type: modelName\n        }\n\n        // start flushing this individual payload.  The logic is the same whether\n        // it's for the left hand side of the relationship or the right hand side,\n        // except the role of primary and inverse idToPayloads is reversed\n        //\n      };var previousPayload = void 0;\n      var idToPayloads = void 0;\n      var inverseIdToPayloads = void 0;\n      var inverseIsMany = void 0;\n      if (this._isLHS(modelName, relationshipName)) {\n        previousPayload = this._lhsPayloads[id];\n        idToPayloads = this._lhsPayloads;\n        inverseIdToPayloads = this._rhsPayloads;\n        inverseIsMany = this._rhsRelationshipIsMany;\n      } else {\n        emberData_Debug.assert(modelName + ':' + relationshipName + ' is not either side of this relationship, ' + this._lhsModelName + ':' + this._lhsRelationshipName + '<->' + this._rhsModelName + ':' + this._rhsRelationshipName, this._isRHS(modelName, relationshipName));\n        previousPayload = this._rhsPayloads[id];\n        idToPayloads = this._rhsPayloads;\n        inverseIdToPayloads = this._lhsPayloads;\n        inverseIsMany = this._lhsRelationshipIsMany;\n      }\n\n      // actually flush this individual payload\n      //\n      // We remove the previous inverse before populating our current one\n      // because we may have multiple payloads for the same relationship, in\n      // which case the last one wins.\n      //\n      // eg if user hasMany helicopters, and helicopter belongsTo user and we see\n      //\n      //  [{\n      //    data: {\n      //      id: 1,\n      //      type: 'helicopter',\n      //      relationships: {\n      //        user: {\n      //          id: 2,\n      //          type: 'user'\n      //        }\n      //      }\n      //    }\n      //  }, {\n      //    data: {\n      //      id: 1,\n      //      type: 'helicopter',\n      //      relationships: {\n      //        user: {\n      //          id: 4,\n      //          type: 'user'\n      //        }\n      //      }\n      //    }\n      //  }]\n      //\n      // Then we will initially have set user:2 as having helicopter:1, which we\n      // need to remove before adding helicopter:1 to user:4\n      //\n      this._removeInverse(id, previousPayload, inverseIdToPayloads);\n      idToPayloads[id] = relationshipData;\n      this._populateInverse(relationshipData, inverseRelationshipData, inverseIdToPayloads, inverseIsMany);\n    }\n  };\n\n  /**\n    Populate the inverse relationship for `relationshipData`.\n     If `relationshipData` is an array (eg because the relationship is hasMany)\n    this means populate each inverse, otherwise populate only the single\n    inverse.\n     @private\n    @method\n  */\n\n\n  RelationshipPayloads.prototype._populateInverse = function _populateInverse(relationshipData, inversePayload, inverseIdToPayloads, inverseIsMany) {\n    if (!relationshipData.data) {\n      // This id doesn't have an inverse, eg a belongsTo with a payload\n      // { data: null }, so there's nothing to populate\n      return;\n    }\n\n    if (Array.isArray(relationshipData.data)) {\n      for (var i = 0; i < relationshipData.data.length; ++i) {\n        var inverseId = relationshipData.data[i].id;\n        this._addToInverse(inversePayload, inverseId, inverseIdToPayloads, inverseIsMany);\n      }\n    } else {\n      var _inverseId = relationshipData.data.id;\n      this._addToInverse(inversePayload, _inverseId, inverseIdToPayloads, inverseIsMany);\n    }\n  };\n\n  /**\n    Actually add `inversePayload` to `inverseIdToPayloads`.  This is part of\n    `_populateInverse` after we've normalized the case of `relationshipData`\n    being either an array or a pojo.\n     We still have to handle the case that the *inverse* relationship payload may\n    be an array or pojo.\n     @private\n    @method\n  */\n\n\n  RelationshipPayloads.prototype._addToInverse = function _addToInverse(inversePayload, inverseId, inverseIdToPayloads, inverseIsMany) {\n    if (this._isReflexive && inversePayload.data.id === inverseId) {\n      // eg <user:1>.friends = [{ id: 1, type: 'user' }]\n      return;\n    }\n\n    var existingPayload = inverseIdToPayloads[inverseId];\n    var existingData = existingPayload && existingPayload.data;\n\n    if (existingData) {\n      // There already is an inverse, either add or overwrite depehnding on\n      // whether the inverse is a many relationship or not\n      //\n      if (Array.isArray(existingData)) {\n        existingData.push(inversePayload.data);\n      } else {\n        inverseIdToPayloads[inverseId] = inversePayload;\n      }\n    } else {\n      // first time we're populating the inverse side\n      //\n      if (inverseIsMany) {\n        inverseIdToPayloads[inverseId] = {\n          data: [inversePayload.data]\n        };\n      } else {\n        inverseIdToPayloads[inverseId] = inversePayload;\n      }\n    }\n  };\n\n  /**\n    Remove the relationship in `previousPayload` from its inverse(s), because\n    this relationship payload has just been updated (eg because the same\n    relationship had multiple payloads pushed before the relationship was\n    initialized).\n     @method\n  */\n  RelationshipPayloads.prototype._removeInverse = function _removeInverse(id, previousPayload, inverseIdToPayloads) {\n    var data = previousPayload && previousPayload.data;\n    if (!data) {\n      // either this is the first time we've seen a payload for this id, or its\n      // previous payload indicated that it had no inverse, eg a belongsTo\n      // relationship with payload { data: null }\n      //\n      // In either case there's nothing that needs to be removed from the\n      // inverse map of payloads\n      return;\n    }\n\n    if (Array.isArray(data)) {\n      // TODO: diff rather than removeall addall?\n      for (var i = 0; i < data.length; ++i) {\n        this._removeFromInverse(id, data[i].id, inverseIdToPayloads);\n      }\n    } else {\n      this._removeFromInverse(id, data.id, inverseIdToPayloads);\n    }\n  };\n\n  /**\n    Remove `id` from its inverse record with id `inverseId`.  If the inverse\n    relationship is a belongsTo, this means just setting it to null, if the\n    inverse relationship is a hasMany, then remove that id from its array of ids.\n     @method\n  */\n\n\n  RelationshipPayloads.prototype._removeFromInverse = function _removeFromInverse(id, inverseId, inversePayloads) {\n    var inversePayload = inversePayloads[inverseId];\n    var data = inversePayload && inversePayload.data;\n\n    if (!data) {\n      return;\n    }\n\n    if (Array.isArray(data)) {\n      inversePayload.data = data.filter(function (x) {\n        return x.id !== id;\n      });\n    } else {\n      inversePayloads[inverseId] = {\n        data: null\n      };\n    }\n  };\n\n  _createClass$6(RelationshipPayloads, [{\n    key: '_lhsRelationshipIsMany',\n    get: function get() {\n      return this._lhsRelationshipMeta && this._lhsRelationshipMeta.kind === 'hasMany';\n    }\n  }, {\n    key: '_rhsRelationshipIsMany',\n    get: function get() {\n      return this._rhsRelationshipMeta && this._rhsRelationshipMeta.kind === 'hasMany';\n    }\n  }]);\n\n  return RelationshipPayloads;\n}();\n\nfunction _classCallCheck$8(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar _get$1 = Ember.get;\n\n/**\n  Manages relationship payloads for a given store, for uninitialized\n  relationships.  Acts as a single source of truth (of payloads) for both sides\n  of an uninitialized relationship so they can agree on the most up-to-date\n  payload received without needing too much eager processing when those payloads\n  are pushed into the store.\n\n  This minimizes the work spent on relationships that are never initialized.\n\n  Once relationships are initialized, their state is managed in a relationship\n  state object (eg BelongsToRelationship or ManyRelationship).\n\n\n  @example\n\n    let relationshipPayloadsManager = new RelationshipPayloadsManager(store);\n\n    const User = DS.Model.extend({\n      hobbies: DS.hasMany('hobby')\n    });\n\n    const Hobby = DS.Model.extend({\n      user: DS.belongsTo('user')\n    });\n\n    let userPayload = {\n      data: {\n        id: 1,\n        type: 'user',\n        relationships: {\n          hobbies: {\n            data: [{\n              id: 2,\n              type: 'hobby'\n            }]\n          }\n        }\n      },\n    };\n    relationshipPayloadsManager.push('user', 1, userPayload.data.relationships);\n\n    relationshipPayloadsManager.get('hobby', 2, 'user') === {\n      {\n        data: {\n          id: 1,\n          type: 'user'\n        }\n      }\n    }\n\n  @private\n  @class RelationshipPayloadsManager\n*/\n\nvar RelationshipPayloadsManager = function () {\n  function RelationshipPayloadsManager(store) {\n    _classCallCheck$8(this, RelationshipPayloadsManager);\n\n    this._store = store;\n    // cache of `RelationshipPayload`s\n    this._cache = Object.create(null);\n  }\n\n  /**\n    Find the payload for the given relationship of the given model.\n     Returns the payload for the given relationship, whether raw or computed from\n    the payload of the inverse relationship.\n     @example\n       relationshipPayloadsManager.get('hobby', 2, 'user') === {\n        {\n          data: {\n            id: 1,\n            type: 'user'\n          }\n        }\n      }\n     @method\n  */\n\n\n  RelationshipPayloadsManager.prototype.get = function get(modelName, id, relationshipName) {\n    var modelClass = this._store._modelFor(modelName);\n    var relationshipsByName = _get$1(modelClass, 'relationshipsByName');\n    var relationshipPayloads = this._getRelationshipPayloads(modelName, relationshipName, modelClass, relationshipsByName, false);\n    return relationshipPayloads && relationshipPayloads.get(modelName, id, relationshipName);\n  };\n\n  /**\n    Push a model's relationships payload into this cache.\n     @example\n       let userPayload = {\n        data: {\n          id: 1,\n          type: 'user',\n          relationships: {\n            hobbies: {\n              data: [{\n                id: 2,\n                type: 'hobby'\n              }]\n            }\n          }\n        },\n      };\n      relationshipPayloadsManager.push('user', 1, userPayload.data.relationships);\n     @method\n  */\n\n\n  RelationshipPayloadsManager.prototype.push = function push(modelName, id, relationshipsData) {\n    var _this = this;\n\n    if (!relationshipsData) {\n      return;\n    }\n\n    var modelClass = this._store._modelFor(modelName);\n    var relationshipsByName = _get$1(modelClass, 'relationshipsByName');\n    Object.keys(relationshipsData).forEach(function (key) {\n      var relationshipPayloads = _this._getRelationshipPayloads(modelName, key, modelClass, relationshipsByName, true);\n      if (relationshipPayloads) {\n        relationshipPayloads.push(modelName, id, key, relationshipsData[key]);\n      }\n    });\n  };\n\n  /**\n    Unload a model's relationships payload.\n     @method\n  */\n\n\n  RelationshipPayloadsManager.prototype.unload = function unload(modelName, id) {\n    var _this2 = this;\n\n    var modelClass = this._store._modelFor(modelName);\n    var relationshipsByName = _get$1(modelClass, 'relationshipsByName');\n    relationshipsByName.forEach(function (_, relationshipName) {\n      var relationshipPayloads = _this2._getRelationshipPayloads(modelName, relationshipName, modelClass, relationshipsByName, false);\n      if (relationshipPayloads) {\n        relationshipPayloads.unload(modelName, id, relationshipName);\n      }\n    });\n  };\n\n  /**\n    Find the RelationshipPayloads object for the given relationship.  The same\n    RelationshipPayloads object is returned for either side of a relationship.\n     @example\n       const User = DS.Model.extend({\n        hobbies: DS.hasMany('hobby')\n      });\n       const Hobby = DS.Model.extend({\n        user: DS.belongsTo('user')\n      });\n       relationshipPayloads.get('user', 'hobbies') === relationshipPayloads.get('hobby', 'user');\n     The signature has a somewhat large arity to avoid extra work, such as\n      a)  string maipulation & allocation with `modelName` and\n         `relationshipName`\n      b)  repeatedly getting `relationshipsByName` via `Ember.get`\n      @private\n    @method\n  */\n\n\n  RelationshipPayloadsManager.prototype._getRelationshipPayloads = function _getRelationshipPayloads(modelName, relationshipName, modelClass, relationshipsByName, init) {\n    if (!relationshipsByName.has(relationshipName)) {\n      return;\n    }\n\n    var key = modelName + ':' + relationshipName;\n    if (!this._cache[key] && init) {\n      return this._initializeRelationshipPayloads(modelName, relationshipName, modelClass, relationshipsByName);\n    }\n\n    return this._cache[key];\n  };\n\n  /**\n    Create the `RelationshipsPayload` for the relationship `modelName`, `relationshipName`, and its inverse.\n     @private\n    @method\n  */\n\n\n  RelationshipPayloadsManager.prototype._initializeRelationshipPayloads = function _initializeRelationshipPayloads(modelName, relationshipName, modelClass, relationshipsByName) {\n    var relationshipMeta = relationshipsByName.get(relationshipName);\n    var inverseMeta = modelClass.inverseFor(relationshipName, this._store);\n\n    var inverseModelName = void 0;\n    var inverseRelationshipName = void 0;\n    var inverseRelationshipMeta = void 0;\n\n    // figure out the inverse relationship; we need two things\n    //  a) the inverse model name\n    //- b) the name of the inverse relationship\n    if (inverseMeta) {\n      inverseRelationshipName = inverseMeta.name;\n      inverseModelName = relationshipMeta.type;\n      inverseRelationshipMeta = _get$1(inverseMeta.type, 'relationshipsByName').get(inverseRelationshipName);\n    } else {\n      // relationship has no inverse\n      inverseModelName = inverseRelationshipName = '';\n      inverseRelationshipMeta = null;\n    }\n\n    var lhsKey = modelName + ':' + relationshipName;\n    var rhsKey = inverseModelName + ':' + inverseRelationshipName;\n\n    // populate the cache for both sides of the relationship, as they both use\n    // the same `RelationshipPayloads`.\n    //\n    // This works out better than creating a single common key, because to\n    // compute that key we would need to do work to look up the inverse\n    //\n    return this._cache[lhsKey] = this._cache[rhsKey] = new RelationshipPayloads(this._store, modelName, relationshipName, relationshipMeta, inverseModelName, inverseRelationshipName, inverseRelationshipMeta);\n  };\n\n  return RelationshipPayloadsManager;\n}();\n\nvar Promise$3 = Ember.RSVP.Promise;\n\n\nfunction payloadIsNotBlank(adapterPayload) {\n  if (Array.isArray(adapterPayload)) {\n    return true;\n  } else {\n    return Object.keys(adapterPayload || {}).length;\n  }\n}\n\nfunction _find(adapter, store, modelClass, id, internalModel, options) {\n  var snapshot = internalModel.createSnapshot(options);\n  var modelName = internalModel.modelName;\n\n  var promise = adapter.findRecord(store, modelClass, id, snapshot);\n  var label = 'DS: Handle Adapter#findRecord of \\'' + modelName + '\\' with id: \\'' + id + '\\'';\n\n  promise = Promise$3.resolve(promise, label);\n  promise = _guard(promise, _bind(_objectIsAlive, store));\n\n  return promise.then(function (adapterPayload) {\n    emberData_Debug.assert('You made a \\'findRecord\\' request for a \\'' + modelName + '\\' with id \\'' + id + '\\', but the adapter\\'s response did not have any data', payloadIsNotBlank(adapterPayload));\n    var serializer = serializerForAdapter(store, adapter, modelName);\n    var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, id, 'findRecord');\n    emberData_Debug.assert('Ember Data expected the primary data returned from a \\'findRecord\\' response to be an object but instead it found an array.', !Array.isArray(payload.data));\n\n    emberData_Debug.warn('You requested a record of type \\'' + modelName + '\\' with id \\'' + id + '\\' but the adapter returned a payload with primary data having an id of \\'' + payload.data.id + '\\'. Use \\'store.findRecord()\\' when the requested id is the same as the one returned by the adapter. In other cases use \\'store.queryRecord()\\' instead http://emberjs.com/api/data/classes/DS.Store.html#method_queryRecord', payload.data.id === id, {\n      id: 'ds.store.findRecord.id-mismatch'\n    });\n\n    return store._push(payload);\n  }, function (error) {\n    internalModel.notFound();\n    if (internalModel.isEmpty()) {\n      internalModel.unloadRecord();\n    }\n\n    throw error;\n  }, 'DS: Extract payload of \\'' + modelName + '\\'');\n}\n\nfunction _findMany(adapter, store, modelName, ids, internalModels) {\n  var snapshots = Ember.A(internalModels).invoke('createSnapshot');\n  var modelClass = store.modelFor(modelName); // `adapter.findMany` gets the modelClass still\n  var promise = adapter.findMany(store, modelClass, ids, snapshots);\n  var label = 'DS: Handle Adapter#findMany of \\'' + modelName + '\\'';\n\n  if (promise === undefined) {\n    throw new Error('adapter.findMany returned undefined, this was very likely a mistake');\n  }\n\n  promise = Promise$3.resolve(promise, label);\n  promise = _guard(promise, _bind(_objectIsAlive, store));\n\n  return promise.then(function (adapterPayload) {\n    emberData_Debug.assert('You made a \\'findMany\\' request for \\'' + modelName + '\\' records with ids \\'[' + ids + ']\\', but the adapter\\'s response did not have any data', payloadIsNotBlank(adapterPayload));\n    var serializer = serializerForAdapter(store, adapter, modelName);\n    var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'findMany');\n    return store._push(payload);\n  }, null, 'DS: Extract payload of ' + modelName);\n}\n\nfunction _findHasMany(adapter, store, internalModel, link, relationship) {\n  var snapshot = internalModel.createSnapshot();\n  var modelClass = store.modelFor(relationship.type);\n  var promise = adapter.findHasMany(store, snapshot, link, relationship);\n  var label = 'DS: Handle Adapter#findHasMany of \\'' + internalModel.modelName + '\\' : \\'' + relationship.type + '\\'';\n\n  promise = Promise$3.resolve(promise, label);\n  promise = _guard(promise, _bind(_objectIsAlive, store));\n  promise = _guard(promise, _bind(_objectIsAlive, internalModel));\n\n  return promise.then(function (adapterPayload) {\n    emberData_Debug.assert('You made a \\'findHasMany\\' request for a ' + internalModel.modelName + '\\'s \\'' + relationship.key + '\\' relationship, using link \\'' + link + '\\' , but the adapter\\'s response did not have any data', payloadIsNotBlank(adapterPayload));\n    var serializer = serializerForAdapter(store, adapter, relationship.type);\n    var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'findHasMany');\n    var internalModelArray = store._push(payload);\n\n    internalModelArray.meta = payload.meta;\n    return internalModelArray;\n  }, null, 'DS: Extract payload of \\'' + internalModel.modelName + '\\' : hasMany \\'' + relationship.type + '\\'');\n}\n\nfunction _findBelongsTo(adapter, store, internalModel, link, relationship) {\n  var snapshot = internalModel.createSnapshot();\n  var modelClass = store.modelFor(relationship.type);\n  var promise = adapter.findBelongsTo(store, snapshot, link, relationship);\n  var label = 'DS: Handle Adapter#findBelongsTo of ' + internalModel.modelName + ' : ' + relationship.type;\n\n  promise = Promise$3.resolve(promise, label);\n  promise = _guard(promise, _bind(_objectIsAlive, store));\n  promise = _guard(promise, _bind(_objectIsAlive, internalModel));\n\n  return promise.then(function (adapterPayload) {\n    var serializer = serializerForAdapter(store, adapter, relationship.type);\n    var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'findBelongsTo');\n\n    if (!payload.data) {\n      return null;\n    }\n\n    return store._push(payload);\n  }, null, 'DS: Extract payload of ' + internalModel.modelName + ' : ' + relationship.type);\n}\n\nfunction _findAll(adapter, store, modelName, sinceToken, options) {\n  var modelClass = store.modelFor(modelName); // adapter.findAll depends on the class\n  var recordArray = store.peekAll(modelName);\n  var snapshotArray = recordArray._createSnapshot(options);\n  var promise = adapter.findAll(store, modelClass, sinceToken, snapshotArray);\n  var label = \"DS: Handle Adapter#findAll of \" + modelClass;\n\n  promise = Promise$3.resolve(promise, label);\n  promise = _guard(promise, _bind(_objectIsAlive, store));\n\n  return promise.then(function (adapterPayload) {\n    emberData_Debug.assert('You made a \\'findAll\\' request for \\'' + modelName + '\\' records, but the adapter\\'s response did not have any data', payloadIsNotBlank(adapterPayload));\n    var serializer = serializerForAdapter(store, adapter, modelName);\n    var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'findAll');\n\n    store._push(payload);\n    store._didUpdateAll(modelName);\n\n    return recordArray;\n  }, null, 'DS: Extract payload of findAll ${modelName}');\n}\n\nfunction _query(adapter, store, modelName, query, recordArray) {\n  var modelClass = store.modelFor(modelName); // adapter.query needs the class\n  var promise = adapter.query(store, modelClass, query, recordArray);\n\n  var label = 'DS: Handle Adapter#query of ' + modelClass;\n\n  promise = Promise$3.resolve(promise, label);\n  promise = _guard(promise, _bind(_objectIsAlive, store));\n\n  return promise.then(function (adapterPayload) {\n    var serializer = serializerForAdapter(store, adapter, modelName);\n\n    var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'query');\n\n    var internalModels = store._push(payload);\n\n    emberData_Debug.assert('The response to store.query is expected to be an array but it was a single record. Please wrap your response in an array or use `store.queryRecord` to query for a single record.', Array.isArray(internalModels));\n    recordArray._setInternalModels(internalModels, payload);\n\n    return recordArray;\n  }, null, 'DS: Extract payload of query ' + modelName);\n}\n\nfunction _queryRecord(adapter, store, modelName, query) {\n  var modelClass = store.modelFor(modelName); // adapter.queryRecord needs the class\n  var promise = adapter.queryRecord(store, modelClass, query);\n  var label = 'DS: Handle Adapter#queryRecord of ' + modelName;\n\n  promise = Promise$3.resolve(promise, label);\n  promise = _guard(promise, _bind(_objectIsAlive, store));\n\n  return promise.then(function (adapterPayload) {\n    var serializer = serializerForAdapter(store, adapter, modelName);\n    var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'queryRecord');\n\n    emberData_Debug.assert('Expected the primary data returned by the serializer for a \\'queryRecord\\' response to be a single object or null but instead it was an array.', !Array.isArray(payload.data), {\n      id: 'ds.store.queryRecord-array-response'\n    });\n\n    return store._push(payload);\n  }, null, 'DS: Extract payload of queryRecord ' + modelName);\n}\n\n// Used by the store to normalize IDs entering the store.  Despite the fact\n// that developers may provide IDs as numbers (e.g., `store.findRecord('person', 1)`),\n// it is important that internally we use strings, since IDs may be serialized\n// and lose type information.  For example, Ember's router may put a record's\n// ID into the URL, and if we later try to deserialize that URL and find the\n// corresponding record, we will not know if it is a string or a number.\nfunction coerceId(id) {\n  if (id === null || id === undefined || id === '') {\n    return null;\n  }\n  if (typeof id === 'string') {\n    return id;\n  }\n  return '' + id;\n}\n\nvar _createClass$7 = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck$11(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/**\n  @module ember-data\n*/\n\n/**\n  @class SnapshotRecordArray\n  @namespace DS\n  @private\n  @constructor\n  @param {Array} snapshots An array of snapshots\n  @param {Object} meta\n*/\nvar SnapshotRecordArray = function () {\n  function SnapshotRecordArray(recordArray, meta) {\n    var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n    _classCallCheck$11(this, SnapshotRecordArray);\n\n    /**\n      An array of snapshots\n      @private\n      @property _snapshots\n      @type {Array}\n    */\n    this._snapshots = null;\n\n    /**\n      An array of records\n      @private\n      @property _recordArray\n      @type {Array}\n    */\n    this._recordArray = recordArray;\n\n    /**\n      Number of records in the array\n       Example\n       ```app/adapters/post.js\n      import DS from 'ember-data'\n       export default DS.JSONAPIAdapter.extend({\n        shouldReloadAll(store, snapshotRecordArray) {\n          return !snapshotRecordArray.length;\n        },\n      });\n      ```\n       @property length\n      @type {Number}\n    */\n    this.length = recordArray.get('length');\n\n    this._type = null;\n\n    /**\n      Meta objects for the record array.\n       Example\n       ```app/adapters/post.js\n      import DS from 'ember-data'\n       export default DS.JSONAPIAdapter.extend({\n        shouldReloadAll(store, snapshotRecordArray) {\n          var lastRequestTime = snapshotRecordArray.meta.lastRequestTime;\n          var twentyMinutes = 20 * 60 * 1000;\n          return Date.now() > lastRequestTime + twentyMinutes;\n        },\n      });\n      ```\n       @property meta\n      @type {Object}\n    */\n    this.meta = meta;\n\n    /**\n      A hash of adapter options passed into the store method for this request.\n       Example\n       ```app/adapters/post.js\n      import MyCustomAdapter from './custom-adapter';\n       export default MyCustomAdapter.extend({\n        findAll(store, type, sinceToken, snapshotRecordArray) {\n          if (snapshotRecordArray.adapterOptions.subscribe) {\n            // ...\n          }\n          // ...\n        }\n      });\n      ```\n       @property adapterOptions\n      @type {Object}\n    */\n    this.adapterOptions = options.adapterOptions;\n\n    /**\n      The relationships to include for this request.\n       Example\n       ```app/adapters/application.js\n      import DS from 'ember-data';\n       export default DS.Adapter.extend({\n        findAll(store, type, snapshotRecordArray) {\n          var url = `/${type.modelName}?include=${encodeURIComponent(snapshotRecordArray.include)}`;\n           return fetch(url).then((response) => response.json())\n        }\n      });\n       @property include\n      @type {String|Array}\n    */\n    this.include = options.include;\n  }\n\n  /**\n    The type of the underlying records for the snapshots in the array, as a DS.Model\n    @property type\n    @type {DS.Model}\n  */\n\n\n  /**\n    Get snapshots of the underlying record array\n     Example\n     ```app/adapters/post.js\n    import DS from 'ember-data'\n     export default DS.JSONAPIAdapter.extend({\n      shouldReloadAll(store, snapshotArray) {\n        var snapshots = snapshotArray.snapshots();\n         return snapshots.any(function(ticketSnapshot) {\n          var timeDiff = moment().diff(ticketSnapshot.attr('lastAccessedAt'), 'minutes');\n          if (timeDiff > 20) {\n            return true;\n          } else {\n            return false;\n          }\n        });\n      }\n    });\n    ```\n     @method snapshots\n    @return {Array} Array of snapshots\n  */\n  SnapshotRecordArray.prototype.snapshots = function snapshots() {\n    if (this._snapshots !== null) {\n      return this._snapshots;\n    }\n\n    this._snapshots = this._recordArray._takeSnapshot();\n\n    return this._snapshots;\n  };\n\n  _createClass$7(SnapshotRecordArray, [{\n    key: 'type',\n    get: function get() {\n      return this._type || (this._type = this._recordArray.get('type'));\n    }\n  }]);\n\n  return SnapshotRecordArray;\n}();\n\n/**\n  @module ember-data\n*/\n\nvar computed$2 = Ember.computed;\nvar get$11 = Ember.get;\nvar set$3 = Ember.set;\nvar Promise$4 = Ember.RSVP.Promise;\n\n/**\n  A record array is an array that contains records of a certain modelName. The record\n  array materializes records as needed when they are retrieved for the first\n  time. You should not create record arrays yourself. Instead, an instance of\n  `DS.RecordArray` or its subclasses will be returned by your application's store\n  in response to queries.\n\n  @class RecordArray\n  @namespace DS\n  @extends Ember.ArrayProxy\n  @uses Ember.Evented\n*/\n\nvar RecordArray = Ember.ArrayProxy.extend(Ember.Evented, {\n  init: function init() {\n    this._super.apply(this, arguments);\n\n    /**\n      The array of client ids backing the record array. When a\n      record is requested from the record array, the record\n      for the client id at the same index is materialized, if\n      necessary, by the store.\n       @property content\n      @private\n      @type Ember.Array\n      */\n    this.set('content', this.content || null);\n\n    /**\n    The flag to signal a `RecordArray` is finished loading data.\n     Example\n     ```javascript\n    var people = store.peekAll('person');\n    people.get('isLoaded'); // true\n    ```\n     @property isLoaded\n    @type Boolean\n    */\n    this.isLoaded = this.isLoaded || false;\n    /**\n    The flag to signal a `RecordArray` is currently loading data.\n    Example\n    ```javascript\n    var people = store.peekAll('person');\n    people.get('isUpdating'); // false\n    people.update();\n    people.get('isUpdating'); // true\n    ```\n    @property isUpdating\n    @type Boolean\n    */\n    this.isUpdating = false;\n\n    /**\n    The store that created this record array.\n    @property store\n    @private\n    @type DS.Store\n    */\n    this.store = this.store || null;\n    this._updatingPromise = null;\n  },\n  replace: function replace() {\n    throw new Error(\"The result of a server query (for all \" + this.modelName + \" types) is immutable. To modify contents, use toArray()\");\n  },\n\n\n  /**\n   The modelClass represented by this record array.\n    @property type\n   @type DS.Model\n   */\n  type: computed$2('modelName', function () {\n    if (!this.modelName) {\n      return null;\n    }\n    return this.store._modelFor(this.modelName);\n  }).readOnly(),\n\n  /**\n    Retrieves an object from the content by index.\n     @method objectAtContent\n    @private\n    @param {Number} index\n    @return {DS.Model} record\n  */\n  objectAtContent: function objectAtContent(index) {\n    var internalModel = get$11(this, 'content').objectAt(index);\n    return internalModel && internalModel.getRecord();\n  },\n\n\n  /**\n    Used to get the latest version of all of the records in this array\n    from the adapter.\n     Example\n     ```javascript\n    var people = store.peekAll('person');\n    people.get('isUpdating'); // false\n     people.update().then(function() {\n      people.get('isUpdating'); // false\n    });\n     people.get('isUpdating'); // true\n    ```\n     @method update\n  */\n  update: function update() {\n    var _this = this;\n\n    if (get$11(this, 'isUpdating')) {\n      return this._updatingPromise;\n    }\n\n    this.set('isUpdating', true);\n\n    var updatingPromise = this._update().finally(function () {\n      _this._updatingPromise = null;\n      if (_this.get('isDestroying') || _this.get('isDestroyed')) {\n        return;\n      }\n      _this.set('isUpdating', false);\n    });\n\n    this._updatingPromise = updatingPromise;\n\n    return updatingPromise;\n  },\n\n\n  /*\n    Update this RecordArray and return a promise which resolves once the update\n    is finished.\n   */\n  _update: function _update() {\n    return this.store.findAll(this.modelName, { reload: true });\n  },\n\n\n  /**\n    Adds an internal model to the `RecordArray` without duplicates\n     @method _pushInternalModels\n    @private\n    @param {InternalModel} internalModel\n  */\n  _pushInternalModels: function _pushInternalModels(internalModels) {\n    // pushObjects because the internalModels._recordArrays set was already\n    // consulted for inclusion, so addObject and its on .contains call is not\n    // required.\n    get$11(this, 'content').pushObjects(internalModels);\n  },\n\n\n  /**\n    Removes an internalModel to the `RecordArray`.\n     @method removeInternalModel\n    @private\n    @param {InternalModel} internalModel\n  */\n  _removeInternalModels: function _removeInternalModels(internalModels) {\n    get$11(this, 'content').removeObjects(internalModels);\n  },\n\n\n  /**\n    Saves all of the records in the `RecordArray`.\n     Example\n     ```javascript\n    var messages = store.peekAll('message');\n    messages.forEach(function(message) {\n      message.set('hasBeenSeen', true);\n    });\n    messages.save();\n    ```\n     @method save\n    @return {DS.PromiseArray} promise\n  */\n  save: function save() {\n    var _this2 = this;\n\n    var promiseLabel = \"DS: RecordArray#save \" + this.modelName;\n    var promise = Promise$4.all(this.invoke('save'), promiseLabel).then(function () {\n      return _this2;\n    }, null, 'DS: RecordArray#save return RecordArray');\n\n    return PromiseArray.create({ promise: promise });\n  },\n  _dissociateFromOwnRecords: function _dissociateFromOwnRecords() {\n    var _this3 = this;\n\n    this.get('content').forEach(function (internalModel) {\n      var recordArrays = internalModel.__recordArrays;\n\n      if (recordArrays) {\n        recordArrays.delete(_this3);\n      }\n    });\n  },\n\n\n  /**\n    @method _unregisterFromManager\n    @private\n  */\n  _unregisterFromManager: function _unregisterFromManager() {\n    this.manager.unregisterRecordArray(this);\n  },\n  willDestroy: function willDestroy() {\n    this._unregisterFromManager();\n    this._dissociateFromOwnRecords();\n    // TODO: we should not do work during destroy:\n    //   * when objects are destroyed, they should simply be left to do\n    //   * if logic errors do to this, that logic needs to be more careful during\n    //    teardown (ember provides isDestroying/isDestroyed) for this reason\n    //   * the exception being: if an dominator has a reference to this object,\n    //     and must be informed to release e.g. e.g. removing itself from th\n    //     recordArrayMananger\n    set$3(this, 'content', null);\n    set$3(this, 'length', 0);\n    this._super.apply(this, arguments);\n  },\n\n\n  /*\n    @method _createSnapshot\n    @private\n  */\n  _createSnapshot: function _createSnapshot(options) {\n    // this is private for users, but public for ember-data internals\n    return new SnapshotRecordArray(this, this.get('meta'), options);\n  },\n\n\n  /*\n    @method _takeSnapshot\n    @private\n  */\n  _takeSnapshot: function _takeSnapshot() {\n    return get$11(this, 'content').map(function (internalModel) {\n      return internalModel.createSnapshot();\n    });\n  }\n});\n\n/**\n  @module ember-data\n*/\n\nvar get$12 = Ember.get;\n\n/**\n  Represents a list of records whose membership is determined by the\n  store. As records are created, loaded, or modified, the store\n  evaluates them to determine if they should be part of the record\n  array.\n\n  @class FilteredRecordArray\n  @namespace DS\n  @extends DS.RecordArray\n*/\n\nvar FilteredRecordArray = RecordArray.extend({\n  init: function init() {\n    this._super.apply(this, arguments);\n\n    this.set('filterFunction', this.get('filterFunction') || null);\n    this.isLoaded = true;\n  },\n\n  /**\n    The filterFunction is a function used to test records from the store to\n    determine if they should be part of the record array.\n     Example\n     ```javascript\n    var allPeople = store.peekAll('person');\n    allPeople.mapBy('name'); // [\"Tom Dale\", \"Yehuda Katz\", \"Trek Glowacki\"]\n     var people = store.filter('person', function(person) {\n      if (person.get('name').match(/Katz$/)) { return true; }\n    });\n    people.mapBy('name'); // [\"Yehuda Katz\"]\n     var notKatzFilter = function(person) {\n      return !person.get('name').match(/Katz$/);\n    };\n    people.set('filterFunction', notKatzFilter);\n    people.mapBy('name'); // [\"Tom Dale\", \"Trek Glowacki\"]\n    ```\n     @method filterFunction\n    @param {DS.Model} record\n    @return {Boolean} `true` if the record should be in the array\n  */\n\n  replace: function replace() {\n    throw new Error('The result of a client-side filter (on ' + this.modelName + ') is immutable.');\n  },\n\n\n  /**\n    @method updateFilter\n    @private\n  */\n  _updateFilter: function _updateFilter() {\n    if (get$12(this, 'isDestroying') || get$12(this, 'isDestroyed')) {\n      return;\n    }\n    get$12(this, 'manager').updateFilter(this, this.modelName, get$12(this, 'filterFunction'));\n  },\n\n\n  updateFilter: Ember.observer('filterFunction', function () {\n    Ember.run.once(this, this._updateFilter);\n  })\n});\n\nfunction cloneNull(source) {\n  var clone = Object.create(null);\n  for (var key in source) {\n    clone[key] = source[key];\n  }\n  return clone;\n}\n\n/**\n  @module ember-data\n*/\n\nvar get$13 = Ember.get;\n\n/**\n  Represents an ordered list of records whose order and membership is\n  determined by the adapter. For example, a query sent to the adapter\n  may trigger a search on the server, whose results would be loaded\n  into an instance of the `AdapterPopulatedRecordArray`.\n\n  ---\n\n  If you want to update the array and get the latest records from the\n  adapter, you can invoke [`update()`](#method_update):\n\n  Example\n\n  ```javascript\n  // GET /users?isAdmin=true\n  var admins = store.query('user', { isAdmin: true });\n\n  admins.then(function() {\n    console.log(admins.get(\"length\")); // 42\n  });\n\n  // somewhere later in the app code, when new admins have been created\n  // in the meantime\n  //\n  // GET /users?isAdmin=true\n  admins.update().then(function() {\n    admins.get('isUpdating'); // false\n    console.log(admins.get(\"length\")); // 123\n  });\n\n  admins.get('isUpdating'); // true\n  ```\n\n  @class AdapterPopulatedRecordArray\n  @namespace DS\n  @extends DS.RecordArray\n*/\n\nvar AdapterPopulatedRecordArray = RecordArray.extend({\n  init: function init() {\n    // yes we are touching `this` before super, but ArrayProxy has a bug that requires this.\n    this.set('content', this.get('content') || Ember.A());\n\n    this._super.apply(this, arguments);\n    this.query = this.query || null;\n    this.links = null;\n  },\n  replace: function replace() {\n    throw new Error(\"The result of a server query (on \" + this.modelName + \") is immutable.\");\n  },\n  _update: function _update() {\n    var store = get$13(this, 'store');\n    var query = get$13(this, 'query');\n\n    return store._query(this.modelName, query, this);\n  },\n\n\n  /**\n    @method _setInternalModels\n    @param {Array} internalModels\n    @param {Object} payload normalized payload\n    @private\n  */\n  _setInternalModels: function _setInternalModels(internalModels, payload) {\n\n    // TODO: initial load should not cause change events at all, only\n    // subsequent. This requires changing the public api of adapter.query, but\n    // hopefully we can do that soon.\n    this.get('content').setObjects(internalModels);\n\n    this.setProperties({\n      isLoaded: true,\n      isUpdating: false,\n      meta: cloneNull(payload.meta),\n      links: cloneNull(payload.links)\n    });\n\n    for (var i = 0, l = internalModels.length; i < l; i++) {\n      var internalModel = internalModels[i];\n\n      internalModel._recordArrays.add(this);\n    }\n\n    // TODO: should triggering didLoad event be the last action of the runLoop?\n    Ember.run.once(this, 'trigger', 'didLoad');\n  }\n});\n\n/**\n  @module ember-data\n*/\n\nfunction _classCallCheck$10(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/**\n  @module ember-data\n*/\n\nvar get$10 = Ember.get;\nvar emberRun$1 = Ember.run;\n\n/**\n  @class RecordArrayManager\n  @namespace DS\n  @private\n*/\nvar RecordArrayManager = function () {\n  function RecordArrayManager(options) {\n    _classCallCheck$10(this, RecordArrayManager);\n\n    this.store = options.store;\n    this.isDestroying = false;\n    this.isDestroyed = false;\n    this._filteredRecordArrays = Object.create(null);\n    this._liveRecordArrays = Object.create(null);\n    this._pending = Object.create(null);\n    this._adapterPopulatedRecordArrays = [];\n  }\n\n  RecordArrayManager.prototype.recordDidChange = function recordDidChange(internalModel) {\n    // TODO: change name\n    // TODO: track that it was also a change\n    this.internalModelDidChange(internalModel);\n  };\n\n  RecordArrayManager.prototype.recordWasLoaded = function recordWasLoaded(internalModel) {\n    // TODO: change name\n    // TODO: track that it was also that it was first loaded\n    this.internalModelDidChange(internalModel);\n  };\n\n  RecordArrayManager.prototype.internalModelDidChange = function internalModelDidChange(internalModel) {\n\n    var modelName = internalModel.modelName;\n\n    if (internalModel._pendingRecordArrayManagerFlush) {\n      return;\n    }\n\n    internalModel._pendingRecordArrayManagerFlush = true;\n\n    var pending = this._pending;\n    var models = pending[modelName] = pending[modelName] || [];\n    if (models.push(internalModel) !== 1) {\n      return;\n    }\n\n    emberRun$1.schedule('actions', this, this._flush);\n  };\n\n  RecordArrayManager.prototype._flush = function _flush() {\n\n    var pending = this._pending;\n    this._pending = Object.create(null);\n    var modelsToRemove = [];\n\n    for (var modelName in pending) {\n      var internalModels = pending[modelName];\n      for (var j = 0; j < internalModels.length; j++) {\n        var internalModel = internalModels[j];\n        // mark internalModels, so they can once again be processed by the\n        // recordArrayManager\n        internalModel._pendingRecordArrayManagerFlush = false;\n        // build up a set of models to ensure we have purged correctly;\n        if (internalModel.isHiddenFromRecordArrays()) {\n          modelsToRemove.push(internalModel);\n        }\n      }\n\n      // process filteredRecordArrays\n      if (this._filteredRecordArrays[modelName]) {\n        var recordArrays = this.filteredRecordArraysFor(modelName);\n        for (var i = 0; i < recordArrays.length; i++) {\n          this.updateFilterRecordArray(recordArrays[i], modelName, internalModels);\n        }\n      }\n\n      // TODO: skip if it only changed\n      // process liveRecordArrays\n      if (this._liveRecordArrays[modelName]) {\n        this.updateLiveRecordArray(modelName, internalModels);\n      }\n\n      // process adapterPopulatedRecordArrays\n      if (modelsToRemove.length > 0) {\n        this.removeFromAdapterPopulatedRecordArrays(modelsToRemove);\n      }\n    }\n  };\n\n  RecordArrayManager.prototype.updateLiveRecordArray = function updateLiveRecordArray(modelName, internalModels) {\n    var array = this.liveRecordArrayFor(modelName);\n\n    var modelsToAdd = [];\n    var modelsToRemove = [];\n\n    for (var i = 0; i < internalModels.length; i++) {\n      var internalModel = internalModels[i];\n      var isDeleted = internalModel.isHiddenFromRecordArrays();\n      var recordArrays = internalModel._recordArrays;\n\n      if (!isDeleted && !internalModel.isEmpty()) {\n        if (!recordArrays.has(array)) {\n          modelsToAdd.push(internalModel);\n          recordArrays.add(array);\n        }\n      }\n\n      if (isDeleted) {\n        modelsToRemove.push(internalModel);\n        recordArrays.delete(array);\n      }\n    }\n\n    if (modelsToAdd.length > 0) {\n      array._pushInternalModels(modelsToAdd);\n    }\n    if (modelsToRemove.length > 0) {\n      array._removeInternalModels(modelsToRemove);\n    }\n  };\n\n  RecordArrayManager.prototype.removeFromAdapterPopulatedRecordArrays = function removeFromAdapterPopulatedRecordArrays(internalModels) {\n    for (var i = 0; i < internalModels.length; i++) {\n      var internalModel = internalModels[i];\n      var list = internalModel._recordArrays.list;\n\n      for (var j = 0; j < list.length; j++) {\n        // TODO: group by arrays, so we can batch remove\n        list[j]._removeInternalModels([internalModel]);\n      }\n\n      internalModel._recordArrays.clear();\n    }\n  };\n\n  /**\n    Update an individual filter.\n     @private\n    @method updateFilterRecordArray\n    @param {DS.FilteredRecordArray} array\n    @param {String} modelName\n    @param {Array} internalModels\n  */\n\n\n  RecordArrayManager.prototype.updateFilterRecordArray = function updateFilterRecordArray(array, modelName, internalModels) {\n\n    var filter = get$10(array, 'filterFunction');\n\n    var shouldBeInAdded = [];\n    var shouldBeRemoved = [];\n\n    for (var i = 0; i < internalModels.length; i++) {\n      var internalModel = internalModels[i];\n      if (internalModel.isHiddenFromRecordArrays() === false && filter(internalModel.getRecord())) {\n        if (internalModel._recordArrays.has(array)) {\n          continue;\n        }\n        shouldBeInAdded.push(internalModel);\n        internalModel._recordArrays.add(array);\n      } else {\n        if (internalModel._recordArrays.delete(array)) {\n          shouldBeRemoved.push(internalModel);\n        }\n      }\n    }\n\n    if (shouldBeInAdded.length > 0) {\n      array._pushInternalModels(shouldBeInAdded);\n    }\n    if (shouldBeRemoved.length > 0) {\n      array._removeInternalModels(shouldBeRemoved);\n    }\n  };\n\n  // TODO: remove, utilize existing flush code but make it flush sync based on 1 modelName\n\n\n  RecordArrayManager.prototype.syncLiveRecordArray = function syncLiveRecordArray(array, modelName) {\n    emberData_Debug.assert('recordArrayManger.syncLiveRecordArray expects modelName not modelClass as the second param', typeof modelName === 'string');\n    var hasNoPotentialDeletions = Object.keys(this._pending).length === 0;\n    var map = this.store._internalModelsFor(modelName);\n    var hasNoInsertionsOrRemovals = get$10(map, 'length') === get$10(array, 'length');\n\n    /*\n      Ideally the recordArrayManager has knowledge of the changes to be applied to\n      liveRecordArrays, and is capable of strategically flushing those changes and applying\n      small diffs if desired.  However, until we've refactored recordArrayManager, this dirty\n      check prevents us from unnecessarily wiping out live record arrays returned by peekAll.\n     */\n    if (hasNoPotentialDeletions && hasNoInsertionsOrRemovals) {\n      return;\n    }\n\n    this.populateLiveRecordArray(array, map.models);\n  };\n\n  // TODO: remove, when syncLiveRecordArray is removed\n\n\n  RecordArrayManager.prototype.populateLiveRecordArray = function populateLiveRecordArray(array, internalModels) {\n\n    var modelsToAdd = [];\n    for (var i = 0; i < internalModels.length; i++) {\n      var internalModel = internalModels[i];\n\n      if (!internalModel.isHiddenFromRecordArrays()) {\n        var recordArrays = internalModel._recordArrays;\n\n        if (!recordArrays.has(array)) {\n          modelsToAdd.push(internalModel);\n          recordArrays.add(array);\n        }\n      }\n    }\n\n    array._pushInternalModels(modelsToAdd);\n  };\n\n  /**\n    This method is invoked if the `filterFunction` property is\n    changed on a `DS.FilteredRecordArray`.\n     It essentially re-runs the filter from scratch. This same\n    method is invoked when the filter is created in th first place.\n     @method updateFilter\n    @param {Array} array\n    @param {String} modelName\n    @param {Function} filter\n  */\n\n\n  RecordArrayManager.prototype.updateFilter = function updateFilter(array, modelName, filter) {\n    emberData_Debug.assert('recordArrayManger.updateFilter expects modelName not modelClass as the second param, received ' + modelName, typeof modelName === 'string');\n\n    var modelMap = this.store._internalModelsFor(modelName);\n    var internalModels = modelMap.models;\n\n    this.updateFilterRecordArray(array, filter, internalModels);\n  };\n\n  /**\n    Get the `DS.RecordArray` for a modelName, which contains all loaded records of\n    given modelName.\n     @method liveRecordArrayFor\n    @param {String} modelName\n    @return {DS.RecordArray}\n  */\n\n\n  RecordArrayManager.prototype.liveRecordArrayFor = function liveRecordArrayFor(modelName) {\n    emberData_Debug.assert('recordArrayManger.liveRecordArrayFor expects modelName not modelClass as the param', typeof modelName === 'string');\n\n    return this._liveRecordArrays[modelName] || (this._liveRecordArrays[modelName] = this.createRecordArray(modelName));\n  };\n\n  /**\n    Get the `DS.RecordArray` for a modelName, which contains all loaded records of\n    given modelName.\n     @method filteredRecordArraysFor\n    @param {String} modelName\n    @return {DS.RecordArray}\n  */\n\n\n  RecordArrayManager.prototype.filteredRecordArraysFor = function filteredRecordArraysFor(modelName) {\n    emberData_Debug.assert('recordArrayManger.filteredRecordArraysFor expects modelName not modelClass as the param', typeof modelName === 'string');\n\n    return this._filteredRecordArrays[modelName] || (this._filteredRecordArrays[modelName] = []);\n  };\n  /**\n    Create a `DS.RecordArray` for a modelName.\n     @method createRecordArray\n    @param {String} modelName\n    @return {DS.RecordArray}\n  */\n\n\n  RecordArrayManager.prototype.createRecordArray = function createRecordArray(modelName) {\n    emberData_Debug.assert('recordArrayManger.createRecordArray expects modelName not modelClass as the param', typeof modelName === 'string');\n\n    return RecordArray.create({\n      modelName: modelName,\n      content: Ember.A(),\n      store: this.store,\n      isLoaded: true,\n      manager: this\n    });\n  };\n\n  /**\n    Create a `DS.FilteredRecordArray` for a modelName and register it for updates.\n     @method createFilteredRecordArray\n    @param {String} modelName\n    @param {Function} filter\n    @param {Object} query (optional\n    @return {DS.FilteredRecordArray}\n  */\n\n\n  RecordArrayManager.prototype.createFilteredRecordArray = function createFilteredRecordArray(modelName, filter, query) {\n    emberData_Debug.assert('recordArrayManger.createFilteredRecordArray expects modelName not modelClass as the first param, received ' + modelName, typeof modelName === 'string');\n\n    var array = FilteredRecordArray.create({\n      query: query,\n      modelName: modelName,\n      content: Ember.A(),\n      store: this.store,\n      manager: this,\n      filterFunction: filter\n    });\n\n    this.registerFilteredRecordArray(array, modelName, filter);\n\n    return array;\n  };\n\n  /**\n    Create a `DS.AdapterPopulatedRecordArray` for a modelName with given query.\n     @method createAdapterPopulatedRecordArray\n    @param {String} modelName\n    @param {Object} query\n    @return {DS.AdapterPopulatedRecordArray}\n  */\n\n\n  RecordArrayManager.prototype.createAdapterPopulatedRecordArray = function createAdapterPopulatedRecordArray(modelName, query) {\n    emberData_Debug.assert('recordArrayManger.createAdapterPopulatedRecordArray expects modelName not modelClass as the first param, received ' + modelName, typeof modelName === 'string');\n\n    var array = AdapterPopulatedRecordArray.create({\n      modelName: modelName,\n      query: query,\n      content: Ember.A(),\n      store: this.store,\n      manager: this\n    });\n\n    this._adapterPopulatedRecordArrays.push(array);\n\n    return array;\n  };\n\n  /**\n    Register a RecordArray for a given modelName to be backed by\n    a filter function. This will cause the array to update\n    automatically when records of that modelName change attribute\n    values or states.\n     @method registerFilteredRecordArray\n    @param {DS.RecordArray} array\n    @param {String} modelName\n    @param {Function} filter\n  */\n\n\n  RecordArrayManager.prototype.registerFilteredRecordArray = function registerFilteredRecordArray(array, modelName, filter) {\n    emberData_Debug.assert('recordArrayManger.registerFilteredRecordArray expects modelName not modelClass as the second param, received ' + modelName, typeof modelName === 'string');\n\n    this.filteredRecordArraysFor(modelName).push(array);\n    this.updateFilter(array, modelName, filter);\n  };\n\n  /**\n    Unregister a RecordArray.\n    So manager will not update this array.\n     @method unregisterRecordArray\n    @param {DS.RecordArray} array\n  */\n\n\n  RecordArrayManager.prototype.unregisterRecordArray = function unregisterRecordArray(array) {\n\n    var modelName = array.modelName;\n\n    // unregister filtered record array\n    var recordArrays = this.filteredRecordArraysFor(modelName);\n    var removedFromFiltered = remove(recordArrays, array);\n\n    // remove from adapter populated record array\n    var removedFromAdapterPopulated = remove(this._adapterPopulatedRecordArrays, array);\n\n    if (!removedFromFiltered && !removedFromAdapterPopulated) {\n\n      var liveRecordArrayForType = this._liveRecordArrays[modelName];\n      // unregister live record array\n      if (liveRecordArrayForType) {\n        if (array === liveRecordArrayForType) {\n          delete this._liveRecordArrays[modelName];\n        }\n      }\n    }\n  };\n\n  RecordArrayManager.prototype.willDestroy = function willDestroy() {\n    var _this = this;\n\n    Object.keys(this._filteredRecordArrays).forEach(function (modelName) {\n      return flatten(_this._filteredRecordArrays[modelName]).forEach(destroy);\n    });\n    Object.keys(this._liveRecordArrays).forEach(function (modelName) {\n      return _this._liveRecordArrays[modelName].destroy();\n    });\n    this._adapterPopulatedRecordArrays.forEach(destroy);\n    this.isDestroyed = true;\n  };\n\n  RecordArrayManager.prototype.destroy = function destroy() {\n    this.isDestroying = true;\n    Ember.run.schedule('actions', this, this.willDestroy);\n  };\n\n  return RecordArrayManager;\n}();\n\nfunction destroy(entry) {\n  entry.destroy();\n}\n\nfunction flatten(list) {\n  var length = list.length;\n  var result = [];\n\n  for (var i = 0; i < length; i++) {\n    result = result.concat(list[i]);\n  }\n\n  return result;\n}\n\nfunction remove(array, item) {\n  var index = array.indexOf(item);\n\n  if (index !== -1) {\n    array.splice(index, 1);\n    return true;\n  }\n\n  return false;\n}\n\nfunction _classCallCheck$12(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/* global heimdall */\nvar set$4 = Ember.set;\n\n/*\n * The `ContainerInstanceCache` serves as a lazy cache for looking up\n * instances of serializers and adapters. It has some additional logic for\n * finding the 'fallback' adapter or serializer.\n *\n * The 'fallback' adapter or serializer is an adapter or serializer that is looked up\n * when the preferred lookup fails. For example, say you try to look up `adapter:post`,\n * but there is no entry (app/adapters/post.js in EmberCLI) for `adapter:post` in the registry.\n *\n * When an adapter or serializer is unfound, getFallbacks will be invoked with the current namespace\n * ('adapter' or 'serializer') and the 'preferredKey' (usually a modelName).  The method should return\n * an array of keys to check against.\n *\n * The first entry in the fallbacks array that exists in the container will then be cached for\n * `adapter:post`. So, the next time you look up `adapter:post`, you'll get the `adapter:application`\n * instance (or whatever the fallback was if `adapter:application` doesn't exist).\n *\n * @private\n * @class ContainerInstanceCache\n *\n*/\nvar ContainerInstanceCache = function () {\n  function ContainerInstanceCache(owner, store) {\n    _classCallCheck$12(this, ContainerInstanceCache);\n\n    this.isDestroying = false;\n    this.isDestroyed = false;\n    this._owner = owner;\n    this._store = store;\n    this._namespaces = {\n      adapter: Object.create(null),\n      serializer: Object.create(null)\n    };\n  }\n\n  ContainerInstanceCache.prototype.get = function get(namespace, preferredKey) {\n    var cache = this._namespaces[namespace];\n\n    if (cache[preferredKey]) {\n      return cache[preferredKey];\n    }\n\n    var preferredLookupKey = namespace + ':' + preferredKey;\n\n    var instance = this._instanceFor(preferredLookupKey) || this._findInstance(namespace, this._fallbacksFor(namespace, preferredKey));\n    if (instance) {\n      cache[preferredKey] = instance;\n      set$4(instance, 'store', this._store);\n    }\n\n    return cache[preferredKey];\n  };\n\n  ContainerInstanceCache.prototype._fallbacksFor = function _fallbacksFor(namespace, preferredKey) {\n    if (namespace === 'adapter') {\n      return ['application', this._store.get('adapter'), '-json-api'];\n    }\n\n    // serializer\n    return ['application', this.get('adapter', preferredKey).get('defaultSerializer'), '-default'];\n  };\n\n  ContainerInstanceCache.prototype._findInstance = function _findInstance(namespace, fallbacks) {\n    var cache = this._namespaces[namespace];\n\n    for (var i = 0, length = fallbacks.length; i < length; i++) {\n      var fallback = fallbacks[i];\n\n      if (cache[fallback]) {\n        return cache[fallback];\n      }\n\n      var lookupKey = namespace + ':' + fallback;\n      var instance = this._instanceFor(lookupKey);\n\n      if (instance) {\n        cache[fallback] = instance;\n        return instance;\n      }\n    }\n  };\n\n  ContainerInstanceCache.prototype._instanceFor = function _instanceFor(key) {\n    return this._owner.lookup(key);\n  };\n\n  ContainerInstanceCache.prototype.destroyCache = function destroyCache(cache) {\n    var cacheEntries = Object.keys(cache);\n\n    for (var i = 0, length = cacheEntries.length; i < length; i++) {\n      var cacheKey = cacheEntries[i];\n      var cacheEntry = cache[cacheKey];\n      if (cacheEntry) {\n        cacheEntry.destroy();\n      }\n    }\n  };\n\n  ContainerInstanceCache.prototype.destroy = function destroy() {\n    this.isDestroying = true;\n    this.destroyCache(this._namespaces.adapter);\n    this.destroyCache(this._namespaces.serializer);\n    this.isDestroyed = true;\n  };\n\n  ContainerInstanceCache.prototype.toString = function toString() {\n    return 'ContainerInstanceCache';\n  };\n\n  return ContainerInstanceCache;\n}();\n\nvar _typeof$1 = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n/**\n  @module ember-data\n*/\n\nvar badIdFormatAssertion = '`id` passed to `findRecord()` has to be non-empty string or number';\n\nvar A = Ember.A;\nvar Backburner = Ember._Backburner;\nvar computed$1 = Ember.computed;\nvar copy = Ember.copy;\nvar ENV = Ember.ENV;\nvar EmberError = Ember.Error;\nvar get$3 = Ember.get;\nvar inspect = Ember.inspect;\nvar isNone = Ember.isNone;\nvar isPresent = Ember.isPresent;\nvar MapWithDefault$2 = Ember.MapWithDefault;\nvar emberRun = Ember.run;\nvar set$1 = Ember.set;\nvar RSVP = Ember.RSVP;\nvar Service = Ember.Service;\nvar typeOf = Ember.typeOf;\nvar Promise$1 = RSVP.Promise;\n\n//Get the materialized model from the internalModel/promise that returns\n//an internal model and return it in a promiseObject. Useful for returning\n//from find methods\n\nfunction promiseRecord(internalModelPromise, label) {\n  var toReturn = internalModelPromise.then(function (internalModel) {\n    return internalModel.getRecord();\n  });\n\n  return promiseObject(toReturn, label);\n}\n\nvar Store = void 0;\n\n// Implementors Note:\n//\n//   The variables in this file are consistently named according to the following\n//   scheme:\n//\n//   * +id+ means an identifier managed by an external source, provided inside\n//     the data provided by that source. These are always coerced to be strings\n//     before being used internally.\n//   * +clientId+ means a transient numerical identifier generated at runtime by\n//     the data store. It is important primarily because newly created objects may\n//     not yet have an externally generated id.\n//   * +internalModel+ means a record internalModel object, which holds metadata about a\n//     record, even if it has not yet been fully materialized.\n//   * +type+ means a DS.Model.\n\n/**\n  The store contains all of the data for records loaded from the server.\n  It is also responsible for creating instances of `DS.Model` that wrap\n  the individual data for a record, so that they can be bound to in your\n  Handlebars templates.\n\n  Define your application's store like this:\n\n  ```app/services/store.js\n  import DS from 'ember-data';\n\n  export default DS.Store.extend({\n  });\n  ```\n\n  Most Ember.js applications will only have a single `DS.Store` that is\n  automatically created by their `Ember.Application`.\n\n  You can retrieve models from the store in several ways. To retrieve a record\n  for a specific id, use `DS.Store`'s `findRecord()` method:\n\n  ```javascript\n  store.findRecord('person', 123).then(function (person) {\n  });\n  ```\n\n  By default, the store will talk to your backend using a standard\n  REST mechanism. You can customize how the store talks to your\n  backend by specifying a custom adapter:\n\n  ```app/adapters/application.js\n  import DS from 'ember-data';\n\n  export default DS.Adapter.extend({\n  });\n  ```\n\n  You can learn more about writing a custom adapter by reading the `DS.Adapter`\n  documentation.\n\n  ### Store createRecord() vs. push() vs. pushPayload()\n\n  The store provides multiple ways to create new record objects. They have\n  some subtle differences in their use which are detailed below:\n\n  [createRecord](#method_createRecord) is used for creating new\n  records on the client side. This will return a new record in the\n  `created.uncommitted` state. In order to persist this record to the\n  backend you will need to call `record.save()`.\n\n  [push](#method_push) is used to notify Ember Data's store of new or\n  updated records that exist in the backend. This will return a record\n  in the `loaded.saved` state. The primary use-case for `store#push` is\n  to notify Ember Data about record updates (full or partial) that happen\n  outside of the normal adapter methods (for example\n  [SSE](http://dev.w3.org/html5/eventsource/) or [Web\n  Sockets](http://www.w3.org/TR/2009/WD-websockets-20091222/)).\n\n  [pushPayload](#method_pushPayload) is a convenience wrapper for\n  `store#push` that will deserialize payloads if the\n  Serializer implements a `pushPayload` method.\n\n  Note: When creating a new record using any of the above methods\n  Ember Data will update `DS.RecordArray`s such as those returned by\n  `store#peekAll()` or `store#findAll()`. This means any\n  data bindings or computed properties that depend on the RecordArray\n  will automatically be synced to include the new or updated record\n  values.\n\n  @class Store\n  @namespace DS\n  @extends Ember.Service\n*/\nStore = Service.extend({\n\n  /**\n    @method init\n    @private\n  */\n  init: function init() {\n    this._super.apply(this, arguments);\n    this._backburner = new Backburner(['normalizeRelationships', 'syncRelationships', 'finished']);\n    // internal bookkeeping; not observable\n    this.recordArrayManager = new RecordArrayManager({ store: this });\n    this._identityMap = new IdentityMap();\n    this._pendingSave = [];\n    this._instanceCache = new ContainerInstanceCache(getOwner(this), this);\n    this._modelFactoryCache = Object.create(null);\n    this._relationshipsPayloads = new RelationshipPayloadsManager(this);\n\n    /*\n      Ember Data uses several specialized micro-queues for organizing\n      and coalescing similar async work.\n       These queues are currently controlled by a flush scheduled into\n      ember-data's custom backburner instance.\n     */\n    // used for coalescing record save requests\n    this._pendingSave = [];\n    // used for coalescing relationship updates\n    this._updatedRelationships = [];\n    // used for coalescing relationship setup needs\n    this._pushedInternalModels = [];\n    // used for coalescing internal model updates\n    this._updatedInternalModels = [];\n\n    // used to keep track of all the find requests that need to be coalesced\n    this._pendingFetch = MapWithDefault$2.create({\n      defaultValue: function defaultValue() {\n        return [];\n      }\n    });\n\n    this._instanceCache = new ContainerInstanceCache(getOwner(this), this);\n  },\n\n\n  /**\n    The default adapter to use to communicate to a backend server or\n    other persistence layer. This will be overridden by an application\n    adapter if present.\n     If you want to specify `app/adapters/custom.js` as a string, do:\n     ```js\n    import DS from 'ember-data';\n     export default DS.Store.extend({\n      adapter: 'custom',\n    });\n    ```\n     @property adapter\n    @default '-json-api'\n    @type {String}\n  */\n  adapter: '-json-api',\n\n  /**\n    Returns a JSON representation of the record using a custom\n    type-specific serializer, if one exists.\n     The available options are:\n     * `includeId`: `true` if the record's ID should be included in\n      the JSON representation\n     @method serialize\n    @private\n    @deprecated\n    @param {DS.Model} record the record to serialize\n    @param {Object} options an options hash\n  */\n  serialize: function serialize(record, options) {\n    if (isEnabled('ds-deprecate-store-serialize')) {\n      emberData_Debug.deprecate('Use of store.serialize is deprecated, use record.serialize instead.', false, {\n        id: 'ds.store.serialize',\n        until: '3.0'\n      });\n    }\n    var snapshot = record._internalModel.createSnapshot();\n    return snapshot.serialize(options);\n  },\n\n\n  /**\n    This property returns the adapter, after resolving a possible\n    string key.\n     If the supplied `adapter` was a class, or a String property\n    path resolved to a class, this property will instantiate the\n    class.\n     This property is cacheable, so the same instance of a specified\n    adapter class should be used for the lifetime of the store.\n     @property defaultAdapter\n    @private\n    @return DS.Adapter\n  */\n  defaultAdapter: computed$1('adapter', function () {\n    var adapter = get$3(this, 'adapter');\n\n    emberData_Debug.assert('You tried to set `adapter` property to an instance of `DS.Adapter`, where it should be a name', typeof adapter === 'string');\n\n    return this.adapterFor(adapter);\n  }),\n\n  // .....................\n  // . CREATE NEW RECORD .\n  // .....................\n\n  /**\n    Create a new record in the current store. The properties passed\n    to this method are set on the newly created record.\n     To create a new instance of a `Post`:\n     ```js\n    store.createRecord('post', {\n      title: 'Rails is omakase'\n    });\n    ```\n     To create a new instance of a `Post` that has a relationship with a `User` record:\n     ```js\n    let user = this.store.peekRecord('user', 1);\n    store.createRecord('post', {\n      title: 'Rails is omakase',\n      user: user\n    });\n    ```\n     @method createRecord\n    @param {String} modelName\n    @param {Object} inputProperties a hash of properties to set on the\n      newly created record.\n    @return {DS.Model} record\n  */\n  createRecord: function createRecord(modelName, inputProperties) {\n    emberData_Debug.assert('You need to pass a model name to the store\\'s createRecord method', isPresent(modelName));\n    emberData_Debug.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName, typeof modelName === 'string');\n    var normalizedModelName = normalizeModelName(modelName);\n    var properties = copy(inputProperties) || Object.create(null);\n\n    // If the passed properties do not include a primary key,\n    // give the adapter an opportunity to generate one. Typically,\n    // client-side ID generators will use something like uuid.js\n    // to avoid conflicts.\n\n    if (isNone(properties.id)) {\n      properties.id = this._generateId(normalizedModelName, properties);\n    }\n\n    // Coerce ID to a string\n    properties.id = coerceId(properties.id);\n\n    var internalModel = this._buildInternalModel(normalizedModelName, properties.id);\n    internalModel.loadedData();\n    var record = internalModel.getRecord(properties);\n\n    // TODO @runspired this should also be coalesced into some form of internalModel.setState()\n    internalModel.eachRelationship(function (key, descriptor) {\n      if (properties[key] !== undefined) {\n        internalModel._relationships.get(key).setHasData(true);\n      }\n    });\n\n    return record;\n  },\n\n\n  /**\n    If possible, this method asks the adapter to generate an ID for\n    a newly created record.\n     @method _generateId\n    @private\n    @param {String} modelName\n    @param {Object} properties from the new record\n    @return {String} if the adapter can generate one, an ID\n  */\n  _generateId: function _generateId(modelName, properties) {\n    var adapter = this.adapterFor(modelName);\n\n    if (adapter && adapter.generateIdForRecord) {\n      return adapter.generateIdForRecord(this, modelName, properties);\n    }\n\n    return null;\n  },\n\n\n  // .................\n  // . DELETE RECORD .\n  // .................\n\n  /**\n    For symmetry, a record can be deleted via the store.\n     Example\n     ```javascript\n    let post = store.createRecord('post', {\n      title: 'Rails is omakase'\n    });\n     store.deleteRecord(post);\n    ```\n     @method deleteRecord\n    @param {DS.Model} record\n  */\n  deleteRecord: function deleteRecord(record) {\n    record.deleteRecord();\n  },\n\n\n  /**\n    For symmetry, a record can be unloaded via the store.\n    This will cause the record to be destroyed and freed up for garbage collection.\n     Example\n     ```javascript\n    store.findRecord('post', 1).then(function(post) {\n      store.unloadRecord(post);\n    });\n    ```\n     @method unloadRecord\n    @param {DS.Model} record\n  */\n  unloadRecord: function unloadRecord(record) {\n    record.unloadRecord();\n  },\n\n\n  // ................\n  // . FIND RECORDS .\n  // ................\n\n  /**\n    @method find\n    @param {String} modelName\n    @param {String|Integer} id\n    @param {Object} options\n    @return {Promise} promise\n    @private\n  */\n  find: function find(modelName, id, options) {\n    // The default `model` hook in Ember.Route calls `find(modelName, id)`,\n    // that's why we have to keep this method around even though `findRecord` is\n    // the public way to get a record by modelName and id.\n    emberData_Debug.assert('Using store.find(type) has been removed. Use store.findAll(modelName) to retrieve all records for a given type.', arguments.length !== 1);\n    emberData_Debug.assert('Calling store.find(modelName, id, { preload: preload }) is no longer supported. Use store.findRecord(modelName, id, { preload: preload }) instead.', !options);\n    emberData_Debug.assert('You need to pass the model name and id to the store\\'s find method', arguments.length === 2);\n    emberData_Debug.assert('You cannot pass \\'' + id + '\\' as id to the store\\'s find method', typeof id === 'string' || typeof id === 'number');\n    emberData_Debug.assert('Calling store.find() with a query object is no longer supported. Use store.query() instead.', (typeof id === 'undefined' ? 'undefined' : _typeof$1(id)) !== 'object');\n    emberData_Debug.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName, typeof modelName === 'string');\n\n    var normalizedModelName = normalizeModelName(modelName);\n\n    return this.findRecord(normalizedModelName, id);\n  },\n\n\n  /**\n    This method returns a record for a given type and id combination.\n     The `findRecord` method will always resolve its promise with the same\n    object for a given type and `id`.\n     The `findRecord` method will always return a **promise** that will be\n    resolved with the record.\n     Example\n     ```app/routes/post.js\n    import Ember from 'ember';\n     export default Ember.Route.extend({\n      model(params) {\n        return this.store.findRecord('post', params.post_id);\n      }\n    });\n    ```\n     If the record is not yet available, the store will ask the adapter's `find`\n    method to find the necessary data. If the record is already present in the\n    store, it depends on the reload behavior _when_ the returned promise\n    resolves.\n     ### Preloading\n     You can optionally `preload` specific attributes and relationships that you know of\n    by passing them via the passed `options`.\n     For example, if your Ember route looks like `/posts/1/comments/2` and your API route\n    for the comment also looks like `/posts/1/comments/2` if you want to fetch the comment\n    without fetching the post you can pass in the post to the `findRecord` call:\n     ```javascript\n    store.findRecord('comment', 2, { preload: { post: 1 } });\n    ```\n     If you have access to the post model you can also pass the model itself:\n     ```javascript\n    store.findRecord('post', 1).then(function (myPostModel) {\n      store.findRecord('comment', 2, { post: myPostModel });\n    });\n    ```\n     ### Reloading\n     The reload behavior is configured either via the passed `options` hash or\n    the result of the adapter's `shouldReloadRecord`.\n     If `{ reload: true }` is passed or `adapter.shouldReloadRecord` evaluates\n    to `true`, then the returned promise resolves once the adapter returns\n    data, regardless if the requested record is already in the store:\n     ```js\n    store.push({\n      data: {\n        id: 1,\n        type: 'post',\n        revision: 1\n      }\n    });\n     // adapter#findRecord resolves with\n    // [\n    //   {\n    //     id: 1,\n    //     type: 'post',\n    //     revision: 2\n    //   }\n    // ]\n    store.findRecord('post', 1, { reload: true }).then(function(post) {\n      post.get('revision'); // 2\n    });\n    ```\n     If no reload is indicated via the abovementioned ways, then the promise\n    immediately resolves with the cached version in the store.\n     ### Background Reloading\n     Optionally, if `adapter.shouldBackgroundReloadRecord` evaluates to `true`,\n    then a background reload is started, which updates the records' data, once\n    it is available:\n     ```js\n    // app/adapters/post.js\n    import ApplicationAdapter from \"./application\";\n     export default ApplicationAdapter.extend({\n      shouldReloadRecord(store, snapshot) {\n        return false;\n      },\n       shouldBackgroundReloadRecord(store, snapshot) {\n        return true;\n      }\n    });\n     // ...\n     store.push({\n      data: {\n        id: 1,\n        type: 'post',\n        revision: 1\n      }\n    });\n     let blogPost = store.findRecord('post', 1).then(function(post) {\n      post.get('revision'); // 1\n    });\n     // later, once adapter#findRecord resolved with\n    // [\n    //   {\n    //     id: 1,\n    //     type: 'post',\n    //     revision: 2\n    //   }\n    // ]\n     blogPost.get('revision'); // 2\n    ```\n     If you would like to force or prevent background reloading, you can set a\n    boolean value for `backgroundReload` in the options object for\n    `findRecord`.\n     ```app/routes/post/edit.js\n    import Ember from 'ember';\n     export default Ember.Route.extend({\n      model(params) {\n        return this.store.findRecord('post', params.post_id, { backgroundReload: false });\n      }\n    });\n    ```\n    If you pass an object on the `adapterOptions` property of the options\n   argument it will be passed to you adapter via the snapshot\n     ```app/routes/post/edit.js\n    import Ember from 'ember';\n     export default Ember.Route.extend({\n      model(params) {\n        return this.store.findRecord('post', params.post_id, {\n          adapterOptions: { subscribe: false }\n        });\n      }\n    });\n    ```\n     ```app/adapters/post.js\n    import MyCustomAdapter from './custom-adapter';\n     export default MyCustomAdapter.extend({\n      findRecord(store, type, id, snapshot) {\n        if (snapshot.adapterOptions.subscribe) {\n          // ...\n        }\n        // ...\n      }\n    });\n    ```\n     See [peekRecord](#method_peekRecord) to get the cached version of a record.\n     ### Retrieving Related Model Records\n     If you use an adapter such as Ember's default\n    [`JSONAPIAdapter`](http://emberjs.com/api/data/classes/DS.JSONAPIAdapter.html)\n    that supports the [JSON API specification](http://jsonapi.org/) and if your server\n    endpoint supports the use of an\n    ['include' query parameter](http://jsonapi.org/format/#fetching-includes),\n    you can use `findRecord()` to automatically retrieve additional records related to\n    the one you request by supplying an `include` parameter in the `options` object.\n     For example, given a `post` model that has a `hasMany` relationship with a `comment`\n    model, when we retrieve a specific post we can have the server also return that post's\n    comments in the same request:\n     ```app/routes/post.js\n    import Ember from 'ember';\n     export default Ember.Route.extend({\n      model(params) {\n       return this.store.findRecord('post', params.post_id, { include: 'comments' });\n      }\n    });\n     ```\n    In this case, the post's comments would then be available in your template as\n    `model.comments`.\n     Multiple relationships can be requested using an `include` parameter consisting of a\n    comma-separated list (without white-space) while nested relationships can be specified\n    using a dot-separated sequence of relationship names. So to request both the post's\n    comments and the authors of those comments the request would look like this:\n     ```app/routes/post.js\n    import Ember from 'ember';\n     export default Ember.Route.extend({\n      model(params) {\n       return this.store.findRecord('post', params.post_id, { include: 'comments,comments.author' });\n      }\n    });\n     ```\n     @since 1.13.0\n    @method findRecord\n    @param {String} modelName\n    @param {(String|Integer)} id\n    @param {Object} options\n    @return {Promise} promise\n  */\n  findRecord: function findRecord(modelName, id, options) {\n    emberData_Debug.assert('You need to pass a model name to the store\\'s findRecord method', isPresent(modelName));\n    emberData_Debug.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName, typeof modelName === 'string');\n    emberData_Debug.assert(badIdFormatAssertion, typeof id === 'string' && id.length > 0 || typeof id === 'number' && !isNaN(id));\n\n    var normalizedModelName = normalizeModelName(modelName);\n\n    var internalModel = this._internalModelForId(normalizedModelName, id);\n    options = options || {};\n\n    if (!this.hasRecordForId(normalizedModelName, id)) {\n      return this._findByInternalModel(internalModel, options);\n    }\n\n    var fetchedInternalModel = this._findRecord(internalModel, options);\n\n    return promiseRecord(fetchedInternalModel, 'DS: Store#findRecord ' + normalizedModelName + ' with id: ' + id);\n  },\n  _findRecord: function _findRecord(internalModel, options) {\n    // Refetch if the reload option is passed\n    if (options.reload) {\n      return this._scheduleFetch(internalModel, options);\n    }\n\n    var snapshot = internalModel.createSnapshot(options);\n    var adapter = this.adapterFor(internalModel.modelName);\n\n    // Refetch the record if the adapter thinks the record is stale\n    if (adapter.shouldReloadRecord(this, snapshot)) {\n      return this._scheduleFetch(internalModel, options);\n    }\n\n    if (options.backgroundReload === false) {\n      return Promise$1.resolve(internalModel);\n    }\n\n    // Trigger the background refetch if backgroundReload option is passed\n    if (options.backgroundReload || adapter.shouldBackgroundReloadRecord(this, snapshot)) {\n      this._scheduleFetch(internalModel, options);\n    }\n\n    // Return the cached record\n    return Promise$1.resolve(internalModel);\n  },\n  _findByInternalModel: function _findByInternalModel(internalModel) {\n    var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n    if (options.preload) {\n      internalModel.preloadData(options.preload);\n    }\n\n    var fetchedInternalModel = this._findEmptyInternalModel(internalModel, options);\n\n    return promiseRecord(fetchedInternalModel, 'DS: Store#findRecord ' + internalModel.modelName + ' with id: ' + internalModel.id);\n  },\n  _findEmptyInternalModel: function _findEmptyInternalModel(internalModel, options) {\n    if (internalModel.isEmpty()) {\n      return this._scheduleFetch(internalModel, options);\n    }\n\n    //TODO double check about reloading\n    if (internalModel.isLoading()) {\n      return internalModel._loadingPromise;\n    }\n\n    return Promise$1.resolve(internalModel);\n  },\n\n\n  /**\n    This method makes a series of requests to the adapter's `find` method\n    and returns a promise that resolves once they are all loaded.\n     @private\n    @method findByIds\n    @param {String} modelName\n    @param {Array} ids\n    @return {Promise} promise\n  */\n  findByIds: function findByIds(modelName, ids) {\n    emberData_Debug.assert('You need to pass a model name to the store\\'s findByIds method', isPresent(modelName));\n    emberData_Debug.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName, typeof modelName === 'string');\n\n    var promises = new Array(ids.length);\n\n    var normalizedModelName = normalizeModelName(modelName);\n\n    for (var i = 0; i < ids.length; i++) {\n      promises[i] = this.findRecord(normalizedModelName, ids[i]);\n    }\n\n    return promiseArray(RSVP.all(promises).then(A, null, 'DS: Store#findByIds of ' + normalizedModelName + ' complete'));\n  },\n\n\n  /**\n    This method is called by `findRecord` if it discovers that a particular\n    type/id pair hasn't been loaded yet to kick off a request to the\n    adapter.\n     @method _fetchRecord\n    @private\n    @param {InternalModel} internalModel model\n    @return {Promise} promise\n   */\n  _fetchRecord: function _fetchRecord(internalModel, options) {\n    var modelName = internalModel.modelName;\n    var adapter = this.adapterFor(modelName);\n\n    emberData_Debug.assert('You tried to find a record but you have no adapter (for ' + modelName + ')', adapter);\n    emberData_Debug.assert('You tried to find a record but your adapter (for ' + modelName + ') does not implement \\'findRecord\\'', typeof adapter.findRecord === 'function');\n\n    return _find(adapter, this, internalModel.type, internalModel.id, internalModel, options);\n  },\n  _scheduleFetchMany: function _scheduleFetchMany(internalModels) {\n    var fetches = new Array(internalModels.length);\n\n    for (var i = 0; i < internalModels.length; i++) {\n      fetches[i] = this._scheduleFetch(internalModels[i]);\n    }\n\n    return Promise$1.all(fetches);\n  },\n  _scheduleFetch: function _scheduleFetch(internalModel, options) {\n    if (internalModel._loadingPromise) {\n      return internalModel._loadingPromise;\n    }\n\n    var id = internalModel.id,\n        modelName = internalModel.modelName;\n\n    var resolver = RSVP.defer('Fetching ' + modelName + '\\' with id: ' + id);\n    var pendingFetchItem = {\n      internalModel: internalModel,\n      resolver: resolver,\n      options: options\n    };\n\n    var promise = resolver.promise;\n\n    internalModel.loadingData(promise);\n    if (this._pendingFetch.size === 0) {\n      emberRun.schedule('afterRender', this, this.flushAllPendingFetches);\n    }\n\n    this._pendingFetch.get(modelName).push(pendingFetchItem);\n\n    return promise;\n  },\n  flushAllPendingFetches: function flushAllPendingFetches() {\n    if (this.isDestroyed || this.isDestroying) {\n      return;\n    }\n\n    this._pendingFetch.forEach(this._flushPendingFetchForType, this);\n    this._pendingFetch.clear();\n  },\n  _flushPendingFetchForType: function _flushPendingFetchForType(pendingFetchItems, modelName) {\n    var store = this;\n    var adapter = store.adapterFor(modelName);\n    var shouldCoalesce = !!adapter.findMany && adapter.coalesceFindRequests;\n    var totalItems = pendingFetchItems.length;\n    var internalModels = new Array(totalItems);\n    var seeking = Object.create(null);\n\n    for (var _i = 0; _i < totalItems; _i++) {\n      var pendingItem = pendingFetchItems[_i];\n      var _internalModel = pendingItem.internalModel;\n      internalModels[_i] = _internalModel;\n      seeking[_internalModel.id] = pendingItem;\n    }\n\n    function _fetchRecord(recordResolverPair) {\n      var recordFetch = store._fetchRecord(recordResolverPair.internalModel, recordResolverPair.options); // TODO adapter options\n\n      recordResolverPair.resolver.resolve(recordFetch);\n    }\n\n    function handleFoundRecords(foundInternalModels, expectedInternalModels) {\n      // resolve found records\n      var found = Object.create(null);\n      for (var _i2 = 0, _l = foundInternalModels.length; _i2 < _l; _i2++) {\n        var _internalModel2 = foundInternalModels[_i2];\n        var _pair = seeking[_internalModel2.id];\n        found[_internalModel2.id] = _internalModel2;\n\n        if (_pair) {\n          var resolver = _pair.resolver;\n          resolver.resolve(_internalModel2);\n        }\n      }\n\n      // reject missing records\n      var missingInternalModels = [];\n\n      for (var _i3 = 0, _l2 = expectedInternalModels.length; _i3 < _l2; _i3++) {\n        var _internalModel3 = expectedInternalModels[_i3];\n\n        if (!found[_internalModel3.id]) {\n          missingInternalModels.push(_internalModel3);\n        }\n      }\n\n      if (missingInternalModels.length) {\n        emberData_Debug.warn('Ember Data expected to find records with the following ids in the adapter response but they were missing: ' + inspect(missingInternalModels.map(function (r) {\n          return r.id;\n        })), false, {\n          id: 'ds.store.missing-records-from-adapter'\n        });\n        rejectInternalModels(missingInternalModels);\n      }\n    }\n\n    function rejectInternalModels(internalModels, error) {\n      for (var _i4 = 0, _l3 = internalModels.length; _i4 < _l3; _i4++) {\n        var _internalModel4 = internalModels[_i4];\n        var _pair2 = seeking[_internalModel4.id];\n\n        if (_pair2) {\n          _pair2.resolver.reject(error || new Error('Expected: \\'' + _internalModel4 + '\\' to be present in the adapter provided payload, but it was not found.'));\n        }\n      }\n    }\n\n    if (shouldCoalesce) {\n      // TODO: Improve records => snapshots => records => snapshots\n      //\n      // We want to provide records to all store methods and snapshots to all\n      // adapter methods. To make sure we're doing that we're providing an array\n      // of snapshots to adapter.groupRecordsForFindMany(), which in turn will\n      // return grouped snapshots instead of grouped records.\n      //\n      // But since the _findMany() finder is a store method we need to get the\n      // records from the grouped snapshots even though the _findMany() finder\n      // will once again convert the records to snapshots for adapter.findMany()\n      var snapshots = new Array(totalItems);\n      for (var _i5 = 0; _i5 < totalItems; _i5++) {\n        snapshots[_i5] = internalModels[_i5].createSnapshot();\n      }\n\n      var groups = adapter.groupRecordsForFindMany(this, snapshots);\n\n      for (var i = 0, l = groups.length; i < l; i++) {\n        var group = groups[i];\n        var totalInGroup = groups[i].length;\n        var ids = new Array(totalInGroup);\n        var groupedInternalModels = new Array(totalInGroup);\n\n        for (var j = 0; j < totalInGroup; j++) {\n          var internalModel = group[j]._internalModel;\n\n          groupedInternalModels[j] = internalModel;\n          ids[j] = internalModel.id;\n        }\n\n        if (totalInGroup > 1) {\n          (function (groupedInternalModels) {\n            _findMany(adapter, store, modelName, ids, groupedInternalModels).then(function (foundInternalModels) {\n              handleFoundRecords(foundInternalModels, groupedInternalModels);\n            }).catch(function (error) {\n              rejectInternalModels(groupedInternalModels, error);\n            });\n          })(groupedInternalModels);\n        } else if (ids.length === 1) {\n          var pair = seeking[groupedInternalModels[0].id];\n          _fetchRecord(pair);\n        } else {\n          emberData_Debug.assert(\"You cannot return an empty array from adapter's method groupRecordsForFindMany\", false);\n        }\n      }\n    } else {\n      for (var _i6 = 0; _i6 < totalItems; _i6++) {\n        _fetchRecord(pendingFetchItems[_i6]);\n      }\n    }\n  },\n\n\n  /**\n    Get the reference for the specified record.\n     Example\n     ```javascript\n    let userRef = store.getReference('user', 1);\n     // check if the user is loaded\n    let isLoaded = userRef.value() !== null;\n     // get the record of the reference (null if not yet available)\n    let user = userRef.value();\n     // get the identifier of the reference\n    if (userRef.remoteType() === 'id') {\n    let id = userRef.id();\n    }\n     // load user (via store.find)\n    userRef.load().then(...)\n     // or trigger a reload\n    userRef.reload().then(...)\n     // provide data for reference\n    userRef.push({ id: 1, username: '@user' }).then(function(user) {\n      userRef.value() === user;\n    });\n    ```\n     @method getReference\n    @param {String} modelName\n    @param {String|Integer} id\n    @since 2.5.0\n    @return {RecordReference}\n  */\n  getReference: function getReference(modelName, id) {\n    var normalizedModelName = normalizeModelName(modelName);\n\n    return this._internalModelForId(normalizedModelName, id).recordReference;\n  },\n\n\n  /**\n    Get a record by a given type and ID without triggering a fetch.\n     This method will synchronously return the record if it is available in the store,\n    otherwise it will return `null`. A record is available if it has been fetched earlier, or\n    pushed manually into the store.\n     See [findRecord](#method_findRecord) if you would like to request this record from the backend.\n     _Note: This is a synchronous method and does not return a promise._\n     ```js\n    let post = store.peekRecord('post', 1);\n     post.get('id'); // 1\n    ```\n     @since 1.13.0\n    @method peekRecord\n    @param {String} modelName\n    @param {String|Integer} id\n    @return {DS.Model|null} record\n  */\n  peekRecord: function peekRecord(modelName, id) {\n    emberData_Debug.assert('You need to pass a model name to the store\\'s peekRecord method', isPresent(modelName));\n    emberData_Debug.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName, typeof modelName === 'string');\n    var normalizedModelName = normalizeModelName(modelName);\n\n    if (this.hasRecordForId(normalizedModelName, id)) {\n      return this._internalModelForId(normalizedModelName, id).getRecord();\n    } else {\n      return null;\n    }\n  },\n\n\n  /**\n    This method is called by the record's `reload` method.\n     This method calls the adapter's `find` method, which returns a promise. When\n    **that** promise resolves, `reloadRecord` will resolve the promise returned\n    by the record's `reload`.\n     @method reloadRecord\n    @private\n    @param {DS.Model} internalModel\n    @return {Promise} promise\n  */\n  _reloadRecord: function _reloadRecord(internalModel) {\n    var id = internalModel.id,\n        modelName = internalModel.modelName;\n\n    var adapter = this.adapterFor(modelName);\n\n    emberData_Debug.assert('You cannot reload a record without an ID', id);\n    emberData_Debug.assert('You tried to reload a record but you have no adapter (for ' + modelName + ')', adapter);\n    emberData_Debug.assert('You tried to reload a record but your adapter does not implement \\'findRecord\\'', typeof adapter.findRecord === 'function' || typeof adapter.find === 'function');\n\n    return this._scheduleFetch(internalModel);\n  },\n\n\n  /**\n   This method returns true if a record for a given modelName and id is already\n   loaded in the store. Use this function to know beforehand if a findRecord()\n   will result in a request or that it will be a cache hit.\n    Example\n    ```javascript\n   store.hasRecordForId('post', 1); // false\n   store.findRecord('post', 1).then(function() {\n     store.hasRecordForId('post', 1); // true\n   });\n   ```\n     @method hasRecordForId\n    @param {String} modelName\n    @param {(String|Integer)} id\n    @return {Boolean}\n  */\n  hasRecordForId: function hasRecordForId(modelName, id) {\n    emberData_Debug.assert('You need to pass a model name to the store\\'s hasRecordForId method', isPresent(modelName));\n    emberData_Debug.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName, typeof modelName === 'string');\n\n    var normalizedModelName = normalizeModelName(modelName);\n\n    var trueId = coerceId(id);\n    var internalModel = this._internalModelsFor(normalizedModelName).get(trueId);\n\n    return !!internalModel && internalModel.isLoaded();\n  },\n\n\n  /**\n    Returns id record for a given type and ID. If one isn't already loaded,\n    it builds a new record and leaves it in the `empty` state.\n     @method recordForId\n    @private\n    @param {String} modelName\n    @param {(String|Integer)} id\n    @return {DS.Model} record\n  */\n  recordForId: function recordForId(modelName, id) {\n    emberData_Debug.assert('You need to pass a model name to the store\\'s recordForId method', isPresent(modelName));\n    emberData_Debug.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName, typeof modelName === 'string');\n\n    return this._internalModelForId(modelName, id).getRecord();\n  },\n  _internalModelForId: function _internalModelForId(modelName, id) {\n    var trueId = coerceId(id);\n    var internalModel = this._internalModelsFor(modelName).get(trueId);\n\n    if (internalModel) {\n      if (internalModel.hasScheduledDestroy()) {\n        internalModel.destroySync();\n        return this._buildInternalModel(modelName, trueId);\n      } else {\n        return internalModel;\n      }\n    } else {\n      return this._buildInternalModel(modelName, trueId);\n    }\n  },\n  _internalModelDidReceiveRelationshipData: function _internalModelDidReceiveRelationshipData(modelName, id, relationshipData) {\n    this._relationshipsPayloads.push(modelName, id, relationshipData);\n  },\n  _internalModelDestroyed: function _internalModelDestroyed(internalModel) {\n    this._removeFromIdMap(internalModel);\n    this._relationshipsPayloads.unload(internalModel.modelName, internalModel.id);\n  },\n\n\n  /**\n    @method findMany\n    @private\n    @param {Array} internalModels\n    @return {Promise} promise\n  */\n  findMany: function findMany(internalModels) {\n    var finds = new Array(internalModels.length);\n\n    for (var i = 0; i < internalModels.length; i++) {\n      finds[i] = this._findEmptyInternalModel(internalModels[i]);\n    }\n\n    return Promise$1.all(finds);\n  },\n\n\n  /**\n    If a relationship was originally populated by the adapter as a link\n    (as opposed to a list of IDs), this method is called when the\n    relationship is fetched.\n     The link (which is usually a URL) is passed through unchanged, so the\n    adapter can make whatever request it wants.\n     The usual use-case is for the server to register a URL as a link, and\n    then use that URL in the future to make a request for the relationship.\n     @method findHasMany\n    @private\n    @param {InternalModel} internalModel\n    @param {any} link\n    @param {(Relationship)} relationship\n    @return {Promise} promise\n  */\n  findHasMany: function findHasMany(internalModel, link, relationship) {\n    var adapter = this.adapterFor(internalModel.modelName);\n\n    emberData_Debug.assert('You tried to load a hasMany relationship but you have no adapter (for ' + internalModel.modelName + ')', adapter);\n    emberData_Debug.assert('You tried to load a hasMany relationship from a specified \\'link\\' in the original payload but your adapter does not implement \\'findHasMany\\'', typeof adapter.findHasMany === 'function');\n\n    return _findHasMany(adapter, this, internalModel, link, relationship);\n  },\n\n\n  /**\n    @method findBelongsTo\n    @private\n    @param {InternalModel} internalModel\n    @param {any} link\n    @param {Relationship} relationship\n    @return {Promise} promise\n  */\n  findBelongsTo: function findBelongsTo(internalModel, link, relationship) {\n    var adapter = this.adapterFor(internalModel.modelName);\n\n    emberData_Debug.assert('You tried to load a belongsTo relationship but you have no adapter (for ' + internalModel.modelName + ')', adapter);\n    emberData_Debug.assert('You tried to load a belongsTo relationship from a specified \\'link\\' in the original payload but your adapter does not implement \\'findBelongsTo\\'', typeof adapter.findBelongsTo === 'function');\n\n    return _findBelongsTo(adapter, this, internalModel, link, relationship);\n  },\n\n\n  /**\n    This method delegates a query to the adapter. This is the one place where\n    adapter-level semantics are exposed to the application.\n     Each time this method is called a new request is made through the adapter.\n     Exposing queries this way seems preferable to creating an abstract query\n    language for all server-side queries, and then require all adapters to\n    implement them.\n     ---\n     If you do something like this:\n     ```javascript\n    store.query('person', { page: 1 });\n    ```\n     The call made to the server, using a Rails backend, will look something like this:\n     ```\n    Started GET \"/api/v1/person?page=1\"\n    Processing by Api::V1::PersonsController#index as HTML\n    Parameters: { \"page\"=>\"1\" }\n    ```\n     ---\n     If you do something like this:\n     ```javascript\n    store.query('person', { ids: [1, 2, 3] });\n    ```\n     The call to the server, using a Rails backend, will look something like this:\n     ```\n    Started GET \"/api/v1/person?ids%5B%5D=1&ids%5B%5D=2&ids%5B%5D=3\"\n    Processing by Api::V1::PersonsController#index as HTML\n    Parameters: { \"ids\" => [\"1\", \"2\", \"3\"] }\n    ```\n     This method returns a promise, which is resolved with an\n    [`AdapterPopulatedRecordArray`](http://emberjs.com/api/data/classes/DS.AdapterPopulatedRecordArray.html)\n    once the server returns.\n     @since 1.13.0\n    @method query\n    @param {String} modelName\n    @param {any} query an opaque query to be used by the adapter\n    @return {Promise} promise\n  */\n  query: function query(modelName, _query2) {\n    emberData_Debug.assert('You need to pass a model name to the store\\'s query method', isPresent(modelName));\n    emberData_Debug.assert('You need to pass a query hash to the store\\'s query method', _query2);\n    emberData_Debug.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName, typeof modelName === 'string');\n\n    var normalizedModelName = normalizeModelName(modelName);\n    return this._query(normalizedModelName, _query2);\n  },\n  _query: function _query$$1(modelName, query, array) {\n    emberData_Debug.assert('You need to pass a model name to the store\\'s query method', isPresent(modelName));\n    emberData_Debug.assert('You need to pass a query hash to the store\\'s query method', query);\n    emberData_Debug.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName, typeof modelName === 'string');\n\n    array = array || this.recordArrayManager.createAdapterPopulatedRecordArray(modelName, query);\n\n    var adapter = this.adapterFor(modelName);\n\n\n    emberData_Debug.assert('You tried to load a query but you have no adapter (for ' + modelName + ')', adapter);\n    emberData_Debug.assert('You tried to load a query but your adapter does not implement \\'query\\'', typeof adapter.query === 'function');\n\n    var pA = promiseArray(_query(adapter, this, modelName, query, array));\n\n    return pA;\n  },\n\n\n  /**\n    This method makes a request for one record, where the `id` is not known\n    beforehand (if the `id` is known, use [`findRecord`](#method_findRecord)\n    instead).\n     This method can be used when it is certain that the server will return a\n    single object for the primary data.\n     Each time this method is called a new request is made through the adapter.\n     Let's assume our API provides an endpoint for the currently logged in user\n    via:\n     ```\n    // GET /api/current_user\n    {\n      user: {\n        id: 1234,\n        username: 'admin'\n      }\n    }\n    ```\n     Since the specific `id` of the `user` is not known beforehand, we can use\n    `queryRecord` to get the user:\n     ```javascript\n    store.queryRecord('user', {}).then(function(user) {\n      let username = user.get('username');\n      console.log(`Currently logged in as ${username}`);\n    });\n    ```\n     The request is made through the adapters' `queryRecord`:\n     ```app/adapters/user.js\n    import DS from 'ember-data';\n     export default DS.Adapter.extend({\n      queryRecord(modelName, query) {\n        return Ember.$.getJSON('/api/current_user');\n      }\n    });\n    ```\n     Note: the primary use case for `store.queryRecord` is when a single record\n    is queried and the `id` is not known beforehand. In all other cases\n    `store.query` and using the first item of the array is likely the preferred\n    way:\n     ```\n    // GET /users?username=unique\n    {\n      data: [{\n        id: 1234,\n        type: 'user',\n        attributes: {\n          username: \"unique\"\n        }\n      }]\n    }\n    ```\n     ```javascript\n    store.query('user', { username: 'unique' }).then(function(users) {\n      return users.get('firstObject');\n    }).then(function(user) {\n      let id = user.get('id');\n    });\n    ```\n     This method returns a promise, which resolves with the found record.\n     If the adapter returns no data for the primary data of the payload, then\n    `queryRecord` resolves with `null`:\n     ```\n    // GET /users?username=unique\n    {\n      data: null\n    }\n    ```\n     ```javascript\n    store.queryRecord('user', { username: 'unique' }).then(function(user) {\n      console.log(user); // null\n    });\n    ```\n     @since 1.13.0\n    @method queryRecord\n    @param {String} modelName\n    @param {any} query an opaque query to be used by the adapter\n    @return {Promise} promise which resolves with the found record or `null`\n  */\n  queryRecord: function queryRecord(modelName, query) {\n    emberData_Debug.assert('You need to pass a model name to the store\\'s queryRecord method', isPresent(modelName));\n    emberData_Debug.assert('You need to pass a query hash to the store\\'s queryRecord method', query);\n    emberData_Debug.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName, typeof modelName === 'string');\n\n    var normalizedModelName = normalizeModelName(modelName);\n\n    var adapter = this.adapterFor(normalizedModelName);\n\n    emberData_Debug.assert('You tried to make a query but you have no adapter (for ' + normalizedModelName + ')', adapter);\n    emberData_Debug.assert('You tried to make a query but your adapter does not implement \\'queryRecord\\'', typeof adapter.queryRecord === 'function');\n\n    return promiseObject(_queryRecord(adapter, this, modelName, query).then(function (internalModel) {\n      // the promise returned by store.queryRecord is expected to resolve with\n      // an instance of DS.Model\n      if (internalModel) {\n        return internalModel.getRecord();\n      }\n\n      return null;\n    }));\n  },\n\n\n  /**\n    `findAll` asks the adapter's `findAll` method to find the records for the\n    given type, and returns a promise which will resolve with all records of\n    this type present in the store, even if the adapter only returns a subset\n    of them.\n     ```app/routes/authors.js\n    import Ember from 'ember';\n     export default Ember.Route.extend({\n      model(params) {\n        return this.store.findAll('author');\n      }\n    });\n    ```\n     _When_ the returned promise resolves depends on the reload behavior,\n    configured via the passed `options` hash and the result of the adapter's\n    `shouldReloadAll` method.\n     ### Reloading\n     If `{ reload: true }` is passed or `adapter.shouldReloadAll` evaluates to\n    `true`, then the returned promise resolves once the adapter returns data,\n    regardless if there are already records in the store:\n     ```js\n    store.push({\n      data: {\n        id: 'first',\n        type: 'author'\n      }\n    });\n     // adapter#findAll resolves with\n    // [\n    //   {\n    //     id: 'second',\n    //     type: 'author'\n    //   }\n    // ]\n    store.findAll('author', { reload: true }).then(function(authors) {\n      authors.getEach('id'); // ['first', 'second']\n    });\n    ```\n     If no reload is indicated via the abovementioned ways, then the promise\n    immediately resolves with all the records currently loaded in the store.\n     ### Background Reloading\n     Optionally, if `adapter.shouldBackgroundReloadAll` evaluates to `true`,\n    then a background reload is started. Once this resolves, the array with\n    which the promise resolves, is updated automatically so it contains all the\n    records in the store:\n     ```js\n    // app/adapters/application.js\n    export default DS.Adapter.extend({\n      shouldReloadAll(store, snapshotsArray) {\n        return false;\n      },\n       shouldBackgroundReloadAll(store, snapshotsArray) {\n        return true;\n      }\n    });\n     // ...\n     store.push({\n      data: {\n        id: 'first',\n        type: 'author'\n      }\n    });\n     let allAuthors;\n    store.findAll('author').then(function(authors) {\n      authors.getEach('id'); // ['first']\n       allAuthors = authors;\n    });\n     // later, once adapter#findAll resolved with\n    // [\n    //   {\n    //     id: 'second',\n    //     type: 'author'\n    //   }\n    // ]\n     allAuthors.getEach('id'); // ['first', 'second']\n    ```\n     If you would like to force or prevent background reloading, you can set a\n    boolean value for `backgroundReload` in the options object for\n    `findAll`.\n     ```app/routes/post/edit.js\n    import Ember from 'ember';\n     export default Ember.Route.extend({\n      model() {\n        return this.store.findAll('post', { backgroundReload: false });\n      }\n    });\n    ```\n     If you pass an object on the `adapterOptions` property of the options\n    argument it will be passed to you adapter via the `snapshotRecordArray`\n     ```app/routes/posts.js\n    import Ember from 'ember';\n     export default Ember.Route.extend({\n      model(params) {\n        return this.store.findAll('post', {\n          adapterOptions: { subscribe: false }\n        });\n      }\n    });\n    ```\n     ```app/adapters/post.js\n    import MyCustomAdapter from './custom-adapter';\n     export default MyCustomAdapter.extend({\n      findAll(store, type, sinceToken, snapshotRecordArray) {\n        if (snapshotRecordArray.adapterOptions.subscribe) {\n          // ...\n        }\n        // ...\n      }\n    });\n    ```\n     See [peekAll](#method_peekAll) to get an array of current records in the\n    store, without waiting until a reload is finished.\n     ### Retrieving Related Model Records\n     If you use an adapter such as Ember's default\n    [`JSONAPIAdapter`](http://emberjs.com/api/data/classes/DS.JSONAPIAdapter.html)\n    that supports the [JSON API specification](http://jsonapi.org/) and if your server\n    endpoint supports the use of an\n    ['include' query parameter](http://jsonapi.org/format/#fetching-includes),\n    you can use `findAll()` to automatically retrieve additional records related to\n    those requested by supplying an `include` parameter in the `options` object.\n     For example, given a `post` model that has a `hasMany` relationship with a `comment`\n    model, when we retrieve all of the post records we can have the server also return\n    all of the posts' comments in the same request:\n     ```app/routes/posts.js\n    import Ember from 'ember';\n     export default Ember.Route.extend({\n      model() {\n       return this.store.findAll('post', { include: 'comments' });\n      }\n    });\n     ```\n    Multiple relationships can be requested using an `include` parameter consisting of a\n    comma-separated list (without white-space) while nested relationships can be specified\n    using a dot-separated sequence of relationship names. So to request both the posts'\n    comments and the authors of those comments the request would look like this:\n     ```app/routes/posts.js\n    import Ember from 'ember';\n     export default Ember.Route.extend({\n      model() {\n       return this.store.findAll('post', { include: 'comments,comments.author' });\n      }\n    });\n     ```\n     See [query](#method_query) to only get a subset of records from the server.\n     @since 1.13.0\n    @method findAll\n    @param {String} modelName\n    @param {Object} options\n    @return {Promise} promise\n  */\n  findAll: function findAll(modelName, options) {\n    emberData_Debug.assert('You need to pass a model name to the store\\'s findAll method', isPresent(modelName));\n    emberData_Debug.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName, typeof modelName === 'string');\n\n    var normalizedModelName = normalizeModelName(modelName);\n    var fetch = this._fetchAll(normalizedModelName, this.peekAll(normalizedModelName), options);\n\n    return fetch;\n  },\n\n\n  /**\n    @method _fetchAll\n    @private\n    @param {DS.Model} modelName\n    @param {DS.RecordArray} array\n    @return {Promise} promise\n  */\n  _fetchAll: function _fetchAll(modelName, array) {\n    var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n    var adapter = this.adapterFor(modelName);\n    var sinceToken = this._internalModelsFor(modelName).metadata.since;\n\n    emberData_Debug.assert('You tried to load all records but you have no adapter (for ' + modelName + ')', adapter);\n    emberData_Debug.assert('You tried to load all records but your adapter does not implement \\'findAll\\'', typeof adapter.findAll === 'function');\n\n    if (options.reload) {\n      set$1(array, 'isUpdating', true);\n      return promiseArray(_findAll(adapter, this, modelName, sinceToken, options));\n    }\n\n    var snapshotArray = array._createSnapshot(options);\n\n    if (adapter.shouldReloadAll(this, snapshotArray)) {\n      set$1(array, 'isUpdating', true);\n      return promiseArray(_findAll(adapter, this, modelName, sinceToken, options));\n    }\n\n    if (options.backgroundReload === false) {\n      return promiseArray(Promise$1.resolve(array));\n    }\n\n    if (options.backgroundReload || adapter.shouldBackgroundReloadAll(this, snapshotArray)) {\n      set$1(array, 'isUpdating', true);\n      _findAll(adapter, this, modelName, sinceToken, options);\n    }\n\n    return promiseArray(Promise$1.resolve(array));\n  },\n\n\n  /**\n    @method _didUpdateAll\n    @param {String} modelName\n    @private\n  */\n  _didUpdateAll: function _didUpdateAll(modelName) {\n    var liveRecordArray = this.recordArrayManager.liveRecordArrayFor(modelName);\n\n    set$1(liveRecordArray, 'isUpdating', false);\n  },\n  didUpdateAll: function didUpdateAll(modelName) {\n    emberData_Debug.deprecate('didUpdateAll was documented as private and will be removed in the next version of Ember Data.');\n    return this._didUpdateAll(modelName);\n  },\n\n\n  /**\n    This method returns a filtered array that contains all of the\n    known records for a given type in the store.\n     Note that because it's just a filter, the result will contain any\n    locally created records of the type, however, it will not make a\n    request to the backend to retrieve additional records. If you\n    would like to request all the records from the backend please use\n    [store.findAll](#method_findAll).\n     Also note that multiple calls to `peekAll` for a given type will always\n    return the same `RecordArray`.\n     Example\n     ```javascript\n    let localPosts = store.peekAll('post');\n    ```\n     @since 1.13.0\n    @method peekAll\n    @param {String} modelName\n    @return {DS.RecordArray}\n  */\n  peekAll: function peekAll(modelName) {\n    emberData_Debug.assert('You need to pass a model name to the store\\'s peekAll method', isPresent(modelName));\n    emberData_Debug.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName, typeof modelName === 'string');\n    var normalizedModelName = normalizeModelName(modelName);\n    var liveRecordArray = this.recordArrayManager.liveRecordArrayFor(normalizedModelName);\n\n    this.recordArrayManager.syncLiveRecordArray(liveRecordArray, normalizedModelName);\n\n    return liveRecordArray;\n  },\n\n\n  /**\n   This method unloads all records in the store.\n   It schedules unloading to happen during the next run loop.\n    Optionally you can pass a type which unload all records for a given type.\n    ```javascript\n   store.unloadAll();\n   store.unloadAll('post');\n   ```\n    @method unloadAll\n   @param {String} modelName\n  */\n  unloadAll: function unloadAll(modelName) {\n    emberData_Debug.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName, !modelName || typeof modelName === 'string');\n\n    if (arguments.length === 0) {\n      this._identityMap.clear();\n    } else {\n      var normalizedModelName = normalizeModelName(modelName);\n      this._internalModelsFor(normalizedModelName).clear();\n    }\n  },\n\n\n  /**\n    Takes a type and filter function, and returns a live RecordArray that\n    remains up to date as new records are loaded into the store or created\n    locally.\n     The filter function takes a materialized record, and returns true\n    if the record should be included in the filter and false if it should\n    not.\n     Example\n     ```javascript\n    store.filter('post', function(post) {\n      return post.get('unread');\n    });\n    ```\n     The filter function is called once on all records for the type when\n    it is created, and then once on each newly loaded or created record.\n     If any of a record's properties change, or if it changes state, the\n    filter function will be invoked again to determine whether it should\n    still be in the array.\n     Optionally you can pass a query, which is the equivalent of calling\n    [query](#method_query) with that same query, to fetch additional records\n    from the server. The results returned by the server could then appear\n    in the filter if they match the filter function.\n     The query itself is not used to filter records, it's only sent to your\n    server for you to be able to do server-side filtering. The filter\n    function will be applied on the returned results regardless.\n     Example\n     ```javascript\n    store.filter('post', { unread: true }, function(post) {\n      return post.get('unread');\n    }).then(function(unreadPosts) {\n      unreadPosts.get('length'); // 5\n      let unreadPost = unreadPosts.objectAt(0);\n      unreadPost.set('unread', false);\n      unreadPosts.get('length'); // 4\n    });\n    ```\n     @method filter\n    @private\n    @param {String} modelName\n    @param {Object} query optional query\n    @param {Function} filter\n    @return {DS.PromiseArray}\n    @deprecated\n  */\n  filter: function filter(modelName, query, _filter) {\n    emberData_Debug.assert('You need to pass a model name to the store\\'s filter method', isPresent(modelName));\n    emberData_Debug.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName, typeof modelName === 'string');\n\n    if (!ENV.ENABLE_DS_FILTER) {\n      emberData_Debug.assert('The filter API has been moved to a plugin. To enable store.filter using an environment flag, or to use an alternative, you can visit the ember-data-filter addon page. https://github.com/ember-data/ember-data-filter', false);\n    }\n\n    var promise = void 0;\n    var length = arguments.length;\n    var array = void 0;\n    var hasQuery = length === 3;\n\n    var normalizedModelName = normalizeModelName(modelName);\n\n    // allow an optional server query\n    if (hasQuery) {\n      promise = this.query(normalizedModelName, query);\n    } else if (arguments.length === 2) {\n      _filter = query;\n    }\n\n    if (hasQuery) {\n      array = this.recordArrayManager.createFilteredRecordArray(normalizedModelName, _filter, query);\n    } else {\n      array = this.recordArrayManager.createFilteredRecordArray(normalizedModelName, _filter);\n    }\n\n    promise = promise || Promise$1.resolve(array);\n\n    return promiseArray(promise.then(function () {\n      return array;\n    }, null, 'DS: Store#filter of ' + normalizedModelName));\n  },\n\n\n  /**\n    This method has been deprecated and is an alias for store.hasRecordForId, which should\n    be used instead.\n     @deprecated\n    @method recordIsLoaded\n    @param {String} modelName\n    @param {string} id\n    @return {boolean}\n  */\n  recordIsLoaded: function recordIsLoaded(modelName, id) {\n    emberData_Debug.deprecate('Use of recordIsLoaded is deprecated, use hasRecordForId instead.', false, {\n      id: 'ds.store.recordIsLoaded',\n      until: '3.0'\n    });\n    return this.hasRecordForId(modelName, id);\n  },\n\n\n  // ..............\n  // . PERSISTING .\n  // ..............\n\n  /**\n    This method is called by `record.save`, and gets passed a\n    resolver for the promise that `record.save` returns.\n     It schedules saving to happen at the end of the run loop.\n     @method scheduleSave\n    @private\n    @param {InternalModel} internalModel\n    @param {Resolver} resolver\n    @param {Object} options\n  */\n  scheduleSave: function scheduleSave(internalModel, resolver, options) {\n    var snapshot = internalModel.createSnapshot(options);\n    internalModel.flushChangedAttributes();\n    internalModel.adapterWillCommit();\n    this._pendingSave.push({\n      snapshot: snapshot,\n      resolver: resolver\n    });\n    emberRun.once(this, this.flushPendingSave);\n  },\n\n\n  /**\n    This method is called at the end of the run loop, and\n    flushes any records passed into `scheduleSave`\n     @method flushPendingSave\n    @private\n  */\n  flushPendingSave: function flushPendingSave() {\n    var pending = this._pendingSave.slice();\n    this._pendingSave = [];\n\n    for (var i = 0, j = pending.length; i < j; i++) {\n      var pendingItem = pending[i];\n      var snapshot = pendingItem.snapshot;\n      var resolver = pendingItem.resolver;\n      var internalModel = snapshot._internalModel;\n      var adapter = this.adapterFor(internalModel.modelName);\n      var operation = void 0;\n\n      if (internalModel.currentState.stateName === 'root.deleted.saved') {\n        resolver.resolve();\n        continue;\n      } else if (internalModel.isNew()) {\n        operation = 'createRecord';\n      } else if (internalModel.isDeleted()) {\n        operation = 'deleteRecord';\n      } else {\n        operation = 'updateRecord';\n      }\n\n      resolver.resolve(_commit(adapter, this, operation, snapshot));\n    }\n  },\n\n\n  /**\n    This method is called once the promise returned by an\n    adapter's `createRecord`, `updateRecord` or `deleteRecord`\n    is resolved.\n     If the data provides a server-generated ID, it will\n    update the record and the store's indexes.\n     @method didSaveRecord\n    @private\n    @param {InternalModel} internalModel the in-flight internal model\n    @param {Object} data optional data (see above)\n  */\n  didSaveRecord: function didSaveRecord(internalModel, dataArg) {\n    var data = void 0;\n    if (dataArg) {\n      data = dataArg.data;\n    }\n    if (data) {\n      // normalize relationship IDs into records\n      this.updateId(internalModel, data);\n      this._setupRelationshipsForModel(internalModel, data);\n    } else {\n      emberData_Debug.assert('Your ' + internalModel.modelName + ' record was saved to the server, but the response does not have an id and no id has been set client side. Records must have ids. Please update the server response to provide an id in the response or generate the id on the client side either before saving the record or while normalizing the response.', internalModel.id);\n    }\n\n    //We first make sure the primary data has been updated\n    //TODO try to move notification to the user to the end of the runloop\n    internalModel.adapterDidCommit(data);\n  },\n\n\n  /**\n    This method is called once the promise returned by an\n    adapter's `createRecord`, `updateRecord` or `deleteRecord`\n    is rejected with a `DS.InvalidError`.\n     @method recordWasInvalid\n    @private\n    @param {InternalModel} internalModel\n    @param {Object} errors\n  */\n  recordWasInvalid: function recordWasInvalid(internalModel, errors) {\n    internalModel.adapterDidInvalidate(errors);\n  },\n\n\n  /**\n    This method is called once the promise returned by an\n    adapter's `createRecord`, `updateRecord` or `deleteRecord`\n    is rejected (with anything other than a `DS.InvalidError`).\n     @method recordWasError\n    @private\n    @param {InternalModel} internalModel\n    @param {Error} error\n  */\n  recordWasError: function recordWasError(internalModel, error) {\n    internalModel.adapterDidError(error);\n  },\n\n\n  /**\n    When an adapter's `createRecord`, `updateRecord` or `deleteRecord`\n    resolves with data, this method extracts the ID from the supplied\n    data.\n     @method updateId\n    @private\n    @param {InternalModel} internalModel\n    @param {Object} data\n  */\n  updateId: function updateId(internalModel, data) {\n    var oldId = internalModel.id;\n    var modelName = internalModel.modelName;\n    var id = coerceId(data.id);\n\n    // ID absolutely can't be missing if the oldID is empty (missing Id in response for a new record)\n    emberData_Debug.assert('\\'' + modelName + '\\' was saved to the server, but the response does not have an id and your record does not either.', !(id === null && oldId === null));\n\n    // ID absolutely can't be different than oldID if oldID is not null\n    emberData_Debug.assert('\\'' + modelName + ':' + oldId + '\\' was saved to the server, but the response returned the new id \\'' + id + '\\'. The store cannot assign a new id to a record that already has an id.', !(oldId !== null && id !== oldId));\n\n    // ID can be null if oldID is not null (altered ID in response for a record)\n    // however, this is more than likely a developer error.\n    if (oldId !== null && id === null) {\n      emberData_Debug.warn('Your ' + modelName + ' record was saved to the server, but the response does not have an id.', !(oldId !== null && id === null));\n      return;\n    }\n\n    this._internalModelsFor(internalModel.modelName).set(id, internalModel);\n\n    internalModel.setId(id);\n  },\n\n\n  /**\n    Returns a map of IDs to client IDs for a given modelName.\n     @method _internalModelsFor\n    @private\n    @param {String} modelName\n    @return {Object} recordMap\n  */\n  _internalModelsFor: function _internalModelsFor(modelName) {\n    return this._identityMap.retrieve(modelName);\n  },\n\n\n  // ................\n  // . LOADING DATA .\n  // ................\n\n  /**\n    This internal method is used by `push`.\n     @method _load\n    @private\n    @param {Object} data\n  */\n  _load: function _load(data) {\n    var internalModel = this._internalModelForId(data.type, data.id);\n\n    internalModel.setupData(data);\n\n    this.recordArrayManager.recordDidChange(internalModel);\n\n    return internalModel;\n  },\n\n\n  /*\n    In case someone defined a relationship to a mixin, for example:\n    ```\n      let Comment = DS.Model.extend({\n        owner: belongsTo('commentable'. { polymorphic: true })\n      });\n      let Commentable = Ember.Mixin.create({\n        comments: hasMany('comment')\n      });\n    ```\n    we want to look up a Commentable class which has all the necessary\n    relationship metadata. Thus, we look up the mixin and create a mock\n    DS.Model, so we can access the relationship CPs of the mixin (`comments`)\n    in this case\n     @private\n  */\n  _modelForMixin: function _modelForMixin(normalizedModelName) {\n    // container.registry = 2.1\n    // container._registry = 1.11 - 2.0\n    // container = < 1.11\n    var owner = getOwner(this);\n    var mixin = void 0;\n\n    if (owner.factoryFor) {\n      var MaybeMixin = owner.factoryFor('mixin:' + normalizedModelName);\n      mixin = MaybeMixin && MaybeMixin.class;\n    } else {\n      mixin = owner._lookupFactory('mixin:' + normalizedModelName);\n    }\n\n    if (mixin) {\n      var ModelForMixin = Model.extend(mixin);\n      ModelForMixin.reopenClass({\n        __isMixin: true,\n        __mixin: mixin\n      });\n\n      //Cache the class as a model\n      owner.register('model:' + normalizedModelName, ModelForMixin);\n    }\n\n    return this.modelFactoryFor(normalizedModelName);\n  },\n\n\n  /**\n    Returns the model class for the particular `modelName`.\n     The class of a model might be useful if you want to get a list of all the\n    relationship names of the model, see\n    [`relationshipNames`](http://emberjs.com/api/data/classes/DS.Model.html#property_relationshipNames)\n    for example.\n     @method modelFor\n    @param {String} modelName\n    @return {DS.Model}\n  */\n  modelFor: function modelFor(modelName) {\n    emberData_Debug.assert('You need to pass a model name to the store\\'s modelFor method', isPresent(modelName));\n    emberData_Debug.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName, typeof modelName === 'string');\n\n    var normalizedModelName = normalizeModelName(modelName);\n\n    return this._modelFor(normalizedModelName);\n  },\n\n\n  /*\n    @private\n   */\n  _modelFor: function _modelFor(modelName) {\n    var maybeFactory = this._modelFactoryFor(modelName);\n    // for factorFor factory/class split\n    return maybeFactory.class ? maybeFactory.class : maybeFactory;\n  },\n  _modelFactoryFor: function _modelFactoryFor(modelName) {\n    var factory = this._modelFactoryCache[modelName];\n\n    if (!factory) {\n      factory = this.modelFactoryFor(modelName);\n\n      if (!factory) {\n        //Support looking up mixins as base types for polymorphic relationships\n        factory = this._modelForMixin(modelName);\n      }\n      if (!factory) {\n        throw new EmberError('No model was found for \\'' + modelName + '\\'');\n      }\n\n      // interopt with the future\n      var klass = getOwner(this).factoryFor ? factory.class : factory;\n\n      emberData_Debug.assert('\\'' + inspect(klass) + '\\' does not appear to be an ember-data model', klass.isModel);\n\n      // TODO: deprecate this\n      klass.modelName = klass.modelName || modelName;\n\n      this._modelFactoryCache[modelName] = factory;\n    }\n\n    return factory;\n  },\n\n\n  /*\n   @private\n   */\n  modelFactoryFor: function modelFactoryFor(modelName) {\n    emberData_Debug.assert('You need to pass a model name to the store\\'s modelFactoryFor method', isPresent(modelName));\n    emberData_Debug.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName, typeof modelName === 'string');\n\n    var normalizedModelName = normalizeModelName(modelName);\n    var owner = getOwner(this);\n\n    if (owner.factoryFor) {\n      return owner.factoryFor('model:' + normalizedModelName);\n    } else {\n      return owner._lookupFactory('model:' + normalizedModelName);\n    }\n  },\n\n\n  /**\n    Push some data for a given type into the store.\n     This method expects normalized [JSON API](http://jsonapi.org/) document. This means you have to follow [JSON API specification](http://jsonapi.org/format/) with few minor adjustments:\n    - record's `type` should always be in singular, dasherized form\n    - members (properties) should be camelCased\n     [Your primary data should be wrapped inside `data` property](http://jsonapi.org/format/#document-top-level):\n     ```js\n    store.push({\n      data: {\n        // primary data for single record of type `Person`\n        id: '1',\n        type: 'person',\n        attributes: {\n          firstName: 'Daniel',\n          lastName: 'Kmak'\n        }\n      }\n    });\n    ```\n     [Demo.](http://ember-twiddle.com/fb99f18cd3b4d3e2a4c7)\n     `data` property can also hold an array (of records):\n     ```js\n    store.push({\n      data: [\n        // an array of records\n        {\n          id: '1',\n          type: 'person',\n          attributes: {\n            firstName: 'Daniel',\n            lastName: 'Kmak'\n          }\n        },\n        {\n          id: '2',\n          type: 'person',\n          attributes: {\n            firstName: 'Tom',\n            lastName: 'Dale'\n          }\n        }\n      ]\n    });\n    ```\n     [Demo.](http://ember-twiddle.com/69cdbeaa3702159dc355)\n     There are some typical properties for `JSONAPI` payload:\n    * `id` - mandatory, unique record's key\n    * `type` - mandatory string which matches `model`'s dasherized name in singular form\n    * `attributes` - object which holds data for record attributes - `DS.attr`'s declared in model\n    * `relationships` - object which must contain any of the following properties under each relationships' respective key (example path is `relationships.achievements.data`):\n      - [`links`](http://jsonapi.org/format/#document-links)\n      - [`data`](http://jsonapi.org/format/#document-resource-object-linkage) - place for primary data\n      - [`meta`](http://jsonapi.org/format/#document-meta) - object which contains meta-information about relationship\n     For this model:\n     ```app/models/person.js\n    import DS from 'ember-data';\n     export default DS.Model.extend({\n      firstName: DS.attr('string'),\n      lastName: DS.attr('string'),\n       children: DS.hasMany('person')\n    });\n    ```\n     To represent the children as IDs:\n     ```js\n    {\n      data: {\n        id: '1',\n        type: 'person',\n        attributes: {\n          firstName: 'Tom',\n          lastName: 'Dale'\n        },\n        relationships: {\n          children: {\n            data: [\n              {\n                id: '2',\n                type: 'person'\n              },\n              {\n                id: '3',\n                type: 'person'\n              },\n              {\n                id: '4',\n                type: 'person'\n              }\n            ]\n          }\n        }\n      }\n    }\n    ```\n     [Demo.](http://ember-twiddle.com/343e1735e034091f5bde)\n     To represent the children relationship as a URL:\n     ```js\n    {\n      data: {\n        id: '1',\n        type: 'person',\n        attributes: {\n          firstName: 'Tom',\n          lastName: 'Dale'\n        },\n        relationships: {\n          children: {\n            links: {\n              related: '/people/1/children'\n            }\n          }\n        }\n      }\n    }\n    ```\n     If you're streaming data or implementing an adapter, make sure\n    that you have converted the incoming data into this form. The\n    store's [normalize](#method_normalize) method is a convenience\n    helper for converting a json payload into the form Ember Data\n    expects.\n     ```js\n    store.push(store.normalize('person', data));\n    ```\n     This method can be used both to push in brand new\n    records, as well as to update existing records.\n     @method push\n    @param {Object} data\n    @return {DS.Model|Array} the record(s) that was created or\n      updated.\n  */\n  push: function push(data) {\n    var pushed = this._push(data);\n\n    if (Array.isArray(pushed)) {\n      var records = pushed.map(function (internalModel) {\n        return internalModel.getRecord();\n      });\n\n      return records;\n    }\n\n    if (pushed === null) {\n      return null;\n    }\n\n    var record = pushed.getRecord();\n\n    return record;\n  },\n\n\n  /*\n    Push some data in the form of a json-api document into the store,\n    without creating materialized records.\n     @method _push\n    @private\n    @param {Object} jsonApiDoc\n    @return {DS.InternalModel|Array<DS.InternalModel>} pushed InternalModel(s)\n  */\n  _push: function _push(jsonApiDoc) {\n    var _this = this;\n\n    var internalModelOrModels = this._backburner.join(function () {\n      var included = jsonApiDoc.included;\n      var i = void 0,\n          length = void 0;\n\n      if (included) {\n        for (i = 0, length = included.length; i < length; i++) {\n          _this._pushInternalModel(included[i]);\n        }\n      }\n\n      if (Array.isArray(jsonApiDoc.data)) {\n        length = jsonApiDoc.data.length;\n        var internalModels = new Array(length);\n\n        for (i = 0; i < length; i++) {\n          internalModels[i] = _this._pushInternalModel(jsonApiDoc.data[i]);\n        }\n        return internalModels;\n      }\n\n      if (jsonApiDoc.data === null) {\n        return null;\n      }\n\n      emberData_Debug.assert('Expected an object in the \\'data\\' property in a call to \\'push\\' for ' + jsonApiDoc.type + ', but was ' + typeOf(jsonApiDoc.data), typeOf(jsonApiDoc.data) === 'object');\n\n      return _this._pushInternalModel(jsonApiDoc.data);\n    });\n\n    return internalModelOrModels;\n  },\n  _hasModelFor: function _hasModelFor(modelName) {\n    var owner = getOwner(this);\n    modelName = normalizeModelName(modelName);\n\n    if (owner.factoryFor) {\n      return !!owner.factoryFor('model:' + modelName);\n    } else {\n      return !!owner._lookupFactory('model:' + modelName);\n    }\n  },\n  _pushInternalModel: function _pushInternalModel(data) {\n    var _this2 = this;\n\n    var modelName = data.type;\n    emberData_Debug.assert('You must include an \\'id\\' for ' + modelName + ' in an object passed to \\'push\\'', data.id !== null && data.id !== undefined && data.id !== '');\n    emberData_Debug.assert('You tried to push data with a type \\'' + modelName + '\\' but no model could be found with that name.', this._hasModelFor(modelName));\n\n    emberData_Debug.runInDebug(function () {\n      // If ENV.DS_WARN_ON_UNKNOWN_KEYS is set to true and the payload\n      // contains unknown attributes or relationships, log a warning.\n\n      if (ENV.DS_WARN_ON_UNKNOWN_KEYS) {\n        var modelClass = _this2._modelFor(modelName);\n\n        // Check unknown attributes\n        var unknownAttributes = Object.keys(data.attributes || {}).filter(function (key) {\n          return !get$3(modelClass, 'fields').has(key);\n        });\n        var unknownAttributesMessage = 'The payload for \\'' + modelName + '\\' contains these unknown attributes: ' + unknownAttributes + '. Make sure they\\'ve been defined in your model.';\n        emberData_Debug.warn(unknownAttributesMessage, unknownAttributes.length === 0, { id: 'ds.store.unknown-keys-in-payload' });\n\n        // Check unknown relationships\n        var unknownRelationships = Object.keys(data.relationships || {}).filter(function (key) {\n          return !get$3(modelClass, 'fields').has(key);\n        });\n        var unknownRelationshipsMessage = 'The payload for \\'' + modelName + '\\' contains these unknown relationships: ' + unknownRelationships + '. Make sure they\\'ve been defined in your model.';\n        emberData_Debug.warn(unknownRelationshipsMessage, unknownRelationships.length === 0, { id: 'ds.store.unknown-keys-in-payload' });\n      }\n    });\n\n    // Actually load the record into the store.\n    var internalModel = this._load(data);\n\n    this._setupRelationshipsForModel(internalModel, data);\n\n    return internalModel;\n  },\n  _setupRelationshipsForModel: function _setupRelationshipsForModel(internalModel, data) {\n    if (data.relationships === undefined) {\n      return;\n    }\n\n    if (this._pushedInternalModels.push(internalModel, data) !== 2) {\n      return;\n    }\n\n    this._backburner.schedule('normalizeRelationships', this, this._setupRelationships);\n  },\n  _setupRelationships: function _setupRelationships() {\n    var pushed = this._pushedInternalModels;\n\n    // Cache the inverse maps for each modelClass that we visit during this\n    // payload push.  In the common case where we are pushing many more\n    // instances than types we want to minimize the cost of looking up the\n    // inverse map and the overhead of Ember.get adds up.\n    var modelNameToInverseMap = Object.create(null);\n\n    for (var i = 0, l = pushed.length; i < l; i += 2) {\n      // This will convert relationships specified as IDs into DS.Model instances\n      // (possibly unloaded) and also create the data structures used to track\n      // relationships.\n      var internalModel = pushed[i];\n      var data = pushed[i + 1];\n      setupRelationships(this, internalModel, data, modelNameToInverseMap);\n    }\n\n    pushed.length = 0;\n  },\n\n\n  /**\n    Push some raw data into the store.\n     This method can be used both to push in brand new\n    records, as well as to update existing records. You\n    can push in more than one type of object at once.\n    All objects should be in the format expected by the\n    serializer.\n     ```app/serializers/application.js\n    import DS from 'ember-data';\n     export default DS.ActiveModelSerializer;\n    ```\n     ```js\n    let pushData = {\n      posts: [\n        { id: 1, post_title: \"Great post\", comment_ids: [2] }\n      ],\n      comments: [\n        { id: 2, comment_body: \"Insightful comment\" }\n      ]\n    }\n     store.pushPayload(pushData);\n    ```\n     By default, the data will be deserialized using a default\n    serializer (the application serializer if it exists).\n     Alternatively, `pushPayload` will accept a model type which\n    will determine which serializer will process the payload.\n     ```app/serializers/application.js\n    import DS from 'ember-data';\n     export default DS.ActiveModelSerializer;\n    ```\n     ```app/serializers/post.js\n    import DS from 'ember-data';\n     export default DS.JSONSerializer;\n    ```\n     ```js\n    store.pushPayload('comment', pushData); // Will use the application serializer\n    store.pushPayload('post', pushData); // Will use the post serializer\n    ```\n     @method pushPayload\n    @param {String} modelName Optionally, a model type used to determine which serializer will be used\n    @param {Object} inputPayload\n  */\n  pushPayload: function pushPayload(modelName, inputPayload) {\n    var serializer = void 0;\n    var payload = void 0;\n    if (!inputPayload) {\n      payload = modelName;\n      serializer = defaultSerializer(this);\n      emberData_Debug.assert('You cannot use \\'store#pushPayload\\' without a modelName unless your default serializer defines \\'pushPayload\\'', typeof serializer.pushPayload === 'function');\n    } else {\n      payload = inputPayload;\n      emberData_Debug.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + modelName, typeof modelName === 'string');\n      var normalizedModelName = normalizeModelName(modelName);\n      serializer = this.serializerFor(normalizedModelName);\n    }\n    if (isEnabled('ds-pushpayload-return')) {\n      return serializer.pushPayload(this, payload);\n    } else {\n      serializer.pushPayload(this, payload);\n    }\n  },\n\n\n  /**\n    `normalize` converts a json payload into the normalized form that\n    [push](#method_push) expects.\n     Example\n     ```js\n    socket.on('message', function(message) {\n      let modelName = message.model;\n      let data = message.data;\n      store.push(store.normalize(modelName, data));\n    });\n    ```\n     @method normalize\n    @param {String} modelName The name of the model type for this payload\n    @param {Object} payload\n    @return {Object} The normalized payload\n  */\n  normalize: function normalize(modelName, payload) {\n    emberData_Debug.assert('You need to pass a model name to the store\\'s normalize method', isPresent(modelName));\n    emberData_Debug.assert('Passing classes to store methods has been removed. Please pass a dasherized string instead of ' + inspect(modelName), typeof modelName === 'string');\n    var normalizedModelName = normalizeModelName(modelName);\n    var serializer = this.serializerFor(normalizedModelName);\n    var model = this._modelFor(normalizedModelName);\n    return serializer.normalize(model, payload);\n  },\n\n\n  /**\n    Build a brand new record for a given type, ID, and\n    initial data.\n     @method _buildInternalModel\n    @private\n    @param {String} modelName\n    @param {String} id\n    @param {Object} data\n    @return {InternalModel} internal model\n  */\n  _buildInternalModel: function _buildInternalModel(modelName, id, data) {\n\n    emberData_Debug.assert('You can no longer pass a modelClass as the first argument to store._buildInternalModel. Pass modelName instead.', typeof modelName === 'string');\n\n    var internalModels = this._internalModelsFor(modelName);\n    var existingInternalModel = internalModels.get(id);\n\n    if (existingInternalModel && existingInternalModel.hasScheduledDestroy()) {\n      // unloadRecord is async, if one attempts to unload + then sync create,\n      // we must ensure the unload is complete before starting the create\n      existingInternalModel.destroySync();\n      existingInternalModel = null;\n    }\n\n    emberData_Debug.assert('The id ' + id + ' has already been used with another record for modelClass \\'' + modelName + '\\'.', !existingInternalModel);\n\n    // lookupFactory should really return an object that creates\n    // instances with the injections applied\n    var internalModel = new InternalModel(modelName, id, this, data);\n\n    internalModels.add(internalModel, id);\n\n    return internalModel;\n  },\n  buildInternalModel: function buildInternalModel(modelName, id, data) {\n    emberData_Debug.deprecate('buildInternalModel was documented as private and will be removed in the next version of Ember Data.');\n    return this._buildInternalModel(modelName, id, data);\n  },\n\n\n  //Called by the state machine to notify the store that the record is ready to be interacted with\n  recordWasLoaded: function recordWasLoaded(record) {\n    this.recordArrayManager.recordWasLoaded(record);\n  },\n\n\n  // ...............\n  // . DESTRUCTION .\n  // ...............\n\n  /**\n    When a record is destroyed, this un-indexes it and\n    removes it from any record arrays so it can be GCed.\n     @method _removeFromIdMap\n    @private\n    @param {InternalModel} internalModel\n  */\n  _removeFromIdMap: function _removeFromIdMap(internalModel) {\n    var recordMap = this._internalModelsFor(internalModel.modelName);\n    var id = internalModel.id;\n\n    recordMap.remove(internalModel, id);\n  },\n\n\n  // ......................\n  // . PER-TYPE ADAPTERS\n  // ......................\n\n  /**\n    Returns an instance of the adapter for a given type. For\n    example, `adapterFor('person')` will return an instance of\n    `App.PersonAdapter`.\n     If no `App.PersonAdapter` is found, this method will look\n    for an `App.ApplicationAdapter` (the default adapter for\n    your entire application).\n     If no `App.ApplicationAdapter` is found, it will return\n    the value of the `defaultAdapter`.\n     @method adapterFor\n    @public\n    @param {String} modelName\n    @return DS.Adapter\n  */\n  adapterFor: function adapterFor(modelName) {\n    emberData_Debug.assert('You need to pass a model name to the store\\'s adapterFor method', isPresent(modelName));\n    emberData_Debug.assert('Passing classes to store.adapterFor has been removed. Please pass a dasherized string instead of ' + modelName, typeof modelName === 'string');\n    var normalizedModelName = normalizeModelName(modelName);\n\n    return this._instanceCache.get('adapter', normalizedModelName);\n  },\n\n\n  // ..............................\n  // . RECORD CHANGE NOTIFICATION .\n  // ..............................\n\n  /**\n    Returns an instance of the serializer for a given type. For\n    example, `serializerFor('person')` will return an instance of\n    `App.PersonSerializer`.\n     If no `App.PersonSerializer` is found, this method will look\n    for an `App.ApplicationSerializer` (the default serializer for\n    your entire application).\n     if no `App.ApplicationSerializer` is found, it will attempt\n    to get the `defaultSerializer` from the `PersonAdapter`\n    (`adapterFor('person')`).\n     If a serializer cannot be found on the adapter, it will fall back\n    to an instance of `DS.JSONSerializer`.\n     @method serializerFor\n    @public\n    @param {String} modelName the record to serialize\n    @return {DS.Serializer}\n  */\n  serializerFor: function serializerFor(modelName) {\n    emberData_Debug.assert('You need to pass a model name to the store\\'s serializerFor method', isPresent(modelName));\n    emberData_Debug.assert('Passing classes to store.serializerFor has been removed. Please pass a dasherized string instead of ' + modelName, typeof modelName === 'string');\n    var normalizedModelName = normalizeModelName(modelName);\n\n    return this._instanceCache.get('serializer', normalizedModelName);\n  },\n  lookupAdapter: function lookupAdapter(name) {\n    emberData_Debug.deprecate('Use of lookupAdapter is deprecated, use adapterFor instead.', false, {\n      id: 'ds.store.lookupAdapter',\n      until: '3.0'\n    });\n    return this.adapterFor(name);\n  },\n  lookupSerializer: function lookupSerializer(name) {\n    emberData_Debug.deprecate('Use of lookupSerializer is deprecated, use serializerFor instead.', false, {\n      id: 'ds.store.lookupSerializer',\n      until: '3.0'\n    });\n    return this.serializerFor(name);\n  },\n  willDestroy: function willDestroy() {\n    this._super.apply(this, arguments);\n    this._pushedInternalModels = null;\n    this.recordArrayManager.destroy();\n    this._instanceCache.destroy();\n\n    this.unloadAll();\n  },\n  _updateRelationshipState: function _updateRelationshipState(relationship) {\n    var _this3 = this;\n\n    if (this._updatedRelationships.push(relationship) !== 1) {\n      return;\n    }\n\n    this._backburner.join(function () {\n      _this3._backburner.schedule('syncRelationships', _this3, _this3._flushUpdatedRelationships);\n    });\n  },\n  _flushUpdatedRelationships: function _flushUpdatedRelationships() {\n    var updated = this._updatedRelationships;\n\n    for (var i = 0, l = updated.length; i < l; i++) {\n      updated[i].flushCanonical();\n    }\n\n    updated.length = 0;\n  },\n  _updateInternalModel: function _updateInternalModel(internalModel) {\n    if (this._updatedInternalModels.push(internalModel) !== 1) {\n      return;\n    }\n\n    emberRun.schedule('actions', this, this._flushUpdatedInternalModels);\n  },\n  _flushUpdatedInternalModels: function _flushUpdatedInternalModels() {\n    var updated = this._updatedInternalModels;\n\n    for (var i = 0, l = updated.length; i < l; i++) {\n      updated[i]._triggerDeferredTriggers();\n    }\n\n    updated.length = 0;\n  },\n  _pushResourceIdentifier: function _pushResourceIdentifier(relationship, resourceIdentifier) {\n    if (isNone(resourceIdentifier)) {\n      return;\n    }\n\n    emberData_Debug.assert('A ' + relationship.internalModel.modelName + ' record was pushed into the store with the value of ' + relationship.key + ' being ' + inspect(resourceIdentifier) + ', but ' + relationship.key + ' is a belongsTo relationship so the value must not be an array. You should probably check your data payload or serializer.', !Array.isArray(resourceIdentifier));\n\n    //TODO:Better asserts\n    return this._internalModelForId(resourceIdentifier.type, resourceIdentifier.id);\n  },\n  _pushResourceIdentifiers: function _pushResourceIdentifiers(relationship, resourceIdentifiers) {\n    if (isNone(resourceIdentifiers)) {\n      return;\n    }\n\n    emberData_Debug.assert('A ' + relationship.internalModel.modelName + ' record was pushed into the store with the value of ' + relationship.key + ' being \\'' + inspect(resourceIdentifiers) + '\\', but ' + relationship.key + ' is a hasMany relationship so the value must be an array. You should probably check your data payload or serializer.', Array.isArray(resourceIdentifiers));\n\n    var _internalModels = new Array(resourceIdentifiers.length);\n    for (var i = 0; i < resourceIdentifiers.length; i++) {\n      _internalModels[i] = this._pushResourceIdentifier(relationship, resourceIdentifiers[i]);\n    }\n    return _internalModels;\n  }\n});\n\n// Delegation to the adapter and promise management\n\n\nfunction defaultSerializer(store) {\n  return store.serializerFor('application');\n}\n\nfunction _commit(adapter, store, operation, snapshot) {\n  var internalModel = snapshot._internalModel;\n  var modelName = snapshot.modelName;\n  var modelClass = store._modelFor(modelName);\n  emberData_Debug.assert('You tried to update a record but you have no adapter (for ' + modelName + ')', adapter);\n  emberData_Debug.assert('You tried to update a record but your adapter (for ' + modelName + ') does not implement \\'' + operation + '\\'', typeof adapter[operation] === 'function');\n  var promise = adapter[operation](store, modelClass, snapshot);\n  var serializer = serializerForAdapter(store, adapter, modelName);\n  var label = 'DS: Extract and notify about ' + operation + ' completion of ' + internalModel;\n\n  emberData_Debug.assert('Your adapter\\'s \\'' + operation + '\\' method must return a value, but it returned \\'undefined\\'', promise !== undefined);\n\n  promise = Promise$1.resolve(promise, label);\n  promise = _guard(promise, _bind(_objectIsAlive, store));\n  promise = _guard(promise, _bind(_objectIsAlive, internalModel));\n\n  return promise.then(function (adapterPayload) {\n    /*\n      Note to future spelunkers hoping to optimize.\n      We rely on this `run` to create a run loop if needed\n      that `store._push` and `store.didSaveRecord` will both share.\n       We use `join` because it is often the case that we\n      have an outer run loop available still from the first\n      call to `store._push`;\n     */\n    store._backburner.join(function () {\n      var payload = void 0,\n          data = void 0;\n      if (adapterPayload) {\n        payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, snapshot.id, operation);\n        if (payload.included) {\n          store._push({ data: null, included: payload.included });\n        }\n        data = payload.data;\n      }\n      store.didSaveRecord(internalModel, { data: data });\n    });\n\n    return internalModel;\n  }, function (error) {\n    if (error instanceof InvalidError) {\n      var errors = serializer.extractErrors(store, modelClass, error, snapshot.id);\n\n      store.recordWasInvalid(internalModel, errors);\n    } else {\n      store.recordWasError(internalModel, error);\n    }\n\n    throw error;\n  }, label);\n}\n\nfunction isInverseRelationshipInitialized(store, internalModel, data, key, modelNameToInverseMap) {\n  var relationshipData = data.relationships[key].data;\n\n  if (!relationshipData) {\n    // can't check inverse for eg { comments: { links: { related: URL }}}\n    return false;\n  }\n\n  var inverseMap = modelNameToInverseMap[internalModel.modelName];\n  if (!inverseMap) {\n    inverseMap = modelNameToInverseMap[internalModel.modelName] = get$3(internalModel.type, 'inverseMap');\n  }\n  var inverseRelationshipMetadata = inverseMap[key];\n  if (inverseRelationshipMetadata === undefined) {\n    inverseRelationshipMetadata = internalModel.type.inverseFor(key, store);\n  }\n\n  if (!inverseRelationshipMetadata) {\n    return false;\n  }\n\n  var _inverseRelationshipM = inverseRelationshipMetadata,\n      inverseRelationshipName = _inverseRelationshipM.name;\n\n\n  if (Array.isArray(relationshipData)) {\n    for (var i = 0; i < relationshipData.length; ++i) {\n      var inverseInternalModel = store._internalModelsFor(relationshipData[i].type).get(relationshipData[i].id);\n      if (inverseInternalModel && inverseInternalModel._relationships.has(inverseRelationshipName)) {\n        return true;\n      }\n    }\n\n    return false;\n  } else {\n    var _inverseInternalModel = store._internalModelsFor(relationshipData.type).get(relationshipData.id);\n    return _inverseInternalModel && _inverseInternalModel._relationships.has(inverseRelationshipName);\n  }\n}\n\nfunction setupRelationships(store, internalModel, data, modelNameToInverseMap) {\n  var relationships = internalModel._relationships;\n\n  internalModel.type.eachRelationship(function (relationshipName) {\n    if (!data.relationships[relationshipName]) {\n      return;\n    }\n\n    var relationshipRequiresNotification = relationships.has(relationshipName) || isInverseRelationshipInitialized(store, internalModel, data, relationshipName, modelNameToInverseMap);\n\n    if (relationshipRequiresNotification) {\n      var relationshipData = data.relationships[relationshipName];\n      relationships.get(relationshipName).push(relationshipData);\n    }\n\n    // in debug, assert payload validity eagerly\n    emberData_Debug.runInDebug(function () {\n      var relationshipMeta = get$3(internalModel.type, 'relationshipsByName').get(relationshipName);\n      var relationshipData = data.relationships[relationshipName];\n      if (!relationshipData || !relationshipMeta) {\n        return;\n      }\n\n      if (relationshipData.links) {\n        var isAsync = relationshipMeta.options && relationshipMeta.options.async !== false;\n        emberData_Debug.warn('You pushed a record of type \\'' + internalModel.type.modelName + '\\' with a relationship \\'' + relationshipName + '\\' configured as \\'async: false\\'. You\\'ve included a link but no primary data, this may be an error in your payload.', isAsync || relationshipData.data, {\n          id: 'ds.store.push-link-for-sync-relationship'\n        });\n      } else if (relationshipData.data) {\n        if (relationshipMeta.kind === 'belongsTo') {\n          emberData_Debug.assert('A ' + internalModel.type.modelName + ' record was pushed into the store with the value of ' + relationshipName + ' being ' + inspect(relationshipData.data) + ', but ' + relationshipName + ' is a belongsTo relationship so the value must not be an array. You should probably check your data payload or serializer.', !Array.isArray(relationshipData.data));\n        } else if (relationshipMeta.kind === 'hasMany') {\n          emberData_Debug.assert('A ' + internalModel.type.modelName + ' record was pushed into the store with the value of ' + relationshipName + ' being \\'' + inspect(relationshipData.data) + '\\', but ' + relationshipName + ' is a hasMany relationship so the value must be an array. You should probably check your data payload or serializer.', Array.isArray(relationshipData.data));\n        }\n      }\n    });\n  });\n}\n\nvar Store$1 = Store;\n\n/**\n  @module ember-data\n*/\n\n/**\n  All Ember Data classes, methods and functions are defined inside of this namespace.\n\n  @class DS\n  @static\n*/\n\n/**\n  @property VERSION\n  @type String\n  @static\n*/\nvar DS = Ember.Namespace.create({\n  VERSION: VERSION,\n  name: \"DS\"\n});\n\nif (Ember.libraries) {\n  Ember.libraries.registerCoreLibrary('Ember Data', DS.VERSION);\n}\n\nvar _typeof$6 = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n/**\n  `DS.belongsTo` is used to define One-To-One and One-To-Many\n  relationships on a [DS.Model](/api/data/classes/DS.Model.html).\n\n\n  `DS.belongsTo` takes an optional hash as a second parameter, currently\n  supported options are:\n\n  - `async`: A boolean value used to explicitly declare this to be an async relationship.\n  - `inverse`: A string used to identify the inverse property on a\n    related model in a One-To-Many relationship. See [Explicit Inverses](#toc_explicit-inverses)\n\n  #### One-To-One\n  To declare a one-to-one relationship between two models, use\n  `DS.belongsTo`:\n\n  ```app/models/user.js\n  import DS from 'ember-data';\n\n  export default DS.Model.extend({\n    profile: DS.belongsTo('profile')\n  });\n  ```\n\n  ```app/models/profile.js\n  import DS from 'ember-data';\n\n  export default DS.Model.extend({\n    user: DS.belongsTo('user')\n  });\n  ```\n\n  #### One-To-Many\n  To declare a one-to-many relationship between two models, use\n  `DS.belongsTo` in combination with `DS.hasMany`, like this:\n\n  ```app/models/post.js\n  import DS from 'ember-data';\n\n  export default DS.Model.extend({\n    comments: DS.hasMany('comment')\n  });\n  ```\n\n  ```app/models/comment.js\n  import DS from 'ember-data';\n\n  export default DS.Model.extend({\n    post: DS.belongsTo('post')\n  });\n  ```\n\n  You can avoid passing a string as the first parameter. In that case Ember Data\n  will infer the type from the key name.\n\n  ```app/models/comment.js\n  import DS from 'ember-data';\n\n  export default DS.Model.extend({\n    post: DS.belongsTo()\n  });\n  ```\n\n  will lookup for a Post type.\n\n  @namespace\n  @method belongsTo\n  @for DS\n  @param {String} modelName (optional) type of the relationship\n  @param {Object} options (optional) a hash of options\n  @return {Ember.computed} relationship\n*/\nfunction belongsTo(modelName, options) {\n  var opts = void 0,\n      userEnteredModelName = void 0;\n  if ((typeof modelName === 'undefined' ? 'undefined' : _typeof$6(modelName)) === 'object') {\n    opts = modelName;\n    userEnteredModelName = undefined;\n  } else {\n    opts = options;\n    userEnteredModelName = modelName;\n  }\n\n  if (typeof userEnteredModelName === 'string') {\n    userEnteredModelName = normalizeModelName(userEnteredModelName);\n  }\n\n  emberData_Debug.assert(\"The first argument to DS.belongsTo must be a string representing a model type key, not an instance of \" + Ember.inspect(userEnteredModelName) + \". E.g., to define a relation to the Person model, use DS.belongsTo('person')\", typeof userEnteredModelName === 'string' || typeof userEnteredModelName === 'undefined');\n\n  opts = opts || {};\n\n  var meta = {\n    type: userEnteredModelName,\n    isRelationship: true,\n    options: opts,\n    kind: 'belongsTo',\n    name: 'Belongs To',\n    key: null\n  };\n\n  return Ember.computed({\n    get: function get(key) {\n      if (opts.hasOwnProperty('serialize')) {\n        emberData_Debug.warn('You provided a serialize option on the \"' + key + '\" property in the \"' + this._internalModel.modelName + '\" class, this belongs in the serializer. See DS.Serializer and it\\'s implementations http://emberjs.com/api/data/classes/DS.Serializer.html', false, {\n          id: 'ds.model.serialize-option-in-belongs-to'\n        });\n      }\n\n      if (opts.hasOwnProperty('embedded')) {\n        emberData_Debug.warn('You provided an embedded option on the \"' + key + '\" property in the \"' + this._internalModel.modelName + '\" class, this belongs in the serializer. See DS.EmbeddedRecordsMixin http://emberjs.com/api/data/classes/DS.EmbeddedRecordsMixin.html', false, {\n          id: 'ds.model.embedded-option-in-belongs-to'\n        });\n      }\n\n      return this._internalModel._relationships.get(key).getRecord();\n    },\n    set: function set(key, value) {\n      if (value === undefined) {\n        value = null;\n      }\n      if (value && value.then) {\n        this._internalModel._relationships.get(key).setRecordPromise(value);\n      } else if (value) {\n        this._internalModel._relationships.get(key).setInternalModel(value._internalModel);\n      } else {\n        this._internalModel._relationships.get(key).setInternalModel(value);\n      }\n\n      return this._internalModel._relationships.get(key).getRecord();\n    }\n  }).meta(meta);\n}\n\n/*\n  We're using this to detect arrays and \"array-like\" objects.\n\n  This is a copy of the `isArray` method found in `ember-runtime/utils` as we're\n  currently unable to import non-exposed modules.\n\n  This method was previously exposed as `Ember.isArray` but since\n  https://github.com/emberjs/ember.js/pull/11463 `Ember.isArray` is an alias of\n  `Array.isArray` hence removing the \"array-like\" part.\n */\nfunction isArrayLike(obj) {\n  if (!obj || obj.setInterval) {\n    return false;\n  }\n  if (Array.isArray(obj)) {\n    return true;\n  }\n  if (Ember.Array.detect(obj)) {\n    return true;\n  }\n\n  var type = Ember.typeOf(obj);\n  if ('array' === type) {\n    return true;\n  }\n  if (obj.length !== undefined && 'object' === type) {\n    return true;\n  }\n  return false;\n}\n\nvar _typeof$7 = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n/**\n  @module ember-data\n*/\n\nvar get$14 = Ember.get;\n\n/**\n  `DS.hasMany` is used to define One-To-Many and Many-To-Many\n  relationships on a [DS.Model](/api/data/classes/DS.Model.html).\n\n  `DS.hasMany` takes an optional hash as a second parameter, currently\n  supported options are:\n\n  - `async`: A boolean value used to explicitly declare this to be an async relationship.\n  - `inverse`: A string used to identify the inverse property on a related model.\n\n  #### One-To-Many\n  To declare a one-to-many relationship between two models, use\n  `DS.belongsTo` in combination with `DS.hasMany`, like this:\n\n  ```app/models/post.js\n  import DS from 'ember-data';\n\n  export default DS.Model.extend({\n    comments: DS.hasMany('comment')\n  });\n  ```\n\n  ```app/models/comment.js\n  import DS from 'ember-data';\n\n  export default DS.Model.extend({\n    post: DS.belongsTo('post')\n  });\n  ```\n\n  #### Many-To-Many\n  To declare a many-to-many relationship between two models, use\n  `DS.hasMany`:\n\n  ```app/models/post.js\n  import DS from 'ember-data';\n\n  export default DS.Model.extend({\n    tags: DS.hasMany('tag')\n  });\n  ```\n\n  ```app/models/tag.js\n  import DS from 'ember-data';\n\n  export default DS.Model.extend({\n    posts: DS.hasMany('post')\n  });\n  ```\n\n  You can avoid passing a string as the first parameter. In that case Ember Data\n  will infer the type from the singularized key name.\n\n  ```app/models/post.js\n  import DS from 'ember-data';\n\n  export default DS.Model.extend({\n    tags: DS.hasMany()\n  });\n  ```\n\n  will lookup for a Tag type.\n\n  #### Explicit Inverses\n\n  Ember Data will do its best to discover which relationships map to\n  one another. In the one-to-many code above, for example, Ember Data\n  can figure out that changing the `comments` relationship should update\n  the `post` relationship on the inverse because post is the only\n  relationship to that model.\n\n  However, sometimes you may have multiple `belongsTo`/`hasMany` for the\n  same type. You can specify which property on the related model is\n  the inverse using `DS.hasMany`'s `inverse` option:\n\n  ```app/models/comment.js\n  import DS from 'ember-data';\n\n  export default DS.Model.extend({\n    onePost: DS.belongsTo('post'),\n    twoPost: DS.belongsTo('post'),\n    redPost: DS.belongsTo('post'),\n    bluePost: DS.belongsTo('post')\n  });\n  ```\n\n  ```app/models/post.js\n  import DS from 'ember-data';\n\n  export default DS.Model.extend({\n    comments: DS.hasMany('comment', {\n      inverse: 'redPost'\n    })\n  });\n  ```\n\n  You can also specify an inverse on a `belongsTo`, which works how\n  you'd expect.\n\n  @namespace\n  @method hasMany\n  @for DS\n  @param {String} type (optional) type of the relationship\n  @param {Object} options (optional) a hash of options\n  @return {Ember.computed} relationship\n*/\n\nfunction hasMany(type, options) {\n  if ((typeof type === 'undefined' ? 'undefined' : _typeof$7(type)) === 'object') {\n    options = type;\n    type = undefined;\n  }\n\n  emberData_Debug.assert('The first argument to DS.hasMany must be a string representing a model type key, not an instance of ' + Ember.inspect(type) + '. E.g., to define a relation to the Comment model, use DS.hasMany(\\'comment\\')', typeof type === 'string' || typeof type === 'undefined');\n\n  options = options || {};\n\n  if (typeof type === 'string') {\n    type = normalizeModelName(type);\n  }\n\n  // Metadata about relationships is stored on the meta of\n  // the relationship. This is used for introspection and\n  // serialization. Note that `key` is populated lazily\n  // the first time the CP is called.\n  var meta = {\n    type: type,\n    options: options,\n    isRelationship: true,\n    kind: 'hasMany',\n    name: 'Has Many',\n    key: null\n  };\n\n  return Ember.computed({\n    get: function get(key) {\n      return this._internalModel._relationships.get(key).getRecords();\n    },\n    set: function set(key, records) {\n      emberData_Debug.assert('You must pass an array of records to set a hasMany relationship', isArrayLike(records));\n      emberData_Debug.assert('All elements of a hasMany relationship must be instances of DS.Model, you passed ' + Ember.inspect(records), function () {\n        return Ember.A(records).every(function (record) {\n          return record.hasOwnProperty('_internalModel') === true;\n        });\n      }());\n\n      var relationship = this._internalModel._relationships.get(key);\n      relationship.clear();\n      relationship.addInternalModels(records.map(function (record) {\n        return get$14(record, '_internalModel');\n      }));\n      return relationship.getRecords();\n    }\n  }).meta(meta);\n}\n\nvar get$15 = Ember.get;\n\n/**\n\n  WARNING: This interface is likely to change in order to accomodate https://github.com/emberjs/rfcs/pull/4\n\n  ## Using BuildURLMixin\n\n  To use url building, include the mixin when extending an adapter, and call `buildURL` where needed.\n  The default behaviour is designed for RESTAdapter.\n\n  ### Example\n\n  ```javascript\n  export default DS.Adapter.extend(BuildURLMixin, {\n    findRecord: function(store, type, id, snapshot) {\n      var url = this.buildURL(type.modelName, id, snapshot, 'findRecord');\n      return this.ajax(url, 'GET');\n    }\n  });\n  ```\n\n  ### Attributes\n\n  The `host` and `namespace` attributes will be used if defined, and are optional.\n\n  @class BuildURLMixin\n  @namespace DS\n*/\nvar buildUrlMixin = Ember.Mixin.create({\n  /**\n    Builds a URL for a given type and optional ID.\n     By default, it pluralizes the type's name (for example, 'post'\n    becomes 'posts' and 'person' becomes 'people'). To override the\n    pluralization see [pathForType](#method_pathForType).\n     If an ID is specified, it adds the ID to the path generated\n    for the type, separated by a `/`.\n     When called by RESTAdapter.findMany() the `id` and `snapshot` parameters\n    will be arrays of ids and snapshots.\n     @method buildURL\n    @param {String} modelName\n    @param {(String|Array|Object)} id single id or array of ids or query\n    @param {(DS.Snapshot|Array)} snapshot single snapshot or array of snapshots\n    @param {String} requestType\n    @param {Object} query object of query parameters to send for query requests.\n    @return {String} url\n  */\n  buildURL: function buildURL(modelName, id, snapshot, requestType, query) {\n    switch (requestType) {\n      case 'findRecord':\n        return this.urlForFindRecord(id, modelName, snapshot);\n      case 'findAll':\n        return this.urlForFindAll(modelName, snapshot);\n      case 'query':\n        return this.urlForQuery(query, modelName);\n      case 'queryRecord':\n        return this.urlForQueryRecord(query, modelName);\n      case 'findMany':\n        return this.urlForFindMany(id, modelName, snapshot);\n      case 'findHasMany':\n        return this.urlForFindHasMany(id, modelName, snapshot);\n      case 'findBelongsTo':\n        return this.urlForFindBelongsTo(id, modelName, snapshot);\n      case 'createRecord':\n        return this.urlForCreateRecord(modelName, snapshot);\n      case 'updateRecord':\n        return this.urlForUpdateRecord(id, modelName, snapshot);\n      case 'deleteRecord':\n        return this.urlForDeleteRecord(id, modelName, snapshot);\n      default:\n        return this._buildURL(modelName, id);\n    }\n  },\n\n\n  /**\n    @method _buildURL\n    @private\n    @param {String} modelName\n    @param {String} id\n    @return {String} url\n  */\n  _buildURL: function _buildURL(modelName, id) {\n    var path = void 0;\n    var url = [];\n    var host = get$15(this, 'host');\n    var prefix = this.urlPrefix();\n\n    if (modelName) {\n      path = this.pathForType(modelName);\n      if (path) {\n        url.push(path);\n      }\n    }\n\n    if (id) {\n      url.push(encodeURIComponent(id));\n    }\n    if (prefix) {\n      url.unshift(prefix);\n    }\n\n    url = url.join('/');\n    if (!host && url && url.charAt(0) !== '/') {\n      url = '/' + url;\n    }\n\n    return url;\n  },\n\n\n  /**\n   Builds a URL for a `store.findRecord(type, id)` call.\n    Example:\n    ```app/adapters/user.js\n   import DS from 'ember-data';\n    export default DS.JSONAPIAdapter.extend({\n     urlForFindRecord(id, modelName, snapshot) {\n       let baseUrl = this.buildURL();\n       return `${baseUrl}/users/${snapshot.adapterOptions.user_id}/playlists/${id}`;\n     }\n   });\n   ```\n    @method urlForFindRecord\n   @param {String} id\n   @param {String} modelName\n   @param {DS.Snapshot} snapshot\n   @return {String} url\n    */\n  urlForFindRecord: function urlForFindRecord(id, modelName, snapshot) {\n    return this._buildURL(modelName, id);\n  },\n\n\n  /**\n   Builds a URL for a `store.findAll(type)` call.\n    Example:\n    ```app/adapters/comment.js\n   import DS from 'ember-data';\n    export default DS.JSONAPIAdapter.extend({\n     urlForFindAll(modelName, snapshot) {\n       return 'data/comments.json';\n     }\n   });\n   ```\n    @method urlForFindAll\n   @param {String} modelName\n   @param {DS.SnapshotRecordArray} snapshot\n   @return {String} url\n   */\n  urlForFindAll: function urlForFindAll(modelName, snapshot) {\n    return this._buildURL(modelName);\n  },\n\n\n  /**\n   Builds a URL for a `store.query(type, query)` call.\n    Example:\n    ```app/adapters/application.js\n   import DS from 'ember-data';\n    export default DS.RESTAdapter.extend({\n     host: 'https://api.github.com',\n     urlForQuery (query, modelName) {\n       switch(modelName) {\n         case 'repo':\n           return `https://api.github.com/orgs/${query.orgId}/repos`;\n         default:\n           return this._super(...arguments);\n       }\n     }\n   });\n   ```\n    @method urlForQuery\n   @param {Object} query\n   @param {String} modelName\n   @return {String} url\n   */\n  urlForQuery: function urlForQuery(query, modelName) {\n    return this._buildURL(modelName);\n  },\n\n\n  /**\n   Builds a URL for a `store.queryRecord(type, query)` call.\n    Example:\n    ```app/adapters/application.js\n   import DS from 'ember-data';\n    export default DS.RESTAdapter.extend({\n     urlForQueryRecord({ slug }, modelName) {\n       let baseUrl = this.buildURL();\n       return `${baseUrl}/${encodeURIComponent(slug)}`;\n     }\n   });\n   ```\n    @method urlForQueryRecord\n   @param {Object} query\n   @param {String} modelName\n   @return {String} url\n   */\n  urlForQueryRecord: function urlForQueryRecord(query, modelName) {\n    return this._buildURL(modelName);\n  },\n\n\n  /**\n   Builds a URL for coalesceing multiple `store.findRecord(type, id)`\n   records into 1 request when the adapter's `coalesceFindRequests`\n   property is true.\n    Example:\n    ```app/adapters/application.js\n   import DS from 'ember-data';\n    export default DS.RESTAdapter.extend({\n     urlForFindMany(ids, modelName) {\n       let baseUrl = this.buildURL();\n       return `${baseUrl}/coalesce`;\n     }\n   });\n   ```\n    @method urlForFindMany\n   @param {Array} ids\n   @param {String} modelName\n   @param {Array} snapshots\n   @return {String} url\n   */\n  urlForFindMany: function urlForFindMany(ids, modelName, snapshots) {\n    return this._buildURL(modelName);\n  },\n\n\n  /**\n   Builds a URL for fetching a async hasMany relationship when a url\n   is not provided by the server.\n    Example:\n    ```app/adapters/application.js\n   import DS from 'ember-data';\n    export default DS.JSONAPIAdapter.extend({\n     urlForFindHasMany(id, modelName, snapshot) {\n       let baseUrl = this.buildURL(id, modelName);\n       return `${baseUrl}/relationships`;\n     }\n   });\n   ```\n    @method urlForFindHasMany\n   @param {String} id\n   @param {String} modelName\n   @param {DS.Snapshot} snapshot\n   @return {String} url\n   */\n  urlForFindHasMany: function urlForFindHasMany(id, modelName, snapshot) {\n    return this._buildURL(modelName, id);\n  },\n\n\n  /**\n   Builds a URL for fetching a async belongsTo relationship when a url\n   is not provided by the server.\n    Example:\n    ```app/adapters/application.js\n   import DS from 'ember-data';\n    export default DS.JSONAPIAdapter.extend({\n     urlForFindBelongsTo(id, modelName, snapshot) {\n       let baseUrl = this.buildURL(id, modelName);\n       return `${baseUrl}/relationships`;\n     }\n   });\n   ```\n    @method urlForFindBelongsTo\n   @param {String} id\n   @param {String} modelName\n   @param {DS.Snapshot} snapshot\n   @return {String} url\n   */\n  urlForFindBelongsTo: function urlForFindBelongsTo(id, modelName, snapshot) {\n    return this._buildURL(modelName, id);\n  },\n\n\n  /**\n   Builds a URL for a `record.save()` call when the record was created\n   locally using `store.createRecord()`.\n    Example:\n    ```app/adapters/application.js\n   import DS from 'ember-data';\n    export default DS.RESTAdapter.extend({\n     urlForCreateRecord(modelName, snapshot) {\n       return this._super(...arguments) + '/new';\n     }\n   });\n   ```\n    @method urlForCreateRecord\n   @param {String} modelName\n   @param {DS.Snapshot} snapshot\n   @return {String} url\n   */\n  urlForCreateRecord: function urlForCreateRecord(modelName, snapshot) {\n    return this._buildURL(modelName);\n  },\n\n\n  /**\n   Builds a URL for a `record.save()` call when the record has been update locally.\n    Example:\n    ```app/adapters/application.js\n   import DS from 'ember-data';\n    export default DS.RESTAdapter.extend({\n     urlForUpdateRecord(id, modelName, snapshot) {\n       return `/${id}/feed?access_token=${snapshot.adapterOptions.token}`;\n     }\n   });\n   ```\n    @method urlForUpdateRecord\n   @param {String} id\n   @param {String} modelName\n   @param {DS.Snapshot} snapshot\n   @return {String} url\n   */\n  urlForUpdateRecord: function urlForUpdateRecord(id, modelName, snapshot) {\n    return this._buildURL(modelName, id);\n  },\n\n\n  /**\n   Builds a URL for a `record.save()` call when the record has been deleted locally.\n    Example:\n    ```app/adapters/application.js\n   import DS from 'ember-data';\n    export default DS.RESTAdapter.extend({\n     urlForDeleteRecord(id, modelName, snapshot) {\n       return this._super(...arguments) + '/destroy';\n     }\n   });\n   ```\n    @method urlForDeleteRecord\n   @param {String} id\n   @param {String} modelName\n   @param {DS.Snapshot} snapshot\n   @return {String} url\n   */\n  urlForDeleteRecord: function urlForDeleteRecord(id, modelName, snapshot) {\n    return this._buildURL(modelName, id);\n  },\n\n\n  /**\n    @method urlPrefix\n    @private\n    @param {String} path\n    @param {String} parentURL\n    @return {String} urlPrefix\n  */\n  urlPrefix: function urlPrefix(path, parentURL) {\n    var host = get$15(this, 'host');\n    var namespace = get$15(this, 'namespace');\n\n    if (!host || host === '/') {\n      host = '';\n    }\n\n    if (path) {\n      // Protocol relative url\n      if (/^\\/\\//.test(path) || /http(s)?:\\/\\//.test(path)) {\n        // Do nothing, the full host is already included.\n        return path;\n\n        // Absolute path\n      } else if (path.charAt(0) === '/') {\n        return '' + host + path;\n        // Relative path\n      } else {\n        return parentURL + '/' + path;\n      }\n    }\n\n    // No path provided\n    var url = [];\n    if (host) {\n      url.push(host);\n    }\n    if (namespace) {\n      url.push(namespace);\n    }\n    return url.join('/');\n  },\n\n\n  /**\n    Determines the pathname for a given type.\n     By default, it pluralizes the type's name (for example,\n    'post' becomes 'posts' and 'person' becomes 'people').\n     ### Pathname customization\n     For example if you have an object LineItem with an\n    endpoint of \"/line_items/\".\n     ```app/adapters/application.js\n    import DS from 'ember-data';\n     export default DS.RESTAdapter.extend({\n      pathForType: function(modelName) {\n        var decamelized = Ember.String.decamelize(modelName);\n        return Ember.String.pluralize(decamelized);\n      }\n    });\n    ```\n     @method pathForType\n    @param {String} modelName\n    @return {String} path\n  **/\n  pathForType: function pathForType(modelName) {\n    var camelized = Ember.String.camelize(modelName);\n    return Ember.String.pluralize(camelized);\n  }\n});\n\nvar CLRF = '\\r\\n';\n\nfunction parseResponseHeaders(headersString) {\n  var headers = Object.create(null);\n\n  if (!headersString) {\n    return headers;\n  }\n\n  var headerPairs = headersString.split(CLRF);\n  for (var i = 0; i < headerPairs.length; i++) {\n    var header = headerPairs[i];\n    var j = 0;\n    var foundSep = false;\n\n    for (; j < header.length; j++) {\n      if (header.charCodeAt(j) === 58 /* ':' */) {\n          foundSep = true;\n          break;\n        }\n    }\n\n    if (foundSep === false) {\n      continue;\n    }\n\n    var field = header.substring(0, j).trim();\n    var value = header.substring(j + 1, header.length).trim();\n\n    if (value) {\n      headers[field] = value;\n    }\n  }\n\n  return headers;\n}\n\nvar _typeof$8 = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n/* globals global, window, self */\n\n// originally from https://github.com/emberjs/ember.js/blob/c0bd26639f50efd6a03ee5b87035fd200e313b8e/packages/ember-environment/lib/global.js\n\n// from lodash to catch fake globals\nfunction checkGlobal(value) {\n  return value && value.Object === Object ? value : undefined;\n}\n\n// element ids can ruin global miss checks\nfunction checkElementIdShadowing(value) {\n  return value && value.nodeType === undefined ? value : undefined;\n}\n\n// export real global\nvar global$1 = checkGlobal(checkElementIdShadowing((typeof global === 'undefined' ? 'undefined' : _typeof$8(global)) === 'object' && global)) || checkGlobal((typeof self === 'undefined' ? 'undefined' : _typeof$8(self)) === 'object' && self) || checkGlobal((typeof window === 'undefined' ? 'undefined' : _typeof$8(window)) === 'object' && window) || new Function('return this')(); // eval outside of strict mode\n\n/**\n  @module ember-data\n*/\nvar capitalize = Ember.String.capitalize;\nvar underscore = Ember.String.underscore;\nvar assert$1 = Ember.assert;\nvar get$16 = Ember.get;\n\n/*\n  Extend `Ember.DataAdapter` with ED specific code.\n\n  @class DebugAdapter\n  @namespace DS\n  @extends Ember.DataAdapter\n  @private\n*/\n\nvar debugAdapter = Ember.DataAdapter.extend({\n  getFilters: function getFilters() {\n    return [{ name: 'isNew', desc: 'New' }, { name: 'isModified', desc: 'Modified' }, { name: 'isClean', desc: 'Clean' }];\n  },\n  detect: function detect(typeClass) {\n    return typeClass !== Model && Model.detect(typeClass);\n  },\n  columnsForType: function columnsForType(typeClass) {\n    var columns = [{\n      name: 'id',\n      desc: 'Id'\n    }];\n    var count = 0;\n    var self = this;\n    get$16(typeClass, 'attributes').forEach(function (meta, name) {\n      if (count++ > self.attributeLimit) {\n        return false;\n      }\n      var desc = capitalize(underscore(name).replace('_', ' '));\n      columns.push({ name: name, desc: desc });\n    });\n    return columns;\n  },\n  getRecords: function getRecords(modelClass, modelName) {\n    if (arguments.length < 2) {\n      // Legacy Ember.js < 1.13 support\n      var containerKey = modelClass._debugContainerKey;\n      if (containerKey) {\n        var match = containerKey.match(/model:(.*)/);\n        if (match) {\n          modelName = match[1];\n        }\n      }\n    }\n    assert$1(\"Cannot find model name. Please upgrade to Ember.js >= 1.13 for Ember Inspector support\", !!modelName);\n    return this.get('store').peekAll(modelName);\n  },\n  getRecordColumnValues: function getRecordColumnValues(record) {\n    var _this = this;\n\n    var count = 0;\n    var columnValues = { id: get$16(record, 'id') };\n\n    record.eachAttribute(function (key) {\n      if (count++ > _this.attributeLimit) {\n        return false;\n      }\n      columnValues[key] = get$16(record, key);\n    });\n    return columnValues;\n  },\n  getRecordKeywords: function getRecordKeywords(record) {\n    var keywords = [];\n    var keys = Ember.A(['id']);\n    record.eachAttribute(function (key) {\n      return keys.push(key);\n    });\n    keys.forEach(function (key) {\n      return keywords.push(get$16(record, key));\n    });\n    return keywords;\n  },\n  getRecordFilterValues: function getRecordFilterValues(record) {\n    return {\n      isNew: record.get('isNew'),\n      isModified: record.get('hasDirtyAttributes') && !record.get('isNew'),\n      isClean: !record.get('hasDirtyAttributes')\n    };\n  },\n  getRecordColor: function getRecordColor(record) {\n    var color = 'black';\n    if (record.get('isNew')) {\n      color = 'green';\n    } else if (record.get('hasDirtyAttributes')) {\n      color = 'blue';\n    }\n    return color;\n  },\n  observeRecord: function observeRecord(record, recordUpdated) {\n    var releaseMethods = Ember.A();\n    var keysToObserve = Ember.A(['id', 'isNew', 'hasDirtyAttributes']);\n\n    record.eachAttribute(function (key) {\n      return keysToObserve.push(key);\n    });\n    var adapter = this;\n\n    keysToObserve.forEach(function (key) {\n      var handler = function handler() {\n        recordUpdated(adapter.wrapRecord(record));\n      };\n      Ember.addObserver(record, key, handler);\n      releaseMethods.push(function () {\n        Ember.removeObserver(record, key, handler);\n      });\n    });\n\n    var release = function release() {\n      releaseMethods.forEach(function (fn) {\n        return fn();\n      });\n    };\n\n    return release;\n  }\n});\n\n// public\n\nexports.Model = Model;\nexports.Errors = Errors;\nexports.Store = Store$1;\nexports.DS = DS;\nexports.belongsTo = belongsTo;\nexports.hasMany = hasMany;\nexports.BuildURLMixin = buildUrlMixin;\nexports.Snapshot = Snapshot;\nexports.AdapterError = AdapterError;\nexports.InvalidError = InvalidError;\nexports.UnauthorizedError = UnauthorizedError;\nexports.ForbiddenError = ForbiddenError;\nexports.NotFoundError = NotFoundError;\nexports.ConflictError = ConflictError;\nexports.ServerError = ServerError;\nexports.TimeoutError = TimeoutError;\nexports.AbortError = AbortError;\nexports.errorsHashToArray = errorsHashToArray;\nexports.errorsArrayToHash = errorsArrayToHash;\nexports.normalizeModelName = normalizeModelName;\nexports.getOwner = getOwner;\nexports.modelHasAttributeOrRelationshipNamedType = modelHasAttributeOrRelationshipNamedType;\nexports.coerceId = coerceId;\nexports.parseResponseHeaders = parseResponseHeaders;\nexports.global = global$1;\nexports.isEnabled = isEnabled;\nexports.RootState = RootState$1;\nexports.InternalModel = InternalModel;\nexports.ContainerInstanceCache = ContainerInstanceCache;\nexports.PromiseArray = PromiseArray;\nexports.PromiseObject = PromiseObject;\nexports.PromiseManyArray = PromiseManyArray;\nexports.RecordArray = RecordArray;\nexports.FilteredRecordArray = FilteredRecordArray;\nexports.AdapterPopulatedRecordArray = AdapterPopulatedRecordArray;\nexports.ManyArray = ManyArray;\nexports.RecordArrayManager = RecordArrayManager;\nexports.Relationship = Relationship;\nexports.DebugAdapter = debugAdapter;\nexports.diffArray = diffArray;\nexports.RelationshipPayloadsManager = RelationshipPayloadsManager;\nexports.RelationshipPayloads = RelationshipPayloads;\nexports.SnapshotRecordArray = SnapshotRecordArray;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n});\n","define('ember-data/adapter', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _ember.default.Object.extend({\n\n    /**\n      If you would like your adapter to use a custom serializer you can\n      set the `defaultSerializer` property to be the name of the custom\n      serializer.\n       Note the `defaultSerializer` serializer has a lower priority than\n      a model specific serializer (i.e. `PostSerializer`) or the\n      `application` serializer.\n       ```app/adapters/django.js\n      import DS from 'ember-data';\n       export default DS.Adapter.extend({\n        defaultSerializer: 'django'\n      });\n      ```\n       @property defaultSerializer\n      @type {String}\n    */\n    defaultSerializer: '-default',\n\n    /**\n      The `findRecord()` method is invoked when the store is asked for a record that\n      has not previously been loaded. In response to `findRecord()` being called, you\n      should query your persistence layer for a record with the given ID. The `findRecord`\n      method should return a promise that will resolve to a JavaScript object that will be\n      normalized by the serializer.\n       Here is an example `findRecord` implementation:\n       ```app/adapters/application.js\n      import Ember from 'ember';\n      import DS from 'ember-data';\n       export default DS.Adapter.extend({\n        findRecord(store, type, id, snapshot) {\n          return new Ember.RSVP.Promise(function(resolve, reject) {\n            Ember.$.getJSON(`/${type.modelName}/${id}`).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method findRecord\n      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {String} id\n      @param {DS.Snapshot} snapshot\n      @return {Promise} promise\n    */\n    findRecord: null,\n\n    /**\n      The `findAll()` method is used to retrieve all records for a given type.\n       Example\n       ```app/adapters/application.js\n      import Ember from 'ember';\n      import DS from 'ember-data';\n       export default DS.Adapter.extend({\n        findAll(store, type, sinceToken) {\n          let query = { since: sinceToken };\n           return new Ember.RSVP.Promise(function(resolve, reject) {\n            Ember.$.getJSON(`/${type.modelName}`, query).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method findAll\n      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {String} sinceToken\n      @param {DS.SnapshotRecordArray} snapshotRecordArray\n      @return {Promise} promise\n    */\n    findAll: null,\n\n    /**\n      This method is called when you call `query` on the store.\n       Example\n       ```app/adapters/application.js\n      import Ember from 'ember';\n      import DS from 'ember-data';\n       export default DS.Adapter.extend({\n        query(store, type, query) {\n          return new Ember.RSVP.Promise(function(resolve, reject) {\n            Ember.$.getJSON(`/${type.modelName}`, query).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method query\n      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {Object} query\n      @param {DS.AdapterPopulatedRecordArray} recordArray\n      @return {Promise} promise\n    */\n    query: null,\n\n    /**\n      The `queryRecord()` method is invoked when the store is asked for a single\n      record through a query object.\n       In response to `queryRecord()` being called, you should always fetch fresh\n      data. Once found, you can asynchronously call the store's `push()` method\n      to push the record into the store.\n       Here is an example `queryRecord` implementation:\n       Example\n       ```app/adapters/application.js\n      import Ember from 'ember';\n      import DS from 'ember-data';\n       export default DS.Adapter.extend(DS.BuildURLMixin, {\n        queryRecord(store, type, query) {\n          return new Ember.RSVP.Promise(function(resolve, reject) {\n            Ember.$.getJSON(`/${type.modelName}`, query).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method queryRecord\n      @param {DS.Store} store\n      @param {subclass of DS.Model} type\n      @param {Object} query\n      @return {Promise} promise\n    */\n    queryRecord: null,\n\n    /**\n      If the globally unique IDs for your records should be generated on the client,\n      implement the `generateIdForRecord()` method. This method will be invoked\n      each time you create a new record, and the value returned from it will be\n      assigned to the record's `primaryKey`.\n       Most traditional REST-like HTTP APIs will not use this method. Instead, the ID\n      of the record will be set by the server, and your adapter will update the store\n      with the new ID when it calls `didCreateRecord()`. Only implement this method if\n      you intend to generate record IDs on the client-side.\n       The `generateIdForRecord()` method will be invoked with the requesting store as\n      the first parameter and the newly created record as the second parameter:\n       ```javascript\n      import DS from 'ember-data';\n      import { v4 } from 'uuid';\n       export default DS.Adapter.extend({\n        generateIdForRecord(store, inputProperties) {\n          return v4();\n        }\n      });\n      ```\n       @method generateIdForRecord\n      @param {DS.Store} store\n      @param {DS.Model} type   the DS.Model class of the record\n      @param {Object} inputProperties a hash of properties to set on the\n        newly created record.\n      @return {(String|Number)} id\n    */\n    generateIdForRecord: null,\n\n    /**\n      Proxies to the serializer's `serialize` method.\n       Example\n       ```app/adapters/application.js\n      import DS from 'ember-data';\n       export default DS.Adapter.extend({\n        createRecord(store, type, snapshot) {\n          let data = this.serialize(snapshot, { includeId: true });\n          let url = `/${type.modelName}`;\n           // ...\n        }\n      });\n      ```\n       @method serialize\n      @param {DS.Snapshot} snapshot\n      @param {Object}   options\n      @return {Object} serialized snapshot\n    */\n    serialize: function serialize(snapshot, options) {\n      return snapshot.serialize(options);\n    },\n\n\n    /**\n      Implement this method in a subclass to handle the creation of\n      new records.\n       Serializes the record and sends it to the server.\n       Example\n       ```app/adapters/application.js\n      import Ember from 'ember';\n      import DS from 'ember-data';\n       export default DS.Adapter.extend({\n        createRecord(store, type, snapshot) {\n          let data = this.serialize(snapshot, { includeId: true });\n           return new Ember.RSVP.Promise(function(resolve, reject) {\n            Ember.$.ajax({\n              type: 'POST',\n              url: `/${type.modelName}`,\n              dataType: 'json',\n              data: data\n            }).then(function(data) {\n              Ember.run(null, resolve, data);\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              Ember.run(null, reject, jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method createRecord\n      @param {DS.Store} store\n      @param {DS.Model} type   the DS.Model class of the record\n      @param {DS.Snapshot} snapshot\n      @return {Promise} promise\n    */\n    createRecord: null,\n\n    /**\n      Implement this method in a subclass to handle the updating of\n      a record.\n       Serializes the record update and sends it to the server.\n       The updateRecord method is expected to return a promise that will\n      resolve with the serialized record. This allows the backend to\n      inform the Ember Data store the current state of this record after\n      the update. If it is not possible to return a serialized record\n      the updateRecord promise can also resolve with `undefined` and the\n      Ember Data store will assume all of the updates were successfully\n      applied on the backend.\n       Example\n       ```app/adapters/application.js\n      import Ember from 'ember';\n      import DS from 'ember-data';\n       export default DS.Adapter.extend({\n        updateRecord(store, type, snapshot) {\n          let data = this.serialize(snapshot, { includeId: true });\n          let id = snapshot.id;\n           return new Ember.RSVP.Promise(function(resolve, reject) {\n            Ember.$.ajax({\n              type: 'PUT',\n              url: `/${type.modelName}/${id}`,\n              dataType: 'json',\n              data: data\n            }).then(function(data) {\n              Ember.run(null, resolve, data);\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              Ember.run(null, reject, jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method updateRecord\n      @param {DS.Store} store\n      @param {DS.Model} type   the DS.Model class of the record\n      @param {DS.Snapshot} snapshot\n      @return {Promise} promise\n    */\n    updateRecord: null,\n\n    /**\n      Implement this method in a subclass to handle the deletion of\n      a record.\n       Sends a delete request for the record to the server.\n       Example\n       ```app/adapters/application.js\n      import Ember from 'ember';\n      import DS from 'ember-data';\n       export default DS.Adapter.extend({\n        deleteRecord(store, type, snapshot) {\n          let data = this.serialize(snapshot, { includeId: true });\n          let id = snapshot.id;\n           return new Ember.RSVP.Promise(function(resolve, reject) {\n            Ember.$.ajax({\n              type: 'DELETE',\n              url: `/${type.modelName}/${id}`,\n              dataType: 'json',\n              data: data\n            }).then(function(data) {\n              Ember.run(null, resolve, data);\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              Ember.run(null, reject, jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method deleteRecord\n      @param {DS.Store} store\n      @param {DS.Model} type   the DS.Model class of the record\n      @param {DS.Snapshot} snapshot\n      @return {Promise} promise\n    */\n    deleteRecord: null,\n\n    /**\n      By default the store will try to coalesce all `fetchRecord` calls within the same runloop\n      into as few requests as possible by calling groupRecordsForFindMany and passing it into a findMany call.\n      You can opt out of this behaviour by either not implementing the findMany hook or by setting\n      coalesceFindRequests to false.\n       @property coalesceFindRequests\n      @type {boolean}\n    */\n    coalesceFindRequests: true,\n\n    /**\n      The store will call `findMany` instead of multiple `findRecord`\n      requests to find multiple records at once if coalesceFindRequests\n      is true.\n       ```app/adapters/application.js\n      import Ember from 'ember';\n      import DS from 'ember-data';\n       export default DS.Adapter.extend({\n        findMany(store, type, ids, snapshots) {\n          return new Ember.RSVP.Promise(function(resolve, reject) {\n            Ember.$.ajax({\n              type: 'GET',\n              url: `/${type.modelName}/`,\n              dataType: 'json',\n              data: { filter: { id: ids.join(',') } }\n            }).then(function(data) {\n              Ember.run(null, resolve, data);\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              Ember.run(null, reject, jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method findMany\n      @param {DS.Store} store\n      @param {DS.Model} type   the DS.Model class of the records\n      @param {Array}    ids\n      @param {Array} snapshots\n      @return {Promise} promise\n    */\n    findMany: null,\n\n    /**\n      Organize records into groups, each of which is to be passed to separate\n      calls to `findMany`.\n       For example, if your api has nested URLs that depend on the parent, you will\n      want to group records by their parent.\n       The default implementation returns the records as a single group.\n       @method groupRecordsForFindMany\n      @param {DS.Store} store\n      @param {Array} snapshots\n      @return {Array}  an array of arrays of records, each of which is to be\n                        loaded separately by `findMany`.\n    */\n    groupRecordsForFindMany: function groupRecordsForFindMany(store, snapshots) {\n      return [snapshots];\n    },\n\n\n    /**\n      This method is used by the store to determine if the store should\n      reload a record from the adapter when a record is requested by\n      `store.findRecord`.\n       If this method returns `true`, the store will re-fetch a record from\n      the adapter. If this method returns `false`, the store will resolve\n      immediately using the cached record.\n       For example, if you are building an events ticketing system, in which users\n      can only reserve tickets for 20 minutes at a time, and want to ensure that\n      in each route you have data that is no more than 20 minutes old you could\n      write:\n       ```javascript\n      shouldReloadRecord(store, ticketSnapshot) {\n        let lastAccessedAt = ticketSnapshot.attr('lastAccessedAt');\n        let timeDiff = moment().diff(lastAccessedAt, 'minutes');\n         if (timeDiff > 20) {\n          return true;\n        } else {\n          return false;\n        }\n      }\n      ```\n       This method would ensure that whenever you do `store.findRecord('ticket',\n      id)` you will always get a ticket that is no more than 20 minutes old. In\n      case the cached version is more than 20 minutes old, `findRecord` will not\n      resolve until you fetched the latest version.\n       By default this hook returns `false`, as most UIs should not block user\n      interactions while waiting on data update.\n       Note that, with default settings, `shouldBackgroundReloadRecord` will always\n      re-fetch the records in the background even if `shouldReloadRecord` returns\n      `false`. You can override `shouldBackgroundReloadRecord` if this does not\n      suit your use case.\n       @since 1.13.0\n      @method shouldReloadRecord\n      @param {DS.Store} store\n      @param {DS.Snapshot} snapshot\n      @return {Boolean}\n    */\n    shouldReloadRecord: function shouldReloadRecord(store, snapshot) {\n      return false;\n    },\n\n\n    /**\n      This method is used by the store to determine if the store should\n      reload all records from the adapter when records are requested by\n      `store.findAll`.\n       If this method returns `true`, the store will re-fetch all records from\n      the adapter. If this method returns `false`, the store will resolve\n      immediately using the cached records.\n       For example, if you are building an events ticketing system, in which users\n      can only reserve tickets for 20 minutes at a time, and want to ensure that\n      in each route you have data that is no more than 20 minutes old you could\n      write:\n       ```javascript\n      shouldReloadAll(store, snapshotArray) {\n        let snapshots = snapshotArray.snapshots();\n         return snapshots.any((ticketSnapshot) => {\n          let lastAccessedAt = ticketSnapshot.attr('lastAccessedAt');\n          let timeDiff = moment().diff(lastAccessedAt, 'minutes');\n           if (timeDiff > 20) {\n            return true;\n          } else {\n            return false;\n          }\n        });\n      }\n      ```\n       This method would ensure that whenever you do `store.findAll('ticket')` you\n      will always get a list of tickets that are no more than 20 minutes old. In\n      case a cached version is more than 20 minutes old, `findAll` will not\n      resolve until you fetched the latest versions.\n       By default this methods returns `true` if the passed `snapshotRecordArray`\n      is empty (meaning that there are no records locally available yet),\n      otherwise it returns `false`.\n       Note that, with default settings, `shouldBackgroundReloadAll` will always\n      re-fetch all the records in the background even if `shouldReloadAll` returns\n      `false`. You can override `shouldBackgroundReloadAll` if this does not suit\n      your use case.\n       @since 1.13.0\n      @method shouldReloadAll\n      @param {DS.Store} store\n      @param {DS.SnapshotRecordArray} snapshotRecordArray\n      @return {Boolean}\n    */\n    shouldReloadAll: function shouldReloadAll(store, snapshotRecordArray) {\n      return !snapshotRecordArray.length;\n    },\n\n\n    /**\n      This method is used by the store to determine if the store should\n      reload a record after the `store.findRecord` method resolves a\n      cached record.\n       This method is *only* checked by the store when the store is\n      returning a cached record.\n       If this method returns `true` the store will re-fetch a record from\n      the adapter.\n       For example, if you do not want to fetch complex data over a mobile\n      connection, or if the network is down, you can implement\n      `shouldBackgroundReloadRecord` as follows:\n       ```javascript\n      shouldBackgroundReloadRecord(store, snapshot) {\n        let connection = window.navigator.connection;\n         if (connection === 'cellular' || connection === 'none') {\n          return false;\n        } else {\n          return true;\n        }\n      }\n      ```\n       By default this hook returns `true` so the data for the record is updated\n      in the background.\n       @since 1.13.0\n      @method shouldBackgroundReloadRecord\n      @param {DS.Store} store\n      @param {DS.Snapshot} snapshot\n      @return {Boolean}\n    */\n    shouldBackgroundReloadRecord: function shouldBackgroundReloadRecord(store, snapshot) {\n      return true;\n    },\n\n\n    /**\n      This method is used by the store to determine if the store should\n      reload a record array after the `store.findAll` method resolves\n      with a cached record array.\n       This method is *only* checked by the store when the store is\n      returning a cached record array.\n       If this method returns `true` the store will re-fetch all records\n      from the adapter.\n       For example, if you do not want to fetch complex data over a mobile\n      connection, or if the network is down, you can implement\n      `shouldBackgroundReloadAll` as follows:\n       ```javascript\n      shouldBackgroundReloadAll(store, snapshotArray) {\n        let connection = window.navigator.connection;\n         if (connection === 'cellular' || connection === 'none') {\n          return false;\n        } else {\n          return true;\n        }\n      }\n      ```\n       By default this method returns `true`, indicating that a background reload\n      should always be triggered.\n       @since 1.13.0\n      @method shouldBackgroundReloadAll\n      @param {DS.Store} store\n      @param {DS.SnapshotRecordArray} snapshotRecordArray\n      @return {Boolean}\n    */\n    shouldBackgroundReloadAll: function shouldBackgroundReloadAll(store, snapshotRecordArray) {\n      return true;\n    }\n  });\n});","define('ember-data/adapters/errors', ['exports', 'ember-data/-private'], function (exports, _private) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'AdapterError', {\n    enumerable: true,\n    get: function () {\n      return _private.AdapterError;\n    }\n  });\n  Object.defineProperty(exports, 'InvalidError', {\n    enumerable: true,\n    get: function () {\n      return _private.InvalidError;\n    }\n  });\n  Object.defineProperty(exports, 'UnauthorizedError', {\n    enumerable: true,\n    get: function () {\n      return _private.UnauthorizedError;\n    }\n  });\n  Object.defineProperty(exports, 'ForbiddenError', {\n    enumerable: true,\n    get: function () {\n      return _private.ForbiddenError;\n    }\n  });\n  Object.defineProperty(exports, 'NotFoundError', {\n    enumerable: true,\n    get: function () {\n      return _private.NotFoundError;\n    }\n  });\n  Object.defineProperty(exports, 'ConflictError', {\n    enumerable: true,\n    get: function () {\n      return _private.ConflictError;\n    }\n  });\n  Object.defineProperty(exports, 'ServerError', {\n    enumerable: true,\n    get: function () {\n      return _private.ServerError;\n    }\n  });\n  Object.defineProperty(exports, 'TimeoutError', {\n    enumerable: true,\n    get: function () {\n      return _private.TimeoutError;\n    }\n  });\n  Object.defineProperty(exports, 'AbortError', {\n    enumerable: true,\n    get: function () {\n      return _private.AbortError;\n    }\n  });\n  Object.defineProperty(exports, 'errorsHashToArray', {\n    enumerable: true,\n    get: function () {\n      return _private.errorsHashToArray;\n    }\n  });\n  Object.defineProperty(exports, 'errorsArrayToHash', {\n    enumerable: true,\n    get: function () {\n      return _private.errorsArrayToHash;\n    }\n  });\n});","define('ember-data/adapters/json-api', ['exports', 'ember', 'ember-data/adapters/rest', 'ember-data/-private', 'ember-data/-debug'], function (exports, _ember, _rest, _private, _debug) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  /**\n    The `JSONAPIAdapter` is the default adapter used by Ember Data. It\n    is responsible for transforming the store's requests into HTTP\n    requests that follow the [JSON API](http://jsonapi.org/format/)\n    format.\n  \n    ## JSON API Conventions\n  \n    The JSONAPIAdapter uses JSON API conventions for building the url\n    for a record and selecting the HTTP verb to use with a request. The\n    actions you can take on a record map onto the following URLs in the\n    JSON API adapter:\n  \n  <table>\n    <tr>\n      <th>\n        Action\n      </th>\n      <th>\n        HTTP Verb\n      </th>\n      <th>\n        URL\n      </th>\n    </tr>\n    <tr>\n      <th>\n        `store.findRecord('post', 123)`\n      </th>\n      <td>\n        GET\n      </td>\n      <td>\n        /posts/123\n      </td>\n    </tr>\n    <tr>\n      <th>\n        `store.findAll('post')`\n      </th>\n      <td>\n        GET\n      </td>\n      <td>\n        /posts\n      </td>\n    </tr>\n    <tr>\n      <th>\n        Update `postRecord.save()`\n      </th>\n      <td>\n        PATCH\n      </td>\n      <td>\n        /posts/123\n      </td>\n    </tr>\n    <tr>\n      <th>\n        Create `store.createRecord('post').save()`\n      </th>\n      <td>\n        POST\n      </td>\n      <td>\n        /posts\n      </td>\n    </tr>\n    <tr>\n      <th>\n        Delete `postRecord.destroyRecord()`\n      </th>\n      <td>\n        DELETE\n      </td>\n      <td>\n        /posts/123\n      </td>\n    </tr>\n  </table>\n  \n    ## Success and failure\n  \n    The JSONAPIAdapter will consider a success any response with a\n    status code of the 2xx family (\"Success\"), as well as 304 (\"Not\n    Modified\"). Any other status code will be considered a failure.\n  \n    On success, the request promise will be resolved with the full\n    response payload.\n  \n    Failed responses with status code 422 (\"Unprocessable Entity\") will\n    be considered \"invalid\". The response will be discarded, except for\n    the `errors` key. The request promise will be rejected with a\n    `DS.InvalidError`. This error object will encapsulate the saved\n    `errors` value.\n  \n    Any other status codes will be treated as an adapter error. The\n    request promise will be rejected, similarly to the invalid case,\n    but with an instance of `DS.AdapterError` instead.\n  \n    ### Endpoint path customization\n  \n    Endpoint paths can be prefixed with a `namespace` by setting the\n    namespace property on the adapter:\n  \n    ```app/adapters/application.js\n    import DS from 'ember-data';\n  \n    export default DS.JSONAPIAdapter.extend({\n      namespace: 'api/1'\n    });\n    ```\n    Requests for the `person` model would now target `/api/1/people/1`.\n  \n    ### Host customization\n  \n    An adapter can target other hosts by setting the `host` property.\n  \n    ```app/adapters/application.js\n    import DS from 'ember-data';\n  \n    export default DS.JSONAPIAdapter.extend({\n      host: 'https://api.example.com'\n    });\n    ```\n  \n    Requests for the `person` model would now target\n    `https://api.example.com/people/1`.\n  \n    @since 1.13.0\n    @class JSONAPIAdapter\n    @constructor\n    @namespace DS\n    @extends DS.RESTAdapter\n  */\n  /* global heimdall */\n  /**\n    @module ember-data\n  */\n\n  var JSONAPIAdapter = _rest.default.extend({\n    defaultSerializer: '-json-api',\n\n    ajaxOptions: function ajaxOptions(url, type, options) {\n      var hash = this._super.apply(this, arguments);\n\n      if (hash.contentType) {\n        hash.contentType = 'application/vnd.api+json';\n      }\n\n      var beforeSend = hash.beforeSend;\n      hash.beforeSend = function (xhr) {\n        xhr.setRequestHeader('Accept', 'application/vnd.api+json');\n        if (beforeSend) {\n          beforeSend(xhr);\n        }\n      };\n\n      return hash;\n    },\n\n\n    /**\n      By default the JSONAPIAdapter will send each find request coming from a `store.find`\n      or from accessing a relationship separately to the server. If your server supports passing\n      ids as a query string, you can set coalesceFindRequests to true to coalesce all find requests\n      within a single runloop.\n       For example, if you have an initial payload of:\n       ```javascript\n      {\n        data: {\n          id: 1,\n          type: 'post',\n          relationship: {\n            comments: {\n              data: [\n                { id: 1, type: 'comment' },\n                { id: 2, type: 'comment' }\n              ]\n            }\n          }\n        }\n      }\n      ```\n       By default calling `post.get('comments')` will trigger the following requests(assuming the\n      comments haven't been loaded before):\n       ```\n      GET /comments/1\n      GET /comments/2\n      ```\n       If you set coalesceFindRequests to `true` it will instead trigger the following request:\n       ```\n      GET /comments?filter[id]=1,2\n      ```\n       Setting coalesceFindRequests to `true` also works for `store.find` requests and `belongsTo`\n      relationships accessed within the same runloop. If you set `coalesceFindRequests: true`\n       ```javascript\n      store.findRecord('comment', 1);\n      store.findRecord('comment', 2);\n      ```\n       will also send a request to: `GET /comments?filter[id]=1,2`\n       Note: Requests coalescing rely on URL building strategy. So if you override `buildURL` in your app\n      `groupRecordsForFindMany` more likely should be overridden as well in order for coalescing to work.\n       @property coalesceFindRequests\n      @type {boolean}\n    */\n    coalesceFindRequests: false,\n\n    findMany: function findMany(store, type, ids, snapshots) {\n      if ((0, _private.isEnabled)('ds-improved-ajax') && !this._hasCustomizedAjax()) {\n        return this._super.apply(this, arguments);\n      } else {\n        var url = this.buildURL(type.modelName, ids, snapshots, 'findMany');\n        return this.ajax(url, 'GET', { data: { filter: { id: ids.join(',') } } });\n      }\n    },\n    pathForType: function pathForType(modelName) {\n      var dasherized = _ember.default.String.dasherize(modelName);\n      return _ember.default.String.pluralize(dasherized);\n    },\n    updateRecord: function updateRecord(store, type, snapshot) {\n      if ((0, _private.isEnabled)('ds-improved-ajax') && !this._hasCustomizedAjax()) {\n        return this._super.apply(this, arguments);\n      } else {\n        var data = {};\n        var serializer = store.serializerFor(type.modelName);\n\n        serializer.serializeIntoHash(data, type, snapshot, { includeId: true });\n\n        var url = this.buildURL(type.modelName, snapshot.id, snapshot, 'updateRecord');\n\n        return this.ajax(url, 'PATCH', { data: data });\n      }\n    },\n    _hasCustomizedAjax: function _hasCustomizedAjax() {\n      if (this.ajax !== JSONAPIAdapter.prototype.ajax) {\n        (0, _debug.deprecate)('JSONAPIAdapter#ajax has been deprecated please use. `methodForRequest`, `urlForRequest`, `headersForRequest` or `dataForRequest` instead.', false, {\n          id: 'ds.json-api-adapter.ajax',\n          until: '3.0.0'\n        });\n        return true;\n      }\n\n      if (this.ajaxOptions !== JSONAPIAdapter.prototype.ajaxOptions) {\n        (0, _debug.deprecate)('JSONAPIAdapterr#ajaxOptions has been deprecated please use. `methodForRequest`, `urlForRequest`, `headersForRequest` or `dataForRequest` instead.', false, {\n          id: 'ds.json-api-adapter.ajax-options',\n          until: '3.0.0'\n        });\n        return true;\n      }\n\n      return false;\n    }\n  });\n\n  if ((0, _private.isEnabled)('ds-improved-ajax')) {\n\n    JSONAPIAdapter.reopen({\n      methodForRequest: function methodForRequest(params) {\n        if (params.requestType === 'updateRecord') {\n          return 'PATCH';\n        }\n\n        return this._super.apply(this, arguments);\n      },\n      dataForRequest: function dataForRequest(params) {\n        var requestType = params.requestType,\n            ids = params.ids;\n\n\n        if (requestType === 'findMany') {\n          return {\n            filter: { id: ids.join(',') }\n          };\n        }\n\n        if (requestType === 'updateRecord') {\n          var store = params.store,\n              type = params.type,\n              snapshot = params.snapshot;\n\n          var data = {};\n          var serializer = store.serializerFor(type.modelName);\n\n          serializer.serializeIntoHash(data, type, snapshot, { includeId: true });\n\n          return data;\n        }\n\n        return this._super.apply(this, arguments);\n      },\n      headersForRequest: function headersForRequest() {\n        var headers = this._super.apply(this, arguments) || {};\n\n        headers['Accept'] = 'application/vnd.api+json';\n\n        return headers;\n      },\n      _requestToJQueryAjaxHash: function _requestToJQueryAjaxHash() {\n        var hash = this._super.apply(this, arguments);\n\n        if (hash.contentType) {\n          hash.contentType = 'application/vnd.api+json';\n        }\n\n        return hash;\n      }\n    });\n  }\n\n  exports.default = JSONAPIAdapter;\n});","define('ember-data/adapters/rest', ['exports', 'ember', 'ember-data/adapter', 'ember-data/-private', 'ember-data/-debug'], function (exports, _ember, _adapter, _private, _debug) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  var MapWithDefault = _ember.default.MapWithDefault,\n      get = _ember.default.get;\n\n\n  var Promise = _ember.default.RSVP.Promise;\n\n  /**\n    The REST adapter allows your store to communicate with an HTTP server by\n    transmitting JSON via XHR. Most Ember.js apps that consume a JSON API\n    should use the REST adapter.\n  \n    This adapter is designed around the idea that the JSON exchanged with\n    the server should be conventional.\n  \n    ## Success and failure\n  \n    The REST adapter will consider a success any response with a status code\n    of the 2xx family (\"Success\"), as well as 304 (\"Not Modified\"). Any other\n    status code will be considered a failure.\n  \n    On success, the request promise will be resolved with the full response\n    payload.\n  \n    Failed responses with status code 422 (\"Unprocessable Entity\") will be\n    considered \"invalid\". The response will be discarded, except for the\n    `errors` key. The request promise will be rejected with a `DS.InvalidError`.\n    This error object will encapsulate the saved `errors` value.\n  \n    Any other status codes will be treated as an \"adapter error\". The request\n    promise will be rejected, similarly to the \"invalid\" case, but with\n    an instance of `DS.AdapterError` instead.\n  \n    ## JSON Structure\n  \n    The REST adapter expects the JSON returned from your server to follow\n    these conventions.\n  \n    ### Object Root\n  \n    The JSON payload should be an object that contains the record inside a\n    root property. For example, in response to a `GET` request for\n    `/posts/1`, the JSON should look like this:\n  \n    ```js\n    {\n      \"posts\": {\n        \"id\": 1,\n        \"title\": \"I'm Running to Reform the W3C's Tag\",\n        \"author\": \"Yehuda Katz\"\n      }\n    }\n    ```\n  \n    Similarly, in response to a `GET` request for `/posts`, the JSON should\n    look like this:\n  \n    ```js\n    {\n      \"posts\": [\n        {\n          \"id\": 1,\n          \"title\": \"I'm Running to Reform the W3C's Tag\",\n          \"author\": \"Yehuda Katz\"\n        },\n        {\n          \"id\": 2,\n          \"title\": \"Rails is omakase\",\n          \"author\": \"D2H\"\n        }\n      ]\n    }\n    ```\n  \n    Note that the object root can be pluralized for both a single-object response\n    and an array response: the REST adapter is not strict on this. Further, if the\n    HTTP server responds to a `GET` request to `/posts/1` (e.g. the response to a\n    `findRecord` query) with more than one object in the array, Ember Data will\n    only display the object with the matching ID.\n  \n    ### Conventional Names\n  \n    Attribute names in your JSON payload should be the camelCased versions of\n    the attributes in your Ember.js models.\n  \n    For example, if you have a `Person` model:\n  \n    ```app/models/person.js\n    import DS from 'ember-data';\n  \n    export default DS.Model.extend({\n      firstName: DS.attr('string'),\n      lastName: DS.attr('string'),\n      occupation: DS.attr('string')\n    });\n    ```\n  \n    The JSON returned should look like this:\n  \n    ```js\n    {\n      \"people\": {\n        \"id\": 5,\n        \"firstName\": \"Zaphod\",\n        \"lastName\": \"Beeblebrox\",\n        \"occupation\": \"President\"\n      }\n    }\n    ```\n  \n    #### Relationships\n  \n    Relationships are usually represented by ids to the record in the\n    relationship. The related records can then be sideloaded in the\n    response under a key for the type.\n  \n    ```js\n    {\n      \"posts\": {\n        \"id\": 5,\n        \"title\": \"I'm Running to Reform the W3C's Tag\",\n        \"author\": \"Yehuda Katz\",\n        \"comments\": [1, 2]\n      },\n      \"comments\": [{\n        \"id\": 1,\n        \"author\": \"User 1\",\n        \"message\": \"First!\",\n      }, {\n        \"id\": 2,\n        \"author\": \"User 2\",\n        \"message\": \"Good Luck!\",\n      }]\n    }\n    ```\n  \n    If the records in the relationship are not known when the response\n    is serialized its also possible to represent the relationship as a\n    url using the `links` key in the response. Ember Data will fetch\n    this url to resolve the relationship when it is accessed for the\n    first time.\n  \n    ```js\n    {\n      \"posts\": {\n        \"id\": 5,\n        \"title\": \"I'm Running to Reform the W3C's Tag\",\n        \"author\": \"Yehuda Katz\",\n        \"links\": {\n          \"comments\": \"/posts/5/comments\"\n        }\n      }\n    }\n    ```\n  \n    ### Errors\n  \n    If a response is considered a failure, the JSON payload is expected to include\n    a top-level key `errors`, detailing any specific issues. For example:\n  \n    ```js\n    {\n      \"errors\": {\n        \"msg\": \"Something went wrong\"\n      }\n    }\n    ```\n  \n    This adapter does not make any assumptions as to the format of the `errors`\n    object. It will simply be passed along as is, wrapped in an instance\n    of `DS.InvalidError` or `DS.AdapterError`. The serializer can interpret it\n    afterwards.\n  \n    ## Customization\n  \n    ### Endpoint path customization\n  \n    Endpoint paths can be prefixed with a `namespace` by setting the namespace\n    property on the adapter:\n  \n    ```app/adapters/application.js\n    import DS from 'ember-data';\n  \n    export default DS.RESTAdapter.extend({\n      namespace: 'api/1'\n    });\n    ```\n    Requests for the `Person` model would now target `/api/1/people/1`.\n  \n    ### Host customization\n  \n    An adapter can target other hosts by setting the `host` property.\n  \n    ```app/adapters/application.js\n    import DS from 'ember-data';\n  \n    export default DS.RESTAdapter.extend({\n      host: 'https://api.example.com'\n    });\n    ```\n  \n    ### Headers customization\n  \n    Some APIs require HTTP headers, e.g. to provide an API key. Arbitrary\n    headers can be set as key/value pairs on the `RESTAdapter`'s `headers`\n    object and Ember Data will send them along with each ajax request.\n  \n  \n    ```app/adapters/application.js\n    import DS from 'ember-data';\n  \n    export default DS.RESTAdapter.extend({\n      headers: {\n        'API_KEY': 'secret key',\n        'ANOTHER_HEADER': 'Some header value'\n      }\n    });\n    ```\n  \n    `headers` can also be used as a computed property to support dynamic\n    headers. In the example below, the `session` object has been\n    injected into an adapter by Ember's container.\n  \n    ```app/adapters/application.js\n    import DS from 'ember-data';\n  \n    export default DS.RESTAdapter.extend({\n      headers: Ember.computed('session.authToken', function() {\n        return {\n          'API_KEY': this.get('session.authToken'),\n          'ANOTHER_HEADER': 'Some header value'\n        };\n      })\n    });\n    ```\n  \n    In some cases, your dynamic headers may require data from some\n    object outside of Ember's observer system (for example\n    `document.cookie`). You can use the\n    [volatile](/api/classes/Ember.ComputedProperty.html#method_volatile)\n    function to set the property into a non-cached mode causing the headers to\n    be recomputed with every request.\n  \n    ```app/adapters/application.js\n    import DS from 'ember-data';\n  \n    export default DS.RESTAdapter.extend({\n      headers: Ember.computed(function() {\n        return {\n          'API_KEY': Ember.get(document.cookie.match(/apiKey\\=([^;]*)/), '1'),\n          'ANOTHER_HEADER': 'Some header value'\n        };\n      }).volatile()\n    });\n    ```\n  \n    @class RESTAdapter\n    @constructor\n    @namespace DS\n    @extends DS.Adapter\n    @uses DS.BuildURLMixin\n  */\n  var RESTAdapter = _adapter.default.extend(_private.BuildURLMixin, {\n    defaultSerializer: '-rest',\n\n    sortQueryParams: function sortQueryParams(obj) {\n      var keys = Object.keys(obj);\n      var len = keys.length;\n      if (len < 2) {\n        return obj;\n      }\n      var newQueryParams = {};\n      var sortedKeys = keys.sort();\n\n      for (var i = 0; i < len; i++) {\n        newQueryParams[sortedKeys[i]] = obj[sortedKeys[i]];\n      }\n      return newQueryParams;\n    },\n\n\n    /**\n      By default the RESTAdapter will send each find request coming from a `store.find`\n      or from accessing a relationship separately to the server. If your server supports passing\n      ids as a query string, you can set coalesceFindRequests to true to coalesce all find requests\n      within a single runloop.\n       For example, if you have an initial payload of:\n       ```javascript\n      {\n        post: {\n          id: 1,\n          comments: [1, 2]\n        }\n      }\n      ```\n       By default calling `post.get('comments')` will trigger the following requests(assuming the\n      comments haven't been loaded before):\n       ```\n      GET /comments/1\n      GET /comments/2\n      ```\n       If you set coalesceFindRequests to `true` it will instead trigger the following request:\n       ```\n      GET /comments?ids[]=1&ids[]=2\n      ```\n       Setting coalesceFindRequests to `true` also works for `store.find` requests and `belongsTo`\n      relationships accessed within the same runloop. If you set `coalesceFindRequests: true`\n       ```javascript\n      store.findRecord('comment', 1);\n      store.findRecord('comment', 2);\n      ```\n       will also send a request to: `GET /comments?ids[]=1&ids[]=2`\n       Note: Requests coalescing rely on URL building strategy. So if you override `buildURL` in your app\n      `groupRecordsForFindMany` more likely should be overridden as well in order for coalescing to work.\n       @property coalesceFindRequests\n      @type {boolean}\n    */\n    coalesceFindRequests: false,\n\n    findRecord: function findRecord(store, type, id, snapshot) {\n      if ((0, _private.isEnabled)('ds-improved-ajax') && !this._hasCustomizedAjax()) {\n        var request = this._requestFor({\n          store: store, type: type, id: id, snapshot: snapshot,\n          requestType: 'findRecord'\n        });\n\n        return this._makeRequest(request);\n      } else {\n        var url = this.buildURL(type.modelName, id, snapshot, 'findRecord');\n        var query = this.buildQuery(snapshot);\n\n        return this.ajax(url, 'GET', { data: query });\n      }\n    },\n    findAll: function findAll(store, type, sinceToken, snapshotRecordArray) {\n      var query = this.buildQuery(snapshotRecordArray);\n\n      if ((0, _private.isEnabled)('ds-improved-ajax') && !this._hasCustomizedAjax()) {\n        var request = this._requestFor({\n          store: store, type: type, sinceToken: sinceToken, query: query,\n          snapshots: snapshotRecordArray,\n          requestType: 'findAll'\n        });\n\n        return this._makeRequest(request);\n      } else {\n        var url = this.buildURL(type.modelName, null, snapshotRecordArray, 'findAll');\n\n        if (sinceToken) {\n          query.since = sinceToken;\n        }\n\n        return this.ajax(url, 'GET', { data: query });\n      }\n    },\n    query: function query(store, type, _query) {\n      if ((0, _private.isEnabled)('ds-improved-ajax') && !this._hasCustomizedAjax()) {\n        var request = this._requestFor({\n          store: store, type: type, query: _query,\n          requestType: 'query'\n        });\n\n        return this._makeRequest(request);\n      } else {\n        var url = this.buildURL(type.modelName, null, null, 'query', _query);\n\n        if (this.sortQueryParams) {\n          _query = this.sortQueryParams(_query);\n        }\n\n        return this.ajax(url, 'GET', { data: _query });\n      }\n    },\n    queryRecord: function queryRecord(store, type, query) {\n      if ((0, _private.isEnabled)('ds-improved-ajax') && !this._hasCustomizedAjax()) {\n        var request = this._requestFor({\n          store: store, type: type, query: query,\n          requestType: 'queryRecord'\n        });\n\n        return this._makeRequest(request);\n      } else {\n        var url = this.buildURL(type.modelName, null, null, 'queryRecord', query);\n\n        if (this.sortQueryParams) {\n          query = this.sortQueryParams(query);\n        }\n\n        return this.ajax(url, 'GET', { data: query });\n      }\n    },\n    findMany: function findMany(store, type, ids, snapshots) {\n      if ((0, _private.isEnabled)('ds-improved-ajax') && !this._hasCustomizedAjax()) {\n        var request = this._requestFor({\n          store: store, type: type, ids: ids, snapshots: snapshots,\n          requestType: 'findMany'\n        });\n\n        return this._makeRequest(request);\n      } else {\n        var url = this.buildURL(type.modelName, ids, snapshots, 'findMany');\n        return this.ajax(url, 'GET', { data: { ids: ids } });\n      }\n    },\n    findHasMany: function findHasMany(store, snapshot, url, relationship) {\n      if ((0, _private.isEnabled)('ds-improved-ajax') && !this._hasCustomizedAjax()) {\n        var request = this._requestFor({\n          store: store, snapshot: snapshot, url: url, relationship: relationship,\n          requestType: 'findHasMany'\n        });\n\n        return this._makeRequest(request);\n      } else {\n        var id = snapshot.id;\n        var type = snapshot.modelName;\n\n        url = this.urlPrefix(url, this.buildURL(type, id, snapshot, 'findHasMany'));\n\n        return this.ajax(url, 'GET');\n      }\n    },\n    findBelongsTo: function findBelongsTo(store, snapshot, url, relationship) {\n      if ((0, _private.isEnabled)('ds-improved-ajax') && !this._hasCustomizedAjax()) {\n        var request = this._requestFor({\n          store: store, snapshot: snapshot, url: url, relationship: relationship,\n          requestType: 'findBelongsTo'\n        });\n\n        return this._makeRequest(request);\n      } else {\n        var id = snapshot.id;\n        var type = snapshot.modelName;\n\n        url = this.urlPrefix(url, this.buildURL(type, id, snapshot, 'findBelongsTo'));\n        return this.ajax(url, 'GET');\n      }\n    },\n    createRecord: function createRecord(store, type, snapshot) {\n      if ((0, _private.isEnabled)('ds-improved-ajax') && !this._hasCustomizedAjax()) {\n        var request = this._requestFor({\n          store: store, type: type, snapshot: snapshot,\n          requestType: 'createRecord'\n        });\n\n        return this._makeRequest(request);\n      } else {\n        var data = {};\n        var serializer = store.serializerFor(type.modelName);\n        var url = this.buildURL(type.modelName, null, snapshot, 'createRecord');\n\n        serializer.serializeIntoHash(data, type, snapshot, { includeId: true });\n\n        return this.ajax(url, \"POST\", { data: data });\n      }\n    },\n    updateRecord: function updateRecord(store, type, snapshot) {\n      if ((0, _private.isEnabled)('ds-improved-ajax') && !this._hasCustomizedAjax()) {\n        var request = this._requestFor({\n          store: store, type: type, snapshot: snapshot,\n          requestType: 'updateRecord'\n        });\n\n        return this._makeRequest(request);\n      } else {\n        var data = {};\n        var serializer = store.serializerFor(type.modelName);\n\n        serializer.serializeIntoHash(data, type, snapshot);\n\n        var id = snapshot.id;\n        var url = this.buildURL(type.modelName, id, snapshot, 'updateRecord');\n\n        return this.ajax(url, \"PUT\", { data: data });\n      }\n    },\n    deleteRecord: function deleteRecord(store, type, snapshot) {\n      if ((0, _private.isEnabled)('ds-improved-ajax') && !this._hasCustomizedAjax()) {\n        var request = this._requestFor({\n          store: store, type: type, snapshot: snapshot,\n          requestType: 'deleteRecord'\n        });\n\n        return this._makeRequest(request);\n      } else {\n        var id = snapshot.id;\n\n        return this.ajax(this.buildURL(type.modelName, id, snapshot, 'deleteRecord'), \"DELETE\");\n      }\n    },\n    _stripIDFromURL: function _stripIDFromURL(store, snapshot) {\n      var url = this.buildURL(snapshot.modelName, snapshot.id, snapshot);\n\n      var expandedURL = url.split('/');\n      // Case when the url is of the format ...something/:id\n      // We are decodeURIComponent-ing the lastSegment because if it represents\n      // the id, it has been encodeURIComponent-ified within `buildURL`. If we\n      // don't do this, then records with id having special characters are not\n      // coalesced correctly (see GH #4190 for the reported bug)\n      var lastSegment = expandedURL[expandedURL.length - 1];\n      var id = snapshot.id;\n      if (decodeURIComponent(lastSegment) === id) {\n        expandedURL[expandedURL.length - 1] = \"\";\n      } else if (endsWith(lastSegment, '?id=' + id)) {\n        //Case when the url is of the format ...something?id=:id\n        expandedURL[expandedURL.length - 1] = lastSegment.substring(0, lastSegment.length - id.length - 1);\n      }\n\n      return expandedURL.join('/');\n    },\n\n\n    // http://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers\n    maxURLLength: 2048,\n\n    groupRecordsForFindMany: function groupRecordsForFindMany(store, snapshots) {\n      var groups = MapWithDefault.create({\n        defaultValue: function defaultValue() {\n          return [];\n        }\n      });\n      var adapter = this;\n      var maxURLLength = this.maxURLLength;\n\n      snapshots.forEach(function (snapshot) {\n        var baseUrl = adapter._stripIDFromURL(store, snapshot);\n        groups.get(baseUrl).push(snapshot);\n      });\n\n      function splitGroupToFitInUrl(group, maxURLLength, paramNameLength) {\n        var idsSize = 0;\n        var baseUrl = adapter._stripIDFromURL(store, group[0]);\n        var splitGroups = [[]];\n\n        group.forEach(function (snapshot) {\n          var additionalLength = encodeURIComponent(snapshot.id).length + paramNameLength;\n          if (baseUrl.length + idsSize + additionalLength >= maxURLLength) {\n            idsSize = 0;\n            splitGroups.push([]);\n          }\n\n          idsSize += additionalLength;\n\n          var lastGroupIndex = splitGroups.length - 1;\n          splitGroups[lastGroupIndex].push(snapshot);\n        });\n\n        return splitGroups;\n      }\n\n      var groupsArray = [];\n      groups.forEach(function (group, key) {\n        var paramNameLength = '&ids%5B%5D='.length;\n        var splitGroups = splitGroupToFitInUrl(group, maxURLLength, paramNameLength);\n\n        splitGroups.forEach(function (splitGroup) {\n          return groupsArray.push(splitGroup);\n        });\n      });\n\n      return groupsArray;\n    },\n    handleResponse: function handleResponse(status, headers, payload, requestData) {\n      if (this.isSuccess(status, headers, payload)) {\n        return payload;\n      } else if (this.isInvalid(status, headers, payload)) {\n        return new _private.InvalidError(payload.errors);\n      }\n\n      var errors = this.normalizeErrorResponse(status, headers, payload);\n      var detailedMessage = this.generatedDetailedMessage(status, headers, payload, requestData);\n\n      if ((0, _private.isEnabled)('ds-extended-errors')) {\n        switch (status) {\n          case 401:\n            return new _private.UnauthorizedError(errors, detailedMessage);\n          case 403:\n            return new _private.ForbiddenError(errors, detailedMessage);\n          case 404:\n            return new _private.NotFoundError(errors, detailedMessage);\n          case 409:\n            return new _private.ConflictError(errors, detailedMessage);\n          default:\n            if (status >= 500) {\n              return new _private.ServerError(errors, detailedMessage);\n            }\n        }\n      }\n\n      return new _private.AdapterError(errors, detailedMessage);\n    },\n    isSuccess: function isSuccess(status, headers, payload) {\n      return status >= 200 && status < 300 || status === 304;\n    },\n    isInvalid: function isInvalid(status, headers, payload) {\n      return status === 422;\n    },\n    ajax: function ajax(url, type, options) {\n      var adapter = this;\n\n      var requestData = {\n        url: url,\n        method: type\n      };\n\n      return new Promise(function (resolve, reject) {\n        var hash = adapter.ajaxOptions(url, type, options);\n\n        hash.success = function (payload, textStatus, jqXHR) {\n          var response = ajaxSuccess(adapter, jqXHR, payload, requestData);\n          _ember.default.run.join(null, resolve, response);\n        };\n\n        hash.error = function (jqXHR, textStatus, errorThrown) {\n          var responseData = {\n            textStatus: textStatus,\n            errorThrown: errorThrown\n          };\n          var error = ajaxError(adapter, jqXHR, requestData, responseData);\n          _ember.default.run.join(null, reject, error);\n        };\n\n        adapter._ajaxRequest(hash);\n      }, 'DS: RESTAdapter#ajax ' + type + ' to ' + url);\n    },\n    _ajaxRequest: function _ajaxRequest(options) {\n      _ember.default.$.ajax(options);\n    },\n    ajaxOptions: function ajaxOptions(url, type, options) {\n      var hash = options || {};\n      hash.url = url;\n      hash.type = type;\n      hash.dataType = 'json';\n      hash.context = this;\n\n      if (hash.data && type !== 'GET') {\n        hash.contentType = 'application/json; charset=utf-8';\n        hash.data = JSON.stringify(hash.data);\n      }\n\n      var headers = get(this, 'headers');\n      if (headers !== undefined) {\n        hash.beforeSend = function (xhr) {\n          Object.keys(headers).forEach(function (key) {\n            return xhr.setRequestHeader(key, headers[key]);\n          });\n        };\n      }\n\n      return hash;\n    },\n    parseErrorResponse: function parseErrorResponse(responseText) {\n      var json = responseText;\n\n      try {\n        json = _ember.default.$.parseJSON(responseText);\n      } catch (e) {\n        // ignored\n      }\n\n      return json;\n    },\n    normalizeErrorResponse: function normalizeErrorResponse(status, headers, payload) {\n      if (payload && (typeof payload === 'undefined' ? 'undefined' : _typeof(payload)) === 'object' && payload.errors) {\n        return payload.errors;\n      } else {\n        return [{\n          status: '' + status,\n          title: \"The backend responded with an error\",\n          detail: '' + payload\n        }];\n      }\n    },\n\n\n    /**\n      Generates a detailed (\"friendly\") error message, with plenty\n      of information for debugging (good luck!)\n       @method generatedDetailedMessage\n      @private\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @param  {Object} requestData\n      @return {String} detailed error message\n    */\n    generatedDetailedMessage: function generatedDetailedMessage(status, headers, payload, requestData) {\n      var shortenedPayload = void 0;\n      var payloadContentType = headers[\"Content-Type\"] || \"Empty Content-Type\";\n\n      if (payloadContentType === \"text/html\" && payload.length > 250) {\n        shortenedPayload = \"[Omitted Lengthy HTML]\";\n      } else {\n        shortenedPayload = payload;\n      }\n\n      var requestDescription = requestData.method + ' ' + requestData.url;\n      var payloadDescription = 'Payload (' + payloadContentType + ')';\n\n      return ['Ember Data Request ' + requestDescription + ' returned a ' + status, payloadDescription, shortenedPayload].join('\\n');\n    },\n\n    buildQuery: function buildQuery(snapshot) {\n      var query = {};\n\n      if (snapshot) {\n        var include = snapshot.include;\n\n\n        if (include) {\n          query.include = include;\n        }\n      }\n\n      return query;\n    },\n    _hasCustomizedAjax: function _hasCustomizedAjax() {\n      if (this.ajax !== RESTAdapter.prototype.ajax) {\n        (0, _debug.deprecate)('RESTAdapter#ajax has been deprecated please use. `methodForRequest`, `urlForRequest`, `headersForRequest` or `dataForRequest` instead.', false, {\n          id: 'ds.rest-adapter.ajax',\n          until: '3.0.0'\n        });\n        return true;\n      }\n\n      if (this.ajaxOptions !== RESTAdapter.prototype.ajaxOptions) {\n        (0, _debug.deprecate)('RESTAdapter#ajaxOptions has been deprecated please use. `methodForRequest`, `urlForRequest`, `headersForRequest` or `dataForRequest` instead.', false, {\n          id: 'ds.rest-adapter.ajax-options',\n          until: '3.0.0'\n        });\n        return true;\n      }\n\n      return false;\n    }\n  });\n\n  if ((0, _private.isEnabled)('ds-improved-ajax')) {\n\n    RESTAdapter.reopen({\n      dataForRequest: function dataForRequest(params) {\n        var store = params.store,\n            type = params.type,\n            snapshot = params.snapshot,\n            requestType = params.requestType,\n            query = params.query;\n\n\n        // type is not passed to findBelongsTo and findHasMany\n        type = type || snapshot && snapshot.type;\n\n        var serializer = store.serializerFor(type.modelName);\n        var data = {};\n\n        switch (requestType) {\n          case 'createRecord':\n            serializer.serializeIntoHash(data, type, snapshot, { includeId: true });\n            break;\n\n          case 'updateRecord':\n            serializer.serializeIntoHash(data, type, snapshot);\n            break;\n\n          case 'findRecord':\n            data = this.buildQuery(snapshot);\n            break;\n\n          case 'findAll':\n            if (params.sinceToken) {\n              query = query || {};\n              query.since = params.sinceToken;\n            }\n            data = query;\n            break;\n\n          case 'query':\n          case 'queryRecord':\n            if (this.sortQueryParams) {\n              query = this.sortQueryParams(query);\n            }\n            data = query;\n            break;\n\n          case 'findMany':\n            data = { ids: params.ids };\n            break;\n\n          default:\n            data = undefined;\n            break;\n        }\n\n        return data;\n      },\n      methodForRequest: function methodForRequest(params) {\n        var requestType = params.requestType;\n\n\n        switch (requestType) {\n          case 'createRecord':\n            return 'POST';\n          case 'updateRecord':\n            return 'PUT';\n          case 'deleteRecord':\n            return 'DELETE';\n        }\n\n        return 'GET';\n      },\n      urlForRequest: function urlForRequest(params) {\n        var type = params.type,\n            id = params.id,\n            ids = params.ids,\n            snapshot = params.snapshot,\n            snapshots = params.snapshots,\n            requestType = params.requestType,\n            query = params.query;\n\n\n        // type and id are not passed from updateRecord and deleteRecord, hence they\n        // are defined if not set\n        type = type || snapshot && snapshot.type;\n        id = id || snapshot && snapshot.id;\n\n        switch (requestType) {\n          case 'findAll':\n            return this.buildURL(type.modelName, null, snapshots, requestType);\n\n          case 'query':\n          case 'queryRecord':\n            return this.buildURL(type.modelName, null, null, requestType, query);\n\n          case 'findMany':\n            return this.buildURL(type.modelName, ids, snapshots, requestType);\n\n          case 'findHasMany':\n          case 'findBelongsTo':\n            {\n              var url = this.buildURL(type.modelName, id, snapshot, requestType);\n              return this.urlPrefix(params.url, url);\n            }\n        }\n\n        return this.buildURL(type.modelName, id, snapshot, requestType, query);\n      },\n      headersForRequest: function headersForRequest(params) {\n        return this.get('headers');\n      },\n      _requestFor: function _requestFor(params) {\n        var method = this.methodForRequest(params);\n        var url = this.urlForRequest(params);\n        var headers = this.headersForRequest(params);\n        var data = this.dataForRequest(params);\n\n        return { method: method, url: url, headers: headers, data: data };\n      },\n      _requestToJQueryAjaxHash: function _requestToJQueryAjaxHash(request) {\n        var hash = {};\n\n        hash.type = request.method;\n        hash.url = request.url;\n        hash.dataType = 'json';\n        hash.context = this;\n\n        if (request.data) {\n          if (request.method !== 'GET') {\n            hash.contentType = 'application/json; charset=utf-8';\n            hash.data = JSON.stringify(request.data);\n          } else {\n            hash.data = request.data;\n          }\n        }\n\n        var headers = request.headers;\n        if (headers !== undefined) {\n          hash.beforeSend = function (xhr) {\n            Object.keys(headers).forEach(function (key) {\n              return xhr.setRequestHeader(key, headers[key]);\n            });\n          };\n        }\n\n        return hash;\n      },\n      _makeRequest: function _makeRequest(request) {\n        var adapter = this;\n        var hash = this._requestToJQueryAjaxHash(request);\n\n        var method = request.method,\n            url = request.url;\n\n        var requestData = { method: method, url: url };\n\n        return new _ember.default.RSVP.Promise(function (resolve, reject) {\n\n          hash.success = function (payload, textStatus, jqXHR) {\n            var response = ajaxSuccess(adapter, jqXHR, payload, requestData);\n            _ember.default.run.join(null, resolve, response);\n          };\n\n          hash.error = function (jqXHR, textStatus, errorThrown) {\n            var responseData = {\n              textStatus: textStatus,\n              errorThrown: errorThrown\n            };\n            var error = ajaxError(adapter, jqXHR, requestData, responseData);\n            _ember.default.run.join(null, reject, error);\n          };\n\n          adapter._ajaxRequest(hash);\n        }, 'DS: RESTAdapter#makeRequest: ' + method + ' ' + url);\n      }\n    });\n  }\n\n  function ajaxSuccess(adapter, jqXHR, payload, requestData) {\n    var response = void 0;\n    try {\n      response = adapter.handleResponse(jqXHR.status, (0, _private.parseResponseHeaders)(jqXHR.getAllResponseHeaders()), payload, requestData);\n    } catch (error) {\n      return Promise.reject(error);\n    }\n\n    if (response && response.isAdapterError) {\n      return Promise.reject(response);\n    } else {\n      return response;\n    }\n  }\n\n  function ajaxError(adapter, jqXHR, requestData, responseData) {\n    (0, _debug.runInDebug)(function () {\n      var message = 'The server returned an empty string for ' + requestData.method + ' ' + requestData.url + ', which cannot be parsed into a valid JSON. Return either null or {}.';\n      var validJSONString = !(responseData.textStatus === \"parsererror\" && jqXHR.responseText === \"\");\n      (0, _debug.warn)(message, validJSONString, {\n        id: 'ds.adapter.returned-empty-string-as-JSON'\n      });\n    });\n\n    var error = void 0;\n\n    if (responseData.errorThrown instanceof Error) {\n      error = responseData.errorThrown;\n    } else if (responseData.textStatus === 'timeout') {\n      error = new _private.TimeoutError();\n    } else if (responseData.textStatus === 'abort' || jqXHR.status === 0) {\n      error = new _private.AbortError();\n    } else {\n      try {\n        error = adapter.handleResponse(jqXHR.status, (0, _private.parseResponseHeaders)(jqXHR.getAllResponseHeaders()), adapter.parseErrorResponse(jqXHR.responseText) || responseData.errorThrown, requestData);\n      } catch (e) {\n        error = e;\n      }\n    }\n\n    return error;\n  }\n\n  //From http://stackoverflow.com/questions/280634/endswith-in-javascript\n  function endsWith(string, suffix) {\n    if (typeof String.prototype.endsWith !== 'function') {\n      return string.indexOf(suffix, string.length - suffix.length) !== -1;\n    } else {\n      return string.endsWith(suffix);\n    }\n  }\n\n  exports.default = RESTAdapter;\n});","define('ember-data/attr', ['exports', 'ember', 'ember-data/-debug'], function (exports, _ember, _debug) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = attr;\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  /**\n    @module ember-data\n  */\n\n  function getDefaultValue(record, options, key) {\n    if (typeof options.defaultValue === 'function') {\n      return options.defaultValue.apply(null, arguments);\n    } else {\n      var defaultValue = options.defaultValue;\n      (0, _debug.deprecate)('Non primitive defaultValues are deprecated because they are shared between all instances. If you would like to use a complex object as a default value please provide a function that returns the complex object.', (typeof defaultValue === 'undefined' ? 'undefined' : _typeof(defaultValue)) !== 'object' || defaultValue === null, {\n        id: 'ds.defaultValue.complex-object',\n        until: '3.0.0'\n      });\n      return defaultValue;\n    }\n  }\n\n  function hasValue(record, key) {\n    return key in record._attributes || key in record._inFlightAttributes || key in record._data;\n  }\n\n  function getValue(record, key) {\n    if (key in record._attributes) {\n      return record._attributes[key];\n    } else if (key in record._inFlightAttributes) {\n      return record._inFlightAttributes[key];\n    } else {\n      return record._data[key];\n    }\n  }\n\n  /**\n    `DS.attr` defines an attribute on a [DS.Model](/api/data/classes/DS.Model.html).\n    By default, attributes are passed through as-is, however you can specify an\n    optional type to have the value automatically transformed.\n    Ember Data ships with four basic transform types: `string`, `number`,\n    `boolean` and `date`. You can define your own transforms by subclassing\n    [DS.Transform](/api/data/classes/DS.Transform.html).\n  \n    Note that you cannot use `attr` to define an attribute of `id`.\n  \n    `DS.attr` takes an optional hash as a second parameter, currently\n    supported options are:\n  \n    - `defaultValue`: Pass a string or a function to be called to set the attribute\n                      to a default value if none is supplied.\n  \n    Example\n  \n    ```app/models/user.js\n    import DS from 'ember-data';\n  \n    export default DS.Model.extend({\n      username: DS.attr('string'),\n      email: DS.attr('string'),\n      verified: DS.attr('boolean', { defaultValue: false })\n    });\n    ```\n  \n    Default value can also be a function. This is useful it you want to return\n    a new object for each attribute.\n  \n    ```app/models/user.js\n    import DS from 'ember-data';\n  \n    export default DS.Model.extend({\n      username: DS.attr('string'),\n      email: DS.attr('string'),\n      settings: DS.attr({\n        defaultValue() {\n          return {};\n        }\n      })\n    });\n    ```\n  \n    The `options` hash is passed as second argument to a transforms'\n    `serialize` and `deserialize` method. This allows to configure a\n    transformation and adapt the corresponding value, based on the config:\n  \n    ```app/models/post.js\n    import DS from 'ember-data';\n  \n    export default DS.Model.extend({\n      text: DS.attr('text', {\n        uppercase: true\n      })\n    });\n    ```\n  \n    ```app/transforms/text.js\n    import DS from 'ember-data';\n  \n    export default DS.Transform.extend({\n      serialize(value, options) {\n        if (options.uppercase) {\n          return value.toUpperCase();\n        }\n  \n        return value;\n      },\n  \n      deserialize(value) {\n        return value;\n      }\n    })\n    ```\n  \n    @namespace\n    @method attr\n    @for DS\n    @param {String|Object} type the attribute type\n    @param {Object} options a hash of options\n    @return {Attribute}\n  */\n\n  function attr(type, options) {\n    if ((typeof type === 'undefined' ? 'undefined' : _typeof(type)) === 'object') {\n      options = type;\n      type = undefined;\n    } else {\n      options = options || {};\n    }\n\n    var meta = {\n      type: type,\n      isAttribute: true,\n      options: options\n    };\n\n    return _ember.default.computed({\n      get: function get(key) {\n        var internalModel = this._internalModel;\n        if (hasValue(internalModel, key)) {\n          return getValue(internalModel, key);\n        } else {\n          return getDefaultValue(this, options, key);\n        }\n      },\n      set: function set(key, value) {\n        var internalModel = this._internalModel;\n        var oldValue = getValue(internalModel, key);\n        var originalValue = void 0;\n\n        if (value !== oldValue) {\n          // Add the new value to the changed attributes hash; it will get deleted by\n          // the 'didSetProperty' handler if it is no different from the original value\n          internalModel._attributes[key] = value;\n\n          if (key in internalModel._inFlightAttributes) {\n            originalValue = internalModel._inFlightAttributes[key];\n          } else {\n            originalValue = internalModel._data[key];\n          }\n\n          this._internalModel.send('didSetProperty', {\n            name: key,\n            oldValue: oldValue,\n            originalValue: originalValue,\n            value: value\n          });\n        }\n\n        return value;\n      }\n    }).meta(meta);\n  }\n});","define(\"ember-data/index\", [\"exports\", \"ember\", \"ember-data/-debug\", \"ember-data/-private\", \"ember-data/setup-container\", \"ember-data/instance-initializers/initialize-store-service\", \"ember-data/transforms/transform\", \"ember-data/transforms/number\", \"ember-data/transforms/date\", \"ember-data/transforms/string\", \"ember-data/transforms/boolean\", \"ember-data/adapter\", \"ember-data/adapters/json-api\", \"ember-data/adapters/rest\", \"ember-data/serializer\", \"ember-data/serializers/json-api\", \"ember-data/serializers/json\", \"ember-data/serializers/rest\", \"ember-data/serializers/embedded-records-mixin\", \"ember-data/attr\", \"ember-inflector\"], function (exports, _ember, _debug, _private, _setupContainer, _initializeStoreService, _transform, _number, _date, _string, _boolean, _adapter, _jsonApi, _rest, _serializer, _jsonApi2, _json, _rest2, _embeddedRecordsMixin, _attr) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  /**\n    Ember Data\n    @module ember-data\n    @main ember-data\n  */\n\n  if (_ember.default.VERSION.match(/^1\\.([0-9]|1[0-2])\\./)) {\n    throw new _ember.default.Error(\"Ember Data requires at least Ember 1.13.0, but you have \" + _ember.default.VERSION + \". Please upgrade your version of Ember, then upgrade Ember Data.\");\n  }\n\n  _private.DS.Store = _private.Store;\n  _private.DS.PromiseArray = _private.PromiseArray;\n  _private.DS.PromiseObject = _private.PromiseObject;\n\n  _private.DS.PromiseManyArray = _private.PromiseManyArray;\n\n  _private.DS.Model = _private.Model;\n  _private.DS.RootState = _private.RootState;\n  _private.DS.attr = _attr.default;\n  _private.DS.Errors = _private.Errors;\n\n  _private.DS.InternalModel = _private.InternalModel;\n  _private.DS.Snapshot = _private.Snapshot;\n\n  _private.DS.Adapter = _adapter.default;\n\n  _private.DS.AdapterError = _private.AdapterError;\n  _private.DS.InvalidError = _private.InvalidError;\n  _private.DS.TimeoutError = _private.TimeoutError;\n  _private.DS.AbortError = _private.AbortError;\n\n  if ((0, _private.isEnabled)('ds-extended-errors')) {\n    _private.DS.UnauthorizedError = _private.UnauthorizedError;\n    _private.DS.ForbiddenError = _private.ForbiddenError;\n    _private.DS.NotFoundError = _private.NotFoundError;\n    _private.DS.ConflictError = _private.ConflictError;\n    _private.DS.ServerError = _private.ServerError;\n  }\n\n  _private.DS.errorsHashToArray = _private.errorsHashToArray;\n  _private.DS.errorsArrayToHash = _private.errorsArrayToHash;\n\n  _private.DS.Serializer = _serializer.default;\n\n  _private.DS.DebugAdapter = _private.DebugAdapter;\n\n  _private.DS.RecordArray = _private.RecordArray;\n  _private.DS.FilteredRecordArray = _private.FilteredRecordArray;\n  _private.DS.AdapterPopulatedRecordArray = _private.AdapterPopulatedRecordArray;\n  _private.DS.ManyArray = _private.ManyArray;\n\n  _private.DS.RecordArrayManager = _private.RecordArrayManager;\n\n  _private.DS.RESTAdapter = _rest.default;\n  _private.DS.BuildURLMixin = _private.BuildURLMixin;\n\n  _private.DS.RESTSerializer = _rest2.default;\n  _private.DS.JSONSerializer = _json.default;\n\n  _private.DS.JSONAPIAdapter = _jsonApi.default;\n  _private.DS.JSONAPISerializer = _jsonApi2.default;\n\n  _private.DS.Transform = _transform.default;\n  _private.DS.DateTransform = _date.default;\n  _private.DS.StringTransform = _string.default;\n  _private.DS.NumberTransform = _number.default;\n  _private.DS.BooleanTransform = _boolean.default;\n\n  _private.DS.EmbeddedRecordsMixin = _embeddedRecordsMixin.default;\n\n  _private.DS.belongsTo = _private.belongsTo;\n  _private.DS.hasMany = _private.hasMany;\n\n  _private.DS.Relationship = _private.Relationship;\n\n  _private.DS._setupContainer = _setupContainer.default;\n  _private.DS._initializeStoreService = _initializeStoreService.default;\n\n  Object.defineProperty(_private.DS, 'normalizeModelName', {\n    enumerable: true,\n    writable: false,\n    configurable: false,\n    value: _private.normalizeModelName\n  });\n\n  Object.defineProperty(_private.global, 'DS', {\n    configurable: true,\n    get: function get() {\n      (0, _debug.deprecate)('Using the global version of DS is deprecated. Please either import ' + 'the specific modules needed or `import DS from \\'ember-data\\';`.', false, { id: 'ember-data.global-ds', until: '3.0.0' });\n\n      return _private.DS;\n    }\n  });\n\n  exports.default = _private.DS;\n});","define('ember-data/instance-initializers/initialize-store-service', ['exports', 'ember-data/-debug'], function (exports, _debug) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = initializeStoreService;\n\n\n  /*\n    Configures a registry for use with an Ember-Data\n    store.\n  \n    @method initializeStoreService\n    @param {Ember.ApplicationInstance | Ember.EngineInstance} instance\n  */\n  function initializeStoreService(instance) {\n    // instance.lookup supports Ember 2.1 and higher\n    // instance.container supports Ember 1.11 - 2.0\n    var container = instance.lookup ? instance : instance.container;\n\n    // Eagerly generate the store so defaultStore is populated.\n    container.lookup('service:store');\n\n    // In Ember 2.4+ instance.base is the `Ember.Application` or `Ember.Engine` instance\n    // In Ember 1.11 - 2.3 we fallback to `instance.application`\n    var base = instance.base || instance.application;\n    deprecateOldEmberDataInitializers(base.constructor.initializers);\n  }\n\n  var DEPRECATED_INITIALIZER_NAMES = ['data-adapter', 'injectStore', 'transforms', 'store'];\n\n  function matchesDeprecatedInititalizer(name) {\n    return DEPRECATED_INITIALIZER_NAMES.indexOf(name) !== -1;\n  }\n\n  function deprecateOldEmberDataInitializers(initializers) {\n    // collect all of the initializers\n    var keys = Object.keys(initializers);\n\n    for (var i = 0; i < keys.length; i++) {\n      var name = keys[i];\n\n      // filter out all of the Ember Data initializer. We have some\n      // deprecated initializers that depend on other deprecated\n      // initializers which may trigger the deprecation warning\n      // unintentionally.\n      if (!matchesDeprecatedInititalizer(name)) {\n        warnForDeprecatedInitializers(initializers[name]);\n      }\n    }\n  }\n\n  function warnForDeprecatedInitializers(initializer) {\n    var deprecatedBeforeInitializer = matchesDeprecatedInititalizer(initializer.before);\n    var deprecatedAfterInitializer = matchesDeprecatedInititalizer(initializer.after);\n    var deprecatedProp = deprecatedBeforeInitializer ? 'before' : 'after';\n\n    (0, _debug.deprecate)('The initializer `' + initializer[deprecatedProp] + '` has been deprecated. Please update your `' + initializer.name + '` initializer to use use `' + deprecatedProp + ': \\'ember-data\\'` instead.', !(deprecatedBeforeInitializer || deprecatedAfterInitializer), {\n      id: 'ds.deprecated-initializers',\n      until: '3.0.0'\n    });\n  }\n});","define('ember-data/model', ['exports', 'ember-data/-private'], function (exports, _private) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function () {\n      return _private.Model;\n    }\n  });\n});","define('ember-data/relationships', ['exports', 'ember-data/-private'], function (exports, _private) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'belongsTo', {\n    enumerable: true,\n    get: function () {\n      return _private.belongsTo;\n    }\n  });\n  Object.defineProperty(exports, 'hasMany', {\n    enumerable: true,\n    get: function () {\n      return _private.hasMany;\n    }\n  });\n});","define('ember-data/serializer', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _ember.default.Object.extend({\n\n    /**\n      The `store` property is the application's `store` that contains\n      all records. It can be used to look up serializers for other model\n      types that may be nested inside the payload response.\n       Example:\n       ```js\n      Serializer.extend({\n        extractRelationship(relationshipModelName, relationshipHash) {\n          var modelClass = this.store.modelFor(relationshipModelName);\n          var relationshipSerializer = this.store.serializerFor(relationshipModelName);\n          return relationshipSerializer.normalize(modelClass, relationshipHash);\n        }\n      });\n      ```\n       @property store\n      @type {DS.Store}\n      @public\n    */\n\n    /**\n      The `normalizeResponse` method is used to normalize a payload from the\n      server to a JSON-API Document.\n       http://jsonapi.org/format/#document-structure\n       Example:\n       ```js\n      Serializer.extend({\n        normalizeResponse(store, primaryModelClass, payload, id, requestType) {\n          if (requestType === 'findRecord') {\n            return this.normalize(primaryModelClass, payload);\n          } else {\n            return payload.reduce(function(documentHash, item) {\n              let { data, included } = this.normalize(primaryModelClass, item);\n              documentHash.included.push(...included);\n              documentHash.data.push(data);\n              return documentHash;\n            }, { data: [], included: [] })\n          }\n        }\n      });\n      ```\n       @since 1.13.0\n      @method normalizeResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeResponse: null,\n\n    /**\n      The `serialize` method is used when a record is saved in order to convert\n      the record into the form that your external data source expects.\n       `serialize` takes an optional `options` hash with a single option:\n       - `includeId`: If this is `true`, `serialize` should include the ID\n        in the serialized object it builds.\n       Example:\n       ```js\n      Serializer.extend({\n        serialize(snapshot, options) {\n          var json = {\n            id: snapshot.id\n          };\n           snapshot.eachAttribute((key, attribute) => {\n            json[key] = snapshot.attr(key);\n          });\n           snapshot.eachRelationship((key, relationship) => {\n            if (relationship.kind === 'belongsTo') {\n              json[key] = snapshot.belongsTo(key, { id: true });\n            } else if (relationship.kind === 'hasMany') {\n              json[key] = snapshot.hasMany(key, { ids: true });\n            }\n          });\n           return json;\n        },\n      });\n      ```\n       @method serialize\n      @param {DS.Snapshot} snapshot\n      @param {Object} [options]\n      @return {Object}\n    */\n    serialize: null,\n\n    /**\n      The `normalize` method is used to convert a payload received from your\n      external data source into the normalized form `store.push()` expects. You\n      should override this method, munge the hash and return the normalized\n      payload.\n       Example:\n       ```js\n      Serializer.extend({\n        normalize(modelClass, resourceHash) {\n          var data = {\n            id:            resourceHash.id,\n            type:          modelClass.modelName,\n            attributes:    resourceHash\n          };\n          return { data: data };\n        }\n      })\n      ```\n       @method normalize\n      @param {DS.Model} typeClass\n      @param {Object} hash\n      @return {Object}\n    */\n    normalize: function normalize(typeClass, hash) {\n      return hash;\n    }\n  });\n});","define('ember-data/serializers/embedded-records-mixin', ['exports', 'ember', 'ember-data/-debug'], function (exports, _ember, _debug) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  var get = _ember.default.get;\n  var set = _ember.default.set;\n  var camelize = _ember.default.String.camelize;\n\n  /**\n    ## Using Embedded Records\n  \n    `DS.EmbeddedRecordsMixin` supports serializing embedded records.\n  \n    To set up embedded records, include the mixin when extending a serializer,\n    then define and configure embedded (model) relationships.\n  \n    Note that embedded records will serialize with the serializer for their model instead of the serializer in which they are defined.\n  \n    Below is an example of a per-type serializer (`post` type).\n  \n    ```app/serializers/post.js\n    import DS from 'ember-data';\n  \n    export default DS.RESTSerializer.extend(DS.EmbeddedRecordsMixin, {\n      attrs: {\n        author: { embedded: 'always' },\n        comments: { serialize: 'ids' }\n      }\n    });\n    ```\n    Note that this use of `{ embedded: 'always' }` is unrelated to\n    the `{ embedded: 'always' }` that is defined as an option on `DS.attr` as part of\n    defining a model while working with the `ActiveModelSerializer`.  Nevertheless,\n    using `{ embedded: 'always' }` as an option to `DS.attr` is not a valid way to setup\n    embedded records.\n  \n    The `attrs` option for a resource `{ embedded: 'always' }` is shorthand for:\n  \n    ```js\n    {\n      serialize: 'records',\n      deserialize: 'records'\n    }\n    ```\n  \n    ### Configuring Attrs\n  \n    A resource's `attrs` option may be set to use `ids`, `records` or false for the\n    `serialize`  and `deserialize` settings.\n  \n    The `attrs` property can be set on the `ApplicationSerializer` or a per-type\n    serializer.\n  \n    In the case where embedded JSON is expected while extracting a payload (reading)\n    the setting is `deserialize: 'records'`, there is no need to use `ids` when\n    extracting as that is the default behavior without this mixin if you are using\n    the vanilla `EmbeddedRecordsMixin`. Likewise, to embed JSON in the payload while\n    serializing `serialize: 'records'` is the setting to use. There is an option of\n    not embedding JSON in the serialized payload by using `serialize: 'ids'`. If you\n    do not want the relationship sent at all, you can use `serialize: false`.\n  \n  \n    ### EmbeddedRecordsMixin defaults\n    If you do not overwrite `attrs` for a specific relationship, the `EmbeddedRecordsMixin`\n    will behave in the following way:\n  \n    BelongsTo: `{ serialize: 'id', deserialize: 'id' }`\n    HasMany:   `{ serialize: false, deserialize: 'ids' }`\n  \n    ### Model Relationships\n  \n    Embedded records must have a model defined to be extracted and serialized. Note that\n    when defining any relationships on your model such as `belongsTo` and `hasMany`, you\n    should not both specify `async: true` and also indicate through the serializer's\n    `attrs` attribute that the related model should be embedded for deserialization.\n    If a model is declared embedded for deserialization (`embedded: 'always'` or `deserialize: 'records'`),\n    then do not use `async: true`.\n  \n    To successfully extract and serialize embedded records the model relationships\n    must be setup correcty. See the\n    [defining relationships](/guides/models/defining-models/#toc_defining-relationships)\n    section of the **Defining Models** guide page.\n  \n    Records without an `id` property are not considered embedded records, model\n    instances must have an `id` property to be used with Ember Data.\n  \n    ### Example JSON payloads, Models and Serializers\n  \n    **When customizing a serializer it is important to grok what the customizations\n    are. Please read the docs for the methods this mixin provides, in case you need\n    to modify it to fit your specific needs.**\n  \n    For example review the docs for each method of this mixin:\n    * [normalize](/api/data/classes/DS.EmbeddedRecordsMixin.html#method_normalize)\n    * [serializeBelongsTo](/api/data/classes/DS.EmbeddedRecordsMixin.html#method_serializeBelongsTo)\n    * [serializeHasMany](/api/data/classes/DS.EmbeddedRecordsMixin.html#method_serializeHasMany)\n  \n    @class EmbeddedRecordsMixin\n    @namespace DS\n  */\n  exports.default = _ember.default.Mixin.create({\n\n    /**\n      Normalize the record and recursively normalize/extract all the embedded records\n      while pushing them into the store as they are encountered\n       A payload with an attr configured for embedded records needs to be extracted:\n       ```js\n      {\n        \"post\": {\n          \"id\": \"1\"\n          \"title\": \"Rails is omakase\",\n          \"comments\": [{\n            \"id\": \"1\",\n            \"body\": \"Rails is unagi\"\n          }, {\n            \"id\": \"2\",\n            \"body\": \"Omakase O_o\"\n          }]\n        }\n      }\n      ```\n     @method normalize\n     @param {DS.Model} typeClass\n     @param {Object} hash to be normalized\n     @param {String} prop the hash has been referenced by\n     @return {Object} the normalized hash\n    **/\n    normalize: function normalize(typeClass, hash, prop) {\n      var normalizedHash = this._super(typeClass, hash, prop);\n      return this._extractEmbeddedRecords(this, this.store, typeClass, normalizedHash);\n    },\n    keyForRelationship: function keyForRelationship(key, typeClass, method) {\n      if (method === 'serialize' && this.hasSerializeRecordsOption(key) || method === 'deserialize' && this.hasDeserializeRecordsOption(key)) {\n        return this.keyForAttribute(key, method);\n      } else {\n        return this._super(key, typeClass, method) || key;\n      }\n    },\n\n\n    /**\n      Serialize `belongsTo` relationship when it is configured as an embedded object.\n       This example of an author model belongs to a post model:\n       ```js\n      Post = DS.Model.extend({\n        title:    DS.attr('string'),\n        body:     DS.attr('string'),\n        author:   DS.belongsTo('author')\n      });\n       Author = DS.Model.extend({\n        name:     DS.attr('string'),\n        post:     DS.belongsTo('post')\n      });\n      ```\n       Use a custom (type) serializer for the post model to configure embedded author\n       ```app/serializers/post.js\n      import DS from 'ember-data';\n       export default DS.RESTSerializer.extend(DS.EmbeddedRecordsMixin, {\n        attrs: {\n          author: { embedded: 'always' }\n        }\n      })\n      ```\n       A payload with an attribute configured for embedded records can serialize\n      the records together under the root attribute's payload:\n       ```js\n      {\n        \"post\": {\n          \"id\": \"1\"\n          \"title\": \"Rails is omakase\",\n          \"author\": {\n            \"id\": \"2\"\n            \"name\": \"dhh\"\n          }\n        }\n      }\n      ```\n       @method serializeBelongsTo\n      @param {DS.Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializeBelongsTo: function serializeBelongsTo(snapshot, json, relationship) {\n      var attr = relationship.key;\n      if (this.noSerializeOptionSpecified(attr)) {\n        this._super(snapshot, json, relationship);\n        return;\n      }\n      var includeIds = this.hasSerializeIdsOption(attr);\n      var includeRecords = this.hasSerializeRecordsOption(attr);\n      var embeddedSnapshot = snapshot.belongsTo(attr);\n      if (includeIds) {\n        var serializedKey = this._getMappedKey(relationship.key, snapshot.type);\n        if (serializedKey === relationship.key && this.keyForRelationship) {\n          serializedKey = this.keyForRelationship(relationship.key, relationship.kind, \"serialize\");\n        }\n\n        if (!embeddedSnapshot) {\n          json[serializedKey] = null;\n        } else {\n          json[serializedKey] = embeddedSnapshot.id;\n\n          if (relationship.options.polymorphic) {\n            this.serializePolymorphicType(snapshot, json, relationship);\n          }\n        }\n      } else if (includeRecords) {\n        this._serializeEmbeddedBelongsTo(snapshot, json, relationship);\n      }\n    },\n    _serializeEmbeddedBelongsTo: function _serializeEmbeddedBelongsTo(snapshot, json, relationship) {\n      var embeddedSnapshot = snapshot.belongsTo(relationship.key);\n      var serializedKey = this._getMappedKey(relationship.key, snapshot.type);\n      if (serializedKey === relationship.key && this.keyForRelationship) {\n        serializedKey = this.keyForRelationship(relationship.key, relationship.kind, \"serialize\");\n      }\n\n      if (!embeddedSnapshot) {\n        json[serializedKey] = null;\n      } else {\n        json[serializedKey] = embeddedSnapshot.serialize({ includeId: true });\n        this.removeEmbeddedForeignKey(snapshot, embeddedSnapshot, relationship, json[serializedKey]);\n\n        if (relationship.options.polymorphic) {\n          this.serializePolymorphicType(snapshot, json, relationship);\n        }\n      }\n    },\n\n\n    /**\n      Serializes `hasMany` relationships when it is configured as embedded objects.\n       This example of a post model has many comments:\n       ```js\n      Post = DS.Model.extend({\n        title:    DS.attr('string'),\n        body:     DS.attr('string'),\n        comments: DS.hasMany('comment')\n      });\n       Comment = DS.Model.extend({\n        body:     DS.attr('string'),\n        post:     DS.belongsTo('post')\n      });\n      ```\n       Use a custom (type) serializer for the post model to configure embedded comments\n       ```app/serializers/post.js\n      import DS from 'ember-data;\n       export default DS.RESTSerializer.extend(DS.EmbeddedRecordsMixin, {\n        attrs: {\n          comments: { embedded: 'always' }\n        }\n      })\n      ```\n       A payload with an attribute configured for embedded records can serialize\n      the records together under the root attribute's payload:\n       ```js\n      {\n        \"post\": {\n          \"id\": \"1\"\n          \"title\": \"Rails is omakase\",\n          \"body\": \"I want this for my ORM, I want that for my template language...\"\n          \"comments\": [{\n            \"id\": \"1\",\n            \"body\": \"Rails is unagi\"\n          }, {\n            \"id\": \"2\",\n            \"body\": \"Omakase O_o\"\n          }]\n        }\n      }\n      ```\n       The attrs options object can use more specific instruction for extracting and\n      serializing. When serializing, an option to embed `ids`, `ids-and-types` or `records` can be set.\n      When extracting the only option is `records`.\n       So `{ embedded: 'always' }` is shorthand for:\n      `{ serialize: 'records', deserialize: 'records' }`\n       To embed the `ids` for a related object (using a hasMany relationship):\n       ```app/serializers/post.js\n      import DS from 'ember-data;\n       export default DS.RESTSerializer.extend(DS.EmbeddedRecordsMixin, {\n        attrs: {\n          comments: { serialize: 'ids', deserialize: 'records' }\n        }\n      })\n      ```\n       ```js\n      {\n        \"post\": {\n          \"id\": \"1\"\n          \"title\": \"Rails is omakase\",\n          \"body\": \"I want this for my ORM, I want that for my template language...\"\n          \"comments\": [\"1\", \"2\"]\n        }\n      }\n      ```\n       To embed the relationship as a collection of objects with `id` and `type` keys, set\n      `ids-and-types` for the related object.\n       This is particularly useful for polymorphic relationships where records don't share\n      the same table and the `id` is not enough information.\n       By example having a user that has many pets:\n       ```js\n      User = DS.Model.extend({\n        name:    DS.attr('string'),\n        pets: DS.hasMany('pet', { polymorphic: true })\n      });\n       Pet = DS.Model.extend({\n        name: DS.attr('string'),\n      });\n       Cat = Pet.extend({\n        // ...\n      });\n       Parrot = Pet.extend({\n        // ...\n      });\n      ```\n       ```app/serializers/user.js\n      import DS from 'ember-data;\n       export default DS.RESTSerializer.extend(DS.EmbeddedRecordsMixin, {\n        attrs: {\n          pets: { serialize: 'ids-and-types', deserialize: 'records' }\n        }\n      });\n      ```\n       ```js\n      {\n        \"user\": {\n          \"id\": \"1\"\n          \"name\": \"Bertin Osborne\",\n          \"pets\": [\n            { \"id\": \"1\", \"type\": \"Cat\" },\n            { \"id\": \"1\", \"type\": \"Parrot\"}\n          ]\n        }\n      }\n      ```\n       @method serializeHasMany\n      @param {DS.Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializeHasMany: function serializeHasMany(snapshot, json, relationship) {\n      var attr = relationship.key;\n      if (this.noSerializeOptionSpecified(attr)) {\n        this._super(snapshot, json, relationship);\n        return;\n      }\n\n      if (this.hasSerializeIdsOption(attr)) {\n        var serializedKey = this._getMappedKey(relationship.key, snapshot.type);\n        if (serializedKey === relationship.key && this.keyForRelationship) {\n          serializedKey = this.keyForRelationship(relationship.key, relationship.kind, \"serialize\");\n        }\n\n        json[serializedKey] = snapshot.hasMany(attr, { ids: true });\n      } else if (this.hasSerializeRecordsOption(attr)) {\n        this._serializeEmbeddedHasMany(snapshot, json, relationship);\n      } else {\n        if (this.hasSerializeIdsAndTypesOption(attr)) {\n          this._serializeHasManyAsIdsAndTypes(snapshot, json, relationship);\n        }\n      }\n    },\n\n\n    /*\n      Serializes a hasMany relationship as an array of objects containing only `id` and `type`\n      keys.\n      This has its use case on polymorphic hasMany relationships where the server is not storing\n      all records in the same table using STI, and therefore the `id` is not enough information\n       TODO: Make the default in Ember-data 3.0??\n    */\n    _serializeHasManyAsIdsAndTypes: function _serializeHasManyAsIdsAndTypes(snapshot, json, relationship) {\n      var serializedKey = this.keyForAttribute(relationship.key, 'serialize');\n      var hasMany = snapshot.hasMany(relationship.key);\n\n      json[serializedKey] = _ember.default.A(hasMany).map(function (recordSnapshot) {\n        //\n        // I'm sure I'm being utterly naive here. Propably id is a configurate property and\n        // type too, and the modelName has to be normalized somehow.\n        //\n        return { id: recordSnapshot.id, type: recordSnapshot.modelName };\n      });\n    },\n    _serializeEmbeddedHasMany: function _serializeEmbeddedHasMany(snapshot, json, relationship) {\n      var serializedKey = this._getMappedKey(relationship.key, snapshot.type);\n      if (serializedKey === relationship.key && this.keyForRelationship) {\n        serializedKey = this.keyForRelationship(relationship.key, relationship.kind, \"serialize\");\n      }\n\n      (0, _debug.warn)('The embedded relationship \\'' + serializedKey + '\\' is undefined for \\'' + snapshot.modelName + '\\' with id \\'' + snapshot.id + '\\'. Please include it in your original payload.', _ember.default.typeOf(snapshot.hasMany(relationship.key)) !== 'undefined', { id: 'ds.serializer.embedded-relationship-undefined' });\n\n      json[serializedKey] = this._generateSerializedHasMany(snapshot, relationship);\n    },\n\n\n    /*\n      Returns an array of embedded records serialized to JSON\n    */\n    _generateSerializedHasMany: function _generateSerializedHasMany(snapshot, relationship) {\n      var hasMany = snapshot.hasMany(relationship.key);\n      var manyArray = _ember.default.A(hasMany);\n      var ret = new Array(manyArray.length);\n\n      for (var i = 0; i < manyArray.length; i++) {\n        var embeddedSnapshot = manyArray[i];\n        var embeddedJson = embeddedSnapshot.serialize({ includeId: true });\n        this.removeEmbeddedForeignKey(snapshot, embeddedSnapshot, relationship, embeddedJson);\n        ret[i] = embeddedJson;\n      }\n\n      return ret;\n    },\n\n\n    /**\n      When serializing an embedded record, modify the property (in the json payload)\n      that refers to the parent record (foreign key for relationship).\n       Serializing a `belongsTo` relationship removes the property that refers to the\n      parent record\n       Serializing a `hasMany` relationship does not remove the property that refers to\n      the parent record.\n       @method removeEmbeddedForeignKey\n      @param {DS.Snapshot} snapshot\n      @param {DS.Snapshot} embeddedSnapshot\n      @param {Object} relationship\n      @param {Object} json\n    */\n    removeEmbeddedForeignKey: function removeEmbeddedForeignKey(snapshot, embeddedSnapshot, relationship, json) {\n      if (relationship.kind === 'belongsTo') {\n        var parentRecord = snapshot.type.inverseFor(relationship.key, this.store);\n        if (parentRecord) {\n          var name = parentRecord.name;\n          var embeddedSerializer = this.store.serializerFor(embeddedSnapshot.modelName);\n          var parentKey = embeddedSerializer.keyForRelationship(name, parentRecord.kind, 'deserialize');\n          if (parentKey) {\n            delete json[parentKey];\n          }\n        }\n      } /*else if (relationship.kind === 'hasMany') {\n        return;\n        }*/\n    },\n\n\n    // checks config for attrs option to embedded (always) - serialize and deserialize\n    hasEmbeddedAlwaysOption: function hasEmbeddedAlwaysOption(attr) {\n      var option = this.attrsOption(attr);\n      return option && option.embedded === 'always';\n    },\n\n\n    // checks config for attrs option to serialize ids\n    hasSerializeRecordsOption: function hasSerializeRecordsOption(attr) {\n      var alwaysEmbed = this.hasEmbeddedAlwaysOption(attr);\n      var option = this.attrsOption(attr);\n      return alwaysEmbed || option && option.serialize === 'records';\n    },\n\n\n    // checks config for attrs option to serialize records\n    hasSerializeIdsOption: function hasSerializeIdsOption(attr) {\n      var option = this.attrsOption(attr);\n      return option && (option.serialize === 'ids' || option.serialize === 'id');\n    },\n\n\n    // checks config for attrs option to serialize records as objects containing id and types\n    hasSerializeIdsAndTypesOption: function hasSerializeIdsAndTypesOption(attr) {\n      var option = this.attrsOption(attr);\n      return option && (option.serialize === 'ids-and-types' || option.serialize === 'id-and-type');\n    },\n\n\n    // checks config for attrs option to serialize records\n    noSerializeOptionSpecified: function noSerializeOptionSpecified(attr) {\n      var option = this.attrsOption(attr);\n      return !(option && (option.serialize || option.embedded));\n    },\n\n\n    // checks config for attrs option to deserialize records\n    // a defined option object for a resource is treated the same as\n    // `deserialize: 'records'`\n    hasDeserializeRecordsOption: function hasDeserializeRecordsOption(attr) {\n      var alwaysEmbed = this.hasEmbeddedAlwaysOption(attr);\n      var option = this.attrsOption(attr);\n      return alwaysEmbed || option && option.deserialize === 'records';\n    },\n    attrsOption: function attrsOption(attr) {\n      var attrs = this.get('attrs');\n      return attrs && (attrs[camelize(attr)] || attrs[attr]);\n    },\n\n\n    /**\n     @method _extractEmbeddedRecords\n     @private\n    */\n    _extractEmbeddedRecords: function _extractEmbeddedRecords(serializer, store, typeClass, partial) {\n      var _this = this;\n\n      typeClass.eachRelationship(function (key, relationship) {\n        if (serializer.hasDeserializeRecordsOption(key)) {\n          if (relationship.kind === \"hasMany\") {\n            _this._extractEmbeddedHasMany(store, key, partial, relationship);\n          }\n          if (relationship.kind === \"belongsTo\") {\n            _this._extractEmbeddedBelongsTo(store, key, partial, relationship);\n          }\n        }\n      });\n      return partial;\n    },\n\n\n    /**\n     @method _extractEmbeddedHasMany\n     @private\n    */\n    _extractEmbeddedHasMany: function _extractEmbeddedHasMany(store, key, hash, relationshipMeta) {\n      var relationshipHash = get(hash, 'data.relationships.' + key + '.data');\n\n      if (!relationshipHash) {\n        return;\n      }\n\n      var hasMany = new Array(relationshipHash.length);\n\n      for (var i = 0; i < relationshipHash.length; i++) {\n        var item = relationshipHash[i];\n\n        var _normalizeEmbeddedRel = this._normalizeEmbeddedRelationship(store, relationshipMeta, item),\n            data = _normalizeEmbeddedRel.data,\n            included = _normalizeEmbeddedRel.included;\n\n        hash.included = hash.included || [];\n        hash.included.push(data);\n        if (included) {\n          var _hash$included;\n\n          (_hash$included = hash.included).push.apply(_hash$included, included);\n        }\n\n        hasMany[i] = { id: data.id, type: data.type };\n      }\n\n      var relationship = { data: hasMany };\n      set(hash, 'data.relationships.' + key, relationship);\n    },\n\n\n    /**\n     @method _extractEmbeddedBelongsTo\n     @private\n    */\n    _extractEmbeddedBelongsTo: function _extractEmbeddedBelongsTo(store, key, hash, relationshipMeta) {\n      var relationshipHash = get(hash, 'data.relationships.' + key + '.data');\n      if (!relationshipHash) {\n        return;\n      }\n\n      var _normalizeEmbeddedRel2 = this._normalizeEmbeddedRelationship(store, relationshipMeta, relationshipHash),\n          data = _normalizeEmbeddedRel2.data,\n          included = _normalizeEmbeddedRel2.included;\n\n      hash.included = hash.included || [];\n      hash.included.push(data);\n      if (included) {\n        var _hash$included2;\n\n        (_hash$included2 = hash.included).push.apply(_hash$included2, included);\n      }\n\n      var belongsTo = { id: data.id, type: data.type };\n      var relationship = { data: belongsTo };\n\n      set(hash, 'data.relationships.' + key, relationship);\n    },\n\n\n    /**\n     @method _normalizeEmbeddedRelationship\n     @private\n    */\n    _normalizeEmbeddedRelationship: function _normalizeEmbeddedRelationship(store, relationshipMeta, relationshipHash) {\n      var modelName = relationshipMeta.type;\n      if (relationshipMeta.options.polymorphic) {\n        modelName = relationshipHash.type;\n      }\n      var modelClass = store.modelFor(modelName);\n      var serializer = store.serializerFor(modelName);\n\n      return serializer.normalize(modelClass, relationshipHash, null);\n    },\n\n    isEmbeddedRecordsMixin: true\n  });\n});","define('ember-data/serializers/json-api', ['exports', 'ember', 'ember-inflector', 'ember-data/-debug', 'ember-data/serializers/json', 'ember-data/-private'], function (exports, _ember, _emberInflector, _debug, _json, _private) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  var dasherize = _ember.default.String.dasherize;\n\n  /**\n    Ember Data 2.0 Serializer:\n  \n    In Ember Data a Serializer is used to serialize and deserialize\n    records when they are transferred in and out of an external source.\n    This process involves normalizing property names, transforming\n    attribute values and serializing relationships.\n  \n    `JSONAPISerializer` supports the http://jsonapi.org/ spec and is the\n    serializer recommended by Ember Data.\n  \n    This serializer normalizes a JSON API payload that looks like:\n  \n    ```app/models/player.js\n    import DS from 'ember-data';\n  \n    export default DS.Model.extend({\n      name: DS.attr('string'),\n      skill: DS.attr('string'),\n      gamesPlayed: DS.attr('number'),\n      club: DS.belongsTo('club')\n    });\n    ```\n  \n    ```app/models/club.js\n    import DS from 'ember-data';\n  \n    export default DS.Model.extend({\n      name: DS.attr('string'),\n      location: DS.attr('string'),\n      players: DS.hasMany('player')\n    });\n    ```\n  \n    ```js\n      {\n        \"data\": [\n          {\n            \"attributes\": {\n              \"name\": \"Benfica\",\n              \"location\": \"Portugal\"\n            },\n            \"id\": \"1\",\n            \"relationships\": {\n              \"players\": {\n                \"data\": [\n                  {\n                    \"id\": \"3\",\n                    \"type\": \"players\"\n                  }\n                ]\n              }\n            },\n            \"type\": \"clubs\"\n          }\n        ],\n        \"included\": [\n          {\n            \"attributes\": {\n              \"name\": \"Eusebio Silva Ferreira\",\n              \"skill\": \"Rocket shot\",\n              \"games-played\": 431\n            },\n            \"id\": \"3\",\n            \"relationships\": {\n              \"club\": {\n                \"data\": {\n                  \"id\": \"1\",\n                  \"type\": \"clubs\"\n                }\n              }\n            },\n            \"type\": \"players\"\n          }\n        ]\n      }\n    ```\n  \n    to the format that the Ember Data store expects.\n  \n    ### Customizing meta\n  \n    Since a JSON API Document can have meta defined in multiple locations you can\n    use the specific serializer hooks if you need to customize the meta.\n  \n    One scenario would be to camelCase the meta keys of your payload. The example\n    below shows how this could be done using `normalizeArrayResponse` and\n    `extractRelationship`.\n  \n    ```app/serializers/application.js\n    export default JSONAPISerializer.extend({\n      normalizeArrayResponse(store, primaryModelClass, payload, id, requestType) {\n        let normalizedDocument = this._super(...arguments);\n  \n        // Customize document meta\n        normalizedDocument.meta = camelCaseKeys(normalizedDocument.meta);\n  \n        return normalizedDocument;\n      },\n  \n      extractRelationship(relationshipHash) {\n        let normalizedRelationship = this._super(...arguments);\n  \n        // Customize relationship meta\n        normalizedRelationship.meta = camelCaseKeys(normalizedRelationship.meta);\n  \n        return normalizedRelationship;\n      }\n    });\n    ```\n  \n    @since 1.13.0\n    @class JSONAPISerializer\n    @namespace DS\n    @extends DS.JSONSerializer\n  */\n  /**\n    @module ember-data\n  */\n\n  var JSONAPISerializer = _json.default.extend({\n    _normalizeDocumentHelper: function _normalizeDocumentHelper(documentHash) {\n\n      if (_ember.default.typeOf(documentHash.data) === 'object') {\n        documentHash.data = this._normalizeResourceHelper(documentHash.data);\n      } else if (Array.isArray(documentHash.data)) {\n        var ret = new Array(documentHash.data.length);\n\n        for (var i = 0; i < documentHash.data.length; i++) {\n          var data = documentHash.data[i];\n          ret[i] = this._normalizeResourceHelper(data);\n        }\n\n        documentHash.data = ret;\n      }\n\n      if (Array.isArray(documentHash.included)) {\n        var _ret = new Array(documentHash.included.length);\n\n        for (var _i = 0; _i < documentHash.included.length; _i++) {\n          var included = documentHash.included[_i];\n          _ret[_i] = this._normalizeResourceHelper(included);\n        }\n\n        documentHash.included = _ret;\n      }\n\n      return documentHash;\n    },\n    _normalizeRelationshipDataHelper: function _normalizeRelationshipDataHelper(relationshipDataHash) {\n      if ((0, _private.isEnabled)(\"ds-payload-type-hooks\")) {\n        var modelName = this.modelNameFromPayloadType(relationshipDataHash.type);\n        var deprecatedModelNameLookup = this.modelNameFromPayloadKey(relationshipDataHash.type);\n\n        if (modelName !== deprecatedModelNameLookup && this._hasCustomModelNameFromPayloadKey()) {\n          (0, _debug.deprecate)(\"You are using modelNameFromPayloadKey to normalize the type for a relationship. This has been deprecated in favor of modelNameFromPayloadType\", false, {\n            id: 'ds.json-api-serializer.deprecated-model-name-for-relationship',\n            until: '3.0.0'\n          });\n\n          modelName = deprecatedModelNameLookup;\n        }\n\n        relationshipDataHash.type = modelName;\n      } else {\n        relationshipDataHash.type = this.modelNameFromPayloadKey(relationshipDataHash.type);\n      }\n\n      return relationshipDataHash;\n    },\n    _normalizeResourceHelper: function _normalizeResourceHelper(resourceHash) {\n      (0, _debug.assert)(this.warnMessageForUndefinedType(), !_ember.default.isNone(resourceHash.type), {\n        id: 'ds.serializer.type-is-undefined'\n      });\n\n      var modelName = void 0,\n          usedLookup = void 0;\n\n      if ((0, _private.isEnabled)(\"ds-payload-type-hooks\")) {\n        modelName = this.modelNameFromPayloadType(resourceHash.type);\n        var deprecatedModelNameLookup = this.modelNameFromPayloadKey(resourceHash.type);\n\n        usedLookup = 'modelNameFromPayloadType';\n\n        if (modelName !== deprecatedModelNameLookup && this._hasCustomModelNameFromPayloadKey()) {\n          (0, _debug.deprecate)(\"You are using modelNameFromPayloadKey to normalize the type for a resource. This has been deprecated in favor of modelNameFromPayloadType\", false, {\n            id: 'ds.json-api-serializer.deprecated-model-name-for-resource',\n            until: '3.0.0'\n          });\n\n          modelName = deprecatedModelNameLookup;\n          usedLookup = 'modelNameFromPayloadKey';\n        }\n      } else {\n        modelName = this.modelNameFromPayloadKey(resourceHash.type);\n        usedLookup = 'modelNameFromPayloadKey';\n      }\n\n      if (!this.store._hasModelFor(modelName)) {\n        (0, _debug.warn)(this.warnMessageNoModelForType(modelName, resourceHash.type, usedLookup), false, {\n          id: 'ds.serializer.model-for-type-missing'\n        });\n        return null;\n      }\n\n      var modelClass = this.store._modelFor(modelName);\n      var serializer = this.store.serializerFor(modelName);\n\n      var _serializer$normalize = serializer.normalize(modelClass, resourceHash),\n          data = _serializer$normalize.data;\n\n      return data;\n    },\n    pushPayload: function pushPayload(store, payload) {\n      var normalizedPayload = this._normalizeDocumentHelper(payload);\n      if ((0, _private.isEnabled)('ds-pushpayload-return')) {\n        return store.push(normalizedPayload);\n      } else {\n        store.push(normalizedPayload);\n      }\n    },\n    _normalizeResponse: function _normalizeResponse(store, primaryModelClass, payload, id, requestType, isSingle) {\n      var normalizedPayload = this._normalizeDocumentHelper(payload);\n      return normalizedPayload;\n    },\n    normalizeQueryRecordResponse: function normalizeQueryRecordResponse() {\n      var normalized = this._super.apply(this, arguments);\n\n      (0, _debug.assert)('Expected the primary data returned by the serializer for a `queryRecord` response to be a single object but instead it was an array.', !Array.isArray(normalized.data), {\n        id: 'ds.serializer.json-api.queryRecord-array-response'\n      });\n\n      return normalized;\n    },\n    extractAttributes: function extractAttributes(modelClass, resourceHash) {\n      var _this = this;\n\n      var attributes = {};\n\n      if (resourceHash.attributes) {\n        modelClass.eachAttribute(function (key) {\n          var attributeKey = _this.keyForAttribute(key, 'deserialize');\n          if (resourceHash.attributes[attributeKey] !== undefined) {\n            attributes[key] = resourceHash.attributes[attributeKey];\n          }\n          (0, _debug.runInDebug)(function () {\n            if (resourceHash.attributes[attributeKey] === undefined && resourceHash.attributes[key] !== undefined) {\n              (0, _debug.assert)('Your payload for \\'' + modelClass.modelName + '\\' contains \\'' + key + '\\', but your serializer is setup to look for \\'' + attributeKey + '\\'. This is most likely because Ember Data\\'s JSON API serializer dasherizes attribute keys by default. You should subclass JSONAPISerializer and implement \\'keyForAttribute(key) { return key; }\\' to prevent Ember Data from customizing your attribute keys.', false);\n            }\n          });\n        });\n      }\n\n      return attributes;\n    },\n    extractRelationship: function extractRelationship(relationshipHash) {\n\n      if (_ember.default.typeOf(relationshipHash.data) === 'object') {\n        relationshipHash.data = this._normalizeRelationshipDataHelper(relationshipHash.data);\n      }\n\n      if (Array.isArray(relationshipHash.data)) {\n        var ret = new Array(relationshipHash.data.length);\n\n        for (var i = 0; i < relationshipHash.data.length; i++) {\n          var data = relationshipHash.data[i];\n          ret[i] = this._normalizeRelationshipDataHelper(data);\n        }\n\n        relationshipHash.data = ret;\n      }\n\n      return relationshipHash;\n    },\n    extractRelationships: function extractRelationships(modelClass, resourceHash) {\n      var _this2 = this;\n\n      var relationships = {};\n\n      if (resourceHash.relationships) {\n        modelClass.eachRelationship(function (key, relationshipMeta) {\n          var relationshipKey = _this2.keyForRelationship(key, relationshipMeta.kind, 'deserialize');\n          if (resourceHash.relationships[relationshipKey] !== undefined) {\n\n            var relationshipHash = resourceHash.relationships[relationshipKey];\n            relationships[key] = _this2.extractRelationship(relationshipHash);\n          }\n          (0, _debug.runInDebug)(function () {\n            if (resourceHash.relationships[relationshipKey] === undefined && resourceHash.relationships[key] !== undefined) {\n              (0, _debug.assert)('Your payload for \\'' + modelClass.modelName + '\\' contains \\'' + key + '\\', but your serializer is setup to look for \\'' + relationshipKey + '\\'. This is most likely because Ember Data\\'s JSON API serializer dasherizes relationship keys by default. You should subclass JSONAPISerializer and implement \\'keyForRelationship(key) { return key; }\\' to prevent Ember Data from customizing your relationship keys.', false);\n            }\n          });\n        });\n      }\n\n      return relationships;\n    },\n    _extractType: function _extractType(modelClass, resourceHash) {\n      if ((0, _private.isEnabled)(\"ds-payload-type-hooks\")) {\n        var modelName = this.modelNameFromPayloadType(resourceHash.type);\n        var deprecatedModelNameLookup = this.modelNameFromPayloadKey(resourceHash.type);\n\n        if (modelName !== deprecatedModelNameLookup && this._hasCustomModelNameFromPayloadKey()) {\n          (0, _debug.deprecate)(\"You are using modelNameFromPayloadKey to normalize the type for a polymorphic relationship. This has been deprecated in favor of modelNameFromPayloadType\", false, {\n            id: 'ds.json-api-serializer.deprecated-model-name-for-polymorphic-type',\n            until: '3.0.0'\n          });\n\n          modelName = deprecatedModelNameLookup;\n        }\n\n        return modelName;\n      } else {\n        return this.modelNameFromPayloadKey(resourceHash.type);\n      }\n    },\n    modelNameFromPayloadKey: function modelNameFromPayloadKey(key) {\n      return (0, _emberInflector.singularize)((0, _private.normalizeModelName)(key));\n    },\n    payloadKeyFromModelName: function payloadKeyFromModelName(modelName) {\n      return (0, _emberInflector.pluralize)(modelName);\n    },\n    normalize: function normalize(modelClass, resourceHash) {\n      if (resourceHash.attributes) {\n        this.normalizeUsingDeclaredMapping(modelClass, resourceHash.attributes);\n      }\n\n      if (resourceHash.relationships) {\n        this.normalizeUsingDeclaredMapping(modelClass, resourceHash.relationships);\n      }\n\n      var data = {\n        id: this.extractId(modelClass, resourceHash),\n        type: this._extractType(modelClass, resourceHash),\n        attributes: this.extractAttributes(modelClass, resourceHash),\n        relationships: this.extractRelationships(modelClass, resourceHash)\n      };\n\n      this.applyTransforms(modelClass, data.attributes);\n\n      return { data: data };\n    },\n    keyForAttribute: function keyForAttribute(key, method) {\n      return dasherize(key);\n    },\n    keyForRelationship: function keyForRelationship(key, typeClass, method) {\n      return dasherize(key);\n    },\n    serialize: function serialize(snapshot, options) {\n      var data = this._super.apply(this, arguments);\n\n      var payloadType = void 0;\n      if ((0, _private.isEnabled)(\"ds-payload-type-hooks\")) {\n        payloadType = this.payloadTypeFromModelName(snapshot.modelName);\n        var deprecatedPayloadTypeLookup = this.payloadKeyFromModelName(snapshot.modelName);\n\n        if (payloadType !== deprecatedPayloadTypeLookup && this._hasCustomPayloadKeyFromModelName()) {\n          (0, _debug.deprecate)(\"You used payloadKeyFromModelName to customize how a type is serialized. Use payloadTypeFromModelName instead.\", false, {\n            id: 'ds.json-api-serializer.deprecated-payload-type-for-model',\n            until: '3.0.0'\n          });\n\n          payloadType = deprecatedPayloadTypeLookup;\n        }\n      } else {\n        payloadType = this.payloadKeyFromModelName(snapshot.modelName);\n      }\n\n      data.type = payloadType;\n      return { data: data };\n    },\n    serializeAttribute: function serializeAttribute(snapshot, json, key, attribute) {\n      var type = attribute.type;\n\n      if (this._canSerialize(key)) {\n        json.attributes = json.attributes || {};\n\n        var value = snapshot.attr(key);\n        if (type) {\n          var transform = this.transformFor(type);\n          value = transform.serialize(value, attribute.options);\n        }\n\n        var payloadKey = this._getMappedKey(key, snapshot.type);\n\n        if (payloadKey === key) {\n          payloadKey = this.keyForAttribute(key, 'serialize');\n        }\n\n        json.attributes[payloadKey] = value;\n      }\n    },\n    serializeBelongsTo: function serializeBelongsTo(snapshot, json, relationship) {\n      var key = relationship.key;\n\n      if (this._canSerialize(key)) {\n        var belongsTo = snapshot.belongsTo(key);\n        if (belongsTo !== undefined) {\n\n          json.relationships = json.relationships || {};\n\n          var payloadKey = this._getMappedKey(key, snapshot.type);\n          if (payloadKey === key) {\n            payloadKey = this.keyForRelationship(key, 'belongsTo', 'serialize');\n          }\n\n          var data = null;\n          if (belongsTo) {\n            var payloadType = void 0;\n\n            if ((0, _private.isEnabled)(\"ds-payload-type-hooks\")) {\n              payloadType = this.payloadTypeFromModelName(belongsTo.modelName);\n              var deprecatedPayloadTypeLookup = this.payloadKeyFromModelName(belongsTo.modelName);\n\n              if (payloadType !== deprecatedPayloadTypeLookup && this._hasCustomPayloadKeyFromModelName()) {\n                (0, _debug.deprecate)(\"You used payloadKeyFromModelName to serialize type for belongs-to relationship. Use payloadTypeFromModelName instead.\", false, {\n                  id: 'ds.json-api-serializer.deprecated-payload-type-for-belongs-to',\n                  until: '3.0.0'\n                });\n\n                payloadType = deprecatedPayloadTypeLookup;\n              }\n            } else {\n              payloadType = this.payloadKeyFromModelName(belongsTo.modelName);\n            }\n\n            data = {\n              type: payloadType,\n              id: belongsTo.id\n            };\n          }\n\n          json.relationships[payloadKey] = { data: data };\n        }\n      }\n    },\n    serializeHasMany: function serializeHasMany(snapshot, json, relationship) {\n      var key = relationship.key;\n      var shouldSerializeHasMany = '_shouldSerializeHasMany';\n      if ((0, _private.isEnabled)(\"ds-check-should-serialize-relationships\")) {\n        shouldSerializeHasMany = 'shouldSerializeHasMany';\n      }\n\n      if (this[shouldSerializeHasMany](snapshot, key, relationship)) {\n        var hasMany = snapshot.hasMany(key);\n        if (hasMany !== undefined) {\n\n          json.relationships = json.relationships || {};\n\n          var payloadKey = this._getMappedKey(key, snapshot.type);\n          if (payloadKey === key && this.keyForRelationship) {\n            payloadKey = this.keyForRelationship(key, 'hasMany', 'serialize');\n          }\n\n          var data = new Array(hasMany.length);\n\n          for (var i = 0; i < hasMany.length; i++) {\n            var item = hasMany[i];\n\n            var payloadType = void 0;\n\n            if ((0, _private.isEnabled)(\"ds-payload-type-hooks\")) {\n              payloadType = this.payloadTypeFromModelName(item.modelName);\n              var deprecatedPayloadTypeLookup = this.payloadKeyFromModelName(item.modelName);\n\n              if (payloadType !== deprecatedPayloadTypeLookup && this._hasCustomPayloadKeyFromModelName()) {\n                (0, _debug.deprecate)(\"You used payloadKeyFromModelName to serialize type for belongs-to relationship. Use payloadTypeFromModelName instead.\", false, {\n                  id: 'ds.json-api-serializer.deprecated-payload-type-for-has-many',\n                  until: '3.0.0'\n                });\n\n                payloadType = deprecatedPayloadTypeLookup;\n              }\n            } else {\n              payloadType = this.payloadKeyFromModelName(item.modelName);\n            }\n\n            data[i] = {\n              type: payloadType,\n              id: item.id\n            };\n          }\n\n          json.relationships[payloadKey] = { data: data };\n        }\n      }\n    }\n  });\n\n  if ((0, _private.isEnabled)(\"ds-payload-type-hooks\")) {\n\n    JSONAPISerializer.reopen({\n      modelNameFromPayloadType: function modelNameFromPayloadType(type) {\n        return (0, _emberInflector.singularize)((0, _private.normalizeModelName)(type));\n      },\n      payloadTypeFromModelName: function payloadTypeFromModelName(modelName) {\n        return (0, _emberInflector.pluralize)(modelName);\n      },\n      _hasCustomModelNameFromPayloadKey: function _hasCustomModelNameFromPayloadKey() {\n        return this.modelNameFromPayloadKey !== JSONAPISerializer.prototype.modelNameFromPayloadKey;\n      },\n      _hasCustomPayloadKeyFromModelName: function _hasCustomPayloadKeyFromModelName() {\n        return this.payloadKeyFromModelName !== JSONAPISerializer.prototype.payloadKeyFromModelName;\n      }\n    });\n  }\n\n  (0, _debug.runInDebug)(function () {\n    JSONAPISerializer.reopen({\n      willMergeMixin: function willMergeMixin(props) {\n        var constructor = this.constructor;\n        (0, _debug.warn)('You\\'ve defined \\'extractMeta\\' in ' + constructor.toString() + ' which is not used for serializers extending JSONAPISerializer. Read more at http://emberjs.com/api/data/classes/DS.JSONAPISerializer.html#toc_customizing-meta on how to customize meta when using JSON API.', _ember.default.isNone(props.extractMeta) || props.extractMeta === _json.default.prototype.extractMeta, {\n          id: 'ds.serializer.json-api.extractMeta'\n        });\n        (0, _debug.warn)('The JSONAPISerializer does not work with the EmbeddedRecordsMixin because the JSON API spec does not describe how to format embedded resources.', !props.isEmbeddedRecordsMixin, {\n          id: 'ds.serializer.embedded-records-mixin-not-supported'\n        });\n      },\n      warnMessageForUndefinedType: function warnMessageForUndefinedType() {\n        return 'Encountered a resource object with an undefined type (resolved resource using ' + this.constructor.toString() + ')';\n      },\n      warnMessageNoModelForType: function warnMessageNoModelForType(modelName, originalType, usedLookup) {\n        return 'Encountered a resource object with type \"' + originalType + '\", but no model was found for model name \"' + modelName + '\" (resolved model name using \\'' + this.constructor.toString() + '.' + usedLookup + '(\"' + originalType + '\")\\').';\n      }\n    });\n  });\n\n  exports.default = JSONAPISerializer;\n});","define('ember-data/serializers/json', ['exports', 'ember', 'ember-data/-debug', 'ember-data/serializer', 'ember-data/-private'], function (exports, _ember, _debug, _serializer, _private) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  var get = _ember.default.get;\n  var isNone = _ember.default.isNone;\n  var assign = _ember.default.assign || _ember.default.merge;\n\n  /**\n    Ember Data 2.0 Serializer:\n  \n    In Ember Data a Serializer is used to serialize and deserialize\n    records when they are transferred in and out of an external source.\n    This process involves normalizing property names, transforming\n    attribute values and serializing relationships.\n  \n    By default, Ember Data uses and recommends the `JSONAPISerializer`.\n  \n    `JSONSerializer` is useful for simpler or legacy backends that may\n    not support the http://jsonapi.org/ spec.\n  \n    For example, given the following `User` model and JSON payload:\n  \n    ```app/models/user.js\n    import DS from 'ember-data';\n  \n    export default DS.Model.extend({\n      friends: DS.hasMany('user'),\n      house: DS.belongsTo('location'),\n  \n      name: DS.attr('string')\n    });\n    ```\n  \n    ```js\n    {\n      id: 1,\n      name: 'Sebastian',\n      friends: [3, 4],\n      links: {\n        house: '/houses/lefkada'\n      }\n    }\n    ```\n  \n    `JSONSerializer` will normalize the JSON payload to the JSON API format that the\n    Ember Data store expects.\n  \n    You can customize how JSONSerializer processes its payload by passing options in\n    the `attrs` hash or by subclassing the `JSONSerializer` and overriding hooks:\n  \n      - To customize how a single record is normalized, use the `normalize` hook.\n      - To customize how `JSONSerializer` normalizes the whole server response, use the\n        `normalizeResponse` hook.\n      - To customize how `JSONSerializer` normalizes a specific response from the server,\n        use one of the many specific `normalizeResponse` hooks.\n      - To customize how `JSONSerializer` normalizes your id, attributes or relationships,\n        use the `extractId`, `extractAttributes` and `extractRelationships` hooks.\n  \n    The `JSONSerializer` normalization process follows these steps:\n  \n      - `normalizeResponse` - entry method to the serializer.\n      - `normalizeCreateRecordResponse` - a `normalizeResponse` for a specific operation is called.\n      - `normalizeSingleResponse`|`normalizeArrayResponse` - for methods like `createRecord` we expect\n        a single record back, while for methods like `findAll` we expect multiple methods back.\n      - `normalize` - `normalizeArray` iterates and calls `normalize` for each of its records while `normalizeSingle`\n        calls it once. This is the method you most likely want to subclass.\n      - `extractId` | `extractAttributes` | `extractRelationships` - `normalize` delegates to these methods to\n        turn the record payload into the JSON API format.\n  \n    @class JSONSerializer\n    @namespace DS\n    @extends DS.Serializer\n  */\n  var JSONSerializer = _serializer.default.extend({\n\n    /**\n      The `primaryKey` is used when serializing and deserializing\n      data. Ember Data always uses the `id` property to store the id of\n      the record. The external source may not always follow this\n      convention. In these cases it is useful to override the\n      `primaryKey` property to match the `primaryKey` of your external\n      store.\n       Example\n       ```app/serializers/application.js\n      import DS from 'ember-data';\n       export default DS.JSONSerializer.extend({\n        primaryKey: '_id'\n      });\n      ```\n       @property primaryKey\n      @type {String}\n      @default 'id'\n    */\n    primaryKey: 'id',\n\n    /**\n      The `attrs` object can be used to declare a simple mapping between\n      property names on `DS.Model` records and payload keys in the\n      serialized JSON object representing the record. An object with the\n      property `key` can also be used to designate the attribute's key on\n      the response payload.\n       Example\n       ```app/models/person.js\n      import DS from 'ember-data';\n       export default DS.Model.extend({\n        firstName: DS.attr('string'),\n        lastName: DS.attr('string'),\n        occupation: DS.attr('string'),\n        admin: DS.attr('boolean')\n      });\n      ```\n       ```app/serializers/person.js\n      import DS from 'ember-data';\n       export default DS.JSONSerializer.extend({\n        attrs: {\n          admin: 'is_admin',\n          occupation: { key: 'career' }\n        }\n      });\n      ```\n       You can also remove attributes by setting the `serialize` key to\n      `false` in your mapping object.\n       Example\n       ```app/serializers/person.js\n      import DS from 'ember-data';\n       export default DS.JSONSerializer.extend({\n        attrs: {\n          admin: { serialize: false },\n          occupation: { key: 'career' }\n        }\n      });\n      ```\n       When serialized:\n       ```javascript\n      {\n        \"firstName\": \"Harry\",\n        \"lastName\": \"Houdini\",\n        \"career\": \"magician\"\n      }\n      ```\n       Note that the `admin` is now not included in the payload.\n       @property attrs\n      @type {Object}\n    */\n    mergedProperties: ['attrs'],\n\n    applyTransforms: function applyTransforms(typeClass, data) {\n      var _this = this;\n\n      var attributes = get(typeClass, 'attributes');\n\n      typeClass.eachTransformedAttribute(function (key, typeClass) {\n        if (data[key] === undefined) {\n          return;\n        }\n\n        var transform = _this.transformFor(typeClass);\n        var transformMeta = attributes.get(key);\n        data[key] = transform.deserialize(data[key], transformMeta.options);\n      });\n\n      return data;\n    },\n    normalizeResponse: function normalizeResponse(store, primaryModelClass, payload, id, requestType) {\n      switch (requestType) {\n        case 'findRecord':\n          return this.normalizeFindRecordResponse.apply(this, arguments);\n        case 'queryRecord':\n          return this.normalizeQueryRecordResponse.apply(this, arguments);\n        case 'findAll':\n          return this.normalizeFindAllResponse.apply(this, arguments);\n        case 'findBelongsTo':\n          return this.normalizeFindBelongsToResponse.apply(this, arguments);\n        case 'findHasMany':\n          return this.normalizeFindHasManyResponse.apply(this, arguments);\n        case 'findMany':\n          return this.normalizeFindManyResponse.apply(this, arguments);\n        case 'query':\n          return this.normalizeQueryResponse.apply(this, arguments);\n        case 'createRecord':\n          return this.normalizeCreateRecordResponse.apply(this, arguments);\n        case 'deleteRecord':\n          return this.normalizeDeleteRecordResponse.apply(this, arguments);\n        case 'updateRecord':\n          return this.normalizeUpdateRecordResponse.apply(this, arguments);\n      }\n    },\n    normalizeFindRecordResponse: function normalizeFindRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse.apply(this, arguments);\n    },\n    normalizeQueryRecordResponse: function normalizeQueryRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse.apply(this, arguments);\n    },\n    normalizeFindAllResponse: function normalizeFindAllResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse.apply(this, arguments);\n    },\n    normalizeFindBelongsToResponse: function normalizeFindBelongsToResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse.apply(this, arguments);\n    },\n    normalizeFindHasManyResponse: function normalizeFindHasManyResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse.apply(this, arguments);\n    },\n    normalizeFindManyResponse: function normalizeFindManyResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse.apply(this, arguments);\n    },\n    normalizeQueryResponse: function normalizeQueryResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse.apply(this, arguments);\n    },\n    normalizeCreateRecordResponse: function normalizeCreateRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSaveResponse.apply(this, arguments);\n    },\n    normalizeDeleteRecordResponse: function normalizeDeleteRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSaveResponse.apply(this, arguments);\n    },\n    normalizeUpdateRecordResponse: function normalizeUpdateRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSaveResponse.apply(this, arguments);\n    },\n    normalizeSaveResponse: function normalizeSaveResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse.apply(this, arguments);\n    },\n    normalizeSingleResponse: function normalizeSingleResponse(store, primaryModelClass, payload, id, requestType) {\n      return this._normalizeResponse(store, primaryModelClass, payload, id, requestType, true);\n    },\n    normalizeArrayResponse: function normalizeArrayResponse(store, primaryModelClass, payload, id, requestType) {\n      return this._normalizeResponse(store, primaryModelClass, payload, id, requestType, false);\n    },\n    _normalizeResponse: function _normalizeResponse(store, primaryModelClass, payload, id, requestType, isSingle) {\n      var documentHash = {\n        data: null,\n        included: []\n      };\n\n      var meta = this.extractMeta(store, primaryModelClass, payload);\n      if (meta) {\n        (0, _debug.assert)('The `meta` returned from `extractMeta` has to be an object, not \"' + _ember.default.typeOf(meta) + '\".', _ember.default.typeOf(meta) === 'object');\n        documentHash.meta = meta;\n      }\n\n      if (isSingle) {\n        var _normalize = this.normalize(primaryModelClass, payload),\n            data = _normalize.data,\n            included = _normalize.included;\n\n        documentHash.data = data;\n        if (included) {\n          documentHash.included = included;\n        }\n      } else {\n        var ret = new Array(payload.length);\n        for (var i = 0, l = payload.length; i < l; i++) {\n          var item = payload[i];\n\n          var _normalize2 = this.normalize(primaryModelClass, item),\n              _data = _normalize2.data,\n              _included = _normalize2.included;\n\n          if (_included) {\n            var _documentHash$include;\n\n            (_documentHash$include = documentHash.included).push.apply(_documentHash$include, _included);\n          }\n          ret[i] = _data;\n        }\n\n        documentHash.data = ret;\n      }\n\n      return documentHash;\n    },\n    normalize: function normalize(modelClass, resourceHash) {\n      var data = null;\n\n      if (resourceHash) {\n        this.normalizeUsingDeclaredMapping(modelClass, resourceHash);\n        if (_ember.default.typeOf(resourceHash.links) === 'object') {\n          this.normalizeUsingDeclaredMapping(modelClass, resourceHash.links);\n        }\n\n        data = {\n          id: this.extractId(modelClass, resourceHash),\n          type: modelClass.modelName,\n          attributes: this.extractAttributes(modelClass, resourceHash),\n          relationships: this.extractRelationships(modelClass, resourceHash)\n        };\n\n        this.applyTransforms(modelClass, data.attributes);\n      }\n\n      return { data: data };\n    },\n    extractId: function extractId(modelClass, resourceHash) {\n      var primaryKey = get(this, 'primaryKey');\n      var id = resourceHash[primaryKey];\n      return (0, _private.coerceId)(id);\n    },\n    extractAttributes: function extractAttributes(modelClass, resourceHash) {\n      var _this2 = this;\n\n      var attributeKey = void 0;\n      var attributes = {};\n\n      modelClass.eachAttribute(function (key) {\n        attributeKey = _this2.keyForAttribute(key, 'deserialize');\n        if (resourceHash[attributeKey] !== undefined) {\n          attributes[key] = resourceHash[attributeKey];\n        }\n      });\n\n      return attributes;\n    },\n    extractRelationship: function extractRelationship(relationshipModelName, relationshipHash) {\n      if (_ember.default.isNone(relationshipHash)) {\n        return null;\n      }\n      /*\n        When `relationshipHash` is an object it usually means that the relationship\n        is polymorphic. It could however also be embedded resources that the\n        EmbeddedRecordsMixin has be able to process.\n      */\n      if (_ember.default.typeOf(relationshipHash) === 'object') {\n        if (relationshipHash.id) {\n          relationshipHash.id = (0, _private.coerceId)(relationshipHash.id);\n        }\n\n        var modelClass = this.store.modelFor(relationshipModelName);\n        if (relationshipHash.type && !(0, _private.modelHasAttributeOrRelationshipNamedType)(modelClass)) {\n\n          if ((0, _private.isEnabled)(\"ds-payload-type-hooks\")) {\n            var modelName = this.modelNameFromPayloadType(relationshipHash.type);\n            var deprecatedModelNameLookup = this.modelNameFromPayloadKey(relationshipHash.type);\n\n            if (modelName !== deprecatedModelNameLookup && this._hasCustomModelNameFromPayloadKey()) {\n              (0, _debug.deprecate)(\"You used modelNameFromPayloadKey to customize how a type is normalized. Use modelNameFromPayloadType instead\", false, {\n                id: 'ds.json-serializer.deprecated-type-for-polymorphic-relationship',\n                until: '3.0.0'\n              });\n\n              modelName = deprecatedModelNameLookup;\n            }\n\n            relationshipHash.type = modelName;\n          } else {\n            relationshipHash.type = this.modelNameFromPayloadKey(relationshipHash.type);\n          }\n        }\n        return relationshipHash;\n      }\n      return { id: (0, _private.coerceId)(relationshipHash), type: relationshipModelName };\n    },\n    extractPolymorphicRelationship: function extractPolymorphicRelationship(relationshipModelName, relationshipHash, relationshipOptions) {\n      return this.extractRelationship(relationshipModelName, relationshipHash);\n    },\n    extractRelationships: function extractRelationships(modelClass, resourceHash) {\n      var _this3 = this;\n\n      var relationships = {};\n\n      modelClass.eachRelationship(function (key, relationshipMeta) {\n        var relationship = null;\n        var relationshipKey = _this3.keyForRelationship(key, relationshipMeta.kind, 'deserialize');\n        if (resourceHash[relationshipKey] !== undefined) {\n          var data = null;\n          var relationshipHash = resourceHash[relationshipKey];\n          if (relationshipMeta.kind === 'belongsTo') {\n            if (relationshipMeta.options.polymorphic) {\n              // extracting a polymorphic belongsTo may need more information\n              // than the type and the hash (which might only be an id) for the\n              // relationship, hence we pass the key, resource and\n              // relationshipMeta too\n              data = _this3.extractPolymorphicRelationship(relationshipMeta.type, relationshipHash, { key: key, resourceHash: resourceHash, relationshipMeta: relationshipMeta });\n            } else {\n              data = _this3.extractRelationship(relationshipMeta.type, relationshipHash);\n            }\n          } else if (relationshipMeta.kind === 'hasMany') {\n            if (!_ember.default.isNone(relationshipHash)) {\n              data = new Array(relationshipHash.length);\n              for (var i = 0, l = relationshipHash.length; i < l; i++) {\n                var item = relationshipHash[i];\n                data[i] = _this3.extractRelationship(relationshipMeta.type, item);\n              }\n            }\n          }\n          relationship = { data: data };\n        }\n\n        var linkKey = _this3.keyForLink(key, relationshipMeta.kind);\n        if (resourceHash.links && resourceHash.links[linkKey] !== undefined) {\n          var related = resourceHash.links[linkKey];\n          relationship = relationship || {};\n          relationship.links = { related: related };\n        }\n\n        if (relationship) {\n          relationships[key] = relationship;\n        }\n      });\n\n      return relationships;\n    },\n    modelNameFromPayloadKey: function modelNameFromPayloadKey(key) {\n      return (0, _private.normalizeModelName)(key);\n    },\n    normalizeRelationships: function normalizeRelationships(typeClass, hash) {\n      var _this4 = this;\n\n      var payloadKey = void 0;\n\n      if (this.keyForRelationship) {\n        typeClass.eachRelationship(function (key, relationship) {\n          payloadKey = _this4.keyForRelationship(key, relationship.kind, 'deserialize');\n          if (key === payloadKey) {\n            return;\n          }\n          if (hash[payloadKey] === undefined) {\n            return;\n          }\n\n          hash[key] = hash[payloadKey];\n          delete hash[payloadKey];\n        });\n      }\n    },\n    normalizeUsingDeclaredMapping: function normalizeUsingDeclaredMapping(modelClass, hash) {\n      var attrs = get(this, 'attrs');\n      var normalizedKey = void 0;\n      var payloadKey = void 0;\n\n      if (attrs) {\n        for (var key in attrs) {\n          normalizedKey = payloadKey = this._getMappedKey(key, modelClass);\n\n          if (hash[payloadKey] === undefined) {\n            continue;\n          }\n\n          if (get(modelClass, 'attributes').has(key)) {\n            normalizedKey = this.keyForAttribute(key);\n          }\n\n          if (get(modelClass, 'relationshipsByName').has(key)) {\n            normalizedKey = this.keyForRelationship(key);\n          }\n\n          if (payloadKey !== normalizedKey) {\n            hash[normalizedKey] = hash[payloadKey];\n            delete hash[payloadKey];\n          }\n        }\n      }\n    },\n    _getMappedKey: function _getMappedKey(key, modelClass) {\n      (0, _debug.warn)('There is no attribute or relationship with the name `' + key + '` on `' + modelClass.modelName + '`. Check your serializers attrs hash.', get(modelClass, 'attributes').has(key) || get(modelClass, 'relationshipsByName').has(key), {\n        id: 'ds.serializer.no-mapped-attrs-key'\n      });\n\n      var attrs = get(this, 'attrs');\n      var mappedKey = void 0;\n      if (attrs && attrs[key]) {\n        mappedKey = attrs[key];\n        //We need to account for both the { title: 'post_title' } and\n        //{ title: { key: 'post_title' }} forms\n        if (mappedKey.key) {\n          mappedKey = mappedKey.key;\n        }\n        if (typeof mappedKey === 'string') {\n          key = mappedKey;\n        }\n      }\n\n      return key;\n    },\n    _canSerialize: function _canSerialize(key) {\n      var attrs = get(this, 'attrs');\n\n      return !attrs || !attrs[key] || attrs[key].serialize !== false;\n    },\n    _mustSerialize: function _mustSerialize(key) {\n      var attrs = get(this, 'attrs');\n\n      return attrs && attrs[key] && attrs[key].serialize === true;\n    },\n    shouldSerializeHasMany: function shouldSerializeHasMany(snapshot, key, relationship) {\n      if (this._shouldSerializeHasMany !== JSONSerializer.prototype._shouldSerializeHasMany) {\n        (0, _debug.deprecate)('The private method _shouldSerializeHasMany has been promoted to the public API. Please remove the underscore to use the public shouldSerializeHasMany method.', false, {\n          id: 'ds.serializer.private-should-serialize-has-many',\n          until: '3.0.0'\n        });\n      }\n\n      return this._shouldSerializeHasMany(snapshot, key, relationship);\n    },\n    _shouldSerializeHasMany: function _shouldSerializeHasMany(snapshot, key, relationship) {\n      var relationshipType = snapshot.type.determineRelationshipType(relationship, this.store);\n      if (this._mustSerialize(key)) {\n        return true;\n      }\n      return this._canSerialize(key) && (relationshipType === 'manyToNone' || relationshipType === 'manyToMany');\n    },\n    serialize: function serialize(snapshot, options) {\n      var _this5 = this;\n\n      var json = {};\n\n      if (options && options.includeId) {\n        if ((0, _private.isEnabled)('ds-serialize-id')) {\n          this.serializeId(snapshot, json, get(this, 'primaryKey'));\n        } else {\n          var id = snapshot.id;\n          if (id) {\n            json[get(this, 'primaryKey')] = id;\n          }\n        }\n      }\n\n      snapshot.eachAttribute(function (key, attribute) {\n        _this5.serializeAttribute(snapshot, json, key, attribute);\n      });\n\n      snapshot.eachRelationship(function (key, relationship) {\n        if (relationship.kind === 'belongsTo') {\n          _this5.serializeBelongsTo(snapshot, json, relationship);\n        } else if (relationship.kind === 'hasMany') {\n          _this5.serializeHasMany(snapshot, json, relationship);\n        }\n      });\n\n      return json;\n    },\n    serializeIntoHash: function serializeIntoHash(hash, typeClass, snapshot, options) {\n      assign(hash, this.serialize(snapshot, options));\n    },\n    serializeAttribute: function serializeAttribute(snapshot, json, key, attribute) {\n\n      if (this._canSerialize(key)) {\n        var type = attribute.type;\n        var value = snapshot.attr(key);\n        if (type) {\n          var transform = this.transformFor(type);\n          value = transform.serialize(value, attribute.options);\n        }\n\n        // if provided, use the mapping provided by `attrs` in\n        // the serializer\n        var payloadKey = this._getMappedKey(key, snapshot.type);\n\n        if (payloadKey === key && this.keyForAttribute) {\n          payloadKey = this.keyForAttribute(key, 'serialize');\n        }\n\n        json[payloadKey] = value;\n      }\n    },\n    serializeBelongsTo: function serializeBelongsTo(snapshot, json, relationship) {\n      var key = relationship.key;\n\n      if (this._canSerialize(key)) {\n        var belongsToId = snapshot.belongsTo(key, { id: true });\n\n        // if provided, use the mapping provided by `attrs` in\n        // the serializer\n        var payloadKey = this._getMappedKey(key, snapshot.type);\n        if (payloadKey === key && this.keyForRelationship) {\n          payloadKey = this.keyForRelationship(key, \"belongsTo\", \"serialize\");\n        }\n\n        //Need to check whether the id is there for new&async records\n        if (isNone(belongsToId)) {\n          json[payloadKey] = null;\n        } else {\n          json[payloadKey] = belongsToId;\n        }\n\n        if (relationship.options.polymorphic) {\n          this.serializePolymorphicType(snapshot, json, relationship);\n        }\n      }\n    },\n    serializeHasMany: function serializeHasMany(snapshot, json, relationship) {\n      var key = relationship.key;\n      var shouldSerializeHasMany = '_shouldSerializeHasMany';\n      if ((0, _private.isEnabled)(\"ds-check-should-serialize-relationships\")) {\n        shouldSerializeHasMany = 'shouldSerializeHasMany';\n      }\n\n      if (this[shouldSerializeHasMany](snapshot, key, relationship)) {\n        var hasMany = snapshot.hasMany(key, { ids: true });\n        if (hasMany !== undefined) {\n          // if provided, use the mapping provided by `attrs` in\n          // the serializer\n          var payloadKey = this._getMappedKey(key, snapshot.type);\n          if (payloadKey === key && this.keyForRelationship) {\n            payloadKey = this.keyForRelationship(key, \"hasMany\", \"serialize\");\n          }\n\n          json[payloadKey] = hasMany;\n          // TODO support for polymorphic manyToNone and manyToMany relationships\n        }\n      }\n    },\n    serializePolymorphicType: function serializePolymorphicType() {},\n    extractMeta: function extractMeta(store, modelClass, payload) {\n      if (payload && payload['meta'] !== undefined) {\n        var meta = payload.meta;\n        delete payload.meta;\n        return meta;\n      }\n    },\n    extractErrors: function extractErrors(store, typeClass, payload, id) {\n      var _this6 = this;\n\n      if (payload && (typeof payload === 'undefined' ? 'undefined' : _typeof(payload)) === 'object' && payload.errors) {\n        payload = (0, _private.errorsArrayToHash)(payload.errors);\n\n        this.normalizeUsingDeclaredMapping(typeClass, payload);\n\n        typeClass.eachAttribute(function (name) {\n          var key = _this6.keyForAttribute(name, 'deserialize');\n          if (key !== name && payload[key] !== undefined) {\n            payload[name] = payload[key];\n            delete payload[key];\n          }\n        });\n\n        typeClass.eachRelationship(function (name) {\n          var key = _this6.keyForRelationship(name, 'deserialize');\n          if (key !== name && payload[key] !== undefined) {\n            payload[name] = payload[key];\n            delete payload[key];\n          }\n        });\n      }\n\n      return payload;\n    },\n    keyForAttribute: function keyForAttribute(key, method) {\n      return key;\n    },\n    keyForRelationship: function keyForRelationship(key, typeClass, method) {\n      return key;\n    },\n    keyForLink: function keyForLink(key, kind) {\n      return key;\n    },\n    transformFor: function transformFor(attributeType, skipAssertion) {\n      var transform = (0, _private.getOwner)(this).lookup('transform:' + attributeType);\n\n      (0, _debug.assert)(\"Unable to find transform for '\" + attributeType + \"'\", skipAssertion || !!transform);\n\n      return transform;\n    }\n  });\n\n  if ((0, _private.isEnabled)(\"ds-payload-type-hooks\")) {\n\n    JSONSerializer.reopen({\n      modelNameFromPayloadType: function modelNameFromPayloadType(type) {\n        return (0, _private.normalizeModelName)(type);\n      },\n      _hasCustomModelNameFromPayloadKey: function _hasCustomModelNameFromPayloadKey() {\n        return this.modelNameFromPayloadKey !== JSONSerializer.prototype.modelNameFromPayloadKey;\n      }\n    });\n  }\n\n  if ((0, _private.isEnabled)(\"ds-serialize-id\")) {\n\n    JSONSerializer.reopen({\n      serializeId: function serializeId(snapshot, json, primaryKey) {\n        var id = snapshot.id;\n\n        if (id) {\n          json[primaryKey] = id;\n        }\n      }\n    });\n  }\n\n  exports.default = JSONSerializer;\n});","define('ember-data/serializers/rest', ['exports', 'ember', 'ember-inflector', 'ember-data/-debug', 'ember-data/serializers/json', 'ember-data/-private'], function (exports, _ember, _emberInflector, _debug, _json, _private) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  var camelize = _ember.default.String.camelize;\n\n  /**\n    Normally, applications will use the `RESTSerializer` by implementing\n    the `normalize` method.\n  \n    This allows you to do whatever kind of munging you need, and is\n    especially useful if your server is inconsistent and you need to\n    do munging differently for many different kinds of responses.\n  \n    See the `normalize` documentation for more information.\n  \n    ## Across the Board Normalization\n  \n    There are also a number of hooks that you might find useful to define\n    across-the-board rules for your payload. These rules will be useful\n    if your server is consistent, or if you're building an adapter for\n    an infrastructure service, like Firebase, and want to encode service\n    conventions.\n  \n    For example, if all of your keys are underscored and all-caps, but\n    otherwise consistent with the names you use in your models, you\n    can implement across-the-board rules for how to convert an attribute\n    name in your model to a key in your JSON.\n  \n    ```app/serializers/application.js\n    import DS from 'ember-data';\n  \n    export default DS.RESTSerializer.extend({\n      keyForAttribute(attr, method) {\n        return Ember.String.underscore(attr).toUpperCase();\n      }\n    });\n    ```\n  \n    You can also implement `keyForRelationship`, which takes the name\n    of the relationship as the first parameter, the kind of\n    relationship (`hasMany` or `belongsTo`) as the second parameter, and\n    the method (`serialize` or `deserialize`) as the third parameter.\n  \n    @class RESTSerializer\n    @namespace DS\n    @extends DS.JSONSerializer\n  */\n  var RESTSerializer = _json.default.extend({\n    keyForPolymorphicType: function keyForPolymorphicType(key, typeClass, method) {\n      var relationshipKey = this.keyForRelationship(key);\n\n      return relationshipKey + 'Type';\n    },\n    normalize: function normalize(modelClass, resourceHash, prop) {\n      if (this.normalizeHash && this.normalizeHash[prop]) {\n        (0, _debug.deprecate)('`RESTSerializer.normalizeHash` has been deprecated. Please use `serializer.normalize` to modify the payload of single resources.', false, {\n          id: 'ds.serializer.normalize-hash-deprecated',\n          until: '3.0.0'\n        });\n        this.normalizeHash[prop](resourceHash);\n      }\n      return this._super(modelClass, resourceHash);\n    },\n    _normalizeArray: function _normalizeArray(store, modelName, arrayHash, prop) {\n      var _this = this;\n\n      var documentHash = {\n        data: [],\n        included: []\n      };\n\n      var modelClass = store.modelFor(modelName);\n      var serializer = store.serializerFor(modelName);\n\n      _ember.default.makeArray(arrayHash).forEach(function (hash) {\n        var _normalizePolymorphic = _this._normalizePolymorphicRecord(store, hash, prop, modelClass, serializer),\n            data = _normalizePolymorphic.data,\n            included = _normalizePolymorphic.included;\n\n        documentHash.data.push(data);\n        if (included) {\n          var _documentHash$include;\n\n          (_documentHash$include = documentHash.included).push.apply(_documentHash$include, included);\n        }\n      });\n\n      return documentHash;\n    },\n    _normalizePolymorphicRecord: function _normalizePolymorphicRecord(store, hash, prop, primaryModelClass, primarySerializer) {\n      var serializer = primarySerializer;\n      var modelClass = primaryModelClass;\n\n      var primaryHasTypeAttribute = (0, _private.modelHasAttributeOrRelationshipNamedType)(primaryModelClass);\n\n      if (!primaryHasTypeAttribute && hash.type) {\n        // Support polymorphic records in async relationships\n        var modelName = void 0;\n        if ((0, _private.isEnabled)(\"ds-payload-type-hooks\")) {\n          modelName = this.modelNameFromPayloadType(hash.type);\n          var deprecatedModelNameLookup = this.modelNameFromPayloadKey(hash.type);\n\n          if (modelName !== deprecatedModelNameLookup && !this._hasCustomModelNameFromPayloadType() && this._hasCustomModelNameFromPayloadKey()) {\n            (0, _debug.deprecate)(\"You are using modelNameFromPayloadKey to normalize the type for a polymorphic relationship. This is has been deprecated in favor of modelNameFromPayloadType\", false, {\n              id: 'ds.rest-serializer.deprecated-model-name-for-polymorphic-type',\n              until: '3.0.0'\n            });\n\n            modelName = deprecatedModelNameLookup;\n          }\n        } else {\n          modelName = this.modelNameFromPayloadKey(hash.type);\n        }\n\n        if (store._hasModelFor(modelName)) {\n          serializer = store.serializerFor(modelName);\n          modelClass = store.modelFor(modelName);\n        }\n      }\n\n      return serializer.normalize(modelClass, hash, prop);\n    },\n    _normalizeResponse: function _normalizeResponse(store, primaryModelClass, payload, id, requestType, isSingle) {\n      var documentHash = {\n        data: null,\n        included: []\n      };\n\n      var meta = this.extractMeta(store, primaryModelClass, payload);\n      if (meta) {\n        (0, _debug.assert)('The `meta` returned from `extractMeta` has to be an object, not \"' + _ember.default.typeOf(meta) + '\".', _ember.default.typeOf(meta) === 'object');\n        documentHash.meta = meta;\n      }\n\n      var keys = Object.keys(payload);\n\n      for (var i = 0, length = keys.length; i < length; i++) {\n        var prop = keys[i];\n        var modelName = prop;\n        var forcedSecondary = false;\n\n        /*\n          If you want to provide sideloaded records of the same type that the\n          primary data you can do that by prefixing the key with `_`.\n           Example\n           ```\n          {\n            users: [\n              { id: 1, title: 'Tom', manager: 3 },\n              { id: 2, title: 'Yehuda', manager: 3 }\n            ],\n            _users: [\n              { id: 3, title: 'Tomster' }\n            ]\n          }\n          ```\n           This forces `_users` to be added to `included` instead of `data`.\n         */\n        if (prop.charAt(0) === '_') {\n          forcedSecondary = true;\n          modelName = prop.substr(1);\n        }\n\n        var typeName = this.modelNameFromPayloadKey(modelName);\n        if (!store.modelFactoryFor(typeName)) {\n          (0, _debug.warn)(this.warnMessageNoModelForKey(modelName, typeName), false, {\n            id: 'ds.serializer.model-for-key-missing'\n          });\n          continue;\n        }\n\n        var isPrimary = !forcedSecondary && this.isPrimaryType(store, typeName, primaryModelClass);\n        var value = payload[prop];\n\n        if (value === null) {\n          continue;\n        }\n\n        (0, _debug.runInDebug)(function () {\n          var isQueryRecordAnArray = requestType === 'queryRecord' && isPrimary && Array.isArray(value);\n          var message = \"The adapter returned an array for the primary data of a `queryRecord` response. This is deprecated as `queryRecord` should return a single record.\";\n\n          (0, _debug.deprecate)(message, !isQueryRecordAnArray, {\n            id: 'ds.serializer.rest.queryRecord-array-response',\n            until: '3.0'\n          });\n        });\n\n        /*\n          Support primary data as an object instead of an array.\n           Example\n           ```\n          {\n            user: { id: 1, title: 'Tom', manager: 3 }\n          }\n          ```\n         */\n        if (isPrimary && !Array.isArray(value)) {\n          var _normalizePolymorphic2 = this._normalizePolymorphicRecord(store, value, prop, primaryModelClass, this),\n              _data = _normalizePolymorphic2.data,\n              _included = _normalizePolymorphic2.included;\n\n          documentHash.data = _data;\n          if (_included) {\n            var _documentHash$include2;\n\n            (_documentHash$include2 = documentHash.included).push.apply(_documentHash$include2, _included);\n          }\n          continue;\n        }\n\n        var _normalizeArray2 = this._normalizeArray(store, typeName, value, prop),\n            data = _normalizeArray2.data,\n            included = _normalizeArray2.included;\n\n        if (included) {\n          var _documentHash$include3;\n\n          (_documentHash$include3 = documentHash.included).push.apply(_documentHash$include3, included);\n        }\n\n        if (isSingle) {\n          data.forEach(function (resource) {\n\n            /*\n              Figures out if this is the primary record or not.\n               It's either:\n               1. The record with the same ID as the original request\n              2. If it's a newly created record without an ID, the first record\n                 in the array\n             */\n            var isUpdatedRecord = isPrimary && (0, _private.coerceId)(resource.id) === id;\n            var isFirstCreatedRecord = isPrimary && !id && !documentHash.data;\n\n            if (isFirstCreatedRecord || isUpdatedRecord) {\n              documentHash.data = resource;\n            } else {\n              documentHash.included.push(resource);\n            }\n          });\n        } else {\n          if (isPrimary) {\n            documentHash.data = data;\n          } else {\n            if (data) {\n              var _documentHash$include4;\n\n              (_documentHash$include4 = documentHash.included).push.apply(_documentHash$include4, data);\n            }\n          }\n        }\n      }\n\n      return documentHash;\n    },\n    isPrimaryType: function isPrimaryType(store, typeName, primaryTypeClass) {\n      return store.modelFor(typeName) === primaryTypeClass;\n    },\n    pushPayload: function pushPayload(store, payload) {\n      var documentHash = {\n        data: [],\n        included: []\n      };\n\n      for (var prop in payload) {\n        var modelName = this.modelNameFromPayloadKey(prop);\n        if (!store.modelFactoryFor(modelName)) {\n          (0, _debug.warn)(this.warnMessageNoModelForKey(prop, modelName), false, {\n            id: 'ds.serializer.model-for-key-missing'\n          });\n          continue;\n        }\n        var type = store.modelFor(modelName);\n        var typeSerializer = store.serializerFor(type.modelName);\n\n        _ember.default.makeArray(payload[prop]).forEach(function (hash) {\n          var _typeSerializer$norma = typeSerializer.normalize(type, hash, prop),\n              data = _typeSerializer$norma.data,\n              included = _typeSerializer$norma.included;\n\n          documentHash.data.push(data);\n          if (included) {\n            var _documentHash$include5;\n\n            (_documentHash$include5 = documentHash.included).push.apply(_documentHash$include5, included);\n          }\n        });\n      }\n\n      if ((0, _private.isEnabled)('ds-pushpayload-return')) {\n        return store.push(documentHash);\n      } else {\n        store.push(documentHash);\n      }\n    },\n    modelNameFromPayloadKey: function modelNameFromPayloadKey(key) {\n      return (0, _emberInflector.singularize)((0, _private.normalizeModelName)(key));\n    },\n    serialize: function serialize(snapshot, options) {\n      return this._super.apply(this, arguments);\n    },\n    serializeIntoHash: function serializeIntoHash(hash, typeClass, snapshot, options) {\n      var normalizedRootKey = this.payloadKeyFromModelName(typeClass.modelName);\n      hash[normalizedRootKey] = this.serialize(snapshot, options);\n    },\n    payloadKeyFromModelName: function payloadKeyFromModelName(modelName) {\n      return camelize(modelName);\n    },\n    serializePolymorphicType: function serializePolymorphicType(snapshot, json, relationship) {\n      var key = relationship.key;\n      var typeKey = this.keyForPolymorphicType(key, relationship.type, 'serialize');\n      var belongsTo = snapshot.belongsTo(key);\n\n      // old way of getting the key for the polymorphic type\n      key = this.keyForAttribute ? this.keyForAttribute(key, \"serialize\") : key;\n      key = key + 'Type';\n\n      // The old way of serializing the type of a polymorphic record used\n      // `keyForAttribute`, which is not correct. The next code checks if the old\n      // way is used and if it differs from the new way of using\n      // `keyForPolymorphicType`. If this is the case, a deprecation warning is\n      // logged and the old way is restored (so nothing breaks).\n      if (key !== typeKey && this.keyForPolymorphicType === RESTSerializer.prototype.keyForPolymorphicType) {\n        (0, _debug.deprecate)(\"The key to serialize the type of a polymorphic record is created via keyForAttribute which has been deprecated. Use the keyForPolymorphicType hook instead.\", false, {\n          id: 'ds.rest-serializer.deprecated-key-for-polymorphic-type',\n          until: '3.0.0'\n        });\n\n        typeKey = key;\n      }\n\n      if (_ember.default.isNone(belongsTo)) {\n        json[typeKey] = null;\n      } else {\n        if ((0, _private.isEnabled)(\"ds-payload-type-hooks\")) {\n          json[typeKey] = this.payloadTypeFromModelName(belongsTo.modelName);\n        } else {\n          json[typeKey] = camelize(belongsTo.modelName);\n        }\n      }\n    },\n    extractPolymorphicRelationship: function extractPolymorphicRelationship(relationshipType, relationshipHash, relationshipOptions) {\n      var key = relationshipOptions.key,\n          resourceHash = relationshipOptions.resourceHash,\n          relationshipMeta = relationshipOptions.relationshipMeta;\n\n\n      // A polymorphic belongsTo relationship can be present in the payload\n      // either in the form where the `id` and the `type` are given:\n      //\n      //   {\n      //     message: { id: 1, type: 'post' }\n      //   }\n      //\n      // or by the `id` and a `<relationship>Type` attribute:\n      //\n      //   {\n      //     message: 1,\n      //     messageType: 'post'\n      //   }\n      //\n      // The next code checks if the latter case is present and returns the\n      // corresponding JSON-API representation. The former case is handled within\n      // the base class JSONSerializer.\n      var isPolymorphic = relationshipMeta.options.polymorphic;\n      var typeProperty = this.keyForPolymorphicType(key, relationshipType, 'deserialize');\n\n      if (isPolymorphic && resourceHash[typeProperty] !== undefined && (typeof relationshipHash === 'undefined' ? 'undefined' : _typeof(relationshipHash)) !== 'object') {\n\n        if ((0, _private.isEnabled)(\"ds-payload-type-hooks\")) {\n\n          var payloadType = resourceHash[typeProperty];\n          var type = this.modelNameFromPayloadType(payloadType);\n          var deprecatedTypeLookup = this.modelNameFromPayloadKey(payloadType);\n\n          if (payloadType !== deprecatedTypeLookup && !this._hasCustomModelNameFromPayloadType() && this._hasCustomModelNameFromPayloadKey()) {\n            (0, _debug.deprecate)(\"You are using modelNameFromPayloadKey to normalize the type for a polymorphic relationship. This has been deprecated in favor of modelNameFromPayloadType\", false, {\n              id: 'ds.rest-serializer.deprecated-model-name-for-polymorphic-type',\n              until: '3.0.0'\n            });\n\n            type = deprecatedTypeLookup;\n          }\n\n          return {\n            id: relationshipHash,\n            type: type\n          };\n        } else {\n\n          var _type = this.modelNameFromPayloadKey(resourceHash[typeProperty]);\n          return {\n            id: relationshipHash,\n            type: _type\n          };\n        }\n      }\n\n      return this._super.apply(this, arguments);\n    }\n  });\n\n  if ((0, _private.isEnabled)(\"ds-payload-type-hooks\")) {\n\n    RESTSerializer.reopen({\n      modelNameFromPayloadType: function modelNameFromPayloadType(payloadType) {\n        return (0, _emberInflector.singularize)((0, _private.normalizeModelName)(payloadType));\n      },\n      payloadTypeFromModelName: function payloadTypeFromModelName(modelName) {\n        return camelize(modelName);\n      },\n      _hasCustomModelNameFromPayloadKey: function _hasCustomModelNameFromPayloadKey() {\n        return this.modelNameFromPayloadKey !== RESTSerializer.prototype.modelNameFromPayloadKey;\n      },\n      _hasCustomModelNameFromPayloadType: function _hasCustomModelNameFromPayloadType() {\n        return this.modelNameFromPayloadType !== RESTSerializer.prototype.modelNameFromPayloadType;\n      },\n      _hasCustomPayloadTypeFromModelName: function _hasCustomPayloadTypeFromModelName() {\n        return this.payloadTypeFromModelName !== RESTSerializer.prototype.payloadTypeFromModelName;\n      },\n      _hasCustomPayloadKeyFromModelName: function _hasCustomPayloadKeyFromModelName() {\n        return this.payloadKeyFromModelName !== RESTSerializer.prototype.payloadKeyFromModelName;\n      }\n    });\n  }\n\n  (0, _debug.runInDebug)(function () {\n    RESTSerializer.reopen({\n      warnMessageNoModelForKey: function warnMessageNoModelForKey(prop, typeKey) {\n        return 'Encountered \"' + prop + '\" in payload, but no model was found for model name \"' + typeKey + '\" (resolved model name using ' + this.constructor.toString() + '.modelNameFromPayloadKey(\"' + prop + '\"))';\n      }\n    });\n  });\n\n  exports.default = RESTSerializer;\n});","define('ember-data/setup-container', ['exports', 'ember-data/-private', 'ember-data/serializers/json-api', 'ember-data/serializers/json', 'ember-data/serializers/rest', 'ember-data/adapters/json-api', 'ember-data/adapters/rest', 'ember-data/transforms/number', 'ember-data/transforms/date', 'ember-data/transforms/string', 'ember-data/transforms/boolean'], function (exports, _private, _jsonApi, _json, _rest, _jsonApi2, _rest2, _number, _date, _string, _boolean) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = setupContainer;\n\n\n  function has(applicationOrRegistry, fullName) {\n    if (applicationOrRegistry.has) {\n      // < 2.1.0\n      return applicationOrRegistry.has(fullName);\n    } else {\n      // 2.1.0+\n      return applicationOrRegistry.hasRegistration(fullName);\n    }\n  }\n\n  /*\n   Configures a registry for use with an Ember-Data\n   store. Accepts an optional namespace argument.\n  \n   @method initializeStore\n   @param {Ember.Registry} registry\n   */\n  function initializeStore(registry) {\n    // registry.optionsForType for Ember < 2.1.0\n    // application.registerOptionsForType for Ember 2.1.0+\n    var registerOptionsForType = registry.registerOptionsForType || registry.optionsForType;\n    registerOptionsForType.call(registry, 'serializer', { singleton: false });\n    registerOptionsForType.call(registry, 'adapter', { singleton: false });\n\n    registry.register('serializer:-default', _json.default);\n    registry.register('serializer:-rest', _rest.default);\n    registry.register('adapter:-rest', _rest2.default);\n\n    registry.register('adapter:-json-api', _jsonApi2.default);\n    registry.register('serializer:-json-api', _jsonApi.default);\n\n    if (!has(registry, 'service:store')) {\n      registry.register('service:store', _private.Store);\n    }\n  }\n\n  /*\n   Configures a registry with injections on Ember applications\n   for the Ember-Data store. Accepts an optional namespace argument.\n  \n   @method initializeDebugAdapter\n   @param {Ember.Registry} registry\n   */\n  function initializeDataAdapter(registry) {\n    registry.register('data-adapter:main', _private.DebugAdapter);\n  }\n\n  /*\n   Configures a registry with injections on Ember applications\n   for the Ember-Data store. Accepts an optional namespace argument.\n  \n   @method initializeStoreInjections\n   @param {Ember.Registry} registry\n   */\n  function initializeStoreInjections(registry) {\n    // registry.injection for Ember < 2.1.0\n    // application.inject for Ember 2.1.0+\n    var inject = registry.inject || registry.injection;\n    inject.call(registry, 'controller', 'store', 'service:store');\n    inject.call(registry, 'route', 'store', 'service:store');\n    inject.call(registry, 'data-adapter', 'store', 'service:store');\n  }\n\n  /*\n   Configures a registry for use with Ember-Data\n   transforms.\n  \n   @method initializeTransforms\n   @param {Ember.Registry} registry\n   */\n  function initializeTransforms(registry) {\n    registry.register('transform:boolean', _boolean.default);\n    registry.register('transform:date', _date.default);\n    registry.register('transform:number', _number.default);\n    registry.register('transform:string', _string.default);\n  }\n\n  function setupContainer(application) {\n    initializeDataAdapter(application);\n    initializeTransforms(application);\n    initializeStoreInjections(application);\n    initializeStore(application);\n  }\n});","define('ember-data/store', ['exports', 'ember-data/-private'], function (exports, _private) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function () {\n      return _private.Store;\n    }\n  });\n});","define('ember-data/transform', ['exports', 'ember-data/transforms/transform'], function (exports, _transform) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function () {\n      return _transform.default;\n    }\n  });\n});","define('ember-data/transforms/boolean', ['exports', 'ember', 'ember-data/transforms/transform'], function (exports, _ember, _transform) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  var isNone = _ember.default.isNone;\n  exports.default = _transform.default.extend({\n    deserialize: function deserialize(serialized, options) {\n      var type = typeof serialized === 'undefined' ? 'undefined' : _typeof(serialized);\n\n      if (isNone(serialized) && options.allowNull === true) {\n        return null;\n      }\n\n      if (type === \"boolean\") {\n        return serialized;\n      } else if (type === \"string\") {\n        return serialized.match(/^true$|^t$|^1$/i) !== null;\n      } else if (type === \"number\") {\n        return serialized === 1;\n      } else {\n        return false;\n      }\n    },\n    serialize: function serialize(deserialized, options) {\n      if (isNone(deserialized) && options.allowNull === true) {\n        return null;\n      }\n\n      return Boolean(deserialized);\n    }\n  });\n});","define('ember-data/transforms/date', ['exports', 'ember-data/transforms/transform', 'ember', 'ember-data/-debug'], function (exports, _transform, _ember, _debug) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  _ember.default.Date = _ember.default.Date || {};\n\n  /**\n   Date.parse with progressive enhancement for ISO 8601 <https://github.com/csnover/js-iso8601>\n  \n   © 2011 Colin Snover <http://zetafleet.com>\n  \n   Released under MIT license.\n  \n   @class Date\n   @namespace Ember\n   @static\n   @deprecated\n   */\n  _ember.default.Date.parse = function (date) {\n    // throw deprecation\n    (0, _debug.deprecate)('Ember.Date.parse is deprecated because Safari 5-, IE8-, and\\n    Firefox 3.6- are no longer supported (see\\n    https://github.com/csnover/js-iso8601 for the history of this issue).\\n    Please use Date.parse instead', false, {\n      id: 'ds.ember.date.parse-deprecate',\n      until: '3.0.0'\n    });\n\n    return Date.parse(date);\n  };\n\n  /**\n   The `DS.DateTransform` class is used to serialize and deserialize\n   date attributes on Ember Data record objects. This transform is used\n   when `date` is passed as the type parameter to the\n   [DS.attr](../../data#method_attr) function. It uses the [`ISO 8601`](https://en.wikipedia.org/wiki/ISO_8601)\n   standard.\n  \n   ```app/models/score.js\n   import DS from 'ember-data';\n  \n   export default DS.Model.extend({\n      value: DS.attr('number'),\n      player: DS.belongsTo('player'),\n      date: DS.attr('date')\n    });\n   ```\n  \n   @class DateTransform\n   @extends DS.Transform\n   @namespace DS\n   */\n\n  exports.default = _transform.default.extend({\n    deserialize: function deserialize(serialized) {\n      var type = typeof serialized === 'undefined' ? 'undefined' : _typeof(serialized);\n\n      if (type === \"string\") {\n        var offset = serialized.indexOf('+');\n\n        if (offset !== -1 && serialized.length - 3 === offset) {\n          (0, _debug.deprecate)('The ECMA2015 Spec for ISO 8601 dates does not allow for shorthand timezone offsets such as +00.\\n          Ember Data\\'s normalization of date\\'s allowing for this shorthand has been deprecated, please update your API to return\\n          UTC dates formatted with \\xB1hh:mm timezone offsets or implement a custom UTC transform.', false, {\n            id: 'ds.attr.date.normalize-utc',\n            until: '3.0.0'\n          });\n          return new Date(serialized + ':00');\n\n          // this is a phantom specific bug fix in which +0000 is not supported\n        } else if (offset !== -1 && serialized.length - 5 === offset) {\n          offset += 3;\n          return new Date(serialized.slice(0, offset) + ':' + serialized.slice(offset));\n        }\n        return new Date(serialized);\n      } else if (type === \"number\") {\n        return new Date(serialized);\n      } else if (serialized === null || serialized === undefined) {\n        // if the value is null return null\n        // if the value is not present in the data return undefined\n        return serialized;\n      } else {\n        return null;\n      }\n    },\n    serialize: function serialize(date) {\n      if (date instanceof Date && !isNaN(date)) {\n        return date.toISOString();\n      } else {\n        return null;\n      }\n    }\n  });\n});","define('ember-data/transforms/number', ['exports', 'ember', 'ember-data/transforms/transform'], function (exports, _ember, _transform) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  var empty = _ember.default.isEmpty;\n\n  function isNumber(value) {\n    return value === value && value !== Infinity && value !== -Infinity;\n  }\n\n  /**\n    The `DS.NumberTransform` class is used to serialize and deserialize\n    numeric attributes on Ember Data record objects. This transform is\n    used when `number` is passed as the type parameter to the\n    [DS.attr](../../data#method_attr) function.\n  \n    Usage\n  \n    ```app/models/score.js\n    import DS from 'ember-data';\n  \n    export default DS.Model.extend({\n      value: DS.attr('number'),\n      player: DS.belongsTo('player'),\n      date: DS.attr('date')\n    });\n    ```\n  \n    @class NumberTransform\n    @extends DS.Transform\n    @namespace DS\n   */\n  exports.default = _transform.default.extend({\n    deserialize: function deserialize(serialized) {\n      var transformed = void 0;\n\n      if (empty(serialized)) {\n        return null;\n      } else {\n        transformed = Number(serialized);\n\n        return isNumber(transformed) ? transformed : null;\n      }\n    },\n    serialize: function serialize(deserialized) {\n      var transformed = void 0;\n\n      if (empty(deserialized)) {\n        return null;\n      } else {\n        transformed = Number(deserialized);\n\n        return isNumber(transformed) ? transformed : null;\n      }\n    }\n  });\n});","define('ember-data/transforms/string', ['exports', 'ember', 'ember-data/transforms/transform'], function (exports, _ember, _transform) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  var none = _ember.default.isNone;\n\n  /**\n    The `DS.StringTransform` class is used to serialize and deserialize\n    string attributes on Ember Data record objects. This transform is\n    used when `string` is passed as the type parameter to the\n    [DS.attr](../../data#method_attr) function.\n  \n    Usage\n  \n    ```app/models/user.js\n    import DS from 'ember-data';\n  \n    export default DS.Model.extend({\n      isAdmin: DS.attr('boolean'),\n      name: DS.attr('string'),\n      email: DS.attr('string')\n    });\n    ```\n  \n    @class StringTransform\n    @extends DS.Transform\n    @namespace DS\n   */\n  exports.default = _transform.default.extend({\n    deserialize: function deserialize(serialized) {\n      return none(serialized) ? null : String(serialized);\n    },\n    serialize: function serialize(deserialized) {\n      return none(deserialized) ? null : String(deserialized);\n    }\n  });\n});","define('ember-data/transforms/transform', ['exports', 'ember'], function (exports, _ember) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _ember.default.Object.extend({\n    /**\n      When given a deserialized value from a record attribute this\n      method must return the serialized value.\n       Example\n       ```javascript\n      serialize(deserialized, options) {\n        return Ember.isEmpty(deserialized) ? null : Number(deserialized);\n      }\n      ```\n       @method serialize\n      @param deserialized The deserialized value\n      @param options hash of options passed to `DS.attr`\n      @return The serialized value\n    */\n    serialize: null,\n\n    /**\n      When given a serialize value from a JSON object this method must\n      return the deserialized value for the record attribute.\n       Example\n       ```javascript\n      deserialize(serialized, options) {\n        return empty(serialized) ? null : Number(serialized);\n      }\n      ```\n       @method deserialize\n      @param serialized The serialized value\n      @param options hash of options passed to `DS.attr`\n      @return The deserialized value\n    */\n    deserialize: null\n  });\n});","define(\"ember-data/version\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = \"2.14.9\";\n});","define('moment/index', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  /* globals self */\n\n  var moment = self.moment;\n\n  function compare(a, b) {\n    if (moment.isMoment(a) && moment.isMoment(b)) {\n      if (a.isBefore(b)) {\n        return -1;\n      } else if (a.isSame(b)) {\n        return 0;\n      } else {\n        return 1;\n      }\n    }\n\n    throw new Error('Arguments provided to `compare` are not moment objects');\n  }\n\n  moment.prototype.compare = compare;\n  moment.compare = compare;\n\n  moment.prototype.clone = function clone() {\n    return self.moment(this);\n  };\n\n  exports.default = moment;\n});","define(\"moment/lib\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = self.moment;\n});","\n"],"names":["f","exports","module","define","amd","g","window","global","self","this","ProgressBar","e","t","n","r","s","o","u","a","require","i","Error","code","l","call","length",1,"root","Function","Tweenable","noop","each","obj","fn","key","Object","hasOwnProperty","shallowCopy","targetObj","srcObj","prop","defaults","target","src","tweenProps","forPosition","currentState","originalState","targetState","duration","timestamp","easing","easingObjectProp","easingFn","normalizedPosition","formula","tweenProp","start","end","easingFunc","position","applyFilter","tweenable","filterName","filters","prototype","filter","args","_filterArgs","name","apply","timeoutHandler","delay","step","schedule","opt_currentTimeOverride","timeoutHandler_endTime","timeoutHandler_currentTime","Math","min","now","timeoutHandler_isEnded","timeoutHandler_offset","isPlaying","_attachment","stop","_scheduleId","_timeoutHandler","UPDATE_TIME","composeEasingObject","fromTweenParams","composedEasing","typeofEasing","DEFAULT_EASING","opt_initialState","opt_config","_currentState","_configured","_scheduleFunction","DEFAULT_SCHEDULE_FUNCTION","setConfig","DEFAULT_DURATION","_now","Date","SHIFTY_DEBUG_NOW","requestAnimationFrame","webkitRequestAnimationFrame","oRequestAnimationFrame","msRequestAnimationFrame","mozCancelRequestAnimationFrame","mozRequestAnimationFrame","setTimeout","tween","_isTweening","undefined","_timestamp","_start","get","resume","config","attachment","_pausedAtTime","_delay","_step","_finish","finish","_duration","from","_originalState","_targetState","to","_easing","set","state","pause","_isPaused","seek","millisecond","max","currentTime","gotoEnd","cancelAnimationFrame","webkitCancelAnimationFrame","oCancelAnimationFrame","msCancelAnimationFrame","clearTimeout","setScheduleFunction","scheduleFunction","dispose","linear","pos","easeInQuad","pow","easeOutQuad","easeInOutQuad","easeInCubic","easeOutCubic","easeInOutCubic","easeInQuart","easeOutQuart","easeInOutQuart","easeInQuint","easeOutQuint","easeInOutQuint","easeInSine","cos","PI","easeOutSine","sin","easeInOutSine","easeInExpo","easeOutExpo","easeInOutExpo","easeInCirc","sqrt","easeOutCirc","easeInOutCirc","easeOutBounce","easeInBack","easeOutBack","easeInOutBack","elastic","swingFromTo","swingFrom","swingTo","bounce","bouncePast","easeFromTo","easeFrom","easeTo","cubicBezierAtTime","p1x","p1y","p2x","p2y","sampleCurveX","ax","bx","cx","sampleCurveY","ay","by","cy","sampleCurveDerivativeX","solveEpsilon","solve","x","epsilon","solveCurveX","fabs","t0","t1","t2","x2","d2","getCubicBezierTransition","x1","y1","y2","setBezierFunction","cubicBezierTransition","displayName","unsetBezierFunction","getInterpolatedValues","current","mockTweenable","interpolate","opt_delay","easingObject","filterArgs","interpolatedValues","getFormatChunksFrom","rawValues","prefix","accumulator","rawValuesLength","push","getFormatStringFrom","formattedString","chunks","match","R_FORMAT_CHUNKS","R_NUMBER_COMPONENT","unshift","join","VALUE_PLACEHOLDER","sanitizeObjectForHexProps","stateObject","currentProp","R_HEX","sanitizeHexChunksToRGB","str","filterStringChunks","convertHexToRGB","hexString","rgbArr","hexToRGBArray","hex","replace","split","hexToRGBArray_returnArray","hexToDec","substr","parseInt","pattern","unfilteredString","pattenMatches","filteredString","currentChunk","pattenMatchesLength","shift","sanitizeRGBChunks","R_RGB","sanitizeRGBChunk","rgbChunk","numbers","R_UNFORMATTED_VALUES","numbersLength","sanitizedString","R_RGB_PREFIX","slice","getFormatManifests","manifestAccumulator","getValuesFrom","formatString","chunkNames","expandFormattedProperties","formatManifests","collapseFormattedProperties","formatChunks","extractPropertyChunks","valuesList","getValuesList","getFormattedValues","currentChunkName","extractedValues","chunkNamesLength","getValuesList_accumulator","formattedValueString","toFixed","expandEasingObject","tokenData","chunkLength","easingChunks","lastEasingChunk","collapseEasingObject","firstEasing","typeofEasings","composedEasingString","RegExp","source","token","tweenCreated","fromState","toState","_tokenData","beforeTween","afterTween",2,"Shape","utils","Circle","container","options","_pathTemplate","containerAspectRatio","arguments","constructor","_pathString","opts","widthOfWider","strokeWidth","trailWidth","render","radius","2radius","_trailString","./shape","./utils",3,"Line","_initializeSvg","svg","setAttribute","center",4,"SemiCircle","Path","./circle","./line","./path","./semicircle",5,"EASING_ALIASES","easeIn","easeOut","easeInOut","path","extend","element","isString","document","querySelector","_opts","_tweenable","getTotalLength","style","strokeDasharray","value","offset","_getComputedDashOffset","progress","parseFloat","strokeDashoffset","_progressToOffset","isFunction","values","_calculateTo","reference","shape","_stopTween","animate","cb","passedOpts","defaultOpts","shiftyEasing","_resolveFromAndTo","getBoundingClientRect","newOffset","computedStyle","getComputedStyle","getPropertyValue","_calculateFrom","shifty",6,"_initializeTextContainer","textContainer","text","top","bottom","alignToBottom","setStyle",7,"DESTROYED_ERROR","color","trailColor","fill","left","padding","margin","transform","autoStyleContainer","className","svgStyle","display","width","warnings","isObject","svgView","_createSvgView","_container","appendChild","_warnContainerAspectRatio","setStyles","trail","newOpts","_progressPath","setText","destroy","parentNode","removeChild","newText","_createTextContainer","removeChildren","innerHTML","createElementNS","trailPath","_createTrail","_createPath","pathString","_createPathElement","createElement","textStyle","height","floatEquals","console","warn","id",8,"destination","recursive","attrName","destVal","sourceVal","template","vars","rendered","val","regExpString","regExp","elStyle","PREFIXES","capitalize","styles","forEachObject","styleValue","styleName","charAt","toUpperCase","String","isArray","toString","type","object","callback","b","abs","FLOAT_COMPARISON_EPSILON","el","firstChild"],"mappings":"AAAA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5pBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC92IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5gUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1+lDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACn9YA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC58EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7qCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1uBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/fA;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;CC5gCA,SAAUA,GAAG,GAAoB,gBAAVC,UAAoC,mBAATC,QAAsBA,OAAOD,QAAQD,QAAS,IAAmB,kBAATG,SAAqBA,OAAOC,IAAKD,UAAUH,OAAO,CAAC,GAAIK,EAAkCA,GAAb,mBAATC,QAAwBA,OAA+B,mBAATC,QAAwBA,OAA6B,mBAAPC,MAAsBA,KAAYC,KAAKJ,EAAEK,YAAcV,MAAO,WAAW,GAAIG,EAAsB,OAAO,SAAUQ,GAAEC,EAAEC,EAAEC,GAAG,QAASC,GAAEC,EAAEC,GAAG,IAAIJ,EAAEG,GAAG,CAAC,IAAIJ,EAAEI,GAAG,CAAC,GAAIE,GAAkB,kBAATC,UAAqBA,OAAQ,KAAIF,GAAGC,EAAE,MAAOA,GAAEF,GAAE,EAAI,IAAGI,EAAE,MAAOA,GAAEJ,GAAE,EAAI,IAAIhB,GAAE,GAAIqB,OAAM,uBAAuBL,EAAE,IAAK,MAAMhB,GAAEsB,KAAK,mBAAmBtB,EAAE,GAAIuB,GAAEV,EAAEG,IAAIf,WAAYW,GAAEI,GAAG,GAAGQ,KAAKD,EAAEtB,QAAQ,SAASU,GAAG,GAAIE,GAAED,EAAEI,GAAG,GAAGL,EAAG,OAAOI,GAAEF,EAAEA,EAAEF,IAAIY,EAAEA,EAAEtB,QAAQU,EAAEC,EAAEC,EAAEC,GAAG,MAAOD,GAAEG,GAAGf,QAAkD,IAAI,GAA1CmB,GAAkB,kBAATD,UAAqBA,QAAgBH,EAAE,EAAEA,EAAEF,EAAEW,OAAOT,IAAID,EAAED,EAAEE,GAAI,OAAOD,KAAKW,GAAG,SAASP,EAAQjB,EAAOD,IAEz0B,WACC,GAAI0B,GAAOlB,MAAQmB,SAAS,iBAO1BC,EAAa,WAEf,YA+BA,SAASC,MAYT,QAASC,GAAMC,EAAKC,GAClB,GAAIC,EACJ,KAAKA,IAAOF,GACNG,OAAOC,eAAeZ,KAAKQ,EAAKE,IAClCD,EAAGC,GAYT,QAASG,GAAaC,EAAWC,GAK/B,MAJAR,GAAKQ,EAAQ,SAAUC,GACrBF,EAAUE,GAAQD,EAAOC,KAGpBF,EAUT,QAASG,GAAUC,EAAQC,GACzBZ,EAAKY,EAAK,SAAUH,GACU,mBAAjBE,GAAOF,KAChBE,EAAOF,GAAQG,EAAIH,MAoBzB,QAASI,GAAYC,EAAaC,EAAcC,EAAeC,EAC7DC,EAAUC,EAAWC,GACrB,GAIIX,GACAY,EACAC,EANAC,EACcJ,EAAdL,EAA0B,GAAKA,EAAcK,GAAaD,CAM9D,KAAKT,IAAQM,GACPA,EAAaV,eAAeI,KAC9BY,EAAmBD,EAAOX,GAC1Ba,EAAuC,kBAArBD,GACdA,EACAG,EAAQH,GAEZN,EAAaN,GAAQgB,EACnBT,EAAcP,GACdQ,EAAYR,GACZa,EACAC,GAKN,OAAOR,GAaT,QAASU,GAAWC,EAAOC,EAAKC,EAAYC,GAC1C,MAAOH,IAASC,EAAMD,GAASE,EAAWC,GAU5C,QAASC,GAAaC,EAAWC,GAC/B,GAAIC,GAAUnC,EAAUoC,UAAUC,OAC9BC,EAAOL,EAAUM,WAErBrC,GAAKiC,EAAS,SAAUK,GACmB,mBAA9BL,GAAQK,GAAMN,IACvBC,EAAQK,GAAMN,GAAYO,MAAMR,EAAWK,KAyBjD,QAASI,GAAgBT,EAAWZ,EAAWsB,EAAOvB,EAAUH,EAC9DC,EAAeC,EAAaG,EAAQsB,EAAMC,EAC1CC,GAEAC,EAAyB1B,EAAYsB,EAAQvB,EAE7C4B,EACAC,KAAKC,IAAIJ,GAA2BK,IAAOJ,GAE3CK,EACEJ,GAA8BD,EAEhCM,EAAwBjC,GACtB2B,EAAyBC,GAEvBf,EAAUqB,cACRF,GACFR,EAAKzB,EAAac,EAAUsB,YAAaF,GACzCpB,EAAUuB,MAAK,KAEfvB,EAAUwB,YACRZ,EAASZ,EAAUyB,gBAAiBC,GAEtC3B,EAAYC,EAAW,eAKWZ,EAAYsB,EAA1CK,EACFjC,EAAW,EAAGE,EAAcC,EAAeC,EAAa,EAAG,EAAGG,GAE9DP,EAAWiC,EAA4B/B,EAAcC,EACnDC,EAAaC,EAAUC,EAAYsB,EAAOrB,GAG9CU,EAAYC,EAAW,cAEvBW,EAAK3B,EAAcgB,EAAUsB,YAAaF,KAehD,QAASO,GAAqBC,EAAiBvC,GAC7C,GAAIwC,MACAC,QAAsBzC,EAc1B,OAZqB,WAAjByC,GAA8C,aAAjBA,EAC/B7D,EAAK2D,EAAiB,SAAUlD,GAC9BmD,EAAenD,GAAQW,IAGzBpB,EAAK2D,EAAiB,SAAUlD,GACzBmD,EAAenD,KAClBmD,EAAenD,GAAQW,EAAOX,IAASqD,KAKtCF,EAeT,QAAS9D,GAAWiE,EAAkBC,GACpCtF,KAAKuF,cAAgBF,MACrBrF,KAAKwF,aAAc,EACnBxF,KAAKyF,kBAAoBC,EAKC,mBAAfJ,IACTtF,KAAK2F,UAAUL,GA1QnB,GAAIxC,GAGA4C,EACAN,EAAiB,SACjBQ,EAAmB,IACnBb,EAAc,IAAO,GAErBc,EAAOC,KAAKvB,IACTuB,KAAKvB,IACL,WAAa,OAAQ,GAAIuB,OAE5BvB,EAAkC,mBAArBwB,kBAAmCA,iBAAmBF,CAKrEH,GAHoB,mBAAX7F,QAGmBA,OAAOmG,uBAC7BnG,OAAOoG,6BACPpG,OAAOqG,wBACPrG,OAAOsG,yBACNtG,OAAOuG,gCACRvG,OAAOwG,0BACPC,WAEsBA,UAiI9B,IAAInC,GACAC,EACAI,EACAC,CAybJ,OAjUArD,GAAUoC,UAAU+C,MAAQ,SAAUjB,GACpC,MAAItF,MAAKwG,YACAxG,MAKUyG,SAAfnB,GAA6BtF,KAAKwF,aACpCxF,KAAK2F,UAAUL,GAGjBtF,KAAK0G,WAAanC,IAClBvE,KAAK2G,OAAO3G,KAAK4G,MAAO5G,KAAK2E,aACtB3E,KAAK6G,WAgCdzF,EAAUoC,UAAUmC,UAAY,SAAUmB,GACxCA,EAASA,MACT9G,KAAKwF,aAAc,EAInBxF,KAAK2E,YAAcmC,EAAOC,WAG1B/G,KAAKgH,cAAgB,KACrBhH,KAAK6E,YAAc,KACnB7E,KAAKiH,OAASH,EAAO/C,OAAS,EAC9B/D,KAAK2G,OAASG,EAAO9D,OAAS3B,EAC9BrB,KAAKkH,MAAQJ,EAAO9C,MAAQ3C,EAC5BrB,KAAKmH,QAAUL,EAAOM,QAAU/F,EAChCrB,KAAKqH,UAAYP,EAAOtE,UAAYoD,EACpC5F,KAAKuF,cAAgB3D,KAAgBkF,EAAOQ,OAAStH,KAAK4G,MAC1D5G,KAAKuH,eAAiBvH,KAAK4G,MAC3B5G,KAAKwH,aAAe5F,KAAgBkF,EAAOW,KAAOzH,KAAK4G,KAEvD,IAAI7G,GAAOC,IACXA,MAAK8E,gBAAkB,WACrBhB,EAAe/D,EACbA,EAAK2G,WACL3G,EAAKkH,OACLlH,EAAKsH,UACLtH,EAAKwF,cACLxF,EAAKwH,eACLxH,EAAKyH,aACLzH,EAAK2H,QACL3H,EAAKmH,MACLnH,EAAK0F,mBAKT,IAAIpD,GAAerC,KAAKuF,cACpBhD,EAAcvC,KAAKwH,YAYvB,OATAxF,GAASO,EAAaF,GAEtBrC,KAAK0H,QAAU1C,EACb3C,EAAcyE,EAAOpE,QAAU0C,GAEjCpF,KAAK2D,aACFtB,EAAcrC,KAAKuH,eAAgBhF,EAAavC,KAAK0H,SAExDtE,EAAYpD,KAAM,gBACXA,MAOToB,EAAUoC,UAAUoD,IAAM,WACxB,MAAOhF,MAAgB5B,KAAKuF,gBAO9BnE,EAAUoC,UAAUmE,IAAM,SAAUC,GAClC5H,KAAKuF,cAAgBqC,GAWvBxG,EAAUoC,UAAUqE,MAAQ,WAG1B,MAFA7H,MAAKgH,cAAgBzC,IACrBvE,KAAK8H,WAAY,EACV9H,MAQToB,EAAUoC,UAAUqD,OAAS,WAU3B,MATI7G,MAAK8H,YACP9H,KAAK0G,YAAcnC,IAAQvE,KAAKgH,eAGlChH,KAAK8H,WAAY,EACjB9H,KAAKwG,aAAc,EAEnBxG,KAAK8E,kBAEE9E,MAYToB,EAAUoC,UAAUuE,KAAO,SAAUC,GACnCA,EAAc3D,KAAK4D,IAAID,EAAa,EACpC,IAAIE,GAAc3D,GAElB,OAAKvE,MAAK0G,WAAasB,IAAiB,EAC/BhI,MAGTA,KAAK0G,WAAawB,EAAcF,EAE3BhI,KAAK0E,cACR1E,KAAKwG,aAAc,EACnBxG,KAAK8H,WAAY,EAIjBhE,EAAe9D,KACbA,KAAK0G,WACL1G,KAAKiH,OACLjH,KAAKqH,UACLrH,KAAKuF,cACLvF,KAAKuH,eACLvH,KAAKwH,aACLxH,KAAK0H,QACL1H,KAAKkH,MACLlH,KAAKyF,kBACLyC,GAGFlI,KAAK6H,SAGA7H,OAYToB,EAAUoC,UAAUoB,KAAO,SAAUuD,GA4BnC,MA3BAnI,MAAKwG,aAAc,EACnBxG,KAAK8H,WAAY,EACjB9H,KAAK8E,gBAAkBzD,GAEtBH,EAAKkH,sBACNlH,EAAKmH,4BACLnH,EAAKoH,uBACLpH,EAAKqH,wBACLrH,EAAKkF,gCACLlF,EAAKsH,cAAcxI,KAAK6E,aAEpBsD,IACF/E,EAAYpD,KAAM,eAClBmC,EACE,EACAnC,KAAKuF,cACLvF,KAAKuH,eACLvH,KAAKwH,aACL,EACA,EACAxH,KAAK0H,SAEPtE,EAAYpD,KAAM,cAClBoD,EAAYpD,KAAM,iBAClBA,KAAKmH,QAAQpG,KAAKf,KAAMA,KAAKuF,cAAevF,KAAK2E,cAG5C3E,MAOToB,EAAUoC,UAAUkB,UAAY,WAC9B,MAAO1E,MAAKwG,cAAgBxG,KAAK8H,WAenC1G,EAAUoC,UAAUiF,oBAAsB,SAAUC,GAClD1I,KAAKyF,kBAAoBiD,GAQ3BtH,EAAUoC,UAAUmF,QAAU,WAC5B,GAAI5G,EACJ,KAAKA,IAAQ/B,MACPA,KAAK2B,eAAeI,UACf/B,MAAK+B,IAUlBX,EAAUoC,UAAUC,UAWpBrC,EAAUoC,UAAUV,SAClB8F,OAAQ,SAAUC,GAChB,MAAOA,KAIX/F,EAAU1B,EAAUoC,UAAUV,QAE9BlB,EAAYR,GACVmD,IAAOA,EACNjD,KAAQA,EACRa,WAAcA,EACdY,UAAaA,EACbK,YAAeA,EACfxB,YAAeA,EACfI,SAAYA,EACZgD,oBAAuBA,IAMM,kBAArBe,oBACT7E,EAAK4C,eAAiBA,GAID,gBAAZtE,GAETC,EAAOD,QAAU4B,EACU,kBAAX1B,IAAyBA,EAAOC,IAEhDD,EAAO,WAAa,MAAO0B,KACQ,mBAAnBF,GAAKE,YAErBF,EAAKE,UAAYA,GAGZA,MAmBP,WAEAA,EAAUQ,YAAYR,EAAUoC,UAAUV,SACxCgG,WAAY,SAAUD,GACpB,MAAOxE,MAAK0E,IAAIF,EAAK,IAGvBG,YAAa,SAAUH,GACrB,QAASxE,KAAK0E,IAAKF,EAAM,EAAI,GAAK,IAGpCI,cAAe,SAAUJ,GACvB,OAAKA,GAAO,IAAO,EAAW,GAAMxE,KAAK0E,IAAIF,EAAI,IACzC,KAAQA,GAAO,GAAKA,EAAM,IAGpCK,YAAa,SAAUL,GACrB,MAAOxE,MAAK0E,IAAIF,EAAK,IAGvBM,aAAc,SAAUN,GACtB,MAAQxE,MAAK0E,IAAKF,EAAM,EAAI,GAAK,GAGnCO,eAAgB,SAAUP,GACxB,OAAKA,GAAO,IAAO,EAAW,GAAMxE,KAAK0E,IAAIF,EAAI,GAC1C,IAAOxE,KAAK0E,IAAKF,EAAM,EAAG,GAAK,IAGxCQ,YAAa,SAAUR,GACrB,MAAOxE,MAAK0E,IAAIF,EAAK,IAGvBS,aAAc,SAAUT,GACtB,QAASxE,KAAK0E,IAAKF,EAAM,EAAI,GAAK,IAGpCU,eAAgB,SAAUV,GACxB,OAAKA,GAAO,IAAO,EAAW,GAAMxE,KAAK0E,IAAIF,EAAI,IACzC,KAAQA,GAAO,GAAKxE,KAAK0E,IAAIF,EAAI,GAAK,IAGhDW,YAAa,SAAUX,GACrB,MAAOxE,MAAK0E,IAAIF,EAAK,IAGvBY,aAAc,SAAUZ,GACtB,MAAQxE,MAAK0E,IAAKF,EAAM,EAAI,GAAK,GAGnCa,eAAgB,SAAUb,GACxB,OAAKA,GAAO,IAAO,EAAW,GAAMxE,KAAK0E,IAAIF,EAAI,GAC1C,IAAOxE,KAAK0E,IAAKF,EAAM,EAAG,GAAK,IAGxCc,WAAY,SAAUd,GACpB,OAAQxE,KAAKuF,IAAIf,GAAOxE,KAAKwF,GAAK,IAAM,GAG1CC,YAAa,SAAUjB,GACrB,MAAOxE,MAAK0F,IAAIlB,GAAOxE,KAAKwF,GAAK,KAGnCG,cAAe,SAAUnB,GACvB,OAAS,IAAOxE,KAAKuF,IAAIvF,KAAKwF,GAAKhB,GAAO,IAG5CoB,WAAY,SAAUpB,GACpB,MAAgB,KAARA,EAAa,EAAIxE,KAAK0E,IAAI,EAAG,IAAMF,EAAM,KAGnDqB,YAAa,SAAUrB,GACrB,MAAgB,KAARA,EAAa,GAAKxE,KAAK0E,IAAI,EAAG,IAAMF,GAAO,GAGrDsB,cAAe,SAAUtB,GACvB,MAAY,KAARA,EAAmB,EACX,IAARA,EAAmB,GAClBA,GAAO,IAAO,EAAW,GAAMxE,KAAK0E,IAAI,EAAE,IAAMF,EAAM,IACpD,KAAQxE,KAAK0E,IAAI,EAAG,MAAQF,GAAO,IAG5CuB,WAAY,SAAUvB,GACpB,QAASxE,KAAKgG,KAAK,EAAKxB,EAAMA,GAAQ,IAGxCyB,YAAa,SAAUzB,GACrB,MAAOxE,MAAKgG,KAAK,EAAIhG,KAAK0E,IAAKF,EAAM,EAAI,KAG3C0B,cAAe,SAAU1B,GACvB,OAAKA,GAAO,IAAO,GAAY,IAAOxE,KAAKgG,KAAK,EAAIxB,EAAMA,GAAO,GAC1D,IAAOxE,KAAKgG,KAAK,GAAKxB,GAAO,GAAKA,GAAO,IAGlD2B,cAAe,SAAU3B,GACvB,MAAa,GAAI,KAAb,EACM,OAASA,EAAMA,EACP,EAAI,KAAXA,EACD,QAAUA,GAAQ,IAAM,MAASA,EAAM,IAC/B,IAAM,KAAbA,EACD,QAAUA,GAAQ,KAAO,MAASA,EAAM,MAExC,QAAUA,GAAQ,MAAQ,MAASA,EAAM,SAIrD4B,WAAY,SAAU5B,GACpB,GAAIvI,GAAI,OACR,OAAO,GAAQuI,IAAQvI,EAAI,GAAKuI,EAAMvI,IAGxCoK,YAAa,SAAU7B,GACrB,GAAIvI,GAAI,OACR,QAAQuI,GAAY,GAAKA,IAAQvI,EAAI,GAAKuI,EAAMvI,GAAK,GAGvDqK,cAAe,SAAU9B,GACvB,GAAIvI,GAAI,OACR,QAAKuI,GAAO,IAAO,EACV,IAAOA,EAAMA,KAASvI,GAAK,OAAW,GAAKuI,EAAMvI,IAEnD,KAAQuI,GAAO,GAAKA,KAASvI,GAAK,OAAW,GAAKuI,EAAMvI,GAAK,IAGtEsK,QAAS,SAAU/B,GAEjB,MAAO,GAAKxE,KAAK0E,IAAI,EAAE,GAAKF,GAAOxE,KAAK0F,KAAW,EAANlB,EAAU,IAAM,EAAIxE,KAAKwF,IAAM,GAAK,GAGnFgB,YAAa,SAAUhC,GACrB,GAAIvI,GAAI,OACR,QAASuI,GAAO,IAAO,EACnB,IAAOA,EAAMA,KAASvI,GAAK,OAAW,GAAKuI,EAAMvI,IACjD,KAAQuI,GAAO,GAAKA,KAASvI,GAAK,OAAW,GAAKuI,EAAMvI,GAAK,IAGnEwK,UAAW,SAAUjC,GACnB,GAAIvI,GAAI,OACR,OAAOuI,GAAMA,IAAQvI,EAAI,GAAKuI,EAAMvI,IAGtCyK,QAAS,SAAUlC,GACjB,GAAIvI,GAAI,OACR,QAAQuI,GAAO,GAAKA,IAAQvI,EAAI,GAAKuI,EAAMvI,GAAK,GAGlD0K,OAAQ,SAAUnC,GAChB,MAAW,GAAI,KAAXA,EACM,OAASA,EAAMA,EACP,EAAI,KAAXA,EACD,QAAUA,GAAQ,IAAM,MAASA,EAAM,IAC/B,IAAM,KAAbA,EACD,QAAUA,GAAQ,KAAO,MAASA,EAAM,MAExC,QAAUA,GAAQ,MAAQ,MAASA,EAAM,SAIrDoC,WAAY,SAAUpC,GACpB,MAAW,GAAI,KAAXA,EACM,OAASA,EAAMA,EACP,EAAI,KAAXA,EACF,GAAK,QAAUA,GAAQ,IAAM,MAASA,EAAM,KACnC,IAAM,KAAbA,EACF,GAAK,QAAUA,GAAQ,KAAO,MAASA,EAAM,OAE7C,GAAK,QAAUA,GAAQ,MAAQ,MAASA,EAAM,UAIzDqC,WAAY,SAAUrC,GACpB,OAAKA,GAAO,IAAO,EAAW,GAAMxE,KAAK0E,IAAIF,EAAI,IACzC,KAAQA,GAAO,GAAKxE,KAAK0E,IAAIF,EAAI,GAAK,IAGhDsC,SAAU,SAAUtC,GAClB,MAAOxE,MAAK0E,IAAIF,EAAI,IAGtBuC,OAAQ,SAAUvC,GAChB,MAAOxE,MAAK0E,IAAIF,EAAI,WA4CzB,WAEC,QAASwC,GAAkBlL,EAAEmL,EAAIC,EAAIC,EAAIC,EAAIjJ,GAE3C,QAASkJ,GAAavL,GACpB,QAASwL,EAAKxL,EAAIyL,GAAMzL,EAAI0L,GAAM1L,EAEpC,QAAS2L,GAAa3L,GACpB,QAAS4L,EAAK5L,EAAI6L,GAAM7L,EAAI8L,GAAM9L,EAEpC,QAAS+L,GAAuB/L,GAC9B,OAAQ,EAAMwL,EAAKxL,EAAI,EAAMyL,GAAMzL,EAAI0L,EAEzC,QAASM,GAAa3J,GACpB,MAAO,IAAO,IAAQA,GAExB,QAAS4J,GAAMC,EAAEC,GACf,MAAOR,GAAaS,EAAYF,EAAGC,IAErC,QAASE,GAAKpM,GACZ,MAAIA,IAAK,EACAA,EAEA,EAAIA,EAGf,QAASmM,GAAYF,EAAGC,GACtB,GAAIG,GAAGC,EAAGC,EAAGC,EAAGC,EAAGlM,CACnB,KAAKgM,EAAKN,EAAG1L,EAAI,EAAO,EAAJA,EAAOA,IAAK,CAE9B,GADAiM,EAAKlB,EAAaiB,GAAMN,EACpBG,EAAKI,GAAMN,EACb,MAAOK,EAGT,IADAE,EAAKX,EAAuBS,GACxBH,EAAKK,GAAM,KACb,KAEFF,IAAUC,EAAKC,EAKjB,GAHAJ,EAAK,EACLC,EAAK,EACLC,EAAKN,EACII,EAALE,EACF,MAAOF,EAET,IAAIE,EAAKD,EACP,MAAOA,EAET,MAAYA,EAALD,GAAS,CAEd,GADAG,EAAKlB,EAAaiB,GACdH,EAAKI,EAAKP,GAAKC,EACjB,MAAOK,EAELN,GAAIO,EACNH,EAAKE,EAELD,EAAKC,EAEPA,EAAiB,IAAXD,EAAKD,GAAYA,EAEzB,MAAOE,GAzDT,GAAIhB,GAAK,EAAEC,EAAK,EAAEC,EAAK,EAAEE,EAAK,EAAEC,EAAK,EAAEC,EAAK,CAiE5C,OANAJ,GAAK,EAAMP,EACXM,EAAK,GAAOJ,EAAMF,GAAOO,EACzBF,EAAK,EAAME,EAAKD,EAChBK,EAAK,EAAMV,EACXS,EAAK,GAAOP,EAAMF,GAAOU,EACzBF,EAAK,EAAME,EAAKD,EACTI,EAAMjM,EAAGgM,EAAa3J,IAmB/B,QAASsK,GAA0BC,EAAIC,EAAIJ,EAAIK,GAC7C,MAAO,UAAUpE,GACf,MAAOwC,GAAkBxC,EAAIkE,EAAGC,EAAGJ,EAAGK,EAAG,IAuB7C7L,EAAU8L,kBAAoB,SAAUtJ,EAAMmJ,EAAIC,EAAIJ,EAAIK,GACxD,GAAIE,GAAwBL,EAAyBC,EAAIC,EAAIJ,EAAIK,EAOjE,OANAE,GAAsBC,YAAcxJ,EACpCuJ,EAAsBJ,GAAKA,EAC3BI,EAAsBH,GAAKA,EAC3BG,EAAsBP,GAAKA,EAC3BO,EAAsBF,GAAKA,EAEpB7L,EAAUoC,UAAUV,QAAQc,GAAQuJ,GAa7C/L,EAAUiM,oBAAsB,SAAUzJ,SACjCxC,GAAUoC,UAAUV,QAAQc,OAKrC,WAEA,QAAS0J,GACPhG,EAAMiG,EAAShL,EAAaY,EAAUT,EAAQqB,GAC9C,MAAO3C,GAAUe,WACfgB,EAAUoK,EAASjG,EAAM/E,EAAa,EAAGwB,EAAOrB,GAMpD,GAAI8K,GAAgB,GAAIpM,EACxBoM,GAAc7J,eAsCdvC,EAAUqM,YAAc,SACtBnG,EAAM/E,EAAaY,EAAUT,EAAQgL,GAErC,GAAIH,GAAUnM,EAAUQ,eAAgB0F,GACpCvD,EAAQ2J,GAAa,EACrBC,EAAevM,EAAU4D,oBAC3BsC,EAAM5E,GAAU,SAElB8K,GAAc7F,OAGd,IAAIiG,GAAaJ,EAAc7J,WAC/BiK,GAAW5M,OAAS,EACpB4M,EAAW,GAAKL,EAChBK,EAAW,GAAKtG,EAChBsG,EAAW,GAAKrL,EAChBqL,EAAW,GAAKD,EAGhBvM,EAAUgC,YAAYoK,EAAe,gBACrCpM,EAAUgC,YAAYoK,EAAe,cAErC,IAAIK,GAAqBP,EACvBhG,EAAMiG,EAAShL,EAAaY,EAAUwK,EAAc5J,EAKtD,OAFA3C,GAAUgC,YAAYoK,EAAe,cAE9BK,MA6IT,SAAUzM,GAiCV,QAAS0M,GAAqBC,EAAWC,GACvC,GAGIrN,GAHAsN,KAEAC,EAAkBH,EAAU/M,MAGhC,KAAKL,EAAI,EAAOuN,EAAJvN,EAAqBA,IAC/BsN,EAAYE,KAAK,IAAMH,EAAS,IAAMrN,EAGxC,OAAOsN,GAST,QAASG,GAAqBC,GAC5B,GAAIC,GAASD,EAAgBE,MAAMC,EAoBnC,OAlBKF,IASwB,IAAlBA,EAAOtN,QAGlBqN,EAAgB,GAAGE,MAAME,KAGvBH,EAAOI,QAAQ,IAXfJ,GAAU,GAAI,IAcTA,EAAOK,KAAKC,GAWrB,QAASC,GAA2BC,GAClC1N,EAAUE,KAAKwN,EAAa,SAAU/M,GACpC,GAAIgN,GAAcD,EAAY/M,EAEH,iBAAhBgN,IAA4BA,EAAYR,MAAMS,KACvDF,EAAY/M,GAAQkN,EAAuBF,MAWjD,QAAUE,GAAwBC,GAChC,MAAOC,GAAmBH,EAAOE,EAAKE,GASxC,QAASA,GAAiBC,GACxB,GAAIC,GAASC,EAAcF,EAC3B,OAAO,OAASC,EAAO,GAAK,IAAMA,EAAO,GAAK,IAAMA,EAAO,GAAK,IAclE,QAASC,GAAeC,GAetB,MAbAA,GAAMA,EAAIC,QAAQ,IAAK,IAIJ,IAAfD,EAAIxO,SACNwO,EAAMA,EAAIE,MAAM,IAChBF,EAAMA,EAAI,GAAKA,EAAI,GAAKA,EAAI,GAAKA,EAAI,GAAKA,EAAI,GAAKA,EAAI,IAGzDG,EAA0B,GAAKC,EAASJ,EAAIK,OAAO,EAAG,IACtDF,EAA0B,GAAKC,EAASJ,EAAIK,OAAO,EAAG,IACtDF,EAA0B,GAAKC,EAASJ,EAAIK,OAAO,EAAG,IAE/CF,EAWT,QAASC,GAAUJ,GACjB,MAAOM,UAASN,EAAK,IAavB,QAASL,GAAoBY,EAASC,EAAkBvM,GACtD,GAAIwM,GAAgBD,EAAiBzB,MAAMwB,GACvCG,EAAiBF,EAAiBP,QAAQM,EAASnB,EAEvD,IAAIqB,EAIF,IAAK,GAFDE,GADAC,EAAsBH,EAAcjP,OAG/BL,EAAI,EAAOyP,EAAJzP,EAAyBA,IACvCwP,EAAeF,EAAcI,QAC7BH,EAAiBA,EAAeT,QAC9Bb,EAAmBnL,EAAO0M,GAIhC,OAAOD,GAWT,QAASI,GAAmBjC,GAC1B,MAAOc,GAAmBoB,EAAOlC,EAAiBmC,GASpD,QAASA,GAAkBC,GAKzB,IAAK,GAJDC,GAAUD,EAASlC,MAAMoC,GACzBC,EAAgBF,EAAQ1P,OACxB6P,EAAkBJ,EAASlC,MAAMuC,GAAc,GAE1CnQ,EAAI,EAAOiQ,EAAJjQ,EAAmBA,IACjCkQ,GAAmBf,SAASY,EAAQ/P,GAAI,IAAM,GAKhD,OAFAkQ,GAAkBA,EAAgBE,MAAM,EAAG,IAAM,IAYnD,QAASC,GAAoBlC,GAC3B,GAAImC,KAeJ,OAbA7P,GAAUE,KAAKwN,EAAa,SAAU/M,GACpC,GAAIgN,GAAcD,EAAY/M,EAE9B,IAA2B,gBAAhBgN,GAA0B,CACnC,GAAIhB,GAAYmD,EAAcnC,EAE9BkC,GAAoBlP,IAClBoP,aAAgB/C,EAAoBW,GACnCqC,WAActD,EAAoBC,EAAWhM,OAK7CkP,EAQT,QAASI,GAA2BvC,EAAawC,GAC/ClQ,EAAUE,KAAKgQ,EAAiB,SAAUvP,GAKxC,IAAK,GAJDgN,GAAcD,EAAY/M,GAC1BgM,EAAYmD,EAAcnC,GAC1Bb,EAAkBH,EAAU/M,OAEvBL,EAAI,EAAOuN,EAAJvN,EAAqBA,IACnCmO,EAAYwC,EAAgBvP,GAAMqP,WAAWzQ,KAAOoN,EAAUpN,SAGzDmO,GAAY/M,KASvB,QAASwP,GAA6BzC,EAAawC,GACjDlQ,EAAUE,KAAKgQ,EAAiB,SAAUvP,GACxC,GAAIgN,GAAcD,EAAY/M,GAC1ByP,EAAeC,EACjB3C,EAAawC,EAAgBvP,GAAMqP,YACjCM,EAAaC,EACfH,EAAcF,EAAgBvP,GAAMqP,WACtCrC,GAAc6C,EACZN,EAAgBvP,GAAMoP,aAAcO,GACtC5C,EAAY/M,GAAQuO,EAAkBvB,KAW1C,QAAS0C,GAAuB3C,EAAasC,GAI3C,IAAK,GAFDS,GADAC,KACkBC,EAAmBX,EAAWpQ,OAE3CL,EAAI,EAAOoR,EAAJpR,EAAsBA,IACpCkR,EAAmBT,EAAWzQ,GAC9BmR,EAAgBD,GAAoB/C,EAAY+C,SACzC/C,GAAY+C,EAGrB,OAAOC,GAWT,QAASH,GAAe7C,EAAasC,GACnCY,EAA0BhR,OAAS,CAGnC,KAAK,GAFD+Q,GAAmBX,EAAWpQ,OAEzBL,EAAI,EAAOoR,EAAJpR,EAAsBA,IACpCqR,EAA0B7D,KAAKW,EAAYsC,EAAWzQ,IAGxD,OAAOqR,GAUT,QAASJ,GAAoBT,EAAcpD,GAIzC,IAAK,GAHDkE,GAAuBd,EACvBjD,EAAkBH,EAAU/M,OAEvBL,EAAI,EAAOuN,EAAJvN,EAAqBA,IACnCsR,EAAuBA,EAAqBxC,QAC1Cb,GAAoBb,EAAUpN,GAAGuR,QAAQ,GAG7C,OAAOD,GAYT,QAASf,GAAe7C,GACtB,MAAOA,GAAgBE,MAAMoC,GAQ/B,QAASwB,GAAoBxE,EAAcyE,GACzChR,EAAUE,KAAK8Q,EAAW,SAAUrQ,GAClC,GAKIpB,GALAoO,EAAcqD,EAAUrQ,GACxBqP,EAAarC,EAAYqC,WACzBiB,EAAcjB,EAAWpQ,OAEzB0B,EAASiL,EAAa5L,EAG1B,IAAsB,gBAAXW,GAAqB,CAC9B,GAAI4P,GAAe5P,EAAOgN,MAAM,KAC5B6C,EAAkBD,EAAaA,EAAatR,OAAS,EAEzD,KAAKL,EAAI,EAAO0R,EAAJ1R,EAAiBA,IAC3BgN,EAAayD,EAAWzQ,IAAM2R,EAAa3R,IAAM4R,MAInD,KAAK5R,EAAI,EAAO0R,EAAJ1R,EAAiBA,IAC3BgN,EAAayD,EAAWzQ,IAAM+B,QAI3BiL,GAAa5L,KASxB,QAASyQ,GAAsB7E,EAAcyE,GAC3ChR,EAAUE,KAAK8Q,EAAW,SAAUrQ,GAClC,GAAIgN,GAAcqD,EAAUrQ,GACxBqP,EAAarC,EAAYqC,WACzBiB,EAAcjB,EAAWpQ,OAEzByR,EAAc9E,EAAayD,EAAW,IACtCsB,QAAuBD,EAE3B,IAAsB,WAAlBC,EAA4B,CAG9B,IAAK,GAFDC,GAAuB,GAElBhS,EAAI,EAAO0R,EAAJ1R,EAAiBA,IAC/BgS,GAAwB,IAAMhF,EAAayD,EAAWzQ,UAC/CgN,GAAayD,EAAWzQ,GAGjCgN,GAAa5L,GAAQ4Q,EAAqB9C,OAAO,OAEjDlC,GAAa5L,GAAQ0Q,IA7Y3B,GAIIhE,GAAqB,aACrBD,EAAkB,iBAClBmC,EAAuB,aACvBJ,EAAQ,GAAIqC,QACd,SAAWjC,EAAqBkC,OAC/B,OAAa,OAAIlC,EAAqBkC,OACtC,OAAa,OAAIlC,EAAqBkC,OAAS,MAAO,KACrD/B,EAAe,QACf9B,EAAQ,wBACRJ,EAAoB,MA6FpBe,KAwLAqC,IAgHJ5Q,GAAUoC,UAAUC,OAAOqP,OACzBC,aAAgB,SAAU1Q,EAAc2Q,EAAWC,EAAStF,GAC1DkB,EAA0BxM,GAC1BwM,EAA0BmE,GAC1BnE,EAA0BoE,GAC1BjT,KAAKkT,WAAalC,EAAmB3O,IAGvC8Q,YAAe,SAAU9Q,EAAc2Q,EAAWC,EAAStF,GACzDwE,EAAmBxE,EAAc3N,KAAKkT,YACtC7B,EAA0BhP,EAAcrC,KAAKkT,YAC7C7B,EAA0B2B,EAAWhT,KAAKkT,YAC1C7B,EAA0B4B,EAASjT,KAAKkT,aAG1CE,WAAc,SAAU/Q,EAAc2Q,EAAWC,EAAStF,GACxD4D,EAA4BlP,EAAcrC,KAAKkT,YAC/C3B,EAA4ByB,EAAWhT,KAAKkT,YAC5C3B,EAA4B0B,EAASjT,KAAKkT,YAC1CV,EAAqB7E,EAAc3N,KAAKkT,eAI3C9R,KAEAL,KAAK,WAEFsS,GAAG,SAAS3S,EAAQjB,EAAOD,GAGjC,GAAI8T,GAAQ5S,EAAQ,WAChB6S,EAAQ7S,EAAQ,WAEhB8S,EAAS,SAAgBC,EAAWC,GAGpC1T,KAAK2T,cACD,qGAIJ3T,KAAK4T,qBAAuB,EAE5BN,EAAMzP,MAAM7D,KAAM6T,WAGtBL,GAAOhQ,UAAY,GAAI8P,GACvBE,EAAOhQ,UAAUsQ,YAAcN,EAE/BA,EAAOhQ,UAAUuQ,YAAc,SAAqBC,GAChD,GAAIC,GAAeD,EAAKE,WACpBF,GAAKG,YAAcH,EAAKG,WAAaH,EAAKE,cAC1CD,EAAeD,EAAKG,WAGxB,IAAI9T,GAAI,GAAK4T,EAAe,CAE5B,OAAOV,GAAMa,OAAOpU,KAAK2T,eACrBU,OAAQhU,EACRiU,UAAe,EAAJjU,KAInBmT,EAAOhQ,UAAU+Q,aAAe,SAAsBP,GAClD,MAAOhU,MAAK+T,YAAYC,IAG5BvU,EAAOD,QAAUgU,IAEdgB,UAAU,EAAEC,UAAU,IAAIC,GAAG,SAAShU,EAAQjB,EAAOD,GAGxD,GAAI8T,GAAQ5S,EAAQ,WAChB6S,EAAQ7S,EAAQ,WAEhBiU,EAAO,SAAclB,EAAWC,GAChC1T,KAAK2T,cAAgB,8BACrBL,EAAMzP,MAAM7D,KAAM6T,WAGtBc,GAAKnR,UAAY,GAAI8P,GACrBqB,EAAKnR,UAAUsQ,YAAca,EAE7BA,EAAKnR,UAAUoR,eAAiB,SAAwBC,EAAKb,GACzDa,EAAIC,aAAa,UAAW,WAAad,EAAKE,aAC9CW,EAAIC,aAAa,sBAAuB,SAG5CH,EAAKnR,UAAUuQ,YAAc,SAAqBC,GAC9C,MAAOT,GAAMa,OAAOpU,KAAK2T,eACrBoB,OAAQf,EAAKE,YAAc,KAInCS,EAAKnR,UAAU+Q,aAAe,SAAsBP,GAChD,MAAOhU,MAAK+T,YAAYC,IAG5BvU,EAAOD,QAAUmV,IAEdH,UAAU,EAAEC,UAAU,IAAIO,GAAG,SAAStU,EAAQjB,EAAOD,GACxDC,EAAOD,SAEHmV,KAAMjU,EAAQ,UACd8S,OAAQ9S,EAAQ,YAChBuU,WAAYvU,EAAQ,gBAGpBwU,KAAMxU,EAAQ,UAKd4S,MAAO5S,EAAQ,WAGf6S,MAAO7S,EAAQ,cAGhByU,WAAW,EAAEC,SAAS,EAAEC,SAAS,EAAEC,eAAe,EAAEd,UAAU,EAAEC,UAAU,IAAIc,GAAG,SAAS7U,EAAQjB,EAAOD,GAG5G,GAAI4B,GAAYV,EAAQ,UACpB6S,EAAQ7S,EAAQ,WAEhB8U,GACAC,OAAQ,cACRC,QAAS,eACTC,UAAW,kBAGXT,EAAO,QAASA,GAAKU,EAAM5B,GAE3B,KAAMhU,eAAgBkV,IAClB,KAAM,IAAItU,OAAM,6CAIpBoT,GAAOT,EAAMsC,QACTrT,SAAU,IACVE,OAAQ,SACR4E,QACAG,MACAzD,KAAM,cACPgQ,EAEH,IAAI8B,EAEAA,GADAvC,EAAMwC,SAASH,GACLI,SAASC,cAAcL,GAEvBA,EAId5V,KAAK4V,KAAOE,EACZ9V,KAAKkW,MAAQlC,EACbhU,KAAKmW,WAAa,IAGlB,IAAInV,GAAShB,KAAK4V,KAAKQ,gBACvBpW,MAAK4V,KAAKS,MAAMC,gBAAkBtV,EAAS,IAAMA,EACjDhB,KAAK2H,IAAI,GAGbuN,GAAK1R,UAAU+S,MAAQ,WACnB,GAAIC,GAASxW,KAAKyW,yBACdzV,EAAShB,KAAK4V,KAAKQ,iBAEnBM,EAAW,EAAIF,EAASxV,CAG5B,OAAO2V,YAAWD,EAASxE,QAAQ,GAAI,KAG3CgD,EAAK1R,UAAUmE,IAAM,SAAa+O,GAC9B1W,KAAK4E,OAEL5E,KAAK4V,KAAKS,MAAMO,iBAAmB5W,KAAK6W,kBAAkBH,EAE1D,IAAI1S,GAAOhE,KAAKkW,MAAMlS,IACtB,IAAIuP,EAAMuD,WAAW9S,GAAO,CACxB,GAAItB,GAAS1C,KAAK0H,QAAQ1H,KAAKkW,MAAMxT,QACjCqU,EAAS/W,KAAKgX,aAAaN,EAAUhU,GACrCuU,EAAYjX,KAAKkW,MAAMgB,OAASlX,IACpCgE,GAAK+S,EAAQE,EAAWjX,KAAKkW,MAAMnP,cAI3CmO,EAAK1R,UAAUoB,KAAO,WAClB5E,KAAKmX,aACLnX,KAAK4V,KAAKS,MAAMO,iBAAmB5W,KAAKyW,0BAK5CvB,EAAK1R,UAAU4T,QAAU,SAAiBV,EAAU1C,EAAMqD,GACtDrD,EAAOA,MAEHT,EAAMuD,WAAW9C,KACjBqD,EAAKrD,EACLA,KAGJ,IAAIsD,GAAa/D,EAAMsC,UAAW7B,GAG9BuD,EAAchE,EAAMsC,UAAW7V,KAAKkW,MACxClC,GAAOT,EAAMsC,OAAO0B,EAAavD,EAEjC,IAAIwD,GAAexX,KAAK0H,QAAQsM,EAAKtR,QACjCqU,EAAS/W,KAAKyX,kBAAkBf,EAAUc,EAAcF,EAE5DtX,MAAK4E,OAIL5E,KAAK4V,KAAK8B,uBAEV,IAAIlB,GAASxW,KAAKyW,yBACdkB,EAAY3X,KAAK6W,kBAAkBH,GAEnC3W,EAAOC,IACXA,MAAKmW,WAAa,GAAI/U,GACtBpB,KAAKmW,WAAW5P,OACZe,KAAMiM,EAAMsC,QAASW,OAAQA,GAAUO,EAAOzP,MAC9CG,GAAI8L,EAAMsC,QAASW,OAAQmB,GAAaZ,EAAOtP,IAC/CjF,SAAUwR,EAAKxR,SACfE,OAAQ8U,EACRxT,KAAM,SAAS4D,GACX7H,EAAK6V,KAAKS,MAAMO,iBAAmBhP,EAAM4O,MACzC,IAAIS,GAAYjD,EAAKkD,OAASnX,CAC9BiU,GAAKhQ,KAAK4D,EAAOqP,EAAWjD,EAAKjN,aAErCK,OAAQ,SAASQ,GACT2L,EAAMuD,WAAWO,IACjBA,QAMhBnC,EAAK1R,UAAUiT,uBAAyB,WACpC,GAAImB,GAAgB/X,OAAOgY,iBAAiB7X,KAAK4V,KAAM,KACvD,OAAOe,YAAWiB,EAAcE,iBAAiB,qBAAsB,KAG3E5C,EAAK1R,UAAUqT,kBAAoB,SAA2BH,GAC1D,GAAI1V,GAAShB,KAAK4V,KAAKQ,gBACvB,OAAOpV,GAAS0V,EAAW1V,GAI/BkU,EAAK1R,UAAUiU,kBAAoB,SAA2Bf,EAAUhU,EAAQsR,GAC5E,MAAIA,GAAK1M,MAAQ0M,EAAKvM,IAEdH,KAAM0M,EAAK1M,KACXG,GAAIuM,EAAKvM,KAKbH,KAAMtH,KAAK+X,eAAerV,GAC1B+E,GAAIzH,KAAKgX,aAAaN,EAAUhU,KAKxCwS,EAAK1R,UAAUuU,eAAiB,SAAwBrV,GACpD,MAAOtB,GAAUqM,YAAYzN,KAAKkW,MAAM5O,KAAMtH,KAAKkW,MAAMzO,GAAIzH,KAAKuW,QAAS7T,IAI/EwS,EAAK1R,UAAUwT,aAAe,SAAsBN,EAAUhU,GAC1D,MAAOtB,GAAUqM,YAAYzN,KAAKkW,MAAM5O,KAAMtH,KAAKkW,MAAMzO,GAAIiP,EAAUhU,IAG3EwS,EAAK1R,UAAU2T,WAAa,WACA,OAApBnX,KAAKmW,aACLnW,KAAKmW,WAAWvR,OAChB5E,KAAKmW,WAAa,OAI1BjB,EAAK1R,UAAUkE,QAAU,SAAiBhF,GACtC,MAAI8S,GAAe7T,eAAee,GACvB8S,EAAe9S,GAGnBA,GAGXjD,EAAOD,QAAU0V,IAEdT,UAAU,EAAEuD,OAAS,IAAIC,GAAG,SAASvX,EAAQjB,EAAOD,GAGvD,GAAI8T,GAAQ5S,EAAQ,WAChB8S,EAAS9S,EAAQ,YACjB6S,EAAQ7S,EAAQ,WAEhBuU,EAAa,SAAoBxB,EAAWC,GAG5C1T,KAAK2T,cACD,8DAGJ3T,KAAK4T,qBAAuB,EAE5BN,EAAMzP,MAAM7D,KAAM6T,WAGtBoB,GAAWzR,UAAY,GAAI8P,GAC3B2B,EAAWzR,UAAUsQ,YAAcmB,EAEnCA,EAAWzR,UAAUoR,eAAiB,SAAwBC,EAAKb,GAC/Da,EAAIC,aAAa,UAAW,eAGhCG,EAAWzR,UAAU0U,yBAA2B,SAC5ClE,EACAP,EACA0E,GAEInE,EAAKoE,KAAK/B,QAEV8B,EAAc9B,MAAMgC,IAAM,OAC1BF,EAAc9B,MAAMiC,OAAS,IAEzBtE,EAAKoE,KAAKG,cACVhF,EAAMiF,SAASL,EAAe,YAAa,sBAE3C5E,EAAMiF,SAASL,EAAe,YAAa,0BAMvDlD,EAAWzR,UAAUuQ,YAAcP,EAAOhQ,UAAUuQ,YACpDkB,EAAWzR,UAAU+Q,aAAef,EAAOhQ,UAAU+Q,aAErD9U,EAAOD,QAAUyV,IAEdE,WAAW,EAAEX,UAAU,EAAEC,UAAU,IAAIgE,GAAG,SAAS/X,EAAQjB,EAAOD,GAGrE,GAAI0V,GAAOxU,EAAQ,UACf6S,EAAQ7S,EAAQ,WAEhBgY,EAAkB,sBAElBpF,EAAQ,QAASA,GAAMG,EAAWO,GAGlC,KAAMhU,eAAgBsT,IAClB,KAAM,IAAI1S,OAAM,6CASpB,IAAyB,IAArBiT,UAAU7S,OAAd,CAKAhB,KAAKkW,MAAQ3C,EAAMsC,QACf8C,MAAO,OACPzE,YAAa,EACb0E,WAAY,KACZzE,WAAY,KACZ0E,KAAM,KACNT,MACI/B,OACIsC,MAAO,KACPxV,SAAU,WACV2V,KAAM,MACNT,IAAK,MACLU,QAAS,EACTC,OAAQ,EACRC,WACIjL,QAAQ,EACRuI,MAAO,0BAGf2C,oBAAoB,EACpBX,eAAe,EACfhC,MAAO,KACP4C,UAAW,oBAEfC,UACIC,QAAS,QACTC,MAAO,QAEXC,UAAU,GACXvF,GAAM,GAILT,EAAMiG,SAASxF,IAA2BvN,SAAlBuN,EAAKoF,WAC7BpZ,KAAKkW,MAAMkD,SAAWpF,EAAKoF,UAE3B7F,EAAMiG,SAASxF,IAAST,EAAMiG,SAASxF,EAAKoE,OAA6B3R,SAApBuN,EAAKoE,KAAK/B,QAC/DrW,KAAKkW,MAAMkC,KAAK/B,MAAQrC,EAAKoE,KAAK/B,MAGtC,IAEIP,GAFA2D,EAAUzZ,KAAK0Z,eAAe1Z,KAAKkW,MASvC,IALIJ,EADAvC,EAAMwC,SAAStC,GACLuC,SAASC,cAAcxC,GAEvBA,GAGTqC,EACD,KAAM,IAAIlV,OAAM,6BAA+B6S,EAGnDzT,MAAK2Z,WAAa7D,EAClB9V,KAAK2Z,WAAWC,YAAYH,EAAQ5E,KAChC7U,KAAKkW,MAAMqD,UACXvZ,KAAK6Z,0BAA0B7Z,KAAK2Z,YAGpC3Z,KAAKkW,MAAMkD,UACX7F,EAAMuG,UAAUL,EAAQ5E,IAAK7U,KAAKkW,MAAMkD,UAI5CpZ,KAAK6U,IAAM4E,EAAQ5E,IACnB7U,KAAK4V,KAAO6D,EAAQ7D,KACpB5V,KAAK+Z,MAAQN,EAAQM,MACrB/Z,KAAKoY,KAAO,IAEZ,IAAI4B,GAAUzG,EAAMsC,QAChB9O,WAAYN,OACZyQ,MAAOlX,MACRA,KAAKkW,MACRlW,MAAKia,cAAgB,GAAI/E,GAAKuE,EAAQ7D,KAAMoE,GAExCzG,EAAMiG,SAASxZ,KAAKkW,MAAMkC,OAAmC,OAA1BpY,KAAKkW,MAAMkC,KAAK7B,OACnDvW,KAAKka,QAAQla,KAAKkW,MAAMkC,KAAK7B,QAIrCjD,GAAM9P,UAAU4T,QAAU,SAAiBV,EAAU1C,EAAMqD,GACvD,GAA2B,OAAvBrX,KAAKia,cACL,KAAM,IAAIrZ,OAAM8X,EAGpB1Y,MAAKia,cAAc7C,QAAQV,EAAU1C,EAAMqD,IAG/C/D,EAAM9P,UAAUoB,KAAO,WACnB,GAA2B,OAAvB5E,KAAKia,cACL,KAAM,IAAIrZ,OAAM8X,EAIOjS,UAAvBzG,KAAKia,eAITja,KAAKia,cAAcrV,QAGvB0O,EAAM9P,UAAU2W,QAAU,WACtB,GAA2B,OAAvBna,KAAKia,cACL,KAAM,IAAIrZ,OAAM8X,EAGpB1Y,MAAK4E,OACL5E,KAAK6U,IAAIuF,WAAWC,YAAYra,KAAK6U,KACrC7U,KAAK6U,IAAM,KACX7U,KAAK4V,KAAO,KACZ5V,KAAK+Z,MAAQ,KACb/Z,KAAKia,cAAgB,KAEH,OAAdja,KAAKoY,OACLpY,KAAKoY,KAAKgC,WAAWC,YAAYra,KAAKoY,MACtCpY,KAAKoY,KAAO,OAIpB9E,EAAM9P,UAAUmE,IAAM,SAAa+O,GAC/B,GAA2B,OAAvB1W,KAAKia,cACL,KAAM,IAAIrZ,OAAM8X,EAGpB1Y,MAAKia,cAActS,IAAI+O,IAG3BpD,EAAM9P,UAAU+S,MAAQ,WACpB,GAA2B,OAAvBvW,KAAKia,cACL,KAAM,IAAIrZ,OAAM8X,EAGpB,OAA2BjS,UAAvBzG,KAAKia,cACE,EAGJja,KAAKia,cAAc1D,SAG9BjD,EAAM9P,UAAU0W,QAAU,SAAiBI,GACvC,GAA2B,OAAvBta,KAAKia,cACL,KAAM,IAAIrZ,OAAM8X,EAGF,QAAd1Y,KAAKoY,OAELpY,KAAKoY,KAAOpY,KAAKua,qBAAqBva,KAAKkW,MAAOlW,KAAK2Z,YACvD3Z,KAAK2Z,WAAWC,YAAY5Z,KAAKoY,OAIjC7E,EAAMiG,SAASc,IACf/G,EAAMiH,eAAexa,KAAKoY,MAC1BpY,KAAKoY,KAAKwB,YAAYU,IAEtBta,KAAKoY,KAAKqC,UAAYH,GAI9BhH,EAAM9P,UAAUkW,eAAiB,SAAwB1F,GACrD,GAAIa,GAAMmB,SAAS0E,gBAAgB,6BAA8B,MACjE1a,MAAK4U,eAAeC,EAAKb,EAEzB,IAAI2G,GAAY,MAGZ3G,EAAK4E,YAAc5E,EAAKG,cACxBwG,EAAY3a,KAAK4a,aAAa5G,GAC9Ba,EAAI+E,YAAYe,GAGpB,IAAI/E,GAAO5V,KAAK6a,YAAY7G,EAG5B,OAFAa,GAAI+E,YAAYhE,IAGZf,IAAKA,EACLe,KAAMA,EACNmE,MAAOY,IAIfrH,EAAM9P,UAAUoR,eAAiB,SAAwBC,EAAKb,GAC1Da,EAAIC,aAAa,UAAW,gBAGhCxB,EAAM9P,UAAUqX,YAAc,SAAqB7G,GAC/C,GAAI8G,GAAa9a,KAAK+T,YAAYC,EAClC,OAAOhU,MAAK+a,mBAAmBD,EAAY9G,IAG/CV,EAAM9P,UAAUoX,aAAe,SAAsB5G,GAEjD,GAAI8G,GAAa9a,KAAKuU,aAAaP,GAG/BgG,EAAUzG,EAAMsC,UAAW7B,EAiB/B,OAdKgG,GAAQpB,aACToB,EAAQpB,WAAa,QAEpBoB,EAAQ7F,aACT6F,EAAQ7F,WAAa6F,EAAQ9F,aAGjC8F,EAAQrB,MAAQqB,EAAQpB,WACxBoB,EAAQ9F,YAAc8F,EAAQ7F,WAI9B6F,EAAQnB,KAAO,KAER7Y,KAAK+a,mBAAmBD,EAAYd,IAG/C1G,EAAM9P,UAAUuX,mBAAqB,SAA4BD,EAAY9G,GACzE,GAAI4B,GAAOI,SAAS0E,gBAAgB,6BAA8B,OAWlE,OAVA9E,GAAKd,aAAa,IAAKgG,GACvBlF,EAAKd,aAAa,SAAUd,EAAK2E,OACjC/C,EAAKd,aAAa,eAAgBd,EAAKE,aAEnCF,EAAK6E,KACLjD,EAAKd,aAAa,OAAQd,EAAK6E,MAE/BjD,EAAKd,aAAa,eAAgB,KAG/Bc,GAGXtC,EAAM9P,UAAU+W,qBAAuB,SAA8BvG,EAAMP,GACvE,GAAI0E,GAAgBnC,SAASgF,cAAc,MAC3C7C,GAAcgB,UAAYnF,EAAKoE,KAAKe,SAEpC,IAAI8B,GAAYjH,EAAKoE,KAAK/B,KAc1B,OAbI4E,KACIjH,EAAKoE,KAAKc,qBACVzF,EAAU4C,MAAMlT,SAAW,YAG/BoQ,EAAMuG,UAAU3B,EAAe8C,GAE1BA,EAAUtC,QACXR,EAAc9B,MAAMsC,MAAQ3E,EAAK2E,QAIzC3Y,KAAKkY,yBAAyBlE,EAAMP,EAAW0E,GACxCA,GAIX7E,EAAM9P,UAAU0U,yBAA2B,SAASlE,EAAMP,EAAWqC,KAKrExC,EAAM9P,UAAUuQ,YAAc,SAAqBC,GAC/C,KAAM,IAAIpT,OAAM,iDAGpB0S,EAAM9P,UAAU+Q,aAAe,SAAsBP,GACjD,KAAM,IAAIpT,OAAM,iDAGpB0S,EAAM9P,UAAUqW,0BAA4B,SAAmCpG,GAC3E,GAAKzT,KAAK4T,qBAAV,CAIA,GAAIgE,GAAgB/X,OAAOgY,iBAAiBpE,EAAW,MACnD6F,EAAQ3C,WAAWiB,EAAcE,iBAAiB,SAAU,IAC5DoD,EAASvE,WAAWiB,EAAcE,iBAAiB,UAAW,GAC7DvE,GAAM4H,YAAYnb,KAAK4T,qBAAsB0F,EAAQ4B,KACtDE,QAAQC,KACJ,sCACA,IAAM5H,EAAU6H,GAChB,YACA1D,EAAcE,iBAAiB,SAAW,UAC1C,IACAF,EAAcE,iBAAiB,UAAY,WAC3C,IACAwB,EAAQ4B,GAGZE,QAAQC,KACJ,4BACArb,KAAK4T,yBAKjBnU,EAAOD,QAAU8T,IAEd+B,SAAS,EAAEZ,UAAU,IAAI8G,GAAG,SAAS7a,EAAQjB,EAAOD,GAQvD,QAASqW,GAAO2F,EAAa3I,EAAQ4I,GACjCD,EAAcA,MACd3I,EAASA,MACT4I,EAAYA,IAAa,CAEzB,KAAK,GAAIC,KAAY7I,GACjB,GAAIA,EAAOlR,eAAe+Z,GAAW,CACjC,GAAIC,GAAUH,EAAYE,GACtBE,EAAY/I,EAAO6I,EACnBD,IAAajC,EAASmC,IAAYnC,EAASoC,GAC3CJ,EAAYE,GAAY7F,EAAO8F,EAASC,EAAWH,GAEnDD,EAAYE,GAAYE,EAKpC,MAAOJ,GAQX,QAASpH,GAAOyH,EAAUC,GACtB,GAAIC,GAAWF,CAEf,KAAK,GAAIpa,KAAOqa,GACZ,GAAIA,EAAKna,eAAeF,GAAM,CAC1B,GAAIua,GAAMF,EAAKra,GACXwa,EAAe,MAAQxa,EAAM,MAC7Bya,EAAS,GAAItJ,QAAOqJ,EAAc,IAEtCF,GAAWA,EAAStM,QAAQyM,EAAQF,GAI5C,MAAOD,GAGX,QAASvD,GAAS1C,EAASO,EAAOE,GAG9B,IAAK,GAFD4F,GAAUrG,EAAQO,MAEb1V,EAAI,EAAGA,EAAIyb,EAASpb,SAAUL,EAAG,CACtC,GAAIqN,GAASoO,EAASzb,EACtBwb,GAAQnO,EAASqO,EAAWhG,IAAUE,EAG1C4F,EAAQ9F,GAASE,EAGrB,QAASuD,GAAUhE,EAASwG,GACxBC,EAAcD,EAAQ,SAASE,EAAYC,GAGpB,OAAfD,GAAsC/V,SAAf+V,IAMvBhD,EAASgD,IAAeA,EAAWxO,UAAW,EAC9CwK,EAAS1C,EAAS2G,EAAWD,EAAWjG,OAExCT,EAAQO,MAAMoG,GAAaD,KAKvC,QAASH,GAAWjE,GAChB,MAAOA,GAAKsE,OAAO,GAAGC,cAAgBvE,EAAKrH,MAAM,GAGrD,QAASgF,GAASxU,GACd,MAAsB,gBAARA,IAAoBA,YAAeqb,QAGrD,QAAS9F,GAAWvV,GAChB,MAAsB,kBAARA,GAGlB,QAASsb,GAAQtb,GACb,MAA+C,mBAAxCG,OAAO8B,UAAUsZ,SAAS/b,KAAKQ,GAK1C,QAASiY,GAASjY,GACd,GAAIsb,EAAQtb,GACR,OAAO,CAGX,IAAIwb,SAAcxb,EAClB,OAAgB,WAATwb,KAAuBxb,EAGlC,QAASgb,GAAcS,EAAQC,GAC3B,IAAK,GAAIxb,KAAOub,GACZ,GAAIA,EAAOrb,eAAeF,GAAM,CAC5B,GAAIua,GAAMgB,EAAOvb,EACjBwb,GAASjB,EAAKva,IAK1B,QAAS0Z,GAAY1a,EAAGyc,GACpB,MAAO7Y,MAAK8Y,IAAI1c,EAAIyc,GAAKE,EAI7B,QAAS5C,GAAe6C,GACpB,KAAOA,EAAGC,YACND,EAAGhD,YAAYgD,EAAGC,YAtH1B,GAAIlB,GAAW,kBAAkB1M,MAAM,KACnC0N,EAA2B,IAyH/B3d,GAAOD,SACHqW,OAAQA,EACRzB,OAAQA,EACRoE,SAAUA,EACVsB,UAAWA,EACXuC,WAAYA,EACZtG,SAAUA,EACVe,WAAYA,EACZ0C,SAAUA,EACV+C,cAAeA,EACfpB,YAAaA,EACbX,eAAgBA,aAGT,IAAI;;;;;;hjqBC53Ef;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5oBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;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;;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;;AC1BA;AACA;AACA;AACA;;ACHA;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;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrDA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACvHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnKA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3JA;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;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;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;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9OA;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;;ACjGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;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;;ACnGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;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;;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;;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;;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7QA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AChHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9VA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/JA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AClGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnSA;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;;ACtDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;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;;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;;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;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;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;;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;;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;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChCA;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;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;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;;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;;ACnGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxPA;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;;AC1BA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;;ACJA;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;;AC7DA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxCA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACbA;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;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5cA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACxGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5XA;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;;ACtGA;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;;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;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvGA;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;;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;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/SA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvGA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClIA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;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;;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;;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;;ACvHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;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;;ACpCA;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;;AC9HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjTA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1yaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9gBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACl9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxlBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzhBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5bA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AChGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;","file":"vendor.js"}